Commit graph

41 commits

Author SHA1 Message Date
yflory
ac090767ca Add admin panel option to enforce MFA 2023-12-11 16:40:05 +01:00
David Benque
8f0a6319a5 Apply headers 2023-10-20 15:35:26 +01:00
yflory
deb14c412f Fix XXX 2023-07-13 14:12:47 +02:00
ansuz
e895990426 generate a secret at launch time
used for issuing and validating JWTs
2023-05-03 16:19:01 +05:30
ansuz
b003d4d825 Merge branch 'staging' into http-workers 2023-03-02 11:59:58 +05:30
yflory
f4b477ee37 Clean XXX 2023-02-01 18:02:03 +01:00
yflory
70e602d9c9 Prototype install app 2022-12-20 16:57:51 +01:00
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
ansuz
958b3e4376 remove references to removed pages and notes that have been addressed 2022-05-13 15:50:38 +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
6a708a7df0 fix inability to set instance name 2022-05-03 18:48:40 +05:30
ansuz
e6c51e3dff remove hardcoded translations and invert remote embedding logic 2022-03-24 12:43:16 +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
ef6f98c149 initial serverside components for 'disableEmbedding' functionality 2022-02-18 13:35:20 +05:30
ansuz
9027409ce5 serverside components of instancePurpose flag 2021-06-25 12:29:13 +05:30
ansuz
41db88a360 WIP admin 'network' panel 2021-06-08 20:24:30 +05:30
ansuz
8c61948d02 implement SET_ADMIN_EMAIL and SET_SUPPORT_MAILBOX decrees
and update changelog
2021-04-30 14:48:22 +05:30
ansuz
75a316e70d adjust or remove comments 2021-04-12 13:39:54 +05:30
yflory
6027123d12 Fix maintenance 2021-04-08 16:10:03 +02:00
yflory
7f44009617 Better validation function in decrees 2021-04-08 13:04:12 +02:00
ansuz
4e3a7fef24 add notes from our review 2021-04-02 17:14:15 +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
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
a2c0d2165b implement a few more admin decrees 2020-10-13 11:36:30 +05:30
ansuz
6ec5171518 add support for changing a few more Env parameters at runtime 2020-10-13 10:56:40 +05:30
ansuz
45b063e378 suppress irrelevant errors from Decrees.load 2020-10-12 19:15:48 +05:30
ansuz
f86409e1ba take note of which Environment variables should be made mutable via decree 2020-10-12 17:50:40 +05:30
ansuz
f4f803ccd9 reuse Keys.canonicalize to accept any pubkey format 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
5029281a53 implement RM_QUOTA decree 2020-10-08 19:07:00 +05:30
ansuz
af47b2cab1 implement ADD_QUOTA admin decree 2020-10-08 19:07:00 +05:30
ansuz
998f2267c4 ensure the path to the decree file exists before attempting to write to it 2020-10-08 19:07:00 +05:30
ansuz
c2918ac888 fix inverted conditional 2020-10-08 19:07:00 +05:30
ansuz
bd6234c5bc lint compliance and some notes 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