Bruno Windels
4e3127c4cf
handle key collisions in JoinedMap
2021-04-22 13:28:14 +02:00
Bruno Windels
f596b34cac
add very basic join observable map, joining several maps into one
...
will be used to join invites and rooms into one map
2021-04-21 17:25:37 +02:00
Bruno Windels
1d3a2aca0e
add 'get' method to common observable map api
2021-04-21 17:23:49 +02:00
Bruno Windels
f976eeaf13
rename SortedArray.replace to update
2021-04-08 18:36:09 +02:00
Bruno Windels
b27f6a067f
implement .size for all observable maps
...
as SortedMapList uses it, putting undefined in its list
initially when missing, creating a crash in
the TemplateView that renders it
2020-11-05 12:00:17 +01:00
Bruno Windels
137264edcb
implement subscribing to a single event
2020-10-30 15:19:51 +01:00
Bruno Windels
4e8e9eae26
first round of fixes
2020-10-12 18:31:55 +02:00
Bruno Windels
514095da7a
move waitFor and get to BaseObservableValue
2020-10-06 18:04:34 +02:00
Bruno Windels
e3fdd3a4fd
ApplyMap, your observable map collection for applying side-effects
2020-10-06 12:20:28 +02:00
Bruno Windels
9a3734e5ba
this is a NOP, but in the future might not be
2020-10-06 12:20:03 +02:00
Bruno Windels
84425fad5c
more work on FilteredMap (not done yet though)
...
I ended up not using this, but at some point we'll need it,
so commit this work
2020-10-06 12:19:08 +02:00
Bruno Windels
943467cf67
actually implemented filtered map
2020-10-05 18:18:44 +02:00
Bruno Windels
4875095ea3
fix event tiles not updating when event is decrypted when room keys come
2020-09-11 17:47:35 +02:00
Bruno Windels
62bcb27784
implement decryption retrying and decrypting of gap/load entries
...
turns out we do have to always check for replay attacks because
failing to decrypt doesn't prevent an item from being stored,
so if you reload and then load you might be decrypting it
for the first time
2020-09-04 15:29:58 +02:00
Bruno Windels
8b358379e8
first draft of device tracker
...
mainly missing race protection with /sync and actually running the code
2020-08-31 14:12:12 +02:00
Bruno Windels
b814335b99
this was missing! and causing an error with empty lists
2020-08-21 19:21:53 +02:00
Bruno Windels
fbf72b8825
bind key for spontaneous updates in MappedMap
...
so we just have to pass in the params
2020-08-12 17:38:40 +02:00
Bruno Windels
00a85697ab
add license header in all source files
2020-08-05 18:38:55 +02:00
Bruno Windels
8bde627cdb
more WIP
2020-04-29 10:10:20 +02:00
Bruno Windels
c379caf4c0
remove obsolete ifdef comments
2020-04-20 21:31:27 +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
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
de35df10d8
fix test + bug in ConcatList update
2019-07-29 20:03:22 +02:00
Bruno Windels
b723ab4cef
add failing test for ConcatList update
2019-07-29 20:03:06 +02:00
Bruno Windels
3b7ab8f1c8
fix MappedList test after passing params as well to updater
2019-07-29 20:02:42 +02:00
Bruno Windels
bfdff353b0
pass params in map operator update fn
2019-07-29 19:52:28 +02:00
Bruno Windels
7a6e91de84
concat operator for observable lists
2019-07-29 19:18:11 +02:00
Bruno Windels
6f650d19b1
map operator for observable lists
2019-07-29 19:17:55 +02:00
Bruno Windels
0b5c2f9273
better naming
2019-07-29 10:59:49 +02:00
Bruno Windels
b53b60e142
use correct handler and make test succeed
2019-07-29 10:59:07 +02:00
Bruno Windels
0cf7cb36c4
add failing test for unsubscribe using wrong handler
2019-07-29 10:58:27 +02:00
Bruno Windels
b26f7df689
pending events are not certain to be sorted here
2019-07-29 09:54:34 +02:00
Bruno Windels
ccb722d766
more WIP
2019-07-26 22:03:57 +02:00
Bruno Windels
f3d1128f28
WIP
2019-07-01 10:00:29 +02:00
Bruno Windels
e339cb7321
more fixes, timeline is showing again
2019-06-02 14:59:30 +02:00
Bruno Windels
a1e527ccbc
first round of fixes after running the app again in the browser!
2019-06-02 00:49:47 +02:00
Bruno Windels
843c94b750
finished observable SortedArray to something useable
...
although not as performant as it could be
2019-06-01 17:38:23 +02:00
Bruno Windels
784588440c
WIP for fragment support
2019-05-19 20:49:46 +02:00
Bruno Windels
61804073e2
comment how updates should work
2019-03-15 20:29:17 +01:00
Bruno Windels
8e8e22fe16
work on filling gaps
2019-03-09 00:41:06 +01:00
Bruno Windels
6940e14b18
move sortedIndex out of observable as other code will want to use it too
2019-03-08 20:04:28 +01:00
Bruno Windels
9e7811299d
MappedMap update mechanism needs to be reworked, disable for now
2019-02-27 23:23:20 +01:00
Bruno Windels
6b4ed65a57
show timeline when clicking room in roomlist
2019-02-27 22:50:08 +01:00
Bruno Windels
841f280d3c
rooms on the screen!!
2019-02-26 22:45:58 +01:00
Bruno Windels
2e362d1bbd
fixes and tests for add, remove, move and update
2019-02-26 22:03:16 +01:00
Bruno Windels
290886a5eb
fix and test subscription and initial values for sort
2019-02-26 21:13:43 +01:00
Bruno Windels
21d93a5893
fix and test initialValues for map
2019-02-26 21:13:11 +01:00
Bruno Windels
618c4ffe20
restructure observable collections and fixes for sort, filter and map
2019-02-26 20:48:57 +01:00