ansuz
0cb3a13aca
lint compliance
2019-06-19 12:10:14 +02:00
ansuz
b59969f48b
archive channels at expiration time if configured to prefer archiving
2019-06-19 11:52:20 +02:00
ansuz
d19b704bb8
fix an inverted boolean
2019-06-14 13:38:09 +02:00
ansuz
f5a2627d86
implement script to diagnose conflicts between the production database and the archive
2019-06-14 11:48:15 +02:00
ansuz
1e5248ff9d
implement methods for checking if a file exists in the database or the archive
2019-06-14 11:38:16 +02:00
ansuz
13738abc03
remove an incorrect comment
2019-06-14 11:37:34 +02:00
ansuz
7b8ac3d8c8
Merge branch 'soon' into staging
2019-06-14 10:45:25 +02:00
ansuz
58cee9e13d
remove an XXX because the code looks safe
2019-06-13 16:48:12 +02:00
ansuz
a2c8ec963c
archive files deleted by 'removeOwnedChannel' if the admin has configured that behaviour
2019-06-13 16:44:27 +02:00
ansuz
6aa6b706a4
don't release until you think about this XXX a bit more
2019-06-13 16:36:22 +02:00
ansuz
ac3a58cc38
fix a deadlock by returning the lock after clearing ephemeral channels
2019-06-13 15:03:36 +02:00
ansuz
a2eee153b1
Merge branch 'soon' into staging
2019-06-13 12:24:00 +02:00
ansuz
ddf4a6a784
pass the correct path to 'listChannels' for 'listArchivedChannels'
2019-06-13 12:16:23 +02:00
ansuz
7e455e6fce
drop unnecessary code, restore instead of remove archived files in restoration script, change restore archived name
2019-06-13 12:16:23 +02:00
ansuz
cb0c4ee944
don't continue iterating in listChannels until a the current task has called back
2019-06-13 12:16:23 +02:00
ansuz
2605d27e3f
fix a completely wrong function signature
2019-06-13 12:16:23 +02:00
ansuz
5a1c25a0df
fix a race condition, shutdown the log when you're done
2019-06-13 12:16:23 +02:00
ansuz
c0d908af4d
implement 'unarchiveChannel'
2019-06-13 12:16:23 +02:00
ansuz
4fd490f07f
leave some notes for later
2019-06-13 12:16:23 +02:00
ansuz
11976b262e
add a note for later
2019-06-13 12:16:23 +02:00
ansuz
dd375a2a22
every type of storage should have its own nested directory within the archive
2019-06-13 12:16:23 +02:00
ansuz
8ed725f566
update the example config to support cold storage
2019-06-13 12:16:23 +02:00
ansuz
ede929f4e4
implement inactive channel archival and archival expiration
2019-06-13 12:16:23 +02:00
ansuz
17ce25b666
add a warning to delete-inactive, which we know has bugs
2019-06-13 12:16:23 +02:00
ansuz
7647f7c68a
implement four new storage APIs
...
* listChannels
* listArchivedChannels
* archiveChannel
* removeArchivedChannel
2019-06-13 12:16:23 +02:00
ansuz
2337fbdc6b
update chainpad-server dependency
2019-06-06 15:51:48 +02:00
ansuz
1e1edf922c
Merge branch 'soon' into staging
2019-06-05 15:18:12 +02:00
ansuz
5477b83865
Merge branch 'master' into soon
2019-06-05 15:18:01 +02:00
ansuz
8d38f144b0
update ws dependency
2019-06-05 15:10:26 +02:00
ansuz
5e62cc2245
Merge branch 'soon' into staging
2019-06-03 17:24:39 +02:00
ansuz
980e3f964a
changelog for v2.23.0
2019-05-28 15:26:37 +02:00
ansuz
d98467a3ff
update version in footer and package.json
2019-05-27 17:38:26 +02:00
ansuz
70e65721cd
Merge branch 'soon' into staging
2019-05-23 15:52:20 +02:00
ansuz
85ae79193e
add updates to the changelog which I forgot to commit
2019-05-23 15:50:40 +02:00
ansuz
7a1b8baf77
Merge branch 'soon'
2019-05-21 11:20:37 +02:00
ansuz
5cfc77e8b5
Merge branch 'soon'
2019-05-21 11:10:56 +02:00
ansuz
135182ea0a
update CHANGELOG.md for 2.21.0
2019-05-03 11:44:51 +02:00
ansuz
cae0a24f78
set footer and repo version to 2.21.0 (Vervet)
2019-05-02 10:35:20 +02:00
ansuz
9f109ca613
Merge branch 'soon' into staging
2019-05-02 10:33:31 +02:00
ansuz
d382f73976
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-04-23 17:33:20 +02:00
ansuz
aa9a27634a
actual lint compliance
2019-04-23 17:29:39 +02:00
ansuz
39e725c5c9
add a migration script for the task format
2019-04-23 17:22:40 +02:00
ansuz
ec64de2c67
additional work on the storage API
...
* optimize layout on the filesystem
* drop some unused functions
* don't recurse over folders that you know won't be relevant
* remove empty folders
* add a migration API
* fix some minor bugs with asynchrony
* lint compliance
2019-04-23 17:20:03 +02:00
ansuz
d64e1c450e
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-04-23 15:58:10 +02:00
ansuz
7665720d77
integrate task execution into the server directly
2019-04-23 13:28:05 +02:00
ansuz
7b55df5931
rewrite task execution as API instead of a script
2019-04-23 13:26:45 +02:00
ansuz
ecd9647a2e
add shutdown command for the logstore
2019-04-23 13:25:03 +02:00
ansuz
e147d0eca4
add info-level logging for all rpc-initiated deletions
2019-04-17 17:09:07 +02:00
ansuz
bc45bba484
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-04-17 16:31:43 +02:00
ansuz
5a8cd61600
add support for non-standard paths in pinneddata.js
2019-04-17 16:31:35 +02:00
ansuz
cd793b295d
provide a standard api for calculating pin data for a given public key
2019-04-17 16:30:45 +02:00
ansuz
b8343b5483
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-04-17 14:46:57 +02:00
ansuz
5c9cd5ffc6
standardize pin calculation routine
2019-04-17 14:46:46 +02:00
ansuz
d5a9eacef0
standardize loading of server configuration
2019-04-17 13:48:39 +02:00
ansuz
670040ae68
Merge branch 'soon' into staging
2019-04-12 18:24:45 +02:00
ansuz
bcb00ebfae
fix description of a bug fix in the changelog
2019-04-12 17:41:46 +02:00
ansuz
24c4029922
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-04-12 17:24:36 +02:00
ansuz
47cb776d6c
write changelog for v2.20.0
2019-04-12 17:19:19 +02:00
ansuz
1853566b1a
serve datastore over the webserver in the example nginx config
2019-04-12 17:17:54 +02:00
ansuz
5b0380863e
update example config
2019-04-12 17:17:10 +02:00
ansuz
c3d52e87b9
use configured paths in scripts instead of hardcoded strings
2019-04-12 17:16:32 +02:00
ansuz
36637c4a7f
leave a quick note about an error
2019-04-12 16:54:59 +02:00
ansuz
dde28dfa02
reorder logLevel priority
2019-04-11 11:23:22 +02:00
ansuz
f9eb1fde67
oops
2019-04-11 10:54:00 +02:00
ansuz
11eb566158
don't crash the server if one line of a pin log is invalid
2019-04-11 10:41:07 +02:00
ansuz
e17bad7fb7
use configured pinPath and handle errors when checking pin status
2019-04-11 10:27:52 +02:00
ansuz
6d015a2b9f
remember this uncommitted change
2019-04-09 15:10:15 +02:00
ansuz
0e59bac008
bump chainpad-server version
2019-04-09 15:08:52 +02:00
ansuz
0bd14bfcbe
fix logging to stdout and document logging configuration
2019-04-09 14:29:02 +02:00
ansuz
b3e0f9e886
fix use before definition
2019-04-09 11:57:33 +02:00
ansuz
8c757019e2
work around adblock plus removing our self-hosted twitter icon
2019-04-09 11:50:13 +02:00
ansuz
4e9273f35c
improved logger behaviour and updated default configuration
2019-04-09 11:40:51 +02:00
ansuz
b8aa962315
bump version to 2.20.0
2019-04-08 18:41:50 +02:00
ansuz
9d94dac07e
drop support for 'logRPC'
2019-04-08 18:40:03 +02:00
ansuz
78749456d6
more notes for later
2019-04-08 18:39:45 +02:00
ansuz
253545636b
add a note to fix some weird behaviour in storage/file
2019-04-08 18:18:48 +02:00
ansuz
82ac874ff3
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-04-08 18:11:50 +02:00
ansuz
e1e6d51038
new logging api
2019-04-08 18:11:36 +02:00
ansuz
3d8c6dfc7d
lint compliance
2019-04-01 16:41:13 +02:00
ansuz
dd6767e267
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-04-01 16:35:58 +02:00
ansuz
4566bf4ed8
drop support for various serverside config points
2019-04-01 12:09:11 +02:00
ansuz
fc43c08baf
un-break all the imports in tasks.js
2019-03-29 16:55:45 +01:00
ansuz
51fae45cce
add notes re: logging and cold storage
2019-03-29 14:57:53 +01:00
ansuz
0a1971cfee
improved support for nested data directories
2019-03-29 14:40:44 +01:00
ansuz
babb91686d
ignore custom configs
2019-03-29 14:00:18 +01:00
ansuz
f6ba0b266d
support nested data directories
2019-03-29 13:59:22 +01:00
ansuz
0fdd6bfb94
add a bunch of notes
2019-03-29 13:45:54 +01:00
ansuz
a745fa1b71
mkdirp config
2019-03-28 18:02:34 +01:00
ansuz
96e25c13db
Merge branch 'soon' into staging
2019-03-28 17:59:55 +01:00
ansuz
de9e2cccfc
account for moved config.js throughout the rest of container-start.sh
2019-03-28 17:55:23 +01:00
ansuz
fe028a5d0c
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-03-28 17:35:36 +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
10e162e7e3
fix path to TestSelenium.js in runtests.js
2019-03-28 17:20:56 +01:00
ansuz
7f4fd02a83
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-03-28 17:18:12 +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
ansuz
64c9438734
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
2019-03-28 17:10:45 +01:00
ansuz
5fbfeb1ccd
move test script into the scripts directory
2019-03-28 17:10:37 +01:00
ansuz
94d54c0f1a
revert brave detection as it doesn't work
2019-03-27 17:47:30 +01:00
ansuz
0ae6ce43f2
disable flow
2019-03-27 17:16:05 +01:00