mirror of
1
Fork 0
Beyond coding. We forge.
Go to file
Gusted 331fa44956
[BUG] Ensure `HasIssueContentHistory` takes into account `comment_id`
- The content history table contains the content history of issues and
comments. For issues they are saved with an comment id of zero.
- If you want to check if the issue has an content history, it should
take into account that SQL has `comment_id = 0`, as it otherwise could
return incorrect results when for example the issue already has an
comment that has an content history.
- Fix the code of `HasIssueContentHistory` to take this into account, it
relied on XORM to generate the SQL from the non-default values of the
struct, this wouldn't generate the `comment_id = 0` SQL as `0` is the
default value of an integer.
- Remove an unncessary log (it's not the responsibility of `models`
code to do logging).
- Adds unit test.
- Resolves #2513
2024-02-29 18:23:06 +01:00
.devcontainer
.forgejo
.gitea
assets [CHORE] Update `connect-go` to maintained fork 2024-02-28 09:40:56 +01:00
build Refactor generate-svg.js (#29348) 2024-02-26 22:30:26 +01:00
cmd Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 2024-02-26 22:30:26 +01:00
contrib
custom/conf Allow options to disable user deletion from the interface on app.ini (#29275) 2024-02-26 22:30:26 +01:00
docker
docs Add `io.Closer` guidelines (#29387) 2024-02-26 22:30:27 +01:00
manual-testing@877d11b403
models [BUG] Ensure `HasIssueContentHistory` takes into account `comment_id` 2024-02-29 18:23:06 +01:00
modules Merge pull request 'Disabling Stars should disable the routes too' (#2471) from algernon/forgejo:stars/disable-routes into forgejo 2024-02-27 21:24:25 +00:00
options Merge pull request '[UI] Actions: Link to Workflow in View' (#1866) from n0toose/forgejo:forgejo-add-workflow-link into forgejo 2024-02-28 17:28:16 +00:00
public Update Discord logo (#29285) 2024-02-26 21:42:15 +01:00
releases/images
routers Merge pull request '[UI] Actions: Link to Workflow in View' (#1866) from n0toose/forgejo:forgejo-add-workflow-link into forgejo 2024-02-28 17:28:16 +00:00
services Add attachment support for code review comments (#29220) 2024-02-27 18:35:43 +00:00
snap
templates Merge pull request '[UI] Actions: Link to Workflow in View' (#1866) from n0toose/forgejo:forgejo-add-workflow-link into forgejo 2024-02-28 17:28:16 +00:00
tests Merge pull request '[UI] Actions: Link to Workflow in View' (#1866) from n0toose/forgejo:forgejo-add-workflow-link into forgejo 2024-02-28 17:28:16 +00:00
web_src Merge pull request '[UI] Actions: Link to Workflow in View' (#1866) from n0toose/forgejo:forgejo-add-workflow-link into forgejo 2024-02-28 17:28:16 +00:00
.air.toml
.changelog.yml
.deadcode-out [DEADCODE] update 2024-02-26 22:30:27 +01:00
.dockerignore
.editorconfig
.eslintrc.yaml Remove jQuery .map() and enable eslint rules for it (#29272) 2024-02-26 21:42:15 +01:00
.gitattributes
.gitignore
.gitmodules
.gitpod.yml
.golangci.yml
.ignore
.markdownlint.yaml
.npmrc
.spectral.yaml
.stylelintrc.yaml Add tailwindcss (#29357) 2024-02-26 22:30:27 +01:00
.yamllint.yaml
BSDmakefile
CHANGELOG.md
CODEOWNERS
CONTRIBUTING.md
DCO
Dockerfile
Dockerfile.rootless
LICENSE
MAINTAINERS
Makefile Merge pull request '[RELEASE] switch to semantic versioning' (#2459) from earl-warren/forgejo:wip-release-number into forgejo 2024-02-28 10:18:20 +00:00
README.md
RELEASE-NOTES.md
build.go
go.mod [CHORE] Update `connect-go` to maintained fork 2024-02-28 09:40:56 +01:00
go.sum [CHORE] Update `connect-go` to maintained fork 2024-02-28 09:40:56 +01:00
main.go
package-lock.json Add tailwindcss (#29357) 2024-02-26 22:30:27 +01:00
package.json Add tailwindcss (#29357) 2024-02-26 22:30:27 +01:00
playwright.config.js
poetry.lock
poetry.toml
pyproject.toml
tailwind.config.js Add tailwindcss (#29357) 2024-02-26 22:30:27 +01:00
vitest.config.js
webpack.config.js Add tailwindcss (#29357) 2024-02-26 22:30:27 +01:00

README.md

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.