Fix/improve local ActiveStorage backend usage and handling of WebApp icons #162

Merged
greg merged 10 commits from bugfix/local_web_app_icons into chore/update_dependencies 2024-02-27 16:07:55 +00:00
Owner

Also fixes RS auth for apps without proper origin, e.g. localhost ones or browser extensions. It will just use the default app icon for those now.

See commit messages for details

Also fixes RS auth for apps without proper origin, e.g. `localhost` ones or browser extensions. It will just use the default app icon for those now. See commit messages for details
raucao added the
enhancement
bug
kredits-1
labels 2024-02-08 12:06:58 +00:00
raucao added 6 commits 2024-02-08 12:06:58 +00:00
For example when there is a .env.development for running the app on a
host machine directly, but as a developer you also want to run it with
Docker Compose from time to time.
RS auths without a valid domain name will not fetch any metadata and
therefore not create a WebApp record. This fixes icons being looked up
anyway, resulting in exceptions
Add timestamp to icon filenames
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
3f110995a4
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.
raucao added a new dependency 2024-02-08 12:07:47 +00:00
raucao requested review from Core 2024-02-08 12:08:25 +00:00
raucao added 1 commit 2024-02-08 12:36:40 +00:00
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
bd1b177993
raucao changed title from Fix/improve local AS backend usage and handling of WebApp icons to Fix/improve local ActiveStorage backend usage and handling of WebApp icons 2024-02-12 11:35:27 +00:00
raucao added 1 commit 2024-02-22 14:13:34 +00:00
Merge branch 'chore/update_dependencies' into bugfix/local_web_app_icons
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
de1f234c15
Author
Owner

Just merged the fix for Apple Silicon into this branch, so it's ready to try out on newer MacBooks now.

Just merged the fix for Apple Silicon into this branch, so it's ready to try out on newer MacBooks now.
raucao added 1 commit 2024-02-23 18:25:24 +00:00
Merge branch 'chore/update_dependencies' into bugfix/local_web_app_icons
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
4a4a222973
Owner

I've been able to get the Docker compose set up working on my old Intel Mac. Everything looks good, except for this error (see screenshot). The template actually exists. @raucao was able to reproduce it on his Docker set up too.

I've been able to get the Docker compose set up working on my old Intel Mac. Everything looks good, except for this error (see screenshot). The template actually exists. @raucao was able to reproduce it on his Docker set up too.
raucao added 1 commit 2024-02-27 13:33:52 +00:00
Fix typo
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 3s
b33b8104a8
Author
Owner

@greg Amazing that we both didn't see it: there was a simple typo introduced at some point, namely "kebab" vs "kebap".

@greg Amazing that we both didn't see it: there was a simple typo introduced at some point, namely "kebab" vs "kebap".
Owner

@greg Amazing that we both didn't see it: there was a simple typo introduced at some point, namely "kebab" vs "kebap".

Hahaha, I didn't blink on this one, as both spellings are valid! Will merge after running the containers again.

> @greg Amazing that we both didn't see it: there was a simple typo introduced at some point, namely "kebab" vs "kebap". Hahaha, I didn't blink on this one, as both spellings are valid! Will merge after running the containers again.
greg approved these changes 2024-02-27 16:07:23 +00:00
greg left a comment
Owner

👍

👍
greg merged commit 87f09c94d0 into chore/update_dependencies 2024-02-27 16:07:55 +00:00
greg deleted branch bugfix/local_web_app_icons 2024-02-27 16:07:55 +00:00
Sign in to join this conversation.
No description provided.