Commit Graph

3777 Commits

Author SHA1 Message Date
Nora Trapp
dc0f8b80df Turn message request feature on (soon to be a remote flag) 2020-02-11 13:33:49 -08:00
Nora Trapp
5b2cb3cc62 Mark a specific set of experience upgrades complete for new users regardless of if they are launched. 2020-02-11 13:32:12 -08:00
Nora Trapp
3887c71665 Turn on storage service if we have the requisite keys. 2020-02-11 13:29:39 -08:00
Nora Trapp
724b483d00 Wait during registration for storage service restore and re-populate local profile if available 2020-02-11 13:29:39 -08:00
Nora Trapp
79d4b8e33a Storage Service Encryption Finalization 2020-02-11 13:29:02 -08:00
Nora Trapp
55b6734758 Merge branch 'nt/message-request-megaphone' 2020-02-10 11:26:18 -08:00
Nora Trapp
381b770dc6 Re-enable 2FA if provided valid pin during registration. 2020-02-09 17:11:59 -08:00
Nora Trapp
44a97dce54 KBS does its own pin normalization, only ensure arabic numerals for v1 pins. 2020-02-09 16:57:29 -08:00
Nora Trapp
fe9864f935 Fix PIN creation during registration. 2020-02-09 16:48:55 -08:00
Nora Trapp
56f0e534a9 Megaphone pins4all reminder flow 2020-02-09 15:21:58 -08:00
Nora Trapp
1d29dbefdc Ensure that the experience upgrade view is dismissed when completed via other means. 2020-02-09 13:31:43 -08:00
Matthew Chen
cd0510f628 Only compare groups v2 properties in TSGroupModel for v2 groups. 2020-02-08 18:11:31 -03:00
Nora Trapp
a20d50a129 Make PINs mandatory behind a remote flag. 2020-02-06 11:53:22 -08:00
Nora Trapp
e177e65196 Fix compilation issue. 2020-02-06 11:26:56 -08:00
Matthew Chen
456160754f Fix linked device capabilities. 2020-02-06 10:47:16 -08:00
Nora Trapp
6e161d000e Only cache remote flags we support. 2020-02-05 19:39:57 -08:00
Nora Trapp
e737e0aa73 Add censorship circumvention support for KBS and Storage Service 2020-02-05 19:18:31 -08:00
Nora Trapp
9c288b8698 Disable KBS when censorship circumvention is enabled. 2020-02-05 11:38:58 -08:00
Michael Kirk
4c1afa18a6 secondary devices update capabilities w/ devices endpoint 2020-02-05 10:38:43 -07:00
Nora Trapp
53495b1007 Fix a bug when receiving a reaction from a user without a thread. 2020-02-04 17:15:13 -08:00
Nora Trapp
80f6807471 Feature flags for production 2020-02-04 14:44:02 -08:00
Nora Trapp
80ffc777a2 Reset repetition interval when changing / creating your PIN 2020-02-04 14:39:36 -08:00
Nora Trapp
df4615f9e7 Bump GRDB schema version to reflect FTS changes from 3.2 2020-02-04 12:10:15 -08:00
Nora Trapp
009b6127b9 Add All tab to reaction detail view 2020-02-04 12:05:22 -08:00
Michael Kirk
be958fffea fix crash in schema migration for old users by introducing "data migrations"
which run *after* any migrations which mutate the schema.

If a user hasn't been keeping up to date, it's possible they'll crash when
running several migrations in sequence.

Any migration which leverages SDSModel serialization must occur *after* changes to the
database schema complete.

Otherwise, for example, consider we have these two pending migrations:
 - Migration 1: resaves all instances of Foo (Foo is some SDSModel)
 - Migration 2: adds a column "new_column" to the "model_Foo" table

Migration 1 will fail, because the generated serialization logic for Foo expects
"new_column" to already exist before Migration 2 has even run.

The solution is to always split logic that leverages SDSModel serialization into a
separate migration, and ensure it runs *after* any schema migrations. That is, new schema
migrations must be inserted *before* any of these Data Migrations.
2020-02-03 22:59:30 -07:00
Nora Trapp
6ce2a85c29 Fetch the remote config when the user registers 2020-02-03 09:48:02 -08:00
Nora Trapp
b9519d45e3 Don't show reactions megaphone to new users. 2020-02-03 09:48:02 -08:00
Nora Trapp
cd398621d8 Sticky Remote Config flags 2020-02-03 09:40:59 -08:00
Nora Trapp
1d149c60a7 PR Feedback 2020-02-02 21:23:39 -08:00
Nora Trapp
4d25599af1 Fix experience upgrade table 2020-02-02 21:17:10 -08:00
Nora Trapp
c46dfbb308 Redesigned reaction view 2020-02-02 21:16:08 -08:00
Nora Trapp
3c0a3b7eb4 Feature flags for beta. 2020-01-30 20:39:45 -08:00
Nora Trapp
5808a8d441 Enable reaction sending. 2020-01-30 20:39:07 -08:00
Nora Trapp
b268d7f201 Add latching KBS remote feature flag 2020-01-30 20:29:28 -08:00
Nora Trapp
204a6de38e Update pods 2020-01-30 20:28:43 -08:00
Nora Trapp
6598d3b586 Clear experience upgrades in more places 2020-01-30 20:13:50 -08:00
Nora Trapp
93ca9ff632 require profiles names -> profile name reminder 2020-01-30 20:13:50 -08:00
Matthew Chen
ea2e5f9e8d Merge tag '3.3.0.6' 2020-01-30 20:13:47 -08:00
Matthew Chen
be5d32e547 Enable production feature flags. 2020-01-30 20:13:25 -08:00
Nora Trapp
26bd9e2f51 Enable registrationLockV2 2020-01-30 20:13:25 -08:00
Nora Trapp
c2cdf73bf1 More specific reactions notifications 2020-01-30 20:13:25 -08:00
Matthew Chen
3d06cf6233 Enable beta feature flags. 2020-01-30 20:13:25 -08:00
Nora Trapp
72e5c3bfea Required profile names experience upgrade. 2020-01-30 20:13:18 -08:00
Nora Trapp
9630d91b8b Pins for everyone is remote feature 2020-01-30 20:13:18 -08:00
Nora Trapp
4b2ea44800 Fixes for introducing pins flow 2020-01-30 20:13:18 -08:00
Nora Trapp
e42caf9f0f Allow experience upgrades for new users 2020-01-30 20:13:18 -08:00
Nora Trapp
5dadcd42ee Reactions Megaphone 2020-01-30 20:13:18 -08:00
Nora Trapp
5e8e2e0d1b Remove stickers experience upgrade and cleanup 2020-01-30 20:13:18 -08:00
Nora Trapp
0d183966ad No experience upgrades on linked devices. 2020-01-30 20:13:18 -08:00
Matthew Chen
61575cbd70 Merge tag '3.3.0.5' 2020-01-30 20:13:17 -08:00