Commit Graph

232 Commits

Author SHA1 Message Date
yflory
5fbcd78ab3 Fallback to owners proofs during migration 2025-01-10 17:23:06 +01:00
yflory
7a9cb07bb8 Improve tools for monitoring plugin 2024-11-05 18:44:57 +01:00
yflory
1aecb4fbab Improve plugins options and support monitoring plugin 2024-10-17 17:09:08 +02:00
yflory
67549561b8 Merge branch 'appconfig_ui' into 2024.6-test 2024-06-21 18:47:44 +02:00
yflory
a27b3df661 Onboarding: automatically create install token and link if no admin detected 2024-06-21 15:51:53 +02:00
Wolfgang Ginolas
1f54b8b26d Tighten eslint rules 2024-04-05 08:35:01 +02:00
yflory
1c2dc2cbef lint compliance 2024-03-07 14:58:14 +01:00
yflory
93a285baa5 Fix consecutive separators in user menu #1402 2024-02-07 12:25:20 +01:00
David Benque
8f0a6319a5 Apply headers 2023-10-20 15:35:26 +01:00
yflory
650e4c42ca Fix websocket only binds to localhost #1182 2023-08-18 10:40:35 +02:00
yflory
deb14c412f Fix XXX 2023-07-13 14:12:47 +02:00
ansuz
493bf1346c Merge tag '5.3.0' into 5.3-auth 2023-05-06 15:26:21 +05:30
yflory
6b743a787c Fix mailbox message deletion 2023-03-28 12:19:16 +02:00
ansuz
64d24f8b20 clean up http-worker code and add comments 2023-03-07 11:17:46 +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
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
ansuz
c03feef96e configure linter not to ignore the server. fix server linting issues 2022-10-06 15:34:58 +05:30
ansuz
863ab4f380 Merge branch 'soon' into absolute-paths 2022-10-06 15:34:05 +05:30
ansuz
7b64b3def7 fix logging error 2022-09-13 13:56:23 +05:30
ansuz
2b365694f6 fix server logic and logs messages related to quotas 2022-09-13 13:00:36 +05:30
ansuz
88ca56206d include accounts_api in /api/config if available 2022-09-01 13:57:01 +05:30
ansuz
e78e57c039 unify accounts_api and quota_api config options 2022-08-30 17:23:10 +05:30
ansuz
0c1e96098e log when /api/updatequota is used 2022-07-25 16:58:43 +05:30
ansuz
db59cc081d describe why /customize/www/ is served 2022-07-25 16:40:29 +05:30
ansuz
698269ad63 Merge branch 'main' into accounts-refactor 2022-07-25 16:23:48 +05:30
Maxime Cesson
341b8a3c85 Link OpenGraph data to the right instance URL through a build mechanism 2022-07-21 11:53:06 +02:00
yflory
2493938840 Send error page when updatequota not available 2022-07-11 10:17:53 +02:00
yflory
6ae07bb480 Allow accounts server to trigger quota updates 2022-07-05 11:48:40 +02:00
ansuz
c81525ffc4 checkup: complain if public instance don't provide description & location 2022-05-10 13:13:02 +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
8adeeb21ec display instance info on the home page
* implements /api/instance
* updates recommended NGINX config
* adds a test on /checkup/
2022-05-03 18:20:34 +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
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
b65730b853 allow admins to enable configurable disk I/O profiling 2022-03-07 18:42:00 +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
fa8e901f54 drop support for 'config.contentSecurity' 2022-02-18 13:59:00 +05:30
ansuz
b40c81d088 support modifying CSP headers at runtime 2022-02-18 13:54:33 +05:30
ansuz
ef6f98c149 initial serverside components for 'disableEmbedding' functionality 2022-02-18 13:35:20 +05:30
ansuz
cc1137b96b more WIP checkup 2022-02-10 16:29:48 +05:30
ansuz
a93ab05310 handle absolute paths in a few obviously problematic cases 2021-11-22 18:16:35 +05:30
ansuz
4e3c0f32cf enable oo presenter mode and embedded chart editor on dev instances 2021-10-20 12:20:09 +05:30
ansuz
0d31deb3fc dev server fixes for export with CSP 2021-10-19 17:25:05 +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