Commit Graph

44 Commits

Author SHA1 Message Date
ansuz c762353cad interpret maxWorkers config in lib/env instead of in worker handler 2022-12-07 13:04:07 +05:30
ansuz e78e57c039 unify accounts_api and quota_api config options 2022-08-30 17:23:10 +05:30
yflory 6ae07bb480 Allow accounts server to trigger quota updates 2022-07-05 11:48:40 +02:00
ansuz 958b3e4376 remove references to removed pages and notes that have been addressed 2022-05-13 15:50:38 +05:30
ansuz 0be64ac958 simplify accounts configuration on dev instances 2022-05-11 13:12:12 +05:30
ansuz a2731c44b0 assorted home page fixes/improvements
* link to home page from other static pages
* home notice
  * moved to the top of the home page
  * configured via server API instead of application_config.js
  * WIP admin panel UI
* more debugging info for unsupported decrees
* lint compliance probably
2022-05-06 13:55:00 +05:30
ansuz b014c4dbf1 fileHost is undefined for most use cases 2022-04-04 16:32:42 +05:30
ansuz b4323b2c40 fix incorrect frame-ancestors and update test 2022-04-01 13:15:06 +05:30
ansuz e6c51e3dff remove hardcoded translations and invert remote embedding logic 2022-03-24 12:43:16 +05:30
ansuz 386827d825 handle 500 errors 2022-03-22 16:41:42 +05:30
ansuz af10547dca warn if node is not launched with 'NODE_ENV=production' 2022-03-22 15:40:43 +05:30
ansuz f34a60665f check that the server is running at least NodeJS v16.14.2 2022-03-22 14:27:07 +05:30
ansuz d405a5f086 disable remote embedding by default 2022-03-15 15:29:18 +05:30
ansuz 1051fc4da7 fix undefined safe origin 2022-03-14 17:43:51 +05:30
ansuz a54a0af604 more tests on checkup page 2022-03-14 17:09:22 +05:30
ansuz e38e08fb6e Merge branch 'soon' into block-embeds 2022-03-14 12:52:55 +05:30
ansuz 45d2eb0267 Merge branch 'soon' of github.com:xwiki-labs/cryptpad into support-categories
and include some tweaks for the checkup page

* sort errors above warnings
* improve messages for new tests
2022-03-10 11:33:41 +05:30
ansuz b65730b853 allow admins to enable configurable disk I/O profiling 2022-03-07 18:42:00 +05:30
ansuz 1202b7a691 WIP configure instance name, jurisdiction, and description on admin panel 2022-02-24 15:28:24 +05:30
ansuz 0917b45035 implement proper support for forbidding remote media-tag inclusion
...and test that the basic headers are correctly set on the checkup page
2022-02-18 16:09:02 +05:30
ansuz b40c81d088 support modifying CSP headers at runtime 2022-02-18 13:54:33 +05:30
ansuz b8d6af7891 adjust CSP headers for printing from OnlyOffice
* allow outer to load resources from the sandbox (for fonts)
* test whether the expected CSP values are present on the checkup page
* simplify the nodejs server a bit
2021-10-19 14:22:10 +05:30
ansuz c1f9d11333 delay working on some flagged issues till next release 2021-08-16 18:32:34 +05:30
ansuz 854a635c5f remove hardcoded translations and defer non-blocking issues till the next release 2021-07-27 03:40:03 +05:30
ansuz f13b82bdf6 disable integrated eviction by default
we'll implement an admin panel checkbox to enable it later
2021-07-06 16:14:40 +05:30
ansuz f7f2146fa5 miscellaneous cleanup and notes 2021-06-30 19:09:53 +05:30
ansuz f5e91ef3ef provide installMethod detail in server telemetry 2021-06-22 16:32:33 +05:30
ansuz bb7c40237b detect new versions in server telemetry responses 2021-06-10 20:56:12 +05:30
ansuz 2fd812ff36 WIP admin translations and update available button 2021-06-09 18:45:02 +05:30
ansuz 98c8d7086f include instance version in Env 2021-06-09 18:43:31 +05:30
ansuz 41db88a360 WIP admin 'network' panel 2021-06-08 20:24:30 +05:30
ansuz eb32651c67 leave some notes about a minor race condition 2021-05-05 12:07:45 +05:30
ansuz 50045c08d0 WIP restrict registration 2021-04-26 18:31:33 +05:30
yflory 8f679c141c Broadcast update 2021-03-30 17:41:12 +02:00
yflory 7971a6d267 Major broadcast refactoring 2021-03-16 17:00:23 +01:00
yflory d15c0461cc Add /api/broadcast and improve message deletion 2021-03-12 12:46:11 +01:00
ansuz 929159a0f4 implement server offline mode (no ws) 2021-01-08 14:49:04 +05:30
ansuz e6a4c68863 always delete the throttled cleanup functions once they have run 2020-12-08 16:50:37 +05:30
ansuz d4f94f3091 briefly cache server metadata in-memory to avoid repeated reads 2020-12-08 16:34:28 +05:30
ansuz 93d56e5e3d profile worker commands by total running time in seconds 2020-12-08 10:44:46 +05:30
ansuz 1f1b40b83d move some implictly global state to env.js 2020-11-03 16:48:31 +05:30
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 adb988058d stop logging dev/fresh mode 2020-10-12 19:19:57 +05:30
ansuz 369c92c01d initialize Env from server and deduplicate several attributes 2020-10-12 17:39:53 +05:30