1
0
Fork
You've already forked forgejo
0
forked from forgejo/forgejo
Beyond coding. We forge.
  • Go 74.3%
  • go-html-template 11.1%
  • JavaScript 4.9%
  • Roff 4.6%
  • CSS 3.1%
  • Other 1.8%
Find a file
Dmitrii Sharshakov 30982b9e7b feat(auth): add ability to regenerate access tokens ( #6963 )
- Add the ability to regenerate existing access tokens in the UI. This preserves the ID of the access token, but generates a new salt and token contents.
- Integration test added.
- Unit test added.
- Resolves #6880
Reviewed-on: forgejo/forgejo#6963
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
Co-committed-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025年03月08日 10:42:36 +00:00
.devcontainer Update ghcr.io/devcontainers/features/git-lfs Docker tag to v1.2.3 2024年10月01日 10:02:11 +00:00
.forgejo Update renovate to v39.185.0 (forgejo) ( #7105 ) 2025年03月03日 11:33:01 +00:00
assets chore(upgrade): switch to code.forgejo.org/forgejo/levelqueue ( #7074 ) 2025年02月28日 15:23:58 +00:00
build chore: teach lint-locale about locale_next ( #6800 ) 2025年02月06日 11:16:19 +00:00
cmd Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v1.64.6 (forgejo) ( #7118 ) 2025年03月04日 21:38:35 +00:00
contrib branding: update contrib/legal 2024年12月19日 18:55:20 +05:00
custom/conf fix(example conf): add .webp to ALLOWED_TYPES ( #7008 ) 2025年02月20日 21:48:37 +00:00
docker Update code.forgejo.org/oci/alpine Docker tag to v3.21 (followup) 2024年12月30日 15:22:42 +00:00
models feat(auth): add ability to regenerate access tokens ( #6963 ) 2025年03月08日 10:42:36 +00:00
modules Drop SSPI auth support and more Windows files ( #7148 ) 2025年03月08日 00:43:41 +00:00
options feat(auth): add ability to regenerate access tokens ( #6963 ) 2025年03月08日 10:42:36 +00:00
public chore(security): update security.txt with new expiration date ( #6655 ) 2025年01月23日 16:20:04 +00:00
release-notes feat(ui): create a comment aggregator to reduce noise in issues ( #6523 ) 2025年03月05日 17:24:51 +00:00
release-notes-published linting: fix typos, add toml validation ( #7007 ) 2025年02月21日 08:23:03 +00:00
releases/images [DOCS] RELEASE-NOTES.md 2024年02月05日 14:44:32 +01:00
routers feat(auth): add ability to regenerate access tokens ( #6963 ) 2025年03月08日 10:42:36 +00:00
services Drop SSPI auth support and more Windows files ( #7148 ) 2025年03月08日 00:43:41 +00:00
templates feat(auth): add ability to regenerate access tokens ( #6963 ) 2025年03月08日 10:42:36 +00:00
tests feat(auth): add ability to regenerate access tokens ( #6963 ) 2025年03月08日 10:42:36 +00:00
tools Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025年01月17日 11:21:28 +01:00
web_src Drop SSPI auth support and more Windows files ( #7148 ) 2025年03月08日 00:43:41 +00:00
.air.toml Reduce air verbosity ( #31417 ) 2024年06月23日 12:30:09 +02:00
.deadcode-out [gitea] week 2025-07 cherry pick (gitea/main -> forgejo) ( #6865 ) 2025年02月11日 16:22:58 +00:00
.dockerignore chore: update ignores 2025年01月03日 14:41:34 +01:00
.editorconfig fixed indentation style in editorconfig for go.mod 2024年05月14日 00:24:18 +02:00
.envrc.example Make direnv optional to let developers use their own direnv configuration 2024年11月06日 20:34:49 +01:00
.gitattributes Add interface{} to any replacement to make fmt, exclude *.pb.go ( #30461 ) 2024年04月15日 20:01:36 +02:00
.gitignore chore(e2e): simplify authentication setup ( #6400 ) 2025年01月05日 05:17:04 +00:00
.gitmodules cleanup(tests): remove manual testing submodule 2024年04月21日 10:13:51 +02:00
.gitpod.yml Remove sqlite-viewer and using database client ( #31223 ) 2024年06月09日 11:13:39 +02:00
.golangci.yml Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v1.64.6 (forgejo) ( #7118 ) 2025年03月04日 21:38:35 +00:00
.ignore Add /options/license and /options/gitignore to .ignore ( #30219 ) 2024年04月07日 15:40:31 +02:00
.mailmap Add .mailmap with aliases for Unknwon (github.com/Unknwon) 2024年08月14日 08:26:16 -04:00
.markdownlint.yaml Update JS dependencies ( #28537 ) 2023年12月30日 05:29:03 +00:00
.npmrc Upgrade to npm lockfile v3 and explicitely set it ( #23561 ) 2023年03月18日 19:38:10 +01:00
.release-notes-assistant.yaml chore(release-notes): no need to specify they are draft 2024年10月22日 06:54:27 +02:00
.spectral.yaml Add spectral linter for Swagger ( #20321 ) 2022年07月11日 18:07:16 -05:00
.yamllint.yaml fully replace drone with actions ( #27556 ) 2023年10月11日 06:39:32 +00:00
BSDmakefile Fix build errors on BSD (in BSDMakefile) ( #27594 ) 2023年10月13日 15:38:27 +00:00
build.go chore: remove unused dependency from build.go 2024年12月23日 16:23:28 +01:00
CODEOWNERS [skip ci] chore: adjust i18n entries in CODEOWNERS ( #6667 ) 2025年01月26日 07:37:50 +00:00
CONTRIBUTING.md docs: replace Developer Guide link with the new Contributor Guide one. 2024年08月26日 13:22:39 +03:00
DCO Remove address from DCO ( #22595 ) 2023年01月24日 18:52:38 +00:00
Dockerfile Update data.forgejo.org/oci/golang Docker tag to v1.24 (forgejo) ( #7039 ) 2025年02月23日 16:15:03 +00:00
Dockerfile.rootless fix(release): the rootless image version label is not set ( #7038 ) 2025年02月24日 07:28:25 +00:00
eslint.config.mjs linting: fix typos, add toml validation ( #7007 ) 2025年02月21日 08:23:03 +00:00
flake.lock Update nixpkgs version in flake 2024年12月08日 13:03:16 +01:00
flake.nix install go and gopls in nix flake devShell 2024年12月08日 13:04:22 +01:00
go.mod Update module golang.org/x/oauth2 to v0.28.0 (forgejo) ( #7149 ) 2025年03月07日 10:27:51 +00:00
go.sum Update module golang.org/x/oauth2 to v0.28.0 (forgejo) ( #7149 ) 2025年03月07日 10:27:51 +00:00
LICENSE Forgejo v9.0 is GPLv3+ 2024年08月22日 09:09:29 +02:00
main.go [RELEASE] decouple the release name from the version number 2024年02月17日 15:27:35 +01:00
Makefile Drop SSPI auth support and more Windows files ( #7148 ) 2025年03月08日 00:43:41 +00:00
package-lock.json Lock file maintenance (forgejo) ( #7106 ) 2025年03月03日 10:47:18 +00:00
package.json Update dependency happy-dom to v17.1.8 (forgejo) ( #7085 ) 2025年03月01日 23:43:46 +00:00
playwright.config.ts tests(e2e): Prepare for visual regression testing 2024年12月10日 18:12:36 +01:00
poetry.lock Lock file maintenance (forgejo) ( #7106 ) 2025年03月03日 10:47:18 +00:00
poetry.toml Clean up pyproject.toml and package.json, fix poetry options ( #25327 ) 2023年06月18日 18:13:08 +00:00
pyproject.toml linting: fix typos, add toml validation ( #7007 ) 2025年02月21日 08:23:03 +00:00
README.md start of the v10.0 development branch 2024年09月25日 11:11:41 +02:00
release-notes-assistant.sh chore(release-notes-assistant): security fix / features come first 2024年11月17日 20:03:11 +01:00
RELEASE-NOTES.md chore: fix typos, decap a few i18n strings ( #6666 ) 2025年01月24日 05:41:59 +00:00
renovate.json chore: consistent docker image and action references ( #6703 ) 2025年01月28日 15:41:11 +00:00
stylelint.config.js Merge pull request 'Port "Enable declaration-block-no-redundant-longhand-properties ( #30950 )' ( #3769 ) from beowulf/gitea-port-pull-30950 into forgejo 2024年05月14日 22:23:54 +00:00
tailwind.config.js fix: Do not scan all Go files for tailwind classes 2024年08月24日 15:45:50 +02:00
tsconfig.json Add typescript 2024年10月29日 18:15:09 +01:00
vitest.config.ts Add typescript 2024年10月29日 18:15:09 +01:00
webpack.config.js Add typescript 2024年10月29日 18:15:09 +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.

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.