12 Commits

Author SHA1 Message Date
bd1b177993
Rescue all icon download/upload errors, send to Sentry
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-02-08 13:36:17 +01:00
3f110995a4
Add timestamp to icon filenames
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
There can be race condition when a background job is supposed to delete
an icon while there is a new one being attached. Also, this encodes the
date/time when the icon has been added, for inspection and convenience.
2024-02-08 13:03:32 +01:00
a7410058fa
Save WebApp before fetching icons 2024-02-08 13:02:08 +01:00
179a82d2dd
Use keyword arguments for ApplicationService calls
Not all services are using keywords, which breaks those calls in Ruby 3
2024-02-02 15:50:25 +02:00
f8da034e66
Fail gracefully when remote icon is 404
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-29 14:54:18 +02:00
Râu Cao
f451adcb53
Try smaller icons if 256px not available 2023-11-18 17:35:57 +01:00
Râu Cao
261a782963
Only complete icon URLs when given relative or absolute paths 2023-10-24 17:29:24 +02:00
Râu Cao
e964e7e52c
Save web app metadata explicitly 2023-10-24 17:29:24 +02:00
Râu Cao
e508407df4
Remove debug statement 2023-10-24 17:29:23 +02:00
Râu Cao
bec827acb1
Store web app icons with proper folder paths 2023-10-24 17:29:23 +02:00
Râu Cao
d4f71e98ed
Download and attach icons for web apps 2023-10-24 17:29:23 +02:00
Râu Cao
e56c9bd0d5
Add web app model, service to fetch metadata 2023-10-24 17:29:23 +02:00