Commit Graph

49 Commits

Author SHA1 Message Date
Ceda EI 20fb7f9bc2 Merge upstream new version 2021-08-25 00:16:57 +05:30
Ceda EI 991f26e871 Serve plain text if Accept header isn't set 2020-10-23 15:18:37 +05:30
Ceda EI e2293900de Return text/plain if html isn't explicitly specified in Accept header 2020-10-23 15:10:05 +05:30
John Crepezzi f255928af7 Allow setting config.js alternative on boot
Closes #105
2020-10-06 22:15:13 -04:00
John Crepezzi c409aca080 Add support for HEAD requests
On regular document endpoints, and on raw endpoints
2020-10-06 22:05:22 -04:00
Ceda EI af28e0c5d9 [Breaking] Change config.js to config.json 2019-07-27 20:40:50 +05:30
Ceda EI a541630848 Add /:id/raw 2019-07-17 16:38:13 +05:30
John Crepezzi 318c5f7ba6 Upgrade uglify and simplify usage
- Upgrade to the most recent version of uglify
- Use the `UglifyJS.minify(code)` helper which does exactly what we want
2017-10-31 21:19:22 -04:00
John Crepezzi c5b859ec98 Bump node engine version & fix asset compression on start 2017-07-11 21:13:33 -04:00
John Crepezzi bf1dbb68b8 Fix eslint 2017-06-26 12:38:17 -04:00
John Crepezzi 934aaf7f51 Don't expire static documents on raw read 2017-01-28 11:57:25 -05:00
John Crepezzi 84c909a5db Added user-configurable rate limiting 2016-03-06 16:20:40 -05:00
John Crepezzi ab029eae2f Added postgres adapter 2014-06-09 16:50:43 -04:00
John Crepezzi 10623873e8 Allow host setting by ENV 2012-09-27 12:01:00 -04:00
John Crepezzi 8f0d6260b0 change how redistogo install works 2012-09-27 11:50:12 -04:00
John Crepezzi 4efc5d47d9 Allow redistogo 2012-09-27 11:46:53 -04:00
John Crepezzi 814a49812a Update server config path 2012-09-19 14:28:52 -04:00
John Crepezzi e0610bc1be Fix multiple document loading
Closes #32
2012-08-13 11:33:20 -04:00
John Crepezzi f37d1ad401 Clean up some code and move document stores into subfolder 2012-01-21 15:19:55 -05:00
John Crepezzi cc65e98940 Added support for phonetic key naming
Closes #7
2012-01-07 11:35:11 -05:00
John Crepezzi 44f7ab3f33 Added the ability to retrieve raw documents
Closes #10
2011-12-16 07:57:49 -05:00
John Crepezzi 92e0f579ca Kick expirations back on view 2011-11-28 01:13:14 -05:00
John Crepezzi 0875ba6252 Auto-compress javascript assets 2011-11-27 15:49:17 -05:00
John Crepezzi 85fac80a6d Put staticCache back in 2011-11-27 14:47:36 -05:00
John Crepezzi fb0c439879 temporarily remove staticCache 2011-11-23 22:01:22 -05:00
John Crepezzi 12aa622c2d Clean up the router 2011-11-23 16:34:22 -05:00
John Crepezzi d6468ad5fb Fixed bug that was preventing document lookup 2011-11-23 15:45:28 -05:00
John Crepezzi 167c7c4adb Use the new router 2011-11-23 13:14:18 -05:00
John Crepezzi e403549e13 Added static document loading on start 2011-11-22 09:22:37 -05:00
John Crepezzi 9ed330bdae Make static asset caching an option 2011-11-21 23:00:28 -05:00
John Crepezzi d0e3e4cd02 Support for redis expiration 2011-11-21 22:03:50 -05:00
John Crepezzi a9e29c2986 Added support for haste maximum size 2011-11-21 10:17:23 -05:00
John Crepezzi 60f412b7bc Added haste to version control 2011-11-18 18:30:31 -05:00
John Crepezzi 83b8f3f52d Generalize store 2011-11-18 18:04:24 -05:00
John Crepezzi fec02cfead Move storage mechanism to new object 2011-11-18 17:54:57 -05:00
John Crepezzi b173cdd144 preparse static elements rather than fs'ing them 2011-11-18 17:36:35 -05:00
John Crepezzi 0fe0306caa Logger configuration 2011-11-18 17:26:25 -05:00
John Crepezzi 93435715f2 Fix loggin 2011-11-18 16:58:21 -05:00
John Crepezzi 6bdd7d7fc5 Host and port made configurable 2011-11-18 16:57:23 -05:00
John Crepezzi b159817a27 Added configuration and made key length configurable 2011-11-18 16:54:16 -05:00
John Crepezzi d69839b2fb Push state for new documents fixed 2011-11-18 16:37:38 -05:00
John Crepezzi 7b2d0f549d Remove some finished TODOs 2011-11-18 16:25:53 -05:00
John Crepezzi 4f00d3c71a Remove url from static_handler.js 2011-11-18 16:00:05 -05:00
John Crepezzi 13e497993f Separate logic into proper places 2011-11-18 15:51:38 -05:00
John Crepezzi 6bac45efe2 More work on the server 2011-11-18 15:44:28 -05:00
John Crepezzi b35c89a472 Added duplicate functionality 2011-11-18 15:18:38 -05:00
John Crepezzi f22f347d43 Light refactor 2011-11-18 10:49:38 -05:00
John Crepezzi 7756e38595 Document saving almost working 2011-11-18 10:49:00 -05:00
John Crepezzi c5a551f770 Move to static, rewrite client-JS 2011-11-18 10:17:41 -05:00