Commit Graph

133 Commits

Author SHA1 Message Date
ansuz 6ada5fd751 always consider premium accounts to be active 2020-09-29 18:48:23 +05:30
ansuz 5358fab615 more WIP inactive account eviction 2020-09-29 18:04:51 +05:30
ansuz e6f1ed6349 simplify inactive account removal in evict-inactive.js 2020-09-28 17:48:58 +05:30
ansuz d794e0b48f include inactive accounts in the archival script 2020-09-24 19:02:22 +05:30
Francisco J. Solis-Munoz 7b9fa59681 Migration script was not correct 2020-09-23 17:39:35 -05:00
ansuz 131b985902 update expire-channels.js use of file storage to accomodate an API change 2020-06-24 10:20:32 -04:00
ansuz f6c6ad8863 test that GET_HISTORY with a lastKnownHash includes the message with the specified hash 2020-06-16 04:13:32 -04:00
ansuz c9846e532b compare live blob activity against 'inactiveTime' instead of 'retentionTime' which is intended for archived content expiration 2020-05-04 15:40:51 -04:00
ansuz 95965c1dee keep a parallel implementation of the pin loader to validate the new one 2020-04-07 20:03:41 -04:00
ansuz ed5d97f899 WIP history-keeper fixes 2020-04-01 11:48:16 -04:00
ansuz ad118222d0 add a new test to send a stream of data to a mailbox 2020-03-30 18:27:57 -04:00
ansuz e128683ffb call back with errors instead of throwing within the Storage module 2020-03-24 13:31:03 -04:00
ansuz 45601068ae lint compliance 2020-03-10 09:19:35 -04:00
ansuz b9a07ca650 diagnose some unhandled errors in rpc tests 2020-03-09 18:18:26 -04:00
ansuz ccd6e1d6df lint compliance, simplify a test condition 2020-03-04 09:59:43 -05:00
ansuz ce6cf6f727 revert some changes that couldn't have possibly worked 2020-03-04 09:59:17 -05:00
ansuz 50b9c27dcb finalize one more test 2020-03-03 16:03:31 -05:00
ansuz 8fbb32c5d7 add a few more checks to the rpc tests 2020-03-03 16:00:39 -05:00
ansuz 170aa6d47e clean up a few tasks related to allow lists 2020-03-03 15:52:49 -05:00
ansuz 03ff9bd0d7 start deprecating usage of myDomain 2020-02-28 11:45:41 -05:00
ansuz 505e383f9f test restricted access from the command line 2020-02-18 16:06:06 -05:00
ansuz d9ab8d3f62 lint compliance 2020-02-14 16:48:14 -05:00
ansuz 725d10fc60 nest storage directory inside './lib' 2020-02-14 16:29:30 -05:00
ansuz 65f88617cf add support for an optional handler for each pin log
great for analyzing which files are most in need of optimization
2020-02-13 18:16:32 -05:00
ansuz 3dc789cbca replace pinned.js with low-profile streaming implementation 2020-02-13 17:46:10 -05:00
ansuz 2345323f0d lint compliance 2020-02-13 17:40:55 -05:00
ansuz 2d6626234b yet another async scheduler, this time supporting flexible runtime control flow based on declarative priority levels 2020-02-13 16:44:11 -05:00
ansuz 57be324850 remove some XXX notes 2020-02-10 10:01:02 -05:00
ansuz 86b9cc2de1 accidentally merge uncommitted work with staging, resolve merge conflicts 2020-02-10 08:05:43 -05:00
ansuz 342aea705a not about a history-keeper anti-pattern 2020-02-05 18:06:18 -05:00
ansuz d17e180420 add a short delay in the rpc test to give the server time to write metadata to the disk before checking it 2020-02-05 13:41:46 -05:00
ansuz c388641479 drop support for 'retainData' configuration 2020-01-23 15:13:19 -05:00
ansuz a0f1680e85 Merge branch 'staging' into trim-history 2020-01-23 12:49:34 -05:00
ansuz e6d5b0886e evict unpinned blobs and blob proofs 2020-01-20 15:54:15 -05:00
ansuz 6a52b97cd8 Merge branch 'staging' into trim-history 2020-01-15 15:46:35 -05:00
ansuz 7072fe4fa4 implement and test a complex constrained scheduler 2020-01-15 13:32:52 -05:00
ansuz b5b3e99e56 use correct function signature for Pinned.load 2020-01-10 12:29:57 -05:00
yflory d5c4285c61 lint compliance 2019-10-03 16:36:04 +02:00
ansuz c46e7f4021 log the time it takes to load pins and to run the eviction script 2019-10-01 12:17:01 +02:00
ansuz 2a809cf120 roster changes:
* validate that a user can add a role before adding them
* support deletion of non-required metadata attributes via null
2019-09-30 15:35:27 +02:00
ansuz 8761e2071a test many more features of roster.js via rpc tests 2019-09-30 14:57:15 +02:00
ansuz 648980ad50 a few more slow nacl imports that I missed 2019-09-27 13:32:57 +02:00
ansuz 069776e804 use fast implementations of tweetnacl serverside 2019-09-27 13:30:17 +02:00
ansuz 55f19b998f downgrade an XXX to a FIXME 2019-09-23 11:18:34 +02:00
ansuz 8326b8b270 disable automatic blob expiration since we can't quite rely on atime as an inactivity metric 2019-09-23 10:56:38 +02:00
ansuz 7230ee71a8 fix json.sortify in browser contexts. lint compliance 2019-09-18 16:31:23 +02:00
ansuz 4269cb1ec7 fixed a few roster bugs 2019-09-18 16:27:01 +02:00
ansuz 073543fe3d more WIP for roster 2019-09-18 15:04:08 +02:00
ansuz cc4ea50ef6 comment out dead code 2019-09-17 18:46:24 +02:00
ansuz 922d7a247b use latest Team Crypto methods 2019-09-17 17:44:22 +02:00
ansuz 5fe1627488 integrate roster test usage into rpc 2019-09-17 11:32:47 +02:00
ansuz c17a28cced WIP roster definition 2019-09-11 15:41:50 +02:00
ansuz 532ba9b9fd update XXX comments which are no longer valid or can wait 2019-09-10 10:29:08 +02:00
ansuz ecfac9e7b3 test usage of multiple rpc sessions with the same network 2019-09-06 15:18:55 +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 d81ff791ad WIP cli tests for rpc 2019-09-05 18:01:21 +02:00
ansuz ba18d5c79d WIP CLI client 2019-09-03 16:36:27 +02:00
ansuz a291486e3a remove deprecated scripts 2019-08-30 16:21:28 +02:00
yflory 91b2b8a77d Remove console.log 2019-07-02 18:32:25 +02:00
yflory 93b4dac8bb Support mailbox in the support and admin apps 2019-06-27 17:08:23 +02:00
yflory 22c9af6961 Support page 2019-06-25 16:39:15 +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 13738abc03 remove an incorrect comment 2019-06-14 11:37:34 +02:00
ansuz ac3a58cc38 fix a deadlock by returning the lock after clearing ephemeral channels 2019-06-13 15:03:36 +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 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 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 7b55df5931 rewrite task execution as API instead of a script 2019-04-23 13:26:45 +02:00
ansuz 5a8cd61600 add support for non-standard paths in pinneddata.js 2019-04-17 16:31:35 +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 c3d52e87b9 use configured paths in scripts instead of hardcoded strings 2019-04-12 17:16:32 +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
yflory 0870a0651f Move the various scripts into a dedicated folder 2019-04-08 16:31:36 +02:00
ansuz 10e162e7e3 fix path to TestSelenium.js in runtests.js 2019-03-28 17:20:56 +01:00
ansuz 5fbfeb1ccd move test script into the scripts directory 2019-03-28 17:10:37 +01:00