Bruno Windels
|
c7b47bb8d6
|
fix homeServer misspelling to homeserver across the project
|
2021-08-23 19:26:39 +02:00 |
|
Bruno Windels
|
3a5b7c1d0e
|
support well-known lookup
|
2021-08-23 18:47:36 +02:00 |
|
Bruno Windels
|
577c3168e6
|
make queryLogin abortable
|
2021-08-23 15:54:06 +02:00 |
|
RMidhunSuresh
|
c9fbafb909
|
Also check LoadStatus.Error
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-23 15:12:40 +05:30 |
|
RMidhunSuresh
|
c650b35831
|
resetStatus from within startLogin
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 20:05:36 +05:30 |
|
RMidhunSuresh
|
bdc860eb79
|
Refactor to pull loadvm into login vm
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-20 15:19:42 +05:30 |
|
RMidhunSuresh
|
3af2ae3bdd
|
make method private
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-19 20:50:00 +05:30 |
|
RMidhunSuresh
|
83f4095d88
|
rename queryLogin to getLoginFlows
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:05:15 +05:30 |
|
RMidhunSuresh
|
7b9ec5516a
|
Move normalizeHomeserver into session container
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
4b72b64a2e
|
Implement SSOLoginHelper
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
3fa955e594
|
Parse token/sso login in loginOptions
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
0af27fc8dd
|
Move normalizeHomeserver to LoginViewModel
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:33 +05:30 |
|
RMidhunSuresh
|
f3946fcdf3
|
Pass log as argument
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
730a6b2d0a
|
Move files to separate directory
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
a53e29767f
|
Rewrite password login to use PasswordLoginMethod
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:04 +05:30 |
|
RMidhunSuresh
|
e0fcec9102
|
Add method to query login types
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-08-18 22:04:02 +05:30 |
|
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 |
|