Commit Graph

64 Commits (76af3b90a72df95dc430f94816304aa744d1abc5)

Author SHA1 Message Date
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
ansuz 0fe62f8c75 make wss CSP headers configurable again
Caleb James DeLisle 72fc2e7068 Chuck a few more super-duper-security headers in there
Caleb James DeLisle f8ac3a6ad3 Fix merge error
Caleb James DeLisle 83c3f6310a Don't make the codestyle any worse than it is
Caleb James DeLisle 12cdd1e76b Add a Content Security Policy which works for CryptPad
ansuz 3dfa19b786 more flexible websocket configuration (WIP)
ansuz 4b238de84c quieter stdout and stderr logs
Csaba Okrona c82abd8780 reverting the style changes
Csaba Okrona 08064ae035 Using express.static instead of custom handler
ansuz eb797aa7cd Support files other than index.html at server root
ansuz e73d93031c use an absolutely specific regex for the document root
ansuz ad370d9216 implement more seamless customization (with fallbacks)
ansuz ba3e120fbf remove everything related to jquery sheet since we're not using it
ansuz d59824929d pass config object into NetfluxServer
ansuz b09b73fcc6 remove chainpad server
Yann Flory 692fe24b32 Ability to use the old Chainpad server in parallel of the netflux server
Yann Flory ba4faea939 Update the pads to run with the latest improvements to the websocket server