ansuz
bac8ef3c6e
lint compliance
2020-04-17 11:43:54 -04:00
ansuz
4e57e390da
write tasks inside of workers
2020-04-16 16:37:24 -04:00
ansuz
ba6faca02e
make the number of workers configurable
2020-04-16 13:53:45 -04:00
ansuz
dc0460780f
Merge branch 'soon' into staging
2020-04-15 09:44:30 -04:00
Martin Alexander Neumann
e3f42cbc20
Allow config.defaultStorageLimit to be zero bytes
2020-04-11 20:46:09 +02:00
ansuz
e527867e2e
queue blob and channel deletions per-user
2020-04-09 16:29:52 -04:00
ansuz
d8a88cb4ca
run expiration tasks in a worker instead of the main process
2020-03-27 14:38:58 -04:00
ansuz
9dbd32758a
improve worker logging and move blob deletion to worker processes as well
2020-03-27 13:38:27 -04:00
ansuz
5f69fc18d0
suppress some noisy errors
2020-03-26 17:11:43 -04:00
ansuz
70a0d4efb4
move more database reads into the database worker
2020-03-25 17:43:57 -04:00
ansuz
4ba36a9173
load user pins in the database worker
2020-03-25 11:39:14 -04:00
ansuz
471e374533
compute metadata in the same child process that builds indexes
2020-03-24 17:43:15 -04:00
ansuz
e128683ffb
call back with errors instead of throwing within the Storage module
2020-03-24 13:31:03 -04:00
ansuz
4522ffa18a
compute indexes in child processes
2020-03-19 10:46:18 -04:00
ansuz
019e5e708b
wrap workers in a function scope and add a validateMessage method to HK's Env
2020-03-17 17:23:35 -04:00
ansuz
ce6cf6f727
revert some changes that couldn't have possibly worked
2020-03-04 09:59:17 -05:00
ansuz
170aa6d47e
clean up a few tasks related to allow lists
2020-03-03 15:52:49 -05:00
ansuz
2f00ff3278
simplify check-in deactivation
2020-02-28 14:24:53 -05:00
ansuz
03ff9bd0d7
start deprecating usage of myDomain
2020-02-28 11:45:41 -05:00
ansuz
94d8e7f2c2
provide a consistent type for 'customLimits'
2020-02-28 10:49:20 -05:00
ansuz
c26560e3f9
commit stashed admin-rpc refactor
2020-02-27 15:00:31 -05:00
ansuz
59ad80d7f1
support larger upload sizes for users with premium accounts
2020-02-26 13:09:11 -05:00
ansuz
f951951077
merge communities-allow-list and lint compliance
2020-02-25 09:48:41 -05:00
ansuz
f0e5fc7614
merge some missing code from communities-allow-list
2020-02-25 09:09:16 -05:00
ansuz
033bd361f9
add backwards compatibility with older servers
2020-02-21 13:58:21 -05:00
ansuz
791aad53f2
WIP allow list changes
2020-02-21 08:18:05 -05:00
ansuz
597f417ad6
WIP block history requests that bypass JOIN restriction (where appropriate)
2020-02-19 15:32:15 -05:00
ansuz
f579c9b059
semi-functional allow-list implementation in historyKeeper
2020-02-19 14:22:12 -05:00
ansuz
eac3e4cbcd
sketch out some historyKeeper functionality related to access lists
2020-02-18 16:05:12 -05:00
ansuz
a4be6185de
merge staging and do a little lint compliance
2020-02-17 11:54:27 -05:00
ansuz
79f1280cf3
Merge branch 'soon' into staging
2020-02-17 11:42:08 -05:00
ansuz
b56367414b
don't overwrite cached indices when new users join a channel
2020-02-17 11:31:00 -05:00
ansuz
e8949168ec
lint compliance
2020-02-17 10:30:44 -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
7000be0e70
clean up historykeeper
2020-02-07 18:58:57 -05:00
ansuz
802034616c
centralize historykeeper-rpc interaction in rpc methods
2020-02-07 12:53:12 -05:00
ansuz
a00a9fd018
don't hang when reading unparseable lines from history
2020-02-05 13:05:05 -05:00
ansuz
f8f3a48e8b
use latest chainpad-server
2020-02-04 11:15:44 -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
06c29ef1d1
latest api changes to match the netflux-server refactor
2020-02-03 10:03:43 -05:00
ansuz
b922860339
drop usage of historyKeeper.setConfig
2020-01-27 18:54:16 -05:00
ansuz
80c012f34d
prepare to merge history keeper and rpc
2020-01-27 17:57:39 -05:00
ansuz
9cdf54aff2
untested implementation of trimHistory
2020-01-23 17:58:24 -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