Commit Graph

120 Commits

Author SHA1 Message Date
ismailgulek e085790da1 Merge branch 'develop' into element_3436 2020-07-24 18:01:26 +03:00
ismailgulek ee085814f0 Do not cache showDecryptedContentInNotifications 2020-07-23 13:15:21 +03:00
ismailgulek 984f4c78fe Add keychain access group 2020-07-22 17:06:39 +03:00
ismailgulek 34f1223985 Remove redundant event sender names in notification body, they're already in the title 2020-07-17 13:01:30 +03:00
ismailgulek cc991d6f64 Avoid early fallback when not showing decrypted content in notifications 2020-07-17 13:00:40 +03:00
ismailgulek 5fcad21556 Disable key backup on push extension 2020-06-29 17:02:48 +03:00
ismailgulek f0d5edcc3b Change fallback message for encrypted events 2020-06-25 15:14:57 +03:00
ismailgulek c9c4b2e9d5 Change fallback contents to include room display name 2020-06-25 15:14:14 +03:00
ismailgulek 5a0686c67a Merge branch 'xcode11' into riot_3325
# Conflicts:
#	CHANGES.rst
2020-06-25 14:26:10 +03:00
ismailgulek 8c52a46228 Refactor fallback method name 2020-06-25 14:23:21 +03:00
ismailgulek 2dd5232282 Refactor best attempt contents variable name 2020-06-25 14:22:16 +03:00
ismailgulek 967e422244 Include room display name in fallback content 2020-06-25 14:18:53 +03:00
ismailgulek 1c923ea7d4 Pass also roomId to fetch and sync methods 2020-06-25 12:42:07 +03:00
ismailgulek bf96065a78 Read badge from payload 2020-06-25 11:48:02 +03:00
ismailgulek 1cc883150e Fix rebooted and not unlocked case for extension 2020-06-23 11:19:13 +03:00
ismailgulek e854e8520f Log sound name 2020-06-19 17:07:13 +03:00
ismailgulek ecbcb91965 Simplify myUser property 2020-06-19 11:28:13 +03:00
ismailgulek 45e88b063d Use constants for error 2020-06-19 11:22:11 +03:00
ismailgulek 535eac19fc Fix session user displayname, for checks in MXPushRuleDisplayNameCondtionChecker 2020-06-19 10:36:27 +03:00
ismailgulek 8700eaab3d Fix Manu's comments 2020-06-17 19:05:11 +03:00
ismailgulek 97315ac00d Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-17 18:53:24 +03:00
ismailgulek 89ca22088d Do not close session 2020-06-17 15:51:12 +03:00
ismailgulek 16cae00ed3 Reuse session 2020-06-17 15:50:51 +03:00
ismailgulek 9e9bac57d0 Reuse memory store 2020-06-17 15:35:10 +03:00
ismailgulek 8607f5c87f Enhance logs about reuse 2020-06-17 15:18:20 +03:00
ismailgulek d019ad3669 Remove redundant store close 2020-06-17 14:31:56 +03:00
ismailgulek 5b7757a13a Use push rules specific to event 2020-06-16 19:25:53 +03:00
ismailgulek 98f58265f1 Revert number of log files to default, as will reuse log files more 2020-06-16 19:24:45 +03:00
ismailgulek c08be550b3 Simplify syncs with filtering 2020-06-16 16:30:22 +03:00
ismailgulek ca1883901b Reuse MXFileStore instance 2020-06-16 16:29:13 +03:00
ismailgulek 071b669e4e Fix logs rotation too much 2020-06-16 16:19:09 +03:00
ismailgulek 769bae8684 Fix logs path 2020-06-16 16:17:58 +03:00
ismailgulek 7d2462cc3c Make showDecryptedContentInNotifications to avoid recomputation every time 2020-06-11 17:16:16 +03:00
ismailgulek b26ca2ab93 Remove ambigious original content call 2020-06-11 16:46:02 +03:00
ismailgulek f5da927002 Load room and summary directly 2020-06-11 16:41:57 +03:00
ismailgulek 1527dc4f90 Reuse store and session 2020-06-11 16:37:21 +03:00
ismailgulek cd4fa44e12 Convert cachedEvent to eventId based map 2020-06-11 16:30:08 +03:00
ismailgulek 3cb53ca603 Convert originalContent to eventId based map 2020-06-11 16:28:34 +03:00
ismailgulek 7d668c5492 Convert contentHandler to eventId based map 2020-06-11 16:25:59 +03:00
ismailgulek 28d4763bb0 Increase NSE log files to hundred 2020-06-09 11:16:13 +03:00
ismailgulek a5940e6b63 Avoid default notification sound, fixes #3316 2020-06-05 13:43:18 +03:00
ismailgulek 2c3522e1df Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-02 18:54:47 +03:00
ismailgulek 9f45bbc548 Enhance NSE logs for debugging 2020-06-02 18:25:19 +03:00
ismailgulek 554745b555 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 80d99cac4a 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 25f9a7c7ba 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 ce7e15f87c Adapt to new method, change timeout to seconds
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 11:26:43 +03:00
ismailgulek 443b5a593f Add some comments
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 09:56:44 +03:00
ismailgulek 5178b35a54 Fix Manu's comments
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 09:55:58 +03:00
ismailgulek e1b86f383e Drop MXKAccount and MXFileStore usages
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-27 18:54:24 +03:00