Commit graph

279 commits

Author SHA1 Message Date
Christine Corbett
ccdc4b5d17 Redesign implementation.
Result of stashed commits by @corbett and @abolishme
2015-01-24 16:28:34 -10:00
Frederic Jacobs
60fbfd129a Fixes crashes & edge cases for initials string. 2015-01-18 09:38:26 +01:00
Frederic Jacobs
9e8ba91304 Settings refactoring.
- Renames GroupModel to TSGroupModel for TextSecureKit consistency.
- Refactors the settings into categories (joint work with @dtsbourg)
- Removes settings and logic for background push.
2015-01-16 15:28:41 +01:00
dtsbourg
96dc676bf9 Addresses multiples UI issues.
Closes ##275, #283, #278, #288

Reviewed-by: @FredericJacobs
2015-01-16 15:10:52 +01:00
Christine Corbett
3a43145c23 Closes #282 - Avatar initials placeholder.
Reviewed-by: @FredericJacobs
2015-01-16 14:24:09 +01:00
Christine Corbett
b954ff2445 Closes #261 - Signal 1.0 to 2.0 utility.
Reviewed-by: @FredericJacobs
2015-01-16 14:24:05 +01:00
Christine Corbett
71320a690c Bypass ratchet and network to discuss with self.
Closes #314 #305 #274

Reviewed-by: @FredericJacobs
2015-01-11 13:53:50 +01:00
Christine Corbett
07c539c844 Groups: Showing members joining/leaving.
As discussed in #233, but UI is not adapted for longer string.

Reviewed-by: @FredericJacobs
2015-01-11 02:53:01 +01:00
Christine Corbett
34ba5efe11 Closes #291
Reviewed-by: @FredericJacobs
//FREEBIE
2015-01-07 00:33:47 +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
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
af9f8579b6 Showing name of contact on outgoing phone call 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
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
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
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
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
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
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
121ef0439c Integrating the TextSecure Contact Discovery. 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
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
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
Frederic Jacobs
c3dff810ad Registration refactoring - wip. 2015-01-04 11:29:27 +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
Frederic Jacobs
36a24c5445 Rate Limiting Message was never displayed. 2014-11-02 23:22:55 +01:00
Frederic Jacobs
9fac4209b2 Vibrations and minor fix in audio interrupts 2014-11-02 00:21:59 +01:00
Frederic Jacobs
3031d68523 More advanced fixes for push notifications on iOS7 2014-11-02 00:21:59 +01:00
Gil Azaria
6951fd1fbe Fixed issue #139.
Testing has been completed on outgoing calls only. It is recommended that testing is conducted on incoming calls before a commit to upstream.
2014-11-02 00:21:49 +01:00
Frederic Jacobs
7b388da350 Closes #174 2014-10-16 15:12:36 +02:00
Frederic Jacobs
43ca8b511b Fixing registration issues
Fixes the simulator and client (when permissions disabled) registration
fixes as discussed in #172

//FREEBIE
2014-10-07 00:04:50 +02:00
Frederic Jacobs
d05791e699 Moving away from custom HTTP stack 2014-10-06 01:28:45 +02:00
Frederic Jacobs
510831d701 Auto-layout enhancements + Submit Debug Logs 2014-10-05 19:18:18 +02:00
Frederic Jacobs
cd0bda7105 iOS 8 Support
- Supporting iOS 8
- Updating translations
- Rewriting PushManager to extensively use futures
- Pick up calls directly from the lock-screen
2014-09-15 01:32:19 +02:00
Craig Gidney
f1de95ab06 Recursively added dot syntax, translating more terms when they were encountered in the dif
FREEBIE
2014-09-12 07:21:17 +02:00
Craig Gidney
baaef78323 Using dot syntax for local*, all*, full*, first*, last*, to*, encodedAs*, copy*
FREEBIE
2014-09-07 11:43:53 -07:00
Frederic Jacobs
611f5c5f0b Closes #138 2014-09-02 18:48:48 +02:00
Craig Gidney
ae50395297 Fixed single-character cuts being mistaken for backspace presses
//FREEBIE
2014-09-02 18:11:21 +02:00
Craig Gidney
03ce3635cb Improved the phone number editing during registration
- Fixed a crash where an offset wrapped around when deleting the opening bracket
- Backspacing now skips over formatting characters
- Cursor position is maintained more accurately when reformatting
- Added a few utility methods
- Also fixed a test not having "test" as a prefix, causing it not to run
//FREEBIE
2014-09-02 18:11:11 +02:00
Craig Gidney
5401056d31 Checked indentation, future source results, directory layout, thenTry vs then, dependencies 2014-08-20 19:43:33 -04:00
Craig Gidney
ced4fc8947 Initial work to depend on external futures library instead of internal implementation
Still need to:
- Fix indentation
- Check for any FutureSource being returned instead of FutureSource.future
- Check for then: vs thenTry: mixups
- Check for main thread related issues
- Check for other exception catching issues
- Adjust directory layout
- Manual end-to-end testing
2014-08-20 08:08:32 -04:00
Craig Gidney
4cd30f32ed Using getter syntax for shared*, is*, and has* 2014-08-19 00:14:19 -04:00
Frederic Jacobs
1793d41b8f Merge pull request #116 from Strilanc/modern_0
Using dot syntax for count and length
2014-08-18 20:09:34 +02:00
Frederic Jacobs
dc4e4689e0 Checks and extra logging for login issues 2014-08-14 16:36:17 +02:00
Craig Gidney
9e36872644 Using dot syntax for count and length 2014-08-13 21:13:24 -04:00
Craig Gidney
1e9a3e9a46 Ran "Edit -> Refactor -> Convert to Modern Objective-C Syntax"
- dictionaryWithObject -> @{key: val}
- objectAtIndex -> a[i]
- numberWithBool/Int/etc -> @1, @(val)
- Reverted friendly fire on ProtocolBuffers
- Did not do ANY other changes (including changes to make more refactorings succeed)
//FREEBIE
2014-08-13 12:36:36 +02:00
Frederic Jacobs
50e1b8012b Fixing localization and performance issues
- Cleaning up unused VC xib
- Optimization in Call Server Requests
- Fixing localization issues in Registration flow
- Changing order of labels for the Settings view
//FREEBIE
2014-08-10 01:27:16 +02:00
Frederic Jacobs
619b53cb0b Screen security feature. Closes #31 2014-08-09 18:27:26 +02:00
Frederic Jacobs
f5bbf9d480 Enhancements to certificate pinning
//FREEBIE
2014-08-09 02:39:09 +02:00
Frederic Jacobs
aca4733ac0 Multiple fixes
- Make logging optional if desired
- HTTPS external URLs
- Clean app data when re-registering
- If registration future fails, bring back user interaction
2014-08-09 01:01:05 +02:00
Frederic Jacobs
5ac7acfbc5 Enhancements in the verification flow
- Certificate Pinning with AFNetworking
- Block syntax for number validation
- Fixes null debug logs
2014-08-02 13:57:50 +02:00
Frederic Jacobs
46b869628e Closes #80 #37
- Use of new Keychain Access attribute
- Error management (notifying the user) when opening app without
required push and microphone permission
- Enforcing APNID are sent to server, retry later if not able to reach
server
2014-08-01 19:27:55 -04:00
Hannes Hofer
9703e601b0 slight refactoring to fit code style
slightly refactored to fit code style of project
2014-07-31 13:24:23 -07:00
Hannes Hofer
bde62ed7cb do not reposition cursor to end of number on change
restore cursor position after update.
cursor position must be restored after update.
when non number chars are deleted or inserted move cursor position for -1 or 1 respectively
2014-07-31 13:06:08 -07:00
Hannes Hofer
d8ee13f040 respect cursor position for insert and delte
cursor position was not respected on delete and insert.
new numbers were always inserted on last position
on delte the last digit was erased regardless of cursor position.
cursor postition is respected now, but cursor is rest to last position on delte/insert
2014-07-31 12:19:30 -07:00
Frederic Jacobs
c73e6b65eb Transitioning off custom preference files 2014-07-30 21:03:20 -04:00
Frederic Jacobs
29bd2f0787 Closes #25 2014-07-19 13:30:19 -10:00
Frederic Jacobs
9260116fac New wording for support features 2014-07-19 13:00:52 -10:00
Frederic Jacobs
b574fcda59 Using PastelogKit 2014-07-19 12:25:22 -10:00
Frederic Jacobs
556769cff9 Changes for arm64 and Clang redefined-types 2014-07-17 02:02:09 +02:00
Frederic Jacobs
5e9285ef60 Fixing #18 2014-07-11 23:40:12 +02:00
Frederic Jacobs
196d63fee7 Re-registering, generating new server passwords 2014-07-11 19:41:16 +02:00
Frederic Jacobs
2cdb05754c Bug fixes + Keychain store 2014-07-11 00:33:51 +02:00
Frederic Jacobs
fe41d3379c Adding more logging to address the initialization issues 2014-07-06 19:18:56 +02:00
Frederic Jacobs
407c64f6e1 Additional call anonymous logging 2014-07-03 18:45:06 +02:00
Frederic Jacobs
6d76b8b27b Localized challenge alertview 2014-07-03 15:00:59 +02:00
Frederic Jacobs
2a58c03b9f Localized sign up messages and gist log upload 2014-07-03 03:12:34 +02:00
Frederic Jacobs
9d6ca82e84 Production logging & sign up error handling 2014-06-30 17:14:33 +02:00
Frederic Jacobs
a6bf143855 Cleaner Keychain storage 2014-05-07 00:33:20 +02:00
Frederic Jacobs
6373507108 initial commit 2014-05-06 19:41:08 +02:00