No description
Find a file
Lunny Xiao c9854bee98 Do some performance optimize for issues list and view issue/pull (gitea#29515)
This PR do some performance optimzations.

- [x] Add `index` for the column `comment_id` of `Attachment` table to
accelerate query from the database.
- [x] Remove unnecessary database queries when viewing issues. Before
some conditions which id = 0 will be sent to the database
- [x] Remove duplicated load posters
- [x] Batch loading attachements, isread of comments on viewing issue

---------

Co-authored-by: Zettat123 <zettat123@gmail.com>
Conflicts:
models/issues/comment_code.go: function was renamed in Forgejo
models/migrations/migrations.go: migration already ported
2024-04-08 14:47:31 +02:00
.devcontainer
.forgejo Merge pull request 'Run Renovate more often' (#3108) from viceice/forgejo:chore/renovate-settings into forgejo 2024-04-08 08:11:32 +00:00
.gitea
assets [CHORE] Remove u2f dependency 2024-04-05 16:23:10 +02:00
build
cmd Add unit tests for update git hook 2024-04-06 17:01:33 +02:00
contrib
custom/conf
docker
manual-testing@877d11b403
models Do some performance optimize for issues list and view issue/pull (gitea#29515) 2024-04-08 14:47:31 +02:00
modules [FEAT] Support Include/Exclude Filters for Grep (#3058) 2024-04-06 13:25:39 +00:00
options Merge pull request 'Add optional pronoun field in user settings' (#1518) from hazy/forgejo:feat/pronoun-field into forgejo 2024-04-06 12:23:54 +00:00
public [FEAT] sourcehut webhooks 2024-04-05 10:20:40 +02:00
releases/images
routers Do some performance optimize for issues list and view issue/pull (gitea#29515) 2024-04-08 14:47:31 +02:00
services Add vars context to cron jobs (#3059) 2024-04-06 19:54:53 +00:00
templates [BUG] Fix admin layout 2024-04-06 21:23:50 +02:00
tests [FEAT] Support Include/Exclude Filters for Grep (#3058) 2024-04-06 13:25:39 +00:00
tools
web_src Merge pull request '[PORT] gitea#29953: Fix:the rounded corners of the folded file are not displayed correctly' (#3102) from algernon/forgejo:gitea/port/29953 into forgejo 2024-04-08 09:26:34 +00:00
.air.toml
.changelog.yml
.deadcode-out
.dockerignore
.editorconfig
.eslintrc.yaml [PORT] gitea#30279: Update JS dependencies and add new eslint rules 2024-04-07 15:05:08 +02:00
.gitattributes
.gitignore
.gitmodules
.gitpod.yml
.golangci.yml
.ignore
.markdownlint.yaml
.npmrc
.spectral.yaml
.stylelintrc.yaml
.yamllint.yaml
BSDmakefile
build.go
CODEOWNERS CODEOWNERS: add more reviewers (#3054) 2024-04-05 10:53:39 +00:00
CONTRIBUTING.md
DCO
Dockerfile
Dockerfile.rootless
go.mod [CHORE] Remove u2f dependency 2024-04-05 16:23:10 +02:00
go.sum [CHORE] Remove u2f dependency 2024-04-05 16:23:10 +02:00
LICENSE
main.go
MAINTAINERS
Makefile
package-lock.json [PORT] gitea#30279: Update JS dependencies and add new eslint rules 2024-04-07 15:05:08 +02:00
package.json [PORT] gitea#30279: Update JS dependencies and add new eslint rules 2024-04-07 15:05:08 +02:00
playwright.config.js
poetry.lock
poetry.toml
pyproject.toml
README.md
RELEASE-NOTES.md [RELEASE] v1.21.10-0 release notes 2024-04-04 18:37:59 +02:00
renovate.json Run Renovate more often 2024-04-08 09:19:58 +02:00
tailwind.config.js
updates.config.js
vitest.config.js
webpack.config.js

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.