Commit Graph

182 Commits

Author SHA1 Message Date
Niels Andriesse
bb1eb2310c Supply fake Accept-Language header 2021-07-09 15:10:11 +10:00
Niels Andriesse
7a388deb78 Supply fake User-Agent header 2021-07-09 14:50:35 +10:00
Brice-W
a71273e813 refactor 2021-06-21 14:03:08 +10:00
jubb
fdc042e6d4 feat: testnet clearing network data on delete and differentiating dialogs 2021-06-18 16:01:34 +10:00
Brice-W
59d9063774 proto update 2021-06-18 15:08:30 +10:00
Harris
11f64a1d1a feat: add snode method delete_all with data class for params, refactoring ClearAllDataDialog.kt to handle async requests better and prevent ANR 2021-06-17 18:29:05 +10:00
Brice-W
534e0e8e69 proto updated 2021-06-09 11:03:18 +10:00
ryanzhao
ae23266058 wip: implement ons name 2021-05-26 16:34:08 +10:00
Niels Andriesse
dfd3ccc5d2 Clean 2021-05-21 15:56:38 +10:00
Niels Andriesse
49c3ffd9ca Remove redundant code 2021-05-21 15:02:34 +10:00
Niels Andriesse
7208bb0421 Fix build 2021-05-18 15:03:17 +10:00
Niels Andriesse
68225e00be Clean 2021-05-18 14:45:37 +10:00
Niels Andriesse
7c3bee036c Speed up Gradle sync 2021-05-18 14:18:16 +10:00
Niels Andriesse
8a20c46bd4 Fix missing compile target 2021-05-18 14:08:21 +10:00
Niels Andriesse
81b0530163 Clean up libsession Gradle file 2021-05-18 13:27:51 +10:00
Niels Andriesse
caa1c77ed4 Clean up libsignal Gradle file 2021-05-18 13:13:25 +10:00
Niels Andriesse
e75de841c9 Remove unused dependencies 2021-05-18 11:55:50 +10:00
Niels Andriesse
47ff53d559 Remove SignalServiceMessageReceiver 2021-05-18 09:54:16 +10:00
Niels Andriesse
c1548a4e51 Move files 2021-05-18 09:50:16 +10:00
Niels Andriesse
dc8938c269 Move protos 2021-05-18 09:44:06 +10:00
Niels Andriesse
c124f86f6b Move protos 2021-05-18 09:36:20 +10:00
Niels Andriesse
961972a723 Move protos 2021-05-18 09:34:45 +10:00
Niels Andriesse
fa205c8915 Fix packages 2021-05-18 09:29:10 +10:00
Niels Andriesse
c9ebcc580f Move files 2021-05-18 09:26:08 +10:00
Niels Andriesse
40d2fd25d9 Move files 2021-05-18 09:21:56 +10:00
Niels Andriesse
ce3b32c03e Move files 2021-05-18 09:17:22 +10:00
Niels Andriesse
a88322a033 Move files 2021-05-18 09:12:33 +10:00
Niels Andriesse
e598d73539
Merge pull request #516 from Brice-W/media-saving
Fix Saving Media Files
2021-05-17 15:47:18 +10:00
Niels Andriesse
5fd99cd8f1 Fix indentation 2021-05-17 13:50:53 +10:00
Niels Andriesse
11e223f5d8 Merge branch 'dev' into open-group-invitations 2021-05-17 11:42:27 +10:00
Brice-W
f5a99b43c7 Merge branch 'dev' of https://github.com/loki-project/session-android into open-group-invitations 2021-05-14 10:32:12 +10:00
Niels Andriesse
649bfee647 Fix HTTP utility 2021-05-14 08:56:54 +10:00
Niels Andriesse
1efd516eaf Fix HTTP utility 2021-05-14 08:56:08 +10:00
Niels Andriesse
d9348c5442 Remove weird roundabout way of doing decryption 2021-05-13 15:27:08 +10:00
Niels Andriesse
7c5b4aafec Debug 2021-05-13 13:19:08 +10:00
Niels Andriesse
115bc9b159 Speed up path building 2021-05-13 10:31:06 +10:00
Brice-W
b2a924ebf8 views created + database storage 2021-05-12 08:40:10 +10:00
jubb
8439d57115 refactor: let the periodic work run more frequently and never fail from excessive retries preventing from re-running.
remove resume pending jobs from ApplicationContext onCreate and handle in home activity's onCreate instead.

prevent some illegal argument exceptions from Random.kt by returning null if empty
2021-05-10 17:07:10 +10:00
Brice-W
d98cef3c77 Merge branch 'dev' of https://github.com/loki-project/session-android into open-group-invitations 2021-05-07 09:34:24 +10:00
jubb
35aec04ac9 feat: member counts in v2 open group ConversationActivity 2021-05-05 13:52:15 +10:00
jubb
fa528c47d5 Merge remote-tracking branch 'upstream/dev' into open_groups_V2
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActivity.java
#	app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
#	app/src/main/java/org/thoughtcrime/securesms/loki/database/LokiMessageDatabase.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/protocol/MultiDeviceProtocol.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/MentionCandidateSelectionView.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/MentionCandidateView.kt
#	libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/ClosedGroupPoller.kt
#	libsession/src/main/java/org/session/libsession/messaging/utilities/DotNetAPI.kt
#	libsession/src/main/java/org/session/libsession/utilities/mentions/Mention.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/Mention.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/utilities/mentions/Mention.kt
2021-05-03 15:37:53 +10:00
Brice-W
bb25877515 light refactor + OpenGroupUrlParser implementation & unit test 2021-05-03 14:15:39 +10:00
Brice-W
99a62d9e99 adding openGroupInvitation types in proto & class 2021-04-30 16:00:13 +10:00
jubb
ef19c0d10e fix: fixing up LokiMessageDatabase.kt table structure, deletion closer to finished 2021-04-29 17:13:42 +10:00
Brice-W
76c253ee77 Merge branch 'dev' of https://github.com/loki-project/session-android into media-saving 2021-04-29 13:53:50 +10:00
Niels Andriesse
761c12addd Clean 2021-04-29 10:02:07 +10:00
jubb
51554f1cdf Merge remote-tracking branch 'upstream/dev' into open_groups_V2, working on compact poller implementation
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActivity.java
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationFragment.java
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/activities/HomeActivity.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/api/BackgroundPollWorker.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/api/PublicChatManager.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/database/LokiThreadDatabase.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/protocol/MultiDeviceProtocol.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/utilities/MentionManagerUtilities.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/utilities/OpenGroupUtilities.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/MentionCandidateView.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/ProfilePictureView.kt
#	libsession/src/main/java/org/session/libsession/messaging/StorageProtocol.kt
#	libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentDownloadJob.kt
#	libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentUploadJob.kt
#	libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/Destination.kt
#	libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt
#	libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupMessageV2.kt
#	libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupV2.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt
#	libsession/src/main/java/org/session/libsession/messaging/utilities/DotNetAPI.kt
#	libsession/src/main/java/org/session/libsession/snode/OnionRequestAPI.kt
#	libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt
#	libsession/src/main/java/org/session/libsession/snode/SnodeMessage.kt
#	libsession/src/main/java/org/session/libsession/utilities/mentions/MentionsManager.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/api/SwarmAPI.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/api/opengroups/PublicChat.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/utilities/mentions/MentionsManager.kt
2021-04-28 17:41:30 +10:00
jubb
7f0962b3d4 Merge branch 'fix_profile_nulls' into open_groups_V2
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActivity.java
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationFragment.java
#	libsession/src/main/java/org/session/libsession/messaging/StorageProtocol.kt
2021-04-28 13:53:50 +10:00
Brice-W
a5e376b616 import of Signal's code to deal with attachments saving 2021-04-28 09:22:19 +10:00
Niels Andriesse
fdede1c656 Clean 2021-04-26 11:39:23 +10:00
Niels Andriesse
25307068e8 Match iOS protobuf 2021-04-26 11:06:00 +10:00
Niels Andriesse
979c21ccbf Fix duplicated API 2021-04-23 16:09:47 +10:00
jubb
1e164f8648 feat: adding default group handling to frontend viewmodel 2021-04-20 17:22:36 +10:00
jubb
aea23a6fc1 feat: finishing up OpenGroupAPIV2.kt calls 2021-04-19 10:16:38 +10:00
jubb
96e604d06b feat: more opengroup in chat manager, poller and API. refactor mentions to libsession 2021-04-15 17:17:55 +10:00
Brice-W
9cdcdc43a6 redesign of group update messages management 2021-04-14 16:37:04 +10:00
jubb
0eadc55325 feat: add open group v2 storage and db methods, starting on new open group v2 poller 2021-04-13 17:17:16 +10:00
Brice-W
30b47a32cb Merge branch 'dev' of https://github.com/loki-project/session-android into specific-group-updates 2021-04-08 15:21:46 +10:00
Niels Andriesse
8400c7606b
Merge pull request #493 from hjubb/pin_seed_certs
Introduce service node seed certificates
2021-04-07 15:12:13 +10:00
jubb
b149886068 feat: add certificate pem files, set up network security config and point seed pools to port accordingly 2021-04-07 14:49:52 +10:00
jubb
7121aa85fb refactor: use OpenGroupAPI.kt instead of PublicChatAPI.kt for all open group operations.
Syncing open group notify conversation list listeners debounced so UI doesn't freeze on initial syncs
2021-03-31 15:15:50 +11:00
jubb
1c1ce1424b fix: replace elvis on optional proto object with protobuf has flag check 2021-03-23 11:39:14 +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
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
Brice-W
ddede475b4 Start of Update messages builder class implementation & usage for Input group updates 2021-03-19 16:25:00 +11:00
Ryan ZHAO
95646ed04e make error description show in the message detail activity 2021-03-16 16:31:52 +11:00
Ryan ZHAO
d7e525d828 clean 2021-03-12 14:52:59 +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
Brice-W
6bc832f50a DataExtractionNotification type created and added to proto 2021-03-09 16:27:12 +11:00
Ryan ZHAO
d9eaedd6ae hook up sending pipeline & clean 2021-03-02 12:24:09 +11:00
jubb
d1b41a8933 feat: generate protobufs for new contacts 2021-02-25 10:45:07 +11:00
jubb
af35b68cb6 feat: add required annotations to match iOS 2021-02-25 10:39:06 +11:00
jubb
ee1f9fc790 feat: add contacts message in config message 2021-02-25 10:38:45 +11:00
Ryan ZHAO
d5343d5462 Merge branch 'dev' of https://github.com/loki-project/session-android into refactor_clean_0 2021-02-24 16:39:04 +11:00
Niels Andriesse
851efb6f6e
Merge pull request #457 from hjubb/config_profile_info
Adding profile information to the config sync messages
2021-02-24 15:57:35 +11:00
jubb
62db34de59 feat: generate SignalServiceProtos 2021-02-23 15:54:48 +11:00
jubb
2fffcfa927 feat: add display, pfp and profile key to config message 2021-02-23 15:43:52 +11:00
jubb
7d7dbd7632 feat: add push notifying in the message sender to prevent self sends 2021-02-23 09:49:19 +11:00
Ryan ZHAO
8c016b3802 clean up signal service protocols 2021-02-22 11:29:22 +11:00
Ryan ZHAO
1db9ccdf27 clean up: signal service protocols 2021-02-22 10:41:27 +11:00
Ryan ZHAO
88bbc0b677 clean up stickers 2021-02-22 10:21:06 +11:00
Ryan ZHAO
19a829d011 WIP: clean up signal protocols (stickers) 2021-02-22 10:06:40 +11:00
Ryan ZHAO
04f140ee09 WIP: clean up signal service protos 2021-02-22 09:31:29 +11:00
Ryan ZHAO
b34809f4d5 WIP: clean up signal protocol 2021-02-19 16:06:10 +11:00
Ryan ZHAO
8cc78e8f4c WIP: clean up unused exceptions 2021-02-19 15:28:26 +11:00
Ryan ZHAO
d8104c0d5c WIP: clean up signal protocol storage 2021-02-19 15:11:30 +11:00
Ryan ZHAO
1e1b3e02e1 clean up session cipher, sealed session cipher, and old message version 2021-02-19 13:36:05 +11:00
Ryan ZHAO
f0020ea811 clean up decryption call back 2021-02-19 11:47:40 +11:00
Ryan ZHAO
bbd067873a WIP: clean up signal protocol 2021-02-19 11:35:06 +11:00
Ryan ZHAO
958ec690f1 WIP: clean up signal protocols 2021-02-19 11:03:58 +11:00
Ryan ZHAO
1a907fcf54 WIP: clean up signal protocol 2021-02-18 17:05:34 +11:00
Ryan ZHAO
0d2f5e0cde further cleaning on V1 multi device 2021-02-18 15:12:30 +11:00
Ryan ZHAO
9d0831b874 remove shared sender keys 2021-02-18 14:14:05 +11:00
Ryan ZHAO
20ec889730 clean up V1 closed group 2021-02-17 16:09:36 +11:00
Ryan ZHAO
3285975b1a WIP: clean up V1 multi device 2021-02-17 10:51:02 +11:00
Jubb
069719d568 fix: re-add sync message send to self 2021-02-15 12:27:01 +11:00
jubb
5a892b2932 Merge remote-tracking branch 'origin/add_sync_target' into testing_multi_merge
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/notifications/SingleRecipientNotificationBuilder.java
#	libsignal/src/main/java/org/session/libsignal/service/api/SignalServiceMessageSender.java
2021-02-11 14:12:22 +11:00
jubb
34fab9681c fix: closed groups info messages work now 2021-02-11 14:01:31 +11:00
jubb
fd0596f9ea fix: closed groups now propagate properly without self-sends 2021-02-10 17:57:08 +11:00