Commit Graph

41 Commits

Author SHA1 Message Date
yflory 600771682a Allow edit/delete/multiple answers without a drive and fix race condition 2022-12-08 16:53:29 +01:00
yflory bde6bb0032 Clean server code 2022-10-14 16:53:38 +02:00
yflory 8a3be878e8 Merge branch 'staging' into form-del 2022-10-12 17:19:22 +02:00
yflory 6a1c64fe9a Delete your own form answers 2022-10-06 17:12:23 +02:00
ansuz 2b365694f6 fix server logic and logs messages related to quotas 2022-09-13 13:00:36 +05:30
ansuz e78e57c039 unify accounts_api and quota_api config options 2022-08-30 17:23:10 +05:30
ansuz 6c73e05d19 ignore an expected error 2022-07-25 16:33:05 +05:30
yflory 6ae07bb480 Allow accounts server to trigger quota updates 2022-07-05 11:48:40 +02:00
ansuz 40251948d4 check authenticated rpc signatures in separate threads 2020-03-24 14:31:40 -04:00
ansuz 90899aa2f4 start reviewing and removing XXX notes 2020-03-24 13:03:49 -04:00
ansuz 1230057970 disable IS_PAD_PINNED 2020-03-12 11:31:08 -04:00
ansuz fe0e02a421 restrict access to metadata 2020-02-21 10:31:10 -05:00
ansuz f579c9b059 semi-functional allow-list implementation in historyKeeper 2020-02-19 14:22:12 -05:00
ansuz a4be6185de merge staging and do a little lint compliance 2020-02-17 11:54:27 -05:00
ansuz f86196e40a implement shared environment between historyKeeper and RPC 2020-02-17 09:01:10 -05:00
ansuz 725d10fc60 nest storage directory inside './lib' 2020-02-14 16:29:30 -05:00
ansuz 38c1700173 Respond to pinning RPCs as soon as possible
(instead of waiting until you've read an unbounded number
of pin logs while queries back up in memory)

Also replace instances of 'publicKey' with 'safeKey' or 'unsafeKey'
to clearly and correctly indicate their format.
2020-02-14 13:46:40 -05:00
ansuz 1231cacef1 remove XXX 2020-02-10 11:21:04 -05:00
ansuz 57be324850 remove some XXX notes 2020-02-10 10:01:02 -05:00
ansuz 802034616c centralize historykeeper-rpc interaction in rpc methods 2020-02-07 12:53:12 -05:00
yflory 64c0f3a90d Add missing RPC command 2020-02-06 11:54:46 +01:00
ansuz f17d14fd99 simpler limit updates 2020-02-05 18:01:48 -05:00
ansuz bde17a62a1 continue refactoring rpc 2020-02-05 17:31:44 -05:00
ansuz 3741cbcbc0 rewrite trimmed history WITH newlines 2020-02-05 12:22:53 -05:00
ansuz 5808c534b5 fix function signature for trimHistory RPC 2020-02-05 11:53:47 -05:00
ansuz 9c28941f6c lint compliance 2020-02-05 10:47:43 -05:00
ansuz 46dfa026f0 fix an API change that caused a typeError 2020-02-03 18:47:18 -05:00
ansuz 88be40ede3 standardize some function signatures and factor out a lot of boilerplate 2020-02-03 18:32:21 -05:00
ansuz 43307ffb1a define all server intervals in a map so we can easily clear them all 2020-02-03 17:14:23 -05:00
ansuz 6523974ca2 fix a WRITE_PRIVATE_MESSAGE rpc regression 2020-02-03 15:47:41 -05:00
ansuz 779e817443 stop relying on netflux-server internals
* create RPC module from inside historyKeeper
* stop passing around netflux-server context
  * update to use newer netflux-server's formal APIs
* manage your own cache of indexes instead of storing things in the netflux context
2020-02-03 14:20:05 -05:00
ansuz b093d3f0d2 WIP massive rpc refactor 2020-01-24 14:45:53 -05:00
ansuz ceb351326c split out some more rpc functionality and fix broken module paths 2020-01-24 13:36:14 -05:00
ansuz c1f222dd6c move metadata commands from rpc to their own module 2020-01-24 13:19:40 -05:00
ansuz bb7e8e4512 move login block functionality into its own rpc module 2020-01-24 13:14:26 -05:00
ansuz c765362744 move more rpc functionality into modules 2020-01-24 13:06:46 -05:00
ansuz c93b39c094 separate more rpc functionality into pinning and core submodules 2020-01-24 12:43:11 -05:00
ansuz ba6e3f33bd move admin commands into their own module 2020-01-24 11:25:48 -05:00
ansuz 39b0785406 apply custom limits immediately at startup 2020-01-24 09:57:12 -05:00
ansuz c388641479 drop support for 'retainData' configuration 2020-01-23 15:13:19 -05:00
ansuz f45de2b52f move some server deps from repo root to lib/ 2020-01-23 15:01:56 -05:00