Bruno Windels
|
d414fb6b94
|
sync can also stop without an error
|
2021-04-09 19:50:22 +02:00 |
|
Bruno Windels
|
ba38ce7976
|
use canonical way of check error type
|
2021-04-09 16:30:53 +02:00 |
|
Bruno Windels
|
b852feeb9c
|
ConnectionError isn't throw from start, but sets sync.error
|
2021-04-09 16:28:14 +02:00 |
|
Bruno Windels
|
4b19e3c498
|
remove unused member
|
2021-04-09 16:27:25 +02:00 |
|
Bruno Windels
|
97030f7ef3
|
add https to homeserver if not already a valid url
|
2021-04-01 17:44:55 +02:00 |
|
Bruno Windels
|
630e61a674
|
support enabling/disabling push notifs on a session
|
2021-03-23 18:20:23 +01:00 |
|
Bruno Windels
|
5d55f6d78c
|
log app version when opening session
|
2021-03-15 16:55:14 +01:00 |
|
Bruno Windels
|
23b8ba7e54
|
unused var
|
2021-02-24 10:14:26 +01:00 |
|
Bruno Windels
|
86011b42e3
|
await the room log operations for login/load session
so the callee can await the operation
|
2021-02-24 09:58:50 +01:00 |
|
Bruno Windels
|
57bb75e864
|
log login & loading a session
|
2021-02-23 19:22:25 +01:00 |
|
Bruno Windels
|
704708bd6c
|
add some logging to sync
|
2021-02-12 18:56:26 +01:00 |
|
Bruno Windels
|
b8370d53b6
|
always throw here so we never get to Ready status when stopped
|
2020-11-05 21:22:29 +01:00 |
|
Bruno Windels
|
7d81306a49
|
return BufferHandles from the media repository
BufferHandles are platform specific handles to a buffer. On web,
they have a .blob and .url property.
|
2020-10-30 15:18:27 +01:00 |
|
Bruno Windels
|
3ed5ea8b0b
|
Merge branch 'master' into bwindels/decrypt-images
|
2020-10-26 17:08:29 +01:00 |
|
Bruno Windels
|
1a518cdd28
|
more refactor fixes
|
2020-10-26 16:31:30 +01:00 |
|
Bruno Windels
|
03351d2e1f
|
extract platform class to put all platform specific code in
|
2020-10-26 15:44:11 +01:00 |
|
Bruno Windels
|
3a6268f0c1
|
basic PoC of image decryption working
needs looooaaads of cleanup still
|
2020-10-23 17:25:11 +02:00 |
|
Bruno Windels
|
df72e829bf
|
setup session backup as part of start method, so we know we're online
also don't upload OTKs in case of existing account until
catchup sync has happened
|
2020-10-23 12:22:52 +02:00 |
|
Bruno Windels
|
927e8134d3
|
use url navigation in root view model
also track all view models as it is
important everything is properly disposed now
|
2020-10-09 17:03:38 +02:00 |
|
Bruno Windels
|
137f55b44d
|
manage request scheduler in session container
so we can start it before sync does its first request,
which otherwise gets aborted because the scheduler hasn't started yet
|
2020-09-22 16:39:41 +02:00 |
|
Bruno Windels
|
d7c25e3106
|
move MediaRepository out of HomeServerApi
so HomeServerApi becomes easier to wrap, only having methods
that return a RequestResult.
|
2020-09-22 13:40:38 +02:00 |
|
Bruno Windels
|
3704de1a26
|
more dispose
|
2020-09-18 13:11:10 +02:00 |
|
Bruno Windels
|
00eade1c16
|
add crypto driver with primitives needed for 4S & session backup
|
2020-09-17 10:19:09 +02:00 |
|
Bruno Windels
|
e0d9d703b7
|
offload olm account creation in worker
|
2020-09-11 10:43:17 +02:00 |
|
Bruno Windels
|
af36c71a59
|
load worker in main and pass paths so it works both on compiled and non-compiled
|
2020-09-10 18:41:23 +02:00 |
|
Bruno Windels
|
4c1aaaf416
|
show "setting up encryption keys..." step during login
|
2020-09-08 17:16:34 +02:00 |
|
Bruno Windels
|
dea9fd90b4
|
name devices at login "Hydrogen"
so you can somewhat identify them in a device list
|
2020-09-08 10:53:15 +02:00 |
|
Bruno Windels
|
7d517eb700
|
wire up the olm decryption,megolm room key handler and to_device handler
|
2020-09-02 14:30:18 +02:00 |
|
Bruno Windels
|
e751333bbd
|
don't assume setting up a session went all the way through when stopping
|
2020-08-28 13:58:42 +02:00 |
|
Bruno Windels
|
f98b3dd5fa
|
create/load olm account before first sync
|
2020-08-27 19:13:09 +02:00 |
|
Bruno Windels
|
fe0257bca1
|
load olm and pass it to session
|
2020-08-27 13:24:55 +02:00 |
|
Bruno Windels
|
9ff4f3839c
|
Merge branch 'master' into bwindels/memberlist
|
2020-08-19 12:13:38 +02:00 |
|
Bruno Windels
|
00a85697ab
|
add license header in all source files
|
2020-08-05 18:38:55 +02:00 |
|
Bruno Windels
|
f5d3092031
|
WIP
|
2020-06-26 23:26:24 +02:00 |
|
Bruno Windels
|
9712b397ce
|
add TODO comment
|
2020-05-26 10:31:23 +02:00 |
|
Bruno Windels
|
6b453c1ec4
|
we need to start when online actually, so invert
|
2020-05-07 18:46:45 +02:00 |
|
Bruno Windels
|
3adc609e07
|
implement session status bar, with feedback on connection status
|
2020-05-05 23:16:51 +02:00 |
|
Bruno Windels
|
1fa14a99e9
|
correctly wait for catchup sync
|
2020-05-04 19:38:23 +02:00 |
|
Bruno Windels
|
a19e541e1e
|
less http specific
|
2020-04-22 20:49:21 +02:00 |
|
Bruno Windels
|
3359c6950f
|
typo (this made the loadStatus undefined :/)
|
2020-04-22 20:49:03 +02:00 |
|
Bruno Windels
|
08b1c02af7
|
remove start value, can be hardcoded for now
also fix params in wrong order this way
|
2020-04-22 20:48:49 +02:00 |
|
Bruno Windels
|
f4983b5ba6
|
port SessionPickerViewModel to SessionContainer
|
2020-04-20 22:49:14 +02:00 |
|
Bruno Windels
|
bb7fca0592
|
support deleting the session from the container
|
2020-04-20 22:29:25 +02:00 |
|
Bruno Windels
|
001dbefbcf
|
stop using default exports
because it becomes hard to remember where you used them and where not
|
2020-04-20 21:26:39 +02:00 |
|
Bruno Windels
|
164d9d594f
|
finish implemenation of SessionContainer
|
2020-04-20 19:48:21 +02:00 |
|
Bruno Windels
|
72b0eefccb
|
replace isSyncing and emit with an Observable SyncStatus
|
2020-04-19 19:52:26 +02:00 |
|
Bruno Windels
|
8c56ac3e4f
|
rename NetworkError to ConnectionError
|
2020-04-19 19:05:12 +02:00 |
|
Bruno Windels
|
8c5411cb7d
|
moar WIP
|
2020-04-19 19:02:10 +02:00 |
|
Bruno Windels
|
1f15ca6498
|
more WIP
|
2020-04-18 19:16:16 +02:00 |
|
Bruno Windels
|
378b75c98a
|
more WIP and breakage
|
2020-04-09 23:19:49 +02:00 |
|