No description
Find a file
Gergely Nagy 1a90cd37c3
[GITEA] allow viewing the latest Action Run on the web
Similar to how some other parts of the web UI support a `/latest` path
to directly go to the latest of a certain thing, let the Actions web UI
do the same: `/{owner}/{repo}/actions/runs/latest` will redirect to the
latest run, if there's one available.

Fixes gitea#27991.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit f67ccef1dd)

Code cleanup in the actions.ViewLatest route handler

Based on feedback received after the feature was merged, use
`ctx.NotFound` and `ctx.ServerError`, and drop the use of the
unnecessary `ctx.Written()`.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit 74e42da563)
(cherry picked from commit f7535a1cef)
2023-12-18 16:39:21 +01:00
.devcontainer
.forgejo [CI] Switch to non-coverage unit test (squash) 2023-12-18 14:39:08 +01:00
.gitea [WORKFLOW] yaml issue templates 2023-12-18 15:12:21 +01:00
assets [GITEA] Use maintained gziphandler 2023-12-18 16:39:20 +01:00
build
cmd [CLI] implement forgejo-cli 2023-12-18 14:39:08 +01:00
contrib [GITEA] fix VSCode settings 2023-12-18 16:39:21 +01:00
custom/conf [GITEA] notifies admins on new user registration 2023-12-18 16:39:16 +01:00
docker
docs [GITEA] notifies admins on new user registration 2023-12-18 16:39:16 +01:00
models [GITEA] allow viewing the latest Action Run on the web 2023-12-18 16:39:21 +01:00
modules [GITEA] correct default license selection 2023-12-18 16:39:21 +01:00
options [GITEA] Allow user to select email for file operations in Web UI 2023-12-18 16:39:20 +01:00
public [API] Forgejo API /api/forgejo/v1 2023-12-18 15:10:54 +01:00
releases/images [DOCS] RELEASE-NOTES.md 2023-12-18 15:10:52 +01:00
routers [GITEA] allow viewing the latest Action Run on the web 2023-12-18 16:39:21 +01:00
services [GITEA] Add download URL for executable files 2023-12-18 16:39:20 +01:00
snap
templates [GITEA] Make HTTPS schema default for Swagger 2023-12-18 16:39:21 +01:00
tests [GITEA] allow viewing the latest Action Run on the web 2023-12-18 16:39:21 +01:00
web_src [GITEA] Use vertical tabs on issue filters 2023-12-18 16:32:02 +01:00
.air.toml
.changelog.yml
.deadcode-out [GITEA] Enable mocked HTTP responses for GitLab migration test 2023-12-18 16:39:20 +01:00
.dockerignore
.editorconfig
.eslintrc.yaml Update JS and PY dependencies (#28120) 2023-11-20 01:02:57 +01:00
.gitattributes [META] Use correct language for .tmpl 2023-12-18 15:10:54 +01:00
.gitignore [DEVELOPMENT] added /local/ to .gitignore 2023-12-18 15:12:41 +01:00
.gitpod.yml
.golangci.yml
.ignore
.markdownlint.yaml
.npmrc
.spectral.yaml
.stylelintrc.yaml
.yamllint.yaml
BSDmakefile
build.go
CHANGELOG.md
CODEOWNERS [META] Add CODEOWNERS files 2023-12-18 15:12:41 +01:00
CONTRIBUTING.md [DOCS] CONTRIBUTING 2023-12-18 15:08:21 +01:00
DCO
Dockerfile [CI] Forgejo Actions based release process 2023-12-18 14:39:08 +01:00
Dockerfile.rootless [CI] Forgejo Actions based release process 2023-12-18 14:39:08 +01:00
go.mod [GITEA] Use existing error functionality 2023-12-18 16:39:20 +01:00
go.sum [GITEA] Use maintained gziphandler 2023-12-18 16:39:20 +01:00
LICENSE [DOCS] LICENSE: add Forgejo Authors 2023-12-18 15:10:54 +01:00
main.go [SEMVER] store SemVer in ForgejoSemVer after a database upgrade 2023-12-18 15:10:54 +01:00
MAINTAINERS
Makefile [SEMVER] 7.0.0+0-gitea-1.22.0 2023-12-18 15:12:42 +01:00
package-lock.json Update JS and PY dependencies (#28120) 2023-11-20 01:02:57 +01:00
package.json Update JS and PY dependencies (#28120) 2023-11-20 01:02:57 +01:00
playwright.config.js
poetry.lock Update JS and PY dependencies (#28120) 2023-11-20 01:02:57 +01:00
poetry.toml
pyproject.toml Update JS and PY dependencies (#28120) 2023-11-20 01:02:57 +01:00
README.md [DOCS] README 2023-12-18 15:08:21 +01:00
RELEASE-NOTES.md [DOCS] RELEASE-NOTES.md 2023-12-18 15:10:52 +01:00
vitest.config.js
webpack.config.js [API] Forgejo API /api/forgejo/v1 2023-12-18 15:10:54 +01:00

Welcome to Forgejo

Hi there! Tired of big platforms playing monopoly? Providing Git hosting for your project, friends, company or community? Forgejo (/for'd͡ʒe.jo/ inspired by forĝejo the Esperanto word for forge) has you covered with its intuitive interface, light and easy hosting and a lot of builtin functionality.

Forgejo was created in 2022 because we think that the project should be owned by an independent community. If you second that, then Forgejo is for you! Our promise: Independent Free/Libre Software forever!

What does Forgejo offer?

If you like any of the following, Forgejo is literally meant for you:

  • Lightweight: Forgejo can easily be hosted on nearly every machine. Running on a Raspberry? Small cloud instance? No problem!
  • Project management: Besides Git hosting, Forgejo offers issues, pull requests, wikis, kanban boards and much more to coordinate with your team.
  • Publishing: Have something to share? Use releases to host your software for download, or use the package registry to publish it for docker, npm and many other package managers.
  • Customizable: Want to change your look? Change some settings? There are many config switches to make Forgejo work exactly like you want.
  • Powerful: Organizations & team permissions, CI integration, Code Search, LDAP, OAuth and much more. If you have advanced needs, Forgejo has you covered.
  • Privacy: From update checker to default settings: Forgejo is built to be privacy first for you and your crew.
  • Federation: (WIP) We are actively working to connect software forges with each other through ActivityPub, and create a collaborative network of personal instances.

Learn more

Dive into the documentation, subscribe to releases and blog post on our website, find us on the Fediverse or hop into our Matrix room if you have any questions or want to get involved.

Get involved

If you are interested in making Forgejo better, either by reporting a bug or by changing the governance, please take a look at the contribution guide.