Bruno Windels
ab2f15b5a2
prevent cache hiding better keys in storage (+ tests)
2021-10-25 19:17:13 +02:00
Bruno Windels
3c2604b384
test that sessions get free'd correctly
2021-10-25 17:33:33 +02:00
Bruno Windels
12b5bd3a4f
Merge pull request #553 from moritzdietz/moritzdietz/update-faq
...
Update FAQ: Add note about published builds
2021-10-25 17:21:27 +02:00
Bruno Windels
74e8bc3bda
write unit tests
2021-10-25 17:19:48 +02:00
Bruno Windels
6bbce06d93
start writing tests for key loader
2021-10-22 19:01:20 +02:00
Bruno Windels
22361bdf42
don't need to dispose room keys anymore, they are owned by the loader
2021-10-22 18:08:09 +02:00
Bruno Windels
076f450ec7
this can be const
2021-10-22 18:01:26 +02:00
Bruno Windels
6d8ec69a4d
fix lint
2021-10-22 18:01:17 +02:00
Bruno Windels
b7e3a54e15
remove now usused code
2021-10-22 17:51:00 +02:00
Bruno Windels
2943cb525f
add comment about possible future optimization
2021-10-22 17:50:45 +02:00
Bruno Windels
1278288a42
cleanup RoomKey to changes and better naming
2021-10-22 17:50:30 +02:00
Bruno Windels
66a93ee108
adapt Session and RoomEncryption to megolm/Decryption API changes
2021-10-22 17:48:53 +02:00
Bruno Windels
ac23119838
convert SessionDecryption to TS and adapt to use KeyLoader
2021-10-22 17:48:35 +02:00
Bruno Windels
b55930f084
convert ReplayDetectionEntry to typescript
2021-10-22 17:47:29 +02:00
Bruno Windels
d6e243321b
convert megolm/Decryption to typescript and adapt to KeyLoader
2021-10-22 17:46:39 +02:00
Bruno Windels
2ddb3fbf72
cleanup
2021-10-22 17:45:55 +02:00
Bruno Windels
45dc2162dc
fix unit tests
2021-10-22 17:30:20 +02:00
Bruno Windels
77d10c93d6
convert groupby and megolm decryption utils to typescript
2021-10-21 14:40:51 +02:00
Bruno Windels
66a77519d7
implement key caching in KeyLoader
...
merging session cache into it so we can better manage and recycle
keys without exposing too low-level public methods on BaseLRUCache.
Using refCount instead of inUse flag as a key can of course be used
by multiple useKey calls at the same time.
2021-10-21 11:12:54 +02:00
Bruno Windels
3bafc89855
remove unused draft code
2021-10-20 15:25:11 +02:00
Bruno Windels
4fa285e85a
convert LRUCache to ts
2021-10-20 15:24:58 +02:00
Bruno Windels
041cedbc58
fix typescript extension change
2021-10-20 15:24:39 +02:00
Bruno Windels
cbf82fcd29
cleanup code so far
2021-10-20 15:14:17 +02:00
Bruno Windels
5dc0c8c0b3
make 'better' better
2021-10-20 13:38:54 +02:00
Moritz Dietz
c83f78044e
Update FAQ to highlight about the existence of published builds
2021-10-20 12:46:37 +02:00
Bruno Windels
d7407ecf66
WIP
2021-10-20 11:39:01 +02:00
Bruno Windels
82aac93f36
Update SDK.md
2021-10-20 07:05:39 +00:00
Bruno Windels
c92d6ecbb6
Merge pull request #549 from danger89/patch-1
...
Add HTML title & icon
2021-10-08 10:39:08 +02:00
Melroy van den Berg
a20fe2b5a6
Add HTML title & icon
...
Add missing HTML title and icon
2021-10-06 20:38:39 +02:00
Danila Fedorin
3d2c74a760
Add type annotations to SortedArray
2021-10-03 22:19:46 -07:00
Danila Fedorin
7b2e452cd5
Rename SortedArray to TypeScript
2021-10-03 22:19:46 -07:00
Danila Fedorin
1363af24a7
Add type annotations to MappedList
2021-10-03 22:19:46 -07:00
Danila Fedorin
84187ce109
Make updater optional in BaseObservableList
2021-10-03 22:19:44 -07:00
Danila Fedorin
0466b49520
Rename MappedList to TypeScript
2021-10-03 22:18:12 -07:00
Danila Fedorin
3b131f2db6
Add type annotations to ConcatList
2021-10-03 22:18:12 -07:00
Danila Fedorin
588da9b719
Relax types on BaseObservableList and add helper for tests
2021-10-03 22:18:12 -07:00
Danila Fedorin
ddca467e30
Rename ConcatList to TypeScript
2021-10-03 22:18:12 -07:00
Danila Fedorin
8466a910da
Add type annotations to AsyncMappedList
2021-10-03 22:18:12 -07:00
Danila Fedorin
0e6c59983f
Generalize BaseMappedList to allow mappers to promises
2021-10-03 22:18:10 -07:00
Danila Fedorin
e6de873b6e
Rename AsyncMappedList to TypeScript
2021-10-03 22:16:46 -07:00
Danila Fedorin
b148f3ca9e
Add type annotations to ObservableArray
2021-10-03 22:16:46 -07:00
Danila Fedorin
348a9c83f5
Rename ObservableArray to TypeScript
2021-10-03 22:16:46 -07:00
Bruno Windels
6517704850
Merge pull request #545 from vector-im/bwindels/fixbuild
...
the build currently does not like override for some reason
2021-10-01 14:09:07 +02:00
Bruno Windels
cc58d27122
the build currently does not like override for some reason
2021-10-01 14:07:58 +02:00
Bruno Windels
39d5073f49
remove user and password
2021-10-01 13:37:37 +02:00
Bruno Windels
191cb78d8f
Merge pull request #544 from vector-im/bwindels/sdk-export
...
Provide very basic SDK interface
2021-10-01 13:33:13 +02:00
Bruno Windels
fbfda03138
don't let tsc check build system specific files
2021-10-01 13:32:09 +02:00
Bruno Windels
23da4ae2dd
point to SDK docs from FAQ
2021-10-01 13:27:58 +02:00
Bruno Windels
675ee59e50
Add instructions and example code for basic SDK usage
2021-10-01 13:26:14 +02:00
Bruno Windels
193a0e1a4f
move UI docs to doc folder
2021-10-01 13:26:03 +02:00