Commit graph

1317 commits

Author SHA1 Message Date
Bruno Windels
8125173420
Merge pull request #174 from vector-im/bwindels/fix-offline-session-backup-init
Fix session backup init breaking offline usage
2020-10-23 11:10:50 +00:00
Bruno Windels
f214c53fa9 add @internal and other comments to Session 2020-10-23 12:59:40 +02:00
Bruno Windels
62c8d6574c fix index.html not being restored from cache when offline on #hash url 2020-10-23 12:58:45 +02:00
Bruno Windels
df8eed14aa expose whether we already have a 4s key,to show the 4s setup in settings
it's a tri-state of null/false/true with null meaning we need to
go online first to know as only then we try to setup session backup
2020-10-23 12:57:47 +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
08645c8bc0 release v0.1.19 2020-10-22 09:26:15 +02:00
Bruno Windels
747bc71a0e
Merge pull request #148 from ynerant/master
Add Dockerfile
2020-10-21 14:14:07 +00:00
Yohann D'ANELLO
e574b392e1 Add Dockerfile
Signed-off-by: Yohann D'ANELLO <yohann.danello@gmail.com>
2020-10-21 13:01:16 +02:00
Bruno Windels
f1aef6c034 render should return nodes otherwise the mapView binding doesn't work
this broke e2ee messages appearing when decrypted
2020-10-21 12:10:42 +02:00
Bruno Windels
1c20556c8d release v0.1.18 2020-10-20 17:51:16 +02:00
Bruno Windels
7459985e00 show storage usage in settings 2020-10-20 17:50:43 +02:00
Bruno Windels
545a2e481a prevent cached thumbnails from being opaque responses
fixes https://github.com/vector-im/hydrogen-web/issues/169
2020-10-20 17:28:42 +02:00
Bruno Windels
13f1620d88 release v0.1.17 2020-10-20 17:04:23 +02:00
Bruno Windels
a7a922680d request persisted storage when logging in/restoring a session 2020-10-20 17:02:34 +02:00
Bruno Windels
2b93d50396 dont crash when value is undefined 2020-10-20 16:51:51 +02:00
Bruno Windels
f7520bbfc0 release v0.1.16 2020-10-20 15:30:46 +02:00
Bruno Windels
14da892ea0
Merge pull request #168 from vector-im/bwindels/better-session-backup-ui
Better session backup ui
2020-10-20 13:30:20 +00:00
Bruno Windels
4dd303e558 remove unused code 2020-10-20 15:29:36 +02:00
Bruno Windels
1e1b254678 adjust prop names 2020-10-20 15:26:22 +02:00
Bruno Windels
601bdbb25d make session backup banner dismissable 2020-10-20 14:42:17 +02:00
Bruno Windels
446d30469b improve wording and cleanup 2020-10-20 12:12:07 +02:00
Bruno Windels
98d7ffe87c add button to set up field 2020-10-20 12:11:58 +02:00
Bruno Windels
16e0f515dc make text not sprawl across screen on large monitors 2020-10-20 12:10:56 +02:00
Bruno Windels
6f09bd97b6 move setting view models in own dir / file 2020-10-20 12:10:41 +02:00
Bruno Windels
6f82d81f39 better session backup ui 2020-10-19 18:29:13 +02:00
Bruno Windels
8f89c7b363
Merge pull request #162 from vector-im/bwindels/settings-screen
Basic setting screen
2020-10-19 13:20:36 +00:00
Bruno Windels
d3b7d176b8 extract SettingsView into own file
also fix some copyright attributions
2020-10-19 14:55:01 +02:00
Bruno Windels
1fe3f646dc further style settings page 2020-10-19 14:53:05 +02:00
Bruno Windels
d8f8342a10 make middle panel responsive styling + hide back b. + header css generic 2020-10-19 14:52:18 +02:00
Bruno Windels
1e599be142 Merge branch 'master' into bwindels/settings-screen 2020-10-19 13:45:17 +02:00
Bruno Windels
6bf8e976cb don't assign timelineVM before loaded, so prop doesn't return it
... if the binding happens to be evaluating (which it was during mount)

follow-up from bwindels/fix-crash-switch-rooms-too-fast
2020-10-19 13:39:19 +02:00
Bruno Windels
f07b4a6554
Merge pull request #167 from vector-im/bwindels/fix-redirects
Fix back button not working when changing rooms
2020-10-19 11:01:07 +00:00
Bruno Windels
ade4ba750f
Merge pull request #166 from vector-im/bwindels/fix-crash-switch-rooms-too-fast
fix a crash when switching rooms before the messages have loaded
2020-10-19 10:59:26 +00:00
Bruno Windels
cdcdc07c06 fix a crash when switching rooms before the messages have loaded
as we were not disposing the timeline view model
(but still not leaking though)
2020-10-19 12:57:21 +02:00
Bruno Windels
8357260133 fix an applying an url also pushing a copy of the url back on history
it should replace instead, as it is a redirect
2020-10-19 12:55:42 +02:00
Bruno Windels
fb273782bf use handleEvent in History so we don't have to bind 2020-10-19 12:55:10 +02:00
Bruno Windels
3e34ccb7e1 rename, I think, last occurrence of brawl to hydrogen 👋 2020-10-19 12:52:57 +02:00
Bruno Windels
db102e63d2 Merge branch 'master' into bwindels/settings-screen 2020-10-19 10:13:41 +02:00
Bruno Windels
7aca9e291e
Merge pull request #165 from vector-im/bwindels/multiline-message
Render multi-line message as such
2020-10-19 08:11:42 +00:00
Bruno Windels
90910dae15 render multiline messages with br's 2020-10-19 10:00:32 +02:00
Bruno Windels
4828e141c9 add br tag to html template 2020-10-19 10:00:18 +02:00
Bruno Windels
efe6956a79 support render method and value in StaticView 2020-10-19 09:59:56 +02:00
Bruno Windels
974f77a71d WIP 2020-10-16 18:06:20 +02:00
Bruno Windels
41d624a1ae release v0.1.15 2020-10-16 15:50:33 +02:00
Bruno Windels
753bee2509
Merge pull request #161 from vector-im/bwindels/sw-updates
Prompt to install update and prevent concurrent session access through service worker
2020-10-16 13:49:42 +00:00
Bruno Windels
90435a8fb7 semicolons, add them 2020-10-16 15:48:49 +02:00
Bruno Windels
e599d8b6fa also clear 2020-10-16 15:47:13 +02:00
Bruno Windels
74e6d018f4 ensure url creation does not race on the current path of the navigation 2020-10-16 15:46:06 +02:00
Bruno Windels
0ca926d427 claim clients immediately from service worker 2020-10-16 14:52:34 +02:00
Bruno Windels
743cdd0bea safari is tooo fast and skips it when it shouldn't
also, I've never had the registration fail, seems very unlikely
2020-10-16 13:26:19 +02:00