Commit 61f15fd
authored
Set Pro and Team sync device allowances (#7415)
* Set sync device allowances by plan
Include three devices with Pro and five per Team member. Enforce capacity atomically, preserve existing connections after a downgrade, and show server-provided device counts.
* Refresh sync device limit message catalogs
Replace the fixed five-device messages with plan-aware sync limit messages.
* Use plan-aware limits in the desktop sync indicator
Keep the blocked sync status consistent with each plan allowance and refresh its message catalogs.1 parent 0a5e725 commit 61f15fd
239 files changed
Lines changed: 1737 additions & 1510 deletions
File tree
- apps
- desktop/src
- auth
- i18n/locales
- af
- am
- ar
- as
- az
- ba
- be
- bg
- bn
- bo
- br
- bs
- ca
- cs
- cy
- da
- de
- el
- en
- es
- et
- eu
- fa
- ff
- fi
- fo
- fr
- ga
- gl
- gu
- ha
- he
- hi
- hr
- ht
- hu
- hy
- id
- ig
- is
- it
- ja
- jv
- ka
- kk
- km
- kn
- ko
- ku
- ky
- la
- lb
- lg
- ln
- lo
- lt
- lv
- mg
- mi
- mk
- ml
- mn
- mr
- ms
- mt
- my
- ne
- nl
- nn
- no
- ny
- oc
- or
- pa
- pl
- ps
- pt
- ro
- ru
- sa
- sd
- si
- sk
- sl
- sn
- so
- sq
- sr
- su
- sv
- sw
- ta
- te
- tg
- th
- tk
- tl
- tr
- tt
- uk
- ur
- uz
- vi
- wo
- xh
- yi
- yo
- zh
- zu
- main
- settings/sync
- mobile/src
- app/settings
- settings
- sync
- crates/api-sync/src
- routes
- cloudsync_credentials
- tests
- packages/pricing/src
- supabase
- migrations
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2186 | 2186 | | |
2187 | 2187 | | |
2188 | 2188 | | |
2189 | | - | |
| 2189 | + | |
2190 | 2190 | | |
2191 | 2191 | | |
2192 | 2192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
926 | 926 | | |
927 | 927 | | |
928 | 928 | | |
929 | | - | |
| 929 | + | |
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
| |||
1129 | 1129 | | |
1130 | 1130 | | |
1131 | 1131 | | |
1132 | | - | |
| 1132 | + | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | 1192 | | |
1201 | 1193 | | |
1202 | 1194 | | |
| |||
5145 | 5137 | | |
5146 | 5138 | | |
5147 | 5139 | | |
5148 | | - | |
5149 | | - | |
5150 | | - | |
5151 | | - | |
5152 | 5140 | | |
5153 | 5141 | | |
5154 | 5142 | | |
| |||
5754 | 5742 | | |
5755 | 5743 | | |
5756 | 5744 | | |
| 5745 | + | |
| 5746 | + | |
| 5747 | + | |
| 5748 | + | |
| 5749 | + | |
| 5750 | + | |
| 5751 | + | |
| 5752 | + | |
| 5753 | + | |
5757 | 5754 | | |
5758 | 5755 | | |
5759 | 5756 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | 1192 | | |
1201 | 1193 | | |
1202 | 1194 | | |
| |||
5145 | 5137 | | |
5146 | 5138 | | |
5147 | 5139 | | |
5148 | | - | |
5149 | | - | |
5150 | | - | |
5151 | | - | |
5152 | 5140 | | |
5153 | 5141 | | |
5154 | 5142 | | |
| |||
5754 | 5742 | | |
5755 | 5743 | | |
5756 | 5744 | | |
| 5745 | + | |
| 5746 | + | |
| 5747 | + | |
| 5748 | + | |
| 5749 | + | |
| 5750 | + | |
| 5751 | + | |
| 5752 | + | |
| 5753 | + | |
5757 | 5754 | | |
5758 | 5755 | | |
5759 | 5756 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | 1192 | | |
1201 | 1193 | | |
1202 | 1194 | | |
| |||
5145 | 5137 | | |
5146 | 5138 | | |
5147 | 5139 | | |
5148 | | - | |
5149 | | - | |
5150 | | - | |
5151 | | - | |
5152 | 5140 | | |
5153 | 5141 | | |
5154 | 5142 | | |
| |||
5754 | 5742 | | |
5755 | 5743 | | |
5756 | 5744 | | |
| 5745 | + | |
| 5746 | + | |
| 5747 | + | |
| 5748 | + | |
| 5749 | + | |
| 5750 | + | |
| 5751 | + | |
| 5752 | + | |
| 5753 | + | |
5757 | 5754 | | |
5758 | 5755 | | |
5759 | 5756 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | 1192 | | |
1201 | 1193 | | |
1202 | 1194 | | |
| |||
5145 | 5137 | | |
5146 | 5138 | | |
5147 | 5139 | | |
5148 | | - | |
5149 | | - | |
5150 | | - | |
5151 | | - | |
5152 | 5140 | | |
5153 | 5141 | | |
5154 | 5142 | | |
| |||
5754 | 5742 | | |
5755 | 5743 | | |
5756 | 5744 | | |
| 5745 | + | |
| 5746 | + | |
| 5747 | + | |
| 5748 | + | |
| 5749 | + | |
| 5750 | + | |
| 5751 | + | |
| 5752 | + | |
| 5753 | + | |
5757 | 5754 | | |
5758 | 5755 | | |
5759 | 5756 | | |
| |||
Large diffs are not rendered by default.
0 commit comments