Commit Graph

172 Commits

Author SHA1 Message Date
manuroe 621a631ac5 Config: Cut AppConfig into Config and AppConfig
so that the app can have its own configuration
2020-07-28 17:20:14 +02:00
manuroe 74a6a7f4bf AppConfig: Make all extensions use it 2020-07-28 16:53:55 +02:00
ismailgulek be90d15beb Merge branch 'develop' into element_3436 2020-07-24 18:01:26 +03:00
ismailgulek 7d7d9b2d8b Do not cache showDecryptedContentInNotifications 2020-07-23 13:15:21 +03:00
ismailgulek 8e7c846ada Add keychain access group 2020-07-22 17:06:39 +03:00
ismailgulek 5173adbbca Remove redundant event sender names in notification body, they're already in the title 2020-07-17 13:01:30 +03:00
ismailgulek a2f5c0e2f6 Avoid early fallback when not showing decrypted content in notifications 2020-07-17 13:00:40 +03:00
ismailgulek adb7b775d4 Disable key backup on push extension 2020-06-29 17:02:48 +03:00
ismailgulek 8d98ba8eeb Change fallback message for encrypted events 2020-06-25 15:14:57 +03:00
ismailgulek 1592910ccc Change fallback contents to include room display name 2020-06-25 15:14:14 +03:00
ismailgulek ff09d626b3 Merge branch 'xcode11' into riot_3325
# Conflicts:
#	CHANGES.rst
2020-06-25 14:26:10 +03:00
ismailgulek efa8001f50 Refactor fallback method name 2020-06-25 14:23:21 +03:00
ismailgulek 6a996a0f8a Refactor best attempt contents variable name 2020-06-25 14:22:16 +03:00
ismailgulek f479592b85 Include room display name in fallback content 2020-06-25 14:18:53 +03:00
ismailgulek f8ac385944 Pass also roomId to fetch and sync methods 2020-06-25 12:42:07 +03:00
ismailgulek 9b79ac7e0f Read badge from payload 2020-06-25 11:48:02 +03:00
ismailgulek b801113ccd Fix rebooted and not unlocked case for extension 2020-06-23 11:19:13 +03:00
ismailgulek 93aaf273bb Log sound name 2020-06-19 17:07:13 +03:00
ismailgulek 8d9382d8e3 Simplify myUser property 2020-06-19 11:28:13 +03:00
ismailgulek 63026d0525 Use constants for error 2020-06-19 11:22:11 +03:00
ismailgulek 42b688307a Fix session user displayname, for checks in MXPushRuleDisplayNameCondtionChecker 2020-06-19 10:36:27 +03:00
ismailgulek 6b4dc3d760 Fix Manu's comments 2020-06-17 19:05:11 +03:00
ismailgulek e5718d7a90 Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-17 18:53:24 +03:00
ismailgulek 037b07e443 Do not close session 2020-06-17 15:51:12 +03:00
ismailgulek 7e5532ee22 Reuse session 2020-06-17 15:50:51 +03:00
ismailgulek 1a20d6966e Reuse memory store 2020-06-17 15:35:10 +03:00
ismailgulek ee05ad8502 Enhance logs about reuse 2020-06-17 15:18:20 +03:00
ismailgulek 5830e3ec5a Remove redundant store close 2020-06-17 14:31:56 +03:00
ismailgulek 7c15bb98ca Use push rules specific to event 2020-06-16 19:25:53 +03:00
ismailgulek 60e199e463 Revert number of log files to default, as will reuse log files more 2020-06-16 19:24:45 +03:00
ismailgulek 61b0892bab Simplify syncs with filtering 2020-06-16 16:30:22 +03:00
ismailgulek 6e5d9003ee Reuse MXFileStore instance 2020-06-16 16:29:13 +03:00
ismailgulek d6ccd681ad Fix logs rotation too much 2020-06-16 16:19:09 +03:00
ismailgulek c093082c16 Fix logs path 2020-06-16 16:17:58 +03:00
ismailgulek 27ec5c7230 Make showDecryptedContentInNotifications to avoid recomputation every time 2020-06-11 17:16:16 +03:00
ismailgulek 5645c30288 Remove ambigious original content call 2020-06-11 16:46:02 +03:00
ismailgulek 0015c0493d Load room and summary directly 2020-06-11 16:41:57 +03:00
ismailgulek 3121bc54b7 Reuse store and session 2020-06-11 16:37:21 +03:00
ismailgulek f7135c4423 Convert cachedEvent to eventId based map 2020-06-11 16:30:08 +03:00
ismailgulek 924eb24cbd Convert originalContent to eventId based map 2020-06-11 16:28:34 +03:00
ismailgulek 1a5ba41eef Convert contentHandler to eventId based map 2020-06-11 16:25:59 +03:00
ismailgulek 216e9fc6db Increase NSE log files to hundred 2020-06-09 11:16:13 +03:00
ismailgulek b8ab1a29d1 Avoid default notification sound, fixes #3316 2020-06-05 13:43:18 +03:00
ismailgulek b86f8fcd1b Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-02 18:54:47 +03:00
ismailgulek 3679b6be2f Enhance NSE logs for debugging 2020-06-02 18:25:19 +03:00
ismailgulek 94b957da00 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 7245619c19 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 b1ab120c8e 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 8091b90d81 Adapt to new method, change timeout to seconds
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 11:26:43 +03:00
ismailgulek cb30dad0ee Add some comments
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 09:56:44 +03:00