Commit Graph

58 Commits

Author SHA1 Message Date
ismailgulek c5a709f122 Remove redundant event sender names in notification body, they're already in the title 2020-07-17 13:01:30 +03:00
ismailgulek b8fa576b55 Avoid early fallback when not showing decrypted content in notifications 2020-07-17 13:00:40 +03:00
ismailgulek 414e17a2dc Disable key backup on push extension 2020-06-29 17:02:48 +03:00
ismailgulek a7d7393dd1 Change fallback message for encrypted events 2020-06-25 15:14:57 +03:00
ismailgulek 431acab1b2 Change fallback contents to include room display name 2020-06-25 15:14:14 +03:00
ismailgulek 2a3d8a9dc8 Merge branch 'xcode11' into riot_3325
# Conflicts:
#	CHANGES.rst
2020-06-25 14:26:10 +03:00
ismailgulek 1117eb03a5 Refactor fallback method name 2020-06-25 14:23:21 +03:00
ismailgulek bfd2965cbd Refactor best attempt contents variable name 2020-06-25 14:22:16 +03:00
ismailgulek f144bc434c Include room display name in fallback content 2020-06-25 14:18:53 +03:00
ismailgulek 262ceb8e99 Pass also roomId to fetch and sync methods 2020-06-25 12:42:07 +03:00
ismailgulek cb2f9973d3 Read badge from payload 2020-06-25 11:48:02 +03:00
ismailgulek b36ee8044b Fix rebooted and not unlocked case for extension 2020-06-23 11:19:13 +03:00
ismailgulek 49a6534c8f Log sound name 2020-06-19 17:07:13 +03:00
ismailgulek b423d2c4f0 Fix Manu's comments 2020-06-17 19:05:11 +03:00
ismailgulek 1fa4059381 Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-17 18:53:24 +03:00
ismailgulek db4c4a8819 Do not close session 2020-06-17 15:51:12 +03:00
ismailgulek 96c6c5afd8 Reuse session 2020-06-17 15:50:51 +03:00
ismailgulek 0b7c077610 Reuse memory store 2020-06-17 15:35:10 +03:00
ismailgulek 630fd5ea76 Enhance logs about reuse 2020-06-17 15:18:20 +03:00
ismailgulek efea2f47ea Use push rules specific to event 2020-06-16 19:25:53 +03:00
ismailgulek 251121596d Revert number of log files to default, as will reuse log files more 2020-06-16 19:24:45 +03:00
ismailgulek 2afe439ce5 Fix logs rotation too much 2020-06-16 16:19:09 +03:00
ismailgulek e25302b1ee Fix logs path 2020-06-16 16:17:58 +03:00
ismailgulek 01d7b73dbc Make showDecryptedContentInNotifications to avoid recomputation every time 2020-06-11 17:16:16 +03:00
ismailgulek a1ac599360 Remove ambigious original content call 2020-06-11 16:46:02 +03:00
ismailgulek a798fe0a17 Load room and summary directly 2020-06-11 16:41:57 +03:00
ismailgulek 7e2d05eee3 Reuse store and session 2020-06-11 16:37:21 +03:00
ismailgulek 545a1df62d Convert cachedEvent to eventId based map 2020-06-11 16:30:08 +03:00
ismailgulek 4d3bfe6220 Convert originalContent to eventId based map 2020-06-11 16:28:34 +03:00
ismailgulek 1ea92035df Convert contentHandler to eventId based map 2020-06-11 16:25:59 +03:00
ismailgulek 2cb6e2ec94 Increase NSE log files to hundred 2020-06-09 11:16:13 +03:00
ismailgulek afdea0c5a8 Avoid default notification sound, fixes #3316 2020-06-05 13:43:18 +03:00
ismailgulek 1bd8ffa095 Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-02 18:54:47 +03:00
ismailgulek 42a7a18c70 Enhance NSE logs for debugging 2020-06-02 18:25:19 +03:00
ismailgulek 9e5f338761 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 190cb5f106 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 f06383223b Adapt to new method, change timeout to seconds
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 11:26:43 +03:00
ismailgulek 3e54e6095f Fix Manu's comments
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-29 09:55:58 +03:00
ismailgulek 31abb9de92 Drop MXKAccount and MXFileStore usages
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-27 18:54:24 +03:00
ismailgulek d54601adfd Change some guarding to if check
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-26 18:28:08 +03:00
ismailgulek 5eefec4226 Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-05-26 18:26:00 +03:00
ismailgulek a24c9cf766 Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-05-26 18:24:21 +03:00
ismailgulek d888c82a27 Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-05-26 18:23:47 +03:00
ismailgulek 44e06f5876 Remove some redundant semicolons
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-26 18:22:05 +03:00
ismailgulek c5576dcfb9 Add fallback method calls on some points
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-26 18:21:30 +03:00
ismailgulek 7e08b51df9 Change logs for fallback cases
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-26 18:15:44 +03:00
ismailgulek 6760b653b5 Update RiotNSE/NotificationService.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-05-26 17:52:26 +03:00
ismailgulek 1fb2d2b378 Swiftify extension methods
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-25 21:24:08 +03:00
ismailgulek 69b9622916 Swiftify code, style changes
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-25 21:23:36 +03:00
ismailgulek 00820bb413 Swiftify content function, use switch for ifs when possible
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-25 21:22:40 +03:00