Commit graph

140 commits

Author SHA1 Message Date
Gered 517efc1a39 add google analytics tracking code, only shown in production 2014-04-05 12:43:01 -04:00
Gered 4384a143e3 add 'isDev' value to all rendered templates 2014-04-05 12:42:46 -04:00
Gered c557f281f4 various cleanups to the ring-handler, leiningen things, etc 2014-04-05 12:37:10 -04:00
Gered 295ea2e61a switch to highlight.js for client side syntax highlighting 2014-04-05 00:07:13 -04:00
Gered a055c6e2ef use different profile resource-paths to include dev/prod site.configs
this also necessitated a change to how the couchdb table defs are
defined as aot-ing the prod profile caused code to get evaluated
which triggered at-compile-time-loading of site.config, which at that
point the prod resources-paths would not have been merged in causing
compilation errors
2014-04-04 23:28:51 -04:00
Gered 95540f0e72 bump version 2014-03-29 12:20:42 -04:00
Gered 8e3111bab7 not dev environment by default 2014-03-29 12:20:24 -04:00
Gered 731428530a remove linkedin link 2014-03-29 12:18:53 -04:00
Gered a203ad3874 use cached md output in the rss feed too 2014-03-29 12:18:11 -04:00
Gered e2ad41f8d7 bump version 2014-03-29 11:14:10 -04:00
Gered b56b43533d update prettify style and add clojure highlighting support 2014-03-29 11:13:37 -04:00
Gered 8d9047946f bump version 2014-03-29 09:51:02 -04:00
Gered b2d9fc0d70 force cache updates when adding/updating, force remove when deleting 2014-03-29 09:50:28 -04:00
Gered e50fb349c3 return new value that was added to the cache
i thought swap! was supposed to return this value by itself?
2014-03-29 09:27:14 -04:00
Gered 5fc46d12e9 initial support for caching markdown->html results 2014-03-29 09:21:15 -04:00
Gered a959779872 safer way of reading the config file 2014-03-29 08:52:33 -04:00
Gered 82923bc171 refactor markdown rendering functions 2014-03-29 08:51:25 -04:00
Gered 1999482b16 current year! 2014-03-29 08:44:38 -04:00
Gered 850b47152d bump version 2014-03-28 22:56:10 -04:00
Gered 0834578173 looks like the new markdown-clj fixed this problem 2014-03-28 22:52:57 -04:00
Gered 93c3626a4c update markdown-clj version 2014-03-28 22:52:16 -04:00
Gered d0b9a1fe6f add log4j.properties 2014-03-28 22:21:47 -04:00
Gered b5983eeeb4 logging call tweaks 2014-03-28 22:09:14 -04:00
Gered 23a67b0027 dont really care for rotor mainly due to it putting ansi codes into logs 2014-03-28 22:03:53 -04:00
Gered b990ebd7ce dont need this. not doing any internationalization stuff 2014-03-28 22:03:24 -04:00
Gered cfee97fd95 routes are now automatically discovered and added to the ring handler 2014-03-28 21:56:40 -04:00
Gered 0112dc515a add macros for registering routes and function for finding them 2014-03-28 21:44:42 -04:00
Gered 682ba6905e finally fix the archive post list sorting bug 2014-03-28 21:40:27 -04:00
Gered 71d62355d2 bump version 2014-03-27 21:22:05 -04:00
Gered 199608e803 this shouldn't have been committed anyway 2014-03-27 21:18:40 -04:00
Gered f4b00a0484 apparently middleware are loaded/run in the reverse order? 2014-03-27 21:05:01 -04:00
Gered 9c5577c6d3 add 'nonull' filter usage 2014-03-27 20:56:21 -04:00
Gered 7983920627 apparently 'size' is reserved to mean 'collection size' (aka. .length) 2014-03-27 20:55:27 -04:00
Gered fa10234c48 new version of jtwig fixes this bug 2014-03-27 20:54:27 -04:00
Gered 59f88bceb0 fix template var name 2014-03-27 20:54:10 -04:00
Gered 4ec0bd7630 update clj-jtwig version 2014-03-27 20:22:17 -04:00
Gered 92607bd711 dont need that anymore 2014-03-25 22:02:01 -04:00
Gered 5ed36b7f7b update templates and route handlers to clj-jtwig for template rendering 2014-03-25 22:01:28 -04:00
Gered 2659ceb9a8 move all template files to /resources/views 2014-03-24 19:55:03 -04:00
Gered 8f44ac4e97 switch selmer for clj-jtwig 2014-03-24 19:53:25 -04:00
Gered a731c4d5ce cleanup, add uberjar profile with full AOT 2014-03-24 19:50:03 -04:00
Gered 3e365757cc reorganize 'render' functions a bit. added a 'render-response' function to allow using these in lower-level ring handlers/middleware (so all template rendering / http status handling happens in one place more or less) 2014-03-24 19:15:38 -04:00
Gered 1f16054710 update ring :handler reference 2014-03-24 19:13:43 -04:00
Gered abf1923fe2 log exceptions instead of just printing them 2014-03-24 19:13:26 -04:00
Gered beb60e3321 update template render function 2014-03-24 18:13:44 -04:00
Gered e06bac7f2f fix access rules (new format) 2014-03-24 18:12:24 -04:00
Gered 3eb031b94e fix rss route throwing an error 2014-03-23 17:02:28 -04:00
Gered d8a2479841 fix custom 404 handler throwing errors of its own 2014-03-23 16:55:06 -04:00
Gered 4690adc3cb make it so app auto starts when a REPL is opened 2014-03-23 16:45:41 -04:00
Gered a5e6edc1a4 reorganize, adjust cheshire version 2014-03-23 16:45:04 -04:00