Commit Graph
100 Commits
Author SHA1 Message Date
ansuz 340a290ceb add names for batched reads for debugging 2019-09-06 14:58:00 +02:00
ansuz a7e40040a1 log unauthenticated RPC calls as silly 2019-09-06 14:36:22 +02:00
ansuz d375ee8107 fix some reference errors that weren't triggered unless disconnected 2019-09-06 14:08:25 +02:00
ansuz ee3ac1cd56 drop unnecessary lint compliance 2019-09-06 13:36:59 +02:00
ansuz fe884278f4 ignore non-interesting errors when processing metadata 2019-09-06 13:36:06 +02:00
ansuz dc078c1ca1 test mailboxes and RPCs from the command line, fix some minor errors 2019-09-06 13:35:36 +02:00
ansuz 75b655e1e8 refactor rpc with support for multiple authenticated sessions 2019-09-06 10:30:13 +02:00
ansuz 53142c91e7 fix broken requirejs support for common-hash 2019-09-05 18:02:00 +02:00
ansuz d81ff791ad WIP cli tests for rpc 2019-09-05 18:01:21 +02:00
ansuz 023c29795a update grep-able comments in rpc 2019-09-05 15:48:13 +02:00
ansuz 65b0112dcb batch concurrent requests for expensive IO and computations 2019-09-05 15:40:17 +02:00
ansuz ed82936610 add nodejs support to common-hash 2019-09-05 15:28:20 +02:00
ansuz 096b0fb44a move 'getDefaultName' out of 'common-hash' 2019-09-05 12:22:30 +02:00
ansuz d7906f9132 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-09-04 17:22:14 +02:00
ansuz 9ce7cea9cc abstract historyKeeper's batched reads implementation into a library 2019-09-04 17:22:06 +02:00
ansuz ec2b5dd01f remove dead code 2019-09-04 14:42:59 +02:00
ansuz 8a0292d067 fix confusing variable naming 2019-09-04 14:40:30 +02:00
ansuz 702c9a2fb2 drop chechChannelIntegrity API 2019-09-04 14:38:44 +02:00
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 4902554a61 implement per-channel fifo queues for metadata and channel writes 2019-09-04 11:51:33 +02:00
ansuz 41c86bb6bc Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-09-04 11:19:47 +02:00
ansuz 12dd647a46 lint compliance 2019-09-04 11:13:17 +02:00
ansuz 8d036ba73a add date when initializing metadata 2019-09-03 18:34:10 +02:00
ansuz 9a9b75674b don't send WRITE_PRIVATE_MESSAGE from historyKeeper 2019-09-03 18:29:28 +02:00
ansuz 082f367248 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-09-03 18:26:47 +02:00
ansuz cdb98ee27f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-09-03 18:08:11 +02:00
ansuz 83d0b1ad30 WIP clientside components of private mailbox messages 2019-09-03 17:53:12 +02:00
ansuz dfae2908eb fix typo that caused the RPC not to load 2019-09-03 17:41:22 +02:00
ansuz e636a4fa6e Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-09-03 17:25:14 +02:00
ansuz 70161dbd73 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into teams-server-features 2019-09-03 17:08:16 +02:00
ansuz 5079c78ddf serverside changes for WRITE_PRIVATE_MESSAGE rpc 2019-09-03 17:00:26 +02:00
ansuz ba18d5c79d WIP CLI client 2019-09-03 16:36:27 +02:00
ansuz 03bfb57051 add support for nodejs require in clientside util and rpc modules 2019-09-03 15:28:25 +02:00
ansuz 0abb4f222d Merge branch 'ownership' of github.com:xwiki-labs/cryptpad into origin/ownership 2019-09-02 17:25:12 +02:00
ansuz 31c6e7241e Merge branch 'soon' into staging 2019-09-02 15:25:20 +02:00
ansuz 4e5f6edac4 update version to 3.0.1 for a minor release 2019-09-02 11:58:43 +02:00
ansuz c2a6fe082f Merge branch 'soon' 2019-09-02 11:41:26 +02:00
ansuz 05908ac035 store the current time in all pin-log messages 2019-08-30 16:31:08 +02:00
ansuz a291486e3a remove deprecated scripts 2019-08-30 16:21:28 +02:00
ansuz ecdb1505e2 lint compliance 2019-08-30 16:09:38 +02:00
ansuz 1ab4fd7952 advise users against using their emails as their username 2019-08-30 16:05:04 +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 fcab0d4b6e deprecate common/curve.js in favour of the bower version 2019-08-30 14:41:47 +02:00
ansuz b59f03b949 consider changes to metadata logs as channel activity 2019-08-30 14:30:17 +02:00
ansuz 1b7d984d39 Merge branch 'soon' into staging 2019-08-30 11:57:46 +02:00
ansuz 166ab65cd4 update changelog 2019-08-29 13:22:06 +02:00
ansuz ebf41e93c0 Merge branch 'master' of github.com:xwiki-labs/cryptpad 2019-08-29 12:13:23 +02:00
ansuz 69d48146d5 Merge branch 'master' of github.com:xwiki-labs/cryptpad 2019-08-29 11:31:45 +02:00
ansuz 7d33e261f8 add pending CHANGELOG for v3.0.0 2019-08-28 16:56:58 +02:00
ansuz bf1332451f fix merge conflict 2019-08-27 17:54:31 +02:00
ansuz 113a362724 fix typo which causes ephemeral channels to be stored 2019-08-27 17:46:40 +02:00
ansuz 6fbfa2beea Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-08-27 17:08:35 +02:00
ansuz 1400fdbae0 pin to stable nthen version 2019-08-27 17:08:24 +02:00
ansuz 1241d17b43 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-08-27 11:38:16 +02:00
ansuz 459c2ba7e3 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-08-27 11:19:13 +02:00
ansuz d6c425fbfb Merge branch 'fix' into staging 2019-08-27 10:28:25 +02:00
ansuz eb6a7f9262 update footer and package.json version to 3.0.0 2019-08-27 10:28:08 +02:00
ansuz 5c7c54f607 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into fix 2019-08-26 18:48:21 +02:00
ansuz 0c9ccffdf3 Merge branch 'staging' into fix 2019-08-26 18:44:30 +02:00
ansuz 874093a126 push something that actually works 2019-08-26 18:42:20 +02:00
ansuz 52e5644234 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-08-26 18:39:29 +02:00
ansuz 9d40018da3 support cross-origin blobs 2019-08-26 18:39:23 +02:00
ansuz d6fc35cab4 mkdirp the path to metadata before writing 2019-08-26 17:44:21 +02:00
ansuz 8d102ea762 log more 2019-08-26 17:40:14 +02:00
ansuz c18018ca79 Merge branch 'staging' into fix 2019-08-26 17:22:30 +02:00
ansuz 57c5e664bb don't prompt users to upgrade to premium if subscriptions are disabled 2019-08-26 14:07:23 +02:00
ansuz 0ee41bbec6 Merge branch 'staging' into fix 2019-08-26 11:19:16 +02:00
ansuz 689886b9bf always store messages according to the order in which they were received 2019-08-23 13:12:58 +02:00
ansuz a34abd748e rename unclear variable name 2019-08-23 12:43:42 +02:00
ansuz 7642ee9584 log catastrophic errors in getIndex, clean up comments 2019-08-23 12:43:05 +02:00
ansuz 62c23a29a7 simplify validateKey validation 2019-08-23 12:28:17 +02:00
ansuz b82c0a420a merge latest staging 2019-08-22 18:01:20 +02:00
ansuz 84e1057153 address remaining notes in the storage api 2019-08-22 17:48:28 +02:00
ansuz 204f6b3af1 remove some comments 2019-08-22 17:01:58 +02:00
ansuz c9f569b109 optimize getIndex so identical indexes are never computed concurrently 2019-08-22 17:00:51 +02:00
ansuz 096c8eb2ba check that the user-supplied validateKey is actually before doing any more work 2019-08-22 16:59:46 +02:00
ansuz 71e44f46c7 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-08-22 14:52:38 +02:00
ansuz 337e0bd141 update the server's cache whenever we write metadata 2019-08-22 14:52:30 +02:00
ansuz 53f04d096d update the server's cache whenever we write metadata 2019-08-22 14:52:11 +02:00
ansuz 347b7a639b update XXX comment 2019-08-22 14:40:01 +02:00
ansuz a63bea1f59 remove invalid callback which would totally break channelBytes 2019-08-22 11:50:06 +02:00
ansuz 3c1aadd6c1 archive metadata even if there is no corresponding channel log 2019-08-22 11:49:43 +02:00
ansuz 55ea7f13fd fix invalid conditional which would block task scheduling 2019-08-22 11:49:02 +02:00
ansuz 338f967149 restructure onChannelMessage 2019-08-22 11:21:10 +02:00
ansuz 8af7308da4 set a default value and describe disableIntegratedTasks in the example config 2019-08-21 14:06:57 +02:00
ansuz c17938a8e3 cache the metadata to save a few lookups 2019-08-21 14:04:23 +02:00
ansuz c5de4164bc make sure getIndex is always async in historyKeeper 2019-08-21 13:49:39 +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
ansuz cdfbaf5ad9 write tasks along with metadata 2019-08-21 13:22:05 +02:00
ansuz 9623efd10b fix another non-standard instance of checking for metadata 2019-08-21 13:05:01 +02:00
ansuz b360d79a76 simplify 'isNewChannel' rpc 2019-08-21 12:54:24 +02:00
ansuz 7e13f7e3ca validate owners against amended metadata when removing channels 2019-08-21 12:46:45 +02:00
ansuz 31f7c4b90a validate owners against amended metadata when clearing channels 2019-08-21 12:45:19 +02:00
ansuz 8c92d3dc02 move metadata to the top of the file with all the other imports 2019-08-21 12:30:01 +02:00
ansuz c5ca82f0e1 throw errors if you try to update expiration times, as this isn't implemented yet 2019-08-21 12:28:19 +02:00
ansuz 0a0c64d240 only increment the metadata line index if you can parse the line 2019-08-21 12:26:46 +02:00
ansuz 1c37ec7aee prevent duplicated owners in metadata amendments 2019-08-21 12:25:17 +02:00
ansuz a3a7bcbe35 add comments for lots of functions 2019-08-21 12:15:27 +02:00