Ryan Zhao
b32a8cbab2
fix alert vc for iPad
2 years ago
Ryan Zhao
a8c7f517eb
clean
2 years ago
ryanzhao
d27faf551b
reduce unnecessary database read
2 years ago
ryanzhao
5954c109a1
Fix an issue where message would be sent even though the attachments are failed to upload
2 years ago
Ryan Zhao
6d99976a9c
database migrate for unread mention
2 years ago
Ryan Zhao
36907d3af0
improve mention and unread message count
2 years ago
Morgan Pretty
47314bd639
Added a notification to indicate the user has a new message request
...
Fixed a bug where the notification count could be increased for message requests
Fixed a bug where an approved contact could be 'unapproved' due to an order of execution issue when generating the config sync message
Fixed a check to avoid registering for push notifications when on the simulator (old check didn't cater for M1 Macs)
Moved the 'hasHiddenMessageRequests' into the group user defaults so it can be accessed within the notification extension
Added code to handle an edge case where an old client could incorrectly un-approve a contact via a legacy configuration message
2 years ago
Ryan Zhao
a86310b0f5
improve global search performance
2 years ago
Morgan Pretty
ef09d4d5aa
Additional encryption work on id blinding
...
Got the updated blinding logic working (at least when authenticating a request - still need to deal with message signing and verification)
Storing the server capabilities in the database now so we can correctly blind requests based on them
Renamed the remaining 'v2' functions and classes to just be 'OpenGroup' since there isn't a 'V2' anymore
Cleaned up a few TODOs and functions
2 years ago
Morgan Pretty
63e6cdd9ec
Renamed OpenGroupAPIV2 to OpenGroupAPI
...
Added the inbox endpoints
2 years ago
Ryan Zhao
63e0a5285c
minor refactor to prevent dead lock
2 years ago
Morgan Pretty
c90f346d6a
Further SOGS V4 integration work
...
Added in the v4 onion requests logic
Added in the new pin/unpin APIs
Split up additional legacy methods to try and simplify the refactoring
Added a number of TODOs around usage of legacy request methods
2 years ago
Morgan Pretty
2284375fc0
Started work on updated SOGS support
...
Split the OpenGroupAPIV2 into separate files
Started working on the new auth and blinded-id approaches (new auth working with un-blinded id suggesting blinded-id code is incorrect)
Updated the SOGS request/response types to use Codable
Updated the SOGS Request type to use enums instead of strings for keys (to reduce likelihood of typos breaking things)
Updated SessionMessagingKit to use Codable and JSONEncoder/JSONDecoder instead of the legacy JSONSerialization
Cleaned up some naming conventions in the SessionMessagingKit (calling a URLRequest body 'parameters' is very confusing...)
Removed the custom TSRequest class (just using standard URLRequest everywhere instead)
Added a number of extension functions to enable some more functional-coding styles
Added extensions to Sodium methods to allow scalar multiplication and the ability to hash providing a salt and a personalisation value (both needed for new SOGS auth)
Fixed an issue where the legacy auth for SOGS could crash due to threading issues (multiple threads accessing the same variable)
Fixed an issue where if you were in two rooms in a single SOGS and deleted one of them, the other room would stop getting updates as the server public key was getting removed
2 years ago
Morgan Pretty
394b0646a3
Updated the code to support additional session id prefixes
2 years ago
Morgan Pretty
27d9e41eaf
Fixed a couple of build errors due to merging dev
2 years ago
Ryan Zhao
2d9f962a97
Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2
3 years ago
Morgan Pretty
cd61fb8df0
Merge branch 'dev' into feature/message-requests
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
3 years ago
Morgan Pretty
4d62ddbd77
Merge branch 'dev' into fix/safari-sharing
...
# Conflicts:
# Podfile.lock
3 years ago
Morgan Pretty
9db5083cc5
Built out the Message Request functionality
...
Added the MessageRequestsViewController
Added a 'Message Requests' button to the settings screen
Added accept/reject buttons for message requests to the ConversationVC
Added the ability to hide the message request item on the HomeVC (re-appears if you get a new message request)
Added code to handle an edge-case where the message request approval state wouldn't be returned to the sender due to the recipient running an old version of the app
Prevented contacts which aren't associated with an approved thread from appearing when creating a closed group
Disabled notifications for threads which aren't approved
Updated the app notification count to exclude unapproved messages
Updated the app to ignore closed group creation messages if the group has no admins which are approved contacts
Fixed up the keyboard avoidance behaviour in the ConversationVC
Fixed a couple of minor interaction issues which affected some devices
Fixed an issue where the database migrations would run on the 2nd launch when creating a new account (causing odd behaviours)
3 years ago
Ryan Zhao
16f6d49cec
add note to self to the default global search screen with empty search text
3 years ago
Morgan Pretty
09d63456b6
Merge branch 'dev' into fix/safari-sharing
...
# Conflicts:
# Podfile
# Podfile.lock
# Session.xcodeproj/project.pbxproj
3 years ago
Ryan Zhao
c1c5678056
implement animation for selected search result message flickering
3 years ago
Ryan Zhao
3a626ed80a
fix a deadlock issue
3 years ago
ryanzhao
fed1218538
WIP: global search UI
3 years ago
Morgan Pretty
2fedba4cea
Addressed PR changes
...
Added NVActivityIndicatorView to the SessionShareExtension.
Removed the SignalAttachmentType.
3 years ago
Morgan Pretty
3b07be4eed
Fixed a couple of crashes
...
Fixed an issue where sharing form Safari without adding comments would result in an invalid message getting sent.
Fixed a crash when sharing plain text from safari.
Fixed a crash when localising 'OK' (key and value can't be the same when using the new extension).
3 years ago
Morgan Pretty
f02f53fc49
Added code to show a HTTP LinkPreview error
...
Added code to indicate the app won't load LinkPreviews for HTTP urls.
Updated the title & subtitle layout to better handle LinkPreview errors.
Missed an Objective C change in the last commit.
3 years ago
Morgan Pretty
2018e94df8
Updated audio attachments to allow scrubbing.
3 years ago
Morgan Pretty
e6c90c5e18
Finished off UI clean up
...
Fixed a couple more vertical alignment issues with certain attachment types.
Finished cleaning up the MediaMessageView UI code (removed old code).
3 years ago
Morgan Pretty
67ad965859
Link Preview error state and UI standardisation
...
Added a couple of error states for Link Preview loading.
Standardised the UI creation code style.
Removed some debug and redundant code.
3 years ago
Morgan Pretty
61f809caee
Fixed a couple of bugs and started UI refactoring
...
Refactored the UI creation and layout code in the attachments UI.
Started refactoring the UI in the MediaMessageView (converting the existing stuff and will then consolidate when done).
Fixed a bug where playing a video attachment would result in the zoom continually getting reset.
Fixed a bug where the attachment zoom scale would randomly change causing odd behaviours.
3 years ago
Morgan Pretty
dd9eeb5d61
Added initial support for sharing URLs and text
...
Updated the share extension to load URL previews.
Updated the ThreadPickerVC to send plain text & URLs in the same way they are sent for normal messages.
3 years ago
Morgan Pretty
3c32ed7cc1
Merge branch 'fix/m1-build-issues' into fix/safari-sharing
...
# Conflicts:
# Podfile.lock
3 years ago
Morgan Pretty
ab9f2a0c7b
Minor formatting and code cleanup of attachments
3 years ago
Morgan Pretty
4f3faa28bc
Refactored SessionShareExtension code to Swift
3 years ago
ryanzhao
cef39f4ba3
make image rotation consistent with icon
3 years ago
RyanZhao
1558309805
Merge pull request #536 from RyanRory/copy-paste-image
...
Copy / paste images directly
3 years ago
Ryan Zhao
d74af622bc
fix photos from original camera is rotated in the preview page
3 years ago
Ryan Zhao
6225c12ced
minor improvement on pre-sending file page icon
3 years ago
Ryan Zhao
300f6f50cf
add size label for file type attachment
3 years ago
RyanZhao
2a26eda36b
Merge pull request #531 from RyanRory/1.11.19
...
1.11.19 bug fixes and improvements
3 years ago
Ryan Zhao
4f1093beca
improve translation and notificaiton displaying
3 years ago
Ryan Zhao
1cc2f17469
pin conversations
3 years ago
Ryan Zhao
2cb006c3e4
Fix image orientation
3 years ago
ryanzhao
b315510ec2
Revert "improve attachment image quality"
...
This reverts commit ad4e65e6e1
.
3 years ago
ryanzhao
ad4e65e6e1
improve attachment image quality
3 years ago
ryanzhao
1899a3fe3d
fix sharing not work for session
3 years ago
ryanzhao
42d4e07724
add @ symbol when there is mention in unread messages
3 years ago
Ryan Zhao
885e9296d1
Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message
3 years ago
Niels Andriesse
dff9f287b8
Resolve FIXME
3 years ago
Ryan Zhao
e2a0578770
cancel local notifications for unsend requests
3 years ago
Niels Andriesse
556e13cc72
Fix crash
3 years ago
Ryan Zhao
38a19ad2d1
don't add badge for messages with no mention
3 years ago
Niels Andriesse
483ed4792f
Fix localization & clean
3 years ago
ryanzhao
f0d2826403
add thread flag for only notifying mentiongs
3 years ago
Niels Andriesse
ca862096b4
Rename profilePictureEncryptionKey → profileEncryptionKey
3 years ago
Niels Andriesse
519ffa4405
Fully switch to the new contact API
...
This should improve performance significantly as it avoids many unnecessary sync transactions. It also makes the code more readable.
3 years ago
Niels Andriesse
d2161545d6
WIP
3 years ago
Brice-W
2f0fe36905
add expiration timer to configuration message
3 years ago
Niels Andriesse
3fda8daec9
Merge branch 'dev' into cleanup
3 years ago
Niels Andriesse
5e1a33c32e
Switch to dedicated server
3 years ago
Niels Andriesse
54a8e9d2e0
Merge pull request #410 from RyanRory/no-badge-for-muted-threads
...
Don't Count Muted Threads in Badge Number Calculation
3 years ago
Niels Andriesse
cdf27a631a
Fix profile picture handling
3 years ago
Ryan ZHAO
fa13778d70
fix the badge number for muted threads
3 years ago
Niels Andriesse
38a7c93967
Fix profile picture handling
3 years ago
Niels Andriesse
3d35face94
Fix crash
3 years ago
Niels Andriesse
e3671291c5
Merge branch 'dev' into cleanup
3 years ago
Niels Andriesse
90c8060b98
Fix missing user defaults update
3 years ago
Niels Andriesse
57206c4a5c
Fix loader
3 years ago
Niels Andriesse
9bf8fe0a48
Fix missing user defaults update
3 years ago
nielsandriesse
06f795169b
Merge branch 'dev' into cleanup
3 years ago
nielsandriesse
a098ba7125
Remove unused code
3 years ago
nielsandriesse
49f3b9f7db
Rename contactIdentifier → contactSessionID
3 years ago
nielsandriesse
21acdfc835
Clean up thread model
3 years ago
Niels Andriesse
d742fc1548
Delete V1 OGS & file server
3 years ago
Niels Andriesse
e9df213bfe
Put feature flags in one place
3 years ago
Niels Andriesse
f7613e09bf
Convert remaining file server usages
3 years ago
Niels Andriesse
862b4c0512
Delete unused OWSAttachmentDownloads
3 years ago
Ryan ZHAO
d897952ce0
use sent timestamp instead of received timestamp for sorting and UI
3 years ago
Niels Andriesse
8a54a243a4
Fix long conversation crash the right way
3 years ago
Niels Andriesse
919fcf7ef1
Mark existing contacts as trusted
3 years ago
Niels Andriesse
d3412be955
Merge branch 'dev' into deferred-attachment-downloads
3 years ago
Niels Andriesse
009f690f1e
Clean
3 years ago
Niels Andriesse
b43f22945c
Stop running contacts migration
3 years ago
Ryan ZHAO
513775b952
add comments
3 years ago
Ryan ZHAO
9dab07f41c
set kConversationInitialMaxRangeSize back to 100 and fix the crash
3 years ago
Niels Andriesse
44783ddfef
Update ConfigurationMessage for V2 open groups
3 years ago
nielsandriesse
c6f4443eed
Update more logic for V2 open groups
3 years ago
Niels Andriesse
8738829358
Fill in media saved notification implementation gaps
3 years ago
Niels Andriesse
92304fa590
Clean & debug
3 years ago
nielsandriesse
ca977decab
Re-run contacts migration
3 years ago
Niels Andriesse
a8d0952278
Merge branch 'dev' into refactoring
3 years ago
Niels Andriesse
dd0baf0d97
Unify contacts APIs
3 years ago
Niels Andriesse
0283180cf2
Remove profile picture borders
3 years ago
Niels Andriesse
205ff8a660
Prepare for upcoming contact changes
3 years ago
Niels Andriesse
9969284a2b
Clean
3 years ago
Niels Andriesse
73bbaf9ce7
Potentially fix attachment issue
3 years ago
Niels Andriesse
50b6862815
Fix color and incorrect offset
3 years ago
Niels Andriesse
8fd0cf79b9
Don't sync blocked contacts
3 years ago
nielsandriesse
be466c26fc
Only include contacts with a visible thread
3 years ago
nielsandriesse
643bfbdb41
Include contacts in configuration message
3 years ago
nielsandriesse
f488453140
Update configuration message for contacts
3 years ago
Niels Andriesse
10e6d114a0
Sync profile updates
3 years ago
Niels Andriesse
f6ced55003
Debug
3 years ago
Niels Andriesse
e945a6779f
Include profile in configuration sync message
3 years ago
Niels Andriesse
c4bd4cea6a
Clean up conversation settings screen
3 years ago
nielsandriesse
0735fb556f
Mostly implement media sending nuts & bolts
3 years ago
nielsandriesse
3e7de541cb
Redesign voice message recording UI
3 years ago
Niels Andriesse
90e53e5cef
Redesign conversation screen part 1
4 years ago
Niels Andriesse
464e8864af
Clean up onboarding
4 years ago
Niels Andriesse
e38aaa4e0e
Merge branch 'closed-groups' into multi-device
4 years ago
Niels Andriesse
632027134c
Fix migrations being run before everything's set up
4 years ago
Niels Andriesse
cf333d5e3d
Merge branch 'closed-groups' into multi-device
4 years ago
Niels Andriesse
bbac6cc5ed
Attempt to fix extensions
4 years ago
Niels Andriesse
867e9114a6
Merge branch 'dev' into multi-device
4 years ago
Niels Andriesse
5a3ed9163b
Fix various warnings
4 years ago
Niels Andriesse
6dd2d2e72f
Put up a notice if the user is creating a very large group
4 years ago
Niels Andriesse
672026b8bf
Clean
4 years ago
nielsandriesse
e38dae5a05
Replace PublicChatManager
4 years ago
nielsandriesse
947287e42f
Debug
4 years ago
nielsandriesse
9eefc21eb9
Periodically send configuration messages
4 years ago
nielsandriesse
d6314c8d30
Handle configuration messages
4 years ago
nielsandriesse
2a46544542
Re-organize files
4 years ago
Niels Andriesse
4c4ec0c039
Remove unused code
4 years ago
Niels Andriesse
a6e44ca0f0
Clean
4 years ago
nielsandriesse
d5e1237b0c
Allow admins to leave & fix remaining issues
4 years ago
nielsandriesse
c7d3f3e32d
Implement V1 to V2 closed groups migration
4 years ago
nielsandriesse
de384fd4d9
Ensure legacy closed groups still work
4 years ago
Niels Andriesse
d76949516b
Remove more unused code
4 years ago
Niels Andriesse
71758b0c00
Remove the Signal protocol
4 years ago
Niels Andriesse
15c0fd9414
Merge branch 'dev' into cleanup
4 years ago
Niels Andriesse
451e629605
Fix open group profile picture bug
...
#314 without merge conflicts
4 years ago
Niels Andriesse
ef2bdf724e
Debug
4 years ago
Niels Andriesse
9901f04dc3
Implement contacts migration
4 years ago
Niels Andriesse
2ba0f5d4e4
Remove unused files
4 years ago
Niels Andriesse
ad3f04a8f8
Merge pull request #318 from loki-project/session-protocol
...
Session Protocol
4 years ago
Niels Andriesse
fa02ea11de
Show message sending status bar earlier
4 years ago
nielsandriesse
9ebb448b5f
Fix crash
4 years ago
Niels Andriesse
3f5bc18f6b
Fix remaining TODOs
4 years ago
Niels Andriesse
5cf732709b
Handle PN mentions
4 years ago
Niels Andriesse
00549a993f
Debug
4 years ago
Niels Andriesse
f0cbdb8cda
Fix share extension
4 years ago
nielsandriesse
d6c115bc2a
Fix module linking issue
4 years ago
nielsandriesse
ec4b26e76a
Debug
4 years ago
nielsandriesse
000249b744
Debug
4 years ago
nielsandriesse
add2c467e4
Restructure
4 years ago
Niels Andriesse
21810a0c4c
Fix closed group message status handling
4 years ago
Niels Andriesse
ad66d71775
Fix group thread layout bug
4 years ago
Niels Andriesse
b0712522eb
Compress images a bit more
4 years ago
nielsandriesse
c5a7d39518
Clean
4 years ago
nielsandriesse
d39e155e1c
Make link previews work again
4 years ago
nielsandriesse
20faa8e914
Debug
4 years ago
nielsandriesse
addc859c84
Fix duplicate messages & debug
4 years ago
nielsandriesse
e3304a40f9
Fix attachment quoting
4 years ago
nielsandriesse
896ca8f0bd
Fix profile picture updating
4 years ago
nielsandriesse
f04db2afb1
Add missing save(with:)
4 years ago
Niels Andriesse
a88ce33ee0
WIP
4 years ago
Niels Andriesse
3eae001202
Fix disappearing messages
4 years ago
Niels Andriesse
341782f255
Fix profile handling
4 years ago
Niels Andriesse
1ddb8ac50e
Resolve more TODOs
4 years ago
Niels Andriesse
ac6baec6f2
Make things compile again
4 years ago
nielsandriesse
1037ce5113
WIP
4 years ago
nielsandriesse
5dfd4b1965
Restructure
4 years ago
nielsandriesse
178ab7e3e2
WIP
4 years ago
nielsandriesse
5e476e8330
Fix coding issues
4 years ago
nielsandriesse
19c29b2bf9
WIP
4 years ago
nielsandriesse
70fb7eb185
Fix thread updating issue
4 years ago
nielsandriesse
ce7a23c401
Make sure sending errors bubble up to the user
4 years ago
nielsandriesse
921e2bced6
Debug
4 years ago
nielsandriesse
4317b17e7e
Fill in some gaps
4 years ago
Niels Andriesse
aec182f36c
WIP
4 years ago
Niels Andriesse
bbd3ecd54a
Delete ClosedGroupsProtocol
4 years ago
Niels Andriesse
ac1bbb3de1
Handle open group message ID
4 years ago
Niels Andriesse
d7c71a8c06
Make things compile again
4 years ago
nielsandriesse
b218a16b05
Implement attachment downloading
4 years ago
nielsandriesse
961878f74c
Parse attachment pointers
4 years ago
nielsandriesse
7d207ddfb7
Organize files
4 years ago
nielsandriesse
9f4d72f2f5
Make quotes work again
...
Also organize files
4 years ago
Niels Andriesse
4a31a84daa
Fix messages showing up as failed
4 years ago
Niels Andriesse
9242f971fd
Fix timestamp handling
4 years ago
Niels Andriesse
2e85d5fb41
Fix message sending status bar
4 years ago
Niels Andriesse
a48fc40aa6
WIP
4 years ago
Niels Andriesse
72b4c3edaf
WIP
4 years ago
Niels Andriesse
30370bf4d2
Make basic message sending work
4 years ago
Niels Andriesse
4f3448d75d
Remove more Signal code
4 years ago
nielsandriesse
58802936c1
Finish message receiving pipeline
4 years ago
nielsandriesse
97545de75e
Handle expiration timer updates
4 years ago
nielsandriesse
7e9eb2f138
Make typing indicators work & implement job resuming
4 years ago
Niels Andriesse
b030b5999b
Make messages show up again
4 years ago
nielsandriesse
f36f447bec
Ditch unused Signal code
4 years ago
nielsandriesse
14c87139c6
Merge branch 'dev' into refactor-4
4 years ago
nielsandriesse
6dc3184b2a
Merge branch 'dev' into refactor-3
4 years ago
nielsandriesse
aba4cda143
WIP
4 years ago
nielsandriesse
15c6784f0f
WIP
4 years ago
nielsandriesse
f706e38ef7
Debug
4 years ago
nielsandriesse
e819d8f536
Update dependencies
4 years ago
nielsandriesse
1c0b32af3c
Fix ECKeyPair usage
4 years ago
nielsandriesse
000e907d47
Clean up Podfile
4 years ago
nielsandriesse
7e213c71d5
Make everything build again
4 years ago
nielsandriesse
ffa64e4747
Merge SignalMessaging into SignalUtilitiesKit
4 years ago