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

38 commits

Author SHA1 Message Date
Linus J
3dcc43578b
Parse the expiration time as an INT (#392)
* handle expire time as int

* Removed logging

* Update lib/document_stores/postgres.js
2022-02-14 16:48:23 -03:00
John Crepezzi
219424550b Fix local name 2020-10-06 21:02:16 -04:00
John Crepezzi
f147acb51c Switch to using pg.Pool 2020-10-06 21:01:14 -04:00
John Crepezzi
9a692ed652 Get the client working as expected with pg 8 2020-10-06 21:01:10 -04:00
John Crepezzi
677a22987a
Merge pull request #122 from Roundaround/mongodb
Added mongodb document store adapter
2020-10-06 01:46:59 -04:00
John Crepezzi
89d912c6ff
Merge pull request #347 from seejohnrun/fix-memcached
Fix memcached client fetch for key not found
2020-10-06 01:39:52 -04:00
John Crepezzi
4cac6713ef Fix memcached client fetch for key not found
The memcached client wasn't correctly handling looking up a key that
didn't exist.  Now we only try to push the expiration forward if there
is actually a value in memcached.

Also while I'm in here, allow expiration to be left blank.
2020-10-06 01:36:46 -04:00
John Crepezzi
4f68b3d7d6 Merge branch 'master' into meseta/master 2020-10-06 01:13:07 -04:00
Jacob Parker
b4c666fbcf Add an Amazon S3 document store 2019-06-28 19:25:49 +01:00
John Crepezzi
f3838ab4a8
Merge pull request #251 from seejohnrun/handle-redis-disconnect
Handle redis error and re-establish connection
2018-09-19 10:38:34 -04:00
John Crepezzi
bf2b1c957a Handle redis error and re-establish connection 2018-09-19 10:37:34 -04:00
Yuan Gao
d41d7491d4
rename to google-datastore, and use Date.now() 2018-09-01 21:11:58 +01:00
Yuan
5fb43eb67c added condition for this.expire not defined 2018-08-28 01:28:26 +01:00
Yuan
1eeef4ede4 restored using null 2018-08-28 01:21:37 +01:00
Yuan
b0bbb72f35 updated to use Date(null) 2018-08-28 00:35:09 +01:00
Yuan
b6814a1445 bugfixes 2018-08-27 23:15:02 +01:00
Yuan
869fb65738 added googledatastore handler 2018-08-27 22:59:05 +01:00
Jacob Gunther
5f6fefa7a6
Fixed unnecessary logging when document not found 2018-04-30 16:40:28 -05:00
Jacob Gunther
cd3bf26dbe
Use local method for md5 2018-04-16 10:52:53 -05:00
Jacob Gunther
830dc1bc43 Use uploads table 2018-04-15 23:16:39 -05:00
Jacob Gunther
dc0f151a7f Fixed bug in RethinkDB document store and use classes 2018-04-15 23:16:08 -05: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
Jacob Gunther
ff0fccd6c2
Oh noes! I didn't even notice that I had a typo... 2017-12-11 09:50:50 -06:00
Jacob Gunther
cdd0cf3739
Fixed requested changes to RethinkDB handler 2017-12-11 09:27:44 -06:00
PassTheMayo
ba5c6b8d16 Added RethinkDB storage option & fixed config to use proper JSON 2017-12-09 18:34:00 -06:00
John Crepezzi
5939dec185 Added eslint and fixed an issue from #158 2017-06-26 12:19:36 -04:00
Evan Steinkerchner
d3db5e2a5d Added mongodb document store adapter 2016-06-10 16:43:43 -04:00
John Crepezzi
45e19bc7cc fix indentation 2015-12-27 12:59:59 -05:00
Arun Babu Neelicattu
c92ab077c0 Support authentication for redis store if password provided 2014-11-21 23:17:19 +10:00
lidl
a8d4f3c300 Make table creation comment a one-liner. 2014-06-27 18:40:05 -04:00
John Crepezzi
ab029eae2f Added postgres adapter 2014-06-09 16:50:43 -04:00
John Crepezzi
447d0aae76 PG basis 2014-06-09 14:48:35 -04:00
John Crepezzi
89909747f1 Don't depend on err.message for redis errors [#49] 2013-11-24 11:54:01 -05:00
John Crepezzi
4b58c8d356 Added more loggin 2012-09-27 11:50:56 -04:00
John Crepezzi
93a83a35da Logging 2012-09-27 11:47:23 -04:00
John Crepezzi
4efc5d47d9 Allow redistogo 2012-09-27 11:46:53 -04:00
John Crepezzi
8b7ac341e7 FileDocumentStore fix
Closes #20
2012-01-24 00:01:38 -05:00
John Crepezzi
f37d1ad401 Clean up some code and move document stores into subfolder 2012-01-21 15:19:55 -05:00