Commit Graph

524 Commits

Author SHA1 Message Date
ansuz
b5a01231b7 Merge branch '5.3-storage' into merge-storage 2023-03-07 14:49:28 +05:30
ansuz
d231451b49 Merge branch 'http-workers' into merge-storage 2023-03-07 14:49:22 +05:30
ansuz
d8ef2c8371 print login block size when it exceeds the maximum 2023-03-07 13:30:30 +05:30
ansuz
64d24f8b20 clean up http-worker code and add comments 2023-03-07 11:17:46 +05:30
ansuz
8fce5bcaf6 use configured http ports 2023-03-02 12:45:38 +05:30
ansuz
b003d4d825 Merge branch 'staging' into http-workers 2023-03-02 11:59:58 +05:30
ansuz
6bb336034b Merge branch 'staging' into 5.3-storage 2023-03-02 10:53:05 +05:30
ansuz
47afa26fc5 Merge branch 'soon' into 5.3-storage 2023-02-09 16:16:26 +05:30
yflory
f4b477ee37 Clean XXX 2023-02-01 18:02:03 +01:00
ansuz
7b65d3e8c8 judge blob activity based on mtime instead of atime
and output a basic overview when eviction completes
2023-01-23 08:29:36 +05:30
ansuz
c7dedf4054 more logging for potentially long-running eviction processes 2023-01-19 10:14:22 +05:30
ansuz
0bf26588e5 Merge branch 'soon' into 5.3-storage 2023-01-19 09:57:16 +05:30
ansuz
15272a6604 relocate blobs that have been archived to the wrong location 2023-01-19 08:57:39 +05:30
ansuz
911c15df25 fix incorrectly constructed archival path for blobs 2023-01-19 08:56:32 +05:30
yflory
a0714b9cc8 Prevent type error with the new admin script 2023-01-12 15:54:16 +01:00
ansuz
b0d10c3777 oops - fix inverted not 2023-01-11 15:08:16 +05:30
ansuz
3f18a38714 report http-worker RPC errors to the main process for logging 2023-01-11 15:02:02 +05:30
ansuz
4968bbf961 WIP limit on block size 2023-01-11 14:50:16 +05:30
ansuz
96de4dffe9 fix an inverted not in a non-functional telemetry attribute 2023-01-11 13:03:10 +05:30
yflory
1971553e1f Flush cache when adding new admin 2022-12-20 17:25:54 +01:00
yflory
70e602d9c9 Prototype install app 2022-12-20 16:57:51 +01:00
ansuz
953c817c5b clean up more prototype code:
* remove commented code
* serialize errors sent from http workers to the main process
* drop support for custom http headers set via config.js#httpHeaders
* websockets: only listen on localhost, respect websocketPort config in workers' proxy config
2022-12-20 18:03:52 +05:30
ansuz
24274e6c9b remove some prototyping code that was overwriting values in responses to http-workers 2022-12-20 17:10:10 +05:30
ansuz
7e4518b43d More server cleanup:
* make the websocket port configurable
* reorder some tasks at launch time to use more consistent logging
* relaunch http workers if they crash
* refuse to launch if httpUnsafeOrigin cannot be parsed as a URL
* fix a path issue reintroduced by a git merge
2022-12-20 16:29:38 +05:30
ansuz
d58096636a Merge tag '5.2.0' into test-merge 2022-12-20 14:49:47 +05:30
ansuz
6f19101f42 big server changes:
* use the nodejs cluster module to handle http traffic with multiple threads
* listen for websocket traffic on a new port because all such logic needs to share state
* proxy websocket URLs from the cluster to the new port so everything is backwards compatible
* implement logic for http workers to make requests and stay in sync with the main process
* unrelated: define the expected nodejs version in a constant
2022-12-20 14:20:59 +05:30
yflory
600771682a Allow edit/delete/multiple answers without a drive and fix race condition 2022-12-08 16:53:29 +01:00
ansuz
ed981f2b63 generalize recommended version code for easier updates 2022-12-07 13:09:24 +05:30
ansuz
c762353cad interpret maxWorkers config in lib/env instead of in worker handler 2022-12-07 13:04:07 +05:30
yflory
5d350f1c45 Merge branch 'form' into form-del 2022-10-26 17:51:10 +02:00
yflory
89448115c5 Delete form own answers 2022-10-18 10:19:57 +02: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
c3df1bb0ec Use flag in pad metadata to allow line deletion in file 2022-10-12 17:17:58 +02:00
yflory
6a1c64fe9a Delete your own form answers 2022-10-06 17:12:23 +02:00
ansuz
1acdb4180d fix for bogus metadata lines wiping ownership and other parameters 2022-10-06 16:05:05 +05:30
ansuz
863ab4f380 Merge branch 'soon' into absolute-paths 2022-10-06 15:34:05 +05:30
ansuz
fede73efb1 enable admin option to opt-in to aggregate statistics 2022-09-22 16:35:20 +05:30
ansuz
333ba82970 allow admins to overwrite live data with archived data when both exist 2022-09-13 18:32:50 +05:30
ansuz
2b365694f6 fix server logic and logs messages related to quotas 2022-09-13 13:00:36 +05:30
ansuz
cf180158dc remove temporary comments 2022-09-07 18:15:19 +05:30
ansuz
e78e57c039 unify accounts_api and quota_api config options 2022-08-30 17:23:10 +05:30
ansuz
b903e1351d serverside component of admin metadata history 2022-08-26 18:11:59 +05:30
ansuz
ccd0b580f8 fix broken file uploads 2022-08-24 12:38:34 +05:30
ansuz
6cfce42c58 refactor admin panel and include reasons for archiving and restoring 2022-08-24 10:10:32 +05:30
ansuz
d05063a5a2 ensure that the correct form of a signing key is used 2022-08-23 16:08:57 +05:30
ansuz
31f61c7f1d refactor admin database tab 2022-08-11 18:30:19 +05:30
ansuz
60e58e8f7a first version of admin 'database' tab 2022-08-11 11:53:03 +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