Commit Graph

220 Commits

Author SHA1 Message Date
alansley
e812527358 Merge branch 'dev' into strings-squashed 2024-08-20 13:27:35 +10:00
Fanchao Liu
16d6efbb5b
SES-2524 - Rewrite media gallery in Compose (#1619) 2024-08-19 13:46:38 +10:00
alansley
5cbe289a8d Merge dev and cleanup 2024-08-06 11:30:50 +10:00
bemusementpark
41f5fcc67e Merge branch 'dev' into more-snodes 2024-08-05 13:52:23 +09:30
bemusementpark
f9ace6a9b9 Add LruCache and thread-safety 2024-08-05 10:26:52 +09:30
bemusementpark
fa0abef243 Fix Snode Version CACHE usage 2024-08-05 09:59:02 +09:30
bemusementpark
f5d1debc32 Add shared SecureRandom instance 2024-08-04 00:18:47 +09:30
bemusementpark
61cb602e63 Simplify and document some functions 2024-08-03 22:49:23 +09:30
bemusementpark
5417660996 Improve Version to cap parts at 16-bits rather than masking them 2024-08-03 21:52:01 +09:30
bemusementpark
3c8302f7a4 Optimise SnodeAPI further 2024-08-03 21:19:31 +09:30
bemusementpark
482f169df1 Refactor SnodeApi 2024-08-03 02:46:42 +09:30
bemusementpark
b93ec3be04 Optimise Snode and Snode.Version 2024-08-02 12:22:25 +09:30
fanchao
aa1db13e3a Initial squash merge for strings 2024-07-26 11:34:05 +10:00
bemusementpark
0a08eb62d4 Fix leak Response body 2024-07-24 22:18:43 +09:30
ThomasSession
9c3513f68e
Merge pull request #1563 from oxen-io/release/1.18.5
Release/1.18.5
2024-07-23 18:28:40 +10:00
ThomasSession
79ae27d7b6
Snode version patch (#1561)
* Snode version number

Getting the version number from the API and checking the last node in the onion routing, making sure its version is at least 2.8.0

* Clearing the snode and onion request dbs on launch

* Removing logs

* Tweak to snode filtering

* PR feedback
2024-07-23 17:52:53 +10:00
bemusementpark
73bd407203 Optimise Validation 2024-07-16 01:07:20 +09:30
bemusementpark
b453f69bfd Prefer to fail with InputTooShort over InvalidWord 2024-07-11 21:48:53 +09:30
bemusementpark
30ee3946ef Merge branch 'od' into on-2 2024-07-11 15:07:46 +09:30
bemusementpark
71f04678cf Error-out when you scan an account id when trying to recover an account 2024-07-10 23:38:07 +09:30
AL-Session
2e3acd902f
SS-2168 - User profile warnings (#1531)
* Profile picture upload fail informs user

* End of day push

* Push before trying with okhttp library update

* WIP

* Further WIP

* Add additional debug comments

* Push before cleanup

* Cleaned up

* More cleanup

* Minor adjustment

* Final cleanup prior to PR review

* Removed commented out old conscrypt version import

* Addressed PR feeback from Fanchao

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-07-09 16:23:26 +10:00
bemusementpark
7111bb7725 Merge branch 'od' into on-2 2024-07-03 12:12:51 +09:30
AL-Session
a30f00104e
[SS-54] Add dialog to allow local deletion if network deletion fails (#1526)
* WIP

* Push before attempting some HTTPRequestFailedException rate limiting

* Functionality now works

* Merging dev resulted in some subproject commit change so pushing that

* Fixes #1525

* Addressed Andy PR feedback

* Addressed further PR feedback from Andy

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-07-02 16:42:49 +10:00
bemusementpark
508547a013 Defer setting display name until necessary in create flow in onboarding 2024-07-02 13:41:01 +09:30
Andrew
8cc7e65abf Fix empty recovery password error 2024-06-28 18:33:07 +09:30
Andrew
3cc00caeab Check recovery password is hex if its not a mnemonic 2024-06-28 12:43:40 +09:30
Andrew
1cd7a57515 Ignore extra spaces and special characters in Recovery Password entry 2024-06-27 21:45:13 +09:30
Andrew
ff6c0fb6f5 Accept mnemonic as hex in QR codes 2024-06-26 18:01:33 +09:30
Andrew
432a2816ab Merge branch 'od' into on-2 2024-06-25 23:40:34 +09:30
Andrew
72dccaa1d3 Add MnemonicCodecTest 2024-06-25 19:11:13 +09:30
fanchao
0547dde554 Remove the use of executor in ThreadUtils 2024-06-24 14:05:06 +10:00
Andrew
71e7dfb131 Fix NewMessage with ONS 2024-06-18 11:28:36 +09:30
Andrew
e44b401bd5 Fix New Message ONS request timeout 2024-06-15 00:36:10 +09:30
Andrew
2a73e944e7 Merge branch 'on' into on-2 2024-05-22 12:29:46 +09:30
Andrew
7045c7bd18 Merge branch 'dev' into on 2024-05-22 12:29:13 +09:30
AL-Session
658f7de30e
[SES-1930] Catch HTTP exceptions from threads (#1491)
* Catch HTTP exceptions

* Fixes #1490

* Removed catch blocks that won't actually catch due to thread execution pool reasons & added a thread limiting mechanism to prevent excessive thread creation (when the queue is full then further tasks are queued)

* Corrected thread exception catching (hopefully)

* Addressed PR feedback

* Reverted build number bump used for testing without reinstall

* Added print of stack trace to any caught thread exceptions

* Log exception directly and do not print stack trace on thread exception

* Added TAG for logging output

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-05-22 08:43:47 +10:00
Andrew
e25b90b229 Improve new convo error messages 2024-03-27 12:22:53 +10:30
Andrew
4279c4b456 Merge branch 'dev' into on 2024-03-15 10:24:52 +10:30
Andrew
8fc83213ba Simplify /MnemonicCodec 2024-03-13 13:13:34 +10:30
0x330a
d12bce54bd feat: add basic last sent legacy message DB migration and creation for banner 2023-11-13 08:38:33 +11:00
andrew
892e4b75ec Merge branch 'dev' into disappear-2 2023-10-06 12:01:23 +10:30
0x330a
84bc1dcb6b
Update session libsodium (#1326)
* chore: update dependencies for the libsodium dependency and replace aar

* fix: update gradle dependencies to work with integration tests

* fix: test

* refactor: make it use espresso wait

* refactor: bring compose dependencies back to stable releases
2023-10-04 15:17:27 +11:00
andrew
0b11e182ff Merge branch 'dev' into disappear-2 2023-08-30 10:59:00 +09:30
0x330a
2466d9b4c0
[SES-1002] Synced blind requests (#1303)
* feat: update config to use blinded-msg-requests pr

* feat: add block community message requests bool to protos

* feat: add everything needed for recipientDB to have blocked community requests potentially

* feat: add db migrations

* feat: add sending community block flags and preference options

* feat: add parsing block request flag

* fix: open group message requests were broken anyway

* fix: delete all encoded open group inbox ID bs, fix privacy settings using user config as privacy store

* feat: initial creation sets flag, rename to match libsession implementation value

* fix: recipient blinded checks from open group message for blocking community requests on blinded ID version of recipient, use correct (inverted) values from before for checking polling and empty states etc

* fix: pr comments for view model factory context ref, simplified user config object check for category in PrivacySettingsPreferenceFragment

* fix: pr comments

* fix: migrate some dependencies and functionality out of VM into repository to remove content resolver and context dependecy so tests pass again

* refactor: better naming for hidesInputBar and add more tests for expected recipient view states

* fix: use contact information as opposed to active conversations

* fix: PR comments
2023-08-28 09:51:48 +10:00
andrew
bcf925c132 Cleanup 2023-08-06 22:22:39 +09:30
0x330a
bcb2071f44
fix: compile issues and dependencies resolved to use shared configs throughout apps 2023-07-31 17:19:38 +10:00
0x330a
6bd970c869 build: rebuild protos 2023-07-25 13:31:12 +10:00
0x330a
36df2b37df Merge remote-tracking branch 'origin/disappearing-messages' into disappearing-messages
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
#	libsession/src/main/java/org/session/libsession/messaging/messages/control/MessageRequestResponse.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
#	libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt
#	libsignal/src/main/java/org/session/libsignal/protos/SignalServiceProtos.java
2023-07-25 13:14:29 +10:00
andrew
002793baed Merge branch 'dev' into add-unregister 2023-07-24 09:52:11 +09:30
0x330a
74ee433eec fix: more merge conflict compile issues 2023-07-19 00:02:43 +10:00