Commit graph

233 commits

Author SHA1 Message Date
Maximilian Merz b9a71445dd End error message sentences with a dot.
Reviewed-by: @FredericJacobs
//FREEBIE
2015-01-07 00:33:22 +01:00
Frederic Jacobs bf8f2bb263 Closes #270 #271 #273 2015-01-05 16:31:00 +01:00
Frederic Jacobs f3f3eb55cc Fixes crash (since ee07490) on loading empty MessagesVC
//FREEBIE
2015-01-05 03:15:18 +01:00
Christine Corbett 1784fcf900 Group avatar: Set default one locally if not selected.
Reviewed-by: @FredericJacobs
2015-01-05 00:41:55 +01:00
Christine Corbett c9c4a93715 Members of groups selection
Reviewed-by: @FredericJacobs
2015-01-05 00:41:55 +01:00
dtsbourg ee07490d3e MessagesVC: Paging and fix scrolling bug.
Reviewed-by: @FredericJacobs
2015-01-05 00:29:28 +01:00
Frederic Jacobs 9ae4a435a1 Show name for unregistered contact in threads.
//FREEBIE
2015-01-04 18:19:09 +01:00
Frederic Jacobs 2d850021a0 Fixing bug causing outgoing calls to be cancelled. Closes #264 2015-01-04 15:05:43 +01:00
Frederic Jacobs fc6b4b5549 New wire format
Unnecessary base64 encoding has now been removed.
2015-01-04 12:12:45 +01:00
Christine Corbett 86aea62b86 Groups: Fixes issue discussed in #248
Link: https://github.com/WhisperSystems/Signal-iOS/pull/248#discussion-diff-22403332
Fixes issue with android not being able to create a group due to update group messages being interpreted as unknown group
2015-01-04 11:30:28 +01:00
Christine Corbett 4c0dbeb981 Group avatar fixes
- Resizes group avatars
- Fixing bug causing group avatar to be sent as attachment

Reviewed-by: @FredericJacobs
2015-01-04 11:30:28 +01:00
Frederic Jacobs 7a1a2c2050 Closes #234 2015-01-04 11:30:28 +01:00
Frederic Jacobs eff589af93 Closes #236
- Sublassing errors in case of expected behaviour
- When receiving a new message that was using a previously unknown
identity key, we search for any other messages that are encrypted with
the new accepted key and decrypt those too.
- Addressing some of the warnings we had before.
2015-01-04 11:30:28 +01:00
dtsbourg 4cb3231bb1 Settings: Share fingerprint in tweet (close #210) 2015-01-04 11:30:27 +01:00
Frederic Jacobs 5cf96b2b05 Incoming call when app closed: updates contact label when available. 2015-01-04 11:30:27 +01:00
Frederic Jacobs 0266621ceb Phone calls in MessageView. 2015-01-04 11:30:27 +01:00
Frederic Jacobs 2082c2ada7 Bugfix: Caused private message to not be processed correctly
Protocol buffers do serialise the group structure even if properties
are missing. Always check with .hasGroup instead.
2015-01-04 11:30:27 +01:00
Frederic Jacobs af9f8579b6 Showing name of contact on outgoing phone call 2015-01-04 11:30:27 +01:00
Frederic Jacobs 9b4afebbd5 Preventing "null" notifications on group updates and attachments 2015-01-04 11:30:27 +01:00
Frederic Jacobs c69ce8ad25 Actions on messages notification for replying. 2015-01-04 11:30:27 +01:00
dtsbourg 5961c635e0 MessagesVC: Scrolls to bottom and fixes jumpiness 2015-01-04 11:30:27 +01:00
Frederic Jacobs a93b111458 Groups: Name of leaving user + outgoing message layout. 2015-01-04 11:30:27 +01:00
Christine Corbett e58f9bf966 Groups: Update messages, avatars and bug fixes 2015-01-04 11:30:27 +01:00
Frederic Jacobs 3c568f7044 Bugfix: messages shown as delivered since 312423a
https://github.com/WhisperSystems/Signal-iOS/commit/312423acfca37cf0ad48
08a429de76fde1dd68f5
☝️ @corbett & bad-code review: @FredericJacobs
2015-01-04 11:30:27 +01:00
Frederic Jacobs 93c571daec Removing keying material and wiping messages. 2015-01-04 11:30:27 +01:00
Frederic Jacobs 402df72306 Attachments handling
- Sends image rotated
- If message is delete, delete the attachment db object and file
- Delete attachment from detail view
2015-01-04 11:30:26 +01:00
dtsbourg f2217cacd7 Setting for Image Compression. 2015-01-04 11:30:26 +01:00
Frederic Jacobs 224cea7773 Fixing "jump" on loading MessagesViewController 2015-01-04 11:30:26 +01:00
Christine Corbett 333c920e0b Group functionality
• create
• send/receive full functionality
• basic UI for group updating.

TODOS:
    -group avatars not supported
    -group update occurrence initiated by Android displayed in thread UI but not yet fully

Reviewed-by: @FredericJacobs
2015-01-04 11:30:26 +01:00
Frederic Jacobs c74899661c Removing logging statement. 2015-01-04 11:30:26 +01:00
Frederic Jacobs 8334adb4d9 Attachments: Sending and receiving 2015-01-04 11:30:26 +01:00
Frederic Jacobs 9683451ed9 Rename to 'attachment' 2015-01-04 11:30:26 +01:00
dtsbourg f8db90014d Attachements: Fixing UI issues 2015-01-04 11:30:26 +01:00
Frederic Jacobs db74e17564 Fixing crash on notification style setting 2015-01-04 11:30:26 +01:00
Frederic Jacobs 3dc21ba654 Receiving and displaying attachements 2015-01-04 11:30:26 +01:00
dtsbourg 71ad9beeb2 Fingerprint verification instructions 2015-01-04 11:30:25 +01:00
dtsbourg 29b8fb6eab Settings: Let user pick notification style
Also lets user search for contacts by phone number.
2015-01-04 11:30:25 +01:00
dtsbourg 03073a9c05 Signup: remove unused segue 2015-01-04 11:30:25 +01:00
Frederic Jacobs a55b00552d Removing keyboard when proposing new fingerprint. 2015-01-04 11:30:25 +01:00
Frederic Jacobs e269bd62ee Bugfix: Fixes crash on multiple update. 2015-01-04 11:30:25 +01:00
Frederic Jacobs 80a8c39213 Debug: Logging new password creation. 2015-01-04 11:30:25 +01:00
Christine Corbett c11c4361eb Bugfix: Fixing ordering for compose view.
Reviewed-by: @FredericJacobs
2015-01-04 11:30:25 +01:00
Christine Corbett 6b4f339d7e Identity Key QR verification
• this plumbs in the QR verification for iOS, both scanning contact and having your fingerprint scanned.

Reviewed-by: @FredericJacobs
2015-01-04 11:30:25 +01:00
Frederic Jacobs f67e0d13f0 Support for MITM/key change interface. 2015-01-04 11:30:25 +01:00
Frederic Jacobs d90d27995c Error handling messages and Info Messages 2015-01-04 11:30:25 +01:00
Frederic Jacobs dde6fc0a7f Bug fixes in MessageViewController
- Messages shouldn’t be marked as seen if app in background
- Fixes crash on first delivery receipt
2015-01-04 11:30:25 +01:00
Frederic Jacobs daa6bfd650 Fixing crash in MessagesViewController. 2015-01-04 11:30:25 +01:00
dtsbourg 6868e2234d Messages view fixes
- Delivered tag
- Fix tap to resend recognizer
- Error messages layout

Reviewed-by: @FredericJacobs
2015-01-04 11:30:24 +01:00
dtsbourg 32f1cb3755 Archive/Inbox: Unread layout and other enhancements
- Add lastAction indicator for errors and info in TSThreadViews
- Enable unarchiving and deletion from archive.
- Unread message layout
2015-01-04 11:30:24 +01:00
dtsbourg 7080755787 Signup enhancements.
- Remove unused segue
- Add call to super
2015-01-04 11:30:24 +01:00
Christine Corbett 5b0914c038 Signup flow: request call.
• enables the "Send Again button"
• enables the display of the number the user entered in the Registration View in this subsequent scene (so they can see whether they should go back or not)
• enables the "call me instead button"

Reviewed-by: @FredericJacobs
2015-01-04 11:30:24 +01:00
Frederic Jacobs 83cc102f98 Immediate feedback on send + unread count badges. 2015-01-04 11:30:24 +01:00
Frederic Jacobs b5ba841c67 Support for Archiving. (Closes #213) 2015-01-04 11:30:24 +01:00
dtsbourg 2d722d499b Multiple UI enhancements.
- Addresses consistency in how phone numbers are displayed.
- Auto-Layout constraints for Settings

Review by: @FredericJacobs
2015-01-04 11:30:24 +01:00
dtsbourg 5ddb85b6cc Modal presentation of the setup view.
- Memory efficiency.
- Fixes issue where segues were never unwinded.
- Fixes issues on first launch where initiating a call would show the login screen again.
- Addresses issue where the signup code would not have been added properly after clicking link in SMS.

Reviewed by: @FredericJacobs
2015-01-04 11:30:24 +01:00
Frederic Jacobs 52d84ae006 LaunchScreens and Screen Security. 2015-01-04 11:30:24 +01:00
Frederic Jacobs 8435a800d4 WebSocket Public Key Pinning. 2015-01-04 11:30:24 +01:00
dtsbourg 54dae0639c Messages: Fix delivered label 2015-01-04 11:30:24 +01:00
dtsbourg e70fd6391b General: Screenshot protection (closes #216) 2015-01-04 11:30:23 +01:00
Frederic Jacobs 67a1a41330 Display fingerprints. 2015-01-04 11:30:23 +01:00
Frederic Jacobs 901640507c Removing developer-specific junk. 2015-01-04 11:30:23 +01:00
dtsbourg 91e0b66424 Addresses multiple UI issues.
- New Contact spacing to let user tap call/message icons
- Handeling error messages, delivery receipts, timestamps
2015-01-04 11:30:23 +01:00
Frederic Jacobs d4f5675a58 Supporting alert on unregistered users + bug fixes. 2015-01-04 11:30:23 +01:00
Frederic Jacobs 35a2762c5f Starting background fetching of messages. 2015-01-04 11:30:23 +01:00
Frederic Jacobs 6446c6fbe0 Socket Management 2015-01-04 11:30:23 +01:00
dtsbourg 9b5379b3e2 Messages: Add a failed outgoing message cell 2015-01-04 11:30:23 +01:00
dtsbourg 211e20aaf7 Signup: Locking UI while async requests 2015-01-04 11:30:23 +01:00
Frederic Jacobs 1eff2b3ad5 Rewriting outgoing pipeline with GCD. 2015-01-04 11:30:23 +01:00
Frederic Jacobs 8514836032 Integrating call and messaging buttons. 2015-01-04 11:30:23 +01:00
Frederic Jacobs fbbeff70e4 Handling delivery receipts. 2015-01-04 11:30:22 +01:00
Frederic Jacobs b22579d8f8 Settings and thread fixes. 2015-01-04 11:30:22 +01:00
Frederic Jacobs f1c92b229a Registering by tapping SMS link. 2015-01-04 11:30:22 +01:00
Frederic Jacobs bf9084a7c8 WebSocket reconnect. Casting issues. 2015-01-04 11:30:22 +01:00
Frederic Jacobs 1e3dd3d946 Integration work - thread view 2015-01-04 11:30:22 +01:00
Frederic Jacobs b58d2fb864 Integrating deletion of threads. 2015-01-04 11:30:22 +01:00
Frederic Jacobs d73e42beff Integrating Message View. 2015-01-04 11:30:22 +01:00
dtsbourg 84e12a39c9 ContactDetail: Link notes 2015-01-04 11:30:22 +01:00
dtsbourg b3d2544b1f Signals: Fix mistake in removing observer for Socket Notifications 2015-01-04 11:30:22 +01:00
Frederic Jacobs 0c88202f7b Adapting to changes to SubProtocol and InboxView 2015-01-04 11:30:22 +01:00
Frederic Jacobs 121ef0439c Integrating the TextSecure Contact Discovery. 2015-01-04 11:30:22 +01:00
David Deller 60ceaab70d Fix error not being shown when failing to verify SMS code 2015-01-04 11:30:22 +01:00
dtsbourg e48ea52924 ContactDetail: Fix crash on parsedPhoneNumbers 2015-01-04 11:30:21 +01:00
dtsbourg 60f50e5218 ContactDetail: Remove Favourite button 2015-01-04 11:30:21 +01:00
dtsbourg 756777fd09 InCall: remove blue outline on mute and speaker buttons 2015-01-04 11:30:21 +01:00
Frederic Jacobs faa4473109 SubProto support for WebSocket messages 2015-01-04 11:30:21 +01:00
Frederic Jacobs ad5bb92004 Integrating socket status indicator and remove favorites. 2015-01-04 11:30:21 +01:00
Frederic Jacobs 8b6ac13594 Fixes InCallViewController & contacts not displayed 2015-01-04 11:29:59 +01:00
Frederic Jacobs c9056662e9 Fixing issues with merge
Tried to rebase but there were too many patches to reapply.
2015-01-04 11:29:59 +01:00
Frederic Jacobs 6dd04a49fe Refactoring signup flow, storage, contacts.
- Signal preferences and keying material moved to the unified storage
- Set up for staging environment to try out the new APIs
- Changes in the push registration flow to send token to RP & TS
2015-01-04 11:29:59 +01:00
dtsbourg 95c14ddefb General: Unused views cleanup 2015-01-04 11:29:27 +01:00
dtsbourg 64ab73baeb General: Unused View controller clean up 2015-01-04 11:29:27 +01:00
dtsbourg 6524b08ffc FullImage: Base of pinching, double tapping & zooming 2015-01-04 11:29:27 +01:00
dtsbourg e174215b2a Fix Scale: Set Launch Screen 2015-01-04 11:29:27 +01:00
Frederic Jacobs c3dff810ad Registration refactoring - wip. 2015-01-04 11:29:27 +01:00
Frederic Jacobs b9907b9a32 Laying ground for signup flow refactoring 2015-01-04 11:28:38 +01:00
Frederic Jacobs 43af8c18e3 Merging UI code with some basic TextSecureKit code. 2015-01-04 11:28:38 +01:00
dtsbourg a60bc8be92 Initial Message UI 2015-01-04 11:28:38 +01:00
Ben Sandofsky f65d552f6d Prefix NSArray categories.
Begin process of prefixing categories on Foundation and UIKit. This
follows Cocoa best practices. This makes sense given the number of third
party libraries the project incorporates, which may include their own
colliding category method names.

Use OWS prefix on classes that may be used across apps.
2014-11-20 00:34:47 -08:00
Craig Gidney abb0486ec1 Fixed a warning in PriorityQueueTest, and some dot syntax //FREEBIE
- Also simplified the comparators
2014-11-18 23:17:06 -05:00
Gil Azaria 3ddfd91597 phone/ related bug fixes
- Fixed typo with an isKindOfClass comparison
- Fixed a bug in PhoneNumberDirectoryFilterManager where if an update failed it
  didnt save the retry date
2014-11-06 12:24:33 +11:00