Commit Graph

74 Commits

Author SHA1 Message Date
yflory 25098e20de lint compliance 2024-03-13 16:51:22 +01:00
yflory 13f92370cb Merge branch 'produpdate' into staging 2024-03-13 16:33:50 +01:00
yflory b902f281d7 Don't log clean websocket disconnections 2024-03-07 12:11:36 +01:00
yflory 447a7e183c Use latest chainpad-server and its updated events 2024-03-07 10:58:25 +01:00
Wolfgang Ginolas fdc86ab130 Remove jshint 2024-03-01 07:44:00 +01:00
yflory 1879fd2226 Add configurable server option to log user address (off by default) 2024-02-19 18:15:05 +01:00
David Benque 8f0a6319a5 Apply headers 2023-10-20 15:35:26 +01:00
yflory 2be39c3749 API: reload content on server restart 2023-06-22 14:39:04 +02:00
yflory 723ecc8bd6 Integration API prototype 2023-06-22 14:39:04 +02:00
ansuz caece0123e archive pin logs instead of removing them outright 2021-06-25 20:22:16 +05:30
ansuz 729d51fb9b update block storage APIs 2021-04-29 13:32:19 +05:30
Dmitry Borodaenko 6cd2131f27 Pass archivePath to Store.create always 2021-03-03 11:31:08 -08:00
yflory fc514fb61d Support a callback on channelMessage 2021-01-19 14:53:38 +01:00
yflory 69c26fe8c7 Fix various issues with restricted pads 2020-10-23 15:44:47 +02:00
ansuz faa7ebf399 Fix some bugs with integrated eviction
1. implement SET_LAST_EVICTION as an admin command, not a decree
2. expect a return value from Env.evictInactive and expose it via Env.evictionReport
2020-10-15 13:15:39 +05:30
ansuz 6ec5171518 add support for changing a few more Env parameters at runtime 2020-10-13 10:56:40 +05:30
ansuz 369c92c01d initialize Env from server and deduplicate several attributes 2020-10-12 17:39:53 +05:30
ansuz b5d3a10dc2 guard against possible typeErrors from unvalidated config input 2020-10-09 13:28:13 +05:30
ansuz 964aa2bb79 validate custom limits provided via config at launch 2020-10-08 19:07:00 +05:30
ansuz 145386e944 suppress an inconsequential error 2020-10-08 19:07:00 +05:30
ansuz 928b7e3583 implement GET_LIMITS admin rpc
...and label stored usage limits according to their source
2020-10-08 19:07:00 +05:30
ansuz 0c5db31fbc refactor quota logic for external usage 2020-10-08 19:07:00 +05:30
ansuz 1781ee2585 implement 'UPDATE_DEFAULT_STORAGE' as a decree 2020-10-08 19:07:00 +05:30
ansuz 7aa7d5978f implement persistence of config changes from admin panel 2020-10-08 19:07:00 +05:30
ansuz 04d1bc9cd7 archive inactive data in one of the server's workers 2020-09-30 14:45:52 +05:30
ansuz 02347d134a queue signature validation per-channel to ensure correct ordering 2020-04-30 18:18:05 -04:00
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