No description
Find a file
Timon van der Berg 2675a24649
Repo Activity: count new issues that were closed (#31776)
I'm new to go and contributing to gitea, your guidance is much
appreciated.

This is meant to solve https://github.com/go-gitea/gitea/issues/13309

Previously, closed issues would not be shown under new issues in the
activity tab, even if they were newly created.

changes:
* Split out newlyCreatedIssues from issuesForActivityStatement to count
  both currently open and closed issues.
* Use a seperate function to count active issues to prevent
double-counting issues after the above change.

Result is that new issues that have been closed are shown both under
"new" and "closed".

Signed-off-by: Timon van der Berg <tmnvanderberg@gmail.com>
(cherry picked from commit ebfde845294cc681de6b1fe1adcf27e35f61b89b)
2024-09-27 08:42:48 +02:00
.devcontainer
.forgejo Update renovate to v38.80.0 2024-09-16 00:02:10 +00:00
assets chore(build): use a stable mirror for go-libravatar 2024-09-14 09:58:49 +02:00
build
cmd Replace create-user in help with user create 2024-08-30 10:11:23 +00:00
contrib
custom/conf
docker
models Repo Activity: count new issues that were closed (#31776) 2024-09-27 08:42:48 +02:00
modules feat: add IfZero utility function 2024-09-27 08:42:48 +02:00
options Refactor CSRF protector (#32057) 2024-09-27 08:42:48 +02:00
public
release-notes [gitea] week 2024-38 cherry pick (gitea/main -> forgejo) (release notes) 2024-09-20 07:11:08 +02:00
releases/images
routers Fix incorrect /tokens api (#32085) 2024-09-27 08:42:48 +02:00
services Refactor CSRF protector (#32057) (fix forgejo tests) 2024-09-27 08:42:48 +02:00
templates Merge pull request 'Fix milestone assignment in new issue' (#5180) from esainane/forgejo:five-hundred-more into forgejo 2024-09-17 16:50:42 +00:00
tests Fix incorrect /tokens api (#32085) 2024-09-27 08:42:48 +02:00
tools
web_src Merge pull request 'Fix milestone assignment in new issue' (#5180) from esainane/forgejo:five-hundred-more into forgejo 2024-09-17 16:50:42 +00:00
.air.toml
.deadcode-out [DEADCODE] update 2024-09-14 18:58:51 +02:00
.dockerignore
.editorconfig
.envrc
.eslintrc.yaml
.gitattributes
.gitignore
.gitmodules
.gitpod.yml
.golangci.yml
.ignore
.mailmap
.markdownlint.yaml
.npmrc
.release-notes-assistant.yaml
.spectral.yaml
.yamllint.yaml
BSDmakefile
build.go
CODEOWNERS
CONTRIBUTING.md
DCO
Dockerfile
Dockerfile.rootless
flake.lock
flake.nix
go.mod Update module connectrpc.com/connect to v1.17.0 2024-09-21 02:02:43 +00:00
go.sum Update module connectrpc.com/connect to v1.17.0 2024-09-21 02:02:43 +00:00
LICENSE
main.go
Makefile Update renovate to v38.80.0 2024-09-16 00:02:10 +00:00
package-lock.json Update dependency @stoplight/spectral-cli to v6.13.1 2024-09-22 00:02:33 +00:00
package.json Update dependency @stoplight/spectral-cli to v6.13.1 2024-09-22 00:02:33 +00:00
playwright.config.js Parallelize playwright tests 2024-09-11 16:53:51 +02:00
poetry.lock Update dependency djlint to v1.35.2 2024-08-30 02:04:02 +00:00
poetry.toml
pyproject.toml Update dependency djlint to v1.35.2 2024-08-30 02:04:02 +00:00
README.md
release-notes-assistant.sh
RELEASE-NOTES.md docs: add links to the v7.0.9 & v8.0.3 release notes 2024-09-06 14:44:43 +02:00
renovate.json chore(renovate): disable renovate self-updates on release branches 2024-09-16 08:39:26 +02:00
stylelint.config.js
tailwind.config.js
vitest.config.js
webpack.config.js chore: Fix import 2024-09-01 00:11:09 +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.

License

Forgejo is distributed under the terms of the GPL version 3.0 or any later version.

The agreement for this license was documented in June 2023 and implemented during the development of Forgejo v9.0. All Forgejo versions before v9.0 are distributed under the MIT license.

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.