Commit Graph

47 Commits (1b621fc56df78d114851f67f014e9c0093850577)

Author SHA1 Message Date
Matthew Chen 82d1517460 Landscape orientation. 7 years ago
Matthew Chen 928525c31e Rename home view.
// FREEBIE
8 years ago
Matthew Chen 2e727a24b5 Convert home view to programmatic layout.
// FREEBIE
8 years ago
Michael Kirk ff93732ed7 WIP: fix call from contacts when signal hasn't been launched yet 8 years ago
Matthew Chen fe0ddb53d2 Clean up ahead of PR.
// FREEBIE
9 years ago
Matthew Chen 3508feaec3 Convert FingerprintViewController to programmatic layout.
// FREEBIE
9 years ago
Matthew Chen eeb510b903 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 4ac78d9b41 Replace app settings segue.
// FREEBIE
9 years ago
Matthew Chen 7f3d76d8bb Convert the app settings view to OWSTableView.
// FREEBIE
9 years ago
Matthew Chen 4bb702fe0d Add support for manually activating censorship circumvention.
// FREEBIE
9 years ago
Matthew Chen 41deab12de Fix “two table views” bug in “show group members” view.
// FREEBIE
9 years ago
Michael Kirk fbcda40400 rename class, extract color
per code review

// FREEBIE
9 years ago
Michael Kirk a58a71f8f4 no contacts banner -> system settings 9 years ago
Matthew Chen 2bc1d44cd2 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 363d84fd2d Update “new conversation” view to use OWSTableView, contacts view helper, etc.
// FREEBIE
9 years ago
Matthew Chen 61f59067b6 Improve contact-related views.
* Add support for contacts with more than one Signal account using ContactAccount class.
* Use OWSTableViewController in contact-related views.
* Let users add non-contacts to groups.
* Improve the "new group" and "edit group" views.
* Add utility methods for displaying alerts.
* Warn users before discarding unsaved changes in "edit group" view.
* Pull out "contact view helper" to de-duplicate common logic among contact-related views.
* Pull out "group view helper" to de-duplicate common logic among group-related views.
* Pull out new base class for view used to add accounts to groups or the block list.

// FREEBIE
9 years ago
Matthew Chen c8466912f0 Add muting of threads.
// FREEBIE
9 years ago
Michael Kirk 4494a95a62 Block list is two words. Update code/comments/constants
// FREEBIE
9 years ago
Matthew Chen 71007cc3d1 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 54cd8cfa3c Add blacklist controls to 1:1 conversation view.
// FREEBIE
9 years ago
Matthew Chen 2e0c95c379 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen db31454320 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 271cc6f07e Sketch out BlockListViewController and AddToBlockListViewController.
// FREEBIE
9 years ago
Michael Kirk 9eb746a7a0 Fix crash when viewing changed safety numbers
Instantiate fingerprintVC programmatically since MVC was not built from
the storyboard and thus doesn't have it's storyboard-defined segues.

// FREEBIE
9 years ago
Matthew Chen 9db33a9651 Remove RedPhone code.
// FREEBIE
9 years ago
Michael Kirk 62073a14a5 Maintain AR when scaling avatar
// FREEBIE
9 years ago
Matthew Chen 27b515ea45 Add AttachmentApprovalViewController.
// FREEBIE
9 years ago
Matthew Chen cd928cd9be Update MessagesViewController to use SignalAttachment.
// FREEBIE
9 years ago
Ian Henderson 58f1a71ce2 Separate safety number camera image into a separate image view so it can be properly centered.
Insted of using fixed image and text insets to try to center this image,
split the image out into a separate view and center it properly using a
constraint.  Touches still pass through to the button underneath.

Fixes #1622.  FREEBIE
9 years ago
Matthew Chen e96692d702 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen a4093a5f7f Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 654bdb1a85 Add WebRTC setting.
// FREEBIE
9 years ago
Matthew Chen 4a65a88512 Rework new call view.
// FREEBIE
9 years ago
Michael Kirk 947a637669 Sync "mute" controls between CallKit
In the process, extracted the CallDelegate to allow the
CAllViewController to observe useful call state properties (call.state
and call.isMuted)

// FREEBIE
9 years ago
Michael Kirk 647b2b37e9 WIP: WebRTC calling
* Ensure NotificationsManager has dependencies
    Otherwise it's easy to mess up the order of the required dependencies.
* move AccountManager into Environment, it's heavy to construct

// FREEBIE
9 years ago
Michael Kirk 490795ea3d Make disappearing messages button visible in German (#1536)
Because the button was missing an explicit width it was not being layed
out properly when it's label was sufficiently long.

// FREEBIE
9 years ago
Michael Kirk 5a0141003d "No Contacts" screen uses new invite flow
fixes #1501

// FREEBIE
9 years ago
Michael Kirk f30c733ef3 Custom contact picker for invite flow
Preferred to the system contact picker because:
1. removes "group" clutter from header, unlikely to be used much.
2. can select while searching
3. fixes unified contact problem where e.g.
   If only one of your contact has a phone number, they appear disabled
   when choosing to invite via messaging, even though the other linked
   contact *does* have a phone number.
4. label users w/o email so it's clearer why they can't be selected

Also:

* Twitter share-image was too tall

// FREEBIE
9 years ago
Michael Kirk 7120ca1192 Make sure we're laying out contact cell after assigning avatar
// FREEBIE
9 years ago
Michael Kirk 2bac3e4280 Better fit for "delete account" button on iPhone5
- move invite button faaaaaaaar away from the "delete account" button.

// FREEBIE
9 years ago
Michael Kirk 06ca3c9290 Mail and Message invite flow
* Spruce up compose contact-picker
- Fix random sorting for contacts missing first or last name
- Add Avatar to contact picker
- de-dupe contacts

Better copy for INVALID_MESSAGE error.

// FREEBIE
9 years ago
Igor Ranieri Elland e67af9d52b Make settings modal.
- Issue raised in #1453.
9 years ago
Michael Kirk 88d9ef987f Share dialog for Safety Numbers
// FREEBIE
9 years ago
Michael Kirk 4c5bc1ed6f Fix fingerprint Label copying
failed to update storyboard when class was renamed.

// FREEBIE
9 years ago
Michael Kirk b8fc4001ec Camera permission fixup
- remove unknown segue, otherwise couldn't compile project
- translated english strings
- added translation comments
- reused existing "dismiss" string
- deselected row after dismissing permissions alert in linked devices
  screen

// FREEBIE
9 years ago
Jarosław Pawlak c152c1c83a asking for camera permissions #1363 9 years ago
Michael Kirk 1dd06a5e6c Fix registration flow / Keep push tokens in sync
* Separate registering an account from registering for push notifications
  * Allows us to complete registration without prompting user for
    notification settings.

UX Changes
----------
* Automatically keep push tokens in sync on startup.
  Push tokens *can* change, though they rarely do. It happens more often
  for people switching between appstore/beta builds.

  fixes #1174

* Show alert with registration failure
  * add secret 8-tap debug log gesture to registration flow

* Move registration to separate flow
  * don't see flash of inbox when first launching

* show useful error messages when given wrong code / no code

* remove background fetch
  We werent using it, but only relying on a side effect of it which is
  no longer necessary.

Code Changes
------------

* More registration logging.

* Install PromiseKit with carthage

  Our dependencies are not yet framework compatible, so we can't use
  cocoapods.

* Merge preferences util "category" into superclass.

  The immediate reason for this is Swift interop was assuming optional
  types were not optional, and exploding when a value was nil.

  This is clearer anyway, since we were treating it like a subclass, and
  it was the only thing using the class anyway.

* auto-genstrings now searches *.swift (and *.h, which was previously
  broken) for translateable strings.

// FREEBIE
9 years ago