Commit Graph

4237 Commits

Author SHA1 Message Date
Eugene Bistolas
8a2dfcb09e [Badging] Handle receipt redemption 402 errors, set key if user cancels subscription 2021-11-22 13:53:45 -10:00
Matthew Chen
55b5474caa Schedule storage backup. 2021-11-19 08:40:32 -03:00
Nora Trapp
14fedf2450 Make boost redemption retryable 2021-11-18 13:29:30 -08:00
Nora Trapp
a1f97fe187 Retry receipt redemption for 24 hours 2021-11-18 13:29:05 -08:00
Matthew Chen
664d9cd671 Payments region remote config. 2021-11-17 16:34:59 -08:00
Nora Trapp
18a7ad8b2c Fix badge visibility on acquisition 2021-11-17 16:05:58 -08:00
Eugene Bistolas
64801e3167 [Badging] Allow subscription and boost flows if Apple Pay is supported in region 2021-11-17 13:23:00 -10:00
Nora Trapp
edc89c3db1 Store badge receipt credential presentation on the durable job 2021-11-17 15:14:03 -08:00
Eugene Bistolas
a3662309c8 [Badging] Boost durable receipt redemption + apple pay cancellation, plus polish 2021-11-17 09:29:02 -10:00
Matthew Chen
8672d3ea73 Respond to CR. 2021-11-17 14:49:47 -03:00
Matthew Chen
6009408e83 Improve profile handling. 2021-11-17 14:49:47 -03:00
Matthew Chen
8ab7a36301 Improve profile handling. 2021-11-17 14:49:47 -03:00
Matthew Chen
9c38c38fd2 Improve profile handling. 2021-11-17 14:49:47 -03:00
Matthew Chen
34be144a78 Improve profile handling. 2021-11-17 14:49:47 -03:00
Nora Trapp
faba7621b3 Include the donor's email address for receipt purposes in the billing information 2021-11-16 15:39:39 -08:00
Nora Trapp
df7d2976b2 Fetch the local profile after redeeming receipts 2021-11-16 12:37:23 -08:00
Nora Trapp
db692be18d Hook up badge visibility on thanks sheet 2021-11-16 11:40:40 -08:00
Nora Trapp
c89b0016f6 Add boost thank you flow 2021-11-16 11:40:40 -08:00
Matthew Chen
783fadf301 Adding logging around profile avatar in storage writes. 2021-11-16 16:21:48 -03:00
Michelle Linington
94c05bad09 Actually persist badge settings
- Augment profile settings to actually record the user's badge
  preferences
- Save these changes to the profile endpoint
2021-11-16 09:55:58 -08:00
Eugene Bistolas
8765108a1e [Badging] Durable redemption job pending/failure UI 2021-11-16 09:50:35 -08:00
Eugene Bistolas
31e064709f [Badging] Prevent subscription heartbeat on non-primary device, support receipt_email when confirming setupIntents 2021-11-15 13:20:23 -10:00
Eugene Bistolas
73dec1860e [Badging] Cancel subscription setup / upgrade process if user cancels ApplePay 2021-11-15 12:49:39 -10:00
Eugene Bistolas
78cb9352c3 [Badging] Durable receiptCredential fetch and redemption 2021-11-15 12:47:35 -10:00
Nora Trapp
fd50a0bfc5 Cleanup 2021-11-15 13:47:06 -08:00
Nora Trapp
095b54d13d Add boost view controller 2021-11-15 13:24:58 -08:00
Nora Trapp
e14b19e3db Hookup rudimentary plumbing for boost 2021-11-15 13:24:58 -08:00
Matthew Chen
98caa0bdfa Fix comment. 2021-11-13 17:08:35 -03:00
Matthew Chen
62782800b3 Fix race in profile re-upload. 2021-11-13 17:08:35 -03:00
Matthew Chen
7e25e4003a Improved logging around dropped profile avatars. 2021-11-12 09:41:27 -03:00
Matthew Chen
48677fb78f Improved logging around dropped profile avatars. 2021-11-12 09:41:27 -03:00
Nora Trapp
615b0822a5 Change to country codes for Payments Beta 2021-11-11 14:19:42 -08:00
Michelle Linington
0b9c6727a6 Fixes various small bugs
- Clear out avatar cache on local profile changes too
- ConversationAvatarView properly handles local profile updates
- Fix some tiny UI bugs in group calls
2021-11-10 21:27:17 -08:00
Nora Trapp
175ea8347d Enable Payments Beta for more country codes 2021-11-10 11:52:43 -08:00
Eugene Bistolas
b3d1bdefd1 [Donor Badges] Current subscriber UI 2021-11-09 18:29:55 -10:00
Eugene Bistolas
64f126ae3f [Badging] Badge receipt credential fetch and redemption 2021-11-09 14:26:05 -08:00
Eugene Bistolas
858e3ef1c6 [Badging] Set up new subscription on server / stripe 2021-11-09 14:25:55 -08:00
Michelle Linington
cc4f5fe9d4 PR Feedback:
- Consistent use of ConversationStyle
- LocalUserDisplayMode is now a required initializer argument

Also a small bug fix around avatar file path URLs
2021-11-09 14:25:55 -08:00
Michelle Linington
9f53832e14 Remove usage of ConversationAvatarView 2021-11-09 14:25:55 -08:00
Michelle Linington
bd51ca690a Replace AvatarImageView2 with ConversationAvatarView2
Adoption of ConversationAvatarView2 in many key locations. This isn't
exhaustive, but it's mostly there.

Some work left to be done around ConversationAvatarView2 data source
tweaks.
2021-11-09 14:25:55 -08:00
Michelle Linington
9123bbd0b4 Partial progress on badged avatars 2021-11-09 14:25:55 -08:00
Michelle Linington
660a1f80aa PR Feedback 2021-11-09 14:25:55 -08:00
Michelle Linington
ff3d21ff0e Minor tweaks to recent badging changes
- Optionals are now SDSSwiftSerializable as long as their wrapped type
  conforms
- Avatar file writes are now performed outside of a write transaction
- Various rebase cleanup
2021-11-09 14:25:53 -08:00
Michelle Linington
9ecda7377c Badge asset management 2021-11-09 14:25:42 -08:00
Michelle Linington
ebadb12dad Minor comment tweaks, schema adjustments 2021-11-09 14:25:42 -08:00
Michelle Linington
a6deb98c42 Lint 2021-11-09 14:25:42 -08:00
Michelle Linington
5f6ee31e68 Most of badge fetching and persistence
Saving progress before running database codegen
2021-11-09 14:25:42 -08:00
Nora Trapp
a26a332ec4 Fix no content message notifications 2021-11-08 17:16:53 -08:00
Matthew Chen
c0c72ef3fb Introduce WebSocketFactory. 2021-11-03 19:48:48 -07:00
Matthew Chen
bcc693e8e7 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:04 -03:00