Commit graph

85 commits

Author SHA1 Message Date
Gered a03c5a67d8 add core function to toggle :check-for-minified-web-resources on/off 2014-06-01 17:04:18 -04:00
Gered 751bf1bf79 add new :check-for-minified-web-resources option 2014-06-01 17:00:41 -04:00
Gered d455c6c332 move options atom to avoid an upcoming circular dependency issue 2014-06-01 16:54:03 -04:00
Gered 12aabb6fd8 minor refactoring 2014-06-01 16:45:22 -04:00
Gered 1c434caed2 jtwig's own title function already does this. whoops 2014-03-23 13:17:24 -04:00
Gered fd73645574 rearrange nth function alphabetically 2014-03-23 11:32:16 -04:00
Gered d807f45091 add normalize_space 2014-03-23 11:31:35 -04:00
Gered a45bb27479 add center 2014-03-23 11:27:08 -04:00
Gered 04c442a8f8 add pad_right 2014-03-23 11:25:41 -04:00
Gered b6d0f3015d add pad_left 2014-03-23 11:24:21 -04:00
Gered 6b8889752c add repeat 2014-03-23 11:18:04 -04:00
Gered f316f35532 add wrap 2014-03-23 11:11:00 -04:00
Gered b8c938b2ea add capitalize_all 2014-03-23 10:28:40 -04:00
Gered 2a448b2839 should be throwing exceptions if resource files not found
by default get-resource-path returns nil if the filename doesnt specify
a file which isn't in the classpath
2014-03-23 10:07:00 -04:00
Gered 0358df49c4 implement checking for existence of files inside jar archives 2014-03-23 10:06:14 -04:00
Gered a84c8588bd proper method of rendering template files contained in jars 2014-03-23 09:43:05 -04:00
Gered f68862e784 extract function to check if file exists
this will need to be extended to also check for the existance of files
inside of jars
2014-03-23 09:19:04 -04:00
Gered 91b71370bf add helper template functions to include CSS and JS files 2014-03-22 18:55:12 -04:00
Gered 1b4fa0fa6f add utils namespace. move common utility functions over 2014-03-22 18:54:33 -04:00
Gered 57bb442808 include web-functions in the standard set of repository functions 2014-03-22 17:09:39 -04:00
Gered 32a03b3507 add web-functions 2014-03-22 17:09:09 -04:00
Gered 4cdf060750 add servlet context path middleware
will be used by functions yet-to-be-added
2014-03-22 16:57:21 -04:00
Gered 0b773a9423 don't convert objects to maps when converting from java to clojure 2014-03-05 18:31:19 -05:00
Gered 852bd519c0 add 'dump_table' function 2014-03-05 18:26:12 -05:00
Gered 8f47565e0a update standard function names to be more consistent with the others 2014-03-05 18:14:30 -05:00
Gered 8d6eba99b0 update namespace doc comment 2014-03-04 16:46:00 -05:00
Gered d4ec61b306 add more type hints 2014-03-04 16:42:44 -05:00
Gered fdcd0d74d3 add alias for "blankIfNull" 2014-03-04 14:37:48 -05:00
Gered 559936b839 add no-alias arg overload for add-function!. update some doc comments 2014-03-04 13:59:23 -05:00
Gered a7e6b70ea4 standard function now defined in a map which can be easily reloaded 2014-03-04 13:25:58 -05:00
Gered f71272a8a5 typo 2014-03-04 12:42:38 -05:00
Gered 8041c4cae3 pprint isn't really a 'core' function i guess, so we should have a :use
tests failed to run, complaining about pprint being undefined until this
was added anyway
2014-03-04 12:14:10 -05:00
Gered 880dd02e91 add standard functions (those not already provided by jtwig) 2014-03-04 12:11:53 -05:00
Gered bd6b5962cb add support for template function aliases 2014-03-04 12:10:43 -05:00
Gered f879a59b72 get rid of debug println 2014-03-04 10:54:14 -05:00
Gered 1e46b1f207 allow redefining template functions. wrap exceptions in FunctionException 2014-03-04 10:53:23 -05:00
Gered 6128447121 move code to manage twig template functions into separate namespace 2014-03-04 08:40:26 -05:00
Gered c11475d112 change function name 2014-03-02 15:47:50 -05:00
Gered 0bf32bdd67 add comments to document the options. add missing option toggle function 2014-03-02 15:42:00 -05:00
Gered 050cb114f4 rename option keyword 2014-03-02 15:32:17 -05:00
Gered 826fdb3832 implement support for the new :skip-file-modification-check option 2014-03-02 15:30:49 -05:00
Gered aaced50b76 add option to skip file modification date checks if it is cached already 2014-03-02 14:58:22 -05:00
Gered 22ea7b35ab remove debug println 2014-03-02 14:43:15 -05:00
Gered a5878fab54 always clear the cache when toggling it on/off 2014-03-02 14:35:18 -05:00
Gered 428adddb65 update a comment 2014-03-02 14:33:16 -05:00
Gered e1b53036ed add toggle control to turn template caching on/off 2014-03-02 14:28:39 -05:00
Gered c64a826a12 add options atom 2014-03-02 14:28:24 -05:00
Gered 2fd58cb392 add function to reset the compiled template cache 2014-03-02 14:17:43 -05:00
Gered e423a658b3 rename cache related functions to better indicate they have side-effects 2014-03-02 14:14:47 -05:00
Gered 7b949c176f update get-compiled-template to use caching instead of always compiling 2014-03-02 13:54:45 -05:00