diff options
author | 2021-08-03 09:04:30 +0530 | |
---|---|---|
committer | 2021-08-03 05:51:51 +0000 | |
commit | a9c1abc6f11cb193388fad505c0304f1efe60a30 (patch) | |
tree | dfb685527f9dc44b6245213a0c3e437ecb272132 /src/internal-server/app | |
parent | Changed the cron for the ferdi build to run at 12:15 am UTC since the time de... (diff) | |
download | ferdium-app-a9c1abc6f11cb193388fad505c0304f1efe60a30.tar.gz ferdium-app-a9c1abc6f11cb193388fad505c0304f1efe60a30.tar.zst ferdium-app-a9c1abc6f11cb193388fad505c0304f1efe60a30.zip |
Removed straggling code related to 'popular services'.
Diffstat (limited to 'src/internal-server/app')
-rw-r--r-- | src/internal-server/app/Controllers/Http/StaticController.js | 168 |
1 files changed, 0 insertions, 168 deletions
diff --git a/src/internal-server/app/Controllers/Http/StaticController.js b/src/internal-server/app/Controllers/Http/StaticController.js index 69dfee0a3..b9a145061 100644 --- a/src/internal-server/app/Controllers/Http/StaticController.js +++ b/src/internal-server/app/Controllers/Http/StaticController.js | |||
@@ -26,174 +26,6 @@ class StaticController { | |||
26 | return response.send([]); | 26 | return response.send([]); |
27 | } | 27 | } |
28 | 28 | ||
29 | // Return list of popular recipes (copy of the response Franz's API is returning) | ||
30 | popularRecipes({ | ||
31 | response, | ||
32 | }) { | ||
33 | return response.send([{ | ||
34 | // TODO: Why is this list hardcoded? | ||
35 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
36 | featured: false, | ||
37 | id: 'slack', | ||
38 | name: 'Slack', | ||
39 | version: '1.0.4', | ||
40 | icons: { | ||
41 | png: 'https://cdn.franzinfra.com/recipes/dist/slack/src/icon.png', | ||
42 | svg: 'https://cdn.franzinfra.com/recipes/dist/slack/src/icon.svg', | ||
43 | }, | ||
44 | }, { | ||
45 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
46 | featured: false, | ||
47 | id: 'whatsapp', | ||
48 | name: 'WhatsApp', | ||
49 | version: '1.0.1', | ||
50 | icons: { | ||
51 | png: 'https://cdn.franzinfra.com/recipes/dist/whatsapp/src/icon.png', | ||
52 | svg: 'https://cdn.franzinfra.com/recipes/dist/whatsapp/src/icon.svg', | ||
53 | }, | ||
54 | }, { | ||
55 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
56 | featured: false, | ||
57 | id: 'messenger', | ||
58 | name: 'Messenger', | ||
59 | version: '1.0.6', | ||
60 | icons: { | ||
61 | png: 'https://cdn.franzinfra.com/recipes/dist/messenger/src/icon.png', | ||
62 | svg: 'https://cdn.franzinfra.com/recipes/dist/messenger/src/icon.svg', | ||
63 | }, | ||
64 | }, { | ||
65 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
66 | featured: false, | ||
67 | id: 'telegram', | ||
68 | name: 'Telegram', | ||
69 | version: '1.0.0', | ||
70 | icons: { | ||
71 | png: 'https://cdn.franzinfra.com/recipes/dist/telegram/src/icon.png', | ||
72 | svg: 'https://cdn.franzinfra.com/recipes/dist/telegram/src/icon.svg', | ||
73 | }, | ||
74 | }, { | ||
75 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
76 | featured: false, | ||
77 | id: 'gmail', | ||
78 | name: 'Gmail', | ||
79 | version: '1.0.0', | ||
80 | icons: { | ||
81 | png: 'https://cdn.franzinfra.com/recipes/dist/gmail/src/icon.png', | ||
82 | svg: 'https://cdn.franzinfra.com/recipes/dist/gmail/src/icon.svg', | ||
83 | }, | ||
84 | }, { | ||
85 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
86 | featured: false, | ||
87 | id: 'skype', | ||
88 | name: 'Skype', | ||
89 | version: '1.0.0', | ||
90 | icons: { | ||
91 | png: 'https://cdn.franzinfra.com/recipes/dist/skype/src/icon.png', | ||
92 | svg: 'https://cdn.franzinfra.com/recipes/dist/skype/src/icon.svg', | ||
93 | }, | ||
94 | }, { | ||
95 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
96 | featured: false, | ||
97 | id: 'hangouts', | ||
98 | name: 'Hangouts', | ||
99 | version: '1.0.0', | ||
100 | icons: { | ||
101 | png: 'https://cdn.franzinfra.com/recipes/dist/hangouts/src/icon.png', | ||
102 | svg: 'https://cdn.franzinfra.com/recipes/dist/hangouts/src/icon.svg', | ||
103 | }, | ||
104 | }, { | ||
105 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
106 | featured: false, | ||
107 | id: 'discord', | ||
108 | name: 'Discord', | ||
109 | version: '1.0.0', | ||
110 | icons: { | ||
111 | png: 'https://cdn.franzinfra.com/recipes/dist/discord/src/icon.png', | ||
112 | svg: 'https://cdn.franzinfra.com/recipes/dist/discord/src/icon.svg', | ||
113 | }, | ||
114 | }, { | ||
115 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
116 | featured: false, | ||
117 | id: 'tweetdeck', | ||
118 | name: 'Tweetdeck', | ||
119 | version: '1.0.1', | ||
120 | icons: { | ||
121 | png: 'https://cdn.franzinfra.com/recipes/dist/tweetdeck/src/icon.png', | ||
122 | svg: 'https://cdn.franzinfra.com/recipes/dist/tweetdeck/src/icon.svg', | ||
123 | }, | ||
124 | }, { | ||
125 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
126 | featured: false, | ||
127 | id: 'hipchat', | ||
128 | name: 'HipChat', | ||
129 | version: '1.0.1', | ||
130 | icons: { | ||
131 | png: 'https://cdn.franzinfra.com/recipes/dist/hipchat/src/icon.png', | ||
132 | svg: 'https://cdn.franzinfra.com/recipes/dist/hipchat/src/icon.svg', | ||
133 | }, | ||
134 | }, { | ||
135 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
136 | featured: false, | ||
137 | id: 'gmailinbox', | ||
138 | name: 'Inbox by Gmail', | ||
139 | version: '1.0.0', | ||
140 | icons: { | ||
141 | png: 'https://cdn.franzinfra.com/recipes/dist/gmailinbox/src/icon.png', | ||
142 | svg: 'https://cdn.franzinfra.com/recipes/dist/gmailinbox/src/icon.svg', | ||
143 | }, | ||
144 | }, { | ||
145 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
146 | featured: false, | ||
147 | id: 'rocketchat', | ||
148 | name: 'Rocket.Chat', | ||
149 | version: '1.0.1', | ||
150 | icons: { | ||
151 | png: 'https://cdn.franzinfra.com/recipes/dist/rocketchat/src/icon.png', | ||
152 | svg: 'https://cdn.franzinfra.com/recipes/dist/rocketchat/src/icon.svg', | ||
153 | }, | ||
154 | }, { | ||
155 | author: 'Brian Gilbert <brian@briangilbert.net>', | ||
156 | featured: false, | ||
157 | id: 'gitter', | ||
158 | name: 'Gitter', | ||
159 | version: '1.0.0', | ||
160 | icons: { | ||
161 | png: 'https://cdn.franzinfra.com/recipes/dist/gitter/src/icon.png', | ||
162 | svg: 'https://cdn.franzinfra.com/recipes/dist/gitter/src/icon.svg', | ||
163 | }, | ||
164 | }, { | ||
165 | author: 'Stefan Malzner <stefan@adlk.io>', | ||
166 | featured: false, | ||
167 | id: 'mattermost', | ||
168 | name: 'Mattermost', | ||
169 | version: '1.0.0', | ||
170 | icons: { | ||
171 | png: 'https://cdn.franzinfra.com/recipes/dist/mattermost/src/icon.png', | ||
172 | svg: 'https://cdn.franzinfra.com/recipes/dist/mattermost/src/icon.svg', | ||
173 | }, | ||
174 | }, { | ||
175 | author: 'Franz <recipe@meetfranz.com>', | ||
176 | featured: false, | ||
177 | id: 'toggl', | ||
178 | name: 'toggl', | ||
179 | version: '1.0.0', | ||
180 | icons: { | ||
181 | png: 'https://cdn.franzinfra.com/recipes/dist/toggl/src/icon.png', | ||
182 | svg: 'https://cdn.franzinfra.com/recipes/dist/toggl/src/icon.svg', | ||
183 | }, | ||
184 | }, { | ||
185 | author: 'Stuart Clark <stuart@realityloop.com>', | ||
186 | featured: false, | ||
187 | id: 'twist', | ||
188 | name: 'twist', | ||
189 | version: '1.0.0', | ||
190 | icons: { | ||
191 | png: 'https://cdn.franzinfra.com/recipes/dist/twist/src/icon.png', | ||
192 | svg: 'https://cdn.franzinfra.com/recipes/dist/twist/src/icon.svg', | ||
193 | }, | ||
194 | }]); | ||
195 | } | ||
196 | |||
197 | // Show announcements | 29 | // Show announcements |
198 | announcement({ | 30 | announcement({ |
199 | response, | 31 | response, |