Commit Graph
100 Commits
Author SHA1 Message Date
ansuz a3a7bcbe35 add comments for lots of functions 2019-08-21 12:15:27 +02:00
ansuz d6d7f4f601 include the size of the metadata log in the computed size of a channel 2019-08-21 12:14:49 +02:00
ansuz 2aebadcff3 use the correct path for channel data when restoring logs from the archive 2019-08-21 12:13:39 +02:00
ansuz 238d547a46 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-08-20 17:37:43 +02:00
ansuz 50a6479854 merge latest staging into editable metadata 2019-08-20 17:32:46 +02:00
ansuz 1521220560 fix loading screen spinner color to match CryptPad icon 2019-08-19 17:32:37 +02:00
ansuz aedc92362a update chainpad-listmap dependency version 2019-08-19 15:25:42 +02:00
ansuz a368948fb6 handle errors when converting folders to shared folders 2019-08-19 12:06:06 +02:00
ansuz 7d583975b8 fix a few things, add comments for others 2019-08-19 11:56:52 +02:00
ansuz 5dacc6ceeb Merge branch 'soon' into staging 2019-08-16 17:39:54 +02:00
ansuz 04feef793b resolve merge conflicts 2019-08-16 17:39:22 +02:00
ansuz 1c55ac15d5 Merge branch 'staging' into editable-metadata 2019-08-16 16:43:42 +02:00
ansuz dc65213130 Merge branch 'merge-plainTextFiles' into staging 2019-08-16 16:02:53 +02:00
ansuz bf3e638adc resolve merge conflicts, lint compliance 2019-08-16 16:02:10 +02:00
ansuz 6a5ab1ff87 update 'isNewChannel' 2019-08-14 17:34:08 +02:00
ansuz 9498669ffe remove some stale comments 2019-08-14 17:32:30 +02:00
ansuz 1e2a6405d0 make validation of channel options more strict in GET_HISTORY 2019-08-14 17:10:40 +02:00
ansuz 79e5edbdfe identify classic metadata messages by the presence of a channel attribute 2019-08-14 17:05:18 +02:00
ansuz 1c89e8d6ac A few updates for editable metadata
* add and update many comments
* correctly handle metadata for young channels and range requests
* add a simple implementation of 'writeMetadata'
2019-08-14 14:37:54 +02:00
ansuz f5c318f155 Merge branch 'staging' into editable-metadata 2019-08-13 15:30:11 +02:00
ansuz b7c75ea2d4 Merge branch 'staging' into editable-metadata 2019-08-13 11:05:55 +02:00
ansuz 1d13264a0d WIP minor amendments and notes for editable metadata 2019-08-13 11:04:31 +02:00
ansuz 1fb2a0976c improve readability with 'readMore' to describe what the callback does 2019-08-13 11:02:42 +02:00
ansuz ce847700c4 expose the index of the metadata log processor 2019-08-12 15:26:23 +02:00
ansuz 206de52ee8 call back from writeMetadata 2019-08-12 15:25:37 +02:00
ansuz abe654f565 many more comments. cache metadata even in the event of a metadata stream error 2019-07-23 13:59:12 +02:00
ansuz bf058d8042 prevent multiple callbacks when reading dedicated metadata 2019-07-23 13:56:37 +02:00
ansuz 9f959eccea Merge branch 'staging' into editable-metadata 2019-07-23 11:34:57 +02:00
ansuz 8644784b03 identify a false positive for IS_NEW_CHANNEL rpc 2019-07-23 11:34:23 +02:00
ansuz 9646cbf5db tune up metadata retrieval and caching in historyKeeper/computeIndex 2019-07-23 11:33:59 +02:00
ansuz 754da8b14f add a warning to 'getHash' in historyKeeper 2019-07-23 11:27:49 +02:00
ansuz 54c2a61cd0 update some variable names to better reflect usage 2019-07-22 15:42:29 +02:00
ansuz 9a178f35ae add a few more comments and standardize an inline regexp 2019-07-22 15:36:37 +02:00
ansuz ddb1b7b019 add a bunch of comments to the historyKeeper 2019-07-22 15:34:36 +02:00
ansuz f2a7f8b7bc add some comments and rename some misleading variables 2019-07-18 12:16:53 +02:00
ansuz 234fdc12b1 Merge branch 'staging' into editable-metadata 2019-07-18 11:57:59 +02:00
ansuz 29a4035b79 make a note about a small problem 2019-07-18 11:57:21 +02:00
ansuz 14add53f99 Merge branch 'soon' into staging 2019-07-17 14:50:47 +02:00
ansuz 646d8e7341 add some comments to common-hash for new APIs 2019-07-17 14:50:22 +02:00
ansuz 0b17df3302 add missing header to CHANGELOG 2019-07-17 14:24:40 +02:00
ansuz 0b36286fc8 2.25.0 changelog update 2019-07-17 14:16:19 +02:00
ansuz c42b572948 add a comment to the config file about the support keys 2019-07-17 14:16:06 +02:00
ansuz 7ca37d8cea Merge branch 'soon' into staging 2019-07-16 11:31:17 +02:00
ansuz 181f848eb9 Merge branch 'master' of github.com:xwiki-labs/cryptpad 2019-07-16 11:30:55 +02:00
ansuz 5d4fba04dd update lodash versions 2019-07-16 11:17:12 +02:00
ansuz 8193a1997c handle files without extensions when importing into the code editor 2019-07-13 10:25:22 +02:00
ansuz b149d6e139 Merge branch 'soon' into staging 2019-07-11 10:28:20 +02:00
ansuz b1f0ca3664 update jshint 2019-07-11 10:27:08 +02:00
ansuz 1143ee3974 fix typeError when subscribing to mailboxes from the profile page 2019-07-11 09:55:54 +02:00
ansuz 677a1594a5 wrap long lines in the support page 2019-07-10 10:25:40 +02:00
ansuz 5f5cd1e045 oups, add a missing closing brace 2019-07-08 12:12:42 +02:00
ansuz 0dee1143ba Merge branch 'master' of github.com:xwiki-labs/cryptpad 2019-07-08 12:11:08 +02:00
ansuz 8be6c84e2f guard against null elements in the drive 2019-07-08 12:10:57 +02:00
ansuz 92dda92a00 very WIP update to serve accumulated metadata updates 2019-07-04 11:04:28 +02:00
ansuz 6c907dbc32 add more specific comments 2019-06-27 18:22:06 +02:00
ansuz b36f50f2c9 update metadata queries to include edits 2019-06-27 18:21:12 +02:00
ansuz efd0efede4 implement RESET_OWNERS command for editable metadata 2019-06-27 12:13:29 +02:00
ansuz 7b18bf91ce implement functions for iterating over metadata logs 2019-06-27 11:11:22 +02:00
ansuz b128b7f02c updated methods for working with editable metadata 2019-06-26 17:55:36 +02:00
ansuz c42a79991c Merge branch 'soon' into staging 2019-06-25 16:51:18 +02:00
ansuz fd43da2dbf archive and restore metadata logs and channel logs together 2019-06-25 16:38:29 +02:00
ansuz a16d7171ad add some more notes 2019-06-25 16:31:21 +02:00
ansuz 0668abf68c correct the regular expression for iterating over channels 2019-06-25 15:42:10 +02:00
ansuz fc9aaf0ecb remove unnecessary argument from channelExists
also add some notes
2019-06-25 15:41:20 +02:00
ansuz 3513e437b6 update atime when accessing files 2019-06-25 15:38:56 +02:00
ansuz 46cd796db5 label code that will need to change for editable metadata 2019-06-25 13:43:15 +02:00
ansuz 60673103ad don't require the same thing twice 2019-06-25 11:25:44 +02:00
ansuz 4b8a8fbe5f add mkAsync function 2019-06-25 11:13:03 +02:00
ansuz 33f7dc3a36 Merge branch 'soon' into staging 2019-06-21 15:54:16 +02:00
ansuz 0d3f8ab9e7 update CHANGELOG for Yak release (2.24.0) 2019-06-21 15:48:56 +02:00
ansuz ff22af3343 do some things with docker which I don't really understand 2019-06-20 12:15:02 +02:00
ansuz c199a9a3e7 enable migration#9 for new friends 2019-06-20 12:00:50 +02:00
ansuz 448c5a9ed4 change an XXX to a comment 2019-06-20 11:59:45 +02:00
ansuz c59f25d7f6 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-06-20 11:54:49 +02:00
ansuz cb6c7cc4b5 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-06-20 11:54:07 +02:00
ansuz 37dfeb1ad6 remove an XXX since it's not actually a problem 2019-06-20 11:51:14 +02:00
ansuz 85871ead2e update version 2019-06-20 11:16:36 +02:00
ansuz 31e03558d8 update about page 2019-06-20 11:14:33 +02:00
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