Commit Graph

181 Commits (ec928334d898d21f3e746ddd52376b220c0254ee)

Author SHA1 Message Date
ansuz 05699b2c94 unify websocket configuration points
ansuz a8b363dba0 drop support for 'websocketPath' and 'useExternalWebsocket' configuration points
ansuz 97bc793ca8 simplify websocket configuration even more
ansuz 67cde69120 drop support for configuration points we can't possibly support
ansuz 4c51d464fd drop replify integration
ansuz cffb0da833 remove ssl support in node server.
Use a reverse proxy for this.
ansuz 2dfbb522b0 simplify server websocket configuration
ansuz 663a1138b4 trim leading spaces from domains
yflory 5a055233c0 Fix cryptget inner
ansuz d4b4a50253 remove annoying console.log
ansuz 3ff40df1b8 change server from PACKAGE mode to FRESH mode when you flush the cache
ansuz f8cd1dc266 have historyKeeper remove files that are a day or more past their expiration time
ansuz 42528632ac display correct pad expiration time based on /api/config
ansuz 1ec1d8b0e0 make fresh mode the default behaviour
ansuz 874093a126 push something that actually works
ansuz 9d40018da3 support cross-origin blobs
ansuz 255f208a4a always enable tasks, but allow for admins to disable the integrated loop in the main server process
ansuz d30470f1aa correct an invalid comment
yflory 22c9af6961 Support page
ansuz 7665720d77 integrate task execution into the server directly
yflory e0665cb190 Use the new logging API for the history keeper
ansuz d5a9eacef0 standardize loading of server configuration
ansuz 4e9273f35c improved logger behaviour and updated default configuration
ansuz 78749456d6 more notes for later
ansuz e1e6d51038 new logging api
ansuz dd6767e267 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory f9fc154979 Add mastodon and display admin email in the contact page
ansuz 4566bf4ed8 drop support for various serverside config points
yflory f24d34c0af History keeper is now separated from chainpad-server
ansuz 744f212b26 keep config.js in config/
and persist it via various docker mechanisms
ansuz 8aeb6246d8 expose admin email via /api/config
ansuz 322ceb7ea1 process admin keys at startup, instead of on demand
yflory 7d4589bdb0 Send valid admin keys to the clients
yflory bb5f03bd0f Add admin panel
yflory 9ceebb603d Reorder config file
yflory 0e61c46dcf Move fonts to the onlyoffice build
ansuz 1281c9b2be remove some dead serverside code
yflory d5f98c916b Update CSP for OnlyOffice apps
ansuz 9d0e0a4efa log font path to make sure it's working
ansuz 802075f83c log errors when trying to serve fonts
ansuz f775d395f4 serve cached onlyoffice-compatible fonts
yflory dbe8571a40 Removing console.log in the server about onlyoffice fonts
yflory 29f8cfbfe0 Remove sockjs dependency and ooserver code
yflory 1e672c4a6b Use onlyoffice spreadsheets without ooserver
yflory 760f58b74c Merge branch 'staging' into oo2
ansuz 26540b4b94 correctly support httpSafeOrigin loaded from configuration file
yflory 874156ccf0 Prevent shared folders from being moved to the trash using the del key
yflory bd1b120ab1 Add feedback about crowdfunding
yflory bf9cf95292 Merge branch 'staging' into oo2
yflory 846755b0a7 Increase requirejs timeout (thanks Firefox...)
ansuz 7aa7b82c60 merge staging
ansuz 02169bfa83 Revert "Use socket.io instead of WebSocket"
In hindsight this may have been a terrible idea.

RIP uptime.

This reverts commit 9195c57445.
ansuz a037f46b62 Merge branch 'staging' into modern-users
ansuz 9d3d8c3ba2 initial implementation of serverside password change RPCs
yflory 9195c57445 Use socket.io instead of WebSocket
Caleb James DeLisle 2897a14869 Expose the datastore as an http endpoint
ansuz bc35c3349f set content-type headers for the 404 page
ansuz 5b84bc1a25 simplify server
yflory db71fe5bf8 Rename font files
yflory 7cb3282634 New apps for text, slide and spreadsheet
yflory 5c1e5a3f49 Merge branch 'staging' into oo
Nicolas Parquet 3b46578621 Fix main pages customization
Co-authored-by: fvn-linagora <fvignon@linagora.com>
Caleb James DeLisle e78cc4ce7e manual merge
Caleb James DeLisle cac5e75a99 Add a repl to improve debugging on the prod server
ansuz b4b51ed86a add a subsystem for scheduling tasks
yflory 5827905dbd Import OnlyOffice code from the 'onlyoffice' branch and sframe it
ansuz acd5574008 send httpUnsafeOrigin via /api/config
ansuz 5f0a865028 implement 'FRESH MODE'
Caleb James DeLisle ba74f9d37a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
Caleb James DeLisle c702a23c77 Initial work on the 'pad will expire' logic
ansuz b5516ddcd0 send 404 page from server
Caleb James DeLisle abec07b1f9 If config.js is missing, fallback to config.example.js which is in the git repo
Caleb James DeLisle ad9f2ff223 Made pad2 server more generic and easy to implement
Caleb James DeLisle e04c0b89a1 manual merge of staging
Caleb James DeLisle 723151254c remove a debug line before release which killed CSP
Caleb James DeLisle 65dfd99171 major wip
Caleb James DeLisle 8404017af1 wip
ansuz e4dccd7ea8 cache blobs for a year unless you're in dev mode
Caleb James DeLisle 7bee2ba27d Add a semicolon at the end of the CSP if none exists.
ansuz e631818268 format probable server URL when printing to the console at launch
Caleb James DeLisle aa9aaefdea Add frame-ancestors to allow remote auth
ansuz 605377cf31 update default configuration file with new attributes and comments
Caleb James DeLisle 66520b6041 cleaned up the accounts, limits and revenue sharing and unified the config in one place
ansuz 1378a0c1f6 serve blobs from configured location
yflory d985b144cc Add a new hash version for the file viewer
ansuz fd067510fe support logging feedback api via config.js
yflory 7c9adfbcb6 Replace the websocket server by the one in the chainpad-server repo
ansuz 612a00b484 implement serverside RPC infrastructure
ansuz efdd999161 implement dev mode which busts cache all the time
Caleb James DeLisle 91eda5fa83 Implement stronger content-security-policy except in /pad/ which does not allow it.
Implement a "loader" which allows for applying a version number to everything.
Added a cache control for anything which has a version.
yflory 29578a7400 Merge branch 'hpbs' into newtoolbar
yflory 4aacd291b1 New config option to use an external websocket server
yflory 8ccd845d52 Merge branch 'newtoolbar' into hpbs
yflory 6652e9d6d9 Test new home page
ansuz 33b8de888e clean up unused files
ansuz 4cda1aeb2f add docker and docker-compose
thanks @felixboehm
felixboehm 7c0df5aed9 use wss if useSecureWebsockets is true
There are no certs / httpOtps set if proxy doing ssl offloading.
Better use useSecureWebsockets from config file.
ansuz 32d7fc55d2 make it easier to add pages at the document root
ansuz 2f9283a677 fix leaky global variable
ansuz a2e5c96115 make http headers configurable, update default conf