Commit Graph

728 Commits (0e0ab9151ea1968e75814d7ad7cc01004a70e32c)

Author SHA1 Message Date
andrew 0e0ab9151e cleanup 2 years ago
andrew 5c9dc36460 Merge branch 'dev' into add-unregister 2 years ago
andrew 667af27bfb Utilise TokenManager and ExpiryManager 2 years ago
andrew 153aa4ceaa Reinstate push v1 2 years ago
Andrew cc015c45bd
Add 50 dp buffer to isScrolledToBottom (#1228) 2 years ago
andrew 288b70bb14 Store legacy fcm token to reduce unregister api calls 2 years ago
andrew b2a1b5fe46 Add token to FCM logs 2 years ago
andrew be4d742e84 Unregister v1 push 2 years ago
andrew 01d80ae54b cleanup PushNotificationAPI 2 years ago
andrew 3f6229f841 Remove PushNotificationManager 2 years ago
andrew ba6eca2443 Add FirebasePushManager#unregister 2 years ago
Morgan Pretty 7699e47f7b Responded to PR comments 2 years ago
Morgan Pretty 11c1fd382d Fixed a few issues with the OpenGroupPoller
Fixed an issue where the admin/moderator status wasn't getting stored if set before joining a community
Fixed an issue where multiple pollers for the same server could run at the same time when joining multiple rooms within the same app run (very noticeable when restoring/linking)
2 years ago
Morgan Pretty 2b7bd7417e [SES-567] Fixed a couple of issues where the Group poller would be stopped during creation 2 years ago
Morgan Pretty 8ce6e997aa Fixed a potential crash after changing a property to be nullable 2 years ago
Morgan Pretty b7744f4f2d Addressed PR feedback 2 years ago
Morgan Pretty c77d465438 Merge remote-tracking branch 'upstream/dev' into bluetooth-manager-crash
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupExporter.kt
#	app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupImporter.kt
2 years ago
Morgan Pretty 0c2a635d03 Merge remote-tracking branch 'upstream/dev' into bluetooth-manager-crash 2 years ago
Morgan Pretty 10af2815ac
Merge pull request #1176 from bemusementpark/sync-everything
Synchronize usage of Cipher
2 years ago
Andrew e8d26222b9
Fix scroll to bottom button visibility (#1219) 2 years ago
andrew 0af713317a Merge branch 'dev' into sync-everything 2 years ago
Morgan Pretty 22ed2dd8aa
Merge pull request #1205 from bemusementpark/disable-unblock
Disable unblock button
2 years ago
Andrew 5519f17775
Truncate session id when displayed as username (#1215) 2 years ago
Andrew 7d31af9eb0
Fix isScrolledToBottom (#1217) 2 years ago
0x330a 95bb9ee441
refactor: remove some unnecessary code for legacy PN registration 2 years ago
andrew 30d748e147 Disable unblock button 2 years ago
Jason Rhinelander 46acd7878d
New SPNS subscription and notifications
Finishes the WIP for subscribing to push notifications and handling the
new-style pushes we get.
2 years ago
Andrew 57476cd56e
Fix scroll to bottom button always visible if last item is taller than RecyclerView 2 years ago
ryanzhao fa71ea1850 make RetrieveProfileAvatarJob work 2 years ago
Ryan Zhao b494088c3d WIP: further refactor on old jobs 2 years ago
andrew f0715f16e0 Fix scroll to bottom button always visible if last item is taller than RecyclerView 2 years ago
andrew ec2abffdcc Remove logs 2 years ago
andrew d3ce899a80 Synchronize all Cipher#doFinal 2 years ago
andrew 45eb3549f6 Add sync status message 2 years ago
0x330a d2e80c3157
feat: re-add bencode utility and fix tests to use bytearray instead of assuming utf-8 encoding for strings 2 years ago
0x330a 8d4f2445f2
feat: add support for firebase and split out google services as a dependency for only the play version of the app. Add support for requests in new pn server 2 years ago
0x330a 2246a5d9ce feat: introduce new pns models and wire kotlinx serialization to apply in libsession 2 years ago
0x330a b25eb9af8e
Use new seed node certificates (#1144)
* fix: use new seed node certificates

* refactor: don't need to include subdomains actually
2 years ago
Morgan Pretty eb739bdc9b
ANR Defensive Coding (#1132)
* Made a number of changes to try and improve background ANRs

Added some more logs to the BatchMessageReceiveJob (to make it easier to track a specific job)
Shifted the ConversationActivity adapter initialisation to run on a background thread to reduce the hang when opening a conversation
Updated the ConversationViewModel to cache the recipient and openGroup values to avoid accessing the database unnecessarily
Updated the code to just stop all current closed group pollers instead of fetching a list to stop
Updated the PN registration to be triggered in an AsyncTask
Updated the call code to unregister a couple of additional receivers
Updated the background poller so it waits for 15 mins before running and doesn't replace the existing scheduler (allows for PNs to trigger explicit background polling)
Fixed an issue where we were sending push notifications which were too large and likely to fail as a result (non-pre-offer call messages)
Fixed an issue where a failing Open Group poller could prevent the background poller from receiving and processing DMs

* Updated to a more coroutine-y convention
2 years ago
Morgan Pretty 5e28af2be4
Updated the code to use the network offset time everywhere relevant (#1111)
* Updated the code to use the network offset time everywhere relevant

* Updated the SnodeAPI.nowWithOffset to use @JvmStatic
2 years ago
Ian Macdonald 405b8c7d28
Allow user display names of up to 64 bytes. (#981) 2 years ago
Morgan Pretty 391418ae1e
Merge pull request #1107 from mpretty-cyro/fix/group-avatar-download-job-duplication
Fixed a few issues related to the GroupAvatarDownloadJob
2 years ago
Morgan Pretty 9fd68d27f8 Fixed a few issues with the GroupAvatarDownloadJob
Added a method to remove the Group avatar
Fixed an issue where the recipient diffing on the HomeActivity wasn't working properly
Fixed an issue where the GroupAvatarDownloadJob could be scheduled even when there was already one scheduled
2 years ago
Morgan Pretty 97458a4baa Added a missing constructor 2 years ago
Morgan Pretty cd3b8f3571 Fixed a few issues related to the GroupAvatarDownloadJob
Added logic to avoid scheduling a GroupAvatarDownloadJob if there is already an existing one with the same parameters
Added logic to avoid trying to download an old avatar for a group if there is a new one
Added logic to prevent an old GroupAvatarDownloadJob from overriding a valid avatar with an old one
2 years ago
0x330a 395ada62ff
Update French translations (#1103)
* chore: update french translations file from crowdin

* chore: update french translations libsession file from crowdin

* chore: update french non-region translations file from crowdin

* chore: update french non-region libsession translations file from crowdin
2 years ago
Morgan Pretty 50989cb2ee Increased file upload limits to 10Mb 2 years ago
Morgan Pretty 0256735135 Fixed a few bugs, added logging and removed some old code
Added the ability to copy the sessionId of open group URL from the conversation menu
Added additional logging to the BatchMessageReceiveJob to make future debugging easier
Removed the OpenGroupMigrator
Updated the JobQueue logging to provide more insight
Fixed an issue where the database migrations weren't blocking which could result in failing/crashing SQL queries
Fixed an issue where the new database file wouldn't be removed if a migration error was thrown
Fixed an issue where the new database could exist in an invalid state and the app wouldn't attempt to remigrate
Fixed an incorrectly throw exception in the PassphrasePromptActivity
2 years ago
Morgan Pretty 87f1d708b1 Merge remote-tracking branch 'upstream/dev' into feature/unread-mention-indicator
# Conflicts:
#	app/src/main/res/values/themes.xml
2 years ago
Morgan Pretty 05838faaf0 Updated the unread count logic to recalculate correctly 2 years ago