Commit Graph

399 Commits

Author SHA1 Message Date
jubb
db553544ec fix: open group fixes for new message receive pipeline 2021-03-29 14:16:49 +11:00
Brice-W
8bc6df5d16 fix multi device attachment issue 2021-03-29 13:52:36 +11:00
Brice-W
d7c03c9d0a group updates fixes 2021-03-26 15:46:37 +11:00
jubb
e3e45292a8 fix: unclosed cursor error message 2021-03-25 16:40:15 +11:00
jubb
196a0205ae refactor: revert expiry to be recipient based instead of message based 2021-03-25 15:12:55 +11:00
Brice-W
ef3bef787d expiration timer handling updated 2021-03-25 14:55:23 +11:00
jubb
bdc086cacf fix: use message's expiry instead of the recipient's 2021-03-25 14:11:58 +11:00
jubb
611b272493 fix: attachments for quotes no longer doubled up 2021-03-24 17:17:01 +11:00
jubb
fad8cd5ba6 fix: changing the way received timestamp handling happens 2021-03-23 15:56:15 +11:00
jubb
a60ec8aaef fix: fix compile error 2021-03-23 11:15:25 +11:00
jubb
7f5f1e4559 Merge remote-tracking branch 'upstream/dev' into origin/refactor-sending
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
2021-03-23 11:13:00 +11:00
jubb
de0f9a26df refactor: remove old pollers from BackgroundPollWorker.kt and deleted unused pollers 2021-03-23 11:12:37 +11:00
Brice-W
1b01d0afd4 clean 2021-03-23 11:03:09 +11:00
Brice-W
68a3c73ab1 clean 2021-03-23 10:59:03 +11:00
Brice-W
5f297835fa Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 2021-03-23 10:57:13 +11:00
Brice-W
8c7f23a4e3 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction 2021-03-23 10:42:30 +11:00
jubb
6f2bad9b59 fix: no duplicate group left messages, more efficient closed group polling 2021-03-23 10:00:51 +11:00
Brice-W
28cecc0236 expiration timer messages generation updated 2021-03-23 09:58:17 +11:00
Brice-W
24b4fb0665 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 2021-03-22 15:18:14 +11:00
Brice-W
0578195d61 Merge branch 'dev' of https://github.com/loki-project/session-android into specific-group-updates 2021-03-22 15:12:09 +11:00
jubb
8ee58459dd feat: use new closed and open group pollers 2021-03-19 17:08:31 +11:00
Brice-W
a47113f2c5 revert changes 2021-03-19 16:57:00 +11:00
Brice-W
5dcb3d77d4 revert changes regarding explicit group updates as it's now in a separate PR 2021-03-19 16:39:41 +11:00
Brice-W
ddede475b4 Start of Update messages builder class implementation & usage for Input group updates 2021-03-19 16:25:00 +11:00
jubb
2460afd1a8 feat: call resume message send on app create 2021-03-18 13:36:56 +11:00
jubb
203c0dd44c refactor: fix imports / compile issues from merging dev 2021-03-18 09:52:20 +11:00
jubb
b685846d7e Merge remote-tracking branch 'upstream/dev' into origin/refactor-sending
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
#	app/src/main/java/org/thoughtcrime/securesms/loki/database/LokiAPIDatabase.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/control/ClosedGroupControlMessage.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/control/ExpirationTimerUpdate.kt
#	libsession/src/main/java/org/session/libsession/messaging/opengroups/OpenGroupMessage.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSenderClosedGroup.kt
2021-03-18 09:26:13 +11:00
Ryan ZHAO
80382cc454 minor refactor 2021-03-17 16:09:01 +11:00
Brice-W
2ca8b1acb1 missed case for sending media saved notification 2021-03-17 15:08:09 +11:00
Brice-W
9d82b4b7a9 sending media saved notification 2021-03-17 14:26:29 +11:00
Ryan ZHAO
1e9e580a2f minor refactor 2021-03-17 12:06:44 +11:00
Ryan ZHAO
436598a80b resume pending jobs on app starting 2021-03-17 11:30:03 +11:00
Ryan ZHAO
95646ed04e make error description show in the message detail activity 2021-03-16 16:31:52 +11:00
Brice-W
471e028cf3 implementation of the receiving side of Data Extraction notifications & explicit group updates notifications 2021-03-16 14:56:47 +11:00
jubb
fe3f3d5f88 refactor: remove redundant Companion qualifier 2021-03-15 16:44:44 +11:00
Ryan ZHAO
424aee5fb3 fix possible serialising crash & refactor 2021-03-15 15:43:05 +11:00
jubb
6508873e57 fix: fix the sent / receive timestamps for linking quotes 2021-03-15 15:03:23 +11:00
Ryan ZHAO
d2843b2cef fix removing jobs in database 2021-03-15 14:56:46 +11:00
jubb
817c40b30c refactor: inserting attachments with the messages so that they are linked properly to a mmsID 2021-03-15 13:35:05 +11:00
jubb
323fb75149 fix: adding some message receive functionality 2021-03-12 17:15:33 +11:00
Ryan ZHAO
54da77a89b clean 2021-03-12 15:23:29 +11:00
Ryan ZHAO
d7e525d828 clean 2021-03-12 14:52:59 +11:00
Ryan ZHAO
6659b7a53e clean 2021-03-12 14:23:34 +11:00
Ryan ZHAO
91f9138d62 clean & refactor session protocol encryption 2021-03-12 13:37:16 +11:00
Ryan ZHAO
60f51af295 clean & fix expiration timer setting issue 2021-03-12 11:27:51 +11:00
Ryan ZHAO
e85bf7a45d fix replying from push notification 2021-03-11 15:56:40 +11:00
Ryan ZHAO
2859da01a7 fix duplicated closed group info message 2021-03-11 15:31:14 +11:00
Ryan ZHAO
d7124c3b7e minor refactor 2021-03-11 14:45:08 +11:00
Ryan ZHAO
42c7f440e9 fix quoting message in open groups 2021-03-11 14:37:53 +11:00
Ryan ZHAO
97a9446eae fix profile picture update 2021-03-11 13:56:35 +11:00
Ryan ZHAO
9ddb45dbdc fix blocked contacts can still see typing indicator and set disappearing messages 2021-03-11 10:52:54 +11:00
Ryan ZHAO
7a6a653823 Merge branch 'dev' of https://github.com/loki-project/session-android into refactor-sending 2021-03-10 10:33:47 +11:00
jubb
597ba3b0e2 fix: remove reference to non-existent SignalMapView 2021-03-10 09:43:35 +11:00
jubb
ca7202f255 feat: add new message receive pipeline in important places and fix parsing issues 2021-03-09 17:26:29 +11:00
Brice-W
c0e7f05d91 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction 2021-03-09 16:29:41 +11:00
Brice-W
6bc832f50a DataExtractionNotification type created and added to proto 2021-03-09 16:27:12 +11:00
Ryan ZHAO
70a7182320 Merge branch 'dev' of https://github.com/oxen-io/session-android into refactor-sending 2021-03-09 14:46:14 +11:00
Ryan ZHAO
1a6da88ce3 clean 2021-03-09 13:54:15 +11:00
Niels Andriesse
fea79b819b
Merge pull request #468 from hjubb/sync_messages_update_contacts
Sync multi device fixes and link device implementation
2021-03-09 13:43:32 +11:00
jubb
5e34f1235d fix: only set profile avatar ID after download image 2021-03-09 11:56:24 +11:00
jubb
2c615ba83e fix: setup storage api before starting polling 2021-03-09 11:07:26 +11:00
Ryan ZHAO
0a7fecfb52 fix sending link preview 2021-03-09 10:50:02 +11:00
jubb
9136f1ac2d fix: out of order config messages and avatar downloads, use the hex encoding instead of the mnemonic from seed 2021-03-09 10:42:53 +11:00
jubb
6c81580d93 fix: sync timing for multi device partial restore 2021-03-05 16:19:53 +11:00
jubb
cf373f3a93 fix: set current pager item to 0 on scan 2021-03-05 13:39:15 +11:00
Ryan ZHAO
4218073a69 fix quote attachments 2021-03-05 13:31:40 +11:00
jubb
4f74d46b17 fix: revert query to filter empty threads for now 2021-03-05 13:17:08 +11:00
Ryan ZHAO
3b2ea4e95d clean 2021-03-05 11:31:12 +11:00
Ryan ZHAO
2df9d4f27c clean 2021-03-05 11:24:43 +11:00
Ryan ZHAO
2426230064 fix sending profile picture update 2021-03-05 11:13:25 +11:00
jubb
0120eac350 fix: remove the dialog seed disclaimer 2021-03-05 10:28:35 +11:00
Ryan ZHAO
9d4c3bf722 send read receipt using new pipeline 2021-03-05 10:17:34 +11:00
jubb
d9511aa087 fix: crash on backup prefs 2021-03-05 10:16:55 +11:00
Ryan ZHAO
e90ffe8af8 Merge branch 'dev' of https://github.com/oxen-io/session-android into refactor-sending 2021-03-05 09:54:08 +11:00
jubb
784e217e91 feat: filter out local number empty thread only 2021-03-04 17:17:45 +11:00
Ryan ZHAO
e0ff5a7e7a fix sending expiration update message 2021-03-04 17:14:12 +11:00
jubb
27958491c5 fix: specific empty thread snippet and removing the thread filtering for empty messages 2021-03-04 16:21:25 +11:00
Ryan ZHAO
aa7071ad80 send typing indicator using new pipeline 2021-03-04 15:57:01 +11:00
Ryan ZHAO
70b96fbe73 send configuration message using new sending pipeline 2021-03-04 15:37:42 +11:00
beantaco
73bc4543f5
Fixes translations of "invalid"
Some instances of "invalid" were translated as "無効" (disabled/ineffective), for example "invalid protocol version" and "corrupted key". In these cases, "無効" has been replaced with "不正" (incorrect/improper).
2021-03-04 04:05:34 +00:00
beantaco
ad4721cf16
Fixes translation of "terms of use" 2021-03-04 04:05:31 +00:00
beantaco
52eaf6e5de
Makes translation of "Session" (software name) consistent
- "セッション" (where it refers to Session) -> "Session"
- Phrases that refer to secure sessions were left untouched.
2021-03-04 04:05:29 +00:00
beantaco
b0729f01a3
Makes translation of "device" consistent
- デバイス
- 端末  <- chosen

Though "デバイス" is now widely used, some Japanese people get confused by "デバイス" either having no idea what it means or thinking it's to do with accessory devices. "端末" has been widely used since the 20th Century and explicitly refers to "terminal" devices like computers and smartphones.

Incidental changes:

- Changes "切り離す" to "リンクを解除する" and similar phrases related to unlinking devices.
- Replaces "[...]" with "「...」"
2021-03-04 04:05:26 +00:00
beantaco
882cc2d8cb
Tweaks translation of "ask (the sender)"
"お願いする" can mean "ask" but is a humble form (謙譲語) of "願う", so is only used when oneself asks others to do something. Technically it cannot be used when prompting the Session user to ask the sender to do something. After a confirmation by quick internet search, I found "頼む" is a better fit.
2021-03-04 04:05:24 +00:00
beantaco
da802ebf8c
Makes translations of "update" consistent
- アプデート
- アップデート
- 更新  <- chosen
2021-03-04 04:05:21 +00:00
beantaco
edbf2f1648
Fixes the strings that specify valid display names 2021-03-04 04:05:19 +00:00
beantaco
f5b3dad025
Replaces "Signal" with "Session" in translation strings 2021-03-04 04:05:14 +00:00
beantaco
62d687c8f8
Improves translation of open groups and closed groups
- open group:   オープングループ -> 公開グループ
- closed group: 閉じたグループ -> 非公開グループ
2021-03-04 04:04:42 +00:00
Ryan ZHAO
88ac390495 plug in closed group message sender 2021-03-04 14:54:32 +11:00
jubb
71d2085cc8 fix: use IO lifecycleScope dispatched coroutine 2021-03-04 14:43:02 +11:00
jubb
c1d3a25f26 fix: use profile update time instead of config sync time 2021-03-04 14:37:55 +11:00
jubb
a8a457932d fix: sync configuration in resume on HomeActivity.kt and set sync specific variables appropriately in the registration flow 2021-03-04 14:19:07 +11:00
Ryan ZHAO
c51593a914 fix sending attachments including link previews 2021-03-04 14:03:18 +11:00
jubb
840cc50a31 fix: clear task after linking device to prevent going back and treating PNModeActivity.kt viewing as seeing welcome screen so the fallback notifications will be used and allow users through without selecting PN type 2021-03-04 13:25:02 +11:00
jubb
6614b76411 fix: set RecoveryPhraseRestoreActivity.kt to treat current time as sync time 2021-03-04 10:55:08 +11:00
jubb
0176cfdac1 fix: start polling before registration for fcm if needed 2021-03-04 10:43:37 +11:00
jubb
85c1d38bb4 fix: only update and fetch a new profile pic if it's actually different from our current one 2021-03-03 15:59:28 +11:00
jubb
1ecc87da76 fix: forcing the registration will cancel and restart the FCM task 2021-03-03 15:43:51 +11:00
Ryan ZHAO
9a00906069 WIP debug sending attachments 2021-03-03 15:14:45 +11:00
jubb
1b417362ae fix: fcm task was not cancelable and cannot remove listeners 2021-03-03 15:07:37 +11:00