diff options
author | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-12-10 05:58:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 00:28:40 +0000 |
commit | 5afe57e289715e0bf77008ed8bb85482b014549d (patch) | |
tree | 673e1af515f8c184a96f0e534c0e70340cedf2b2 /app/Controllers/Http | |
parent | migrate npm to pnpm for build (diff) | |
download | ferdium-server-5afe57e289715e0bf77008ed8bb85482b014549d.tar.gz ferdium-server-5afe57e289715e0bf77008ed8bb85482b014549d.tar.zst ferdium-server-5afe57e289715e0bf77008ed8bb85482b014549d.zip |
Removed API endpoints and other code related to pricing/payment plans - since Ferdium is completely FOSS (#55)
Diffstat (limited to 'app/Controllers/Http')
-rw-r--r-- | app/Controllers/Http/StaticController.js | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/app/Controllers/Http/StaticController.js b/app/Controllers/Http/StaticController.js index abba249..82cf1db 100644 --- a/app/Controllers/Http/StaticController.js +++ b/app/Controllers/Http/StaticController.js | |||
@@ -11,62 +11,12 @@ class StaticController { | |||
11 | response, | 11 | response, |
12 | }) { | 12 | }) { |
13 | return response.send({ | 13 | return response.send({ |
14 | needToWaitToProceed: false, | ||
15 | isSpellcheckerPremiumFeature: false, | ||
16 | isSpellcheckerIncludedInCurrentPlan: true, | ||
17 | isServiceProxyEnabled: true, | 14 | isServiceProxyEnabled: true, |
18 | isServiceProxyIncludedInCurrentPlan: true, | ||
19 | isServiceProxyPremiumFeature: true, | ||
20 | isWorkspacePremiumFeature: false, | ||
21 | isWorkspaceEnabled: true, | 15 | isWorkspaceEnabled: true, |
22 | isAnnouncementsEnabled: true, | 16 | isAnnouncementsEnabled: true, |
23 | isSettingsWSEnabled: false, | 17 | isSettingsWSEnabled: false, |
24 | isServiceLimitEnabled: false, | ||
25 | serviceLimitCount: 0, | ||
26 | isCommunityRecipesPremiumFeature: false, | ||
27 | isCommunityRecipesIncludedInCurrentPlan: true, | ||
28 | isCustomUrlIncludedInCurrentPlan: true, | ||
29 | isMagicBarEnabled: true, | 18 | isMagicBarEnabled: true, |
30 | isTeamManagementIncludedInCurrentPlan: true, | ||
31 | isTodosEnabled: true, | 19 | isTodosEnabled: true, |
32 | isTodosIncludedInCurrentPlan: true, | ||
33 | defaultTrialPlan: 'franz-pro-yearly', | ||
34 | subscribeURL: 'https://ferdium.org', | ||
35 | planSelectionURL: 'https://ferdium.org', | ||
36 | hasInlineCheckout: true, | ||
37 | isPlanSelectionEnabled: false, | ||
38 | isTrialStatusBarEnabled: false, | ||
39 | canSkipTrial: true, | ||
40 | pricingConfig: { | ||
41 | currency: '$', | ||
42 | currencyID: 'USD', | ||
43 | plans: { | ||
44 | personal: { | ||
45 | monthly: { | ||
46 | id: 'ferdium-free', | ||
47 | price: 0, | ||
48 | billed: 0, | ||
49 | }, | ||
50 | yearly: { | ||
51 | id: 'ferdium-completely-free', | ||
52 | price: 0, | ||
53 | billed: 0, | ||
54 | }, | ||
55 | }, | ||
56 | pro: { | ||
57 | monthly: { | ||
58 | id: 'ferdium-still-free', | ||
59 | price: 0, | ||
60 | billed: 0, | ||
61 | }, | ||
62 | yearly: { | ||
63 | id: 'ferdium-forever-free', | ||
64 | price: 0, | ||
65 | billed: 0, | ||
66 | }, | ||
67 | }, | ||
68 | }, | ||
69 | }, | ||
70 | }); | 20 | }); |
71 | } | 21 | } |
72 | 22 | ||
@@ -77,22 +27,6 @@ class StaticController { | |||
77 | return response.send([]); | 27 | return response.send([]); |
78 | } | 28 | } |
79 | 29 | ||
80 | // Payment plans availible | ||
81 | plans({ | ||
82 | response, | ||
83 | }) { | ||
84 | return response.send({ | ||
85 | month: { | ||
86 | id: 'franz-supporter-license', | ||
87 | price: 99, | ||
88 | }, | ||
89 | year: { | ||
90 | id: 'franz-supporter-license-year-2019', | ||
91 | price: 99, | ||
92 | }, | ||
93 | }); | ||
94 | } | ||
95 | |||
96 | // Show announcements | 30 | // Show announcements |
97 | async announcement({ | 31 | async announcement({ |
98 | response, | 32 | response, |