diff --git a/.drone.yml b/.drone.yml index 4f9a9cb..3c429ba 100644 --- a/.drone.yml +++ b/.drone.yml @@ -118,7 +118,7 @@ environment: steps: - name: renovate - image: renovate/renovate:41.46 + image: renovate/renovate:41.72 environment: RENOVATE_CONFIG_FILE: "renovate_backend_config.js" RENOVATE_TOKEN: diff --git a/.forgejo/issue_template/bug.md b/.forgejo/issue_template/bug.md new file mode 100644 index 0000000..fdb8f31 --- /dev/null +++ b/.forgejo/issue_template/bug.md @@ -0,0 +1,33 @@ +--- +name: 'Bug Tempate' +about: 'This template is for bugs!' +title: '[BUG]: ' +ref: 'main' +labels: + - bug +--- + + + +## Expected Behavior + + +## Current Behavior + + +## Possible Solution + + +## Steps to Reproduce + +1. +2. +3. +4. + + +## Detailed Description + + +## Possible Implementation + \ No newline at end of file diff --git a/.forgejo/issue_template/feature.md b/.forgejo/issue_template/feature.md new file mode 100644 index 0000000..162bd00 --- /dev/null +++ b/.forgejo/issue_template/feature.md @@ -0,0 +1,18 @@ +--- +name: 'Feature Template' +about: 'This template is for new features!' +title: '[FEATURE]: ' +ref: 'main' +labels: + - feature +--- +## Description + + + +## Acceptance criteria +- [ ] AC 1 +- [ ] AC 2 + +## External or internal Dependencies + diff --git a/.forgejo/pull_request_template.md b/.forgejo/pull_request_template.md new file mode 100644 index 0000000..9d35117 --- /dev/null +++ b/.forgejo/pull_request_template.md @@ -0,0 +1,44 @@ +--- +name: 'New Pull-Request' +about: 'This is the template for a new Pull Request' +title: 'WIP: ' +ref: 'main' +labels: +--- + +## Description of the implemented changes +The changes were: +- [ ] Bugfixing +- [ ] New Feature +- [ ] Breaking Change +- [ ] Refactoring + + + + +## What has been changed? + + +## Definition of Done +### Code Quality +- [ ] No new technical depths +- [ ] Linting passed +- [ ] Documentation is added were needed + +### Accessibility +- [ ] New elements are properly defined with html-tags +- [ ] Colour contrast follows WCAG criteria +- [ ] Aria labels are added when needed +- [ ] Everything is accessible by keyboard +- [ ] Tab-Order is comprehensible +- [ ] All interactive elements have a visible focus + +### Testing +- [ ] Tests for new code are written +- [ ] All tests pass +- [ ] axe-core dev tools show no critical or major issues + + +## Additional Notes + + diff --git a/Justfile b/Justfile index 26db3bc..21e54fb 100644 --- a/Justfile +++ b/Justfile @@ -78,3 +78,9 @@ regen-migrations migration_name commit_hash='': # Generate a fresh migration mix ash.codegen --name "{{migration_name}}" + +# Remove all build artifacts +clean: + mix clean + rm -rf .elixir_ls + rm -rf _build \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 6828b89..0071ba6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,7 @@ services: rauthy: container_name: rauthy-dev - image: ghcr.io/sebadob/rauthy:0.31.3 + image: ghcr.io/sebadob/rauthy:0.32.0 environment: - LOCAL_TEST=true - SMTP_URL=mailcrab diff --git a/mix.lock b/mix.lock index 2060db6..4392c65 100644 --- a/mix.lock +++ b/mix.lock @@ -60,7 +60,7 @@ "phoenix_view": {:hex, :phoenix_view, "2.0.4", "b45c9d9cf15b3a1af5fb555c674b525391b6a1fe975f040fb4d913397b31abf4", [:mix], [{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:phoenix_template, "~> 1.0", [hex: :phoenix_template, repo: "hexpm", optional: false]}], "hexpm", "4e992022ce14f31fe57335db27a28154afcc94e9983266835bb3040243eb620b"}, "plug": {:hex, :plug, "1.18.1", "5067f26f7745b7e31bc3368bc1a2b818b9779faa959b49c934c17730efc911cf", [:mix], [{:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:plug_crypto, "~> 1.1.1 or ~> 1.2 or ~> 2.0", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4.3 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "57a57db70df2b422b564437d2d33cf8d33cd16339c1edb190cd11b1a3a546cc2"}, "plug_crypto": {:hex, :plug_crypto, "2.1.1", "19bda8184399cb24afa10be734f84a16ea0a2bc65054e23a62bb10f06bc89491", [:mix], [], "hexpm", "6470bce6ffe41c8bd497612ffde1a7e4af67f36a15eea5f921af71cf3e11247c"}, - "postgrex": {:hex, :postgrex, "0.20.0", "363ed03ab4757f6bc47942eff7720640795eb557e1935951c1626f0d303a3aed", [:mix], [{:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "d36ef8b36f323d29505314f704e21a1a038e2dc387c6409ee0cd24144e187c0f"}, + "postgrex": {:hex, :postgrex, "0.21.1", "2c5cc830ec11e7a0067dd4d623c049b3ef807e9507a424985b8dcf921224cd88", [:mix], [{:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "27d8d21c103c3cc68851b533ff99eef353e6a0ff98dc444ea751de43eb48bdac"}, "reactor": {:hex, :reactor, "0.15.6", "d717f9add549b25a089a94c90197718d2d838e35d81dd776b1d81587d4cf2aaa", [:mix], [{:igniter, "~> 0.4", [hex: :igniter, repo: "hexpm", optional: true]}, {:iterex, "~> 0.1", [hex: :iterex, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:libgraph, "~> 0.16", [hex: :libgraph, repo: "hexpm", optional: false]}, {:spark, "~> 2.0", [hex: :spark, repo: "hexpm", optional: false]}, {:splode, "~> 0.2", [hex: :splode, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.2", [hex: :telemetry, repo: "hexpm", optional: false]}, {:yaml_elixir, "~> 2.11", [hex: :yaml_elixir, repo: "hexpm", optional: false]}, {:ymlr, "~> 5.0", [hex: :ymlr, repo: "hexpm", optional: false]}], "hexpm", "74db98165e3644d86e0f723672d91ceca4339eaa935bcad7e78bf146a46d77b9"}, "req": {:hex, :req, "0.5.15", "662020efb6ea60b9f0e0fac9be88cd7558b53fe51155a2d9899de594f9906ba9", [:mix], [{:brotli, "~> 0.3.1", [hex: :brotli, repo: "hexpm", optional: true]}, {:ezstd, "~> 1.0", [hex: :ezstd, repo: "hexpm", optional: true]}, {:finch, "~> 0.17", [hex: :finch, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:mime, "~> 2.0.6 or ~> 2.1", [hex: :mime, repo: "hexpm", optional: false]}, {:nimble_csv, "~> 1.0", [hex: :nimble_csv, repo: "hexpm", optional: true]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: true]}], "hexpm", "a6513a35fad65467893ced9785457e91693352c70b58bbc045b47e5eb2ef0c53"}, "rewrite": {:hex, :rewrite, "1.1.2", "f5a5d10f5fed1491a6ff48e078d4585882695962ccc9e6c779bae025d1f92eda", [:mix], [{:glob_ex, "~> 0.1", [hex: :glob_ex, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.0", [hex: :sourceror, repo: "hexpm", optional: false]}, {:text_diff, "~> 0.1", [hex: :text_diff, repo: "hexpm", optional: false]}], "hexpm", "7f8b94b1e3528d0a47b3e8b7bfeca559d2948a65fa7418a9ad7d7712703d39d4"}, diff --git a/renovate.json b/renovate.json index d1281a3..78fbbad 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,7 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended"], + "schedule": ["* * 3 * *"], "packageRules": [ { "groupName": "Mix dependencies",