ff1db2b538
Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule ( #4680 )
...
* Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule
* Re-lint after merge
2025-02-05 12:15:20 +00:00
88d066a10c
Fix reemitter not being correctly wired on user objects created in storage classes ( #3796 )
...
* Fix issue
* Fix jest test
* Fix even more jest failures
* Fix formatting
* Add a test
* Write test for older code
* Fix lint
* Rename method
* Make ctor deprecated
2023-10-27 07:00:13 +00:00
b186d79dde
Fix jest/valid-expects lints ( #3586 )
2023-07-12 17:11:52 +00:00
789458e0d4
Add methods to terminate idb worker ( #3362 )
2023-05-16 16:05:55 +01:00
5fc6b3ed17
Fire closed
event when IndexedDB closes unexpectedly ( #3218 )
...
* Fire `closed` event when IndexedDB closes unexpectedly
* Add test
* Add tests
* Add test
* Add test
* Add test coverage
2023-03-31 08:46:11 +00:00
9a504af18e
Changes for v24.0.0
2023-03-28 11:22:02 +01:00
b2a10e6db3
Support MSC3391: Account data deletion ( #2967 )
...
* add deleteAccountData endpoint
* check server support and test
* test current state of memorystore
* interpret account data events with empty content as deleted
* add handling for (future) stable version of endpoint
* add getSafeUserId
* user getSafeUserId in deleteAccountData
* better jsdoc for throws documentation
2022-12-14 04:14:21 +00:00
349c2c2587
Apply prettier formatting
2022-12-09 09:38:20 +01:00
12a4d2a749
Make more of the code conform to Strict TSC ( #2756 )
2022-10-14 15:57:08 +01:00
887e15aac5
Fix IDB initial migration handling causing spurious lazy loading upgrade loops ( #2718 )
2022-09-30 10:41:04 +00:00
b9ca3ceacd
Remove unused sessionStore ( #2455 )
...
* Remove unused sessionStorage layer
* Move pending event abstraction into its temporary home
* Add test coverage
* Tweak
* Fix tests mocks
* Add coverage
* Add coverage
2022-06-14 21:29:21 +01:00
60d665e866
Fix degraded mode for the IDBStore and test it ( #2400 )
...
* Add tests around IDB degraded mode
* Fix wrong `this` reference in idb degraded mode store
2022-05-25 07:02:14 +01:00