No description
Find a file
Gusted a10c6eb9c9
[GITEA] Fix generated source URL on rendered files
- The permalink and 'Reference in New issue' URL of an renderable
file (those where you can see the source and a rendered version of it,
such as markdown) doesn't contain `?display=source`. This leads the
issue that the URL doesn't have any effect, as by default the rendered
version is shown and thus not the source.
- Add `?display=source` to the permalink URL and to 'Reference in New Issue' if it's renderable file.
- Add integration testing.

(cherry picked from commit 458f20f862)
(cherry picked from commit 5e630d7b10)

Conflicts:
	models/fixtures/repo_unit.yml
	https://codeberg.org/forgejo/forgejo/pulls/1178
2023-08-01 10:09:23 +02:00
.devcontainer
.forgejo
.gitea
.github/workflows
assets
build
cmd
contrib
custom/conf [GITEA] add option for banning dots in usernames 2023-08-01 09:56:36 +02:00
docker
docs
models [GITEA] Fix generated source URL on rendered files 2023-08-01 10:09:23 +02:00
modules [GITEA] Add Upload URL to release API 2023-08-01 09:56:36 +02:00
options [GITEA] add option for banning dots in usernames 2023-08-01 09:56:36 +02:00
public [GITEA] add /.well-known/security.txt endpoint 2023-08-01 09:56:36 +02:00
releases [DOCS] RELEASE-NOTES.md 2023-08-01 09:26:55 +02:00
routers [GITEA] Add password length check on install page 2023-08-01 09:56:36 +02:00
services [GITEA] Add Upload URL to release API 2023-08-01 09:56:36 +02:00
snap
templates [GITEA] Fix generated source URL on rendered files 2023-08-01 10:09:23 +02:00
tests [GITEA] Fix generated source URL on rendered files 2023-08-01 10:09:23 +02:00
web_src [API] Forgejo API /api/forgejo/v1 2023-08-01 09:26:58 +02:00
.air.toml
.changelog.yml
.dockerignore
.drone.yml
.editorconfig
.eslintrc.yaml
.gitattributes
.gitignore
.gitpod.yml
.golangci.yml
.ignore
.markdownlint.yaml
.npmrc
.spectral.yaml
.stylelintrc.yaml
BSDmakefile
build.go
CHANGELOG.md
CONTRIBUTING.md
DCO
Dockerfile
Dockerfile.rootless
go.mod
go.sum
LICENSE [DOCS] LICENSE: add Forgejo Authors 2023-08-01 09:26:57 +02:00
main.go
MAINTAINERS
Makefile [SEMVER] 6.0.0+0-gitea-1.21.0 2023-08-01 09:28:24 +02:00
package-lock.json
package.json
playwright.config.js
poetry.lock
poetry.toml
pyproject.toml
README.md
RELEASE-NOTES.md [DOCS] RELEASE-NOTES.md 2023-08-01 09:26:55 +02:00
vitest.config.js
webpack.config.js [API] Forgejo API /api/forgejo/v1 2023-08-01 09:26:58 +02: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.