1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-22 20:51:21 +00:00
Commit graph

32 commits

Author SHA1 Message Date
John Crepezzi
c409aca080 Add support for HEAD requests
On regular document endpoints, and on raw endpoints
2020-10-06 22:05:22 -04:00
John Crepezzi
b087ac8dd1 Added charset to raw content type
Closes #230
2018-07-12 14:25:27 -04:00
John Crepezzi
827e7b51b5 Rewrite the memcached client
* Update syntax to ES6
* Use `memcached` instead of `memcache`
* Fix restrictions where expirations weren't pushed forward on GET
* Fix a bug where we were unnecessarily bumping expirations on key search

Closes #201
2018-02-16 09:52:44 -05:00
John Crepezzi
ab029eae2f Added postgres adapter 2014-06-09 16:50:43 -04:00
John Crepezzi
0471b059a0 Support a form-data POST API
Closes #54
2014-04-21 14:16:23 -04:00
John Crepezzi
13bb094fb3 Revert "Refactor frontend"
This reverts commit 1950cc8db0.
2012-03-19 18:17:39 -04:00
Michael Macias
1950cc8db0 Refactor frontend
* restructured JavaScript using backbone.js
* replaced highlight.js with CodeMirror for its editor
* added CodeMirror Solarized (dark) theme based on Ethan Schoonover's solarized.vim
* changed `POST /document` to accept real JSON
* cleaned up template and stylesheet
2012-02-18 02:40:56 -06:00
John Crepezzi
f37d1ad401 Clean up some code and move document stores into subfolder 2012-01-21 15:19:55 -05:00
John Crepezzi
6e4c087319 Remove hashlib dependency and switch to mocha for testing 2012-01-13 11:17:15 -05:00
John Crepezzi
cc65e98940 Added support for phonetic key naming
Closes #7
2012-01-07 11:35:11 -05:00
Joe Friedl
8c2add94a2 Cancellation should only last as long as the handler 2011-12-19 14:20:22 -06:00
Joe Friedl
6145a938e3 Error messages in the UI 2011-12-19 11:44:12 -06:00
John Crepezzi
44f7ab3f33 Added the ability to retrieve raw documents
Closes #10
2011-12-16 07:57:49 -05:00
John Crepezzi
565830214b Start in on the tests 2011-11-28 16:46:59 -05:00
John Crepezzi
92e0f579ca Kick expirations back on view 2011-11-28 01:13:14 -05:00
John Crepezzi
7f4cae57f9 Fix document handler regex 2011-11-23 11:34:08 -05:00
John Crepezzi
ec0d419c61 Allow forcing of highlight type 2011-11-22 20:29:46 -05:00
John Crepezzi
32b4f842b7 serve 404 when not possible key 2011-11-21 23:13:46 -05:00
John Crepezzi
0f2075fcda Ensure conflict resolution in keyspace 2011-11-21 21:48:09 -05:00
John Crepezzi
a9e29c2986 Added support for haste maximum size 2011-11-21 10:17:23 -05:00
John Crepezzi
fec02cfead Move storage mechanism to new object 2011-11-18 17:54:57 -05:00
John Crepezzi
7709e12500 Added FS backed 2011-11-18 17:12:28 -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
0eed33f42f 400 should be 404 2011-11-18 16:50:23 -05:00
John Crepezzi
cf384cd0fd Added random keys 2011-11-18 16:45:48 -05:00
John Crepezzi
f935ac56c2 Nicer page titles 2011-11-18 16:42:05 -05:00
John Crepezzi
3acc2eb17d Catch an error 2011-11-18 16:28:09 -05:00
John Crepezzi
7b2d0f549d Remove some finished TODOs 2011-11-18 16:25:53 -05:00
John Crepezzi
8a8b438163 Change uuid to key 2011-11-18 16:25:18 -05:00
John Crepezzi
6597dba36d Handle push state entirely 2011-11-18 16:22:00 -05:00
John Crepezzi
13e497993f Separate logic into proper places 2011-11-18 15:51:38 -05:00