Commit graph

170 commits

Author SHA1 Message Date
ansuz
f8cd1dc266 have historyKeeper remove files that are a day or more past their expiration time 2019-09-04 14:21:22 +02:00
ansuz
42528632ac display correct pad expiration time based on /api/config 2019-08-30 15:17:03 +02:00
ansuz
1ec1d8b0e0 make fresh mode the default behaviour 2019-08-30 15:03:22 +02:00
ansuz
874093a126 push something that actually works 2019-08-26 18:42:20 +02:00
ansuz
9d40018da3 support cross-origin blobs 2019-08-26 18:39:23 +02:00
ansuz
255f208a4a always enable tasks, but allow for admins to disable the integrated loop in the main server process 2019-08-21 13:36:27 +02:00
ansuz
d30470f1aa correct an invalid comment 2019-08-21 13:22:43 +02:00
yflory
22c9af6961 Support page 2019-06-25 16:39:15 +02:00
ansuz
7665720d77 integrate task execution into the server directly 2019-04-23 13:28:05 +02:00
yflory
e0665cb190 Use the new logging API for the history keeper 2019-04-17 15:28:29 +02:00
ansuz
d5a9eacef0 standardize loading of server configuration 2019-04-17 13:48:39 +02:00
ansuz
4e9273f35c improved logger behaviour and updated default configuration 2019-04-09 11:40:51 +02:00
ansuz
78749456d6 more notes for later 2019-04-08 18:39:45 +02:00
ansuz
e1e6d51038 new logging api 2019-04-08 18:11:36 +02:00
ansuz
dd6767e267 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-04-01 16:35:58 +02:00
yflory
f9fc154979 Add mastodon and display admin email in the contact page 2019-04-01 14:39:32 +02:00
ansuz
4566bf4ed8 drop support for various serverside config points 2019-04-01 12:09:11 +02:00
yflory
f24d34c0af History keeper is now separated from chainpad-server 2019-03-29 17:03:53 +01:00
ansuz
744f212b26 keep config.js in config/
and persist it via various docker mechanisms
2019-03-28 17:35:30 +01:00
ansuz
8aeb6246d8 expose admin email via /api/config 2019-03-28 17:18:04 +01:00
ansuz
322ceb7ea1 process admin keys at startup, instead of on demand 2019-03-28 17:17:40 +01:00
yflory
7d4589bdb0 Send valid admin keys to the clients 2019-03-27 18:12:34 +01:00
yflory
bb5f03bd0f Add admin panel 2019-03-27 17:00:28 +01:00
yflory
9ceebb603d Reorder config file 2019-02-28 17:08:19 +01:00
yflory
0e61c46dcf Move fonts to the onlyoffice build 2019-01-28 17:06:17 +01:00
ansuz
1281c9b2be remove some dead serverside code 2019-01-28 15:28:38 +01:00
yflory
d5f98c916b Update CSP for OnlyOffice apps 2019-01-28 12:18:18 +01:00
ansuz
9d0e0a4efa log font path to make sure it's working 2019-01-24 18:42:29 +01:00
ansuz
802075f83c log errors when trying to serve fonts 2019-01-24 18:41:14 +01:00
ansuz
f775d395f4 serve cached onlyoffice-compatible fonts 2019-01-24 18:40:12 +01:00
yflory
dbe8571a40 Removing console.log in the server about onlyoffice fonts 2019-01-24 16:23:07 +01:00
yflory
29f8cfbfe0 Remove sockjs dependency and ooserver code 2019-01-21 10:44:39 +01:00
yflory
1e672c4a6b Use onlyoffice spreadsheets without ooserver 2019-01-07 12:02:38 +01:00
yflory
760f58b74c Merge branch 'staging' into oo2 2018-12-13 16:24:11 +01:00
ansuz
26540b4b94 correctly support httpSafeOrigin loaded from configuration file 2018-10-17 13:48:31 +02:00
yflory
874156ccf0 Prevent shared folders from being moved to the trash using the del key 2018-09-17 17:53:18 +02:00
yflory
bd1b120ab1 Add feedback about crowdfunding 2018-09-17 16:02:52 +02:00
yflory
bf9cf95292 Merge branch 'staging' into oo2 2018-09-03 10:49:12 +02:00
yflory
846755b0a7 Increase requirejs timeout (thanks Firefox...) 2018-07-02 14:02:05 +02:00
ansuz
7aa7b82c60 merge staging 2018-06-28 13:33:54 +02:00
ansuz
02169bfa83 Revert "Use socket.io instead of WebSocket"
In hindsight this may have been a terrible idea.

RIP uptime.

This reverts commit 9195c57445.
2018-06-26 15:30:40 +02:00
ansuz
a037f46b62 Merge branch 'staging' into modern-users 2018-06-22 10:28:11 +02:00
ansuz
9d3d8c3ba2 initial implementation of serverside password change RPCs 2018-06-19 11:31:15 +02:00
yflory
9195c57445 Use socket.io instead of WebSocket 2018-06-04 14:59:37 +02:00
Caleb James DeLisle
2897a14869 Expose the datastore as an http endpoint 2018-04-13 17:49:17 +02:00
ansuz
bc35c3349f set content-type headers for the 404 page 2018-04-12 17:24:51 +02:00
ansuz
5b84bc1a25 simplify server 2018-02-28 18:15:01 +01:00
yflory
db71fe5bf8 Rename font files 2018-02-20 15:23:24 +01:00
yflory
7cb3282634 New apps for text, slide and spreadsheet 2018-02-19 18:52:57 +01:00
yflory
5c1e5a3f49 Merge branch 'staging' into oo 2018-02-19 12:11:06 +01:00
Nicolas Parquet
3b46578621 Fix main pages customization
Co-authored-by: fvn-linagora <fvignon@linagora.com>
2018-02-09 16:17:40 +01:00
Caleb James DeLisle
e78cc4ce7e manual merge 2018-02-06 11:41:57 +01:00
Caleb James DeLisle
cac5e75a99 Add a repl to improve debugging on the prod server 2018-02-06 11:35:24 +01:00
ansuz
b4b51ed86a add a subsystem for scheduling tasks 2018-01-26 15:24:07 +01:00
yflory
5827905dbd Import OnlyOffice code from the 'onlyoffice' branch and sframe it 2018-01-25 11:06:58 +01:00
ansuz
acd5574008 send httpUnsafeOrigin via /api/config 2018-01-23 16:41:54 +01:00
ansuz
5f0a865028 implement 'FRESH MODE' 2017-12-11 11:13:06 +01:00
Caleb James DeLisle
ba74f9d37a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-12-05 18:32:29 +01:00
Caleb James DeLisle
c702a23c77 Initial work on the 'pad will expire' logic 2017-12-05 17:48:30 +01:00
ansuz
b5516ddcd0 send 404 page from server 2017-11-30 19:19:21 +01:00
Caleb James DeLisle
abec07b1f9 If config.js is missing, fallback to config.example.js which is in the git repo 2017-08-28 11:21:01 +02:00
Caleb James DeLisle
ad9f2ff223 Made pad2 server more generic and easy to implement 2017-08-17 15:41:04 +02:00
Caleb James DeLisle
e04c0b89a1 manual merge of staging 2017-08-17 12:14:19 +02:00
Caleb James DeLisle
723151254c remove a debug line before release which killed CSP 2017-08-14 16:23:56 +02:00
Caleb James DeLisle
65dfd99171 major wip 2017-08-07 16:27:57 +02:00
Caleb James DeLisle
8404017af1 wip 2017-07-22 16:43:53 +02:00
ansuz
e4dccd7ea8 cache blobs for a year unless you're in dev mode 2017-06-19 11:29:13 +02:00
Caleb James DeLisle
7bee2ba27d Add a semicolon at the end of the CSP if none exists. 2017-06-15 14:45:01 +02:00
ansuz
e631818268 format probable server URL when printing to the console at launch 2017-06-14 10:27:29 +02:00
Caleb James DeLisle
aa9aaefdea Add frame-ancestors to allow remote auth 2017-06-07 09:51:10 +02:00
ansuz
605377cf31 update default configuration file with new attributes and comments 2017-05-30 15:35:51 +02:00
Caleb James DeLisle
66520b6041 cleaned up the accounts, limits and revenue sharing and unified the config in one place 2017-05-26 18:09:31 +02:00
ansuz
1378a0c1f6 serve blobs from configured location 2017-05-19 17:01:09 +02:00
yflory
d985b144cc Add a new hash version for the file viewer 2017-04-25 17:19:13 +02:00
ansuz
fd067510fe support logging feedback api via config.js 2017-04-18 15:51:42 +02:00
yflory
7c9adfbcb6 Replace the websocket server by the one in the chainpad-server repo 2017-03-16 15:57:13 +01:00
ansuz
612a00b484 implement serverside RPC infrastructure 2017-03-10 18:03:15 +01:00
ansuz
efdd999161 implement dev mode which busts cache all the time 2017-03-06 17:25:02 +01:00
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.
2017-03-01 21:06:53 +01:00
yflory
29578a7400 Merge branch 'hpbs' into newtoolbar 2017-01-30 14:45:02 +01:00
yflory
4aacd291b1 New config option to use an external websocket server 2017-01-27 16:45:41 +01:00
yflory
8ccd845d52 Merge branch 'newtoolbar' into hpbs 2017-01-24 12:54:32 +01:00
yflory
6652e9d6d9 Test new home page 2017-01-16 18:29:34 +01:00
ansuz
33b8de888e clean up unused files 2017-01-11 07:49:56 +01:00
ansuz
4cda1aeb2f add docker and docker-compose
thanks @felixboehm
2017-01-10 10:36:12 +01:00
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.
2017-01-02 11:54:50 +01:00
ansuz
32d7fc55d2 make it easier to add pages at the document root 2016-12-28 17:11:06 +01:00
ansuz
2f9283a677 fix leaky global variable 2016-10-18 11:51:35 +02:00
ansuz
a2e5c96115 make http headers configurable, update default conf 2016-10-18 11:48:29 +02:00
ansuz
0fe62f8c75 make wss CSP headers configurable again 2016-10-12 13:03:36 +02:00
Caleb James DeLisle
72fc2e7068 Chuck a few more super-duper-security headers in there 2016-10-06 23:02:30 +02:00
Caleb James DeLisle
f8ac3a6ad3 Fix merge error 2016-10-06 22:48:30 +02:00
Caleb James DeLisle
83c3f6310a Don't make the codestyle any worse than it is 2016-10-06 22:44:58 +02:00
Caleb James DeLisle
12cdd1e76b Add a Content Security Policy which works for CryptPad 2016-10-06 22:37:25 +02:00
ansuz
3dfa19b786 more flexible websocket configuration (WIP) 2016-10-03 19:19:38 +02:00
ansuz
4b238de84c quieter stdout and stderr logs 2016-09-30 15:51:23 +02:00
Csaba Okrona
c82abd8780 reverting the style changes 2016-09-27 12:17:38 +02:00
Csaba Okrona
08064ae035 Using express.static instead of custom handler 2016-09-27 11:53:52 +02:00
ansuz
eb797aa7cd Support files other than index.html at server root 2016-08-16 17:28:49 +02:00
ansuz
e73d93031c use an absolutely specific regex for the document root 2016-07-12 12:44:44 +02:00