Add oban web dashboard #871

Merged
floatingghost merged 5 commits from oban_web into develop 2025-02-27 12:07:37 +00:00

been running on ihba for some time with no issue

looks like this

image

been running on ihba for some time with no issue looks like this ![image](/attachments/b0297c1a-b4f1-43fc-80a0-7a30f330d7b8)
floatingghost added 1 commit 2025-02-21 15:26:16 +00:00
add oban web
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test unknown status
ci/woodpecker/pr/build-amd64 unknown status
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/docs unknown status
b2b63ad89f
Oneric reviewed 2025-02-21 19:14:38 +00:00
@ -904,2 +905,4 @@
csp_nonce_assign_key: :csp_nonce
)
oban_dashboard("/oban/dashboard", csp_nonce_assign_key: :csp_nonce)
Member

This will make oban and API prefix and may introduce regressions similar to what happened in de64c6c54a (fixed in a3101a435b).
It would be best to use an existing API prefix here, e.g. /akkoma/oban_dashboard or /web/oban/dashboard. All current API prefixes listed below (obtained by running Pleroma.Web.Router.get_api_routes()):

["api", "main", "ostatus_subscribe", "oauth", "akkoma", "objects", "activities",
 "notice", "@:nickname", ":nickname", "users", "tags", "mailer", "inbox",
 "relay", "internal", ".well-known", "nodeinfo", "manifest.json", "web", "auth",
 "embed", "proxy", "phoenix", "user_exists", "check_password"]

It might be a good idea to add a test ensuring no new API prefixes are added by accident going forward

This will make `oban` and API prefix and may introduce regressions similar to what happened in de64c6c54aaacc4123031f2e3d5bfb9fc9c517fe (fixed in a3101a435bae8bba7da77bba52d80e06b85593a4). It would be best to use an existing API prefix here, e.g. `/akkoma/oban_dashboard` or `/web/oban/dashboard`. All current API prefixes listed below *(obtained by running `Pleroma.Web.Router.get_api_routes()`)*: ``` ["api", "main", "ostatus_subscribe", "oauth", "akkoma", "objects", "activities", "notice", "@:nickname", ":nickname", "users", "tags", "mailer", "inbox", "relay", "internal", ".well-known", "nodeinfo", "manifest.json", "web", "auth", "embed", "proxy", "phoenix", "user_exists", "check_password"] ``` It might be a good idea to add a test ensuring no new API prefixes are added by accident going forward
Author
Owner

i've added a snapshot test for this to make sure we don't run into it again

i've added a snapshot test for this to make sure we don't run into it again
floatingghost added 3 commits 2025-02-23 16:33:01 +00:00
update deps
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
13d650602b
floatingghost added 1 commit 2025-02-23 16:52:06 +00:00
add a snapshot test for api prefixes
Some checks are pending
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build-arm64 Pipeline is running
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-amd64 Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pull_request_closed/lint Pipeline was successful
ci/woodpecker/pull_request_closed/build-amd64 Pipeline was successful
ci/woodpecker/pull_request_closed/docs Pipeline was successful
ci/woodpecker/pull_request_closed/test Pipeline was successful
ci/woodpecker/pull_request_closed/build-arm64 Pipeline was successful
c2f60c9228
Oneric reviewed 2025-02-26 01:39:09 +00:00
@ -1,6 +1,5 @@
[
import_deps: [:ecto, :ecto_sql, :phoenix],
subdirectories: ["priv/*/migrations"],
Member

Were migrations intentionally excluded from formatting?

Were migrations intentionally excluded from formatting?
Author
Owner

so fun fact the subdirectories thing

per docs:

subdirectories (a list of paths and patterns) - specifies subdirectories that have their own formatting rules. Each subdirectory should have a .formatter.exs that configures how entries in that subdirectory should be formatted as.

which migrations... don't

I'm not sure why this setting was here at all

so fun fact the subdirectories thing per docs: >subdirectories (a list of paths and patterns) - specifies subdirectories that have their own formatting rules. Each subdirectory should have a .formatter.exs that configures how entries in that subdirectory should be formatted as. which migrations... don't I'm not sure why this setting was here at all
Member

huh, yeah all good to purge then (i can't mark the threads here as resolved)

huh, yeah all good to purge then *(i can't mark the threads here as resolved)*
floatingghost merged commit d65cd1b141 into develop 2025-02-27 12:07:37 +00:00
floatingghost deleted branch oban_web 2025-02-27 12:07:38 +00:00
Sign in to join this conversation.
No description provided.