Beyond coding. We forge. (Code of Conduct: https://codeberg.org/forgejo/code-of-conduct)
Find a file
Yarden Shoham af6700152c
fix incorrect role labels for migrated issues and comments (#22914) (#22923)
Backport #22914

Fix #22797.

## Reason
If a comment was migrated from other platforms, this comment may have an
original author and its poster is always not the original author. When
the `roleDescriptor` func get the poster's role descriptor for a
comment, it does not check if the comment has an original author. So the
migrated comments' original authors might be marked as incorrect roles.

Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-17 01:18:06 -07:00
.gitea [WORKFLOW] issues & pr templates 2023-02-11 17:23:20 +01:00
.woodpecker [BRANDING] parse FORGEJO__* in the container environment 2023-02-12 00:18:41 +01:00
assets [BRANDING] add Forgejo logo 2023-02-12 00:18:04 +01:00
build [I18N] Add Locale merger script 2023-02-12 00:11:35 +01:00
cmd [BRANDING] Rename usage of Gitea in user-visible places 2023-02-12 00:18:41 +01:00
contrib [BRANDING] parse FORGEJO__* in the container environment 2023-02-12 00:18:41 +01:00
CONTRIBUTING [DOCS] CONTRIBUTING 2023-02-11 17:23:19 +01:00
custom/conf Merge branch 'v1.18/forgejo-privacy' into v1.18/forgejo 2023-02-12 00:26:09 +01:00
docker [BRANDING] container images: set APP_NAME 2023-02-12 00:18:40 +01:00
docs [PRIVACY] Add a DNS method to fetch new updates 2023-02-11 22:57:55 +01:00
models fix incorrect role labels for migrated issues and comments (#22914) (#22923) 2023-02-17 01:18:06 -07:00
modules escape filename when assemble URL (#22850) (#22871) 2023-02-17 01:18:05 -07:00
options Merge branch 'v1.18/forgejo-a11y' into v1.18/forgejo 2023-02-12 00:24:44 +01:00
public [BRANDING] Custom loading animation for Forgejo 2023-02-12 00:18:40 +01:00
releases [CI] publish: allow pushing a release to an existing tag 2023-02-17 08:09:05 +01:00
routers fix incorrect role labels for migrated issues and comments (#22914) (#22923) 2023-02-17 01:18:06 -07:00
services escape filename when assemble URL (#22850) (#22871) 2023-02-17 01:18:05 -07:00
snap switch to node18 for snapcraft 2022-08-18 12:25:50 -04:00
templates Revert "Fixes accessibility of empty repository commit status (#22632)" 2023-02-13 14:51:24 +01:00
tests [BRANDING] Update nodeinfo branding 2023-02-12 00:20:17 +01:00
tools Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
web_src Fix PR file tree folders no longer collapsing (#22864) (#22872) 2023-02-17 01:18:06 -07:00
.air.toml Add more test directory to exclude dir of air, remove watching templates from air include dir because gitea has internal mechanism (#22246) (#22247) 2022-12-29 16:12:10 +01:00
.changelog.yml Changelog for v1.15.0-rc1 (#16422) 2021-07-15 11:47:57 -04:00
.drone.yml use drone secrets for s3 config (#22770) (#22773) 2023-02-05 18:42:45 -05:00
.editorconfig Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
.eslintrc.yaml Remove vitest globals (#21505) 2022-10-19 14:50:19 +08:00
.gitattributes Hook go-licenses into tidy again (#21353) 2022-10-10 20:45:02 +02:00
.gitignore [I18N] Makefile + gitignore 2023-02-12 00:11:35 +01:00
.gitpod.yml Add sqlite vscode extension to Gitpod configuration (#21552) 2022-10-24 16:55:59 -04:00
.golangci.yml upgrade golangcilint to v1.51.0 (#22764) 2023-02-07 19:28:25 +00:00
.ignore Add some .ignore entries (#18296) 2022-01-16 17:26:15 +00:00
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
.markdownlint.yaml Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
.npmrc Stop packaging node_modules in release tarballs (#15273) 2021-04-09 01:08:14 -04:00
.spectral.yaml Add spectral linter for Swagger (#20321) 2022-07-11 18:07:16 -05:00
.stylelintrc.yaml Move eslintrc/stylelintrc to non-deprecated extensions (#20110) 2022-06-24 14:09:53 +02:00
BSDmakefile Add BSDmakefile to prevent errors when make is called under FreeBSD (#4446) 2018-07-16 20:45:51 +02:00
build.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
CHANGELOG.md Changelog 1.18.3 (#22575) 2023-01-23 08:42:02 -06:00
CONTRIBUTING.md [DOCS] CONTRIBUTING 2023-02-11 17:23:19 +01:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Revert [CI] set the platform for cross compilation 2023-02-17 08:09:13 +01:00
Dockerfile.rootless Revert [CI] set the platform for cross compilation 2023-02-17 08:09:13 +01:00
go.mod Revert "Use import of OCI structs (#22765) (#22805)" 2023-02-11 17:57:13 +01:00
go.sum Revert "Use import of OCI structs (#22765) (#22805)" 2023-02-11 17:57:13 +01:00
LICENSE [DOCS] LICENSE: add Forgejo Authors 2023-02-11 17:23:20 +01:00
main.go Fix typo overrided -> overridden (#20687) 2022-08-06 20:54:26 -04:00
MAINTAINERS Add yardenshoham to maintainers (#21566) 2022-10-23 12:09:21 -04:00
Makefile Merge branch 'v1.18/forgejo-branding' into v1.18/forgejo 2023-02-12 00:25:45 +01:00
package-lock.json Switch from jest to vitest (#21444) 2022-10-14 21:36:16 +08:00
package.json Switch from jest to vitest (#21444) 2022-10-14 21:36:16 +08:00
playwright.config.js Update JS dependencies and eslint config (#21388) 2022-10-10 20:02:20 +08:00
README.md [BRANDING] add Forgejo logo 2023-02-12 00:18:04 +01:00
RELEASE-NOTES.md [DOCS] RELEASE-NOTES.md 2023-02-11 17:23:20 +01:00
vitest.config.js Remove vitest globals (#21505) 2022-10-19 14:50:19 +08:00
webpack.config.js [API] Forgejo API /api/forgejo/v1 2023-02-11 17:34:40 +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. Interested? Read more

Learn more

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.