Commit Graph

4289 Commits

Author SHA1 Message Date
Jordan Rose
390119b54d Sync preferred reactions through storage service 2022-01-03 15:35:37 -08:00
Nora Trapp
db115606e3 Remove ZKGroup 2022-01-03 12:00:19 -08:00
Nora Trapp
29366b0074 Merge branch 'release/5.26.9' 2022-01-03 11:01:53 -08:00
Nora Trapp
c81dfcdb0d Stripe uses american spelling of 'canceled' 2022-01-03 10:55:49 -08:00
Nora Trapp
877b9ced6e Fix forced unwraps in SubscriptionManager 2022-01-03 10:28:44 -08:00
Jordan Rose
38fbb3bbc2 Copy in AFNetworking's query string encoding implementation
Matthew previously stripped this down in our fork of AFNetworking; at
this point there's no benefit to it living in a separate repo and
separate target. With this we can remove the AFNetworking target
completely.
2021-12-17 14:52:59 -08:00
Jordan Rose
d1e52563c0 SSK: Replace AFSecurityPolicy with OWSHTTPSecurityPolicy
OWSHTTPSecurityPolicy was originally a subclass of AFSecurityPolicy
specifically for use with Signal-run services, but it already contains
the part of AFSecurityPolicy that we use elsewhere.
2021-12-17 14:40:25 -08:00
Nora Trapp
f2c09045ca Sync additional badge info with storage service 2021-12-17 14:07:40 -08:00
Nora Trapp
8da582715f Fix badge expiry 2021-12-17 14:04:42 -08:00
Eugene Bistolas
4f1b8b6002 [Badging] Expiry state incorrectly forward carried 2021-12-17 14:01:02 -08:00
Eugene Bistolas
349479d328 [Badging] Last expiring badge is not invalidated when expected 2021-12-17 14:00:56 -08:00
Eugene Bistolas
7682ad23f6 [Badging] Subscription badge expiry UI 2021-12-17 13:59:38 -08:00
Eugene Bistolas
5dd35ae9f8 [Badging] Signal devices when subscription status changes 2021-12-17 13:58:47 -08:00
Eugene Bistolas
93a59cb0f2 [Badging] Determine if user has current subscription via cached data 2021-12-17 13:58:39 -08:00
Nora Trapp
9ed5e74b79 Sync additional badge info with storage service 2021-12-17 13:54:20 -08:00
Nora Trapp
64b399f3e3 Fix badge expiry 2021-12-17 13:54:20 -08:00
Eugene Bistolas
5ea5091e1c [Badging] Expiry state incorrectly forward carried 2021-12-10 15:52:38 -10:00
Eugene Bistolas
64ed35a2b9 [Badging] Last expiring badge is not invalidated when expected 2021-12-10 09:34:32 -10:00
Nora Trapp
1943c1e765 Merge branch 'release/5.26.5' 2021-12-07 16:17:42 -08:00
Nora Trapp
5917973c79 Fix regression resulting in rendering system contact avatars for the local user 2021-12-07 16:13:39 -08:00
Michelle Linington
8a19b8ed34 Merge branch 'release/5.26.4' 2021-12-06 13:06:06 -08:00
Michelle Linington
3d695404ab VisibleBadgeIds is now nonnull on PendingProfileUpdate
A nil array would clear badges anyway. This makes things a bit more
explicit. Also improves some logging.
2021-12-06 12:06:19 -08:00
Michelle Linington
445d30524f Fixes a typo in PendingProfileUpdate decoding 2021-12-06 12:06:19 -08:00
Eugene Bistolas
7bdb0f6a8b [Badging] Subscription badge expiry UI 2021-12-03 12:47:02 -10:00
Eugene Bistolas
61989e9363 [Badging] Signal devices when subscription status changes 2021-12-02 21:04:47 -10:00
Martin Böttcher
7ebf46b3e8 fixed some lint issues and modified some UI details due to updated and specified requirements 2021-12-02 20:36:23 +01:00
Martin Böttcher
a3876232d5 PAPERCUT-475: added swipe action to HomeView allowing muting/unmuting thread 2021-12-02 20:36:23 +01:00
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