Commit graph

65 commits

Author SHA1 Message Date
ismailgulek
1016f22c1f
Disable key backup on push extension 2020-06-29 17:02:48 +03:00
ismailgulek
2988efc79b
Change fallback message for encrypted events 2020-06-25 15:14:57 +03:00
ismailgulek
d953632884
Change fallback contents to include room display name 2020-06-25 15:14:14 +03:00
ismailgulek
44721cb656
Merge branch 'xcode11' into riot_3325
# Conflicts:
#	CHANGES.rst
2020-06-25 14:26:10 +03:00
ismailgulek
8abe501ac2
Refactor fallback method name 2020-06-25 14:23:21 +03:00
ismailgulek
565caf9a7c
Refactor best attempt contents variable name 2020-06-25 14:22:16 +03:00
ismailgulek
b6fded100d
Include room display name in fallback content 2020-06-25 14:18:53 +03:00
ismailgulek
2dd4b7dcc2
Pass also roomId to fetch and sync methods 2020-06-25 12:42:07 +03:00
ismailgulek
dcbdc5cdd1
Read badge from payload 2020-06-25 11:48:02 +03:00
ismailgulek
28405f3577
Fix rebooted and not unlocked case for extension 2020-06-23 11:19:13 +03:00
ismailgulek
4550d74e67
Log sound name 2020-06-19 17:07:13 +03:00
ismailgulek
403c329b6e
Simplify myUser property 2020-06-19 11:28:13 +03:00
ismailgulek
aff35d71f0
Use constants for error 2020-06-19 11:22:11 +03:00
ismailgulek
ee85ef7f7a
Fix session user displayname, for checks in MXPushRuleDisplayNameCondtionChecker 2020-06-19 10:36:27 +03:00
ismailgulek
a8e8105405
Fix Manu's comments 2020-06-17 19:05:11 +03:00
ismailgulek
72b0348f48
Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-17 18:53:24 +03:00
ismailgulek
263784e4c7
Do not close session 2020-06-17 15:51:12 +03:00
ismailgulek
768ff57934
Reuse session 2020-06-17 15:50:51 +03:00
ismailgulek
24c89de96a
Reuse memory store 2020-06-17 15:35:10 +03:00
ismailgulek
979c39dcd8
Enhance logs about reuse 2020-06-17 15:18:20 +03:00
ismailgulek
1e96755ac6
Remove redundant store close 2020-06-17 14:31:56 +03:00
ismailgulek
99be2132b3
Use push rules specific to event 2020-06-16 19:25:53 +03:00
ismailgulek
2899af876a
Revert number of log files to default, as will reuse log files more 2020-06-16 19:24:45 +03:00
ismailgulek
9cd3d2b0bd
Simplify syncs with filtering 2020-06-16 16:30:22 +03:00
ismailgulek
0c68a0b651
Reuse MXFileStore instance 2020-06-16 16:29:13 +03:00
ismailgulek
b98c43384b
Fix logs rotation too much 2020-06-16 16:19:09 +03:00
ismailgulek
1bd3eadcac
Fix logs path 2020-06-16 16:17:58 +03:00
ismailgulek
003aa43a37
Make showDecryptedContentInNotifications to avoid recomputation every time 2020-06-11 17:16:16 +03:00
ismailgulek
fab52c818e
Remove ambigious original content call 2020-06-11 16:46:02 +03:00
ismailgulek
7cf8dcb36b
Load room and summary directly 2020-06-11 16:41:57 +03:00
ismailgulek
703c417747
Reuse store and session 2020-06-11 16:37:21 +03:00
ismailgulek
d17bec3634
Convert cachedEvent to eventId based map 2020-06-11 16:30:08 +03:00
ismailgulek
de8db1aab8
Convert originalContent to eventId based map 2020-06-11 16:28:34 +03:00
ismailgulek
06310823fc
Convert contentHandler to eventId based map 2020-06-11 16:25:59 +03:00
ismailgulek
e044a005bf
Increase NSE log files to hundred 2020-06-09 11:16:13 +03:00
ismailgulek
d71d0f669a
Avoid default notification sound, fixes #3316 2020-06-05 13:43:18 +03:00
ismailgulek
7f8c4b7bdb
Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-02 18:54:47 +03:00
ismailgulek
a9e862138f
Enhance NSE logs for debugging 2020-06-02 18:25:19 +03:00
ismailgulek
86744c029e
Store new batch token returned from sync, for bg sync to be terminated successfully, fixes #3295
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-06-01 15:37:09 +03:00
ismailgulek
f87bd29822
Close whole session at the end of the processing
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-06-01 15:29:32 +03:00
ismailgulek
74b76aeb8f
Cache event fetched from backend, to avoid future calls
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-06-01 15:29:02 +03:00
ismailgulek
0b639e8f81
Adapt to new method, change timeout to seconds
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 11:26:43 +03:00
ismailgulek
4ef5e178c2
Add some comments
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 09:56:44 +03:00
ismailgulek
845363b404
Fix Manu's comments
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 09:55:58 +03:00
ismailgulek
d859ce8a43
Drop MXKAccount and MXFileStore usages
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-27 18:54:24 +03:00
ismailgulek
bcd9683511
Implement a memory store specific to NSE
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-27 18:34:04 +03:00
ismailgulek
3bd9e6bb3a
Change some guarding to if check
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-26 18:28:08 +03:00
ismailgulek
f5324aed9c
Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-05-26 18:26:00 +03:00
ismailgulek
a0e95407fa
Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-05-26 18:24:21 +03:00
ismailgulek
fa44dae328
Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-05-26 18:23:47 +03:00