Commit Graph

6 Commits (63b3a33bf2f1de6318e269cfd0d9315472d796d2)

Author SHA1 Message Date
wxiaoguang 6106a61eff
Remove sub-path from container registry realm ()
Container registry requires that the "/v2" must be in the root, so the
sub-path in AppURL should be removed
wxiaoguang d92b4cd093
Fix incorrect CLI exit code and duplicate error message ()
Follow the CLI refactoring, and add tests.
wxiaoguang b71cb7acdc
Use fetch to send requests to create issues/comments ()
Follow 

Network error won't make content lost. And this is a much better
approach than "loading-button".

The UI is not perfect and there are still some TODOs, they can be done
in following PRs, not a must in this PR's scope.

<details>


![image](https://github.com/go-gitea/gitea/assets/2114189/c94ba958-aa46-4747-8ddf-6584deeed25c)

</details>
wxiaoguang ca5f302876
Fix admin config page error, use tests to cover the admin config and 500 error page ()
The admin config page has been broken for many many times, a little
refactoring would make this page panic.

So, add a test for it, and add another test to cover the 500 error page.

Co-authored-by: Giteabot <teabot@gitea.io>
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files ()
Change all license headers to comply with REUSE specification.

Fix 

Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Ethan Koenig befa7445d2 Unit tests for routers/repo/issue_label ()