Commit Graph

4262 Commits

Author SHA1 Message Date
Nora Trapp
3471ddf278 Merge branch 'release/5.26.3' 2021-11-30 13:14:24 -08:00
Nora Trapp
47423fbed0 Allow payments to be enabled if it was previously enabled remotely 2021-11-30 12:54:24 -08:00
Nora Trapp
cbd424636e Always preserve payments entropy when setting state 2021-11-30 12:53:51 -08:00
Eugene Bistolas
8725fc731f [Badging] Determine if user has current subscription via cached data 2021-11-30 10:19:31 -10:00
Eugene Bistolas
953070c447 Merge branch 'release/5.26.3' 2021-11-29 13:22:23 -10:00
Eugene Bistolas
07610dbe96 [Badging] Ensure client does not reredeem badge receipts unnecessairly 2021-11-29 11:35:29 -10:00
Nora Trapp
0c8e6a087b Add support for donations with Maestro cards 2021-11-29 11:35:17 -10:00
Eugene Bistolas
b41cbca9e8 [Badging] Cancel and re-initiate subscription if level is upgraded under payment failure 2021-11-29 11:34:57 -10:00
Nora Trapp
41563ba045 Add support for donations with Maestro cards 2021-11-29 11:32:16 -08:00
Matthew Chen
9a16be2c98 Merge branch 'release/5.26.2'
# Conflicts:
#	Signal/Signal-Info.plist
#	SignalNSE/Info.plist
#	SignalShareExtension/Info.plist
2021-11-24 18:41:49 -03:00
Nora Trapp
2a80d51188 Fix home view dates 2021-11-23 17:44:55 -08:00
Eugene Bistolas
5126de3412 Merge branch 'release/5.26.1' 2021-11-23 14:52:06 -10:00
Eugene Bistolas
aadf5c137d [Badging] Remove receipt emails from subscription/boosts 2021-11-23 14:47:25 -10:00
Eugene Bistolas
ddafbd32ff Merge branch 'release/5.26.1' 2021-11-23 11:57:03 -10:00
Eugene Bistolas
a9a30e4959 [Badging] redemption failure feedback 2021-11-23 11:32:48 -10:00
Eugene Bistolas
7d4310cd36 [Badging] Better handling of durable job HTTP failures 2021-11-23 11:23:41 -10:00
Eugene Bistolas
a3e625e0a8 [Badging] Handle incomplete state from Stripe per server spec 2021-11-23 09:51:47 -10:00
Matthew Chen
18bc6e411e Tidy up debug logs. 2021-11-23 09:42:20 -03:00
Nora Trapp
2ca73ade05 Merge branch 'release/5.26.0' 2021-11-22 19:09:13 -08:00
Michelle Linington
5a645228b0 Fix issue where avatars flicker sporadically
Our AvatarBuilder caches were cleared in their entirety any time a
profile changes. If a profile update raced with a avatar fetch in
ConversationAvatarView, they'd blink briefly while the cached items were
removed.

This change ensures that we're only clearing out avatars that are
associated with an updated profile.
2021-11-22 17:01:07 -08:00
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
5b1a49b523 Respond to CR feedback. 2021-11-19 14:28:28 -03:00
Matthew Chen
cfb5db5812 Discard profile key credentials and temporal credentials when we re-register. 2021-11-19 14:28:27 -03:00
Matthew Chen
d748616977 Change phone number. 2021-11-19 14:28:20 -03:00
Matthew Chen
37758a4d19 Change phone number. 2021-11-19 14:28:19 -03:00
Matthew Chen
fc749b4d72 Change phone number. 2021-11-19 14:28:18 -03: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