AdminAPI: Disallow setting invalid frontend config #7983

Open
phnt wants to merge 1 commit from fix-adminapi-frontend-config into develop
Member

Checklist

  • Adding a changelog: In the changelog.d directory, create a file named <code>.<type>.

Closes pleroma/pleroma#7979

### Checklist - [x] Adding a changelog: In the `changelog.d` directory, create a file named `<code>.<type>`. <!-- `<code>` can be anything, but we recommend using a more or less unique identifier to avoid collisions, such as the branch name. `<type>` can be `add`, `change`, `remove`, `fix`, `security` or `skip`. `skip` is only used if there is no user-visible change in the PR (for example, only editing comments in the code). Otherwise, choose a type that corresponds to your change. In the file, write the changelog entry. For example, if a PR adds group functionality, we can create a file named `group.add` and write `Add group functionality` in it. If one changelog entry is not enough, you may add more. But that might mean you can split it into two PRs. Only use more than one changelog entry if you really need to (for example, when one change in the code fix two different bugs, or when refactoring). --> Closes pleroma/pleroma#7979
AdminAPI: Disallow setting invalid frontend config
All checks were successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.19 Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline was successful
56bf21ae19
All checks were successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.19 Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline was successful
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix-adminapi-frontend-config:fix-adminapi-frontend-config
git switch fix-adminapi-frontend-config

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch develop
git merge --no-ff fix-adminapi-frontend-config
git switch fix-adminapi-frontend-config
git rebase develop
git switch develop
git merge --ff-only fix-adminapi-frontend-config
git switch fix-adminapi-frontend-config
git rebase develop
git switch develop
git merge --no-ff fix-adminapi-frontend-config
git switch develop
git merge --squash fix-adminapi-frontend-config
git switch develop
git merge --ff-only fix-adminapi-frontend-config
git switch develop
git merge fix-adminapi-frontend-config
git push origin develop
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pleroma/pleroma!7983
No description provided.