Commit Graph

71 Commits

Author SHA1 Message Date
ismailgulek 01800598b6 Remove shared instance 2020-08-20 17:43:46 +03:00
ismailgulek 144ced95f3 Rename store variables 2020-08-20 17:33:03 +03:00
ismailgulek 65d6aa7ab0 Rename PushNotificationManager to PushNotificationStore 2020-08-20 17:31:47 +03:00
ismailgulek 8772c1056e Fix NSE bugs 2020-08-11 21:17:48 +03:00
ismailgulek ba8601dc6e Refactor remove call notifications method 2020-08-11 12:53:51 +03:00
ismailgulek a2e920b063 Category identifier for call invites 2020-08-10 18:17:46 +03:00
ismailgulek be64cae8dc Call push gateway api for call invites 2020-08-10 18:17:13 +03:00
ismailgulek 314b4b1480 Add push gateway rest client 2020-08-10 14:03:47 +03:00
manuroe c4e4812394 AppConfig: Rename files to CommonConfiguration and AppConfiguration 2020-07-29 10:13:43 +02:00
manuroe 2e0ee3bb7d AppConfig: Fix Steve's remarks 2020-07-29 10:05:45 +02:00
manuroe 5587dbb9bf 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 909050ca04 AppConfig: Make all extensions use it 2020-07-28 16:53:55 +02:00
ismailgulek ee085814f0 Do not cache showDecryptedContentInNotifications 2020-07-23 13:15:21 +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 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 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 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 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