From 5afe57e289715e0bf77008ed8bb85482b014549d Mon Sep 17 00:00:00 2001 From: Vijay Aravamudhan Date: Sat, 10 Dec 2022 05:58:40 +0530 Subject: Removed API endpoints and other code related to pricing/payment plans - since Ferdium is completely FOSS (#55) --- app/Controllers/Http/StaticController.js | 66 -------------------------------- 1 file changed, 66 deletions(-) (limited to 'app') 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 { response, }) { return response.send({ - needToWaitToProceed: false, - isSpellcheckerPremiumFeature: false, - isSpellcheckerIncludedInCurrentPlan: true, isServiceProxyEnabled: true, - isServiceProxyIncludedInCurrentPlan: true, - isServiceProxyPremiumFeature: true, - isWorkspacePremiumFeature: false, isWorkspaceEnabled: true, isAnnouncementsEnabled: true, isSettingsWSEnabled: false, - isServiceLimitEnabled: false, - serviceLimitCount: 0, - isCommunityRecipesPremiumFeature: false, - isCommunityRecipesIncludedInCurrentPlan: true, - isCustomUrlIncludedInCurrentPlan: true, isMagicBarEnabled: true, - isTeamManagementIncludedInCurrentPlan: true, isTodosEnabled: true, - isTodosIncludedInCurrentPlan: true, - defaultTrialPlan: 'franz-pro-yearly', - subscribeURL: 'https://ferdium.org', - planSelectionURL: 'https://ferdium.org', - hasInlineCheckout: true, - isPlanSelectionEnabled: false, - isTrialStatusBarEnabled: false, - canSkipTrial: true, - pricingConfig: { - currency: '$', - currencyID: 'USD', - plans: { - personal: { - monthly: { - id: 'ferdium-free', - price: 0, - billed: 0, - }, - yearly: { - id: 'ferdium-completely-free', - price: 0, - billed: 0, - }, - }, - pro: { - monthly: { - id: 'ferdium-still-free', - price: 0, - billed: 0, - }, - yearly: { - id: 'ferdium-forever-free', - price: 0, - billed: 0, - }, - }, - }, - }, }); } @@ -77,22 +27,6 @@ class StaticController { return response.send([]); } - // Payment plans availible - plans({ - response, - }) { - return response.send({ - month: { - id: 'franz-supporter-license', - price: 99, - }, - year: { - id: 'franz-supporter-license-year-2019', - price: 99, - }, - }); - } - // Show announcements async announcement({ response, -- cgit v1.2.3-54-g00ecf