3873 Commits

Author SHA1 Message Date
nielsandriesse
837ca48cde Minor refactoring 2020-09-02 16:14:57 +10:00
Niels Andriesse
2866bdd0f1
Merge pull request #311 from RyanRory/open-group-missing-messages
Fix Missing Messages in Open Groups
2020-09-02 16:13:15 +10:00
nielsandriesse
906deb3ada Add copy Session ID button for one-to-one chats 2020-09-02 16:03:23 +10:00
Ryan ZHAO
cf49bf81fc fix missing messages in open groups 2020-09-02 14:44:15 +10:00
Anton Chekulaev
2e31900957 Merge branch 'dev' into light-theme
# Conflicts:
#	res/layout/activity_create_closed_group.xml
2020-09-02 13:33:16 +10:00
Anton Chekulaev
33876c2fc9 Use localized strings for UI mode dialog. 2020-09-02 13:24:02 +10:00
Anton Chekulaev
4b939358e9 Themes & styles cleanup. 2020-09-02 12:47:56 +10:00
Niels Andriesse
8e6920f37e
Merge pull request #309 from loki-project/shared-sender-keys
Remaining Shared Sender Keys Bits & Pieces Part 1/2
2020-09-02 12:06:03 +10:00
nielsandriesse
154181f518 Fix group leaving 2020-09-02 12:03:15 +10:00
Anton Chekulaev
4a39fe9588 Conversation activity theme tweaks. 2020-09-02 11:55:01 +10:00
nielsandriesse
2732b95940 Show a loader while the group is being created 2020-09-02 11:47:54 +10:00
Niels Andriesse
9865bdeece
Merge pull request #310 from RyanRory/open-group-date-handling
Fix Open Group Date Handling
2020-09-02 10:59:40 +10:00
nielsandriesse
146df2c5ef Fix incorrect database query 2020-09-02 10:22:19 +10:00
nielsandriesse
239efa7fc2 Merge branch 'dev' into shared-sender-keys 2020-09-02 09:49:19 +10:00
Anton Chekulaev
0992ad4e5b Outlined icons for conversation input panel. 2020-09-01 19:22:30 +10:00
nielsandriesse
fcc6304247 Fix path rebuilding 2020-09-01 18:30:54 +10:00
nielsandriesse
d26712bdb4 Slightly reduce background poll interval 2020-09-01 17:02:08 +10:00
Anton Chekulaev
156b2687b8 Better brand button style for the light mode.
QR code fragment themed.
Minor adjustments to the brand colors for light mode.
2020-09-01 16:58:30 +10:00
nielsandriesse
ef509d3c58 Show build number in app settings 2020-09-01 16:27:10 +10:00
nielsandriesse
968177c012 Add logs 2020-09-01 10:38:16 +10:00
Ryan ZHAO
c0a8e6991d fix open group date handling 2020-09-01 09:48:14 +10:00
Anton Chekulaev
b05350b5aa Daynight theme for media preview & overview activities. 2020-08-31 23:16:15 +10:00
Anton Chekulaev
4da13f8541 Merge remote-tracking branch 'loki/master' into light-theme 2020-08-31 19:54:47 +10:00
Anton Chekulaev
12f509c07e Merge remote-tracking branch 'loki/master' into thumbnail-attach-loading-indicator 2020-08-31 19:48:10 +10:00
Anton Chekulaev
7cc67daf80 DB attachment record gets properly updated on upload error.
Individual loading indicators per conversation item thumbnail.
2020-08-31 19:46:05 +10:00
nielsandriesse
e7b2e3a223 Debug 2020-08-31 16:03:46 +10:00
nielsandriesse
5957afa147 Debug SSK based closed group editing 2020-08-31 14:54:03 +10:00
nielsandriesse
52f50e3252 Fix SSK based closed group size inconsistency 2020-08-31 13:53:31 +10:00
nielsandriesse
e391ad8edd Fix attachment upload retrying 2020-08-31 10:47:39 +10:00
Anton Chekulaev
f3bb40e024 Loading indicator for message thumbnail view. 2020-08-28 17:38:19 +10:00
Anton Chekulaev
fe1362187e Use proper file URI for QR code sharing. 2020-08-27 20:53:50 +10:00
Anton Chekulaev
f11478585d Merge branch 'dev' of https://github.com/loki-project/session-android into light-theme 2020-08-27 15:51:54 +10:00
Anton Chekulaev
9d0d2cb07e Light theme feature intro bottom sheet. 2020-08-27 15:50:35 +10:00
nielsandriesse
8705d8675b Update comment 2020-08-27 15:49:16 +10:00
Niels Andriesse
a0b2f5dfb5
Merge pull request #300 from metaphore/qr-code-share-fix
Fix Share QR Code Crash
2020-08-27 15:47:41 +10:00
nielsandriesse
6139e81799 Update comment 2020-08-27 15:38:47 +10:00
Niels Andriesse
0234ddfd72
Merge pull request #298 from loki-project/photo-sending-bug
Fix Attachment Upload Retrying
2020-08-27 15:29:18 +10:00
Anton Chekulaev
83a36b327a Use default shared preferences for UI mode utils. 2020-08-27 14:52:57 +10:00
Anton Chekulaev
1cc1afb8bf Settings activity imports cleanup. 2020-08-27 14:38:41 +10:00
Anton Chekulaev
3a6fe98f1f Day/night UI mode settings selector. 2020-08-27 14:38:25 +10:00
Ryan ZHAO
3b84448d38 fix issues 2020-08-27 14:25:13 +10:00
Anton Chekulaev
4f97989154 Fixed status bar styling for lollipop devices.
Simplified ic_circle_plus drawable.
2020-08-27 12:30:27 +10:00
nielsandriesse
019af3e7ee Clean 2020-08-27 11:16:39 +10:00
Anton Chekulaev
104fb31ce9 Merge branch 'dev' of https://github.com/loki-project/session-android into light-theme 2020-08-27 11:00:55 +10:00
Ryan ZHAO
f80e7e169b use server timestamp to sort the open group messages 2020-08-27 10:49:15 +10:00
nielsandriesse
d976861cb9 Merge branch 'dev' into photo-sending-bug 2020-08-27 09:36:01 +10:00
Niels Andriesse
a31c58a25a
Merge pull request #301 from metaphore/media-send-emoji-panel-fix
Fix MediaSendActivity Crash
2020-08-27 09:32:30 +10:00
Niels Andriesse
d2f053aeec
Merge pull request #299 from Bilb/minor-string-fixes
Improved Russian Translation & Reduced Minimum Closed Group Size
2020-08-27 09:04:54 +10:00
Anton Chekulaev
d930dcd9fa Manual day night switch button for settings activity. 2020-08-26 23:12:01 +10:00
Anton Chekulaev
88efb2c08c Bottom sheet styles were actually fixed. 2020-08-26 22:30:17 +10:00
Anton Chekulaev
2c42bdd1a5 Flat style for the styled Session buttons.
Fixed home activity bottom sheet uses wrong colors.
2020-08-26 22:19:45 +10:00
Anton Chekulaev
81d58dabe6 Theming for giphy activity. 2020-08-26 19:02:40 +10:00
Anton Chekulaev
ce0159f5cc Merge branch 'dev' into light-theme 2020-08-26 15:10:13 +10:00
Anton Chekulaev
c8677a904c Fixed emoji keyboard on media send activity crashes the app. 2020-08-26 13:50:42 +10:00
Anton Chekulaev
c437d69069 Fixed QR code share crashes the app. 2020-08-26 12:47:29 +10:00
Audric Ackermann
8184fccb8e
make minimum group members count 1 rather than 2 2020-08-26 11:49:19 +10:00
nielsandriesse
b7a2de3572 Let AttachmentUploadJob handle retrying
This way we can better handle e.g. authorization issues
2020-08-26 10:42:22 +10:00
Niels Andriesse
71f338430e
Merge pull request #297 from loki-project/photo-sending-bug
Fix Attachment Download Retrying
2020-08-26 09:01:05 +10:00
Anton Chekulaev
9f689c56dc Consistent action bar styles. 2020-08-25 23:52:42 +10:00
Anton Chekulaev
724d323125 Share activity complies with day/night configuration. 2020-08-25 20:34:30 +10:00
Anton Chekulaev
2252dea0a1 Better status and navigation bar colors. 2020-08-25 20:21:08 +10:00
Anton Chekulaev
810afe8e7e Theme hierarchy refactoring.
Force dark theme for media send activity.
2020-08-25 19:43:00 +10:00
nielsandriesse
9426d095e6 Clean up AttachmentDownloadJob 2020-08-25 15:24:08 +10:00
Anton Chekulaev
b04028f629 Merge remote-tracking branch 'loki/dev' into light-theme 2020-08-25 15:11:51 +10:00
Anton Chekulaev
47a1cb2a73 Temporary force dark theme for media send activity.
Emoji toggle got themed icons.
2020-08-25 15:08:42 +10:00
Ryan ZHAO
73ae18feac fix if iOS sets an expire timer in a closed group, it gets turned off when Android sends a message 2020-08-25 12:02:14 +10:00
Anton Chekulaev
5e5b88148d Audio view and message bubbles properly themed. 2020-08-24 18:38:48 +10:00
Anton Chekulaev
afe90200f1 Dividers for home screen conversation items.
Themed common/dialog button styles.
2020-08-24 16:46:12 +10:00
nielsandriesse
927fcb84ac Minor refactoring 2020-08-24 15:38:29 +10:00
Niels Andriesse
07d26756ca
Merge pull request #288 from RyanRory/restoration-fix
Fix Restoration From Seed
2020-08-24 15:36:21 +10:00
Anton Chekulaev
1191353fde Conversation scroll date label themed.
New muted icon.
2020-08-24 15:33:01 +10:00
nielsandriesse
4d7b179008 Minor refactoring 2020-08-24 14:47:28 +10:00
Anton Chekulaev
9cb0a18a85 Consistent dialog styles. 2020-08-24 14:43:24 +10:00
Anton Chekulaev
fd52fdd042 User view is now compatible with light theme. 2020-08-24 13:34:34 +10:00
Anton Chekulaev
cd32885db6 Conversation menu resources adjusted for light theme support. 2020-08-24 12:52:50 +10:00
Anton Chekulaev
61b3cca246 Missed import. 2020-08-24 11:46:50 +10:00
Anton Chekulaev
59b94a1744
Update ContactSelectionListFragment.kt
Manual loader destruction and logging for the loader callback activity check.
2020-08-24 11:43:09 +10:00
Ryan ZHAO
aed2941da7 show session reset done message 2020-08-24 11:41:39 +10:00
Anton Chekulaev
dcb6dea430 Merge branch 'dev' into light-theme 2020-08-24 11:19:36 +10:00
Ryan ZHAO
16e93f6356 update info message when reset the session 2020-08-24 10:45:33 +10:00
nielsandriesse
72999c7d12 Hopefully fix crash 2020-08-24 09:11:48 +10:00
Anton Chekulaev
9d7d7689e2 Labeled separator view styling refactoring. 2020-08-21 17:10:49 +10:00
Ryan ZHAO
8a125244f6 Merge branch 'dev' of https://github.com/loki-project/session-android into restoration-fix 2020-08-21 15:42:24 +10:00
Ryan ZHAO
f18d5a3b82 ignore session request before restoration & Automatically rebuild session after restoration 2020-08-21 15:40:19 +10:00
Ryan ZHAO
cb5e82ac84 fix session request sent timestamp data type from DB 2020-08-21 15:39:45 +10:00
Ryan ZHAO
ad5b2eceb7 Don't show error messages before restoration 2020-08-21 15:39:13 +10:00
Anton Chekulaev
a5408fa4f4 Merge branch 'dev' of https://github.com/loki-project/session-android into light-theme 2020-08-21 15:07:57 +10:00
Anton Chekulaev
dd37adee5c Layouts' default background replaced with a proper theme level window background.
Bottom sheet style unified.
2020-08-21 15:06:39 +10:00
nielsandriesse
1a013e9a19 Patch bad mac issues 2020-08-21 14:23:23 +10:00
Anton Chekulaev
fef7154cb4 Conversation input light theme fixes. 2020-08-20 20:36:56 +10:00
Anton Chekulaev
743731eeb0 Old QR code icons replaced with a material lightweight one. 2020-08-20 18:08:10 +10:00
Anton Chekulaev
ec24e3ea4a Merge branch 'dev' of https://github.com/loki-project/session-android into light-theme 2020-08-20 17:49:25 +10:00
Anton Chekulaev
6aaa2dbabd Settings activity toolbar and display name editing refactoring. 2020-08-20 17:48:41 +10:00
Anton Chekulaev
37a3ae9c32 Day theme partially applied. 2020-08-20 16:47:15 +10:00
nielsandriesse
7e99aec410 Fix messed up database table 2020-08-20 10:32:31 +10:00
nielsandriesse
af1f45a6e4 Fix received message hash values storage 2020-08-20 09:19:00 +10:00
nielsandriesse
cc6c6dab3d Fix legacy closed group messaging 2020-08-19 16:32:15 +10:00
nielsandriesse
39792ef7f9 Fix SSK based closed group updating copy 2020-08-19 15:31:35 +10:00
nielsandriesse
fa664d0725 Attempt to fix key store crash 2020-08-19 14:31:56 +10:00
nielsandriesse
c35c08340d Fix delivery receipts 2020-08-19 13:39:02 +10:00
Anton Chekulaev
2f09440355 Merge fixes. 2020-08-19 13:38:49 +10:00
nielsandriesse
e1841db991 Fix crash 2020-08-19 12:15:02 +10:00
nielsandriesse
38464bf1f7 Fix crash 2020-08-19 11:53:04 +10:00
Anton Chekulaev
d30465c6ed Merge branch 'dev' into light-theme 2020-08-19 11:49:49 +10:00
Anton Chekulaev
720afa8fbe Resource and style cleanup. 2020-08-19 11:48:16 +10:00
nielsandriesse
a5abfc2755 Fix crash 2020-08-19 11:40:34 +10:00
nielsandriesse
75881273d5 Fix crash 2020-08-19 11:36:54 +10:00
nielsandriesse
15d7a073f9 Hopefully fix file loading crash 2020-08-19 11:29:52 +10:00
nielsandriesse
96736a8095 Raise deployment target and migrate to AndroidX 2020-08-19 10:06:26 +10:00
nielsandriesse
6e2cbb23cc Exclude existing group members from the add members screen 2020-08-18 15:40:24 +10:00
Niels Andriesse
dadfd17632
Merge pull request #276 from RyanRory/bug-fix
Fix bugs in the Bug Report 1/2
2020-08-18 13:10:24 +10:00
nielsandriesse
43909c3501 Disable member list button 2020-08-18 10:22:21 +10:00
nielsandriesse
f0aa843825 Tweak edit closed group screen layout 2020-08-18 10:05:24 +10:00
nielsandriesse
74dac84796 Implement remaining feedback 2020-08-18 09:34:22 +10:00
nielsandriesse
fdec8eae4b Fill in stub 2020-08-18 09:01:55 +10:00
nielsandriesse
5b641f4415 Minor refactoring 2020-08-18 08:55:17 +10:00
nielsandriesse
d2ea5b32bd Merge branch 'dev' into closed-group-editing-2 2020-08-17 15:08:03 +10:00
nielsandriesse
5fb569030a Disable SSKs for now 2020-08-17 14:39:13 +10:00
nielsandriesse
9d9affe4f9 Fix group ID handling 2020-08-17 14:29:24 +10:00
Anton Chekulaev
e4d2e572ca User cannot remove himself from the edit closed group activity. 2020-08-17 12:12:25 +10:00
Anton Chekulaev
b6b5282a51 Edit closed group activity follows the same data validation as create closed group activity. 2020-08-17 11:10:31 +10:00
Anton Chekulaev
64f3bfd41d Closed group protocol stub update method. 2020-08-17 10:53:02 +10:00
Anton Chekulaev
3e05a616ce Edit closed group activity layout refactoring. 2020-08-14 19:26:56 +10:00
Anton Chekulaev
f7923cd8a4 Merge branch 'dev' into editgroup 2020-08-14 17:47:48 +10:00
Anton Chekulaev
f5ff045b5d Select contacts activity cleanup. 2020-08-14 17:08:28 +10:00
Anton Chekulaev
d9599b984a User count validation for edit closed group activity. 2020-08-14 16:48:56 +10:00
Anton Chekulaev
15d463161a Create closed group activity refactoring. 2020-08-14 15:23:06 +10:00
Anton Chekulaev
6664c2baa7 Edit closed group activitiy cleanup. 2020-08-14 14:52:15 +10:00
Anton Chekulaev
f88558a719 Merge branch 'dev' into editgroup 2020-08-13 17:26:45 +10:00
nielsandriesse
865f4b90ad Disable SSKs for now 2020-08-13 10:45:24 +10:00
nielsandriesse
cb1aad425a Fix group leaving 2020-08-13 09:31:04 +10:00
nielsandriesse
2f0135a413 Fix group ID handling 2020-08-13 08:49:17 +10:00
nielsandriesse
bbc7acfcaf Fix info messages 2020-08-12 16:07:55 +10:00
nielsandriesse
12a6bc724d Don't send read receipts in groups 2020-08-12 14:06:18 +10:00
nielsandriesse
c88d0f0520 Open group after it's created 2020-08-12 12:22:16 +10:00
nielsandriesse
418079732b Request sender keys as needed 2020-08-12 12:08:10 +10:00
nielsandriesse
bed1600cbb Fix group leaving 2020-08-12 11:56:00 +10:00
nielsandriesse
158c7f13c3 Make the initial message send a bit quicker 2020-08-12 11:21:41 +10:00
nielsandriesse
7a41432433 Notify the user when an SSK based closed group is created or updated 2020-08-12 11:20:45 +10:00
nielsandriesse
fcb2bbb768 Debug 2020-08-12 10:00:35 +10:00
nielsandriesse
c9c902218e Fix SSK message sending 2020-08-11 19:32:10 +10:00
nielsandriesse
d8986f6147 Clean 2020-08-11 18:27:23 +10:00
nielsandriesse
8a86b93dd1 Validate closed group update messages 2020-08-11 15:05:13 +10:00
nielsandriesse
96f235423d Debug 2020-08-11 13:31:21 +10:00
nielsandriesse
6c5034f4b3 Make group leaving use the SSK API 2020-08-11 12:20:17 +10:00
nielsandriesse
e2ce43c3cd Debug 2020-08-11 11:51:51 +10:00
nielsandriesse
80bbeee7ce Debug message sending 2020-08-11 09:59:07 +10:00
nielsandriesse
8e14c7abb6 Debug 2020-08-10 16:54:59 +10:00
nielsandriesse
61050444f9 Switch new closed group activity over to SSKs 2020-08-10 16:38:40 +10:00
nielsandriesse
97b35d769a Integrate SSKs into the decryption pipeline 2020-08-10 16:15:42 +10:00
nielsandriesse
86837f031a Integrate SSKs into the encryption pipeline 2020-08-10 15:29:36 +10:00
nielsandriesse
1e223c90ca Minor refactoring 2020-08-10 13:44:47 +10:00
nielsandriesse
63da8023e7 Partially revert database changes
Fixing this is going to require a (big) migration
2020-08-10 13:38:07 +10:00
nielsandriesse
09c668acb2 Start and stop the closed group poller as needed 2020-08-10 11:48:27 +10:00
nielsandriesse
2c22ab70b7 Update database for SSKs 2020-08-10 11:40:43 +10:00
nielsandriesse
4ac15190bb Implement ClosedGroupPoller 2020-08-10 09:53:37 +10:00
nielsandriesse
1e16a940fe Clean & debug 2020-08-10 09:23:51 +10:00
nielsandriesse
13dd8dd250 Finish ClosedGroupsProtocol 2020-08-07 16:30:41 +10:00
nielsandriesse
8931d904e5 Implement SSK group member removing 2020-08-07 15:41:53 +10:00
Ryan ZHAO
df15743c04 fix text got cut off when sending an image with a text message 2020-08-07 15:13:08 +10:00
nielsandriesse
7eb59c1400 Implement SSK group member adding
Also finish group creation
2020-08-07 13:47:40 +10:00
nielsandriesse
6be509c657 Implement ClosedGroupUpdateMessageSendJob 2020-08-07 13:25:26 +10:00
nielsandriesse
15f3942838 Clean 2020-08-07 10:53:36 +10:00
nielsandriesse
944f85ddb9 Partially implement SSK group creation 2020-08-07 10:17:35 +10:00
nielsandriesse
a5a53adc47 Re-order files 2020-08-07 09:20:22 +10:00
nielsandriesse
c2d1953116 Clean ClosedGroupsProtocol ahead of SSK changes 2020-08-07 09:15:36 +10:00
nielsandriesse
9c3814df9c Implement shared sender keys database 2020-08-07 08:52:13 +10:00
Ryan ZHAO
79a66d9bd3 fix mention in notifications 2020-08-06 14:42:24 +10:00
nielsandriesse
a151a96474 Show device unlinked message upon clearing secondary device 2020-08-06 12:22:52 +10:00
nielsandriesse
00cecf3e63 Clean 2020-08-05 14:34:36 +10:00
nielsandriesse
bf9ddf04c4 Allow any display name 2020-08-05 13:15:52 +10:00
nielsandriesse
66d7f0aeaa Make new private chat screen edit text done button work 2020-08-05 10:01:25 +10:00
nielsandriesse
e76afd0051 Fix crash 2020-08-05 09:25:29 +10:00
nielsandriesse
322087b83d Unregister the user from FCM when they clear their data 2020-08-04 15:41:10 +10:00
nielsandriesse
e1d17ae831 Clear secondary devices 2020-08-04 15:37:39 +10:00
nielsandriesse
6efef1d148 Disable multi device 2020-08-04 15:33:37 +10:00
nielsandriesse
38db29c20d Update file size limit for onion requests 2020-07-31 16:23:40 +10:00
nielsandriesse
1d4a3bbe08 Fix excessive retrying 2020-07-31 11:32:09 +10:00
Niels Andriesse
1ff663bf45
Merge pull request #270 from RyanRory/photo-issues
Fix Photo Uploading Bugs
2020-07-31 10:05:47 +10:00
nielsandriesse
f56e3be1d4 Implement multi device removal sheet 2020-07-30 16:53:34 +10:00
nielsandriesse
ce1a4a2a1c Add learn more button 2020-07-30 09:36:12 +10:00
nielsandriesse
c46ef8ad4e Fix build 2020-07-30 09:26:45 +10:00
Ryan ZHAO
cd07c15fa3 fix uri matcher for renamed name space 2020-07-29 15:45:10 +10:00
nielsandriesse
0b9494aa43 Debug 2020-07-29 10:03:50 +10:00
nielsandriesse
43acedd91b Update for core changes 2020-07-29 09:04:24 +10:00
nielsandriesse
69c00a2be0 Update for core changes 2020-07-28 14:41:02 +10:00
nielsandriesse
a95da2c219 Fix Giphy crash 2020-07-21 11:51:01 +10:00
nielsandriesse
a742ecd574 Fix crashes 2020-07-20 09:20:25 +10:00
nielsandriesse
e3f107b00c Fix incorrect contacts being synced 2020-07-17 15:06:16 +10:00
nielsandriesse
68821b98aa Make blocking take into account multi device 2020-07-17 14:56:01 +10:00
nielsandriesse
f97f4d071d Fix user's messages being ignored after re-joining open group 2020-07-17 14:40:15 +10:00
nielsandriesse
12f70f188e Make the app work with RTL languages 2020-07-17 12:10:25 +10:00
nielsandriesse
1e892568af Handle session request expiration 2020-07-17 09:05:37 +10:00
nielsandriesse
13b6bff206 Remove redundant line 2020-07-17 08:49:24 +10:00
nielsandriesse
8004313868 Debug 2020-07-16 14:51:48 +10:00
nielsandriesse
0818b4c0e2 Clean 2020-07-16 14:15:36 +10:00
nielsandriesse
5344d6aa64 Handle syncing of blocked contacts 2020-07-16 13:49:46 +10:00
nielsandriesse
662d9c7c63 Sync blocked contacts across devices 2020-07-16 12:49:37 +10:00
nielsandriesse
56c2cd3ca9 Replace swipe to delete by a bottom sheet 2020-07-16 11:58:11 +10:00
nielsandriesse
c388d31873 Implement blocking 2020-07-16 11:20:39 +10:00