Commit graph

31 commits

Author SHA1 Message Date
ansuz
2add39ee40 fix default config 2017-03-16 17:29:12 +01:00
ansuz
25a2215846 reconcile merge conflict from master 2017-03-16 17:24:36 +01:00
ansuz
e8fbbf9984 fix default config to be very permissive with CSP headers 2017-03-16 15:40:16 +01:00
ansuz
3185e2a4cc comment out config lines which break local usage of cryptpad 2017-03-16 15:18:57 +01:00
ansuz
737ffe8430 comment out config lines which break local usage of cryptpad 2017-03-16 15:18:29 +01:00
ansuz
b38ba6dbec comment out config lines which break local usage of cryptpad 2017-03-16 15:17:40 +01:00
ansuz
d585fce67b suppress RPC errors if configured to do so 2017-03-16 13:07:01 +01:00
ansuz
612a00b484 implement serverside RPC infrastructure 2017-03-10 18:03:15 +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
d5c7f8f5da Add the new html page to the config file 2017-01-27 16:49:17 +01:00
yflory
4aacd291b1 New config option to use an external websocket server 2017-01-27 16:45:41 +01:00
Caleb James DeLisle
4402ea9966 typo in config.dist 2017-01-26 16:34:00 +01:00
ansuz
32d7fc55d2 make it easier to add pages at the document root 2016-12-28 17:11:06 +01: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
ansuz
1f2e45d6c8 improved fs storage adaptor and config docs
* regularly close open file descriptors older than channelExpirationMs
* clean up older file descriptors when exceeding openFileLimit
2016-10-12 10:52:27 +02:00
ansuz
0ece2cf6a1 add to default configuration and comment 2016-10-03 19:28:14 +02:00
ansuz
0296989515 rewrite default config file 2016-09-14 15:53:41 +02:00
ansuz
3232671a6a implement optional channel removal hooks
add configuration variables to the default config
2016-05-14 13:04:05 +02:00
ansuz
a08efc568b update default config to contain logToStdout 2016-05-14 12:50:03 +02:00
ansuz
2c158558f5 use leveldb adaptor by default 2016-04-22 11:05:54 +02:00
ansuz
60eb8b52a9 listen for websockets on the same port as the httpd 2016-04-22 10:55:20 +02:00
ansuz
278c4ab32f even more jshint compliance 2016-02-15 16:47:53 +01:00
ansuz
37c896f7b3 add a note about installing the mongodb client 2016-01-29 11:39:34 +01:00
ansuz
1483f110bc fix the default configuration file
add a bunch of comments about the new storage backend
2016-01-29 11:35:44 +01:00
ansuz
3928c89d35 relocate and rename Storage.js. implement a simple, non-persistent in memory datastore for those who'd rather not bother with mongodb. Continue to default to previous values. 2015-10-25 19:35:25 -04:00
Caleb James DeLisle
6687a1d5dc added ability to use https 2014-12-04 10:53:47 +01:00
Caleb James DeLisle
2a1f3f9027 show a little spinner which spins when loading and when people type 2014-11-03 21:44:35 +01:00
Caleb James DeLisle
5ae599fa07 support different ports for websocket and http 2014-11-03 11:13:41 +01:00
kpcyrd
8d7c85f287 Move config from server.js into config.js.dist 2014-10-31 17:48:17 +01:00