Commit Graph

5480 Commits

Author SHA1 Message Date
Matthew Chen
23aa187cea Add the "disable payments" flow.
* Show memo message in send payment view.
2021-04-06 13:57:07 -03:00
Matthew Chen
a9bdb6811e Clean up ahead of PR. 2021-04-06 13:57:07 -03:00
Matthew Chen
293eb3ce8a Clean up ahead of PR. 2021-04-06 13:57:07 -03:00
Matthew Chen
aa66fb7ec3 Rework down state of payment custom keyboard. 2021-04-06 13:57:07 -03:00
Matthew Chen
afd2aeef5c Payments UI. 2021-04-06 13:57:07 -03:00
Nora Trapp
c6dcc18b94 Fix keyboard interaction with swipe-to-details 2021-04-01 10:38:18 -07:00
Nora Trapp
9ce747a5ca Fix retain cycles 2021-04-01 10:38:18 -07:00
Nora Trapp
4755911762 Improve message details presentation performance 2021-04-01 10:38:18 -07:00
Nora Trapp
7194309181 Redesign swipe for details animation to mimic swipe to reply 2021-04-01 10:38:18 -07:00
Nora Trapp
20bc199a95 Cache message recipients 2021-04-01 10:38:18 -07:00
Nora Trapp
8c9a925b72 Re-style message detail view 2021-04-01 10:38:18 -07:00
Nora Trapp
1bd5db62dd Swipe left for message details. 2021-04-01 10:38:18 -07:00
Nora Trapp
24d1b5ff37 Display updated action sheet when tapping safety number change 'learn more' 2021-03-31 13:14:46 -07:00
Nora Trapp
95227b1195 Add support filter selection to contact us flow 2021-03-29 15:23:10 -07:00
Nora Trapp
68d2c3ce29 Copy tweaks 2021-03-27 12:20:12 -07:00
Nora Trapp
6c17505b68 Sync mute with storage service 2021-03-27 12:13:20 -07:00
Nora Trapp
63da30f617 Store mute as millisecond timestamp 2021-03-27 12:13:20 -07:00
Nora Trapp
6a9e10a62d Add eight hour and always mute options. 2021-03-27 12:13:20 -07:00
Nora Trapp
2e9c651355 Add an internal setting to keep muted chats archived when receiving new messages 2021-03-26 16:17:17 -07:00
Matthew Chen
b116d40a8c Respond to CR. 2021-03-25 13:31:45 -03:00
Matthew Chen
86b8eb08b8 Remove YapDatabase.
Apply asset from design.

Fix rebase breakage.
2021-03-25 11:41:16 -03:00
Matthew Chen
ac01a2a552 Clean up app readiness.
Remove backup.
2021-03-25 11:30:31 -03:00
Matthew Chen
d0cbf8cfd0 Rework dependency access. 2021-03-25 09:24:27 -03:00
Jordan Rose
68a27a76e2 Move AxolotlKit model classes into SSK and remove the dependency
We still need the AxolotlKit model classes to migrate old sessions,
but we don't need any of the actual protocol support. This also
means we can drop HKDFKit.

Additionally, we do still use some utilities from AxolotlKit:

- AxolotlExceptions.h: NSException names, should eventually be
  replaced by NSErrors everywhere

- NSData+keyVersionByte.h: prepend/remove public key type byte,
  should eventually be replaced by strong types (ECPublicKey)

- SPKProtocolContext.h: defines the SPKProtocol{Read,Write}Context
  marker protocols, should be replaced by direct use of
  SDSAny{Read,Write}Transaction
2021-03-22 16:17:47 -07:00
Nora Trapp
fa6662403e Revert "Merge branch 'nt/animations'"
This reverts commit 1ec4ae3b05, reversing
changes made to 1ed1371c71.
2021-03-17 13:17:17 -07:00
Michelle Linington
f483ee2cac Fixes some name collision bugs
- Fixes up content alignment issues from parallel changes to table view
  styling.
- Re-adds view controller presentation within a nav controller (stemming
  from parallel changes to table view styling)
- Fixes a bug around overzealous collision detection

Also fixes an unrelated issue. Setting up cv banners performs layout, which
can cause the conversation view controller's trait collection to change.
This can lead to us reenterantly setting up banners and updating trait
collection.

The workaround is to just call -ensureBannerState asynchronously from
-traitCollectionDidChange to break the synchronous chain.
2021-03-17 01:14:25 -07:00
Nora Trapp
a19737c0bb Tweak selection animations to be slide in / out 2021-03-16 19:48:59 -03:00
Nora Trapp
53d49f71b6 Block loads while animating selection change 2021-03-16 19:48:59 -03:00
Nora Trapp
70f6e62877 Animate quoted replies 2021-03-16 19:48:59 -03:00
Nora Trapp
39c851218d Animate multi-select UI appearance/disappearance 2021-03-16 19:48:59 -03:00
Nora Trapp
1f7a592166 Animate message send and receive. 2021-03-16 19:48:59 -03:00
Matthew Chen
6f737748e9 Avoid profile key conflicts. 2021-03-12 17:05:02 -08:00
Nora Trapp
d81849b7c8 Allow settings cells to span multiple lines, restyle disappearing messages cell 2021-03-10 12:15:03 -08:00
Nora Trapp
2472b46063 Add new delete account flow 2021-03-09 12:34:43 -08:00
Nora Trapp
67294588e4 more little tweaks 2021-03-09 12:30:31 -08:00
Nora Trapp
49c17f2af8 Add new delete account flow 2021-03-09 12:17:32 -08:00
Nora Trapp
0ec429ed3a Make sure settings views reload when changed by outside events 2021-03-09 12:17:31 -08:00
Jordan Rose
23a9c4518e MediaGallery: pin to the bottom when content insets change
If you're scrolled to the end, you probably want to stay scrolled to
the end rather than keep the same top position. This applies both when
the footer bar shows up (in multi-select mode) and when the scroll
view is initially loaded, fixing a bug where the bottom row is cut
off. Unfortunately, the latter fix does not seem to work on older
iOSs, but it doesn't make things worse either.
2021-03-06 10:34:52 -03:00
Jordan Rose
b46e03d759 MediaGallery: handle empty All media view correctly 2021-03-06 10:34:52 -03:00
Jordan Rose
22cb730164 MediaGallery: when loading the initial sections, we start at one end
...unless you clicked on an individual message to get into the
gallery. In the All Media case, we don't need to fetch later sections
because we started at the end.
2021-03-06 10:34:52 -03:00
Nora Trapp
49930139a0 little settings fixes 2021-03-05 23:01:20 -08:00
Jordan Rose
9ff7c2a33f MediaGallery: load later sections if all earlier sections are loaded
The collection view loads earlier sections if you're scrolled near the
top and later sections if you're scrolled near the bottom. However, if
there's only a page of loaded content, you can be near the top /and/
the bottom. Therefore, we need to potentially load later sections even
if you're at the top, because you might be at the beginning.
2021-03-05 10:17:04 -08:00
Nora Trapp
470e6afb26 Hide navbar background when scrolled to top 2021-03-05 09:07:00 -08:00
Matthew Chen
f359af8ae6 Revert "Hide navbar background when scrolled to top"
This reverts commit 734a26ad71.
2021-03-05 13:56:22 -03:00
Jordan Rose
5f4b97de5e MediaGallery: make our headers non-Gregorian-calendar-friendly
Some calendars have year numbers change in the middle of months; some
calendars occasionally reset the year number. Switch to a
DateInterval-based representation in GalleryDate to avoid these
pitfalls.
2021-03-05 09:08:09 -03:00
Jordan Rose
6b84ffb046 MediaGallery: fix bug in estimating database fetch size 2021-03-05 09:08:09 -03:00
Nora Trapp
2e1d2e1623 Show specific biometry type screen lock will use 2021-03-05 00:32:16 -08:00
Nora Trapp
734a26ad71 Hide navbar background when scrolled to top 2021-03-05 00:31:50 -08:00
Nora Trapp
91c8b4a250 Further design feedback 2021-03-04 18:32:24 -08:00
Nora Trapp
450870de44 Design feedback 2021-03-04 18:32:24 -08:00