Commit Graph

107 Commits

Author SHA1 Message Date
yflory
79caca130b
Merge pull request #1295 from cryptpad/drawio-image
Drawio image
2024-01-29 17:29:33 +01:00
yflory
ebcbf4570e Remove custom HTTP headers for diagrams 2024-01-29 16:15:56 +01:00
Wolfgang Ginolas
a96856bb3d Allow loading diagram images from Nextcloud
https://github.com/cryptpad/cryptpad/issues/1297
2023-12-22 09:00:59 +01:00
yflory
e65baebadc Restrict SSO registration 2023-12-19 17:59:56 +01:00
yflory
30d956b52f Fix ws proxy issue with :: as httpAddress 2023-12-18 15:47:10 +01:00
yflory
7ba29238b2 Merge branch 'forcemfa' into staging 2023-12-13 15:21:54 +01:00
yflory
641f224c71 Fix lost functions in Env in HTTP workers 2023-12-12 17:04:01 +01:00
yflory
199dcc8c62 Merge branch 'staging' into authsso 2023-12-11 16:46:11 +01:00
yflory
542111843a Merge branch 'staging' into forcemfa 2023-12-11 16:30:22 +01:00
yflory
e2dd7f6305 Merge branch 'authsso' into forcemfa 2023-12-11 16:30:18 +01:00
Wolfgang Ginolas
d42539b3b2 Merge remote-tracking branch 'origin/staging' into drawio-image 2023-12-06 09:08:32 +01:00
yflory
23a799d960 Fix missing plugin functions in HTTP workers 2023-12-05 17:10:59 +01:00
yflory
223dc9394b New plugin structure 2023-11-17 17:19:04 +01:00
yflory
982c15ae0e Add an option to enforce MFA for all accounts on the instance 2023-11-09 15:35:56 +01:00
yflory
72cb827e18 Make MFA session expiration configurable 2023-11-08 15:58:28 +01:00
yflory
046e7abeb8 option to enforce CryptPad password for SSO accounts 2023-11-07 16:02:27 +01:00
yflory
61b3ea50ce Merge branch 'staging' into authsso 2023-11-06 16:45:06 +01:00
yflory
ed97d28528 Make SSO plugin optional 2023-11-06 16:27:52 +01:00
Wolfgang Ginolas
7f55498bcc Update draw.io dependency and remove unneeded CSP headers 2023-11-01 09:19:46 +01:00
Wolfgang Ginolas
304fc6e970 Upgrade draw.io to 21.7.5 2023-11-01 09:19:45 +01:00
yflory
7d3f67cd86 SSO + OTP account deletion and password change 2023-10-26 17:55:54 +02:00
yflory
49f6b69db5 SAML SSO login/registration 2023-10-20 18:20:31 +02:00
David Benque
8f0a6319a5 Apply headers 2023-10-20 15:35:26 +01:00
yflory
9b367a0468 SSO SAML test 2023-10-18 18:20:49 +02:00
yflory
6e50b9d9dc Fix HPM error proxy websocket to undefined 2023-10-17 11:50:02 +02:00
Wolfgang Ginolas
13badd7ce4 Use correct mime type for .wasm files
https://github.com/cryptpad/cryptpad/issues/1277
2023-10-16 09:42:47 +02:00
yflory
37008242e2 Merge branch 'main' into authsso 2023-10-12 14:56:04 +02:00
yflory
2c12ff5d72 Merge branch 'staging' into moderation 2023-09-11 12:08:07 +02:00
yflory
a0e59dd65b Fix form responses deletion #1239 2023-09-11 11:55:26 +02:00
yflory
975a177cbb Add UI/UX when reading a placeholder 2023-09-08 18:10:02 +02:00
yflory
fde6f15270 Fix headers added by node for the recommended config 2023-09-05 13:01:41 +02:00
yflory
27b9c9bac3 Update blob activity when loaded 2023-08-29 17:50:39 +02:00
yflory
cddfc7b5a1 Merge branch '541-rc' of github.com:cryptpad/cryptpad into 541-rc 2023-08-22 15:48:53 +02:00
yflory
395a1ebf5a Fix broadcast settings not applied instantly #1189 2023-08-22 15:48:43 +02:00
Wolfgang Ginolas
58331b067d Fix collaboration of Nextcloud integration 2023-08-22 13:31:29 +02:00
yflory
650e4c42ca Fix websocket only binds to localhost #1182 2023-08-18 10:40:35 +02:00
yflory
a70800f928 Remove false positive server error log on page reload 2023-07-13 14:49:07 +02:00
yflory
deb14c412f Fix XXX 2023-07-13 14:12:47 +02:00
yflory
b11333e7a0 lint compliance 2023-07-11 10:35:44 +02:00
yflory
c10fc37645 Merge branch 'totp-ui' into 5.4-rc 2023-07-11 10:30:36 +02:00
yflory
d1d26571cf SSO: fix issue with missing config 2023-07-02 12:04:21 +03:00
yflory
d6bf625733 SSO: prototype improvements 2023-06-29 12:32:45 +02:00
yflory
b93b5eae4e SSO: OIDC login and register 2023-06-27 16:04:32 +02:00
yflory
0c94c1a602 Merge branch 'totp-ui' into authsso 2023-06-23 19:07:11 +02:00
yflory
18d6ccdfd3 SSO: OIDC auth 2023-06-23 19:06:29 +02:00
yflory
da5626cbae TOTP: Use session token instead of JWT to prepare for SSO 2023-06-23 18:35:18 +02:00
yflory
9aac9d1c2f TOTP: Use HTTP challenges to write and remove blocks 2023-06-09 15:06:17 +02:00
yflory
d789627920 TOTP setup and revocation in settings 2023-05-12 18:21:19 +02:00
ansuz
921c46956d fix a type error by ensuring Env.Log is defined 2023-05-06 20:42:11 +05:30
ansuz
41e870d3db serverside protocol work for authentication enforcement and configuration 2023-05-05 18:17:58 +05:30
ansuz
b753a067ac avoid logging for common 404s 2023-05-03 16:32:09 +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
3f18a38714 report http-worker RPC errors to the main process for logging 2023-01-11 15:02:02 +05:30
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
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