Commit graph

107 commits

Author SHA1 Message Date
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 84ee498aa2 update to jtwig 2.1.2 2014-03-22 16:42:40 -04:00
Gered b1dde0bc69 bump version 2014-03-05 19:16:26 -05:00
Gered d67df0d136 update README.md 2014-03-05 19:15:49 -05:00
Gered a69aa14f3b update object conversion tests 2014-03-05 18:31:30 -05:00
Gered 0b773a9423 don't convert objects to maps when converting from java to clojure 2014-03-05 18:31:19 -05:00
Gered dac1f31616 add test 2014-03-05 18:26:20 -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 King 2a22d77a12 Update README.md 2014-03-04 22:58:39 -05:00
Gered King 9f7f838a4b Update README.md 2014-03-04 22:58:11 -05:00
Gered 43401abcf3 update README.md 2014-03-04 22:54:43 -05:00
Gered bdaed33842 no sense in continually needing to update both README.md files... 2014-03-04 22:43:13 -05:00
Gered 1f9354cdb0 update README.md 2014-03-04 22:38:03 -05:00
Gered d9c079451d Merge branch 'master' into java6 2014-03-04 19:00:23 -05:00
Gered f431c88696 update README.md 2014-03-04 19:00:08 -05:00
Gered 9400b70bdc Merge branch 'master' into java6
Conflicts:
	project.clj
2014-03-04 16:56:44 -05:00
Gered 17caf40f2a bump version 2014-03-04 16:55:36 -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 3cca389e8b formatting 2014-03-04 14:42:52 -05:00
Gered 0624425e61 add tests for template function aliases 2014-03-04 14:41:46 -05:00
Gered fdcd0d74d3 add alias for "blankIfNull" 2014-03-04 14:37:48 -05:00
Gered 5f54d25c41 Merge branch 'master' into java6
Conflicts:
	project.clj
2014-03-04 14:33:46 -05:00
Gered 1595d54041 update version 2014-03-04 14:28:39 -05:00
Gered c3d1f15af4 add more standard function tests 2014-03-04 14:27:45 -05:00
Gered 70bc766fa7 move template function tests into a separate namespace. add std fn tests 2014-03-04 14:00:13 -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 117e7cb079 don't actually need the sonatype repository listed for this now 2014-03-03 13:51:10 -05:00
Gered 6216266abc update project.clj with specifics for the java6 compatible version 2014-03-03 13:47:52 -05:00
Gered 7532d61008 update to jtwig 2.1.1 2014-03-03 09:38:52 -05:00
Gered 4a2f236876 java6 compatible dependency 2014-03-03 09:38:14 -05:00