Commit graph

  • 163ca12854 ignore abort error Bruno Windels 2020-09-29 10:52:52 +0200
  • 919357b474 more broken imports after refactor Bruno Windels 2020-09-29 09:57:48 +0200
  • c529df179b also import this Bruno Windels 2020-09-29 09:56:46 +0200
  • c1ecaffbae fix refactor typo Bruno Windels 2020-09-29 09:54:51 +0200
  • 07fcf7e75b also do this in try catch Bruno Windels 2020-09-29 09:43:25 +0200
  • 4d23529b68 set promise polyfill before others Bruno Windels 2020-09-29 09:42:43 +0200
  • b1f9cfd972 cleanup storage errors a bit Bruno Windels 2020-09-29 09:17:03 +0200
  • ee4c132fb4 add todo Bruno Windels 2020-09-26 09:12:34 +0200
  • c68bafde54 prototype using await to see if it makes any difference Bruno Windels 2020-09-25 16:55:02 +0200
  • 76381fbca1 open storage transactions synchronously Bruno Windels 2020-09-25 16:42:41 +0200
  • d759e1429f set error before changing state to stopped Bruno Windels 2020-09-28 16:06:19 +0200
  • c6cb345e16 release v0.1.2 v0.1.2 Bruno Windels 2020-09-28 15:38:27 +0200
  • 3440823981
    Merge pull request #117 from vector-im/bwindels/idb-promises Bruno Windels 2020-09-28 13:37:34 +0000
  • 47dbc87e95 load promise first bwindels/idb-promises Bruno Windels 2020-09-28 15:34:10 +0200
  • bb58fa9b6c dont need this anymore Bruno Windels 2020-09-28 15:32:40 +0200
  • 18cc34c082 remove extra newlines Bruno Windels 2020-09-28 15:31:04 +0200
  • dd30f51ffe add copyright Bruno Windels 2020-09-28 15:28:51 +0200
  • 9cf24d910a properly install polyfill and remove logging Bruno Windels 2020-09-28 15:28:38 +0200
  • 6d003f9565 don't include corejs promise polyfill anymore Bruno Windels 2020-09-28 15:28:22 +0200
  • e3581c8260 use our fork of es6-promise with flush exposed as the promise polyfill Bruno Windels 2020-09-28 15:27:38 +0200
  • 8366b44d8c dont assume global is window Bruno Windels 2020-09-28 14:52:12 +0200
  • 98a6d82820 detect when sync promise hack is needed Bruno Windels 2020-09-28 14:51:41 +0200
  • 706ec97296 change method name Bruno Windels 2020-09-28 13:25:44 +0200
  • d300b64b26 check types with tsc for jsdoc bwindels/check-types Bruno Windels 2020-09-28 10:05:37 +0200
  • 9498524369 add flushing manually to prototype Bruno Windels 2020-09-25 16:53:56 +0200
  • 64290d5ae6 flush promises manually in idb event handler Bruno Windels 2020-09-25 16:53:19 +0200
  • becdf656a4 nicer error messages when decrypting with a worker Bruno Windels 2020-09-25 16:52:26 +0200
  • 624d341bc6 prototypes for idb and promises in older browsers Bruno Windels 2020-09-25 11:19:59 +0200
  • 255559460e
    Merge pull request #114 from vector-im/bwindels/handle-sync-timeout Bruno Windels 2020-09-25 08:48:26 +0000
  • 27a8ef4604 add comment how timeouts interact with the reconnector bwindels/handle-sync-timeout Bruno Windels 2020-09-25 10:45:41 +0200
  • e175e9ac8b cleanup Bruno Windels 2020-09-25 10:45:34 +0200
  • 134b04c782 make flushing room key shares reentrant Bruno Windels 2020-09-25 10:45:00 +0200
  • bcca23bac9 retry sync on timeout, even for incremental sync Bruno Windels 2020-09-25 10:44:29 +0200
  • 7f0d36cf79 remove double negation Bruno Windels 2020-09-25 10:44:19 +0200
  • a7ceabad37 release v0.1.1 v0.1.1 Bruno Windels 2020-09-24 16:47:44 +0200
  • 86df4993e1 prevent room summary from being updated every time it is in /sync resp Bruno Windels 2020-09-24 16:45:28 +0200
  • 46abafdccc ensure cloned is always set to false for this._data Bruno Windels 2020-09-24 16:40:51 +0200
  • b03cbc3ae9 release v0.1.0 v0.1.0 Bruno Windels 2020-09-24 11:18:18 +0200
  • ae2f9c6332 extract manifest out of build script and have both (non)-maskable icons Bruno Windels 2020-09-24 11:15:15 +0200
  • 4a0173e90f only run decryptPending if needed Bruno Windels 2020-09-24 10:52:56 +0200
  • 82cff84f92
    Merge pull request #108 from vector-im/bwindels/update-summary-on-retry-decrypt Bruno Windels 2020-09-24 08:51:30 +0000
  • 4d616ce281 add todo for future optimisation bwindels/update-summary-on-retry-decrypt Bruno Windels 2020-09-24 10:35:09 +0200
  • ece4840653 don't mark rooms as unread after retrying decryption for now Bruno Windels 2020-09-23 19:11:11 +0200
  • eb4237f6f4 tell caller if an update was done from summery.writeAndApplyData Bruno Windels 2020-09-23 19:10:25 +0200
  • 17f84ab314 fix "this" still being used in readRawTimelineEntries ... Bruno Windels 2020-09-23 19:09:44 +0200
  • 086bdafe9a no need for async Bruno Windels 2020-09-23 18:28:21 +0200
  • 7cad3b2bdb some tabs in here Bruno Windels 2020-09-23 18:22:51 +0200
  • 64f657e5a2 fix test Bruno Windels 2020-09-23 18:20:29 +0200
  • 6e77ebb160 undo obsolete changes Bruno Windels 2020-09-23 18:06:16 +0200
  • d53b5eefb3 fill in the blanks Bruno Windels 2020-09-23 17:59:42 +0200
  • 9d41e122a0 draft of falling back to reading entries since last decrypted event key Bruno Windels 2020-09-23 17:34:25 +0200
  • a8392dc684 also decrypt messages in the sync response that enabled encryption Bruno Windels 2020-09-23 14:26:14 +0200
  • 241176d6fb WIP Bruno Windels 2020-09-22 18:22:37 +0200
  • fe8c63b5f2
    Merge pull request #107 from vector-im/bwindels/rate-limiting-for-all Bruno Windels 2020-09-22 14:46:18 +0000
  • 137f55b44d manage request scheduler in session container bwindels/rate-limiting-for-all Bruno Windels 2020-09-22 16:39:41 +0200
  • 150f06b9bf also move to Stopped for aborts Bruno Windels 2020-09-22 16:39:04 +0200
  • 85b451ffa1 can't rename named params like this Bruno Windels 2020-09-22 15:49:43 +0200
  • 5660e0f4f0 rename send scheduler to request scheduler Bruno Windels 2020-09-22 13:49:01 +0200
  • 0a00d4c865 use hsApi wrapper that handles rate-limiting instead of send scheduler Bruno Windels 2020-09-22 13:43:18 +0200
  • d7c25e3106 move MediaRepository out of HomeServerApi Bruno Windels 2020-09-22 13:40:38 +0200
  • 6cd227b82d only prompt after waiting 10s for sync UTD Bruno Windels 2020-09-22 09:30:25 +0200
  • 0a83bf1176 more notes for legacy css marker Bruno Windels 2020-09-22 09:30:13 +0200
  • 3359d49161 off both passphrase and security key options Bruno Windels 2020-09-21 19:19:55 +0200
  • f84f06758c
    Merge pull request #105 from vector-im/bwindels/fix-otk-sync-race Bruno Windels 2020-09-21 16:04:30 +0000
  • e6a46874c4 wrap olm error for creating session in DecryptionError bwindels/fix-otk-sync-race Bruno Windels 2020-09-21 17:58:13 +0200
  • c9ee5a5db2 stay in catchup mode as long as there are device messages Bruno Windels 2020-09-21 17:57:01 +0200
  • 015c6b1c70 interpret unreported signed_curve25519 as 0 OTKs Bruno Windels 2020-09-21 17:56:23 +0200
  • 4dfbd3f3cd don't run afterSyncCompleted and next sync request in parallel Bruno Windels 2020-09-21 17:53:29 +0200
  • a86b25736c
    Merge pull request #104 from vector-im/bwindels/cantlogin Bruno Windels 2020-09-21 12:16:46 +0000
  • c7370d7b01 Use continue in for loop rather than return bwindels/cantlogin Bruno Windels 2020-09-21 14:11:28 +0200
  • 2c6a3a7ce7 fix afterSyncCompleted not being run after a sync error occurs Bruno Windels 2020-09-21 13:55:35 +0200
  • 79ac939c8f
    Merge pull request #103 from vector-im/bwindels/session-backup Bruno Windels 2020-09-21 11:53:35 +0000
  • 8cf29e344b don't send access token on /versions bwindels/session-backup Bruno Windels 2020-09-18 18:13:20 +0200
  • 1d33ab20a5 fix decrypted tiles not corresponding to a tile Bruno Windels 2020-09-18 13:36:16 +0200
  • 4d604f7357 log all sync errors Bruno Windels 2020-09-18 13:11:18 +0200
  • 3704de1a26 more dispose Bruno Windels 2020-09-18 13:11:10 +0200
  • da780d0aa2 delay backup 10s if missing session event came from sync Bruno Windels 2020-09-18 13:10:41 +0200
  • 3aead4eae2 createEnum does not take an array Bruno Windels 2020-09-18 13:08:35 +0200
  • ed913ca24b add dispose to room encryption Bruno Windels 2020-09-18 13:08:18 +0200
  • 6c46cc98de be more specific in error message Bruno Windels 2020-09-18 12:12:52 +0200
  • 2de406afa0 log secret storage error as well Bruno Windels 2020-09-18 12:12:19 +0200
  • cb32f4201e note for future cleanup Bruno Windels 2020-09-18 12:05:35 +0200
  • 9fd39ab57f aes-js doesn't work with ArrayBuffers Bruno Windels 2020-09-18 12:04:48 +0200
  • 36b56132b0 add TextEncoder/Decoder polyfill to legacy bundle Bruno Windels 2020-09-18 12:04:22 +0200
  • 6375574a56 show error Bruno Windels 2020-09-17 18:59:40 +0200
  • f58a3ee975 use olm from param Bruno Windels 2020-09-17 18:56:02 +0200
  • 7d6fcfafa8 pass olm, better naming, don't reuse var Bruno Windels 2020-09-17 18:55:39 +0200
  • 5b45c00322 switch to security key Bruno Windels 2020-09-17 18:55:28 +0200
  • ceac6008bc fix import Bruno Windels 2020-09-17 18:55:09 +0200
  • fe5b732c97 cleanup, better copy text Bruno Windels 2020-09-17 18:54:55 +0200
  • 494c5cbcf0 notify UI when we need session backup Bruno Windels 2020-09-17 18:00:00 +0200
  • 06ccd74680 this should be read-write, oops Bruno Windels 2020-09-17 17:59:35 +0200
  • 1b8e481559 keys from backup need to be imported with import_session, not create Bruno Windels 2020-09-17 17:59:02 +0200
  • 915925d6ee don't throw when trying to restore session from backup, check sender key Bruno Windels 2020-09-17 17:57:52 +0200
  • a205ae8841 fixes Bruno Windels 2020-09-17 17:57:12 +0200
  • 5752cca69c go back to bs58 and use other base64 decoder Bruno Windels 2020-09-17 17:55:35 +0200
  • 9d622434fb integrate session backup with session class Bruno Windels 2020-09-17 15:58:46 +0200
  • 3cebd17cbe adjust paths Bruno Windels 2020-09-17 15:17:46 +0200
  • c9d8d40242 move ssss out of e2ee dir as not really e2ee related Bruno Windels 2020-09-17 15:17:00 +0200
  • 33aa475e18 add function to create key from either passphrase or recovery key Bruno Windels 2020-09-17 15:16:01 +0200