Commit graph

2528 commits

Author SHA1 Message Date
Bruno Windels
b32f5711bf port BrawlViewModel to SessionContainer 2020-04-20 23:10:13 +02:00
Bruno Windels
f4983b5ba6 port SessionPickerViewModel to SessionContainer 2020-04-20 22:49:14 +02:00
Bruno Windels
a5965ad378 port LoginViewModel over to SessionContainer 2020-04-20 22:48:56 +02:00
Bruno Windels
bb7fca0592 support deleting the session from the container 2020-04-20 22:29:25 +02:00
Bruno Windels
de7dcf6a40 adjust main.js to use SessionContainer 2020-04-20 21:56:10 +02:00
Bruno Windels
ad7c564d5d notes 2020-04-20 21:43:02 +02:00
Bruno Windels
a097929dbd rename lowercase filenames of classes to camelcase like class 2020-04-20 21:41:10 +02:00
Bruno Windels
31f3886eba move EventEmitter to utils 2020-04-20 21:35:53 +02:00
Bruno Windels
c379caf4c0 remove obsolete ifdef comments 2020-04-20 21:31:27 +02:00
Bruno Windels
0f29fdb24e some notes 2020-04-20 21:27:07 +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
0de5e899ea remove dead code 2020-04-20 21:25:17 +02:00
Bruno Windels
164d9d594f finish implemenation of SessionContainer 2020-04-20 19:48:21 +02:00
Bruno Windels
87b23d062c fix imports after reshuffleling 2020-04-20 19:47:45 +02:00
Bruno Windels
72b0eefccb replace isSyncing and emit with an Observable SyncStatus 2020-04-19 19:52:26 +02:00
Bruno Windels
80f7caadbe rename SessionsStore to SessionInfoStorage 2020-04-19 19:13:38 +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
Bruno Windels
cc6b952209 e2ee note additions 2020-04-09 18:36:38 +02:00
Bruno Windels
ef267ca331 WIP2 2020-04-05 15:11:15 +02:00
Bruno Windels
c980f682c6 create DOMClock, abstraction of clock functionalities for DOM 2020-04-04 17:34:46 +02:00
Bruno Windels
00d27b1a47 more notes 2020-04-04 17:06:53 +02:00
Bruno Windels
c7388f1bb4 release v0.0.20 2020-03-31 10:14:12 +02:00
Bruno Windels
bc69e49cfb WIP2 2020-03-31 10:13:25 +02:00
Bruno Windels
b6a5a02a33 WIP 2020-03-30 23:56:03 +02:00
Bruno Windels
65cca83f7f notes how to implement reconnecting and status reporting 2020-03-30 22:24:38 +02:00
Bruno Windels
2f7c825d2b
Merge pull request #42 from bwindels/bwindels/fixnamechangeshownasjoin
look at prev_content when handling member events
2020-03-30 20:00:39 +00:00
Bruno Windels
e4563135bf look at prev_content when handling member events 2020-03-30 21:59:44 +02:00
Bruno Windels
3a6a2e1e99
Merge pull request #41 from bwindels/bwindels/catchsenderror
Catch errors while persisting a new message
2020-03-30 19:33:53 +00:00
Bruno Windels
c830f50325 catch errors while persisting a new message 2020-03-30 21:33:04 +02:00
Bruno Windels
53f2a5801e
Merge pull request #40 from bwindels/bwindels/fixgaplinkslost
Prevent fragment links corrupting when filling a gap and server returns duplicate events
2020-03-30 18:48:07 +00:00
Bruno Windels
234c260339 dont modify fragments in comparer until txn succeeds 2020-03-30 20:46:52 +02:00
Bruno Windels
73ea09f668 Handle sync ordering vs back-fill ordering (see synapse #7164) resulting in dupe events
Also extra robustness while filling a gap

ignore duplicate events from synapse instead considering them an
overlapping event with the adjacent fragment
2020-03-30 20:37:36 +02:00
Bruno Windels
9b2f282534 move docs about how to implement something to subdir 2020-03-28 12:36:19 +01:00
Bruno Windels
089d2fe430 some notes on the general idea of persisting network calls in brawl 2020-03-28 12:33:56 +01:00
Bruno Windels
b8eea881f8 some notes on how we might implement members and display names 2020-03-28 12:33:34 +01:00
Bruno Windels
0b25419ccd release v0.0.19 2020-03-23 23:02:46 +01:00
Bruno Windels
dc65274b8b
Merge pull request #38 from bwindels/bwindels/remote-echo-for-gaps
Look for remote echos in gap responses as well as sync responses
2020-03-23 22:00:45 +00:00
Bruno Windels
8354c58c07 also look for remote echos based on event_id 2020-03-23 23:00:33 +01:00
Bruno Windels
eda4022692 show version before login and link to release 2020-03-23 22:46:31 +01:00
Bruno Windels
f02641c808 look for transaction_id in /messages response to delete pending events 2020-03-22 00:07:37 +01:00
Bruno Windels
6d68ec1bac move fillGap to room 2020-03-21 23:40:40 +01:00
Bruno Windels
ae01a65b3c some adjustments for lumia 2020-03-21 23:20:13 +01:00
Bruno Windels
7ce13b0fd0 add prototype to test we can safely attempt to open two readwrite txns 2020-03-21 22:53:11 +01:00
Bruno Windels
3ece193931 release v0.0.18 2020-03-21 14:32:04 +01:00
Bruno Windels
72539073ec
Merge pull request #36 from bwindels/bwindels/tilescollectionupdatebeforeadd
Fix: don't emit update before add for new tile
2020-03-21 13:30:16 +00:00
Bruno Windels
f729108226 pass emit update fn through setter so we control when tile can update 2020-03-21 14:28:09 +01:00
Bruno Windels
a3714f49cc group public methods for a tile together 2020-03-21 14:26:56 +01:00