Commit graph

158 commits

Author SHA1 Message Date
ansuz
1ef6a96cd1 avoid duplicating CSP headers in production environments 2021-03-03 11:11:06 +05:30
ansuz
3c4b2ffad0 avoid setting headers for /api/config that will be duplicated by nginx 2021-03-03 09:59:04 +05:30
ansuz
929159a0f4 implement server offline mode (no ws) 2021-01-08 14:49:04 +05:30
yflory
396eb4d263 Stop autodownloading big mediatags 2020-11-24 16:38:31 +01:00
ansuz
ebc394c4b3 expose defaultStorageLimit via /api/config 2020-11-17 18:09:34 +05:30
ansuz
aa547a7b76 align nodejs http headers with example nginx 2020-11-03 16:48:31 +05:30
ansuz
804443e5f7 send basic team info along with support tickets
...and fix a server bug that had broken /api/config.supportMailbox
2020-10-15 15:12:12 +05:30
ansuz
369c92c01d initialize Env from server and deduplicate several attributes 2020-10-12 17:39:53 +05:30
ansuz
c99de4ffc2 expose the canonical representation of adminKeys via /api/config 2020-10-12 14:56:09 +05:30
ansuz
b5d3a10dc2 guard against possible typeErrors from unvalidated config input 2020-10-09 13:28:13 +05:30
ansuz
6519f8242e Merge branch 'signing-key-format' into staging 2020-06-30 14:52:57 -04:00
ansuz
ebcc9a069b add server-side support for the new format of public signing keys 2020-06-25 13:14:26 -04:00
yflory
b94a596751 remove unsafe-inline requirement in pad 2020-06-22 18:45:16 +02:00
ansuz
5196440e65 guard against a typeError when httpSafeOrigin is not defined 2020-04-06 10:16:02 -04:00
ansuz
9fa93172cf tolerate trailing slashes in httpSafeDomain 2020-04-03 10:37:23 -04:00
ansuz
3b05d24f10 wip csp issue 2020-04-02 17:46:29 -04:00
Jason Heard
9b3013278b Check httpSafeOrigin in config variable 2020-03-10 14:21:23 -06:00
ansuz
53ed247bc2 expose maxUploadSize and premiumUploadSize via /api/config 2020-03-03 16:47:44 -05:00
ansuz
e70c3ff0ab add some default config values and warn if provided values seem incorrect 2020-02-28 12:01:52 -05:00
ansuz
74771f13f5 implement caching for /api/config responses 2020-02-27 13:48:19 -05:00
ansuz
80c012f34d prepare to merge history keeper and rpc 2020-01-27 17:57:39 -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
ansuz
671999c600 treat onlyoffice iframes specially with regard to CSP 2020-01-21 08:39:55 -05:00
yflory
47768112b4 Merge branch 'staging' into communities-oo 2020-01-16 14:52:37 +01:00
Ludovic Dubost
d593f3961c Updated OnlyOffice editors, Updated x2t.js to 5.4.2 2020-01-05 20:32:34 +01:00
Ludovic Dubost
1065ef5d4c Fix security policy for ooslide and oodoc which would break x2t wasm export on Chrome 2020-01-04 02:03:30 +01:00
ansuz
05699b2c94 unify websocket configuration points 2019-12-23 18:27:11 -05:00
ansuz
a8b363dba0 drop support for 'websocketPath' and 'useExternalWebsocket' configuration points 2019-12-23 18:23:50 -05:00
ansuz
97bc793ca8 simplify websocket configuration even more 2019-12-23 17:39:13 -05:00
ansuz
67cde69120 drop support for configuration points we can't possibly support 2019-12-23 17:28:01 -05:00
ansuz
4c51d464fd drop replify integration 2019-12-23 17:15:07 -05:00
ansuz
cffb0da833 remove ssl support in node server.
Use a reverse proxy for this.
2019-12-23 17:05:08 -05:00
ansuz
2dfbb522b0 simplify server websocket configuration 2019-12-23 17:01:00 -05:00
ansuz
663a1138b4 trim leading spaces from domains 2019-12-18 12:01:58 -05:00
yflory
5a055233c0 Fix cryptget inner 2019-12-17 10:57:13 +01:00
ansuz
d4b4a50253 remove annoying console.log 2019-09-12 17:26:45 +02:00
ansuz
3ff40df1b8 change server from PACKAGE mode to FRESH mode when you flush the cache 2019-09-10 17:32:10 +02:00
ansuz
f8cd1dc266 have historyKeeper remove files that are a day or more past their expiration time 2019-09-04 14:21:22 +02:00
ansuz
42528632ac display correct pad expiration time based on /api/config 2019-08-30 15:17:03 +02:00
ansuz
1ec1d8b0e0 make fresh mode the default behaviour 2019-08-30 15:03:22 +02:00
ansuz
874093a126 push something that actually works 2019-08-26 18:42:20 +02:00
ansuz
9d40018da3 support cross-origin blobs 2019-08-26 18:39:23 +02:00
ansuz
255f208a4a always enable tasks, but allow for admins to disable the integrated loop in the main server process 2019-08-21 13:36:27 +02:00
ansuz
d30470f1aa correct an invalid comment 2019-08-21 13:22:43 +02:00
yflory
22c9af6961 Support page 2019-06-25 16:39:15 +02:00
ansuz
7665720d77 integrate task execution into the server directly 2019-04-23 13:28:05 +02:00
yflory
e0665cb190 Use the new logging API for the history keeper 2019-04-17 15:28:29 +02:00
ansuz
d5a9eacef0 standardize loading of server configuration 2019-04-17 13:48:39 +02:00
ansuz
4e9273f35c improved logger behaviour and updated default configuration 2019-04-09 11:40:51 +02:00