From e68b9d00a6e05b3a941f63ffb696f91e554ac5ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.3. Signed-off-by: Daniel Baumann --- .air.toml | 29 + .deadcode-out | 303 + .devcontainer/devcontainer.json | 42 + .dockerignore | 114 + .editorconfig | 28 + .envrc | 1 + .eslintrc.yaml | 803 + .forgejo/cascading-pr-end-to-end | 34 + .forgejo/cascading-release-end-to-end | 22 + .forgejo/issue_template/bug-report-ui.yaml | 57 + .forgejo/issue_template/bug-report.yaml | 72 + .forgejo/issue_template/config.yml | 16 + .forgejo/issue_template/feature-request.yaml | 31 + .forgejo/pull_request_template.md | 33 + .forgejo/testdata/build-release/Dockerfile | 6 + .forgejo/testdata/build-release/Makefile | 5 + .forgejo/testdata/build-release/go.mod | 3 + .../build-release/modules/public/bindata.go | 0 .../build-release/public/assets/css/placeholder | 0 .../build-release/public/assets/fonts/placeholder | 0 .../build-release/public/assets/js/placeholder | 0 .forgejo/workflows/backport.yml | 59 + .forgejo/workflows/build-release-integration.yml | 135 + .forgejo/workflows/build-release.yml | 231 + .forgejo/workflows/cascade-setup-end-to-end.yml | 74 + .forgejo/workflows/e2e.yml | 37 + .forgejo/workflows/forgejo-integration-cleanup.yml | 39 + .forgejo/workflows/milestone.yml | 24 + .forgejo/workflows/mirror.yml | 27 + .forgejo/workflows/publish-release.yml | 86 + .../release-notes-assistant-milestones.yml | 33 + .forgejo/workflows/release-notes-assistant.yml | 39 + .forgejo/workflows/renovate.yml | 71 + .forgejo/workflows/testing.yml | 337 + .gitattributes | 11 + .gitignore | 125 + .gitmodules | 0 .gitpod.yml | 51 + .golangci.yml | 148 + .ignore | 11 + .mailmap | 2 + .markdownlint.yaml | 17 + .npmrc | 6 + .release-notes-assistant.yaml | 27 + .spectral.yaml | 12 + .yamllint.yaml | 44 + BSDmakefile | 58 + CODEOWNERS | 37 + CONTRIBUTING.md | 7 + DCO | 34 + Dockerfile | 108 + Dockerfile.rootless | 114 + LICENSE | 674 + Makefile | 1027 + README.md | 52 + RELEASE-NOTES.md | 2658 ++ assets/emoji.json | 1 + assets/favicon.svg | 27 + assets/go-licenses.json | 1087 + assets/logo.svg | 27 + build.go | 23 + build/backport-locales.go | 115 + build/code-batch-process.go | 281 + build/codeformat/formatimports.go | 195 + build/codeformat/formatimports_test.go | 125 + build/generate-bindata.go | 92 + build/generate-emoji.go | 223 + build/generate-gitignores.go | 126 + build/generate-go-licenses.go | 132 + build/generate-licenses.go | 122 + build/gocovmerge.go | 118 + build/merge-forgejo-locales.go | 15 + build/test-echo.go | 20 + build/test-env-check.sh | 24 + build/test-env-prepare.sh | 11 + build/update-locales.sh | 52 + cmd/actions.go | 55 + cmd/admin.go | 168 + cmd/admin_auth.go | 111 + cmd/admin_auth_ldap.go | 409 + cmd/admin_auth_ldap_test.go | 1326 + cmd/admin_auth_oauth.go | 299 + cmd/admin_auth_stmp.go | 200 + cmd/admin_regenerate.go | 46 + cmd/admin_user.go | 21 + cmd/admin_user_change_password.go | 80 + cmd/admin_user_create.go | 175 + cmd/admin_user_delete.go | 81 + cmd/admin_user_generate_access_token.go | 94 + cmd/admin_user_list.go | 60 + cmd/admin_user_must_change_password.go | 60 + cmd/cert.go | 196 + cmd/cmd.go | 135 + cmd/docs.go | 65 + cmd/doctor.go | 219 + cmd/doctor_convert.go | 49 + cmd/doctor_test.go | 33 + cmd/dump.go | 492 + cmd/dump_repo.go | 192 + cmd/dump_test.go | 118 + cmd/embedded.go | 310 + cmd/forgejo/actions.go | 242 + cmd/forgejo/actions_test.go | 88 + cmd/forgejo/f3.go | 77 + cmd/forgejo/forgejo.go | 170 + cmd/generate.go | 100 + cmd/hook.go | 795 + cmd/hook_test.go | 196 + cmd/keys.go | 83 + cmd/mailer.go | 50 + cmd/main.go | 225 + cmd/main_test.go | 179 + cmd/manager.go | 154 + cmd/manager_logging.go | 347 + cmd/migrate.go | 45 + cmd/migrate_storage.go | 267 + cmd/migrate_storage_test.go | 134 + cmd/restore_repo.go | 69 + cmd/serv.go | 358 + cmd/web.go | 357 + cmd/web_acme.go | 135 + cmd/web_graceful.go | 55 + cmd/web_https.go | 191 + contrib/README | 1 + contrib/autocompletion/README | 17 + contrib/autocompletion/bash_autocomplete | 30 + contrib/autocompletion/zsh_autocomplete | 30 + contrib/backport/README | 41 + contrib/backport/backport.go | 474 + contrib/environment-to-ini/README | 47 + contrib/environment-to-ini/environment-to-ini.go | 111 + contrib/fhs-compliant-script/gitea | 40 + contrib/fixtures/fixture_generation.go | 80 + contrib/gitea-monitoring-mixin/.gitignore | 2 + contrib/gitea-monitoring-mixin/Makefile | 31 + contrib/gitea-monitoring-mixin/README.md | 33 + contrib/gitea-monitoring-mixin/config.libsonnet | 99 + .../dashboards/dashboards.libsonnet | 1 + .../dashboards/overview.libsonnet | 467 + contrib/gitea-monitoring-mixin/jsonnetfile.json | 15 + .../gitea-monitoring-mixin/jsonnetfile.lock.json | 16 + contrib/gitea-monitoring-mixin/lib/alerts.jsonnet | 1 + .../gitea-monitoring-mixin/lib/dashboards.jsonnet | 6 + contrib/gitea-monitoring-mixin/lib/rules.jsonnet | 1 + contrib/gitea-monitoring-mixin/mixin.libsonnet | 2 + contrib/ide/README.md | 12 + contrib/ide/vscode/launch.json | 31 + contrib/ide/vscode/settings.json | 4 + contrib/ide/vscode/tasks.json | 49 + contrib/init/centos/gitea | 93 + contrib/init/debian/gitea | 89 + contrib/init/freebsd/gitea | 48 + contrib/init/gentoo/gitea | 44 + contrib/init/openbsd/gitea | 19 + contrib/init/openwrt/gitea | 35 + contrib/init/sunos/gitea.xml | 46 + contrib/init/suse/gitea | 115 + contrib/init/ubuntu/gitea | 84 + contrib/launchd/io.gitea.web.plist | 39 + contrib/legal/privacy.html.sample | 196 + contrib/legal/tos.html.sample | 245 + contrib/options/label/Advanced | 26 + contrib/supervisor/gitea | 16 + contrib/systemd/forgejo.service | 86 + contrib/update_dependencies.sh | 8 + contrib/upgrade.sh | 135 + custom/conf/app.example.ini | 2754 ++ docker/README.md | 7 + docker/manifest.rootless.tmpl | 24 + docker/manifest.tmpl | 24 + docker/root/etc/nsswitch.conf | 15 + docker/root/etc/s6/.s6-svscan/finish | 2 + docker/root/etc/s6/gitea/finish | 2 + docker/root/etc/s6/gitea/run | 6 + docker/root/etc/s6/gitea/setup | 66 + docker/root/etc/s6/openssh/finish | 2 + docker/root/etc/s6/openssh/run | 6 + docker/root/etc/s6/openssh/setup | 51 + docker/root/etc/templates/app.ini | 62 + docker/root/etc/templates/sshd_config | 43 + docker/root/usr/bin/entrypoint | 41 + docker/root/usr/local/bin/gitea | 15 + docker/rootless/etc/templates/app.ini | 59 + docker/rootless/usr/local/bin/docker-entrypoint.sh | 22 + docker/rootless/usr/local/bin/docker-setup.sh | 63 + docker/rootless/usr/local/bin/gitea | 40 + flake.lock | 61 + flake.nix | 39 + go.mod | 300 + go.sum | 914 + main.go | 81 + models/actions/artifact.go | 183 + models/actions/forgejo.go | 84 + models/actions/forgejo_test.go | 178 + models/actions/main_test.go | 19 + models/actions/run.go | 425 + models/actions/run_job.go | 180 + models/actions/run_job_list.go | 80 + models/actions/run_list.go | 138 + models/actions/runner.go | 362 + models/actions/runner_list.go | 65 + models/actions/runner_test.go | 75 + models/actions/runner_token.go | 120 + models/actions/runner_token_test.go | 41 + models/actions/schedule.go | 140 + models/actions/schedule_list.go | 83 + models/actions/schedule_spec.go | 73 + models/actions/schedule_spec_list.go | 105 + models/actions/schedule_spec_test.go | 71 + models/actions/status.go | 104 + models/actions/task.go | 527 + models/actions/task_list.go | 87 + models/actions/task_output.go | 55 + models/actions/task_step.go | 41 + models/actions/tasks_version.go | 105 + models/actions/utils.go | 84 + models/actions/utils_test.go | 90 + models/actions/variable.go | 139 + models/activities/action.go | 777 + models/activities/action_list.go | 203 + models/activities/action_test.go | 320 + models/activities/main_test.go | 17 + models/activities/notification.go | 407 + models/activities/notification_list.go | 476 + models/activities/notification_test.go | 141 + models/activities/repo_activity.go | 391 + models/activities/repo_activity_test.go | 30 + models/activities/statistic.go | 120 + models/activities/user_heatmap.go | 78 + models/activities/user_heatmap_test.go | 101 + models/admin/task.go | 232 + models/asymkey/error.go | 318 + models/asymkey/gpg_key.go | 273 + models/asymkey/gpg_key_add.go | 167 + models/asymkey/gpg_key_commit_verification.go | 63 + models/asymkey/gpg_key_common.go | 146 + models/asymkey/gpg_key_import.go | 47 + models/asymkey/gpg_key_list.go | 38 + models/asymkey/gpg_key_object_verification.go | 520 + models/asymkey/gpg_key_tag_verification.go | 15 + models/asymkey/gpg_key_test.go | 466 + models/asymkey/gpg_key_verify.go | 119 + models/asymkey/main_test.go | 24 + models/asymkey/ssh_key.go | 427 + models/asymkey/ssh_key_authorized_keys.go | 220 + models/asymkey/ssh_key_authorized_principals.go | 142 + models/asymkey/ssh_key_deploy.go | 218 + models/asymkey/ssh_key_fingerprint.go | 89 + models/asymkey/ssh_key_object_verification.go | 85 + models/asymkey/ssh_key_object_verification_test.go | 153 + models/asymkey/ssh_key_parse.go | 312 + models/asymkey/ssh_key_principals.go | 96 + models/asymkey/ssh_key_test.go | 513 + models/asymkey/ssh_key_verify.go | 55 + .../oauth2_application.yaml | 33 + models/auth/access_token.go | 236 + models/auth/access_token_scope.go | 350 + models/auth/access_token_scope_test.go | 90 + models/auth/access_token_test.go | 133 + models/auth/auth_token.go | 116 + models/auth/main_test.go | 20 + models/auth/oauth2.go | 678 + models/auth/oauth2_list.go | 32 + models/auth/oauth2_test.go | 300 + models/auth/session.go | 120 + models/auth/session_test.go | 143 + models/auth/source.go | 412 + models/auth/source_test.go | 61 + models/auth/twofactor.go | 166 + models/auth/webauthn.go | 209 + models/auth/webauthn_test.go | 78 + models/avatars/avatar.go | 238 + models/avatars/avatar_test.go | 59 + models/avatars/main_test.go | 18 + models/db/collation.go | 159 + models/db/common.go | 53 + models/db/consistency.go | 31 + models/db/context.go | 331 + models/db/context_committer_test.go | 102 + models/db/context_test.go | 87 + models/db/convert.go | 64 + models/db/engine.go | 354 + models/db/engine_test.go | 154 + models/db/error.go | 74 + models/db/index.go | 148 + models/db/index_test.go | 127 + models/db/install/db.go | 64 + models/db/iterate.go | 43 + models/db/iterate_test.go | 45 + models/db/list.go | 215 + models/db/list_test.go | 53 + models/db/log.go | 107 + models/db/main_test.go | 17 + models/db/name.go | 106 + models/db/paginator/main_test.go | 14 + models/db/paginator/paginator.go | 7 + models/db/paginator/paginator_test.go | 59 + models/db/search.go | 33 + models/db/sequence.go | 70 + models/db/sql_postgres_with_schema.go | 74 + models/dbfs/dbfile.go | 368 + models/dbfs/dbfs.go | 131 + models/dbfs/dbfs_test.go | 191 + models/dbfs/main_test.go | 14 + models/error.go | 552 + models/fixture_generation.go | 50 + models/fixture_test.go | 36 + .../issue.yml | 12 + .../pull_request.yml | 13 + .../TestParseCommitWithSSHSignature/public_key.yml | 13 + models/fixtures/access.yml | 161 + models/fixtures/access_token.yml | 33 + models/fixtures/action.yml | 76 + models/fixtures/action_run.yml | 435 + models/fixtures/action_run_job.yml | 42 + models/fixtures/action_runner.yml | 20 + models/fixtures/action_runner_token.yml | 35 + models/fixtures/action_task.yml | 59 + models/fixtures/attachment.yml | 155 + models/fixtures/branch.yml | 47 + models/fixtures/collaboration.yml | 53 + models/fixtures/comment.yml | 115 + models/fixtures/commit_status.yml | 65 + models/fixtures/commit_status_index.yml | 5 + models/fixtures/deploy_key.yml | 1 + models/fixtures/email_address.yml | 319 + models/fixtures/external_login_user.yml | 1 + models/fixtures/follow.yml | 19 + models/fixtures/forgejo_blocked_user.yml | 5 + models/fixtures/gpg_key.yml | 23 + models/fixtures/gpg_key_import.yml | 1 + models/fixtures/hook_task.yml | 43 + models/fixtures/issue.yml | 374 + models/fixtures/issue_assignees.yml | 16 + models/fixtures/issue_index.yml | 27 + models/fixtures/issue_label.yml | 19 + models/fixtures/issue_user.yml | 20 + models/fixtures/issue_watch.yml | 31 + models/fixtures/label.yml | 98 + models/fixtures/lfs_meta_object.yml | 32 + models/fixtures/login_source.yml | 1 + models/fixtures/milestone.yml | 54 + models/fixtures/mirror.yml | 49 + models/fixtures/notice.yml | 14 + models/fixtures/notification.yml | 54 + models/fixtures/oauth2_application.yml | 20 + models/fixtures/oauth2_authorization_code.yml | 15 + models/fixtures/oauth2_grant.yml | 31 + models/fixtures/org_user.yml | 119 + models/fixtures/project.yml | 71 + models/fixtures/project_board.yml | 77 + models/fixtures/project_issue.yml | 23 + models/fixtures/protected_branch.yml | 1 + models/fixtures/protected_tag.yml | 24 + models/fixtures/public_key.yml | 11 + models/fixtures/pull_request.yml | 119 + models/fixtures/push_mirror.yml | 1 + models/fixtures/reaction.yml | 39 + models/fixtures/release.yml | 166 + models/fixtures/renamed_branch.yml | 5 + models/fixtures/repo_archiver.yml | 1 + models/fixtures/repo_indexer_status.yml | 1 + models/fixtures/repo_redirect.yml | 5 + models/fixtures/repo_topic.yml | 27 + models/fixtures/repo_transfer.yml | 7 + models/fixtures/repo_unit.yml | 797 + models/fixtures/repository.yml | 1826 ++ models/fixtures/review.yml | 200 + models/fixtures/star.yml | 9 + models/fixtures/stopwatch.yml | 11 + models/fixtures/system_setting.yml | 15 + models/fixtures/team.yml | 241 + models/fixtures/team_repo.yml | 77 + models/fixtures/team_unit.yml | 324 + models/fixtures/team_user.yml | 149 + models/fixtures/topic.yml | 29 + models/fixtures/tracked_time.yml | 71 + models/fixtures/two_factor.yml | 9 + models/fixtures/user.yml | 1520 + models/fixtures/user_open_id.yml | 17 + models/fixtures/user_redirect.yml | 4 + models/fixtures/watch.yml | 35 + models/fixtures/webauthn_credential.yml | 10 + models/fixtures/webhook.yml | 37 + models/forgefed/federationhost.go | 52 + models/forgefed/federationhost_repository.go | 61 + models/forgefed/federationhost_test.go | 78 + models/forgefed/nodeinfo.go | 123 + models/forgefed/nodeinfo_test.go | 92 + models/forgejo/semver/main_test.go | 17 + models/forgejo/semver/semver.go | 80 + models/forgejo/semver/semver_test.go | 47 + models/forgejo_migrations/main_test.go | 14 + models/forgejo_migrations/migrate.go | 192 + models/forgejo_migrations/migrate_test.go | 39 + models/forgejo_migrations/v13.go | 15 + models/forgejo_migrations/v14.go | 43 + models/forgejo_migrations/v15.go | 33 + models/forgejo_migrations/v16.go | 17 + models/forgejo_migrations/v17.go | 14 + models/forgejo_migrations/v18.go | 18 + models/forgejo_migrations/v19.go | 14 + models/forgejo_migrations/v1_20/v1.go | 21 + models/forgejo_migrations/v1_20/v2.go | 15 + models/forgejo_migrations/v1_20/v3.go | 26 + models/forgejo_migrations/v1_22/main_test.go | 14 + models/forgejo_migrations/v1_22/v10.go | 17 + models/forgejo_migrations/v1_22/v11.go | 19 + models/forgejo_migrations/v1_22/v12.go | 18 + models/forgejo_migrations/v1_22/v4.go | 17 + models/forgejo_migrations/v1_22/v5.go | 22 + models/forgejo_migrations/v1_22/v6.go | 24 + models/forgejo_migrations/v1_22/v7.go | 17 + models/forgejo_migrations/v1_22/v8.go | 51 + models/forgejo_migrations/v1_22/v8_test.go | 35 + models/forgejo_migrations/v1_22/v9.go | 15 + models/forgejo_migrations/v20.go | 52 + models/forgejo_migrations/v21.go | 16 + models/forgejo_migrations/v22.go | 17 + .../lfs_meta_object.yaml | 7 + models/git/branch.go | 434 + models/git/branch_list.go | 132 + models/git/branch_test.go | 195 + models/git/commit_status.go | 519 + models/git/commit_status_summary.go | 88 + models/git/commit_status_test.go | 267 + models/git/lfs.go | 419 + models/git/lfs_lock.go | 209 + models/git/lfs_lock_list.go | 54 + models/git/lfs_test.go | 102 + models/git/main_test.go | 18 + models/git/protected_banch_list_test.go | 77 + models/git/protected_branch.go | 511 + models/git/protected_branch_list.go | 95 + models/git/protected_branch_test.go | 69 + models/git/protected_tag.go | 150 + models/git/protected_tag_test.go | 166 + .../issues/TestGetUIDsAndStopwatch/stopwatch.yml | 11 + models/issues/assignees.go | 177 + models/issues/assignees_test.go | 95 + models/issues/comment.go | 1333 + models/issues/comment_code.go | 181 + models/issues/comment_list.go | 488 + models/issues/comment_list_test.go | 86 + models/issues/comment_test.go | 127 + models/issues/content_history.go | 242 + models/issues/content_history_test.go | 94 + models/issues/dependency.go | 222 + models/issues/dependency_test.go | 63 + models/issues/issue.go | 939 + models/issues/issue_index.go | 39 + models/issues/issue_index_test.go | 39 + models/issues/issue_label.go | 507 + models/issues/issue_label_test.go | 138 + models/issues/issue_list.go | 622 + models/issues/issue_list_test.go | 129 + models/issues/issue_lock.go | 66 + models/issues/issue_project.go | 162 + models/issues/issue_search.go | 489 + models/issues/issue_stats.go | 191 + models/issues/issue_stats_test.go | 34 + models/issues/issue_test.go | 498 + models/issues/issue_update.go | 795 + models/issues/issue_user.go | 96 + models/issues/issue_user_test.go | 61 + models/issues/issue_watch.go | 134 + models/issues/issue_watch_test.go | 68 + models/issues/issue_xref.go | 364 + models/issues/issue_xref_test.go | 185 + models/issues/label.go | 509 + models/issues/label_test.go | 422 + models/issues/main_test.go | 33 + models/issues/milestone.go | 394 + models/issues/milestone_list.go | 195 + models/issues/milestone_test.go | 371 + models/issues/pull.go | 1105 + models/issues/pull_list.go | 264 + models/issues/pull_test.go | 476 + models/issues/reaction.go | 373 + models/issues/reaction_test.go | 178 + models/issues/review.go | 1056 + models/issues/review_list.go | 200 + models/issues/review_test.go | 321 + models/issues/stopwatch.go | 281 + models/issues/stopwatch_test.go | 119 + models/issues/tracked_time.go | 386 + models/issues/tracked_time_test.go | 135 + models/main_test.go | 33 + models/migrations/base/db.go | 436 + models/migrations/base/db_test.go | 98 + models/migrations/base/hash.go | 16 + models/migrations/base/main_test.go | 14 + .../issue_user.yml | 13 + .../oauth2_application.yml | 2 + .../expected_webhook.yml | 9 + .../hook_task.yml | 8 + .../webhook.yml | 10 + .../Test_AddIssueResourceIndexTable/issue.yml | 4 + .../hook_task.yml | 16 + .../hook_task_migrated.yml | 18 + .../Test_AddRepoIDForAttachment/attachment.yml | 11 + .../fixtures/Test_AddRepoIDForAttachment/issue.yml | 3 + .../Test_AddRepoIDForAttachment/release.yml | 3 + .../project_issue.yml | 9 + .../project.yml | 23 + .../project_board.yml | 26 + .../Test_DeleteOrphanedIssueLabels/issue_label.yml | 28 + .../Test_DeleteOrphanedIssueLabels/label.yml | 43 + .../expected_webauthn_credential.yml | 12 + .../u2f_registration.yml | 21 + .../webauthn_credential.yml | 30 + .../fixtures/Test_RemoveInvalidLabels/comment.yml | 52 + .../fixtures/Test_RemoveInvalidLabels/issue.yml | 21 + .../Test_RemoveInvalidLabels/issue_label.yml | 35 + .../fixtures/Test_RemoveInvalidLabels/label.yml | 25 + .../Test_RemoveInvalidLabels/repository.yml | 17 + .../release.yml | 22 + .../fixtures/Test_RepositoryFormat/comment.yml | 3 + .../Test_RepositoryFormat/commit_status.yml | 3 + .../Test_RepositoryFormat/pull_request.yml | 5 + .../fixtures/Test_RepositoryFormat/release.yml | 3 + .../Test_RepositoryFormat/repo_archiver.yml | 3 + .../Test_RepositoryFormat/repo_indexer_status.yml | 3 + .../fixtures/Test_RepositoryFormat/repository.yml | 11 + .../Test_RepositoryFormat/review_state.yml | 5 + .../expected_webauthn_credential.yml | 9 + .../webauthn_credential.yml | 30 + .../Test_UnwrapLDAPSourceCfg/login_source.yml | 48 + .../fixtures/Test_UpdateBadgeColName/badge.yml | 4 + .../expected_milestone.yml | 19 + .../Test_UpdateOpenMilestoneCounts/issue.yml | 25 + .../Test_UpdateOpenMilestoneCounts/milestone.yml | 19 + models/migrations/migrations.go | 721 + models/migrations/test/tests.go | 274 + models/migrations/v1_10/v100.go | 82 + models/migrations/v1_10/v101.go | 18 + models/migrations/v1_10/v88.go | 65 + models/migrations/v1_10/v89.go | 35 + models/migrations/v1_10/v90.go | 17 + models/migrations/v1_10/v91.go | 25 + models/migrations/v1_10/v92.go | 14 + models/migrations/v1_10/v93.go | 15 + models/migrations/v1_10/v94.go | 23 + models/migrations/v1_10/v95.go | 19 + models/migrations/v1_10/v96.go | 64 + models/migrations/v1_10/v97.go | 14 + models/migrations/v1_10/v98.go | 16 + models/migrations/v1_10/v99.go | 38 + models/migrations/v1_11/v102.go | 22 + models/migrations/v1_11/v103.go | 17 + models/migrations/v1_11/v104.go | 34 + models/migrations/v1_11/v105.go | 23 + models/migrations/v1_11/v106.go | 25 + models/migrations/v1_11/v107.go | 17 + models/migrations/v1_11/v108.go | 17 + models/migrations/v1_11/v109.go | 16 + models/migrations/v1_11/v110.go | 26 + models/migrations/v1_11/v111.go | 437 + models/migrations/v1_11/v112.go | 47 + models/migrations/v1_11/v113.go | 22 + models/migrations/v1_11/v114.go | 50 + models/migrations/v1_11/v115.go | 159 + models/migrations/v1_11/v116.go | 32 + models/migrations/v1_12/v117.go | 16 + models/migrations/v1_12/v118.go | 25 + models/migrations/v1_12/v119.go | 15 + models/migrations/v1_12/v120.go | 19 + models/migrations/v1_12/v121.go | 16 + models/migrations/v1_12/v122.go | 16 + models/migrations/v1_12/v123.go | 17 + models/migrations/v1_12/v124.go | 23 + models/migrations/v1_12/v125.go | 22 + models/migrations/v1_12/v126.go | 24 + models/migrations/v1_12/v127.go | 44 + models/migrations/v1_12/v128.go | 127 + models/migrations/v1_12/v129.go | 16 + models/migrations/v1_12/v130.go | 111 + models/migrations/v1_12/v131.go | 21 + models/migrations/v1_12/v132.go | 21 + models/migrations/v1_12/v133.go | 15 + models/migrations/v1_12/v134.go | 115 + models/migrations/v1_12/v135.go | 21 + models/migrations/v1_12/v136.go | 125 + models/migrations/v1_12/v137.go | 15 + models/migrations/v1_12/v138.go | 21 + models/migrations/v1_12/v139.go | 23 + models/migrations/v1_13/v140.go | 56 + models/migrations/v1_13/v141.go | 21 + models/migrations/v1_13/v142.go | 24 + models/migrations/v1_13/v143.go | 51 + models/migrations/v1_13/v144.go | 25 + models/migrations/v1_13/v145.go | 55 + models/migrations/v1_13/v146.go | 83 + models/migrations/v1_13/v147.go | 153 + models/migrations/v1_13/v148.go | 13 + models/migrations/v1_13/v149.go | 24 + models/migrations/v1_13/v150.go | 39 + models/migrations/v1_13/v151.go | 166 + models/migrations/v1_13/v152.go | 13 + models/migrations/v1_13/v153.go | 24 + models/migrations/v1_13/v154.go | 55 + models/migrations/v1_14/main_test.go | 14 + models/migrations/v1_14/v155.go | 21 + models/migrations/v1_14/v156.go | 177 + models/migrations/v1_14/v157.go | 66 + models/migrations/v1_14/v158.go | 101 + models/migrations/v1_14/v159.go | 38 + models/migrations/v1_14/v160.go | 16 + models/migrations/v1_14/v161.go | 73 + models/migrations/v1_14/v162.go | 62 + models/migrations/v1_14/v163.go | 35 + models/migrations/v1_14/v164.go | 37 + models/migrations/v1_14/v165.go | 57 + models/migrations/v1_14/v166.go | 112 + models/migrations/v1_14/v167.go | 23 + models/migrations/v1_14/v168.go | 10 + models/migrations/v1_14/v169.go | 13 + models/migrations/v1_14/v170.go | 21 + models/migrations/v1_14/v171.go | 21 + models/migrations/v1_14/v172.go | 19 + models/migrations/v1_14/v173.go | 21 + models/migrations/v1_14/v174.go | 34 + models/migrations/v1_14/v175.go | 53 + models/migrations/v1_14/v176.go | 76 + models/migrations/v1_14/v176_test.go | 128 + models/migrations/v1_14/v177.go | 42 + models/migrations/v1_14/v177_test.go | 89 + models/migrations/v1_15/main_test.go | 14 + models/migrations/v1_15/v178.go | 17 + models/migrations/v1_15/v179.go | 28 + models/migrations/v1_15/v180.go | 121 + models/migrations/v1_15/v181.go | 91 + models/migrations/v1_15/v181_test.go | 56 + models/migrations/v1_15/v182.go | 41 + models/migrations/v1_15/v182_test.go | 61 + models/migrations/v1_15/v183.go | 38 + models/migrations/v1_15/v184.go | 66 + models/migrations/v1_15/v185.go | 21 + models/migrations/v1_15/v186.go | 25 + models/migrations/v1_15/v187.go | 47 + models/migrations/v1_15/v188.go | 14 + models/migrations/v1_16/main_test.go | 14 + models/migrations/v1_16/v189.go | 111 + models/migrations/v1_16/v189_test.go | 83 + models/migrations/v1_16/v190.go | 23 + models/migrations/v1_16/v191.go | 28 + models/migrations/v1_16/v192.go | 19 + models/migrations/v1_16/v193.go | 32 + models/migrations/v1_16/v193_test.go | 81 + models/migrations/v1_16/v194.go | 21 + models/migrations/v1_16/v195.go | 46 + models/migrations/v1_16/v195_test.go | 64 + models/migrations/v1_16/v196.go | 21 + models/migrations/v1_16/v197.go | 19 + models/migrations/v1_16/v198.go | 32 + models/migrations/v1_16/v199.go | 6 + models/migrations/v1_16/v200.go | 22 + models/migrations/v1_16/v201.go | 14 + models/migrations/v1_16/v202.go | 23 + models/migrations/v1_16/v203.go | 17 + models/migrations/v1_16/v204.go | 14 + models/migrations/v1_16/v205.go | 42 + models/migrations/v1_16/v206.go | 28 + models/migrations/v1_16/v207.go | 14 + models/migrations/v1_16/v208.go | 13 + models/migrations/v1_16/v209.go | 16 + models/migrations/v1_16/v210.go | 177 + models/migrations/v1_16/v210_test.go | 88 + models/migrations/v1_17/main_test.go | 14 + models/migrations/v1_17/v211.go | 12 + models/migrations/v1_17/v212.go | 93 + models/migrations/v1_17/v213.go | 17 + models/migrations/v1_17/v214.go | 22 + models/migrations/v1_17/v215.go | 24 + models/migrations/v1_17/v216.go | 7 + models/migrations/v1_17/v217.go | 25 + models/migrations/v1_17/v218.go | 52 + models/migrations/v1_17/v219.go | 30 + models/migrations/v1_17/v220.go | 23 + models/migrations/v1_17/v221.go | 74 + models/migrations/v1_17/v221_test.go | 63 + models/migrations/v1_17/v222.go | 64 + models/migrations/v1_17/v223.go | 98 + models/migrations/v1_18/main_test.go | 14 + models/migrations/v1_18/v224.go | 27 + models/migrations/v1_18/v225.go | 28 + models/migrations/v1_18/v226.go | 14 + models/migrations/v1_18/v227.go | 23 + models/migrations/v1_18/v228.go | 25 + models/migrations/v1_18/v229.go | 46 + models/migrations/v1_18/v229_test.go | 45 + models/migrations/v1_18/v230.go | 17 + models/migrations/v1_18/v230_test.go | 47 + models/migrations/v1_19/main_test.go | 14 + models/migrations/v1_19/v231.go | 18 + models/migrations/v1_19/v232.go | 25 + models/migrations/v1_19/v233.go | 181 + models/migrations/v1_19/v233_test.go | 86 + models/migrations/v1_19/v234.go | 28 + models/migrations/v1_19/v235.go | 16 + models/migrations/v1_19/v236.go | 23 + models/migrations/v1_19/v237.go | 15 + models/migrations/v1_19/v238.go | 27 + models/migrations/v1_19/v239.go | 22 + models/migrations/v1_19/v240.go | 176 + models/migrations/v1_19/v241.go | 17 + models/migrations/v1_19/v242.go | 26 + models/migrations/v1_19/v243.go | 16 + models/migrations/v1_20/main_test.go | 14 + models/migrations/v1_20/v244.go | 22 + models/migrations/v1_20/v245.go | 69 + models/migrations/v1_20/v246.go | 16 + models/migrations/v1_20/v247.go | 50 + models/migrations/v1_20/v248.go | 14 + models/migrations/v1_20/v249.go | 45 + models/migrations/v1_20/v250.go | 135 + models/migrations/v1_20/v251.go | 47 + models/migrations/v1_20/v252.go | 47 + models/migrations/v1_20/v253.go | 49 + models/migrations/v1_20/v254.go | 18 + models/migrations/v1_20/v255.go | 23 + models/migrations/v1_20/v256.go | 23 + models/migrations/v1_20/v257.go | 33 + models/migrations/v1_20/v258.go | 16 + models/migrations/v1_20/v259.go | 360 + models/migrations/v1_20/v259_test.go | 111 + models/migrations/v1_21/main_test.go | 14 + models/migrations/v1_21/v260.go | 26 + models/migrations/v1_21/v261.go | 24 + models/migrations/v1_21/v262.go | 16 + models/migrations/v1_21/v263.go | 46 + models/migrations/v1_21/v264.go | 93 + models/migrations/v1_21/v265.go | 19 + models/migrations/v1_21/v266.go | 23 + models/migrations/v1_21/v267.go | 23 + models/migrations/v1_21/v268.go | 16 + models/migrations/v1_21/v269.go | 12 + models/migrations/v1_21/v270.go | 26 + models/migrations/v1_21/v271.go | 16 + models/migrations/v1_21/v272.go | 14 + models/migrations/v1_21/v273.go | 45 + models/migrations/v1_21/v274.go | 36 + models/migrations/v1_21/v275.go | 15 + models/migrations/v1_21/v276.go | 156 + models/migrations/v1_21/v277.go | 16 + models/migrations/v1_21/v278.go | 16 + models/migrations/v1_21/v279.go | 20 + models/migrations/v1_22/main_test.go | 14 + models/migrations/v1_22/v280.go | 29 + models/migrations/v1_22/v281.go | 21 + models/migrations/v1_22/v282.go | 16 + models/migrations/v1_22/v283.go | 38 + models/migrations/v1_22/v283_test.go | 28 + models/migrations/v1_22/v284.go | 18 + models/migrations/v1_22/v285.go | 22 + models/migrations/v1_22/v286.go | 75 + models/migrations/v1_22/v286_test.go | 119 + models/migrations/v1_22/v287.go | 46 + models/migrations/v1_22/v288.go | 26 + models/migrations/v1_22/v289.go | 21 + models/migrations/v1_22/v290.go | 46 + models/migrations/v1_22/v290_test.go | 59 + models/migrations/v1_22/v291.go | 18 + models/migrations/v1_22/v292.go | 9 + models/migrations/v1_22/v293.go | 108 + models/migrations/v1_22/v293_test.go | 45 + models/migrations/v1_22/v294.go | 44 + models/migrations/v1_22/v294_test.go | 53 + models/migrations/v1_22/v295.go | 18 + models/migrations/v1_22/v296.go | 16 + models/migrations/v1_22/v298.go | 10 + models/migrations/v1_23/main_test.go | 14 + models/migrations/v1_23/v299.go | 18 + models/migrations/v1_23/v300.go | 17 + models/migrations/v1_23/v301.go | 14 + models/migrations/v1_23/v302.go | 18 + models/migrations/v1_6/v70.go | 110 + models/migrations/v1_6/v71.go | 79 + models/migrations/v1_6/v72.go | 30 + models/migrations/v1_7/v73.go | 18 + models/migrations/v1_7/v74.go | 15 + models/migrations/v1_7/v75.go | 32 + models/migrations/v1_8/v76.go | 74 + models/migrations/v1_8/v77.go | 16 + models/migrations/v1_8/v78.go | 43 + models/migrations/v1_8/v79.go | 25 + models/migrations/v1_8/v80.go | 16 + models/migrations/v1_8/v81.go | 28 + models/migrations/v1_9/v82.go | 133 + models/migrations/v1_9/v83.go | 27 + models/migrations/v1_9/v84.go | 17 + models/migrations/v1_9/v85.go | 118 + models/migrations/v1_9/v86.go | 16 + models/migrations/v1_9/v87.go | 17 + models/org.go | 102 + models/org_team.go | 551 + models/org_team_test.go | 170 + models/org_test.go | 62 + .../TestInconsistentOwnerTeam/team.yml | 10 + .../TestInconsistentOwnerTeam/team_unit.yml | 59 + models/organization/main_test.go | 21 + models/organization/mini_org.go | 78 + models/organization/org.go | 833 + models/organization/org_repo.go | 17 + models/organization/org_test.go | 548 + models/organization/org_user.go | 138 + models/organization/org_user_test.go | 155 + models/organization/team.go | 310 + models/organization/team_invite.go | 161 + models/organization/team_invite_test.go | 49 + models/organization/team_list.go | 128 + models/organization/team_repo.go | 85 + models/organization/team_test.go | 250 + models/organization/team_unit.go | 51 + models/organization/team_user.go | 89 + models/packages/alpine/search.go | 53 + models/packages/conan/references.go | 170 + models/packages/conan/search.go | 149 + models/packages/conda/search.go | 63 + models/packages/container/const.go | 9 + models/packages/container/search.go | 285 + models/packages/cran/search.go | 90 + models/packages/debian/search.go | 157 + models/packages/debian/search_test.go | 93 + models/packages/descriptor.go | 260 + models/packages/nuget/search.go | 70 + models/packages/package.go | 351 + models/packages/package_blob.go | 154 + models/packages/package_blob_upload.go | 79 + models/packages/package_cleanup_rule.go | 109 + models/packages/package_file.go | 232 + models/packages/package_property.go | 121 + models/packages/package_test.go | 319 + models/packages/package_version.go | 348 + models/packages/rpm/search.go | 23 + models/perm/access/access.go | 250 + models/perm/access/access_test.go | 127 + models/perm/access/main_test.go | 20 + models/perm/access/repo_permission.go | 450 + models/perm/access_mode.go | 57 + models/project/column.go | 359 + models/project/column_test.go | 128 + models/project/issue.go | 143 + models/project/main_test.go | 23 + models/project/project.go | 451 + models/project/project_test.go | 124 + models/project/template.go | 45 + models/pull/automerge.go | 97 + models/pull/review_state.go | 139 + models/quota/default.go | 25 + models/quota/errors.go | 127 + models/quota/group.go | 401 + models/quota/limit_subject.go | 69 + models/quota/quota.go | 36 + models/quota/quota_group_test.go | 208 + models/quota/quota_rule_test.go | 304 + models/quota/rule.go | 127 + models/quota/used.go | 252 + models/repo.go | 362 + .../repository.yml | 30 + models/repo/archive_download_count.go | 90 + models/repo/archive_download_count_test.go | 65 + models/repo/archiver.go | 139 + models/repo/attachment.go | 287 + models/repo/attachment_test.go | 105 + models/repo/avatar.go | 96 + models/repo/collaboration.go | 170 + models/repo/collaboration_test.go | 186 + models/repo/following_repo.go | 39 + models/repo/following_repo_test.go | 31 + models/repo/fork.go | 120 + models/repo/fork_test.go | 34 + models/repo/git.go | 36 + models/repo/issue.go | 60 + models/repo/language_stats.go | 242 + models/repo/main_test.go | 21 + models/repo/mirror.go | 123 + models/repo/pushmirror.go | 188 + models/repo/pushmirror_test.go | 79 + models/repo/redirect.go | 86 + models/repo/redirect_test.go | 78 + models/repo/release.go | 566 + models/repo/release_test.go | 27 + models/repo/repo.go | 951 + models/repo/repo_flags.go | 102 + models/repo/repo_flags_test.go | 115 + models/repo/repo_indexer.go | 114 + models/repo/repo_list.go | 757 + models/repo/repo_list_test.go | 450 + models/repo/repo_repository.go | 60 + models/repo/repo_test.go | 230 + models/repo/repo_unit.go | 317 + models/repo/repo_unit_test.go | 39 + models/repo/search.go | 53 + models/repo/star.go | 101 + models/repo/star_test.go | 72 + models/repo/topic.go | 389 + models/repo/topic_test.go | 83 + models/repo/update.go | 145 + models/repo/upload.go | 175 + models/repo/user_repo.go | 197 + models/repo/user_repo_test.go | 96 + models/repo/watch.go | 190 + models/repo/watch_test.go | 153 + models/repo/wiki.go | 96 + models/repo/wiki_test.go | 46 + models/repo_test.go | 24 + models/repo_transfer.go | 185 + models/repo_transfer_test.go | 28 + models/secret/secret.go | 167 + models/shared/types/ownertype.go | 29 + models/system/appstate.go | 56 + models/system/main_test.go | 19 + models/system/notice.go | 128 + models/system/notice_test.go | 110 + models/system/setting.go | 152 + models/system/setting_test.go | 52 + models/unit/unit.go | 437 + models/unit/unit_test.go | 96 + models/unittest/consistency.go | 192 + models/unittest/fixtures.go | 144 + models/unittest/fscopy.go | 102 + models/unittest/mock_http.go | 115 + models/unittest/reflection.go | 40 + models/unittest/testdb.go | 267 + models/unittest/unit_tests.go | 164 + models/user/avatar.go | 115 + models/user/badge.go | 41 + models/user/block.go | 91 + models/user/block_test.go | 78 + models/user/email_address.go | 483 + models/user/email_address_test.go | 222 + models/user/error.go | 109 + models/user/external_login_user.go | 184 + models/user/federated_user.go | 35 + models/user/federated_user_test.go | 29 + models/user/fixtures/user.yml | 36 + models/user/follow.go | 85 + models/user/follow_test.go | 24 + models/user/list.go | 83 + models/user/main_test.go | 19 + models/user/must_change_password.go | 49 + models/user/openid.go | 111 + models/user/openid_test.go | 68 + models/user/redirect.go | 87 + models/user/redirect_test.go | 26 + models/user/search.go | 178 + models/user/setting.go | 212 + models/user/setting_keys.go | 17 + models/user/setting_test.go | 61 + models/user/user.go | 1365 + models/user/user_repository.go | 83 + models/user/user_system.go | 97 + models/user/user_test.go | 781 + models/user/user_update.go | 15 + models/webhook/hooktask.go | 262 + models/webhook/main_test.go | 19 + models/webhook/webhook.go | 516 + models/webhook/webhook_system.go | 83 + models/webhook/webhook_test.go | 350 + modules/actions/github.go | 133 + modules/actions/github_test.go | 119 + modules/actions/log.go | 224 + modules/actions/task_state.go | 123 + modules/actions/task_state_test.go | 165 + modules/actions/workflows.go | 702 + modules/actions/workflows_test.go | 163 + modules/activitypub/client.go | 273 + modules/activitypub/client_test.go | 138 + modules/activitypub/main_test.go | 18 + modules/activitypub/user_settings.go | 48 + modules/activitypub/user_settings_test.go | 30 + modules/analyze/code_language.go | 27 + modules/analyze/generated.go | 27 + modules/analyze/vendor.go | 13 + modules/analyze/vendor_test.go | 41 + modules/assetfs/layered.go | 256 + modules/assetfs/layered_test.go | 110 + modules/auth/common.go | 22 + modules/auth/openid/discovery_cache.go | 57 + modules/auth/openid/discovery_cache_test.go | 49 + modules/auth/openid/openid.go | 37 + modules/auth/pam/pam.go | 43 + modules/auth/pam/pam_stub.go | 22 + modules/auth/pam/pam_test.go | 20 + modules/auth/password/hash/argon2.go | 80 + modules/auth/password/hash/bcrypt.go | 54 + modules/auth/password/hash/common.go | 28 + modules/auth/password/hash/dummy.go | 33 + modules/auth/password/hash/dummy_test.go | 26 + modules/auth/password/hash/hash.go | 189 + modules/auth/password/hash/hash_test.go | 191 + modules/auth/password/hash/pbkdf2.go | 67 + modules/auth/password/hash/scrypt.go | 67 + modules/auth/password/hash/setting.go | 76 + modules/auth/password/hash/setting_test.go | 38 + modules/auth/password/password.go | 136 + modules/auth/password/password_test.go | 77 + modules/auth/password/pwn.go | 52 + modules/auth/password/pwn/pwn.go | 118 + modules/auth/password/pwn/pwn_test.go | 51 + modules/auth/webauthn/webauthn.go | 77 + modules/auth/webauthn/webauthn_test.go | 25 + modules/avatar/avatar.go | 139 + modules/avatar/avatar_test.go | 137 + modules/avatar/hash.go | 28 + modules/avatar/hash_test.go | 26 + modules/avatar/identicon/block.go | 717 + modules/avatar/identicon/colors.go | 134 + modules/avatar/identicon/identicon.go | 140 + modules/avatar/identicon/identicon_test.go | 39 + modules/avatar/identicon/polygon.go | 68 + modules/avatar/identicon/testdata/.gitignore | 1 + modules/avatar/testdata/animated.webp | Bin 0 -> 4934 bytes modules/avatar/testdata/avatar.jpeg | Bin 0 -> 521 bytes modules/avatar/testdata/avatar.png | Bin 0 -> 159 bytes modules/base/base.go | 9 + modules/base/natural_sort.go | 90 + modules/base/natural_sort_test.go | 29 + modules/base/tool.go | 168 + modules/base/tool_test.go | 129 + modules/cache/cache.go | 184 + modules/cache/cache_redis.go | 161 + modules/cache/cache_test.go | 150 + modules/cache/cache_twoqueue.go | 208 + modules/cache/context.go | 181 + modules/cache/context_test.go | 79 + modules/charset/ambiguous.go | 59 + modules/charset/ambiguous/ambiguous.json | 1 + modules/charset/ambiguous/generate.go | 188 + modules/charset/ambiguous_gen.go | 836 + modules/charset/ambiguous_gen_test.go | 31 + modules/charset/breakwriter.go | 43 + modules/charset/breakwriter_test.go | 68 + modules/charset/charset.go | 211 + modules/charset/charset_test.go | 385 + modules/charset/escape.go | 58 + modules/charset/escape_status.go | 27 + modules/charset/escape_stream.go | 289 + modules/charset/escape_test.go | 194 + modules/charset/htmlstream.go | 200 + modules/charset/invisible/generate.go | 121 + modules/charset/invisible_gen.go | 36 + modules/container/filter.go | 21 + modules/container/filter_test.go | 28 + modules/container/set.go | 56 + modules/container/set_test.go | 36 + modules/csv/csv.go | 149 + modules/csv/csv_test.go | 590 + modules/emoji/emoji.go | 186 + modules/emoji/emoji_data.go | 3404 +++ modules/emoji/emoji_test.go | 99 + modules/eventsource/event.go | 118 + modules/eventsource/event_test.go | 53 + modules/eventsource/manager.go | 79 + modules/eventsource/manager_run.go | 115 + modules/eventsource/messenger.go | 68 + modules/forgefed/activity.go | 65 + modules/forgefed/activity_test.go | 171 + modules/forgefed/actor.go | 218 + modules/forgefed/actor_test.go | 225 + modules/forgefed/forgefed.go | 52 + modules/forgefed/nodeinfo.go | 19 + modules/forgefed/repository.go | 111 + modules/forgefed/repository_test.go | 145 + modules/generate/generate.go | 75 + modules/generate/generate_test.go | 35 + modules/git/README.md | 3 + modules/git/batch.go | 46 + modules/git/batch_reader.go | 347 + modules/git/blame.go | 211 + modules/git/blame_sha256_test.go | 148 + modules/git/blame_test.go | 147 + modules/git/blob.go | 228 + modules/git/blob_test.go | 59 + modules/git/command.go | 473 + modules/git/command_race_test.go | 38 + modules/git/command_test.go | 70 + modules/git/commit.go | 587 + modules/git/commit_info.go | 176 + modules/git/commit_info_test.go | 175 + modules/git/commit_reader.go | 110 + modules/git/commit_sha256_test.go | 211 + modules/git/commit_test.go | 401 + modules/git/diff.go | 328 + modules/git/diff_test.go | 169 + modules/git/error.go | 187 + modules/git/foreachref/format.go | 83 + modules/git/foreachref/format_test.go | 66 + modules/git/foreachref/parser.go | 128 + modules/git/foreachref/parser_test.go | 227 + modules/git/git.go | 422 + modules/git/git_test.go | 96 + modules/git/grep.go | 195 + modules/git/grep_test.go | 203 + modules/git/hook.go | 143 + modules/git/internal/cmdarg.go | 9 + modules/git/last_commit_cache.go | 159 + modules/git/log_name_status.go | 437 + modules/git/notes.go | 99 + modules/git/notes_test.go | 53 + modules/git/object_format.go | 143 + modules/git/object_id.go | 114 + modules/git/object_id_test.go | 49 + modules/git/object_signature.go | 11 + modules/git/parse.go | 137 + modules/git/parse_test.go | 103 + modules/git/pipeline/catfile.go | 108 + modules/git/pipeline/lfs.go | 254 + modules/git/pipeline/namerev.go | 33 + modules/git/pipeline/revlist.go | 86 + modules/git/pushoptions/pushoptions.go | 113 + modules/git/pushoptions/pushoptions_test.go | 125 + modules/git/ref.go | 214 + modules/git/ref_test.go | 38 + modules/git/remote.go | 39 + modules/git/repo.go | 342 + modules/git/repo_archive.go | 80 + modules/git/repo_attribute.go | 286 + modules/git/repo_attribute_test.go | 351 + modules/git/repo_base.go | 124 + modules/git/repo_base_test.go | 163 + modules/git/repo_blame.go | 23 + modules/git/repo_blob_test.go | 70 + modules/git/repo_branch.go | 349 + modules/git/repo_branch_test.go | 197 + modules/git/repo_commit.go | 677 + modules/git/repo_commit_test.go | 103 + modules/git/repo_commitgraph.go | 20 + modules/git/repo_compare.go | 345 + modules/git/repo_compare_test.go | 164 + modules/git/repo_gpg.go | 58 + modules/git/repo_hook.go | 14 + modules/git/repo_index.go | 159 + modules/git/repo_language_stats.go | 251 + modules/git/repo_language_stats_test.go | 42 + modules/git/repo_object.go | 101 + modules/git/repo_ref.go | 157 + modules/git/repo_ref_test.go | 56 + modules/git/repo_stats.go | 151 + modules/git/repo_stats_test.go | 37 + modules/git/repo_tag.go | 366 + modules/git/repo_tag_test.go | 364 + modules/git/repo_test.go | 57 + modules/git/repo_tree.go | 156 + modules/git/signature.go | 67 + modules/git/signature_test.go | 47 + modules/git/submodule.go | 119 + modules/git/submodule_test.go | 42 + modules/git/tag.go | 129 + modules/git/tag_test.go | 109 + .../tests/repos/language_stats_repo/COMMIT_EDITMSG | 3 + modules/git/tests/repos/language_stats_repo/HEAD | 1 + modules/git/tests/repos/language_stats_repo/config | 5 + .../tests/repos/language_stats_repo/description | 1 + modules/git/tests/repos/language_stats_repo/index | Bin 0 -> 553 bytes .../tests/repos/language_stats_repo/info/exclude | 6 + .../git/tests/repos/language_stats_repo/logs/HEAD | 2 + .../language_stats_repo/logs/refs/heads/master | 2 + .../1e/ea60592b55dcb45c36029cc1202132e9fb756c | Bin 0 -> 63 bytes .../22/b6aa0588563508d8879f062470c8cbc7b2f2bb | Bin 0 -> 200 bytes .../34/1fca5b5ea3de596dc483e54c2db28633cd2f97 | Bin 0 -> 172 bytes .../42/25ecfaf6bafbcfa31ea5cbd8121c36d9457085 | Bin 0 -> 116 bytes .../4a/c803638e4b8995146e329a05e096fa2c77a03d | Bin 0 -> 73 bytes .../64/4c37ad7fe64ac012df7e59d27a92e3137c640e | Bin 0 -> 53 bytes .../6c/633a0067b463e459ae952716b17ae36aa30adc | Bin 0 -> 371 bytes .../8e/b563dc106e3dfd3ad0fa81f7a0c5e2604f80cd | Bin 0 -> 201 bytes .../8f/ee858da5796dfb37704761701bb8e800ad9ef3 | Bin 0 -> 828 bytes .../aa/a21bf84c8b2304608d3fc83b747840f2456299 | Bin 0 -> 54 bytes .../da/a5abe3c5f42cae598e362e8a8db6284565d6bb | Bin 0 -> 64 bytes .../repos/language_stats_repo/refs/heads/master | 1 + modules/git/tests/repos/repo1_bare/HEAD | 1 + modules/git/tests/repos/repo1_bare/config | 4 + modules/git/tests/repos/repo1_bare/description | 1 + modules/git/tests/repos/repo1_bare/index | Bin 0 -> 65 bytes modules/git/tests/repos/repo1_bare/info/exclude | 6 + modules/git/tests/repos/repo1_bare/logs/HEAD | 2 + .../tests/repos/repo1_bare/logs/refs/heads/master | 2 + .../0b/9f291245f6c596fd30bee925fe94fe0cbadd60 | Bin 0 -> 54 bytes .../11/93ff46343f4f6a0522e2b28b871e905178c1f0 | Bin 0 -> 23 bytes .../15/3f451b9ee7fa1da317ab17a127e9fd9d384310 | Bin 0 -> 31 bytes .../18/4d49c75a0b202b1d2ea2fcb5861c329321fcd6 | Bin 0 -> 56 bytes .../1c/91d130dc5fb75fd2d9f586a058650889cfe7fb | Bin 0 -> 813 bytes .../21/6bf54c2f2e2916b830ebe09e8c58a6ed52d86b | Bin 0 -> 28 bytes .../28/345b214c5967bd9cdd98cc7f88f2f1ac574e02 | Bin 0 -> 85 bytes .../28/39944139e0de9737a044f78b0e4b40d989a9e3 | 1 + .../28/b55526e7100924d864dd89e35c1ea62e7a5a32 | Bin 0 -> 818 bytes .../2e/65efe2a145dda7ee51d1741299f848e5bf752e | Bin 0 -> 16 bytes .../30/4c56b3bef33d0afeb8515ee803c839daf30ab8 | Bin 0 -> 85 bytes .../34/d1da713bf7de1c535e1d7d3ca985afd84bc7e5 | Bin 0 -> 23 bytes .../36/f97d9a96457e2bab511db30fe2db03893ebc64 | Bin 0 -> 770 bytes .../37/991dec2c8e592043f47155ce4808d4580f9123 | 1 + .../38/441bf2c4d4c27efff94728c9eb33266f44a702 | Bin 0 -> 134 bytes .../3a/d28a9149a2864384548f3d17ed7f38014c9e8a | Bin 0 -> 638 bytes .../4b/825dc642cb6eb9a060e54bf8d69288fbee4904 | Bin 0 -> 15 bytes .../50/13716a9da8e66ea21059a84f1b4311424d2b7f | Bin 0 -> 31 bytes .../59/dfb0bb505a601006e31fed53d2e24e44fca9ca | Bin 0 -> 144 bytes .../5c/80b0245c1c6f8343fa418ec374b13b5d4ee658 | 3 + .../62/d735f9efa9cf5b7df6bac9917b80e4779f4315 | Bin 0 -> 111 bytes .../64/3a35374408002fcf2f0e8d42d262a1e0e2f80e | Bin 0 -> 32 bytes .../6c/493ff740f9380390d5c9ddef4af18697ac9375 | Bin 0 -> 21 bytes .../6f/bd69e9823458e6c4a2fc5c0f6bc022b2f2acd1 | 1 + .../7e/3b688f3369ca28ebafbda9f8ef39713dd12fc8 | Bin 0 -> 85 bytes .../80/06ff9adbf0cb94da7dad9e537e53817f9fa5c0 | Bin 0 -> 176 bytes .../82/26f571dcc2d2f33a7179d929b10b9c39faa631 | Bin 0 -> 71 bytes .../83/b9c4da46ed59098a009f8640c77eac97b71dfe | Bin 0 -> 115 bytes .../8d/92fc957a4d7cfd98bc375f0b7bb189a0d6c9f2 | Bin 0 -> 153 bytes .../93/3305878a3c9ad485c29b87fb662a73a9675c4b | Bin 0 -> 770 bytes .../95/bb4d39648ee7e325106df01a621c530863a653 | Bin 0 -> 121 bytes .../98/1ff127cc331753bba28e1377c35934f1ca9b56 | Bin 0 -> 56 bytes .../9c/9aef8dd84e02bc7ec12641deb4c930a7c30185 | 2 + .../a4/79ead1abb694ffca26f67b09c8313b12fa2a13 | Bin 0 -> 30 bytes .../b1/4df6442ea5a1b382985a6549b85d435376c351 | Bin 0 -> 18 bytes .../b1/fc9917b618c924cf4aa421dae74e8bf9b556d3 | Bin 0 -> 176 bytes .../b7/5f44edbd9252c32bf9faa0c1257ffb3b126c24 | Bin 0 -> 80 bytes .../c8/c90111bdc18b3afd2b2906007059e95ac8fdc3 | Bin 0 -> 111 bytes .../ca/6b5ddf303169a72d2a2971acde4f6eea194e5c | 4 + .../ce/064814f4a0d337b333e646ece456cd39fab612 | Bin 0 -> 815 bytes .../cf/8b0b492a950b358a7ce7f9d01b18aef48a6b2d | Bin 0 -> 827 bytes .../d0/845fe2f85710b50d673dafe98236bf9f2023da | Bin 0 -> 50 bytes .../e2/129701f1a4d54dc44f03c93bca0a2aec7c5449 | Bin 0 -> 21 bytes .../f1/a6cb52b2d16773290cefe49ad0684b50a4f930 | Bin 0 -> 111 bytes .../fe/af4ba6bc635fec442f46ddd4512416ec43c2c2 | Bin 0 -> 817 bytes modules/git/tests/repos/repo1_bare/pulls/1.patch | 0 modules/git/tests/repos/repo1_bare/pulls/2.patch | 39 + .../git/tests/repos/repo1_bare/refs/heads/branch1 | 1 + .../git/tests/repos/repo1_bare/refs/heads/branch2 | 1 + .../git/tests/repos/repo1_bare/refs/heads/master | 1 + .../git/tests/repos/repo1_bare/refs/notes/commits | 1 + .../tests/repos/repo1_bare/refs/tags/signed-tag | 1 + modules/git/tests/repos/repo1_bare/refs/tags/test | 1 + modules/git/tests/repos/repo1_bare_sha256/HEAD | 1 + modules/git/tests/repos/repo1_bare_sha256/config | 6 + .../git/tests/repos/repo1_bare_sha256/description | 1 + .../git/tests/repos/repo1_bare_sha256/info/exclude | 6 + .../git/tests/repos/repo1_bare_sha256/info/refs | 7 + .../repo1_bare_sha256/objects/info/commit-graph | Bin 0 -> 2048 bytes .../repos/repo1_bare_sha256/objects/info/packs | 2 + ...be78665970b0c38c6b495d5fc034bc7a7b95334b.bitmap | Bin 0 -> 710 bytes ...2f9be78665970b0c38c6b495d5fc034bc7a7b95334b.idx | Bin 0 -> 2576 bytes ...f9be78665970b0c38c6b495d5fc034bc7a7b95334b.pack | Bin 0 -> 5656 bytes ...2f9be78665970b0c38c6b495d5fc034bc7a7b95334b.rev | Bin 0 -> 224 bytes .../git/tests/repos/repo1_bare_sha256/packed-refs | 8 + .../tests/repos/repo1_bare_sha256/refs/heads/main | 1 + modules/git/tests/repos/repo2_empty/HEAD | 1 + modules/git/tests/repos/repo2_empty/config | 6 + modules/git/tests/repos/repo2_empty/description | 1 + modules/git/tests/repos/repo2_empty/info/exclude | 6 + .../tests/repos/repo2_empty/objects/info/.gitkeep | 0 .../tests/repos/repo2_empty/objects/pack/.gitkeep | 0 .../tests/repos/repo2_empty/refs/heads/.gitkeep | 0 .../git/tests/repos/repo2_empty/refs/tags/.gitkeep | 0 modules/git/tests/repos/repo3_notes/COMMIT_EDITMSG | 1 + modules/git/tests/repos/repo3_notes/HEAD | 1 + modules/git/tests/repos/repo3_notes/config | 7 + modules/git/tests/repos/repo3_notes/description | 1 + modules/git/tests/repos/repo3_notes/index | Bin 0 -> 145 bytes modules/git/tests/repos/repo3_notes/logs/HEAD | 2 + .../tests/repos/repo3_notes/logs/refs/heads/master | 2 + .../29/7128d6553180486c780e2f747cb6d0014bf1f6 | Bin 0 -> 55 bytes .../2f/7e2ea1e905c14c8a98e7ce47b395592834b9ef | Bin 0 -> 81 bytes .../3e/668dbfac39cbc80a9ff9c61eb565d944453ba4 | 3 + .../42/716fdb6f261867472899d785123e6ecaa5ca02 | Bin 0 -> 44 bytes .../56/a6051ca2b02b04ef92d5150c9ef600403cb1de | Bin 0 -> 16 bytes .../61/6c62e75fce60d806f4afe993211705a00a2544 | Bin 0 -> 21 bytes .../65/4c8b6b63c08bf37f638d3f521626b7fbbd4d37 | 1 + .../ba/0a96fa63532d6c5087ecef070b0250ed72fa47 | Bin 0 -> 125 bytes .../c9/34d51cee361fdee21a3f3bb1a285f5ea9bc225 | Bin 0 -> 55 bytes .../d8/263ee9860594d2806b0dfd1bfd17528b0ba2a4 | Bin 0 -> 16 bytes .../f3/6ad903e408cb8f4ed90bda02e3a1fd2fab7907 | Bin 0 -> 21 bytes .../fe/c9fe57e9864fe537f02f825e377c4a8a65ad2e | Bin 0 -> 113 bytes .../git/tests/repos/repo3_notes/refs/heads/master | 1 + .../git/tests/repos/repo3_notes/refs/notes/commits | 1 + modules/git/tests/repos/repo4_commitsbetween/HEAD | 1 + .../git/tests/repos/repo4_commitsbetween/config | 7 + .../git/tests/repos/repo4_commitsbetween/logs/HEAD | 4 + .../repo4_commitsbetween/logs/refs/heads/main | 4 + .../27/734c860ab19650d48e71f9f12d9bd194ed82ea | Bin 0 -> 53 bytes .../56/a6051ca2b02b04ef92d5150c9ef600403cb1de | Bin 0 -> 16 bytes .../78/a445db1eac62fe15e624e1137965969addf344 | 3 + .../a7/8e5638b66ccfe7e1b4689d3d5684e42c97d7ca | Bin 0 -> 160 bytes .../ad/74ceca1b8fde10c7d933bd2e56d347dddb4ab5 | Bin 0 -> 53 bytes .../b5/d8dd0ddd9d8d752bb47b5f781f09f478316098 | Bin 0 -> 18 bytes .../d8/263ee9860594d2806b0dfd1bfd17528b0ba2a4 | Bin 0 -> 16 bytes .../e2/3cc6a008501f1491b0480cedaef160e41cf684 | Bin 0 -> 53 bytes .../fd/c1b615bdcff0f0658b216df0c9209e5ecb7c78 | Bin 0 -> 126 bytes .../repos/repo4_commitsbetween/refs/heads/main | 1 + modules/git/tests/repos/repo5_pulls/HEAD | 1 + modules/git/tests/repos/repo5_pulls/config | 6 + modules/git/tests/repos/repo5_pulls/description | 1 + modules/git/tests/repos/repo5_pulls/info/exclude | 6 + .../1a/2959532d2d18daa87bbd9f9d16051bef7b51df | Bin 0 -> 119 bytes .../56/51a1c4a48c47484a7a00a967ba4b6dde070bbf | Bin 0 -> 120 bytes .../58/a4bcc53ac13e7ff76127e0fb518b5262bf09af | 1 + .../6d/0b4cca434953833618fcd3dd7acff42c800df1 | Bin 0 -> 120 bytes .../a5/2ca5af1b0277638ce20797f80bb1a2997470ab | Bin 0 -> 120 bytes .../bf/4dc0709be60f043821351ff4bb2b17e5cabbb2 | 2 + .../d8/e0bbb45f200e67d9a784ce55bd90821af45ebd | 2 + .../ed/5119b3c1f45547b6785bc03eac7f87570fa17f | Bin 0 -> 660 bytes .../ed/8f4d2fa5b2420706580d191f5dd50c4e491f3f | 3 + .../ee/469963e76ae1bb7ee83d7510df2864e6c8c640 | Bin 0 -> 650 bytes .../git/tests/repos/repo5_pulls/objects/info/packs | 2 + ...ck-81423f591973f5d9dab89cc45afa1c544448133e.idx | Bin 0 -> 1408 bytes ...k-81423f591973f5d9dab89cc45afa1c544448133e.pack | Bin 0 -> 2363 bytes modules/git/tests/repos/repo5_pulls/packed-refs | 5 + .../git/tests/repos/repo5_pulls/refs/heads/master | 1 + .../repos/repo5_pulls/refs/heads/master-clone | 1 + .../repos/repo5_pulls/refs/heads/test-patch-1 | 1 + .../git/tests/repos/repo5_pulls/refs/pull/4/head | 1 + modules/git/tests/repos/repo5_pulls_sha256/HEAD | 1 + modules/git/tests/repos/repo5_pulls_sha256/config | 6 + .../git/tests/repos/repo5_pulls_sha256/description | 1 + .../git/tests/repos/repo5_pulls_sha256/info/refs | 4 + .../repo5_pulls_sha256/objects/info/commit-graph | Bin 0 -> 1544 bytes .../repos/repo5_pulls_sha256/objects/info/packs | 2 + ...41fe145d4a02b788eb26c31022a362312660a29d.bitmap | Bin 0 -> 414 bytes ...42641fe145d4a02b788eb26c31022a362312660a29d.idx | Bin 0 -> 1736 bytes ...2641fe145d4a02b788eb26c31022a362312660a29d.pack | Bin 0 -> 3140 bytes ...42641fe145d4a02b788eb26c31022a362312660a29d.rev | Bin 0 -> 140 bytes .../git/tests/repos/repo5_pulls_sha256/packed-refs | 5 + .../tests/repos/repo5_pulls_sha256/refs/heads/main | 1 + modules/git/tests/repos/repo6_blame/HEAD | 1 + modules/git/tests/repos/repo6_blame/config | 4 + .../31/bb4b42cecf0a98fc9a32fc5aaeaf53ec52643c | Bin 0 -> 98 bytes .../3b/0f66d8b065f8adbf2fef7d986528c655b98cb1 | Bin 0 -> 35 bytes .../45/fb6cbc12f970b04eacd5cd4165edd11c8d7376 | Bin 0 -> 167 bytes .../49/7701e5bb8676e419b93875d8f0808c7b31aed9 | Bin 0 -> 24 bytes .../54/4d8f7a3b15927cddf2299b4b562d6ebd71b6a7 | Bin 0 -> 175 bytes .../a8/9199e8dea077e4a8ba0bc01bc155275cfdd044 | Bin 0 -> 57 bytes .../af/7486bd54cfc39eea97207ca666aa69c9d6df93 | Bin 0 -> 134 bytes .../b8/d1ba1ccb58ee3744b3d1434aae7d26ce2d9421 | Bin 0 -> 54 bytes .../ca/411a3b842c3caec045772da42de16b3ffdafe8 | Bin 0 -> 54 bytes .../git/tests/repos/repo6_blame/refs/heads/master | 1 + modules/git/tests/repos/repo6_blame_sha256/HEAD | 1 + modules/git/tests/repos/repo6_blame_sha256/config | 6 + .../git/tests/repos/repo6_blame_sha256/description | 1 + .../tests/repos/repo6_blame_sha256/info/exclude | 6 + .../git/tests/repos/repo6_blame_sha256/info/refs | 1 + .../repo6_blame_sha256/objects/info/commit-graph | Bin 0 -> 1376 bytes .../repos/repo6_blame_sha256/objects/info/packs | 2 + ...62b611ac24312a5ffc3d3703d7c5cc906bdaee8e.bitmap | Bin 0 -> 318 bytes ...3c562b611ac24312a5ffc3d3703d7c5cc906bdaee8e.idx | Bin 0 -> 1456 bytes ...c562b611ac24312a5ffc3d3703d7c5cc906bdaee8e.pack | Bin 0 -> 904 bytes ...3c562b611ac24312a5ffc3d3703d7c5cc906bdaee8e.rev | Bin 0 -> 112 bytes .../git/tests/repos/repo6_blame_sha256/packed-refs | 2 + .../tests/repos/repo6_blame_sha256/refs/refs/main | 1 + modules/git/tests/repos/repo6_merge/HEAD | 1 + .../02/2f4ce6214973e018f02bf363bf8a2e3691f699 | Bin 0 -> 280 bytes .../05/45879290cc368a8becebc4aa34002c52d5fecc | Bin 0 -> 152 bytes .../1e/5d0a65fe099ef12d24b28f783896e4b8172576 | Bin 0 -> 88 bytes .../37/d35c7ed39e4e16d0b579a5b995b7e30b0e9411 | 2 + .../38/ec3e0cdc88bde01014bda4a5dd9fc835f41439 | 2 + .../66/7e0fbc6bc02c2285d17f542e89b23c0fa5482b | Bin 0 -> 122 bytes .../9f/d90b1d524c0fea776ed5e6476da02ea1740597 | Bin 0 -> 26 bytes .../ae/4b035e7c4afbc000576cee3f713ea0c2f1e1e2 | 5 + .../ba/2906d0666cf726c7eaadd2cd3db615dedfdf3a | Bin 0 -> 20 bytes .../c1/a95c2eff8151c6d1437a0d5d3322a73ff38fb8 | Bin 0 -> 120 bytes .../cc/d1d4d594029e68c388ecef5aa3063fa1055831 | Bin 0 -> 26 bytes .../cd/fc1aaf7a149151cb7bff639fafe05668d4bbd2 | Bin 0 -> 120 bytes .../d1/792641396ff7630d35fbb0b74b86b0c71bca77 | Bin 0 -> 145 bytes .../ec/d11d8da0f25eaa99f64a37a82da98685f381e2 | Bin 0 -> 33 bytes .../fa/49b077972391ad58037050f2a75f74e3671e92 | Bin 0 -> 24 bytes .../git/tests/repos/repo6_merge/refs/heads/main | 1 + .../repos/repo6_merge/refs/heads/merge/add_file | 1 + .../repos/repo6_merge/refs/heads/merge/modify_file | 1 + .../repos/repo6_merge/refs/heads/merge/remove_file | 1 + modules/git/tests/repos/repo6_merge_sha256/HEAD | 1 + modules/git/tests/repos/repo6_merge_sha256/config | 6 + .../git/tests/repos/repo6_merge_sha256/description | 1 + .../tests/repos/repo6_merge_sha256/info/exclude | 6 + .../git/tests/repos/repo6_merge_sha256/info/refs | 4 + .../repo6_merge_sha256/objects/info/commit-graph | Bin 0 -> 1564 bytes .../repos/repo6_merge_sha256/objects/info/packs | 3 + ...1ab6a096c7530f577d5c0a79c63d9ac2b44f7510.bitmap | Bin 0 -> 410 bytes ...ac91ab6a096c7530f577d5c0a79c63d9ac2b44f7510.idx | Bin 0 -> 1696 bytes ...c91ab6a096c7530f577d5c0a79c63d9ac2b44f7510.pack | Bin 0 -> 1556 bytes ...ac91ab6a096c7530f577d5c0a79c63d9ac2b44f7510.rev | Bin 0 -> 136 bytes ...6d487e67bb2a4a5501ca1fa3528fad8a9474fba7e50.idx | Bin 0 -> 1176 bytes ...87e67bb2a4a5501ca1fa3528fad8a9474fba7e50.mtimes | Bin 0 -> 84 bytes ...d487e67bb2a4a5501ca1fa3528fad8a9474fba7e50.pack | Bin 0 -> 447 bytes ...6d487e67bb2a4a5501ca1fa3528fad8a9474fba7e50.rev | Bin 0 -> 84 bytes .../git/tests/repos/repo6_merge_sha256/packed-refs | 5 + .../tests/repos/repo6_merge_sha256/refs/heads/main | 1 + modules/git/tree.go | 178 + modules/git/tree_blob.go | 81 + modules/git/tree_entry.go | 277 + modules/git/tree_entry_mode.go | 35 + modules/git/tree_test.go | 28 + modules/git/url/url.go | 89 + modules/git/url/url_test.go | 167 + modules/git/utils.go | 138 + modules/git/utils_test.go | 26 + modules/gitgraph/graph.go | 116 + modules/gitgraph/graph_models.go | 256 + modules/gitgraph/graph_test.go | 714 + modules/gitgraph/parser.go | 336 + modules/gitrepo/branch.go | 49 + modules/gitrepo/gitrepo.go | 103 + modules/gitrepo/walk.go | 15 + modules/graceful/context.go | 36 + modules/graceful/manager.go | 260 + modules/graceful/manager_common.go | 108 + modules/graceful/manager_unix.go | 201 + modules/graceful/manager_windows.go | 190 + modules/graceful/net_unix.go | 321 + modules/graceful/net_windows.go | 19 + modules/graceful/releasereopen/releasereopen.go | 61 + .../graceful/releasereopen/releasereopen_test.go | 44 + modules/graceful/restart_unix.go | 115 + modules/graceful/server.go | 284 + modules/graceful/server_hooks.go | 73 + modules/graceful/server_http.go | 37 + modules/hcaptcha/error.go | 47 + modules/hcaptcha/hcaptcha.go | 140 + modules/hcaptcha/hcaptcha_test.go | 106 + modules/highlight/highlight.go | 233 + modules/highlight/highlight_test.go | 196 + modules/hostmatcher/hostmatcher.go | 161 + modules/hostmatcher/hostmatcher_test.go | 161 + modules/hostmatcher/http.go | 65 + modules/html/html.go | 25 + modules/httpcache/httpcache.go | 101 + modules/httpcache/httpcache_test.go | 100 + modules/httplib/request.go | 206 + modules/httplib/serve.go | 237 + modules/httplib/serve_test.go | 109 + modules/httplib/url.go | 27 + modules/httplib/url_test.go | 123 + modules/indexer/code/bleve/bleve.go | 354 + .../indexer/code/elasticsearch/elasticsearch.go | 388 + .../code/elasticsearch/elasticsearch_test.go | 16 + modules/indexer/code/git.go | 199 + modules/indexer/code/indexer.go | 310 + modules/indexer/code/indexer_test.go | 145 + modules/indexer/code/internal/indexer.go | 54 + modules/indexer/code/internal/model.go | 44 + modules/indexer/code/internal/util.go | 32 + modules/indexer/code/search.go | 228 + modules/indexer/internal/base32.go | 21 + modules/indexer/internal/bleve/batch.go | 58 + modules/indexer/internal/bleve/indexer.go | 102 + modules/indexer/internal/bleve/metadata.go | 55 + modules/indexer/internal/bleve/metadata_test.go | 28 + modules/indexer/internal/bleve/query.go | 56 + modules/indexer/internal/bleve/util.go | 48 + modules/indexer/internal/db/indexer.go | 34 + modules/indexer/internal/elasticsearch/indexer.go | 93 + modules/indexer/internal/elasticsearch/util.go | 68 + modules/indexer/internal/indexer.go | 37 + modules/indexer/internal/meilisearch/filter.go | 119 + modules/indexer/internal/meilisearch/indexer.go | 88 + modules/indexer/internal/meilisearch/util.go | 38 + modules/indexer/internal/paginator.go | 34 + modules/indexer/issues/bleve/bleve.go | 300 + modules/indexer/issues/bleve/bleve_test.go | 18 + modules/indexer/issues/db/db.go | 107 + modules/indexer/issues/db/options.go | 112 + modules/indexer/issues/dboptions.go | 105 + .../indexer/issues/elasticsearch/elasticsearch.go | 290 + .../issues/elasticsearch/elasticsearch_test.go | 48 + modules/indexer/issues/indexer.go | 315 + modules/indexer/issues/indexer_test.go | 410 + modules/indexer/issues/internal/indexer.go | 42 + modules/indexer/issues/internal/model.go | 150 + modules/indexer/issues/internal/tests/tests.go | 771 + modules/indexer/issues/meilisearch/meilisearch.go | 301 + .../indexer/issues/meilisearch/meilisearch_test.go | 97 + modules/indexer/issues/util.go | 193 + modules/indexer/stats/db.go | 84 + modules/indexer/stats/indexer.go | 88 + modules/indexer/stats/indexer_test.go | 52 + modules/indexer/stats/queue.go | 49 + modules/issue/template/template.go | 489 + modules/issue/template/template_test.go | 963 + modules/issue/template/unmarshal.go | 147 + modules/json/json.go | 172 + modules/keying/keying.go | 125 + modules/keying/keying_test.go | 111 + modules/label/label.go | 46 + modules/label/parser.go | 118 + modules/label/parser_test.go | 72 + modules/lfs/LICENSE | 20 + modules/lfs/client.go | 32 + modules/lfs/client_test.go | 21 + modules/lfs/content_store.go | 163 + modules/lfs/endpoint.go | 107 + modules/lfs/endpoint_test.go | 74 + modules/lfs/filesystem_client.go | 88 + modules/lfs/http_client.go | 259 + modules/lfs/http_client_test.go | 377 + modules/lfs/pointer.go | 129 + modules/lfs/pointer_scanner.go | 109 + modules/lfs/pointer_test.go | 103 + modules/lfs/shared.go | 115 + modules/lfs/transferadapter.go | 89 + modules/lfs/transferadapter_test.go | 172 + modules/log/color.go | 115 + modules/log/color_console.go | 17 + modules/log/color_console_other.go | 69 + modules/log/color_console_windows.go | 42 + modules/log/color_router.go | 87 + modules/log/event_format.go | 253 + modules/log/event_format_test.go | 114 + modules/log/event_writer.go | 54 + modules/log/event_writer_base.go | 169 + modules/log/event_writer_conn.go | 111 + modules/log/event_writer_conn_test.go | 76 + modules/log/event_writer_console.go | 40 + modules/log/event_writer_file.go | 53 + modules/log/flags.go | 138 + modules/log/flags_test.go | 31 + modules/log/groutinelabel.go | 19 + modules/log/groutinelabel_test.go | 33 + modules/log/init.go | 44 + modules/log/level.go | 136 + modules/log/level_test.go | 56 + modules/log/logger.go | 50 + modules/log/logger_global.go | 83 + modules/log/logger_impl.go | 240 + modules/log/logger_test.go | 146 + modules/log/manager.go | 142 + modules/log/manager_test.go | 43 + modules/log/misc.go | 78 + modules/log/stack.go | 80 + modules/markup/asciicast/asciicast.go | 64 + modules/markup/camo.go | 46 + modules/markup/camo_test.go | 44 + modules/markup/common/footnote.go | 498 + modules/markup/common/footnote_test.go | 62 + modules/markup/common/html.go | 16 + modules/markup/common/linkify.go | 153 + modules/markup/console/console.go | 89 + modules/markup/console/console_test.go | 33 + modules/markup/csv/csv.go | 157 + modules/markup/csv/csv_test.go | 33 + modules/markup/external/external.go | 146 + modules/markup/file_preview.go | 364 + modules/markup/html.go | 1325 + modules/markup/html_internal_test.go | 486 + modules/markup/html_test.go | 1029 + modules/markup/markdown/ast.go | 176 + modules/markup/markdown/callout/ast.go | 37 + modules/markup/markdown/callout/github.go | 141 + modules/markup/markdown/callout/github_legacy.go | 78 + modules/markup/markdown/color_util.go | 19 + modules/markup/markdown/color_util_test.go | 50 + modules/markup/markdown/convertyaml.go | 83 + modules/markup/markdown/goldmark.go | 213 + modules/markup/markdown/markdown.go | 303 + modules/markup/markdown/markdown_test.go | 1365 + modules/markup/markdown/math/block_node.go | 41 + modules/markup/markdown/math/block_parser.go | 125 + modules/markup/markdown/math/block_renderer.go | 42 + modules/markup/markdown/math/inline_block_node.go | 31 + modules/markup/markdown/math/inline_node.go | 48 + modules/markup/markdown/math/inline_parser.go | 153 + modules/markup/markdown/math/inline_renderer.go | 51 + modules/markup/markdown/math/math.go | 108 + modules/markup/markdown/meta.go | 103 + modules/markup/markdown/meta_test.go | 110 + modules/markup/markdown/prefixed_id.go | 59 + modules/markup/markdown/renderconfig.go | 126 + modules/markup/markdown/renderconfig_test.go | 162 + modules/markup/markdown/toc.go | 54 + modules/markup/markdown/transform_codespan.go | 56 + modules/markup/markdown/transform_heading.go | 32 + modules/markup/markdown/transform_image.go | 65 + modules/markup/markdown/transform_link.go | 46 + modules/markup/markdown/transform_list.go | 85 + modules/markup/mdstripper/mdstripper.go | 199 + modules/markup/mdstripper/mdstripper_test.go | 85 + modules/markup/orgmode/orgmode.go | 196 + modules/markup/orgmode/orgmode_test.go | 160 + modules/markup/renderer.go | 393 + modules/markup/renderer_test.go | 4 + modules/markup/sanitizer.go | 235 + modules/markup/sanitizer_test.go | 110 + modules/markup/tests/repo/repo1_filepreview/HEAD | 1 + modules/markup/tests/repo/repo1_filepreview/config | 6 + .../tests/repo/repo1_filepreview/description | 1 + .../tests/repo/repo1_filepreview/info/exclude | 6 + .../19/0d9492934af498c3f669d6a2431dc5459e5b20 | Bin 0 -> 120 bytes .../3f/ed9bce8610a52048747f627b3863374642c85c | Bin 0 -> 91 bytes .../4b/825dc642cb6eb9a060e54bf8d69288fbee4904 | Bin 0 -> 15 bytes .../4c/1aaf56bcb9f39dcf65f3f250726850aed13cd6 | Bin 0 -> 187 bytes .../83/57a737d04385bb7f2ab59ff184be94756e7972 | Bin 0 -> 44 bytes .../84/22d40f12717e1ebd5cef2449f6c09d1f775969 | Bin 0 -> 23 bytes .../8c/7e5a667f1b771847fe88c01c3de34413a1b220 | Bin 0 -> 16 bytes .../d4/490327def9658be036d6a52c4417d84e74dd4c | Bin 0 -> 46 bytes .../ee/2b1253d9cf407796e2e724926cbe3a974b214d | 1 + .../tests/repo/repo1_filepreview/refs/heads/master | 1 + modules/mcaptcha/mcaptcha.go | 26 + modules/metrics/collector.go | 388 + modules/migration/comment.go | 34 + modules/migration/downloader.go | 37 + modules/migration/error.go | 25 + modules/migration/file_format.go | 110 + modules/migration/file_format_test.go | 39 + .../migration/file_format_testdata/issue_a.json | 14 + modules/migration/file_format_testdata/issue_a.yml | 10 + .../migration/file_format_testdata/issue_b.json | 5 + .../migration/file_format_testdata/milestones.json | 20 + modules/migration/issue.go | 48 + modules/migration/label.go | 13 + modules/migration/messenger.go | 10 + modules/migration/milestone.go | 18 + modules/migration/null_downloader.go | 88 + modules/migration/options.go | 41 + modules/migration/pullrequest.go | 74 + modules/migration/reaction.go | 17 + modules/migration/release.go | 46 + modules/migration/repo.go | 17 + modules/migration/retry_downloader.go | 194 + modules/migration/review.go | 67 + modules/migration/schemas/issue.json | 114 + modules/migration/schemas/label.json | 28 + modules/migration/schemas/milestone.json | 67 + modules/migration/schemas/reaction.json | 29 + modules/migration/schemas_bindata.go | 8 + modules/migration/schemas_dynamic.go | 47 + modules/migration/schemas_static.go | 23 + modules/migration/uploader.go | 23 + modules/nosql/leveldb.go | 24 + modules/nosql/manager.go | 116 + modules/nosql/manager_leveldb.go | 214 + modules/nosql/manager_redis.go | 258 + modules/nosql/manager_redis_test.go | 81 + modules/nosql/redis.go | 100 + modules/nosql/redis_test.go | 34 + modules/optional/option.go | 45 + modules/optional/option_test.go | 59 + modules/optional/serialization.go | 46 + modules/optional/serialization_test.go | 191 + modules/options/base.go | 42 + modules/options/dynamic.go | 15 + modules/options/options_bindata.go | 8 + modules/options/static.go | 14 + modules/packages/alpine/metadata.go | 242 + modules/packages/alpine/metadata_test.go | 144 + modules/packages/arch/metadata.go | 341 + modules/packages/arch/metadata_test.go | 447 + modules/packages/cargo/parser.go | 178 + modules/packages/cargo/parser_test.go | 108 + modules/packages/chef/metadata.go | 134 + modules/packages/chef/metadata_test.go | 93 + modules/packages/composer/metadata.go | 187 + modules/packages/composer/metadata_test.go | 154 + modules/packages/conan/conanfile_parser.go | 67 + modules/packages/conan/conanfile_parser_test.go | 51 + modules/packages/conan/conaninfo_parser.go | 123 + modules/packages/conan/conaninfo_parser_test.go | 85 + modules/packages/conan/metadata.go | 23 + modules/packages/conan/reference.go | 155 + modules/packages/conan/reference_test.go | 148 + modules/packages/conda/metadata.go | 242 + modules/packages/conda/metadata_test.go | 152 + modules/packages/container/helm/helm.go | 55 + modules/packages/container/metadata.go | 166 + modules/packages/container/metadata_test.go | 62 + modules/packages/content_store.go | 75 + modules/packages/cran/metadata.go | 242 + modules/packages/cran/metadata_test.go | 153 + modules/packages/debian/metadata.go | 221 + modules/packages/debian/metadata_test.go | 187 + modules/packages/goproxy/metadata.go | 94 + modules/packages/goproxy/metadata_test.go | 76 + modules/packages/hashed_buffer.go | 81 + modules/packages/hashed_buffer_test.go | 47 + modules/packages/helm/metadata.go | 130 + modules/packages/maven/metadata.go | 93 + modules/packages/maven/metadata_test.go | 90 + modules/packages/multi_hasher.go | 122 + modules/packages/multi_hasher_test.go | 54 + modules/packages/npm/creator.go | 289 + modules/packages/npm/creator_test.go | 302 + modules/packages/npm/metadata.go | 26 + modules/packages/nuget/metadata.go | 239 + modules/packages/nuget/metadata_test.go | 188 + modules/packages/nuget/symbol_extractor.go | 186 + modules/packages/nuget/symbol_extractor_test.go | 82 + modules/packages/pub/metadata.go | 153 + modules/packages/pub/metadata_test.go | 136 + modules/packages/pypi/metadata.go | 15 + modules/packages/rpm/metadata.go | 298 + modules/packages/rpm/metadata_test.go | 164 + modules/packages/rubygems/marshal.go | 311 + modules/packages/rubygems/marshal_test.go | 99 + modules/packages/rubygems/metadata.go | 220 + modules/packages/rubygems/metadata_test.go | 89 + modules/packages/swift/metadata.go | 214 + modules/packages/swift/metadata_test.go | 145 + modules/packages/vagrant/metadata.go | 96 + modules/packages/vagrant/metadata_test.go | 111 + modules/paginator/paginator.go | 204 + modules/paginator/paginator_test.go | 312 + modules/pprof/pprof.go | 45 + modules/private/actions.go | 25 + modules/private/forgejo_actions.go | 32 + modules/private/hook.go | 129 + modules/private/internal.go | 96 + modules/private/key.go | 30 + modules/private/mail.go | 33 + modules/private/manager.go | 120 + modules/private/request.go | 128 + modules/private/restore_repo.go | 36 + modules/private/serv.go | 63 + modules/process/context.go | 68 + modules/process/error.go | 25 + modules/process/manager.go | 243 + modules/process/manager_exec.go | 79 + modules/process/manager_stacktraces.go | 353 + modules/process/manager_test.go | 111 + modules/process/manager_unix.go | 17 + modules/process/manager_windows.go | 15 + modules/process/process.go | 38 + modules/proxy/proxy.go | 98 + modules/proxyprotocol/conn.go | 505 + modules/proxyprotocol/errors.go | 44 + modules/proxyprotocol/listener.go | 46 + modules/proxyprotocol/util.go | 14 + modules/public/mime_types.go | 40 + modules/public/public.go | 118 + modules/public/public_bindata.go | 8 + modules/public/public_test.go | 34 + modules/public/serve_dynamic.go | 15 + modules/public/serve_static.go | 24 + modules/queue/backoff.go | 63 + modules/queue/base.go | 42 + modules/queue/base_channel.go | 131 + modules/queue/base_channel_test.go | 11 + modules/queue/base_dummy.go | 38 + modules/queue/base_levelqueue.go | 83 + modules/queue/base_levelqueue_common.go | 93 + modules/queue/base_levelqueue_test.go | 78 + modules/queue/base_levelqueue_unique.go | 88 + modules/queue/base_redis.go | 162 + modules/queue/base_redis_test.go | 138 + modules/queue/base_redis_with_server_test.go | 133 + modules/queue/base_test.go | 141 + modules/queue/config.go | 36 + modules/queue/lqinternal/lqinternal.go | 48 + modules/queue/manager.go | 113 + modules/queue/manager_test.go | 125 + modules/queue/mock/inmemorymockredis.go | 133 + modules/queue/mock/redisuniversalclient.go | 343 + modules/queue/queue.go | 68 + modules/queue/testhelper.go | 40 + modules/queue/workergroup.go | 350 + modules/queue/workerqueue.go | 260 + modules/queue/workerqueue_test.go | 291 + modules/recaptcha/recaptcha.go | 90 + modules/references/references.go | 594 + modules/references/references_test.go | 563 + modules/regexplru/regexplru.go | 44 + modules/regexplru/regexplru_test.go | 27 + modules/repository/branch.go | 145 + modules/repository/branch_test.go | 32 + modules/repository/collaborator.go | 44 + modules/repository/collaborator_test.go | 308 + modules/repository/commits.go | 173 + modules/repository/commits_test.go | 210 + modules/repository/create.go | 297 + modules/repository/create_test.go | 46 + modules/repository/delete.go | 33 + modules/repository/env.go | 87 + modules/repository/fork.go | 32 + modules/repository/hooks.go | 233 + modules/repository/init.go | 182 + modules/repository/init_test.go | 30 + modules/repository/license.go | 112 + modules/repository/license_test.go | 181 + modules/repository/main_test.go | 16 + modules/repository/push.go | 70 + modules/repository/repo.go | 388 + modules/repository/repo_test.go | 76 + modules/repository/temp.go | 45 + modules/secret/secret.go | 78 + modules/secret/secret_test.go | 32 + modules/session/db.go | 171 + modules/session/redis.go | 225 + modules/session/store.go | 29 + modules/session/virtual.go | 198 + modules/setting/actions.go | 106 + modules/setting/actions_test.go | 157 + modules/setting/admin.go | 32 + modules/setting/admin_test.go | 33 + modules/setting/api.go | 40 + modules/setting/asset_dynamic.go | 8 + modules/setting/asset_static.go | 8 + modules/setting/attachment.go | 35 + modules/setting/attachment_test.go | 134 + modules/setting/badges.go | 24 + modules/setting/cache.go | 85 + modules/setting/camo.go | 32 + modules/setting/config.go | 98 + modules/setting/config/getter.go | 49 + modules/setting/config/value.go | 94 + modules/setting/config_env.go | 170 + modules/setting/config_env_test.go | 151 + modules/setting/config_provider.go | 360 + modules/setting/config_provider_test.go | 157 + modules/setting/cors.go | 34 + modules/setting/cron.go | 32 + modules/setting/cron_test.go | 44 + modules/setting/database.go | 204 + modules/setting/database_sqlite.go | 15 + modules/setting/database_test.go | 109 + modules/setting/f3.go | 26 + modules/setting/federation.go | 51 + modules/setting/forgejo_storage_test.go | 264 + modules/setting/git.go | 123 + modules/setting/git_test.go | 66 + modules/setting/highlight.go | 17 + modules/setting/i18n.go | 68 + modules/setting/incoming_email.go | 89 + modules/setting/incoming_email_test.go | 74 + modules/setting/indexer.go | 119 + modules/setting/indexer_test.go | 71 + modules/setting/lfs.go | 82 + modules/setting/lfs_test.go | 102 + modules/setting/log.go | 270 + modules/setting/log_test.go | 386 + modules/setting/mailer.go | 309 + modules/setting/mailer_test.go | 54 + modules/setting/markup.go | 192 + modules/setting/metrics.go | 21 + modules/setting/migrations.go | 28 + modules/setting/mime_type_map.go | 28 + modules/setting/mirror.go | 58 + modules/setting/oauth2.go | 174 + modules/setting/oauth2_test.go | 61 + modules/setting/other.go | 29 + modules/setting/packages.go | 124 + modules/setting/packages_test.go | 199 + modules/setting/path.go | 214 + modules/setting/path_test.go | 243 + modules/setting/picture.go | 109 + modules/setting/project.go | 19 + modules/setting/proxy.go | 37 + modules/setting/queue.go | 120 + modules/setting/quota.go | 26 + modules/setting/repository.go | 376 + modules/setting/repository_archive.go | 25 + modules/setting/repository_archive_test.go | 112 + modules/setting/security.go | 173 + modules/setting/server.go | 368 + modules/setting/server_test.go | 36 + modules/setting/service.go | 262 + modules/setting/service_test.go | 133 + modules/setting/session.go | 78 + modules/setting/setting.go | 238 + modules/setting/setting_test.go | 32 + modules/setting/ssh.go | 197 + modules/setting/storage.go | 275 + modules/setting/storage_test.go | 468 + modules/setting/task.go | 26 + modules/setting/time.go | 28 + modules/setting/ui.go | 170 + modules/setting/webhook.go | 48 + modules/sitemap/sitemap.go | 82 + modules/sitemap/sitemap_test.go | 167 + modules/ssh/init.go | 55 + modules/ssh/ssh.go | 388 + modules/ssh/ssh_graceful.go | 34 + modules/storage/helper.go | 39 + modules/storage/helper_test.go | 51 + modules/storage/local.go | 154 + modules/storage/local_test.go | 61 + modules/storage/minio.go | 310 + modules/storage/minio_test.go | 216 + modules/storage/storage.go | 226 + modules/storage/storage_test.go | 52 + modules/storage/testdata/aws_credentials | 3 + modules/storage/testdata/minio.json | 12 + modules/structs/activity.go | 25 + modules/structs/activitypub.go | 9 + modules/structs/admin_user.go | 53 + modules/structs/attachment.go | 31 + modules/structs/commit_status.go | 73 + modules/structs/commit_status_test.go | 174 + modules/structs/cron.go | 15 + modules/structs/doc.go | 4 + modules/structs/fork.go | 12 + modules/structs/git_blob.go | 13 + modules/structs/git_hook.go | 19 + modules/structs/hook.go | 520 + modules/structs/issue.go | 269 + modules/structs/issue_comment.go | 86 + modules/structs/issue_label.go | 75 + modules/structs/issue_milestone.go | 44 + modules/structs/issue_reaction.go | 21 + modules/structs/issue_stopwatch.go | 23 + modules/structs/issue_test.go | 106 + modules/structs/issue_tracked_time.go | 37 + modules/structs/lfs_lock.go | 64 + modules/structs/mirror.go | 32 + modules/structs/miscellaneous.go | 101 + modules/structs/moderation.go | 13 + modules/structs/nodeinfo.go | 43 + modules/structs/notifications.go | 49 + modules/structs/org.go | 59 + modules/structs/org_member.go | 9 + modules/structs/org_team.go | 54 + modules/structs/package.go | 33 + modules/structs/pull.go | 119 + modules/structs/pull_review.go | 111 + modules/structs/quota.go | 163 + modules/structs/release.go | 55 + modules/structs/repo.go | 421 + modules/structs/repo_actions.go | 34 + modules/structs/repo_branch.go | 112 + modules/structs/repo_collaborator.go | 17 + modules/structs/repo_commit.go | 73 + modules/structs/repo_compare.go | 10 + modules/structs/repo_file.go | 172 + modules/structs/repo_flags.go | 9 + modules/structs/repo_key.go | 40 + modules/structs/repo_note.go | 10 + modules/structs/repo_refs.go | 18 + modules/structs/repo_tag.go | 76 + modules/structs/repo_topic.go | 28 + modules/structs/repo_tree.go | 24 + modules/structs/repo_watch.go | 18 + modules/structs/repo_wiki.go | 46 + modules/structs/secret.go | 24 + modules/structs/settings.go | 38 + modules/structs/status.go | 42 + modules/structs/task.go | 31 + modules/structs/user.go | 120 + modules/structs/user_app.go | 53 + modules/structs/user_email.go | 27 + modules/structs/user_gpgkey.go | 53 + modules/structs/user_key.go | 22 + modules/structs/variable.go | 37 + modules/structs/visible_type.go | 58 + modules/structs/workflow.go | 15 + modules/svg/processor.go | 59 + modules/svg/processor_test.go | 29 + modules/svg/svg.go | 59 + modules/sync/exclusive_pool.go | 69 + modules/sync/status_pool.go | 57 + modules/sync/status_pool_test.go | 31 + modules/system/appstate.go | 26 + modules/system/appstate_test.go | 66 + modules/system/db.go | 36 + modules/system/item_runtime.go | 15 + modules/templates/base.go | 40 + modules/templates/dynamic.go | 15 + modules/templates/eval/eval.go | 344 + modules/templates/eval/eval_test.go | 94 + modules/templates/helper.go | 269 + modules/templates/helper_test.go | 67 + modules/templates/htmlrenderer.go | 287 + modules/templates/htmlrenderer_test.go | 107 + modules/templates/mailer.go | 110 + modules/templates/main_test.go | 24 + modules/templates/scopedtmpl/scopedtmpl.go | 239 + modules/templates/scopedtmpl/scopedtmpl_test.go | 99 + modules/templates/static.go | 22 + modules/templates/templates_bindata.go | 8 + modules/templates/util_avatar.go | 81 + modules/templates/util_dict.go | 121 + modules/templates/util_json.go | 35 + modules/templates/util_misc.go | 193 + modules/templates/util_render.go | 264 + modules/templates/util_render_test.go | 223 + modules/templates/util_slice.go | 35 + modules/templates/util_string.go | 68 + modules/templates/util_string_test.go | 20 + modules/templates/util_test.go | 79 + modules/templates/vars/vars.go | 92 + modules/templates/vars/vars_test.go | 72 + modules/test/logchecker.go | 107 + modules/test/logchecker_test.go | 58 + modules/test/utils.go | 48 + modules/test/utils_test.go | 18 + modules/testlogger/testlogger.go | 580 + modules/timeutil/datetime.go | 68 + modules/timeutil/datetime_test.go | 47 + modules/timeutil/executable.go | 50 + modules/timeutil/since.go | 145 + modules/timeutil/since_test.go | 87 + modules/timeutil/timestamp.go | 100 + modules/timeutil/timestampnano.go | 28 + modules/translation/i18n/errors.go | 13 + modules/translation/i18n/format.go | 41 + modules/translation/i18n/i18n.go | 50 + modules/translation/i18n/i18n_test.go | 204 + modules/translation/i18n/localestore.go | 166 + modules/translation/mock.go | 40 + modules/translation/translation.go | 303 + modules/translation/translation_test.go | 50 + modules/turnstile/turnstile.go | 92 + modules/typesniffer/typesniffer.go | 143 + modules/typesniffer/typesniffer_test.go | 137 + modules/updatechecker/update_checker.go | 143 + modules/updatechecker/update_checker_test.go | 17 + modules/uri/uri.go | 42 + modules/uri/uri_test.go | 19 + modules/user/user.go | 35 + modules/user/user_test.go | 43 + modules/util/color.go | 57 + modules/util/color_test.go | 63 + modules/util/error.go | 65 + modules/util/file_unix.go | 27 + modules/util/file_unix_test.go | 36 + modules/util/file_windows.go | 15 + modules/util/filebuffer/file_backed_buffer.go | 156 + modules/util/filebuffer/file_backed_buffer_test.go | 36 + modules/util/io.go | 78 + modules/util/io_test.go | 67 + modules/util/keypair.go | 57 + modules/util/keypair_test.go | 62 + modules/util/legacy.go | 38 + modules/util/legacy_test.go | 38 + modules/util/pack.go | 33 + modules/util/pack_test.go | 28 + modules/util/paginate.go | 33 + modules/util/paginate_test.go | 46 + modules/util/path.go | 322 + modules/util/path_test.go | 213 + modules/util/remove.go | 104 + modules/util/rotatingfilewriter/writer.go | 246 + modules/util/rotatingfilewriter/writer_test.go | 49 + modules/util/sanitize.go | 72 + modules/util/sanitize_test.go | 74 + modules/util/sec_to_time.go | 81 + modules/util/sec_to_time_test.go | 30 + modules/util/shellquote.go | 101 + modules/util/shellquote_test.go | 91 + modules/util/slice.go | 73 + modules/util/slice_test.go | 55 + modules/util/string.go | 97 + modules/util/string_test.go | 47 + modules/util/timer.go | 36 + modules/util/timer_test.go | 30 + modules/util/truncate.go | 54 + modules/util/truncate_test.go | 46 + modules/util/url.go | 50 + modules/util/util.go | 264 + modules/util/util_test.go | 277 + modules/validation/binding.go | 209 + modules/validation/binding_test.go | 62 + modules/validation/glob_pattern_test.go | 61 + modules/validation/helpers.go | 136 + modules/validation/helpers_test.go | 216 + modules/validation/refname_test.go | 265 + modules/validation/regex_pattern_test.go | 59 + modules/validation/validatable.go | 84 + modules/validation/validatable_test.go | 69 + modules/validation/validurl_test.go | 110 + modules/web/handler.go | 193 + modules/web/middleware/binding.go | 162 + modules/web/middleware/cookie.go | 85 + modules/web/middleware/data.go | 63 + modules/web/middleware/flash.go | 65 + modules/web/middleware/locale.go | 59 + modules/web/middleware/request.go | 14 + modules/web/route.go | 211 + modules/web/route_test.go | 179 + modules/web/routemock.go | 61 + modules/web/routemock_test.go | 71 + modules/web/routing/context.go | 49 + modules/web/routing/funcinfo.go | 172 + modules/web/routing/funcinfo_test.go | 80 + modules/web/routing/logger.go | 109 + modules/web/routing/logger_manager.go | 124 + modules/web/routing/requestrecord.go | 28 + modules/web/types/response.go | 10 + modules/webhook/structs.go | 39 + modules/webhook/type.go | 100 + modules/zstd/option.go | 46 + modules/zstd/zstd.go | 163 + modules/zstd/zstd_test.go | 304 + options/gitignore/AL | 11 + options/gitignore/Actionscript | 18 + options/gitignore/Ada | 5 + options/gitignore/Agda | 2 + options/gitignore/Alteryx | 44 + options/gitignore/AltiumDesigner | 20 + options/gitignore/Android | 33 + options/gitignore/Anjuta | 3 + options/gitignore/Ansible | 1 + options/gitignore/AppEngine | 2 + options/gitignore/AppceleratorTitanium | 3 + options/gitignore/ArchLinuxPackages | 13 + options/gitignore/Archives | 34 + options/gitignore/AtmelStudio | 22 + options/gitignore/AutoIt | 8 + options/gitignore/Autotools | 52 + options/gitignore/B4X | 3 + options/gitignore/Backup | 5 + options/gitignore/Ballerina | 11 + options/gitignore/Bazaar | 2 + options/gitignore/Bazel | 13 + options/gitignore/Beef | 3 + options/gitignore/Bitrix | 23 + options/gitignore/BricxCC | 4 + options/gitignore/C | 52 + options/gitignore/C++ | 32 + options/gitignore/CDK | 4 + options/gitignore/CFWheels | 12 + options/gitignore/CMake | 12 + options/gitignore/CUDA | 6 + options/gitignore/CVS | 4 + options/gitignore/CakePHP | 25 + options/gitignore/Calabash | 10 + options/gitignore/ChefCookbook | 9 + options/gitignore/Clojure | 14 + options/gitignore/Cloud9 | 3 + options/gitignore/CodeIgniter | 18 + options/gitignore/CodeKit | 4 + options/gitignore/CodeSniffer | 6 + options/gitignore/CommonLisp | 17 + options/gitignore/Composer | 6 + options/gitignore/Concrete5 | 21 + options/gitignore/Coq | 45 + options/gitignore/Cordova | 10 + options/gitignore/CraftCMS | 4 + options/gitignore/D | 24 + options/gitignore/DM | 5 + options/gitignore/Dart | 27 + options/gitignore/DartEditor | 2 + options/gitignore/Delphi | 81 + options/gitignore/Diff | 2 + options/gitignore/Dreamweaver | 7 + options/gitignore/Dropbox | 4 + options/gitignore/Drupal | 62 + options/gitignore/Drupal7 | 43 + options/gitignore/EPiServer | 4 + options/gitignore/Eagle | 51 + options/gitignore/Eclipse | 60 + options/gitignore/EiffelStudio | 2 + options/gitignore/Elisp | 11 + options/gitignore/Elixir | 10 + options/gitignore/Elm | 4 + options/gitignore/Emacs | 49 + options/gitignore/Ensime | 4 + options/gitignore/Erlang | 17 + options/gitignore/Espresso | 1 + options/gitignore/Exercism | 5 + options/gitignore/ExpressionEngine | 19 + options/gitignore/ExtJs | 14 + options/gitignore/Fancy | 2 + options/gitignore/Finale | 13 + options/gitignore/FlaxEngine | 45 + options/gitignore/FlexBuilder | 3 + options/gitignore/ForceDotCom | 4 + options/gitignore/Fortran | 32 + options/gitignore/FuelPHP | 21 + options/gitignore/GNOMEShellExtension | 3 + options/gitignore/GPG | 2 + options/gitignore/GWT | 25 + options/gitignore/Gcov | 5 + options/gitignore/GitBook | 16 + options/gitignore/GitHubPages | 18 + options/gitignore/Go | 25 + options/gitignore/Go.AllowList | 23 + options/gitignore/Godot | 15 + options/gitignore/Gradle | 21 + options/gitignore/Grails | 33 + options/gitignore/Gretl | 8 + options/gitignore/Haskell | 23 + options/gitignore/Hexo | 14 + options/gitignore/Hugo | 13 + options/gitignore/IAR | 47 + options/gitignore/IAR_EWARM | 19 + options/gitignore/IGORPro | 5 + options/gitignore/Idris | 7 + options/gitignore/Images | 63 + options/gitignore/InforCMS | 15 + options/gitignore/JBoss | 19 + options/gitignore/JBoss4 | 19 + options/gitignore/JBoss6 | 33 + options/gitignore/JDeveloper | 13 + options/gitignore/JENKINS_HOME | 50 + options/gitignore/JEnv | 5 + options/gitignore/Janet | 4 + options/gitignore/Java | 24 + options/gitignore/Jekyll | 7 + options/gitignore/JetBrains | 77 + options/gitignore/Jigsaw | 6 + options/gitignore/Joomla | 705 + options/gitignore/Julia | 24 + options/gitignore/JupyterNotebooks | 12 + options/gitignore/KDevelop4 | 2 + options/gitignore/Kate | 3 + options/gitignore/Kentico | 64 + options/gitignore/KiCad | 29 + options/gitignore/Kohana | 2 + options/gitignore/Kotlin | 24 + options/gitignore/LabVIEW | 17 + options/gitignore/Laravel | 23 + options/gitignore/Lazarus | 30 + options/gitignore/Leiningen | 14 + options/gitignore/LemonStand | 21 + options/gitignore/LensStudio | 16 + options/gitignore/LibreOffice | 2 + options/gitignore/Lilypond | 6 + options/gitignore/Linux | 13 + options/gitignore/Lithium | 2 + options/gitignore/Logtalk | 19 + options/gitignore/Lua | 41 + options/gitignore/LyX | 4 + options/gitignore/MATLAB | 31 + options/gitignore/Magento | 45 + options/gitignore/Magento1 | 45 + options/gitignore/Magento2 | 54 + options/gitignore/Maven | 17 + options/gitignore/Mercurial | 6 + options/gitignore/Mercury | 13 + options/gitignore/MetaProgrammingSystem | 16 + options/gitignore/Metals | 5 + options/gitignore/Meteor | 12 + options/gitignore/MicrosoftOffice | 19 + options/gitignore/ModelSim | 23 + options/gitignore/Momentics | 8 + options/gitignore/MonoDevelop | 8 + options/gitignore/NWjs | 29 + options/gitignore/Nanoc | 10 + options/gitignore/NasaSpecsIntact | 40 + options/gitignore/NetBeans | 8 + options/gitignore/Nikola | 7 + options/gitignore/Nim | 3 + options/gitignore/Ninja | 2 + options/gitignore/Nix | 3 + options/gitignore/Node | 130 + options/gitignore/NotepadPP | 2 + options/gitignore/OCaml | 29 + options/gitignore/Objective-C | 44 + options/gitignore/Octave | 31 + options/gitignore/Opa | 13 + options/gitignore/OpenCart | 20 + options/gitignore/OpenSSL | 34 + options/gitignore/OracleForms | 8 + options/gitignore/Otto | 1 + options/gitignore/PSoCCreator | 18 + options/gitignore/Packer | 16 + options/gitignore/Patch | 2 + options/gitignore/Perl | 35 + options/gitignore/Perl6 | 7 + options/gitignore/Phalcon | 2 + options/gitignore/Phoenix | 22 + options/gitignore/Pimcore | 53 + options/gitignore/PlayFramework | 16 + options/gitignore/Plone | 18 + options/gitignore/Prestashop | 173 + options/gitignore/Processing | 10 + options/gitignore/PuTTY | 2 + options/gitignore/Puppet | 16 + options/gitignore/PureScript | 9 + options/gitignore/Python | 162 + options/gitignore/Qooxdoo | 5 + options/gitignore/Qt | 54 + options/gitignore/R | 49 + options/gitignore/ROS | 51 + options/gitignore/ROS2 | 29 + options/gitignore/Racket | 15 + options/gitignore/Rails | 69 + options/gitignore/Raku | 7 + options/gitignore/ReScript | 3 + options/gitignore/Red | 16 + options/gitignore/Redcar | 1 + options/gitignore/Redis | 3 + options/gitignore/RhodesRhomobile | 9 + options/gitignore/Ruby | 56 + options/gitignore/Rust | 21 + options/gitignore/SAM | 5 + options/gitignore/SBT | 12 + options/gitignore/SCons | 6 + options/gitignore/SPFx | 33 + options/gitignore/SVN | 1 + options/gitignore/Sass | 4 + options/gitignore/Scala | 5 + options/gitignore/Scheme | 7 + options/gitignore/Scrivener | 8 + options/gitignore/Sdcc | 8 + options/gitignore/SeamGen | 26 + options/gitignore/SketchUp | 1 + options/gitignore/SlickEdit | 11 + options/gitignore/Smalltalk | 31 + options/gitignore/Snap | 14 + options/gitignore/Splunk | 8 + options/gitignore/Stata | 24 + options/gitignore/Stella | 12 + options/gitignore/Strapi | 135 + options/gitignore/SublimeText | 31 + options/gitignore/SugarCRM | 27 + options/gitignore/Swift | 62 + options/gitignore/Symfony | 52 + options/gitignore/SymphonyCMS | 6 + options/gitignore/Syncthing | 2 + options/gitignore/SynopsysVCS | 36 + options/gitignore/Tags | 17 + options/gitignore/TeX | 306 + options/gitignore/Terraform | 37 + options/gitignore/Terragrunt | 3 + options/gitignore/TextMate | 3 + options/gitignore/Textpattern | 11 + options/gitignore/ThinkPHP | 8 + options/gitignore/Toit | 2 + options/gitignore/TortoiseGit | 2 + options/gitignore/TurboGears2 | 20 + options/gitignore/TwinCAT3 | 25 + options/gitignore/Typo3 | 23 + options/gitignore/UiPath | 11 + options/gitignore/Umbraco | 52 + options/gitignore/Unity | 72 + options/gitignore/UnrealEngine | 74 + options/gitignore/V | 11 + options/gitignore/VVVV | 6 + options/gitignore/Vagrant | 5 + options/gitignore/Vim | 19 + options/gitignore/VirtualEnv | 12 + options/gitignore/Virtuoso | 18 + options/gitignore/VisualStudio | 398 + options/gitignore/VisualStudioCode | 12 + options/gitignore/Vue | 9 + options/gitignore/Waf | 9 + options/gitignore/WebMethods | 14 + options/gitignore/Windows | 24 + options/gitignore/WordPress | 48 + options/gitignore/Xcode | 2 + options/gitignore/Xilinx | 105 + options/gitignore/XilinxISE | 67 + options/gitignore/Xojo | 11 + options/gitignore/Yeoman | 6 + options/gitignore/Yii | 6 + options/gitignore/ZendFramework | 24 + options/gitignore/Zephir | 26 + options/gitignore/Zig | 5 + options/gitignore/core | 38 + options/gitignore/esp-idf | 6 + options/gitignore/macOS | 26 + options/gitignore/uVision | 45 + options/label/Advanced.yaml | 70 + options/label/Default | 7 + options/license/0BSD | 5 + options/license/389-exception | 7 + options/license/3D-Slicer-1.0 | 190 + options/license/AAL | 23 + options/license/ADSL | 1 + options/license/AFL-1.1 | 27 + options/license/AFL-1.2 | 28 + options/license/AFL-2.0 | 45 + options/license/AFL-2.1 | 45 + options/license/AFL-3.0 | 43 + options/license/AGPL-1.0-only | 86 + options/license/AGPL-1.0-or-later | 86 + options/license/AGPL-3.0-only | 235 + options/license/AGPL-3.0-or-later | 235 + options/license/AMD-newlib | 11 + options/license/AMDPLPA | 20 + options/license/AML | 9 + options/license/AML-glslang | 41 + options/license/AMPAS | 13 + options/license/ANTLR-PD | 5 + options/license/ANTLR-PD-fallback | 7 + options/license/APAFML | 3 + options/license/APL-1.0 | 295 + options/license/APSL-1.0 | 109 + options/license/APSL-1.1 | 108 + options/license/APSL-1.2 | 103 + options/license/APSL-2.0 | 102 + options/license/ASWF-Digital-Assets-1.0 | 17 + options/license/ASWF-Digital-Assets-1.1 | 17 + options/license/Abstyles | 11 + options/license/AdaCore-doc | 1 + options/license/Adobe-2006 | 12 + options/license/Adobe-Display-PostScript | 30 + options/license/Adobe-Glyph | 10 + options/license/Adobe-Utopia | 12 + options/license/Afmparse | 10 + options/license/Aladdin | 62 + options/license/Apache-1.0 | 20 + options/license/Apache-1.1 | 21 + options/license/Apache-2.0 | 73 + options/license/App-s2p | 5 + options/license/Arphic-1999 | 58 + options/license/Artistic-1.0 | 49 + options/license/Artistic-1.0-Perl | 51 + options/license/Artistic-1.0-cl8 | 51 + options/license/Artistic-2.0 | 85 + options/license/Asterisk-exception | 5 + .../license/Asterisk-linking-protocols-exception | 13 + options/license/Autoconf-exception-2.0 | 5 + options/license/Autoconf-exception-3.0 | 26 + options/license/Autoconf-exception-generic | 4 + options/license/Autoconf-exception-generic-3.0 | 6 + options/license/Autoconf-exception-macro | 12 + options/license/BSD-1-Clause | 7 + options/license/BSD-2-Clause | 9 + options/license/BSD-2-Clause-Darwin | 28 + options/license/BSD-2-Clause-Patent | 19 + options/license/BSD-2-Clause-Views | 11 + options/license/BSD-2-Clause-first-lines | 27 + options/license/BSD-3-Clause | 11 + options/license/BSD-3-Clause-Attribution | 11 + options/license/BSD-3-Clause-Clear | 14 + options/license/BSD-3-Clause-HP | 23 + options/license/BSD-3-Clause-LBNL | 12 + options/license/BSD-3-Clause-Modification | 35 + options/license/BSD-3-Clause-No-Military-License | 16 + options/license/BSD-3-Clause-No-Nuclear-License | 14 + .../license/BSD-3-Clause-No-Nuclear-License-2014 | 16 + options/license/BSD-3-Clause-No-Nuclear-Warranty | 14 + options/license/BSD-3-Clause-Open-MPI | 34 + options/license/BSD-3-Clause-Sun | 29 + options/license/BSD-3-Clause-acpica | 26 + options/license/BSD-3-Clause-flex | 42 + options/license/BSD-4-Clause | 14 + options/license/BSD-4-Clause-Shortened | 13 + options/license/BSD-4-Clause-UC | 15 + options/license/BSD-4.3RENO | 9 + options/license/BSD-4.3TAHOE | 11 + options/license/BSD-Advertising-Acknowledgement | 37 + options/license/BSD-Attribution-HPND-disclaimer | 37 + options/license/BSD-Inferno-Nettverk | 41 + options/license/BSD-Protection | 53 + options/license/BSD-Source-Code | 10 + options/license/BSD-Source-beginning-file | 23 + options/license/BSD-Systemics | 39 + options/license/BSD-Systemics-W3Works | 62 + options/license/BSL-1.0 | 7 + options/license/BUSL-1.1 | 71 + options/license/Baekmuk | 9 + options/license/Bahyph | 11 + options/license/Barr | 1 + options/license/Beerware | 1 + options/license/Bison-exception-1.24 | 4 + options/license/Bison-exception-2.2 | 5 + options/license/BitTorrent-1.0 | 330 + options/license/BitTorrent-1.1 | 137 + options/license/Bitstream-Charter | 9 + options/license/Bitstream-Vera | 15 + options/license/BlueOak-1.0.0 | 55 + options/license/Boehm-GC | 12 + options/license/Bootloader-exception | 10 + options/license/Borceux | 19 + options/license/Brian-Gladman-2-Clause | 17 + options/license/Brian-Gladman-3-Clause | 26 + options/license/C-UDA-1.0 | 47 + options/license/CAL-1.0 | 354 + options/license/CAL-1.0-Combined-Work-Exception | 354 + options/license/CATOSL-1.1 | 114 + options/license/CC-BY-1.0 | 80 + options/license/CC-BY-2.0 | 81 + options/license/CC-BY-2.5 | 81 + options/license/CC-BY-2.5-AU | 112 + options/license/CC-BY-3.0 | 319 + options/license/CC-BY-3.0-AT | 111 + options/license/CC-BY-3.0-AU | 136 + options/license/CC-BY-3.0-DE | 108 + options/license/CC-BY-3.0-IGO | 101 + options/license/CC-BY-3.0-NL | 97 + options/license/CC-BY-3.0-US | 83 + options/license/CC-BY-4.0 | 156 + options/license/CC-BY-NC-1.0 | 75 + options/license/CC-BY-NC-2.0 | 81 + options/license/CC-BY-NC-2.5 | 81 + options/license/CC-BY-NC-3.0 | 334 + options/license/CC-BY-NC-3.0-DE | 110 + options/license/CC-BY-NC-4.0 | 158 + options/license/CC-BY-NC-ND-1.0 | 75 + options/license/CC-BY-NC-ND-2.0 | 77 + options/license/CC-BY-NC-ND-2.5 | 77 + options/license/CC-BY-NC-ND-3.0 | 308 + options/license/CC-BY-NC-ND-3.0-DE | 101 + options/license/CC-BY-NC-ND-3.0-IGO | 99 + options/license/CC-BY-NC-ND-4.0 | 155 + options/license/CC-BY-NC-SA-1.0 | 83 + options/license/CC-BY-NC-SA-2.0 | 87 + options/license/CC-BY-NC-SA-2.0-DE | 85 + options/license/CC-BY-NC-SA-2.0-FR | 93 + options/license/CC-BY-NC-SA-2.0-UK | 149 + options/license/CC-BY-NC-SA-2.5 | 87 + options/license/CC-BY-NC-SA-3.0 | 360 + options/license/CC-BY-NC-SA-3.0-DE | 125 + options/license/CC-BY-NC-SA-3.0-IGO | 105 + options/license/CC-BY-NC-SA-4.0 | 170 + options/license/CC-BY-ND-1.0 | 73 + options/license/CC-BY-ND-2.0 | 75 + options/license/CC-BY-ND-2.5 | 75 + options/license/CC-BY-ND-3.0 | 293 + options/license/CC-BY-ND-3.0-DE | 100 + options/license/CC-BY-ND-4.0 | 154 + options/license/CC-BY-SA-1.0 | 81 + options/license/CC-BY-SA-2.0 | 85 + options/license/CC-BY-SA-2.0-UK | 147 + options/license/CC-BY-SA-2.1-JP | 83 + options/license/CC-BY-SA-2.5 | 85 + options/license/CC-BY-SA-3.0 | 359 + options/license/CC-BY-SA-3.0-AT | 139 + options/license/CC-BY-SA-3.0-DE | 135 + options/license/CC-BY-SA-3.0-IGO | 107 + options/license/CC-BY-SA-4.0 | 170 + options/license/CC-PDDC | 8 + options/license/CC0-1.0 | 121 + options/license/CDDL-1.0 | 119 + options/license/CDDL-1.1 | 123 + options/license/CDL-1.0 | 53 + options/license/CDLA-Permissive-1.0 | 85 + options/license/CDLA-Permissive-2.0 | 35 + options/license/CDLA-Sharing-1.0 | 89 + options/license/CECILL-1.0 | 216 + options/license/CECILL-1.1 | 229 + options/license/CECILL-2.0 | 506 + options/license/CECILL-2.1 | 518 + options/license/CECILL-B | 515 + options/license/CECILL-C | 517 + options/license/CERN-OHL-1.1 | 47 + options/license/CERN-OHL-1.2 | 48 + options/license/CERN-OHL-P-2.0 | 199 + options/license/CERN-OHL-S-2.0 | 289 + options/license/CERN-OHL-W-2.0 | 310 + options/license/CFITSIO | 7 + options/license/CLISP-exception-2.0 | 15 + options/license/CMU-Mach | 22 + options/license/CMU-Mach-nodoc | 11 + options/license/CNRI-Jython | 12 + options/license/CNRI-Python | 25 + options/license/CNRI-Python-GPL-Compatible | 23 + options/license/COIL-1.0 | 30 + options/license/CPAL-1.0 | 172 + options/license/CPL-1.0 | 87 + options/license/CPOL-1.02 | 98 + options/license/CUA-OPL-1.0 | 143 + options/license/Caldera | 25 + options/license/Caldera-no-preamble | 35 + options/license/Catharon | 121 + options/license/ClArtistic | 61 + options/license/Classpath-exception-2.0 | 3 + options/license/Clips | 15 + options/license/Community-Spec-1.0 | 293 + options/license/Condor-1.1 | 38 + options/license/Cornell-Lossless-JPEG | 20 + options/license/Cronyx | 11 + options/license/Crossword | 5 + options/license/CrystalStacker | 7 + options/license/Cube | 17 + options/license/D-FSL-1.0 | 147 + options/license/DEC-3-Clause | 28 + options/license/DL-DE-BY-2.0 | 45 + options/license/DL-DE-ZERO-2.0 | 25 + options/license/DOC | 15 + options/license/DRL-1.0 | 12 + options/license/DRL-1.1 | 17 + options/license/DSDP | 18 + options/license/DigiRule-FOSS-exception | 54 + options/license/DocBook-Stylesheet | 13 + options/license/Dotseqn | 5 + options/license/ECL-1.0 | 23 + options/license/ECL-2.0 | 98 + options/license/EFL-1.0 | 13 + options/license/EFL-2.0 | 9 + options/license/EPICS | 32 + options/license/EPL-1.0 | 73 + options/license/EPL-2.0 | 80 + options/license/EUDatagrid | 24 + options/license/EUPL-1.0 | 154 + options/license/EUPL-1.1 | 157 + options/license/EUPL-1.2 | 190 + options/license/Elastic-2.0 | 93 + options/license/Entessa | 22 + options/license/ErlPL-1.1 | 93 + options/license/Eurosym | 18 + options/license/FBM | 6 + options/license/FDK-AAC | 79 + options/license/FLTK-exception | 17 + options/license/FSFAP | 1 + options/license/FSFAP-no-warranty-disclaimer | 5 + options/license/FSFUL | 3 + options/license/FSFULLR | 3 + options/license/FSFULLRWD | 11 + options/license/FTL | 79 + options/license/Fair | 7 + options/license/Fawkes-Runtime-exception | 1 + options/license/Ferguson-Twofish | 15 + options/license/Font-exception-2.0 | 1 + options/license/Frameworx-1.0 | 69 + options/license/FreeBSD-DOC | 23 + options/license/FreeImage | 117 + options/license/Furuseth | 13 + options/license/GCC-exception-2.0 | 1 + options/license/GCC-exception-2.0-note | 16 + options/license/GCC-exception-3.1 | 33 + options/license/GCR-docs | 30 + options/license/GD | 24 + options/license/GFDL-1.1-invariants-only | 119 + options/license/GFDL-1.1-invariants-or-later | 119 + options/license/GFDL-1.1-no-invariants-only | 119 + options/license/GFDL-1.1-no-invariants-or-later | 119 + options/license/GFDL-1.1-only | 119 + options/license/GFDL-1.1-or-later | 119 + options/license/GFDL-1.2-invariants-only | 130 + options/license/GFDL-1.2-invariants-or-later | 130 + options/license/GFDL-1.2-no-invariants-only | 130 + options/license/GFDL-1.2-no-invariants-or-later | 130 + options/license/GFDL-1.2-only | 130 + options/license/GFDL-1.2-or-later | 130 + options/license/GFDL-1.3-invariants-only | 149 + options/license/GFDL-1.3-invariants-or-later | 149 + options/license/GFDL-1.3-no-invariants-only | 149 + options/license/GFDL-1.3-no-invariants-or-later | 149 + options/license/GFDL-1.3-only | 149 + options/license/GFDL-1.3-or-later | 149 + options/license/GL2PS | 13 + options/license/GLWTPL | 25 + options/license/GNAT-exception | 6 + options/license/GNOME-examples-exception | 1 + options/license/GNU-compiler-exception | 6 + options/license/GPL-1.0-only | 100 + options/license/GPL-1.0-or-later | 100 + options/license/GPL-2.0-only | 117 + options/license/GPL-2.0-or-later | 117 + options/license/GPL-3.0-389-ds-base-exception | 10 + options/license/GPL-3.0-interface-exception | 7 + options/license/GPL-3.0-linking-exception | 3 + options/license/GPL-3.0-linking-source-exception | 3 + options/license/GPL-3.0-only | 232 + options/license/GPL-3.0-or-later | 232 + options/license/GPL-CC-1.0 | 46 + options/license/GStreamer-exception-2005 | 1 + options/license/GStreamer-exception-2008 | 1 + options/license/Giftware | 9 + options/license/Glide | 95 + options/license/Glulxe | 3 + options/license/Gmsh-exception | 16 + options/license/Graphics-Gems | 5 + options/license/Gutmann | 2 + options/license/HP-1986 | 10 + options/license/HP-1989 | 16 + options/license/HPND | 7 + options/license/HPND-DEC | 22 + options/license/HPND-Fenneberg-Livingston | 13 + options/license/HPND-INRIA-IMAG | 9 + options/license/HPND-Intel | 25 + options/license/HPND-Kevlin-Henney | 10 + options/license/HPND-MIT-disclaimer | 18 + options/license/HPND-Markus-Kuhn | 3 + options/license/HPND-Pbmplus | 8 + options/license/HPND-UC | 8 + options/license/HPND-UC-export-US | 10 + options/license/HPND-doc | 8 + options/license/HPND-doc-sell | 9 + options/license/HPND-export-US | 5 + options/license/HPND-export-US-acknowledgement | 22 + options/license/HPND-export-US-modify | 24 + options/license/HPND-export2-US | 21 + options/license/HPND-merchantability-variant | 9 + options/license/HPND-sell-MIT-disclaimer-xserver | 12 + options/license/HPND-sell-regexpr | 9 + options/license/HPND-sell-variant | 19 + options/license/HPND-sell-variant-MIT-disclaimer | 20 + .../license/HPND-sell-variant-MIT-disclaimer-rev | 15 + options/license/HTMLTIDY | 13 + options/license/HaskellReport | 6 + options/license/Hippocratic-2.1 | 33 + options/license/IBM-pibs | 8 + options/license/ICU | 12 + options/license/IEC-Code-Components-EULA | 37 + options/license/IJG | 38 + options/license/IJG-short | 35 + options/license/IPA | 83 + options/license/IPL-1.0 | 215 + options/license/ISC | 8 + options/license/ISC-Veillard | 9 + options/license/ImageMagick | 98 + options/license/Imlib2 | 9 + options/license/Info-ZIP | 16 + options/license/Inner-Net-2.0 | 34 + options/license/Intel | 13 + options/license/Intel-ACPI | 34 + options/license/Interbase-1.0 | 199 + options/license/JPL-image | 21 + options/license/JPNIC | 40 + options/license/JSON | 11 + options/license/Jam | 5 + options/license/JasPer-2.0 | 17 + options/license/Kastrup | 3 + options/license/Kazlib | 4 + options/license/KiCad-libraries-exception | 1 + options/license/Knuth-CTAN | 5 + options/license/LAL-1.2 | 67 + options/license/LAL-1.3 | 88 + options/license/LGPL-2.0-only | 175 + options/license/LGPL-2.0-or-later | 175 + options/license/LGPL-2.1-only | 176 + options/license/LGPL-2.1-or-later | 176 + options/license/LGPL-3.0-linking-exception | 16 + options/license/LGPL-3.0-only | 304 + options/license/LGPL-3.0-or-later | 304 + options/license/LGPLLR | 89 + options/license/LLGPL | 56 + options/license/LLVM-exception | 15 + options/license/LOOP | 44 + options/license/LPD-document | 8 + options/license/LPL-1.0 | 81 + options/license/LPL-1.02 | 85 + options/license/LPPL-1.0 | 103 + options/license/LPPL-1.1 | 141 + options/license/LPPL-1.2 | 139 + options/license/LPPL-1.3a | 175 + options/license/LPPL-1.3c | 184 + options/license/LZMA-SDK-9.11-to-9.20 | 8 + options/license/LZMA-SDK-9.22 | 15 + options/license/LZMA-exception | 3 + options/license/Latex2e | 9 + options/license/Latex2e-translated-notice | 26 + options/license/Leptonica | 9 + options/license/LiLiQ-P-1.1 | 70 + options/license/LiLiQ-R-1.1 | 94 + options/license/LiLiQ-Rplus-1.1 | 88 + options/license/Libpng | 76 + options/license/Libtool-exception | 1 + options/license/Linux-OpenIB | 18 + options/license/Linux-man-pages-1-para | 4 + options/license/Linux-man-pages-copyleft | 21 + options/license/Linux-man-pages-copyleft-2-para | 8 + options/license/Linux-man-pages-copyleft-var | 16 + options/license/Linux-syscall-note | 12 + options/license/Lucida-Bitmap-Fonts | 53 + options/license/MIT | 9 + options/license/MIT-0 | 16 + options/license/MIT-CMU | 7 + options/license/MIT-Click | 30 + options/license/MIT-Festival | 22 + options/license/MIT-Khronos-old | 23 + options/license/MIT-Modern-Variant | 17 + options/license/MIT-Wu | 28 + options/license/MIT-advertising | 7 + options/license/MIT-enna | 9 + options/license/MIT-feh | 5 + options/license/MIT-open-group | 23 + options/license/MIT-testregex | 17 + options/license/MITNFA | 7 + options/license/MMIXware | 17 + options/license/MPEG-SSG | 23 + options/license/MPL-1.0 | 123 + options/license/MPL-1.1 | 143 + options/license/MPL-2.0 | 373 + options/license/MPL-2.0-no-copyleft-exception | 373 + options/license/MS-LPL | 24 + options/license/MS-PL | 22 + options/license/MS-RL | 30 + options/license/MTLL | 24 + options/license/Mackerras-3-Clause | 25 + options/license/Mackerras-3-Clause-acknowledgment | 25 + options/license/MakeIndex | 19 + options/license/Martin-Birgmeier | 5 + options/license/McPhee-slideshow | 6 + options/license/Minpack | 51 + options/license/MirOS | 7 + options/license/Motosoto | 110 + options/license/MulanPSL-1.0 | 116 + options/license/MulanPSL-2.0 | 130 + options/license/Multics | 13 + options/license/Mup | 13 + options/license/NAIST-2003 | 70 + options/license/NASA-1.3 | 85 + options/license/NBPL-1.0 | 59 + options/license/NCBI-PD | 19 + options/license/NCGL-UK-2.0 | 67 + options/license/NCL | 32 + options/license/NCSA | 15 + options/license/NGPL | 21 + options/license/NICTA-1.0 | 61 + options/license/NIST-PD | 15 + options/license/NIST-PD-fallback | 5 + options/license/NIST-Software | 28 + options/license/NLOD-1.0 | 79 + options/license/NLOD-2.0 | 80 + options/license/NLPL | 14 + options/license/NOSL | 150 + options/license/NPL-1.0 | 102 + options/license/NPL-1.1 | 186 + options/license/NPOSL-3.0 | 59 + options/license/NRL | 28 + options/license/NTP | 5 + options/license/NTP-0 | 5 + options/license/Naumen | 21 + options/license/Net-SNMP | 107 + options/license/NetCDF | 7 + options/license/Newsletr | 7 + options/license/Nokia | 159 + options/license/Nokia-Qt-exception-1.1 | 16 + options/license/Noweb | 9 + options/license/O-UDA-1.0 | 47 + options/license/OAR | 12 + options/license/OCCT-PL | 112 + options/license/OCCT-exception-1.0 | 3 + options/license/OCLC-2.0 | 76 + options/license/OCaml-LGPL-linking-exception | 1 + options/license/ODC-By-1.0 | 195 + options/license/ODbL-1.0 | 540 + options/license/OFFIS | 22 + options/license/OFL-1.0 | 49 + options/license/OFL-1.0-RFN | 49 + options/license/OFL-1.0-no-RFN | 49 + options/license/OFL-1.1 | 43 + options/license/OFL-1.1-RFN | 43 + options/license/OFL-1.1-no-RFN | 43 + options/license/OGC-1.0 | 17 + options/license/OGDL-Taiwan-1.0 | 141 + options/license/OGL-Canada-2.0 | 51 + options/license/OGL-UK-1.0 | 69 + options/license/OGL-UK-2.0 | 72 + options/license/OGL-UK-3.0 | 69 + options/license/OGTSL | 55 + options/license/OLDAP-1.1 | 60 + options/license/OLDAP-1.2 | 60 + options/license/OLDAP-1.3 | 62 + options/license/OLDAP-1.4 | 62 + options/license/OLDAP-2.0 | 18 + options/license/OLDAP-2.0.1 | 18 + options/license/OLDAP-2.1 | 20 + options/license/OLDAP-2.2 | 22 + options/license/OLDAP-2.2.1 | 22 + options/license/OLDAP-2.2.2 | 24 + options/license/OLDAP-2.3 | 24 + options/license/OLDAP-2.4 | 22 + options/license/OLDAP-2.5 | 22 + options/license/OLDAP-2.6 | 20 + options/license/OLDAP-2.7 | 20 + options/license/OLDAP-2.8 | 20 + options/license/OLFL-1.3 | 220 + options/license/OML | 5 + options/license/OPL-1.0 | 136 + options/license/OPL-UK-3.0 | 114 + options/license/OPUBL-1.0 | 78 + options/license/OSET-PL-2.1 | 162 + options/license/OSL-1.0 | 45 + options/license/OSL-1.1 | 47 + options/license/OSL-2.0 | 47 + options/license/OSL-2.1 | 47 + options/license/OSL-3.0 | 47 + options/license/OpenJDK-assembly-exception-1.0 | 31 + options/license/OpenPBS-2.3 | 76 + options/license/OpenSSL | 48 + options/license/OpenSSL-standalone | 50 + options/license/OpenVision | 33 + options/license/PADL | 6 + options/license/PCRE2-exception | 8 + options/license/PDDL-1.0 | 136 + options/license/PHP-3.0 | 28 + options/license/PHP-3.01 | 27 + options/license/PPL | 96 + options/license/PS-or-PDF-font-exception-20170817 | 8 + options/license/PSF-2.0 | 47 + options/license/Parity-6.0.0 | 44 + options/license/Parity-7.0.0 | 71 + options/license/Pixar | 174 + options/license/Plexus | 15 + options/license/PolyForm-Noncommercial-1.0.0 | 131 + options/license/PolyForm-Small-Business-1.0.0 | 121 + options/license/PostgreSQL | 12 + options/license/Python-2.0 | 72 + options/license/Python-2.0.1 | 193 + options/license/QPL-1.0 | 50 + options/license/QPL-1.0-INRIA-2004 | 102 + options/license/QPL-1.0-INRIA-2004-exception | 5 + options/license/Qhull | 17 + options/license/Qt-GPL-exception-1.0 | 21 + options/license/Qt-LGPL-exception-1.1 | 22 + options/license/Qwt-exception-1.0 | 12 + options/license/RHeCos-1.1 | 137 + options/license/RPL-1.1 | 177 + options/license/RPL-1.5 | 167 + options/license/RPSL-1.0 | 179 + options/license/RRDtool-FLOSS-exception-2.0 | 66 + options/license/RSA-MD | 9 + options/license/RSCPL | 128 + options/license/Rdisc | 13 + options/license/Ruby | 29 + options/license/SANE-exception | 20 + options/license/SAX-PD | 31 + options/license/SAX-PD-2.0 | 10 + options/license/SCEA | 60 + options/license/SGI-B-1.0 | 82 + options/license/SGI-B-1.1 | 84 + options/license/SGI-B-2.0 | 12 + options/license/SGI-OpenGL | 34 + options/license/SGP4 | 1 + options/license/SHL-0.5 | 64 + options/license/SHL-0.51 | 65 + options/license/SHL-2.0 | 22 + options/license/SHL-2.1 | 45 + options/license/SISSL | 116 + options/license/SISSL-1.2 | 113 + options/license/SL | 4 + options/license/SMLNJ | 7 + options/license/SMPPL | 29 + options/license/SNIA | 122 + options/license/SPL-1.0 | 149 + options/license/SSH-OpenSSH | 67 + options/license/SSH-short | 5 + options/license/SSLeay-standalone | 58 + options/license/SSPL-1.0 | 557 + options/license/SWI-exception | 6 + options/license/SWL | 7 + options/license/Saxpath | 19 + options/license/SchemeReport | 3 + options/license/Sendmail | 36 + options/license/Sendmail-8.23 | 36 + options/license/SimPL-2.0 | 37 + options/license/Sleepycat | 37 + options/license/Soundex | 9 + options/license/Spencer-86 | 9 + options/license/Spencer-94 | 12 + options/license/Spencer-99 | 9 + options/license/SugarCRM-1.1.3 | 149 + options/license/Sun-PPP | 13 + options/license/Sun-PPP-2000 | 13 + options/license/SunPro | 6 + options/license/Swift-exception | 6 + options/license/Symlinks | 10 + options/license/TAPR-OHL-1.0 | 266 + options/license/TCL | 9 + options/license/TCP-wrappers | 7 + options/license/TGPPL-1.0 | 181 + options/license/TMate | 21 + options/license/TORQUE-1.1 | 25 + options/license/TOSL | 9 + options/license/TPDL | 2 + options/license/TPL-1.0 | 475 + options/license/TTWL | 8 + options/license/TTYP0 | 29 + options/license/TU-Berlin-1.0 | 10 + options/license/TU-Berlin-2.0 | 20 + options/license/TermReadKey | 1 + options/license/Texinfo-exception | 4 + options/license/TrustedQSL | 58 + options/license/UBDL-exception | 59 + options/license/UCAR | 32 + options/license/UCL-1.0 | 48 + options/license/UMich-Merit | 19 + options/license/UPL-1.0 | 17 + options/license/URT-RLE | 15 + options/license/Unicode-3.0 | 39 + options/license/Unicode-DFS-2015 | 19 + options/license/Unicode-DFS-2016 | 22 + options/license/Unicode-TOU | 51 + options/license/Universal-FOSS-exception-1.0 | 11 + options/license/UnixCrypt | 6 + options/license/Unlicense | 10 + options/license/VOSTROM | 27 + options/license/VSL-1.0 | 18 + options/license/Vim | 30 + options/license/W3C | 29 + options/license/W3C-19980720 | 23 + options/license/W3C-20150513 | 17 + options/license/WTFPL | 11 + options/license/Watcom-1.0 | 106 + options/license/Widget-Workshop | 19 + options/license/Wsuipa | 5 + options/license/WxWindows-exception-3.1 | 9 + options/license/X11 | 13 + .../license/X11-distribute-modifications-variant | 25 + options/license/XFree86-1.1 | 16 + options/license/XSkat | 10 + options/license/Xdebug-1.03 | 60 + options/license/Xerox | 5 + options/license/Xfig | 7 + options/license/Xnet | 11 + options/license/YPL-1.0 | 47 + options/license/YPL-1.1 | 47 + options/license/ZPL-1.1 | 33 + options/license/ZPL-2.0 | 23 + options/license/ZPL-2.1 | 21 + options/license/Zed | 3 + options/license/Zeeff | 3 + options/license/Zend-2.0 | 18 + options/license/Zimbra-1.3 | 47 + options/license/Zimbra-1.4 | 47 + options/license/Zlib | 11 + options/license/any-OSI | 3 + options/license/bcrypt-Solar-Designer | 11 + options/license/blessing | 5 + options/license/bzip2-1.0.6 | 15 + options/license/check-cvs | 2 + options/license/checkmk | 9 + options/license/copyleft-next-0.3.0 | 219 + options/license/copyleft-next-0.3.1 | 220 + options/license/cryptsetup-OpenSSL-exception | 12 + options/license/curl | 10 + options/license/cve-tou | 16 + options/license/diffmark | 2 + options/license/dtoa | 14 + options/license/dvipdfm | 1 + options/license/eCos-exception-2.0 | 3 + options/license/eGenix | 40 + options/license/etalab-2.0 | 179 + options/license/fmt-exception | 6 + options/license/freertos-exception-2.0 | 19 + options/license/fwlw | 5 + options/license/gSOAP-1.3b | 148 + options/license/gnu-javamail-exception | 1 + options/license/gnuplot | 14 + options/license/gtkbook | 6 + options/license/hdparm | 9 + options/license/i2p-gpl-java-exception | 1 + options/license/iMatix | 39 + options/license/libpng-2.0 | 33 + options/license/libpri-OpenH323-exception | 4 + options/license/libselinux-1.0 | 21 + options/license/libtiff | 8 + options/license/libutil-David-Nugent | 15 + options/license/lsof | 26 + options/license/magaz | 4 + options/license/mailprio | 9 + options/license/metamail | 12 + options/license/mif-exception | 1 + options/license/mpi-permissive | 15 + options/license/mpich2 | 24 + options/license/mplus | 6 + options/license/openvpn-openssl-exception | 3 + options/license/pkgconf | 7 + options/license/pnmstitch | 23 + options/license/psfrag | 5 + options/license/psutils | 29 + options/license/python-ldap | 10 + options/license/radvd | 37 + options/license/snprintf | 3 + options/license/softSurfer | 6 + options/license/ssh-keyscan | 5 + options/license/stunnel-exception | 5 + options/license/swrule | 1 + options/license/threeparttable | 3 + options/license/u-boot-exception-2.0 | 6 + options/license/ulem | 4 + options/license/vsftpd-openssl-exception | 5 + options/license/w3m | 11 + options/license/x11vnc-openssl-exception | 9 + options/license/xinetd | 25 + options/license/xkeyboard-config-Zinoviev | 15 + options/license/xlock | 14 + options/license/xpp | 21 + options/license/xzoom | 12 + options/license/zlib-acknowledgement | 15 + options/locale/TRANSLATORS | 79 + options/locale/locale_ar.ini | 1993 ++ options/locale/locale_be.ini | 19 + options/locale/locale_bg.ini | 1735 ++ options/locale/locale_bn.ini | 6 + options/locale/locale_bs.ini | 37 + options/locale/locale_ca.ini | 387 + options/locale/locale_cs-CZ.ini | 3990 +++ options/locale/locale_de-DE.ini | 4001 +++ options/locale/locale_el-GR.ini | 3949 +++ options/locale/locale_en-US.ini | 3882 +++ options/locale/locale_eo.ini | 880 + options/locale/locale_es-ES.ini | 3831 +++ options/locale/locale_et.ini | 321 + options/locale/locale_fa-IR.ini | 2677 ++ options/locale/locale_fi-FI.ini | 2579 ++ options/locale/locale_fil.ini | 2663 ++ options/locale/locale_fr-FR.ini | 3988 +++ options/locale/locale_gl.ini | 226 + options/locale/locale_hi.ini | 27 + options/locale/locale_hu-HU.ini | 1802 ++ options/locale/locale_id-ID.ini | 1354 + options/locale/locale_is-IS.ini | 1379 + options/locale/locale_it-IT.ini | 3902 +++ options/locale/locale_ja-JP.ini | 3965 +++ options/locale/locale_ko-KR.ini | 1849 ++ options/locale/locale_lt.ini | 280 + options/locale/locale_lv-LV.ini | 3592 +++ options/locale/locale_ml-IN.ini | 805 + options/locale/locale_nb_NO.ini | 138 + options/locale/locale_nds.ini | 3719 +++ options/locale/locale_nl-NL.ini | 3985 +++ options/locale/locale_pl-PL.ini | 2886 ++ options/locale/locale_pt-BR.ini | 3989 +++ options/locale/locale_pt-PT.ini | 3984 +++ options/locale/locale_ru-RU.ini | 3993 +++ options/locale/locale_si-LK.ini | 2557 ++ options/locale/locale_sk-SK.ini | 1379 + options/locale/locale_sl.ini | 694 + options/locale/locale_sr-SP.ini | 732 + options/locale/locale_sv-SE.ini | 2152 ++ options/locale/locale_tr-TR.ini | 3717 +++ options/locale/locale_uk-UA.ini | 3311 +++ options/locale/locale_vi.ini | 89 + options/locale/locale_yi.ini | 1 + options/locale/locale_zh-CN.ini | 3989 +++ options/locale/locale_zh-HK.ini | 1141 + options/locale/locale_zh-TW.ini | 3813 +++ options/readme/Default | 3 + package-lock.json | 16972 +++++++++++ package.json | 99 + playwright.config.js | 103 + poetry.lock | 381 + poetry.toml | 4 + public/.well-known/security.txt | 8 + public/assets/forgejo/api.v1.yml | 40 + public/assets/img/apple-touch-icon.png | Bin 0 -> 2709 bytes public/assets/img/avatar_default.png | Bin 0 -> 3189 bytes public/assets/img/checkmark.png | Bin 0 -> 169 bytes public/assets/img/dingtalk.ico | Bin 0 -> 7886 bytes public/assets/img/discord.png | Bin 0 -> 1559 bytes public/assets/img/emoji/codeberg.png | Bin 0 -> 8317 bytes public/assets/img/emoji/forgejo.png | Bin 0 -> 3189 bytes public/assets/img/emoji/git.png | Bin 0 -> 5007 bytes public/assets/img/emoji/gitea.png | Bin 0 -> 12918 bytes public/assets/img/emoji/github.png | Bin 0 -> 14111 bytes public/assets/img/emoji/gitlab.png | Bin 0 -> 6873 bytes public/assets/img/emoji/gogs.png | Bin 0 -> 11794 bytes public/assets/img/favicon.png | Bin 0 -> 2968 bytes public/assets/img/favicon.svg | 1 + public/assets/img/feishu.png | Bin 0 -> 1982 bytes public/assets/img/forgejo-loading.svg | 14 + public/assets/img/forgejo.svg | 1 + public/assets/img/gitea-original.svg | 1 + public/assets/img/gitea.svg | 1 + public/assets/img/gogs.ico | Bin 0 -> 29157 bytes public/assets/img/logo.png | Bin 0 -> 6747 bytes public/assets/img/logo.svg | 1 + public/assets/img/msteams.png | Bin 0 -> 4313 bytes public/assets/img/openid-16x16.png | Bin 0 -> 172 bytes public/assets/img/packagist.png | Bin 0 -> 4573 bytes public/assets/img/repo_default.png | Bin 0 -> 1645 bytes public/assets/img/slack.png | Bin 0 -> 1428 bytes public/assets/img/sourcehut.svg | 7 + public/assets/img/svg/fontawesome-openid.svg | 1 + public/assets/img/svg/fontawesome-save.svg | 1 + public/assets/img/svg/fontawesome-send.svg | 1 + public/assets/img/svg/fontawesome-windows.svg | 1 + public/assets/img/svg/gitea-alpine.svg | 1 + public/assets/img/svg/gitea-arch.svg | 1 + public/assets/img/svg/gitea-azuread.svg | 1 + public/assets/img/svg/gitea-azureadv2.svg | 1 + public/assets/img/svg/gitea-bitbucket.svg | 1 + public/assets/img/svg/gitea-cargo.svg | 1 + public/assets/img/svg/gitea-chef.svg | 1 + public/assets/img/svg/gitea-codebase.svg | 1 + public/assets/img/svg/gitea-composer.svg | 1 + public/assets/img/svg/gitea-conan.svg | 1 + public/assets/img/svg/gitea-conda.svg | 1 + public/assets/img/svg/gitea-cran.svg | 1 + public/assets/img/svg/gitea-debian.svg | 1 + public/assets/img/svg/gitea-discord.svg | 1 + .../assets/img/svg/gitea-double-chevron-left.svg | 1 + .../assets/img/svg/gitea-double-chevron-right.svg | 1 + public/assets/img/svg/gitea-dropbox.svg | 1 + public/assets/img/svg/gitea-empty-checkbox.svg | 1 + public/assets/img/svg/gitea-exclamation.svg | 1 + public/assets/img/svg/gitea-facebook.svg | 1 + public/assets/img/svg/gitea-forgejo.svg | 1 + public/assets/img/svg/gitea-git.svg | 1 + public/assets/img/svg/gitea-gitbucket.svg | 1 + public/assets/img/svg/gitea-gitea.svg | 1 + public/assets/img/svg/gitea-gitlab.svg | 1 + public/assets/img/svg/gitea-go.svg | 1 + public/assets/img/svg/gitea-gogs.svg | 1 + public/assets/img/svg/gitea-google.svg | 1 + public/assets/img/svg/gitea-helm.svg | 1 + public/assets/img/svg/gitea-jetbrains.svg | 1 + public/assets/img/svg/gitea-join.svg | 1 + public/assets/img/svg/gitea-lock-cog.svg | 1 + public/assets/img/svg/gitea-lock.svg | 1 + public/assets/img/svg/gitea-mastodon.svg | 1 + public/assets/img/svg/gitea-matrix.svg | 1 + public/assets/img/svg/gitea-maven.svg | 1 + public/assets/img/svg/gitea-microsoftonline.svg | 1 + public/assets/img/svg/gitea-nextcloud.svg | 1 + public/assets/img/svg/gitea-npm.svg | 1 + public/assets/img/svg/gitea-nuget.svg | 1 + public/assets/img/svg/gitea-onedev.svg | 1 + .../assets/img/svg/gitea-open-with-jetbrains.svg | 1 + public/assets/img/svg/gitea-open-with-vscode.svg | 1 + public/assets/img/svg/gitea-open-with-vscodium.svg | 1 + public/assets/img/svg/gitea-openid.svg | 1 + public/assets/img/svg/gitea-pub.svg | 1 + public/assets/img/svg/gitea-python.svg | 1 + public/assets/img/svg/gitea-rpm.svg | 1 + public/assets/img/svg/gitea-rubygems.svg | 1 + public/assets/img/svg/gitea-split.svg | 1 + public/assets/img/svg/gitea-swift.svg | 1 + public/assets/img/svg/gitea-twitter.svg | 1 + public/assets/img/svg/gitea-unlock.svg | 1 + public/assets/img/svg/gitea-vagrant.svg | 1 + public/assets/img/svg/gitea-vscodium.svg | 1 + public/assets/img/svg/gitea-whitespace.svg | 1 + public/assets/img/svg/gitea-yandex.svg | 1 + public/assets/img/svg/material-invert-colors.svg | 1 + public/assets/img/svg/material-palette.svg | 1 + .../assets/img/svg/octicon-accessibility-inset.svg | 1 + public/assets/img/svg/octicon-accessibility.svg | 1 + public/assets/img/svg/octicon-alert-fill.svg | 1 + public/assets/img/svg/octicon-alert.svg | 1 + public/assets/img/svg/octicon-apps.svg | 1 + public/assets/img/svg/octicon-archive.svg | 1 + public/assets/img/svg/octicon-arrow-both.svg | 1 + public/assets/img/svg/octicon-arrow-down-left.svg | 1 + public/assets/img/svg/octicon-arrow-down-right.svg | 1 + public/assets/img/svg/octicon-arrow-down.svg | 1 + public/assets/img/svg/octicon-arrow-left.svg | 1 + public/assets/img/svg/octicon-arrow-right.svg | 1 + public/assets/img/svg/octicon-arrow-switch.svg | 1 + public/assets/img/svg/octicon-arrow-up-left.svg | 1 + public/assets/img/svg/octicon-arrow-up-right.svg | 1 + public/assets/img/svg/octicon-arrow-up.svg | 1 + public/assets/img/svg/octicon-beaker.svg | 1 + public/assets/img/svg/octicon-bell-fill.svg | 1 + public/assets/img/svg/octicon-bell-slash.svg | 1 + public/assets/img/svg/octicon-bell.svg | 1 + public/assets/img/svg/octicon-blocked.svg | 1 + public/assets/img/svg/octicon-bold.svg | 1 + public/assets/img/svg/octicon-book.svg | 1 + public/assets/img/svg/octicon-bookmark-slash.svg | 1 + public/assets/img/svg/octicon-bookmark.svg | 1 + public/assets/img/svg/octicon-briefcase.svg | 1 + public/assets/img/svg/octicon-broadcast.svg | 1 + public/assets/img/svg/octicon-browser.svg | 1 + public/assets/img/svg/octicon-bug.svg | 1 + public/assets/img/svg/octicon-cache.svg | 1 + public/assets/img/svg/octicon-calendar.svg | 1 + .../assets/img/svg/octicon-check-circle-fill.svg | 1 + public/assets/img/svg/octicon-check-circle.svg | 1 + public/assets/img/svg/octicon-check.svg | 1 + public/assets/img/svg/octicon-checkbox.svg | 1 + public/assets/img/svg/octicon-checklist.svg | 1 + public/assets/img/svg/octicon-chevron-down.svg | 1 + public/assets/img/svg/octicon-chevron-left.svg | 1 + public/assets/img/svg/octicon-chevron-right.svg | 1 + public/assets/img/svg/octicon-chevron-up.svg | 1 + public/assets/img/svg/octicon-circle-slash.svg | 1 + public/assets/img/svg/octicon-circle.svg | 1 + public/assets/img/svg/octicon-clock-fill.svg | 1 + public/assets/img/svg/octicon-clock.svg | 1 + public/assets/img/svg/octicon-cloud-offline.svg | 1 + public/assets/img/svg/octicon-cloud.svg | 1 + public/assets/img/svg/octicon-code-of-conduct.svg | 1 + public/assets/img/svg/octicon-code-review.svg | 1 + public/assets/img/svg/octicon-code-square.svg | 1 + public/assets/img/svg/octicon-code.svg | 1 + .../assets/img/svg/octicon-codescan-checkmark.svg | 1 + public/assets/img/svg/octicon-codescan.svg | 1 + public/assets/img/svg/octicon-codespaces.svg | 1 + public/assets/img/svg/octicon-columns.svg | 1 + public/assets/img/svg/octicon-command-palette.svg | 1 + .../assets/img/svg/octicon-comment-discussion.svg | 1 + public/assets/img/svg/octicon-comment.svg | 1 + public/assets/img/svg/octicon-container.svg | 1 + public/assets/img/svg/octicon-copilot-error.svg | 1 + public/assets/img/svg/octicon-copilot-warning.svg | 1 + public/assets/img/svg/octicon-copilot.svg | 1 + public/assets/img/svg/octicon-copy.svg | 1 + public/assets/img/svg/octicon-cpu.svg | 1 + public/assets/img/svg/octicon-credit-card.svg | 1 + public/assets/img/svg/octicon-cross-reference.svg | 1 + public/assets/img/svg/octicon-dash.svg | 1 + public/assets/img/svg/octicon-database.svg | 1 + public/assets/img/svg/octicon-dependabot.svg | 1 + public/assets/img/svg/octicon-desktop-download.svg | 1 + .../assets/img/svg/octicon-device-camera-video.svg | 1 + public/assets/img/svg/octicon-device-camera.svg | 1 + public/assets/img/svg/octicon-device-desktop.svg | 1 + public/assets/img/svg/octicon-device-mobile.svg | 1 + public/assets/img/svg/octicon-devices.svg | 1 + public/assets/img/svg/octicon-diamond.svg | 1 + public/assets/img/svg/octicon-diff-added.svg | 1 + public/assets/img/svg/octicon-diff-ignored.svg | 1 + public/assets/img/svg/octicon-diff-modified.svg | 1 + public/assets/img/svg/octicon-diff-removed.svg | 1 + public/assets/img/svg/octicon-diff-renamed.svg | 1 + public/assets/img/svg/octicon-diff.svg | 1 + .../assets/img/svg/octicon-discussion-closed.svg | 1 + .../img/svg/octicon-discussion-duplicate.svg | 1 + .../assets/img/svg/octicon-discussion-outdated.svg | 1 + public/assets/img/svg/octicon-dot-fill.svg | 1 + public/assets/img/svg/octicon-dot.svg | 1 + public/assets/img/svg/octicon-download.svg | 1 + public/assets/img/svg/octicon-duplicate.svg | 1 + public/assets/img/svg/octicon-ellipsis.svg | 1 + public/assets/img/svg/octicon-eye-closed.svg | 1 + public/assets/img/svg/octicon-eye.svg | 1 + public/assets/img/svg/octicon-feed-discussion.svg | 1 + public/assets/img/svg/octicon-feed-forked.svg | 1 + public/assets/img/svg/octicon-feed-heart.svg | 1 + .../assets/img/svg/octicon-feed-issue-closed.svg | 1 + public/assets/img/svg/octicon-feed-issue-draft.svg | 1 + public/assets/img/svg/octicon-feed-issue-open.svg | 1 + .../assets/img/svg/octicon-feed-issue-reopen.svg | 1 + public/assets/img/svg/octicon-feed-merged.svg | 1 + public/assets/img/svg/octicon-feed-person.svg | 1 + public/assets/img/svg/octicon-feed-plus.svg | 1 + public/assets/img/svg/octicon-feed-public.svg | 1 + .../img/svg/octicon-feed-pull-request-closed.svg | 1 + .../img/svg/octicon-feed-pull-request-draft.svg | 1 + .../img/svg/octicon-feed-pull-request-open.svg | 1 + public/assets/img/svg/octicon-feed-repo.svg | 1 + public/assets/img/svg/octicon-feed-rocket.svg | 1 + public/assets/img/svg/octicon-feed-star.svg | 1 + public/assets/img/svg/octicon-feed-tag.svg | 1 + public/assets/img/svg/octicon-feed-trophy.svg | 1 + public/assets/img/svg/octicon-file-added.svg | 1 + public/assets/img/svg/octicon-file-badge.svg | 1 + public/assets/img/svg/octicon-file-binary.svg | 1 + public/assets/img/svg/octicon-file-code.svg | 1 + public/assets/img/svg/octicon-file-diff.svg | 1 + .../assets/img/svg/octicon-file-directory-fill.svg | 1 + .../img/svg/octicon-file-directory-open-fill.svg | 1 + .../img/svg/octicon-file-directory-symlink.svg | 1 + public/assets/img/svg/octicon-file-directory.svg | 1 + public/assets/img/svg/octicon-file-moved.svg | 1 + public/assets/img/svg/octicon-file-removed.svg | 1 + public/assets/img/svg/octicon-file-submodule.svg | 1 + .../assets/img/svg/octicon-file-symlink-file.svg | 1 + public/assets/img/svg/octicon-file-zip.svg | 1 + public/assets/img/svg/octicon-file.svg | 1 + public/assets/img/svg/octicon-filter-remove.svg | 1 + public/assets/img/svg/octicon-filter.svg | 1 + public/assets/img/svg/octicon-fiscal-host.svg | 1 + public/assets/img/svg/octicon-flame.svg | 1 + public/assets/img/svg/octicon-fold-down.svg | 1 + public/assets/img/svg/octicon-fold-up.svg | 1 + public/assets/img/svg/octicon-fold.svg | 1 + public/assets/img/svg/octicon-gear.svg | 1 + public/assets/img/svg/octicon-gift.svg | 1 + public/assets/img/svg/octicon-git-branch.svg | 1 + public/assets/img/svg/octicon-git-commit.svg | 1 + public/assets/img/svg/octicon-git-compare.svg | 1 + public/assets/img/svg/octicon-git-merge-queue.svg | 1 + public/assets/img/svg/octicon-git-merge.svg | 1 + .../img/svg/octicon-git-pull-request-closed.svg | 1 + .../img/svg/octicon-git-pull-request-draft.svg | 1 + public/assets/img/svg/octicon-git-pull-request.svg | 1 + public/assets/img/svg/octicon-globe.svg | 1 + public/assets/img/svg/octicon-goal.svg | 1 + public/assets/img/svg/octicon-grabber.svg | 1 + public/assets/img/svg/octicon-graph.svg | 1 + public/assets/img/svg/octicon-hash.svg | 1 + public/assets/img/svg/octicon-heading.svg | 1 + public/assets/img/svg/octicon-heart-fill.svg | 1 + public/assets/img/svg/octicon-heart.svg | 1 + public/assets/img/svg/octicon-history.svg | 1 + public/assets/img/svg/octicon-home.svg | 1 + public/assets/img/svg/octicon-horizontal-rule.svg | 1 + public/assets/img/svg/octicon-hourglass.svg | 1 + public/assets/img/svg/octicon-hubot.svg | 1 + public/assets/img/svg/octicon-id-badge.svg | 1 + public/assets/img/svg/octicon-image.svg | 1 + public/assets/img/svg/octicon-inbox.svg | 1 + public/assets/img/svg/octicon-infinity.svg | 1 + public/assets/img/svg/octicon-info.svg | 1 + public/assets/img/svg/octicon-issue-closed.svg | 1 + public/assets/img/svg/octicon-issue-draft.svg | 1 + public/assets/img/svg/octicon-issue-opened.svg | 1 + public/assets/img/svg/octicon-issue-reopened.svg | 1 + public/assets/img/svg/octicon-issue-tracked-by.svg | 1 + public/assets/img/svg/octicon-issue-tracks.svg | 1 + public/assets/img/svg/octicon-italic.svg | 1 + public/assets/img/svg/octicon-iterations.svg | 1 + public/assets/img/svg/octicon-kebab-horizontal.svg | 1 + public/assets/img/svg/octicon-key-asterisk.svg | 1 + public/assets/img/svg/octicon-key.svg | 1 + public/assets/img/svg/octicon-law.svg | 1 + public/assets/img/svg/octicon-light-bulb.svg | 1 + public/assets/img/svg/octicon-link-external.svg | 1 + public/assets/img/svg/octicon-link.svg | 1 + public/assets/img/svg/octicon-list-ordered.svg | 1 + public/assets/img/svg/octicon-list-unordered.svg | 1 + public/assets/img/svg/octicon-location.svg | 1 + public/assets/img/svg/octicon-lock.svg | 1 + public/assets/img/svg/octicon-log.svg | 1 + public/assets/img/svg/octicon-logo-gist.svg | 1 + public/assets/img/svg/octicon-logo-github.svg | 1 + public/assets/img/svg/octicon-mail.svg | 1 + public/assets/img/svg/octicon-mark-github.svg | 1 + public/assets/img/svg/octicon-markdown.svg | 1 + public/assets/img/svg/octicon-megaphone.svg | 1 + public/assets/img/svg/octicon-mention.svg | 1 + public/assets/img/svg/octicon-meter.svg | 1 + public/assets/img/svg/octicon-milestone.svg | 1 + public/assets/img/svg/octicon-mirror.svg | 1 + public/assets/img/svg/octicon-moon.svg | 1 + public/assets/img/svg/octicon-mortar-board.svg | 1 + public/assets/img/svg/octicon-move-to-bottom.svg | 1 + public/assets/img/svg/octicon-move-to-end.svg | 1 + public/assets/img/svg/octicon-move-to-start.svg | 1 + public/assets/img/svg/octicon-move-to-top.svg | 1 + public/assets/img/svg/octicon-multi-select.svg | 1 + public/assets/img/svg/octicon-mute.svg | 1 + public/assets/img/svg/octicon-no-entry.svg | 1 + public/assets/img/svg/octicon-north-star.svg | 1 + public/assets/img/svg/octicon-note.svg | 1 + public/assets/img/svg/octicon-number.svg | 1 + public/assets/img/svg/octicon-organization.svg | 1 + .../img/svg/octicon-package-dependencies.svg | 1 + .../assets/img/svg/octicon-package-dependents.svg | 1 + public/assets/img/svg/octicon-package.svg | 1 + public/assets/img/svg/octicon-paintbrush.svg | 1 + public/assets/img/svg/octicon-paper-airplane.svg | 1 + public/assets/img/svg/octicon-paperclip.svg | 1 + public/assets/img/svg/octicon-passkey-fill.svg | 1 + public/assets/img/svg/octicon-paste.svg | 1 + public/assets/img/svg/octicon-pencil.svg | 1 + public/assets/img/svg/octicon-people.svg | 1 + public/assets/img/svg/octicon-person-add.svg | 1 + public/assets/img/svg/octicon-person-fill.svg | 1 + public/assets/img/svg/octicon-person.svg | 1 + public/assets/img/svg/octicon-pin-slash.svg | 1 + public/assets/img/svg/octicon-pin.svg | 1 + public/assets/img/svg/octicon-pivot-column.svg | 1 + public/assets/img/svg/octicon-play.svg | 1 + public/assets/img/svg/octicon-plug.svg | 1 + public/assets/img/svg/octicon-plus-circle.svg | 1 + public/assets/img/svg/octicon-plus.svg | 1 + public/assets/img/svg/octicon-project-roadmap.svg | 1 + public/assets/img/svg/octicon-project-symlink.svg | 1 + public/assets/img/svg/octicon-project-template.svg | 1 + public/assets/img/svg/octicon-project.svg | 1 + public/assets/img/svg/octicon-pulse.svg | 1 + public/assets/img/svg/octicon-question.svg | 1 + public/assets/img/svg/octicon-quote.svg | 1 + public/assets/img/svg/octicon-read.svg | 1 + public/assets/img/svg/octicon-redo.svg | 1 + public/assets/img/svg/octicon-rel-file-path.svg | 1 + public/assets/img/svg/octicon-reply.svg | 1 + public/assets/img/svg/octicon-repo-clone.svg | 1 + public/assets/img/svg/octicon-repo-deleted.svg | 1 + public/assets/img/svg/octicon-repo-forked.svg | 1 + public/assets/img/svg/octicon-repo-locked.svg | 1 + public/assets/img/svg/octicon-repo-pull.svg | 1 + public/assets/img/svg/octicon-repo-push.svg | 1 + public/assets/img/svg/octicon-repo-template.svg | 1 + public/assets/img/svg/octicon-repo.svg | 1 + public/assets/img/svg/octicon-report.svg | 1 + public/assets/img/svg/octicon-rocket.svg | 1 + public/assets/img/svg/octicon-rows.svg | 1 + public/assets/img/svg/octicon-rss.svg | 1 + public/assets/img/svg/octicon-ruby.svg | 1 + public/assets/img/svg/octicon-screen-full.svg | 1 + public/assets/img/svg/octicon-screen-normal.svg | 1 + public/assets/img/svg/octicon-search.svg | 1 + public/assets/img/svg/octicon-server.svg | 1 + public/assets/img/svg/octicon-share-android.svg | 1 + public/assets/img/svg/octicon-share.svg | 1 + public/assets/img/svg/octicon-shield-check.svg | 1 + public/assets/img/svg/octicon-shield-lock.svg | 1 + public/assets/img/svg/octicon-shield-slash.svg | 1 + public/assets/img/svg/octicon-shield-x.svg | 1 + public/assets/img/svg/octicon-shield.svg | 1 + public/assets/img/svg/octicon-sidebar-collapse.svg | 1 + public/assets/img/svg/octicon-sidebar-expand.svg | 1 + public/assets/img/svg/octicon-sign-in.svg | 1 + public/assets/img/svg/octicon-sign-out.svg | 1 + public/assets/img/svg/octicon-single-select.svg | 1 + public/assets/img/svg/octicon-skip-fill.svg | 1 + public/assets/img/svg/octicon-skip.svg | 1 + public/assets/img/svg/octicon-sliders.svg | 1 + public/assets/img/svg/octicon-smiley.svg | 1 + public/assets/img/svg/octicon-sort-asc.svg | 1 + public/assets/img/svg/octicon-sort-desc.svg | 1 + public/assets/img/svg/octicon-sparkle-fill.svg | 1 + public/assets/img/svg/octicon-sponsor-tiers.svg | 1 + public/assets/img/svg/octicon-square-fill.svg | 1 + public/assets/img/svg/octicon-square.svg | 1 + public/assets/img/svg/octicon-squirrel.svg | 1 + public/assets/img/svg/octicon-stack.svg | 1 + public/assets/img/svg/octicon-star-fill.svg | 1 + public/assets/img/svg/octicon-star.svg | 1 + public/assets/img/svg/octicon-stop.svg | 1 + public/assets/img/svg/octicon-stopwatch.svg | 1 + public/assets/img/svg/octicon-strikethrough.svg | 1 + public/assets/img/svg/octicon-sun.svg | 1 + public/assets/img/svg/octicon-sync.svg | 1 + public/assets/img/svg/octicon-tab-external.svg | 1 + public/assets/img/svg/octicon-table.svg | 1 + public/assets/img/svg/octicon-tag.svg | 1 + public/assets/img/svg/octicon-tasklist.svg | 1 + public/assets/img/svg/octicon-telescope-fill.svg | 1 + public/assets/img/svg/octicon-telescope.svg | 1 + public/assets/img/svg/octicon-terminal.svg | 1 + public/assets/img/svg/octicon-three-bars.svg | 1 + public/assets/img/svg/octicon-thumbsdown.svg | 1 + public/assets/img/svg/octicon-thumbsup.svg | 1 + public/assets/img/svg/octicon-tools.svg | 1 + .../svg/octicon-tracked-by-closed-completed.svg | 1 + .../svg/octicon-tracked-by-closed-not-planned.svg | 1 + public/assets/img/svg/octicon-trash.svg | 1 + public/assets/img/svg/octicon-triangle-down.svg | 1 + public/assets/img/svg/octicon-triangle-left.svg | 1 + public/assets/img/svg/octicon-triangle-right.svg | 1 + public/assets/img/svg/octicon-triangle-up.svg | 1 + public/assets/img/svg/octicon-trophy.svg | 1 + public/assets/img/svg/octicon-typography.svg | 1 + public/assets/img/svg/octicon-undo.svg | 1 + public/assets/img/svg/octicon-unfold.svg | 1 + public/assets/img/svg/octicon-unlink.svg | 1 + public/assets/img/svg/octicon-unlock.svg | 1 + public/assets/img/svg/octicon-unmute.svg | 1 + public/assets/img/svg/octicon-unread.svg | 1 + public/assets/img/svg/octicon-unverified.svg | 1 + public/assets/img/svg/octicon-upload.svg | 1 + public/assets/img/svg/octicon-verified.svg | 1 + public/assets/img/svg/octicon-versions.svg | 1 + public/assets/img/svg/octicon-video.svg | 1 + public/assets/img/svg/octicon-webhook.svg | 1 + public/assets/img/svg/octicon-workflow.svg | 1 + public/assets/img/svg/octicon-x-circle-fill.svg | 1 + public/assets/img/svg/octicon-x-circle.svg | 1 + public/assets/img/svg/octicon-x.svg | 1 + public/assets/img/svg/octicon-zap.svg | 1 + public/assets/img/svg/octicon-zoom-in.svg | 1 + public/assets/img/svg/octicon-zoom-out.svg | 1 + public/assets/img/telegram.png | Bin 0 -> 9857 bytes public/assets/img/wechatwork.png | Bin 0 -> 9341 bytes pyproject.toml | 27 + release-notes-assistant.sh | 251 + release-notes/3139.md | 1 + release-notes/3285.md | 1 + release-notes/3307.md | 1 + release-notes/3334.md | 1 + release-notes/3337.md | 1 + release-notes/3363.md | 1 + release-notes/3383.md | 1 + release-notes/3414.md | 1 + release-notes/3430.md | 1 + release-notes/3434.md | 1 + release-notes/3442.md | 1 + release-notes/3642.md | 1 + release-notes/3654.md | 1 + release-notes/3723.md | 18 + release-notes/3724.md | 6 + release-notes/3729.md | 2 + release-notes/3752.md | 1 + release-notes/3791.md | 1 + release-notes/3808.md | 1 + release-notes/3811.md | 1 + release-notes/3830.md | 1 + release-notes/3836.md | 1 + release-notes/3838.md | 1 + release-notes/3847.md | 1 + release-notes/3870.md | 1 + release-notes/3886.md | 1 + release-notes/3917.md | 1 + release-notes/3922.md | 5 + release-notes/3934.md | 1 + release-notes/3985.md | 1 + release-notes/3989.md | 4 + release-notes/4026.md | 1 + release-notes/4027.md | 1 + release-notes/4072.md | 2 + release-notes/4083.md | 3 + release-notes/4095.md | 1 + release-notes/4134.md | 1 + release-notes/4136.md | 1 + release-notes/4139.md | 1 + release-notes/4143.md | 1 + release-notes/4145.md | 6 + release-notes/4160.md | 1 + release-notes/4189.md | 1 + release-notes/4201.md | 1 + release-notes/4212.md | 1 + release-notes/4218.md | 1 + release-notes/4222.md | 1 + release-notes/4240.md | 1 + release-notes/4253.md | 1 + release-notes/4262.md | 1 + release-notes/4266.md | 1 + release-notes/4291.md | 1 + release-notes/4367.md | 1 + release-notes/4375.md | 1 + release-notes/4400.md | 1 + release-notes/4427.md | 1 + release-notes/4429.md | 1 + release-notes/4439.md | 1 + release-notes/4487.md | 1 + release-notes/4506.md | 1 + release-notes/4547.md | 1 + release-notes/4595.md | 1 + release-notes/4605.md | 1 + release-notes/4607.md | 3 + release-notes/4635.md | 1 + release-notes/4684.md | 1 + release-notes/4716.md | 4 + release-notes/4724.md | 1 + release-notes/4801.md | 9 + release-notes/4819.md | 1 + release-notes/4907.md | 1 + release-notes/4924.md | 2 + release-notes/4941.md | 1 + release-notes/4998.md | 4 + release-notes/5065.md | 1 + release-notes/5090.md | 1 + release-notes/5109.md | 2 + release-notes/5120.md | 2 + release-notes/5149.md | 1 + release-notes/5195.md | 2 + release-notes/5205.md | 3 + release-notes/5325.md | 3 + release-notes/5372.md | 5 + release-notes/5418.md | 2 + release-notes/5480.md | 2 + release-notes/5647.md | 2 + release-notes/5715.md | 1 + release-notes/5718.md | 1 + release-notes/5719.md | 1 + release-notes/5778.md | 3 + release-notes/5975.md | 8 + release-notes/5998.md | 4 + release-notes/6064.md | 3 + releases/images/forgejo-v1.18.0-rc1-2-landing.jpg | Bin 0 -> 108791 bytes releases/images/forgejo-v1.19-citation-dialog.png | Bin 0 -> 14459 bytes releases/images/forgejo-v1.19-citation-link.png | Bin 0 -> 20716 bytes releases/images/forgejo-v1.19-note-warning.png | Bin 0 -> 26889 bytes releases/images/forgejo-v1.19-oidc-part1.png | Bin 0 -> 31091 bytes releases/images/forgejo-v1.19-oidc-part2.png | Bin 0 -> 33754 bytes releases/images/forgejo-v1.19-raw-copy-after.png | Bin 0 -> 20867 bytes releases/images/forgejo-v1.19-raw-copy-before.png | Bin 0 -> 18495 bytes releases/images/forgejo-v1.19-relevant.png | Bin 0 -> 41638 bytes releases/images/forgejo-v1.19.0-0-rc0.png | Bin 0 -> 131219 bytes renovate.json | 195 + routers/api/actions/actions.go | 24 + routers/api/actions/artifact.pb.go | 1058 + routers/api/actions/artifact.proto | 73 + routers/api/actions/artifacts.go | 507 + routers/api/actions/artifacts_chunks.go | 301 + routers/api/actions/artifacts_utils.go | 94 + routers/api/actions/artifactsv4.go | 599 + routers/api/actions/ping/ping.go | 38 + routers/api/actions/ping/ping_test.go | 61 + routers/api/actions/runner/interceptor.go | 80 + routers/api/actions/runner/runner.go | 289 + routers/api/actions/runner/utils.go | 189 + routers/api/forgejo/v1/api.go | 20 + routers/api/forgejo/v1/forgejo.go | 23 + routers/api/forgejo/v1/generated.go | 167 + routers/api/forgejo/v1/root.go | 14 + routers/api/packages/README.md | 50 + routers/api/packages/alpine/alpine.go | 287 + routers/api/packages/api.go | 916 + routers/api/packages/arch/arch.go | 274 + routers/api/packages/cargo/cargo.go | 311 + routers/api/packages/chef/auth.go | 274 + routers/api/packages/chef/chef.go | 403 + routers/api/packages/composer/api.go | 117 + routers/api/packages/composer/composer.go | 261 + routers/api/packages/conan/auth.go | 48 + routers/api/packages/conan/conan.go | 807 + routers/api/packages/conan/search.go | 163 + routers/api/packages/conda/conda.go | 303 + routers/api/packages/container/auth.go | 49 + routers/api/packages/container/blob.go | 202 + routers/api/packages/container/container.go | 785 + routers/api/packages/container/errors.go | 52 + routers/api/packages/container/manifest.go | 483 + routers/api/packages/cran/cran.go | 264 + routers/api/packages/debian/debian.go | 309 + routers/api/packages/generic/generic.go | 212 + routers/api/packages/generic/generic_test.go | 65 + routers/api/packages/goproxy/goproxy.go | 224 + routers/api/packages/helm/helm.go | 217 + routers/api/packages/helper/helper.go | 63 + routers/api/packages/maven/api.go | 50 + routers/api/packages/maven/maven.go | 433 + routers/api/packages/npm/api.go | 114 + routers/api/packages/npm/npm.go | 462 + routers/api/packages/nuget/api_v2.go | 402 + routers/api/packages/nuget/api_v3.go | 255 + routers/api/packages/nuget/auth.go | 47 + routers/api/packages/nuget/links.go | 52 + routers/api/packages/nuget/nuget.go | 710 + routers/api/packages/pub/pub.go | 284 + routers/api/packages/pypi/pypi.go | 194 + routers/api/packages/pypi/pypi_test.go | 38 + routers/api/packages/rpm/rpm.go | 318 + routers/api/packages/rubygems/rubygems.go | 451 + routers/api/packages/swift/swift.go | 465 + routers/api/packages/vagrant/vagrant.go | 242 + routers/api/shared/middleware.go | 152 + routers/api/v1/activitypub/actor.go | 83 + routers/api/v1/activitypub/person.go | 106 + routers/api/v1/activitypub/repository.go | 80 + routers/api/v1/activitypub/repository_test.go | 27 + routers/api/v1/activitypub/reqsignature.go | 99 + routers/api/v1/activitypub/response.go | 35 + routers/api/v1/admin/adopt.go | 180 + routers/api/v1/admin/cron.go | 86 + routers/api/v1/admin/email.go | 87 + routers/api/v1/admin/hooks.go | 176 + routers/api/v1/admin/org.go | 123 + routers/api/v1/admin/quota.go | 53 + routers/api/v1/admin/quota_group.go | 436 + routers/api/v1/admin/quota_rule.go | 219 + routers/api/v1/admin/repo.go | 49 + routers/api/v1/admin/runners.go | 26 + routers/api/v1/admin/user.go | 509 + routers/api/v1/api.go | 1659 ++ routers/api/v1/misc/gitignore.go | 56 + routers/api/v1/misc/label_templates.go | 60 + routers/api/v1/misc/licenses.go | 76 + routers/api/v1/misc/markup.go | 110 + routers/api/v1/misc/markup_test.go | 184 + routers/api/v1/misc/nodeinfo.go | 80 + routers/api/v1/misc/signing.go | 63 + routers/api/v1/misc/version.go | 25 + routers/api/v1/notify/notifications.go | 77 + routers/api/v1/notify/repo.go | 227 + routers/api/v1/notify/threads.go | 118 + routers/api/v1/notify/user.go | 175 + routers/api/v1/org/action.go | 473 + routers/api/v1/org/avatar.go | 80 + routers/api/v1/org/hook.go | 189 + routers/api/v1/org/label.go | 258 + routers/api/v1/org/member.go | 325 + routers/api/v1/org/org.go | 559 + routers/api/v1/org/quota.go | 155 + routers/api/v1/org/team.go | 891 + routers/api/v1/packages/package.go | 215 + routers/api/v1/repo/action.go | 653 + routers/api/v1/repo/avatar.go | 88 + routers/api/v1/repo/blob.go | 55 + routers/api/v1/repo/branch.go | 1019 + routers/api/v1/repo/collaborators.go | 370 + routers/api/v1/repo/commits.go | 376 + routers/api/v1/repo/compare.go | 99 + routers/api/v1/repo/file.go | 1014 + routers/api/v1/repo/flags.go | 245 + routers/api/v1/repo/fork.go | 167 + routers/api/v1/repo/git_hook.go | 196 + routers/api/v1/repo/git_ref.go | 107 + routers/api/v1/repo/hook.go | 308 + routers/api/v1/repo/hook_test.go | 33 + routers/api/v1/repo/issue.go | 1041 + routers/api/v1/repo/issue_attachment.go | 411 + routers/api/v1/repo/issue_comment.go | 691 + routers/api/v1/repo/issue_comment_attachment.go | 400 + routers/api/v1/repo/issue_dependency.go | 613 + routers/api/v1/repo/issue_label.go | 385 + routers/api/v1/repo/issue_pin.go | 309 + routers/api/v1/repo/issue_reaction.go | 424 + routers/api/v1/repo/issue_stopwatch.go | 245 + routers/api/v1/repo/issue_subscription.go | 294 + routers/api/v1/repo/issue_tracked_time.go | 637 + routers/api/v1/repo/key.go | 292 + routers/api/v1/repo/label.go | 285 + routers/api/v1/repo/language.go | 81 + routers/api/v1/repo/main_test.go | 21 + routers/api/v1/repo/migrate.go | 281 + routers/api/v1/repo/milestone.go | 309 + routers/api/v1/repo/mirror.go | 449 + routers/api/v1/repo/notes.go | 104 + routers/api/v1/repo/patch.go | 114 + routers/api/v1/repo/pull.go | 1648 ++ routers/api/v1/repo/pull_review.go | 1107 + routers/api/v1/repo/release.go | 424 + routers/api/v1/repo/release_attachment.go | 467 + routers/api/v1/repo/release_tags.go | 125 + routers/api/v1/repo/repo.go | 1338 + routers/api/v1/repo/repo_test.go | 86 + routers/api/v1/repo/star.go | 60 + routers/api/v1/repo/status.go | 282 + routers/api/v1/repo/subscriber.go | 60 + routers/api/v1/repo/tag.go | 668 + routers/api/v1/repo/teams.go | 235 + routers/api/v1/repo/topic.go | 305 + routers/api/v1/repo/transfer.go | 254 + routers/api/v1/repo/tree.go | 70 + routers/api/v1/repo/wiki.go | 536 + routers/api/v1/settings/settings.go | 86 + routers/api/v1/shared/quota.go | 102 + routers/api/v1/shared/runners.go | 32 + routers/api/v1/swagger/action.go | 34 + routers/api/v1/swagger/activity.go | 15 + routers/api/v1/swagger/activitypub.go | 15 + routers/api/v1/swagger/app.go | 22 + routers/api/v1/swagger/cron.go | 15 + routers/api/v1/swagger/issue.go | 127 + routers/api/v1/swagger/key.go | 50 + routers/api/v1/swagger/misc.go | 71 + routers/api/v1/swagger/nodeinfo.go | 15 + routers/api/v1/swagger/notify.go | 29 + routers/api/v1/swagger/options.go | 234 + routers/api/v1/swagger/org.go | 43 + routers/api/v1/swagger/package.go | 29 + routers/api/v1/swagger/quota.go | 64 + routers/api/v1/swagger/repo.go | 450 + routers/api/v1/swagger/settings.go | 34 + routers/api/v1/swagger/user.go | 50 + routers/api/v1/user/action.go | 381 + routers/api/v1/user/app.go | 434 + routers/api/v1/user/avatar.go | 73 + routers/api/v1/user/email.go | 144 + routers/api/v1/user/follower.go | 281 + routers/api/v1/user/gpg_key.go | 333 + routers/api/v1/user/helper.go | 35 + routers/api/v1/user/hook.go | 179 + routers/api/v1/user/key.go | 317 + routers/api/v1/user/quota.go | 128 + routers/api/v1/user/repo.go | 190 + routers/api/v1/user/runners.go | 30 + routers/api/v1/user/settings.go | 75 + routers/api/v1/user/star.go | 213 + routers/api/v1/user/user.go | 322 + routers/api/v1/user/watch.go | 215 + routers/api/v1/utils/block.go | 65 + routers/api/v1/utils/git.go | 99 + routers/api/v1/utils/hook.go | 419 + routers/api/v1/utils/page.go | 18 + routers/common/auth.go | 45 + routers/common/compare.go | 21 + routers/common/db.go | 59 + routers/common/errpage.go | 56 + routers/common/errpage_test.go | 39 + routers/common/markup.go | 98 + routers/common/middleware.go | 116 + routers/common/middleware_test.go | 70 + routers/common/redirect.go | 26 + routers/common/serve.go | 43 + routers/init.go | 208 + routers/install/install.go | 617 + routers/install/routes.go | 44 + routers/install/routes_test.go | 38 + routers/private/actions.go | 97 + routers/private/default_branch.go | 40 + routers/private/hook_post_receive.go | 368 + routers/private/hook_post_receive_test.go | 50 + routers/private/hook_pre_receive.go | 629 + routers/private/hook_proc_receive.go | 43 + routers/private/hook_verification.go | 122 + routers/private/hook_verification_test.go | 46 + routers/private/internal.go | 85 + routers/private/internal_repo.go | 69 + routers/private/key.go | 61 + routers/private/mail.go | 91 + routers/private/main_test.go | 14 + routers/private/manager.go | 195 + routers/private/manager_process.go | 160 + routers/private/manager_unix.go | 25 + routers/private/manager_windows.go | 27 + routers/private/restore_repo.go | 53 + routers/private/serv.go | 397 + routers/private/ssh_log.go | 33 + .../tests/repos/repo1_hook_verification/HEAD | 1 + .../tests/repos/repo1_hook_verification/config | 6 + .../tests/repos/repo1_hook_verification/info/refs | 1 + .../tests/repos/repo1_hook_verification/logs/HEAD | 1 + .../repo1_hook_verification/logs/refs/heads/main | 1 + .../08/cbc8f0e903b0916025ae7577564b7ed39ecb2c | Bin 0 -> 86 bytes .../0b/5987362fe3fabdd4406babdc819642ee2f5a2a | Bin 0 -> 22 bytes .../13/b0f23f673b161f4b5cb66f051cb93c99729e1e | Bin 0 -> 86 bytes .../23/33a51fdb238b7023a62ae3dcc58994061a7c86 | Bin 0 -> 86 bytes .../2b/df04adb23d2b40b6085efb230856e5e2a775b7 | Bin 0 -> 55 bytes .../65/a457425a679cbe9adf0d2741785d3ceabb44a7 | Bin 0 -> 50 bytes .../72/920278f2f999e3005801e5d5b8ab8139d3641c | 2 + .../8b/903ede7c494725624bf842ec890f6342dababd | Bin 0 -> 86 bytes .../93/eac826f6188f34646cea81bf426aa5ba7d3bfe | Bin 0 -> 684 bytes .../97/79d17a04f1e2640583d35703c62460b2d86e0a | 2 + .../9c/e3f779ae33f31fce17fac3c512047b75d7498b | Bin 0 -> 153 bytes .../a9/f76e70a663e40091749a97eeac5f57a6fec141 | Bin 0 -> 24 bytes .../ba/0caedd359ebe310ef431335576e20f2b84e9b9 | Bin 0 -> 63 bytes .../bb/87653e0819460e79b5f075f2563f583cbbf18c | Bin 0 -> 682 bytes .../cb/a4c30c196a0e03e7bdf6eeb8393d14b9d073aa | 3 + .../d7/66f2917716d45be24bfa968b8409544941be32 | 3 + .../e3/7e5d19823e42fad252f6341b1f77a7bc6ee451 | Bin 0 -> 59 bytes .../e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 | Bin 0 -> 15 bytes .../e8/4e452c3a20c02dee17ec2f63c0cb9ef6c759eb | Bin 0 -> 677 bytes .../repo1_hook_verification/objects/info/packs | 1 + .../08/cbc8f0e903b0916025ae7577564b7ed39ecb2c | Bin 0 -> 86 bytes .../0b/5987362fe3fabdd4406babdc819642ee2f5a2a | Bin 0 -> 22 bytes .../13/b0f23f673b161f4b5cb66f051cb93c99729e1e | Bin 0 -> 86 bytes .../23/33a51fdb238b7023a62ae3dcc58994061a7c86 | Bin 0 -> 86 bytes .../8b/903ede7c494725624bf842ec890f6342dababd | Bin 0 -> 86 bytes .../93/eac826f6188f34646cea81bf426aa5ba7d3bfe | Bin 0 -> 684 bytes .../9c/e3f779ae33f31fce17fac3c512047b75d7498b | Bin 0 -> 153 bytes .../a9/f76e70a663e40091749a97eeac5f57a6fec141 | Bin 0 -> 24 bytes .../bb/87653e0819460e79b5f075f2563f583cbbf18c | Bin 0 -> 682 bytes .../cb/a4c30c196a0e03e7bdf6eeb8393d14b9d073aa | 3 + .../repos/repo1_hook_verification/refs/heads/main | 1 + .../repo1_hook_verification_dummy_gpg_key.txt | 127 + routers/utils/utils.go | 14 + routers/utils/utils_test.go | 40 + routers/web/admin/admin.go | 254 + routers/web/admin/admin_test.go | 117 + routers/web/admin/applications.go | 90 + routers/web/admin/auths.go | 465 + routers/web/admin/config.go | 255 + routers/web/admin/diagnosis.go | 68 + routers/web/admin/emails.go | 182 + routers/web/admin/hooks.go | 73 + routers/web/admin/main_test.go | 14 + routers/web/admin/notice.go | 78 + routers/web/admin/orgs.go | 39 + routers/web/admin/packages.go | 113 + routers/web/admin/queue.go | 89 + routers/web/admin/queue_tester.go | 77 + routers/web/admin/repos.go | 163 + routers/web/admin/runners.go | 13 + routers/web/admin/stacktrace.go | 46 + routers/web/admin/users.go | 557 + routers/web/admin/users_test.go | 200 + routers/web/auth/2fa.go | 163 + routers/web/auth/auth.go | 879 + routers/web/auth/auth_test.go | 43 + routers/web/auth/linkaccount.go | 308 + routers/web/auth/main_test.go | 14 + routers/web/auth/oauth.go | 1427 + routers/web/auth/oauth_test.go | 103 + routers/web/auth/openid.go | 391 + routers/web/auth/password.go | 325 + routers/web/auth/webauthn.go | 177 + routers/web/base.go | 98 + routers/web/devtest/devtest.go | 66 + routers/web/events/events.go | 122 + routers/web/explore/code.go | 144 + routers/web/explore/org.go | 48 + routers/web/explore/repo.go | 193 + routers/web/explore/topic.go | 41 + routers/web/explore/user.go | 163 + routers/web/feed/branch.go | 50 + routers/web/feed/convert.go | 344 + routers/web/feed/file.go | 62 + routers/web/feed/profile.go | 87 + routers/web/feed/release.go | 52 + routers/web/feed/render.go | 19 + routers/web/feed/repo.go | 44 + routers/web/githttp.go | 42 + routers/web/goget.go | 93 + routers/web/healthcheck/check.go | 140 + routers/web/home.go | 117 + routers/web/metrics.go | 33 + routers/web/misc/markup.go | 18 + routers/web/misc/misc.go | 49 + routers/web/misc/swagger-forgejo.go | 19 + routers/web/misc/swagger.go | 20 + routers/web/nodeinfo.go | 32 + routers/web/org/home.go | 189 + routers/web/org/main_test.go | 14 + routers/web/org/members.go | 144 + routers/web/org/org.go | 80 + routers/web/org/org_labels.go | 116 + routers/web/org/projects.go | 610 + routers/web/org/projects_test.go | 28 + routers/web/org/setting.go | 258 + routers/web/org/setting/blocked_users.go | 85 + routers/web/org/setting/runners.go | 12 + routers/web/org/setting_oauth2.go | 102 + routers/web/org/setting_packages.go | 131 + routers/web/org/teams.go | 628 + routers/web/repo/actions/actions.go | 247 + routers/web/repo/actions/manual.go | 62 + routers/web/repo/actions/view.go | 781 + routers/web/repo/activity.go | 105 + routers/web/repo/attachment.go | 163 + routers/web/repo/badges/badges.go | 164 + routers/web/repo/blame.go | 298 + routers/web/repo/branch.go | 262 + routers/web/repo/cherry_pick.go | 192 + routers/web/repo/code_frequency.go | 41 + routers/web/repo/commit.go | 468 + routers/web/repo/compare.go | 972 + routers/web/repo/contributors.go | 38 + routers/web/repo/download.go | 170 + routers/web/repo/editor.go | 962 + routers/web/repo/editor_test.go | 73 + routers/web/repo/find.go | 24 + routers/web/repo/flags/manage.go | 49 + routers/web/repo/githttp.go | 599 + routers/web/repo/githttp_test.go | 42 + routers/web/repo/helper.go | 44 + routers/web/repo/helper_test.go | 26 + routers/web/repo/issue.go | 3822 +++ routers/web/repo/issue_content_history.go | 237 + routers/web/repo/issue_dependency.go | 144 + routers/web/repo/issue_label.go | 229 + routers/web/repo/issue_label_test.go | 173 + routers/web/repo/issue_lock.go | 65 + routers/web/repo/issue_pin.go | 107 + routers/web/repo/issue_stopwatch.go | 113 + routers/web/repo/issue_test.go | 375 + routers/web/repo/issue_timetrack.go | 87 + routers/web/repo/issue_watch.go | 63 + routers/web/repo/main_test.go | 14 + routers/web/repo/middlewares.go | 120 + routers/web/repo/migrate.go | 310 + routers/web/repo/milestone.go | 304 + routers/web/repo/packages.go | 78 + routers/web/repo/patch.go | 124 + routers/web/repo/projects.go | 670 + routers/web/repo/projects_test.go | 27 + routers/web/repo/pull.go | 1843 ++ routers/web/repo/pull_review.go | 316 + routers/web/repo/pull_review_test.go | 104 + routers/web/repo/recent_commits.go | 41 + routers/web/repo/release.go | 857 + routers/web/repo/release_test.go | 124 + routers/web/repo/render.go | 76 + routers/web/repo/repo.go | 774 + routers/web/repo/search.go | 105 + routers/web/repo/setting/avatar.go | 76 + routers/web/repo/setting/collaboration.go | 217 + routers/web/repo/setting/default_branch.go | 54 + routers/web/repo/setting/deploy_key.go | 109 + routers/web/repo/setting/git_hooks.go | 65 + routers/web/repo/setting/lfs.go | 562 + routers/web/repo/setting/main_test.go | 14 + routers/web/repo/setting/protected_branch.go | 347 + routers/web/repo/setting/protected_tag.go | 188 + routers/web/repo/setting/runners.go | 187 + routers/web/repo/setting/secrets.go | 127 + routers/web/repo/setting/setting.go | 1113 + routers/web/repo/setting/settings_test.go | 412 + routers/web/repo/setting/variables.go | 140 + routers/web/repo/setting/webhook.go | 485 + routers/web/repo/topic.go | 60 + routers/web/repo/treelist.go | 54 + routers/web/repo/view.go | 1258 + routers/web/repo/view_test.go | 62 + routers/web/repo/wiki.go | 816 + routers/web/repo/wiki_test.go | 224 + routers/web/shared/actions/runners.go | 161 + routers/web/shared/actions/variables.go | 65 + routers/web/shared/packages/packages.go | 260 + routers/web/shared/project/column.go | 48 + routers/web/shared/secrets/secrets.go | 53 + routers/web/shared/user/header.go | 163 + routers/web/swagger_json.go | 13 + routers/web/user/avatar.go | 57 + routers/web/user/code.go | 129 + routers/web/user/home.go | 883 + routers/web/user/home_test.go | 169 + routers/web/user/main_test.go | 14 + routers/web/user/notification.go | 485 + routers/web/user/package.go | 513 + routers/web/user/profile.go | 385 + routers/web/user/search.go | 44 + routers/web/user/setting/account.go | 353 + routers/web/user/setting/account_test.go | 101 + routers/web/user/setting/adopt.go | 64 + routers/web/user/setting/applications.go | 115 + routers/web/user/setting/blocked_users.go | 46 + routers/web/user/setting/keys.go | 338 + routers/web/user/setting/main_test.go | 14 + routers/web/user/setting/oauth2.go | 68 + routers/web/user/setting/oauth2_common.go | 163 + routers/web/user/setting/packages.go | 119 + routers/web/user/setting/profile.go | 433 + routers/web/user/setting/runner.go | 13 + routers/web/user/setting/security/2fa.go | 263 + routers/web/user/setting/security/openid.go | 126 + routers/web/user/setting/security/security.go | 148 + routers/web/user/setting/security/webauthn.go | 137 + routers/web/user/setting/webhooks.go | 49 + routers/web/user/stop_watch.go | 40 + routers/web/user/task.go | 53 + routers/web/web.go | 1666 ++ routers/web/webfinger.go | 167 + services/actions/auth.go | 107 + services/actions/auth_test.go | 65 + services/actions/cleanup.go | 128 + services/actions/cleanup_test.go | 31 + services/actions/clear_tasks.go | 101 + services/actions/commit_status.go | 167 + services/actions/init.go | 26 + services/actions/interface.go | 28 + services/actions/job_emitter.go | 162 + services/actions/job_emitter_test.go | 136 + services/actions/main_test.go | 17 + services/actions/notifier.go | 777 + services/actions/notifier_helper.go | 590 + services/actions/notifier_helper_test.go | 51 + services/actions/rerun.go | 38 + services/actions/rerun_test.go | 48 + services/actions/schedule_tasks.go | 154 + services/actions/variables.go | 100 + services/actions/workflows.go | 173 + services/agit/agit.go | 268 + services/asymkey/deploy_key.go | 31 + services/asymkey/main_test.go | 17 + services/asymkey/sign.go | 404 + services/asymkey/ssh_key.go | 50 + services/asymkey/ssh_key_test.go | 88 + services/attachment/attachment.go | 80 + services/attachment/attachment_test.go | 47 + services/auth/additional_scopes_test.go | 32 + services/auth/auth.go | 106 + services/auth/auth_test.go | 134 + services/auth/basic.go | 180 + services/auth/group.go | 72 + services/auth/httpsign.go | 218 + services/auth/interface.go | 47 + services/auth/main_test.go | 14 + services/auth/oauth2.go | 244 + services/auth/oauth2_test.go | 55 + services/auth/reverseproxy.go | 179 + services/auth/reverseproxy_test.go | 67 + services/auth/session.go | 60 + services/auth/signin.go | 128 + services/auth/source.go | 42 + services/auth/source/db/assert_interface_test.go | 20 + services/auth/source/db/authenticate.go | 87 + services/auth/source/db/source.go | 35 + services/auth/source/ldap/README.md | 131 + services/auth/source/ldap/assert_interface_test.go | 27 + services/auth/source/ldap/security_protocol.go | 31 + services/auth/source/ldap/source.go | 122 + services/auth/source/ldap/source_authenticate.go | 124 + services/auth/source/ldap/source_search.go | 516 + services/auth/source/ldap/source_sync.go | 232 + services/auth/source/ldap/util.go | 18 + .../auth/source/oauth2/assert_interface_test.go | 22 + services/auth/source/oauth2/init.go | 86 + services/auth/source/oauth2/jwtsigningkey.go | 422 + services/auth/source/oauth2/jwtsigningkey_test.go | 116 + services/auth/source/oauth2/providers.go | 190 + services/auth/source/oauth2/providers_base.go | 51 + services/auth/source/oauth2/providers_custom.go | 123 + services/auth/source/oauth2/providers_openid.go | 58 + services/auth/source/oauth2/providers_simple.go | 109 + services/auth/source/oauth2/source.go | 51 + services/auth/source/oauth2/source_authenticate.go | 19 + services/auth/source/oauth2/source_callout.go | 68 + services/auth/source/oauth2/source_name.go | 18 + services/auth/source/oauth2/source_register.go | 50 + services/auth/source/oauth2/store.go | 98 + services/auth/source/oauth2/token.go | 100 + services/auth/source/oauth2/urlmapping.go | 77 + services/auth/source/pam/assert_interface_test.go | 21 + services/auth/source/pam/source.go | 45 + services/auth/source/pam/source_authenticate.go | 76 + services/auth/source/remote/source.go | 33 + services/auth/source/smtp/assert_interface_test.go | 24 + services/auth/source/smtp/auth.go | 106 + services/auth/source/smtp/source.go | 66 + services/auth/source/smtp/source_authenticate.go | 92 + services/auth/source/source_group_sync.go | 116 + services/auth/source/sspi/assert_interface_test.go | 18 + services/auth/source/sspi/source.go | 39 + services/auth/sspi.go | 223 + services/auth/sspiauth_posix.go | 30 + services/auth/sspiauth_windows.go | 19 + services/auth/sync.go | 43 + services/automerge/automerge.go | 306 + services/automerge/notify.go | 46 + services/context/access_log.go | 101 + services/context/api.go | 459 + services/context/api_org.go | 12 + services/context/api_test.go | 51 + services/context/base.go | 315 + services/context/base_test.go | 47 + services/context/captcha.go | 118 + services/context/context.go | 254 + services/context/context_cookie.go | 56 + services/context/context_model.go | 29 + services/context/context_request.go | 32 + services/context/context_response.go | 194 + services/context/context_template.go | 35 + services/context/context_test.go | 24 + services/context/csrf.go | 171 + services/context/org.go | 280 + services/context/package.go | 165 + services/context/pagination.go | 57 + services/context/permission.go | 149 + services/context/private.go | 85 + services/context/quota.go | 200 + services/context/repo.go | 1112 + services/context/repository.go | 25 + services/context/response.go | 103 + services/context/upload/upload.go | 105 + services/context/upload/upload_test.go | 194 + services/context/user.go | 84 + services/context/utils.go | 38 + services/context/xsrf.go | 99 + services/context/xsrf_test.go | 91 + services/contexttest/context_tests.go | 208 + services/convert/activity.go | 52 + services/convert/attachment.go | 63 + services/convert/convert.go | 510 + services/convert/git_commit.go | 228 + services/convert/git_commit_test.go | 42 + services/convert/issue.go | 288 + services/convert/issue_comment.go | 187 + services/convert/issue_test.go | 58 + services/convert/main_test.go | 16 + services/convert/mirror.go | 27 + services/convert/notification.go | 98 + services/convert/package.go | 53 + services/convert/pull.go | 261 + services/convert/pull_review.go | 139 + services/convert/pull_test.go | 78 + services/convert/quota.go | 185 + services/convert/release.go | 35 + services/convert/release_test.go | 29 + services/convert/repository.go | 254 + services/convert/secret.go | 18 + services/convert/status.go | 65 + services/convert/user.go | 113 + services/convert/user_test.go | 41 + services/convert/utils.go | 44 + services/convert/utils_test.go | 39 + services/convert/wiki.go | 45 + services/cron/cron.go | 130 + services/cron/setting.go | 86 + services/cron/tasks.go | 230 + services/cron/tasks_actions.go | 76 + services/cron/tasks_basic.go | 175 + services/cron/tasks_extended.go | 243 + services/cron/tasks_test.go | 68 + services/doctor/authorizedkeys.go | 100 + services/doctor/breaking.go | 97 + services/doctor/checkOldArchives.go | 59 + services/doctor/dbconsistency.go | 268 + services/doctor/dbversion.go | 42 + services/doctor/doctor.go | 138 + services/doctor/fix16961.go | 328 + services/doctor/fix16961_test.go | 271 + services/doctor/fix8312.go | 61 + services/doctor/heads.go | 88 + services/doctor/lfs.go | 52 + services/doctor/mergebase.go | 114 + services/doctor/misc.go | 299 + services/doctor/packages_nuget.go | 160 + services/doctor/paths.go | 124 + services/doctor/push_mirror_consistency.go | 91 + services/doctor/repository.go | 80 + services/doctor/storage.go | 270 + services/doctor/usertype.go | 41 + services/externalaccount/link.go | 30 + services/externalaccount/user.go | 107 + services/f3/driver/asset.go | 171 + services/f3/driver/assets.go | 42 + services/f3/driver/comment.go | 122 + services/f3/driver/comments.go | 49 + services/f3/driver/common.go | 48 + services/f3/driver/container.go | 43 + services/f3/driver/forge.go | 64 + services/f3/driver/issue.go | 238 + services/f3/driver/issues.go | 40 + services/f3/driver/label.go | 113 + services/f3/driver/labels.go | 37 + services/f3/driver/main.go | 17 + services/f3/driver/main_test.go | 30 + services/f3/driver/milestone.go | 150 + services/f3/driver/milestones.go | 40 + services/f3/driver/options.go | 20 + services/f3/driver/options/name.go | 7 + services/f3/driver/options/options.go | 31 + services/f3/driver/organization.go | 111 + services/f3/driver/organizations.go | 50 + services/f3/driver/project.go | 188 + services/f3/driver/projects.go | 55 + services/f3/driver/pullrequest.go | 320 + services/f3/driver/pullrequests.go | 42 + services/f3/driver/reaction.go | 133 + services/f3/driver/reactions.go | 59 + services/f3/driver/release.go | 161 + services/f3/driver/releases.go | 42 + services/f3/driver/repositories.go | 36 + services/f3/driver/repository.go | 101 + services/f3/driver/review.go | 179 + services/f3/driver/reviewcomment.go | 142 + services/f3/driver/reviewcomments.go | 43 + services/f3/driver/reviews.go | 49 + services/f3/driver/root.go | 41 + services/f3/driver/tests/init.go | 15 + services/f3/driver/tests/new.go | 39 + services/f3/driver/tests/options.go | 21 + services/f3/driver/topic.go | 111 + services/f3/driver/topics.go | 41 + services/f3/driver/tree.go | 104 + services/f3/driver/user.go | 128 + services/f3/driver/users.go | 48 + services/f3/util/logger.go | 97 + services/f3/util/logger_test.go | 89 + services/federation/federation_service.go | 295 + services/feed/action.go | 458 + services/feed/action_test.go | 52 + services/forgejo/main_test.go | 17 + services/forgejo/sanity.go | 26 + services/forgejo/sanity_test.go | 31 + services/forgejo/sanity_v1TOv5_0_1Included.go | 91 + services/forgejo/sanity_v1TOv5_0_1Included_test.go | 115 + services/forms/admin.go | 74 + services/forms/auth_form.go | 92 + services/forms/org.go | 76 + services/forms/package_form.go | 30 + services/forms/repo_branch_form.go | 38 + services/forms/repo_form.go | 751 + services/forms/repo_form_test.go | 64 + services/forms/repo_tag_form.go | 26 + services/forms/runner.go | 24 + services/forms/user_form.go | 455 + services/forms/user_form_auth_openid.go | 49 + services/forms/user_form_hidden_comments.go | 104 + services/forms/user_form_test.go | 131 + services/gitdiff/csv.go | 469 + services/gitdiff/csv_test.go | 229 + services/gitdiff/gitdiff.go | 1396 + services/gitdiff/gitdiff_test.go | 671 + services/gitdiff/highlightdiff.go | 227 + services/gitdiff/highlightdiff_test.go | 125 + services/gitdiff/main_test.go | 18 + services/gitdiff/testdata/academic-module/HEAD | 1 + services/gitdiff/testdata/academic-module/config | 10 + .../gitdiff/testdata/academic-module/description | 1 + services/gitdiff/testdata/academic-module/index | Bin 0 -> 46960 bytes .../gitdiff/testdata/academic-module/info/exclude | 6 + .../gitdiff/testdata/academic-module/logs/HEAD | 1 + .../academic-module/logs/refs/heads/master | 1 + .../academic-module/logs/refs/remotes/origin/HEAD | 1 + ...ck-597efbc3613c7ba790e33b178fd9fc1fe17b4245.idx | Bin 0 -> 65332 bytes ...k-597efbc3613c7ba790e33b178fd9fc1fe17b4245.pack | Bin 0 -> 1167905 bytes .../gitdiff/testdata/academic-module/packed-refs | 2 + .../testdata/academic-module/refs/heads/master | 1 + .../academic-module/refs/remotes/origin/HEAD | 1 + services/indexer/indexer.go | 20 + services/indexer/notify.go | 170 + services/issue/assignee.go | 314 + services/issue/assignee_test.go | 48 + services/issue/comments.go | 136 + services/issue/comments_test.go | 147 + services/issue/commit.go | 202 + services/issue/commit_test.go | 301 + services/issue/content.go | 25 + services/issue/issue.go | 349 + services/issue/issue_test.go | 87 + services/issue/label.go | 95 + services/issue/label_test.go | 62 + services/issue/main_test.go | 23 + services/issue/milestone.go | 110 + services/issue/milestone_test.go | 35 + services/issue/pull.go | 153 + services/issue/reaction.go | 47 + services/issue/status.go | 36 + services/issue/template.go | 193 + services/lfs/locks.go | 340 + services/lfs/server.go | 633 + services/mailer/incoming/incoming.go | 394 + services/mailer/incoming/incoming_handler.go | 187 + services/mailer/incoming/incoming_test.go | 191 + services/mailer/incoming/payload/payload.go | 70 + services/mailer/mail.go | 751 + services/mailer/mail_admin_new_user.go | 78 + services/mailer/mail_admin_new_user_test.go | 79 + services/mailer/mail_auth_test.go | 62 + services/mailer/mail_comment.go | 63 + services/mailer/mail_issue.go | 201 + services/mailer/mail_release.go | 98 + services/mailer/mail_repo.go | 89 + services/mailer/mail_team_invite.go | 76 + services/mailer/mail_test.go | 540 + services/mailer/mailer.go | 448 + services/mailer/mailer_test.go | 128 + services/mailer/main_test.go | 48 + services/mailer/notify.go | 208 + services/mailer/token/token.go | 138 + services/markup/main_test.go | 16 + services/markup/processorhelper.go | 87 + services/markup/processorhelper_test.go | 55 + services/migrations/codebase.go | 651 + services/migrations/codebase_test.go | 151 + services/migrations/common.go | 83 + services/migrations/dump.go | 737 + services/migrations/error.go | 26 + services/migrations/forgejo_downloader.go | 20 + services/migrations/forgejo_downloader_test.go | 16 + services/migrations/git.go | 48 + services/migrations/gitbucket.go | 90 + services/migrations/gitea_downloader.go | 703 + services/migrations/gitea_downloader_test.go | 314 + services/migrations/gitea_uploader.go | 1031 + services/migrations/gitea_uploader_test.go | 519 + services/migrations/github.go | 885 + services/migrations/github_test.go | 432 + services/migrations/gitlab.go | 784 + services/migrations/gitlab_test.go | 646 + services/migrations/gogs.go | 330 + services/migrations/gogs_test.go | 224 + services/migrations/http_client.go | 29 + services/migrations/main_test.go | 266 + services/migrations/migrate.go | 510 + services/migrations/migrate_test.go | 115 + services/migrations/onedev.go | 634 + services/migrations/onedev_test.go | 149 + services/migrations/restore.go | 272 + .../GET_%2Fapi%2Fv4%2Fprojects%2F61363672 | 17 + ...%2Fissues%2F1%2Faward_emoji%3Fpage=1&per_page=2 | 24 + ...%2Fissues%2F1%2Faward_emoji%3Fpage=2&per_page=2 | 26 + ...%2Fissues%2F2%2Faward_emoji%3Fpage=1&per_page=2 | 24 + ...%2Fissues%2F2%2Faward_emoji%3Fpage=2&per_page=2 | 24 + ...%2Fissues%2F2%2Faward_emoji%3Fpage=3&per_page=2 | 24 + ...%2Fissues%2F2%2Faward_emoji%3Fpage=4&per_page=2 | 26 + ...Fissues%2F2%2Fdiscussions%3Fpage=1&per_page=100 | 24 + ...2%2Fresource_state_events%3Fpage=1&per_page=100 | 24 + ...2Fissues%3Fpage=1&per_page=2&sort=asc&state=all | 24 + ...jects%2F61363672%2Flabels%3Fpage=1&per_page=100 | 24 + ...2Fv4%2Fprojects%2F61363672%2Fmerge_requests%2F1 | 17 + ...cts%2F61363672%2Fmerge_requests%2F1%2Fapprovals | 17 + ..._requests%2F1%2Faward_emoji%3Fpage=1&per_page=1 | 24 + ..._requests%2F1%2Faward_emoji%3Fpage=2&per_page=1 | 24 + ..._requests%2F1%2Faward_emoji%3Fpage=3&per_page=1 | 26 + ...cts%2F61363672%2Fmerge_requests%2F2%2Fapprovals | 16 + ...Fmerge_requests%3Fpage=1&per_page=1&view=simple | 24 + ...72%2Fmilestones%3Fpage=1&per_page=100&state=all | 24 + ...cts%2F61363672%2Freleases%3Fpage=1&per_page=100 | 24 + ..._%2Fapi%2Fv4%2Fprojects%2Fforgejo%252Ftest_repo | 17 + ...ET_%2Fapi%2Fv4%2Fprojects%2Fgitea%252Ftest_repo | 17 + .../gitlab/full_download/GET_%2Fapi%2Fv4%2Fversion | 17 + .../GET_%2Fapi%2Fv4%2Fprojects%2F6590996 | 22 + ...2Fissues%2F2%2Faward_emoji%3Fpage=1&per_page=10 | 31 + ...Fissues%3Fpage=1&per_page=10&sort=asc&state=all | 29 + ...%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%2F1 | 22 + ...requests%2F1%2Faward_emoji%3Fpage=1&per_page=10 | 31 + ...merge_requests%3Fpage=1&per_page=10&view=simple | 29 + ...2Fapi%2Fv4%2Fprojects%2Ftroyengel%252Farchbuild | 22 + .../skipped_issue_number/GET_%2Fapi%2Fv4%2Fversion | 22 + services/migrations/update.go | 77 + services/mirror/mirror.go | 146 + services/mirror/mirror_pull.go | 628 + services/mirror/mirror_push.go | 313 + services/mirror/mirror_test.go | 46 + services/mirror/notifier.go | 31 + services/mirror/queue.go | 70 + services/notify/notifier.go | 79 + services/notify/notify.go | 376 + services/notify/null.go | 213 + services/org/org.go | 76 + services/org/org_test.go | 39 + services/org/repo.go | 27 + services/org/repo_test.go | 34 + services/org/team_invite.go | 22 + services/packages/alpine/repository.go | 337 + services/packages/arch/repository.go | 368 + services/packages/auth.go | 75 + services/packages/cargo/index.go | 315 + services/packages/cleanup/cleanup.go | 198 + services/packages/cleanup/cleanup_sha256_test.go | 116 + services/packages/cleanup/main_test.go | 14 + services/packages/container/blob_uploader.go | 133 + services/packages/container/cleanup.go | 111 + services/packages/container/cleanup_sha256.go | 158 + services/packages/container/common.go | 35 + services/packages/debian/repository.go | 413 + services/packages/packages.go | 665 + services/packages/rpm/repository.go | 674 + services/pull/check.go | 404 + services/pull/check_test.go | 70 + services/pull/comment.go | 94 + services/pull/commit_status.go | 171 + services/pull/commit_status_test.go | 65 + services/pull/edits.go | 40 + services/pull/lfs.go | 135 + services/pull/main_test.go | 17 + services/pull/merge.go | 562 + services/pull/merge_ff_only.go | 21 + services/pull/merge_merge.go | 25 + services/pull/merge_prepare.go | 288 + services/pull/merge_rebase.go | 121 + services/pull/merge_squash.go | 86 + services/pull/merge_test.go | 67 + services/pull/patch.go | 582 + services/pull/patch_unmerged.go | 203 + services/pull/pull.go | 1032 + services/pull/pull_test.go | 94 + services/pull/review.go | 465 + services/pull/review_test.go | 49 + services/pull/temp_repo.go | 196 + services/pull/update.go | 180 + services/pull/update_rebase.go | 107 + services/release/release.go | 470 + services/release/release_test.go | 475 + services/release/tag.go | 61 + services/remote/promote.go | 133 + services/repository/adopt.go | 370 + services/repository/adopt_test.go | 115 + services/repository/archiver/archiver.go | 377 + services/repository/archiver/archiver_test.go | 134 + services/repository/avatar.go | 116 + services/repository/avatar_test.go | 64 + services/repository/branch.go | 604 + services/repository/cache.go | 30 + services/repository/check.go | 202 + services/repository/collaboration.go | 52 + services/repository/collaboration_test.go | 28 + services/repository/commit.go | 55 + services/repository/commitstatus/commitstatus.go | 202 + services/repository/contributors_graph.go | 321 + services/repository/contributors_graph_test.go | 101 + services/repository/create.go | 318 + services/repository/create_test.go | 149 + services/repository/delete.go | 471 + services/repository/files/cherry_pick.go | 128 + services/repository/files/commit.go | 44 + services/repository/files/content.go | 278 + services/repository/files/content_test.go | 201 + services/repository/files/diff.go | 42 + services/repository/files/diff_test.go | 166 + services/repository/files/file.go | 174 + services/repository/files/file_test.go | 115 + services/repository/files/patch.go | 199 + services/repository/files/temp_repo.go | 406 + services/repository/files/temp_repo_test.go | 28 + services/repository/files/tree.go | 101 + services/repository/files/tree_test.go | 52 + services/repository/files/update.go | 501 + services/repository/files/upload.go | 248 + services/repository/fork.go | 248 + services/repository/fork_test.go | 49 + services/repository/generate.go | 391 + services/repository/generate_test.go | 67 + services/repository/hooks.go | 110 + services/repository/init.go | 83 + services/repository/lfs.go | 123 + services/repository/lfs_test.go | 75 + services/repository/main_test.go | 14 + services/repository/migrate.go | 289 + services/repository/push.go | 420 + services/repository/repository.go | 153 + services/repository/repository_test.go | 43 + services/repository/review.go | 24 + services/repository/review_test.go | 29 + services/repository/setting.go | 57 + services/repository/star.go | 27 + services/repository/template.go | 135 + services/repository/transfer.go | 434 + services/repository/transfer_test.go | 124 + services/secrets/secrets.go | 83 + services/secrets/validation.go | 25 + services/task/migrate.go | 154 + services/task/task.go | 169 + services/uinotification/notify.go | 261 + services/user/TestPurgeUser/public_key.yml | 11 + services/user/avatar.go | 73 + services/user/avatar_test.go | 81 + services/user/block.go | 95 + services/user/block_test.go | 92 + services/user/delete.go | 224 + services/user/email.go | 232 + services/user/email_test.go | 178 + services/user/update.go | 233 + services/user/update_test.go | 121 + services/user/user.go | 332 + services/user/user_test.go | 264 + services/webhook/default.go | 160 + services/webhook/default_test.go | 260 + services/webhook/deliver.go | 258 + services/webhook/deliver_test.go | 332 + services/webhook/dingtalk.go | 232 + services/webhook/dingtalk_test.go | 252 + services/webhook/discord.go | 367 + services/webhook/discord_test.go | 348 + services/webhook/feishu.go | 200 + services/webhook/feishu_test.go | 193 + services/webhook/general.go | 354 + services/webhook/general_test.go | 673 + services/webhook/gogs.go | 42 + services/webhook/main_test.go | 26 + services/webhook/matrix.go | 316 + services/webhook/matrix_test.go | 255 + services/webhook/msteams.go | 377 + services/webhook/msteams_test.go | 455 + services/webhook/notifier.go | 887 + services/webhook/packagist.go | 90 + services/webhook/packagist_test.go | 70 + services/webhook/shared/img.go | 15 + services/webhook/shared/payloader.go | 161 + services/webhook/slack.go | 361 + services/webhook/slack_test.go | 265 + services/webhook/sourcehut/builds.go | 301 + services/webhook/sourcehut/builds_test.go | 386 + services/webhook/sourcehut/testdata/repo.git/HEAD | 1 + .../webhook/sourcehut/testdata/repo.git/config | 4 + .../sourcehut/testdata/repo.git/description | 1 + .../sourcehut/testdata/repo.git/info/exclude | 6 + .../3c/3d4b799b3933ba687b263eeef2034300a5315e | Bin 0 -> 83 bytes .../58/771003157b81abc6bf41df0c5db4147a3e3c83 | 2 + .../69/b217caa89166a02b8cd368b64fb83a44720e14 | 1 + .../99/fb389b232e5497f0dcdb1c1065eac1d10d3794 | Bin 0 -> 57 bytes .../9e/4b777f81b316a1c75a0797b33add68ee49b0d0 | Bin 0 -> 54 bytes .../a5/4082fdb8e55055382725f10a81bb4dc2b13029 | 4 + .../aa/3905af404394f576f88f00e7f0919b4b97453f | Bin 0 -> 57 bytes .../b0/404943256a1f5a50c3726f4378756b4c1e5704 | Bin 0 -> 160 bytes .../d2/e0862c8b8097ba4bdd72946c20479751d307a0 | 4 + .../sourcehut/testdata/repo.git/refs/heads/main | 1 + services/webhook/telegram.go | 228 + services/webhook/telegram_test.go | 212 + services/webhook/webhook.go | 270 + services/webhook/webhook_test.go | 100 + services/webhook/wechatwork.go | 210 + services/wiki/wiki.go | 449 + services/wiki/wiki_path.go | 172 + services/wiki/wiki_test.go | 327 + stylelint.config.js | 246 + tailwind.config.js | 141 + templates/admin/actions.tmpl | 10 + templates/admin/applications/list.tmpl | 8 + templates/admin/applications/oauth2_edit.tmpl | 6 + templates/admin/auth/edit.tmpl | 464 + templates/admin/auth/list.tmpl | 38 + templates/admin/auth/new.tmpl | 122 + templates/admin/auth/source/ldap.tmpl | 145 + templates/admin/auth/source/oauth.tmpl | 109 + templates/admin/auth/source/smtp.tmpl | 59 + templates/admin/auth/source/sspi.tmpl | 43 + templates/admin/config.tmpl | 355 + templates/admin/config_settings.tmpl | 42 + templates/admin/cron.tmpl | 39 + templates/admin/dashboard.tmpl | 84 + templates/admin/emails/list.tmpl | 116 + templates/admin/hook_new.tmpl | 13 + templates/admin/hooks.tmpl | 9 + templates/admin/layout_footer.tmpl | 11 + templates/admin/layout_head.tmpl | 13 + templates/admin/navbar.tmpl | 112 + templates/admin/notice.tmpl | 68 + templates/admin/org/list.tmpl | 76 + templates/admin/packages/list.tmpl | 96 + templates/admin/queue.tmpl | 36 + templates/admin/queue_manage.tmpl | 61 + templates/admin/repo/list.tmpl | 110 + templates/admin/repo/unadopted.tmpl | 75 + templates/admin/runners/edit.tmpl | 5 + templates/admin/self_check.tmpl | 41 + templates/admin/stacktrace-row.tmpl | 66 + templates/admin/stacktrace.tmpl | 48 + templates/admin/stats.tmpl | 17 + templates/admin/system_status.tmpl | 62 + templates/admin/user/edit.tmpl | 242 + templates/admin/user/list.tmpl | 119 + templates/admin/user/new.tmpl | 90 + templates/admin/user/view.tmpl | 48 + templates/admin/user/view_details.tmpl | 74 + templates/admin/user/view_emails.tmpl | 19 + templates/api/packages/pypi/simple.tmpl | 15 + templates/base/alert.tmpl | 23 + templates/base/alert_details.tmpl | 7 + templates/base/disable_form_autofill.tmpl | 31 + templates/base/footer.tmpl | 20 + templates/base/footer_content.tmpl | 32 + templates/base/head.tmpl | 50 + templates/base/head_navbar.tmpl | 205 + templates/base/head_opengraph.tmpl | 53 + templates/base/head_script.tmpl | 50 + templates/base/head_style.tmpl | 2 + templates/base/modal_actions_confirm.tmpl | 35 + templates/base/paginate.tmpl | 34 + templates/custom/body_inner_post.tmpl | 0 templates/custom/body_inner_pre.tmpl | 0 templates/custom/body_outer_post.tmpl | 0 templates/custom/body_outer_pre.tmpl | 0 templates/custom/extra_links.tmpl | 0 templates/custom/extra_links_footer.tmpl | 0 templates/custom/extra_tabs.tmpl | 0 templates/custom/footer.tmpl | 0 templates/custom/header.tmpl | 0 templates/custom/repo_flag_banners.tmpl | 0 templates/devtest/fetch-action.tmpl | 44 + templates/devtest/flex-list.tmpl | 115 + templates/devtest/fomantic-modal.tmpl | 86 + templates/devtest/gitea-ui.tmpl | 330 + templates/devtest/label.tmpl | 27 + templates/devtest/list.tmpl | 15 + templates/devtest/tmplerr-sub.tmpl | 3 + templates/devtest/tmplerr.tmpl | 12 + templates/explore/code.tmpl | 8 + templates/explore/navbar.tmpl | 20 + templates/explore/repo_list.tmpl | 73 + templates/explore/repos.tmpl | 10 + templates/explore/search.tmpl | 23 + templates/explore/user_list.tmpl | 33 + templates/explore/users.tmpl | 10 + templates/home.tmpl | 51 + templates/htmx/milestone_sidebar.tmpl | 4 + templates/install.tmpl | 367 + templates/mail/auth/2fa_disabled.tmpl | 15 + templates/mail/auth/activate.tmpl | 16 + templates/mail/auth/activate_email.tmpl | 16 + templates/mail/auth/password_change.tmpl | 16 + templates/mail/auth/primary_mail_change.tmpl | 14 + templates/mail/auth/register_notify.tmpl | 17 + templates/mail/auth/removed_security_key.tmpl | 15 + templates/mail/auth/reset_passwd.tmpl | 16 + templates/mail/auth/totp_enrolled.tmpl | 15 + templates/mail/common/footer_simple.tmpl | 1 + templates/mail/issue/assigned.tmpl | 28 + templates/mail/issue/default.tmpl | 90 + templates/mail/notify/admin_new_user.tmpl | 20 + templates/mail/notify/collaborator.tmpl | 20 + templates/mail/notify/repo_transfer.tmpl | 18 + templates/mail/release.tmpl | 60 + templates/mail/team_invite.tmpl | 15 + templates/org/create.tmpl | 57 + templates/org/follow_unfollow.tmpl | 7 + templates/org/header.tmpl | 37 + templates/org/home.tmpl | 73 + templates/org/member/members.tmpl | 90 + templates/org/menu.tmpl | 57 + templates/org/projects/list.tmpl | 24 + templates/org/projects/new.tmpl | 9 + templates/org/projects/view.tmpl | 11 + templates/org/settings/actions.tmpl | 11 + templates/org/settings/applications.tmpl | 9 + .../org/settings/applications_oauth2_edit.tmpl | 5 + templates/org/settings/blocked_users.tmpl | 21 + templates/org/settings/delete.tmpl | 35 + templates/org/settings/hook_new.tmpl | 7 + templates/org/settings/hooks.tmpl | 5 + templates/org/settings/labels.tmpl | 15 + templates/org/settings/layout_footer.tmpl | 11 + templates/org/settings/layout_head.tmpl | 14 + templates/org/settings/navbar.tmpl | 48 + templates/org/settings/options.tmpl | 102 + templates/org/settings/packages.tmpl | 6 + .../org/settings/packages_cleanup_rules_edit.tmpl | 5 + .../settings/packages_cleanup_rules_preview.tmpl | 5 + templates/org/settings/runners_edit.tmpl | 5 + templates/org/team/invite.tmpl | 23 + templates/org/team/members.tmpl | 88 + templates/org/team/navbar.tmpl | 4 + templates/org/team/new.tmpl | 148 + templates/org/team/repositories.tmpl | 61 + templates/org/team/sidebar.tmpl | 94 + templates/org/team/teams.tmpl | 56 + templates/package/content/alpine.tmpl | 52 + templates/package/content/arch.tmpl | 143 + templates/package/content/cargo.tmpl | 63 + templates/package/content/chef.tmpl | 48 + templates/package/content/composer.tmpl | 50 + .../package/content/composer_dependencies.tmpl | 19 + templates/package/content/conan.tmpl | 34 + templates/package/content/conda.tmpl | 30 + templates/package/content/container.tmpl | 90 + templates/package/content/cran.tmpl | 59 + templates/package/content/debian.tmpl | 65 + templates/package/content/generic.tmpl | 18 + templates/package/content/go.tmpl | 14 + templates/package/content/helm.tmpl | 57 + templates/package/content/maven.tmpl | 75 + templates/package/content/npm.tmpl | 65 + templates/package/content/npm_dependencies.tmpl | 19 + templates/package/content/nuget.tmpl | 51 + templates/package/content/pub.tmpl | 19 + templates/package/content/pypi.tmpl | 31 + templates/package/content/rpm.tmpl | 56 + templates/package/content/rubygems.tmpl | 40 + .../package/content/rubygems_dependencies.tmpl | 19 + templates/package/content/swift.tmpl | 40 + templates/package/content/vagrant.tmpl | 18 + templates/package/metadata/alpine.tmpl | 5 + templates/package/metadata/arch.tmpl | 4 + templates/package/metadata/cargo.tmpl | 7 + templates/package/metadata/chef.tmpl | 5 + templates/package/metadata/composer.tmpl | 5 + templates/package/metadata/conan.tmpl | 6 + templates/package/metadata/conda.tmpl | 6 + templates/package/metadata/container.tmpl | 9 + templates/package/metadata/cran.tmpl | 5 + templates/package/metadata/debian.tmpl | 4 + templates/package/metadata/generic.tmpl | 0 templates/package/metadata/helm.tmpl | 4 + templates/package/metadata/maven.tmpl | 5 + templates/package/metadata/npm.tmpl | 8 + templates/package/metadata/nuget.tmpl | 5 + templates/package/metadata/pub.tmpl | 5 + templates/package/metadata/pypi.tmpl | 5 + templates/package/metadata/rpm.tmpl | 4 + templates/package/metadata/rubygems.tmpl | 5 + templates/package/metadata/swift.tmpl | 4 + templates/package/metadata/vagrant.tmpl | 5 + templates/package/settings.tmpl | 77 + templates/package/shared/cargo.tmpl | 27 + templates/package/shared/cleanup_rules/edit.tmpl | 73 + templates/package/shared/cleanup_rules/list.tmpl | 56 + .../package/shared/cleanup_rules/preview.tmpl | 34 + templates/package/shared/list.tmpl | 57 + templates/package/shared/versionlist.tmpl | 37 + templates/package/view.tmpl | 116 + templates/post-install.tmpl | 24 + templates/projects/list.tmpl | 93 + templates/projects/new.tmpl | 66 + templates/projects/view.tmpl | 180 + templates/repo/actions/dispatch.tmpl | 101 + templates/repo/actions/list.tmpl | 92 + templates/repo/actions/no_workflows.tmpl | 8 + templates/repo/actions/runs_list.tmpl | 43 + templates/repo/actions/status.tmpl | 29 + templates/repo/actions/view.tmpl | 33 + templates/repo/activity.tmpl | 19 + templates/repo/admin_flags.tmpl | 8 + templates/repo/blame.tmpl | 96 + templates/repo/branch/list.tmpl | 262 + templates/repo/branch_dropdown.tmpl | 89 + templates/repo/cite/cite_buttons.tmpl | 8 + templates/repo/cite/cite_modal.tmpl | 20 + templates/repo/clone_buttons.tmpl | 15 + templates/repo/clone_script.tmpl | 50 + .../repo/code/recently_pushed_new_branches.tmpl | 17 + templates/repo/code_frequency.tmpl | 9 + templates/repo/commit_load_branches_and_tags.tmpl | 20 + templates/repo/commit_page.tmpl | 285 + templates/repo/commit_status.tmpl | 16 + templates/repo/commit_statuses.tmpl | 14 + templates/repo/commits.tmpl | 23 + templates/repo/commits_list.tmpl | 96 + templates/repo/commits_list_small.tmpl | 55 + templates/repo/commits_search_dropdown.tmpl | 8 + templates/repo/commits_table.tmpl | 36 + templates/repo/contributors.tmpl | 14 + templates/repo/create.tmpl | 224 + templates/repo/create_helper.tmpl | 3 + templates/repo/diff/blob_excerpt.tmpl | 80 + templates/repo/diff/box.tmpl | 260 + templates/repo/diff/comment_form.tmpl | 49 + templates/repo/diff/comment_form_datahandler.tmpl | 7 + templates/repo/diff/comments.tmpl | 75 + templates/repo/diff/compare.tmpl | 238 + templates/repo/diff/conversation.tmpl | 66 + templates/repo/diff/conversations.tmpl | 3 + templates/repo/diff/csv_diff.tmpl | 58 + templates/repo/diff/escape_title.tmpl | 2 + templates/repo/diff/image_diff.tmpl | 83 + templates/repo/diff/new_comment.tmpl | 5 + templates/repo/diff/new_review.tmpl | 52 + templates/repo/diff/options_dropdown.tmpl | 33 + templates/repo/diff/section_code.tmpl | 1 + templates/repo/diff/section_split.tmpl | 156 + templates/repo/diff/section_unified.tmpl | 72 + templates/repo/diff/stats.tmpl | 5 + templates/repo/diff/whitespace_dropdown.tmpl | 30 + templates/repo/editor/cherry_pick.tmpl | 30 + templates/repo/editor/commit_form.tmpl | 82 + templates/repo/editor/delete.tmpl | 13 + templates/repo/editor/diff_preview.tmpl | 11 + templates/repo/editor/edit.tmpl | 74 + templates/repo/editor/patch.tmpl | 57 + templates/repo/editor/upload.tmpl | 33 + templates/repo/empty.tmpl | 82 + templates/repo/file_info.tmpl | 53 + templates/repo/find/files.tmpl | 21 + templates/repo/flags.tmpl | 33 + templates/repo/forks.tmpl | 18 + templates/repo/graph.tmpl | 65 + templates/repo/graph/commits.tmpl | 79 + templates/repo/graph/div.tmpl | 7 + templates/repo/graph/svgcontainer.tmpl | 24 + templates/repo/header.tmpl | 201 + templates/repo/header_fork.tmpl | 52 + templates/repo/home.tmpl | 164 + templates/repo/icon.tmpl | 10 + templates/repo/issue/card.tmpl | 78 + templates/repo/issue/choose.tmpl | 59 + templates/repo/issue/comment_tab.tmpl | 21 + templates/repo/issue/fields/checkboxes.tmpl | 14 + templates/repo/issue/fields/dropdown.tmpl | 17 + templates/repo/issue/fields/header.tmpl | 6 + templates/repo/issue/fields/input.tmpl | 4 + templates/repo/issue/fields/markdown.tmpl | 3 + templates/repo/issue/fields/textarea.tmpl | 24 + templates/repo/issue/filter_actions.tmpl | 128 + templates/repo/issue/filter_list.tmpl | 158 + templates/repo/issue/filters.tmpl | 26 + templates/repo/issue/label_precolors.tmpl | 22 + templates/repo/issue/labels.tmpl | 22 + templates/repo/issue/labels/edit_delete_label.tmpl | 72 + templates/repo/issue/labels/label.tmpl | 8 + templates/repo/issue/labels/label_archived.tmpl | 5 + templates/repo/issue/labels/label_list.tmpl | 88 + .../repo/issue/labels/label_load_template.tmpl | 24 + templates/repo/issue/labels/label_new.tmpl | 48 + .../repo/issue/labels/labels_selector_field.tmpl | 46 + templates/repo/issue/labels/labels_sidebar.tmpl | 11 + templates/repo/issue/list.tmpl | 55 + templates/repo/issue/milestone/filter_list.tmpl | 16 + templates/repo/issue/milestone/select_menu.tmpl | 39 + templates/repo/issue/milestone_issues.tmpl | 65 + templates/repo/issue/milestone_new.tmpl | 59 + templates/repo/issue/milestones.tmpl | 110 + templates/repo/issue/navbar.tmpl | 4 + templates/repo/issue/new.tmpl | 8 + templates/repo/issue/new_form.tmpl | 155 + templates/repo/issue/openclose.tmpl | 16 + templates/repo/issue/search.tmpl | 20 + templates/repo/issue/view.tmpl | 12 + templates/repo/issue/view_content.tmpl | 188 + .../repo/issue/view_content/add_reaction.tmpl | 12 + templates/repo/issue/view_content/attachments.tmpl | 42 + templates/repo/issue/view_content/comments.tmpl | 691 + .../issue/view_content/comments_authorlink.tmpl | 11 + .../issue/view_content/comments_delete_time.tmpl | 18 + .../repo/issue/view_content/context_menu.tmpl | 27 + .../repo/issue/view_content/conversation.tmpl | 137 + templates/repo/issue/view_content/pull.tmpl | 396 + .../issue/view_content/pull_merge_instruction.tmpl | 57 + templates/repo/issue/view_content/reactions.tmpl | 17 + .../issue/view_content/reference_issue_dialog.tmpl | 28 + templates/repo/issue/view_content/show_role.tmpl | 15 + templates/repo/issue/view_content/sidebar.tmpl | 66 + .../repo/issue/view_content/sidebar/actions.tmpl | 114 + .../repo/issue/view_content/sidebar/assignees.tmpl | 62 + .../sidebar/branch_selector_field.tmpl | 59 + .../issue/view_content/sidebar/dependencies.tmpl | 146 + .../issue/view_content/sidebar/due_deadline.tmpl | 41 + .../issue/view_content/sidebar/milestones.tmpl | 24 + .../issue/view_content/sidebar/participants.tmpl | 8 + .../repo/issue/view_content/sidebar/projects.tmpl | 54 + .../sidebar/pull_maintainer_edits.tmpl | 10 + .../issue/view_content/sidebar/pull_review.tmpl | 45 + .../issue/view_content/sidebar/pull_reviewers.tmpl | 67 + .../repo/issue/view_content/sidebar/pull_wip.tmpl | 11 + .../repo/issue/view_content/sidebar/reference.tmpl | 7 + .../issue/view_content/sidebar/timetracking.tmpl | 73 + .../repo/issue/view_content/sidebar/watch.tmpl | 6 + .../repo/issue/view_content/sidebar/watching.tmpl | 19 + .../issue/view_content/update_branch_by_merge.tmpl | 37 + templates/repo/issue/view_title.tmpl | 144 + templates/repo/latest_commit.tmpl | 31 + templates/repo/migrate/codebase.tmpl | 126 + templates/repo/migrate/forgejo.tmpl | 1 + templates/repo/migrate/git.tmpl | 94 + templates/repo/migrate/gitbucket.tmpl | 142 + templates/repo/migrate/gitea.tmpl | 138 + templates/repo/migrate/github.tmpl | 140 + templates/repo/migrate/gitlab.tmpl | 137 + templates/repo/migrate/gogs.tmpl | 137 + templates/repo/migrate/helper.tmpl | 0 templates/repo/migrate/migrate.tmpl | 32 + templates/repo/migrate/migrating.tmpl | 101 + templates/repo/migrate/onedev.tmpl | 126 + templates/repo/migrate/options.tmpl | 26 + templates/repo/navbar.tmpl | 14 + templates/repo/packages.tmpl | 8 + templates/repo/projects/list.tmpl | 8 + templates/repo/projects/new.tmpl | 8 + templates/repo/projects/view.tmpl | 15 + templates/repo/pulls/commits.tmpl | 10 + templates/repo/pulls/files.tmpl | 14 + templates/repo/pulls/fork.tmpl | 90 + templates/repo/pulls/status.tmpl | 59 + templates/repo/pulls/tab_menu.tmpl | 28 + templates/repo/pulse.tmpl | 239 + templates/repo/recent_commits.tmpl | 9 + templates/repo/release/list.tmpl | 142 + templates/repo/release/new.tmpl | 183 + templates/repo/release_tag_header.tmpl | 31 + templates/repo/search.tmpl | 14 + templates/repo/search_name.tmpl | 1 + templates/repo/settings/actions.tmpl | 11 + templates/repo/settings/branches.tmpl | 78 + templates/repo/settings/collaboration.tmpl | 117 + templates/repo/settings/deploy_keys.tmpl | 86 + templates/repo/settings/githook_edit.tmpl | 27 + templates/repo/settings/githooks.tmpl | 23 + templates/repo/settings/layout_footer.tmpl | 11 + templates/repo/settings/layout_head.tmpl | 14 + templates/repo/settings/lfs.tmpl | 53 + templates/repo/settings/lfs_file.tmpl | 57 + templates/repo/settings/lfs_file_find.tmpl | 46 + templates/repo/settings/lfs_locks.tmpl | 56 + templates/repo/settings/lfs_pointers.tmpl | 56 + templates/repo/settings/navbar.tmpl | 72 + templates/repo/settings/options.tmpl | 794 + templates/repo/settings/protected_branch.tmpl | 262 + .../repo/settings/push_mirror_sync_modal.tmpl | 32 + templates/repo/settings/runner_edit.tmpl | 5 + templates/repo/settings/secrets.tmpl | 5 + templates/repo/settings/tags.tmpl | 126 + templates/repo/settings/units.tmpl | 13 + templates/repo/settings/units/issues.tmpl | 102 + templates/repo/settings/units/overview.tmpl | 62 + templates/repo/settings/units/pulls.tmpl | 132 + templates/repo/settings/units/wiki.tmpl | 51 + templates/repo/settings/webhook/base.tmpl | 5 + templates/repo/settings/webhook/base_list.tmpl | 26 + templates/repo/settings/webhook/delete_modal.tmpl | 10 + templates/repo/settings/webhook/history.tmpl | 90 + templates/repo/settings/webhook/link_menu.tmpl | 12 + templates/repo/settings/webhook/list.tmpl | 4 + templates/repo/settings/webhook/new.tmpl | 7 + templates/repo/shabox_badge.tmpl | 15 + templates/repo/star_unstar.tmpl | 14 + templates/repo/sub_menu.tmpl | 45 + templates/repo/tag/list.tmpl | 79 + templates/repo/tag/verification_box.tmpl | 27 + templates/repo/tag/verification_line.tmpl | 80 + templates/repo/unicode_escape_prompt.tmpl | 22 + templates/repo/upload.tmpl | 15 + templates/repo/user_cards.tmpl | 32 + templates/repo/view_file.tmpl | 158 + templates/repo/view_list.tmpl | 72 + templates/repo/watch_unwatch.tmpl | 14 + templates/repo/watchers.tmpl | 8 + templates/repo/wiki/new.tmpl | 48 + templates/repo/wiki/pages.tmpl | 30 + templates/repo/wiki/revision.tmpl | 40 + templates/repo/wiki/search.tmpl | 12 + templates/repo/wiki/start.tmpl | 15 + templates/repo/wiki/view.tmpl | 124 + templates/shared/actions/runner_edit.tmpl | 96 + templates/shared/actions/runner_list.tmpl | 95 + templates/shared/blocked_users_list.tmpl | 28 + templates/shared/combomarkdowneditor.tmpl | 64 + templates/shared/issueicon.tmpl | 25 + templates/shared/issuelist.tmpl | 163 + templates/shared/label_filter.tmpl | 50 + templates/shared/repo_search.tmpl | 69 + templates/shared/search/button.tmpl | 3 + templates/shared/search/code/results.tmpl | 44 + templates/shared/search/code/search.tmpl | 28 + templates/shared/search/combo.tmpl | 8 + templates/shared/search/combo_fuzzy.tmpl | 15 + templates/shared/search/fuzzy.tmpl | 21 + templates/shared/search/input.tmpl | 4 + templates/shared/searchbottom.tmpl | 14 + templates/shared/searchfile.tmpl | 25 + templates/shared/secrets/add_list.tmpl | 81 + templates/shared/user/authorlink.tmpl | 1 + templates/shared/user/avatarlink.tmpl | 1 + templates/shared/user/blocked_users.tmpl | 83 + templates/shared/user/name.tmpl | 1 + templates/shared/user/namelink.tmpl | 1 + templates/shared/user/org_profile_avatar.tmpl | 16 + templates/shared/user/profile_big_avatar.tmpl | 129 + templates/shared/variables/variable_list.tmpl | 92 + templates/shared/webhook/icon.tmpl | 29 + templates/status/404.tmpl | 14 + templates/status/413.tmpl | 11 + templates/status/500.tmpl | 71 + templates/swagger/forgejo-ui.tmpl | 13 + templates/swagger/ui.tmpl | 12 + templates/swagger/v1_json.tmpl | 28776 +++++++++++++++++++ templates/user/auth/activate.tmpl | 61 + templates/user/auth/captcha.tmpl | 30 + templates/user/auth/change_passwd.tmpl | 7 + templates/user/auth/change_passwd_inner.tmpl | 22 + templates/user/auth/finalize_openid.tmpl | 47 + templates/user/auth/forgot_passwd.tmpl | 39 + templates/user/auth/grant.tmpl | 34 + templates/user/auth/grant_error.tmpl | 16 + templates/user/auth/link_account.tmpl | 34 + templates/user/auth/oauth_container.tmpl | 29 + templates/user/auth/oidc_wellknown.tmpl | 49 + templates/user/auth/prohibit_login.tmpl | 16 + templates/user/auth/reset_passwd.tmpl | 65 + templates/user/auth/signin.tmpl | 9 + templates/user/auth/signin_inner.tmpl | 65 + templates/user/auth/signin_openid.tmpl | 51 + templates/user/auth/signup.tmpl | 9 + templates/user/auth/signup_inner.tmpl | 64 + templates/user/auth/signup_openid_connect.tmpl | 36 + templates/user/auth/signup_openid_navbar.tmpl | 12 + templates/user/auth/signup_openid_register.tmpl | 37 + templates/user/auth/twofa.tmpl | 26 + templates/user/auth/twofa_scratch.tmpl | 25 + templates/user/auth/webauthn.tmpl | 25 + templates/user/auth/webauthn_error.tmpl | 13 + templates/user/code.tmpl | 24 + templates/user/dashboard/dashboard.tmpl | 13 + templates/user/dashboard/feeds.tmpl | 127 + templates/user/dashboard/issues.tmpl | 91 + templates/user/dashboard/milestones.tmpl | 155 + templates/user/dashboard/navbar.tmpl | 102 + templates/user/dashboard/repolist.tmpl | 55 + templates/user/heatmap.tmpl | 13 + templates/user/notification/notification.tmpl | 3 + templates/user/notification/notification_div.tmpl | 130 + .../notification/notification_subscriptions.tmpl | 84 + templates/user/overview/header.tmpl | 58 + templates/user/overview/package_versions.tmpl | 24 + templates/user/overview/packages.tmpl | 24 + templates/user/profile.tmpl | 76 + templates/user/settings/account.tmpl | 180 + templates/user/settings/actions.tmpl | 12 + templates/user/settings/appearance.tmpl | 195 + templates/user/settings/applications.tmpl | 113 + templates/user/settings/applications_oauth2.tmpl | 6 + .../user/settings/applications_oauth2_edit.tmpl | 6 + .../settings/applications_oauth2_edit_form.tmpl | 54 + .../user/settings/applications_oauth2_list.tmpl | 74 + templates/user/settings/blocked_users.tmpl | 10 + templates/user/settings/grants_oauth2.tmpl | 40 + templates/user/settings/hook_new.tmpl | 7 + templates/user/settings/hooks.tmpl | 5 + templates/user/settings/keys.tmpl | 11 + templates/user/settings/keys_gpg.tmpl | 129 + templates/user/settings/keys_principal.tmpl | 69 + templates/user/settings/keys_ssh.tmpl | 111 + templates/user/settings/layout_footer.tmpl | 11 + templates/user/settings/layout_head.tmpl | 13 + templates/user/settings/navbar.tmpl | 58 + templates/user/settings/organization.tmpl | 55 + templates/user/settings/packages.tmpl | 24 + .../user/settings/packages_cleanup_rules_edit.tmpl | 5 + .../settings/packages_cleanup_rules_preview.tmpl | 5 + templates/user/settings/profile.tmpl | 166 + templates/user/settings/repos.tmpl | 130 + templates/user/settings/runner_edit.tmpl | 5 + templates/user/settings/security/accountlinks.tmpl | 62 + templates/user/settings/security/openid.tmpl | 63 + templates/user/settings/security/security.tmpl | 11 + templates/user/settings/security/twofa.tmpl | 37 + templates/user/settings/security/twofa_enroll.tmpl | 25 + templates/user/settings/security/webauthn.tmpl | 43 + templates/webhook/new.tmpl | 44 + templates/webhook/new/dingtalk.tmpl | 9 + templates/webhook/new/discord.tmpl | 17 + templates/webhook/new/feishu.tmpl | 10 + templates/webhook/new/forgejo.tmpl | 38 + templates/webhook/new/gitea.tmpl | 38 + templates/webhook/new/gogs.tmpl | 26 + templates/webhook/new/matrix.tmpl | 32 + templates/webhook/new/msteams.tmpl | 9 + templates/webhook/new/packagist.tmpl | 17 + templates/webhook/new/slack.tmpl | 26 + templates/webhook/new/sourcehut_builds.tmpl | 39 + templates/webhook/new/telegram.tmpl | 17 + templates/webhook/new/wechatwork.tmpl | 9 + templates/webhook/shared-settings.tmpl | 193 + tests/e2e/.eslintrc.yaml | 24 + tests/e2e/README.md | 220 + tests/e2e/actions.test.e2e.js | 79 + tests/e2e/commit-graph-branch-selector.test.e2e.js | 25 + tests/e2e/dashboard-ci-status.test.e2e.js | 21 + tests/e2e/debugserver_test.go | 32 + tests/e2e/declare_repos_test.go | 87 + tests/e2e/e2e_test.go | 129 + tests/e2e/example.test.e2e.js | 50 + tests/e2e/explore.test.e2e.js | 40 + tests/e2e/issue-comment.test.e2e.js | 63 + tests/e2e/issue-sidebar.test.e2e.js | 226 + tests/e2e/markdown-editor.test.e2e.js | 177 + tests/e2e/markup.test.e2e.js | 14 + tests/e2e/org-settings.test.e2e.js | 24 + tests/e2e/profile_actions.test.e2e.js | 41 + tests/e2e/reaction-selectors.test.e2e.js | 65 + tests/e2e/release.test.e2e.js | 80 + tests/e2e/repo-code.test.e2e.js | 86 + tests/e2e/repo-migrate.test.e2e.js | 32 + tests/e2e/repo-settings.test.e2e.js | 48 + tests/e2e/repo-wiki.test.e2e.js | 36 + tests/e2e/right-settings-button.test.e2e.js | 128 + tests/e2e/shared/forms.js | 44 + tests/e2e/utils_e2e.js | 82 + tests/e2e/utils_e2e_test.go | 56 + tests/e2e/webauthn.test.e2e.js | 60 + tests/fuzz/fuzz_test.go | 40 + ...d32f451df93acc2bdd9e6373be478b968e4cad6b6647351 | Bin 0 -> 107 bytes ...99d542daa20075cff1d97d9d2349a8977efe9c03661737c | Bin 0 -> 2048 bytes ...1a58469b67fee2b698ef7e9399c4ca4f34a14ccbe39f623 | 1 + ...b9901ec6afe9ea052f3c9b6ff9f4b07956d8c48c86fca82 | 1 + .../private_repo_on_limited_org.git/HEAD | 1 + .../private_repo_on_limited_org.git/config | 6 + .../private_repo_on_limited_org.git/description | 1 + .../private_repo_on_limited_org.git/info/exclude | 6 + .../74/8bf557dfc9c6457998b5118a6c8b2129f56c30 | Bin 0 -> 43 bytes .../a5/46f86c7dd182592b96639045e176dde8df76ef | Bin 0 -> 54 bytes .../b8/95782bd271fdd266dd06e5880ea4abdc3a0dc7 | Bin 0 -> 782 bytes .../refs/heads/master | 1 + .../public_repo_on_limited_org.git/HEAD | 1 + .../public_repo_on_limited_org.git/config | 6 + .../public_repo_on_limited_org.git/description | 1 + .../public_repo_on_limited_org.git/info/exclude | 6 + .../21/2f14c8b713de38bd0b3fb23bd288369b01668a | Bin 0 -> 43 bytes .../90/e402c3937a4639725fcc59ca1f529e7dc8506f | Bin 0 -> 783 bytes .../ed/d9c1000cd1444efd63e153e3554c8d5656bf65 | Bin 0 -> 54 bytes .../refs/heads/master | 1 + .../migration/lfs-test.git/HEAD | 1 + .../migration/lfs-test.git/config | 7 + .../migration/lfs-test.git/description | 1 + .../migration/lfs-test.git/hooks/post-checkout | 3 + .../migration/lfs-test.git/hooks/post-commit | 3 + .../migration/lfs-test.git/hooks/post-merge | 3 + .../migration/lfs-test.git/hooks/pre-push | 3 + .../migration/lfs-test.git/index | Bin 0 -> 305 bytes ...bbc1515326465fa96c3bfd54a4ea06cfd6dbbd8340e0152 | 1 + ...2a726a92395be4d16f2f63116caf36c8ad35c60831ab041 | 1 + .../54/6244003622c64b2fc3c2cd544d7a29882c8383 | Bin 0 -> 128 bytes .../6a/6ccf5d874fec134ee712572cc03a0f2dd7afec | Bin 0 -> 51 bytes .../a6/7134b8484c2abe9fa954e1fd83b39b271383ed | Bin 0 -> 121 bytes .../b7/01ed6ffe410f0c3ac204b929ea47cfec6cef54 | Bin 0 -> 122 bytes .../f2/07b74f55cd7f9e800b7550d587cbc488f6eaf1 | Bin 0 -> 120 bytes .../migration/lfs-test.git/refs/heads/master | 1 + .../org26/repo_external_tracker.git/COMMITMESSAGE | 0 .../org26/repo_external_tracker.git/COMMIT_EDITMSG | 1 + .../org26/repo_external_tracker.git/HEAD | 1 + .../org26/repo_external_tracker.git/config | 10 + .../org26/repo_external_tracker.git/config.backup | 7 + .../org26/repo_external_tracker.git/description | 1 + .../org26/repo_external_tracker.git/index | Bin 0 -> 137 bytes .../org26/repo_external_tracker.git/info/exclude | 6 + .../org26/repo_external_tracker.git/logs/HEAD | 2 + .../logs/refs/heads/branch1 | 1 + .../logs/refs/heads/master | 1 + .../ba/ea7d6e6b7773a80bcede323cfb21dfe9d4b855 | Bin 0 -> 54 bytes .../c2/a1ad4c931cebe27c7e39176fe7119b5557c9eb | Bin 0 -> 60 bytes .../cd/aca8cf1d36e1e4e508a940f6e157e239beccfa | 3 + .../repo_external_tracker.git/refs/heads/branch1 | 1 + .../repo_external_tracker.git/refs/heads/master | 1 + .../repo_external_tracker_alpha.git/COMMITMESSAGE | 0 .../repo_external_tracker_alpha.git/COMMIT_EDITMSG | 1 + .../org26/repo_external_tracker_alpha.git/HEAD | 1 + .../org26/repo_external_tracker_alpha.git/config | 10 + .../repo_external_tracker_alpha.git/config.backup | 7 + .../repo_external_tracker_alpha.git/description | 1 + .../org26/repo_external_tracker_alpha.git/index | Bin 0 -> 137 bytes .../repo_external_tracker_alpha.git/info/exclude | 6 + .../repo_external_tracker_alpha.git/logs/HEAD | 2 + .../logs/refs/heads/branch1 | 1 + .../logs/refs/heads/master | 1 + .../ba/ea7d6e6b7773a80bcede323cfb21dfe9d4b855 | Bin 0 -> 54 bytes .../c2/a1ad4c931cebe27c7e39176fe7119b5557c9eb | Bin 0 -> 60 bytes .../cd/aca8cf1d36e1e4e508a940f6e157e239beccfa | 3 + .../refs/heads/branch1 | 1 + .../refs/heads/master | 1 + .../COMMITMESSAGE | 0 .../COMMIT_EDITMSG | 1 + .../org26/repo_external_tracker_numeric.git/HEAD | 1 + .../org26/repo_external_tracker_numeric.git/config | 10 + .../config.backup | 7 + .../repo_external_tracker_numeric.git/description | 1 + .../org26/repo_external_tracker_numeric.git/index | Bin 0 -> 137 bytes .../repo_external_tracker_numeric.git/info/exclude | 6 + .../repo_external_tracker_numeric.git/logs/HEAD | 2 + .../logs/refs/heads/branch1 | 1 + .../logs/refs/heads/master | 1 + .../ba/ea7d6e6b7773a80bcede323cfb21dfe9d4b855 | Bin 0 -> 54 bytes .../c2/a1ad4c931cebe27c7e39176fe7119b5557c9eb | Bin 0 -> 60 bytes .../cd/aca8cf1d36e1e4e508a940f6e157e239beccfa | 3 + .../refs/heads/branch1 | 1 + .../refs/heads/master | 1 + tests/gitea-repositories-meta/org3/repo3.git/HEAD | 1 + .../gitea-repositories-meta/org3/repo3.git/config | 6 + .../org3/repo3.git/description | 1 + .../org3/repo3.git/hooks/post-receive | 7 + .../org3/repo3.git/hooks/post-receive.d/gitea | 2 + .../org3/repo3.git/hooks/pre-receive | 7 + .../org3/repo3.git/hooks/pre-receive.d/gitea | 2 + .../org3/repo3.git/hooks/update | 7 + .../org3/repo3.git/hooks/update.d/gitea | 2 + .../org3/repo3.git/info/exclude | 6 + .../20/ade30d25e0ecaeec84e7f542a8456900858240 | Bin 0 -> 84 bytes .../27/74debeea6dc742cc4971a92db0e08b95b60588 | Bin 0 -> 51 bytes .../2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 | Bin 0 -> 760 bytes .../2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f | Bin 0 -> 37 bytes .../d2/2b4d4daa5be07329fcef6ed458f00cf3392da0 | Bin 0 -> 814 bytes .../d5/6a3073c1dbb7b15963110a049d50cdb5db99fc | Bin 0 -> 42 bytes .../ec/f0db3c1ec806522de4b491fb9a3c7457398c61 | Bin 0 -> 62 bytes .../ee/16d127df463aa491e08958120f2108b02468df | Bin 0 -> 84 bytes .../org3/repo3.git/refs/heads/master | 1 + .../org3/repo3.git/refs/heads/test_branch | 1 + tests/gitea-repositories-meta/org3/repo5.git/HEAD | 1 + .../gitea-repositories-meta/org3/repo5.git/config | 6 + .../org3/repo5.git/description | 1 + .../org3/repo5.git/hooks/post-receive | 7 + .../org3/repo5.git/hooks/post-receive.d/gitea | 2 + .../org3/repo5.git/hooks/pre-receive | 7 + .../org3/repo5.git/hooks/pre-receive.d/gitea | 2 + .../org3/repo5.git/hooks/update | 7 + .../org3/repo5.git/hooks/update.d/gitea | 2 + .../org3/repo5.git/info/exclude | 6 + .../20/ade30d25e0ecaeec84e7f542a8456900858240 | Bin 0 -> 84 bytes .../27/74debeea6dc742cc4971a92db0e08b95b60588 | Bin 0 -> 51 bytes .../2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 | Bin 0 -> 760 bytes .../2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f | Bin 0 -> 37 bytes .../d2/2b4d4daa5be07329fcef6ed458f00cf3392da0 | Bin 0 -> 814 bytes .../d5/6a3073c1dbb7b15963110a049d50cdb5db99fc | Bin 0 -> 42 bytes .../ec/f0db3c1ec806522de4b491fb9a3c7457398c61 | Bin 0 -> 62 bytes .../ee/16d127df463aa491e08958120f2108b02468df | Bin 0 -> 84 bytes .../org3/repo5.git/refs/heads/master | 1 + .../org3/repo5.git/refs/heads/test_branch | 1 + .../gitea-repositories-meta/org41/repo61.git/HEAD | 1 + .../org41/repo61.git/config | 6 + .../org41/repo61.git/description | 1 + .../org41/repo61.git/info/exclude | 6 + .../private_repo_on_private_org.git/HEAD | 1 + .../private_repo_on_private_org.git/config | 6 + .../private_repo_on_private_org.git/description | 1 + .../private_repo_on_private_org.git/info/exclude | 6 + .../6e/75c9f89da9a9b93f4f36e61ed092f7a1625ba0 | Bin 0 -> 785 bytes .../7f/eb6f9dd600e17a04f48a76cfa0a56a3f30e2c1 | Bin 0 -> 54 bytes .../b7/91b41c0ae8cb3c4b12f3fd8c3709c2481d9e37 | Bin 0 -> 43 bytes .../refs/heads/master | 1 + .../public_repo_on_private_org.git/HEAD | 1 + .../public_repo_on_private_org.git/config | 6 + .../public_repo_on_private_org.git/description | 1 + .../public_repo_on_private_org.git/info/exclude | 6 + .../04/f99c528b643b9175a4b156cdfc13aba6b43853 | Bin 0 -> 53 bytes .../86/de16d8658f5c0a17ec6aa313871295d7072f78 | Bin 0 -> 43 bytes .../bf/19fd4707acb403c4aca44f126ab69142ac59ce | Bin 0 -> 785 bytes .../refs/heads/master | 1 + .../gitea-repositories-meta/user12/repo10.git/HEAD | 1 + .../user12/repo10.git/config | 4 + .../user12/repo10.git/description | 1 + .../user12/repo10.git/hooks/post-receive | 7 + .../user12/repo10.git/hooks/post-receive.d/gitea | 2 + .../user12/repo10.git/hooks/pre-receive | 7 + .../user12/repo10.git/hooks/pre-receive.d/gitea | 2 + .../user12/repo10.git/hooks/update | 7 + .../user12/repo10.git/hooks/update.d/gitea | 2 + .../user12/repo10.git/info/exclude | 6 + .../user12/repo10.git/info/refs | 1 + .../2a/2f1d4670728a2e10049e345bd7a276468beab6 | Bin 0 -> 54 bytes .../4b/4851ad51df6a7d9f25c979345979eaeb5b349f | Bin 0 -> 42 bytes .../65/f1bf27bc3bf70f64657658635e66094edbcb4d | Bin 0 -> 150 bytes .../user12/repo10.git/objects/info/packs | 1 + .../user12/repo10.git/refs/heads/DefaultBranch | 1 + .../user12/repo10.git/refs/heads/develop | 1 + .../user12/repo10.git/refs/heads/feature/1 | 1 + .../user12/repo10.git/refs/heads/master | 1 + .../user12/repo10.git/refs/tags/v1.1 | 1 + .../gitea-repositories-meta/user13/repo11.git/HEAD | 1 + .../user13/repo11.git/config | 4 + .../user13/repo11.git/description | 1 + .../user13/repo11.git/hooks/post-receive | 7 + .../user13/repo11.git/hooks/post-receive.d/gitea | 2 + .../user13/repo11.git/hooks/pre-receive | 7 + .../user13/repo11.git/hooks/pre-receive.d/gitea | 2 + .../user13/repo11.git/hooks/update | 7 + .../user13/repo11.git/hooks/update.d/gitea | 2 + .../user13/repo11.git/info/exclude | 6 + .../user13/repo11.git/info/refs | 1 + .../0a/bcb056019adb8336cf9db3ad9d9cf80cd4b141 | Bin 0 -> 818 bytes .../2a/2f1d4670728a2e10049e345bd7a276468beab6 | Bin 0 -> 54 bytes .../4b/4851ad51df6a7d9f25c979345979eaeb5b349f | Bin 0 -> 42 bytes .../65/f1bf27bc3bf70f64657658635e66094edbcb4d | Bin 0 -> 150 bytes .../75/d1afd00e111c8dbd9e3d96a27b431ac5ae6d74 | Bin 0 -> 44 bytes .../ed/447543e0c85d628b91f7f466f4921908f4c5ea | Bin 0 -> 54 bytes .../user13/repo11.git/objects/info/packs | 1 + .../user13/repo11.git/refs/heads/DefaultBranch | 1 + .../user13/repo11.git/refs/heads/branch2 | 1 + .../user13/repo11.git/refs/heads/develop | 1 + .../user13/repo11.git/refs/heads/feature/1 | 1 + .../user13/repo11.git/refs/heads/master | 1 + .../user13/repo11.git/refs/tags/v1.1 | 1 + .../user2/commits_search_test.git/HEAD | 1 + .../user2/commits_search_test.git/config | 8 + .../user2/commits_search_test.git/description | 1 + .../user2/commits_search_test.git/info/exclude | 6 + .../0a/8499a22ad32a80beda9d75efe15f9f94582468 | 2 + .../0c/cf1fcd4d1717c22de0707619a5577ea0acebf0 | Bin 0 -> 32 bytes .../3e/a192a6466793d4b7cd8641801ca0c6bec3979c | Bin 0 -> 54 bytes .../3f/6594f108842b7c50772510e53ce113d3583c4a | Bin 0 -> 54 bytes .../58/e97d1a24fb9e1599d8a467ec409430f3d3569e | Bin 0 -> 154 bytes .../67/68c1fc1d9448422f05cc84267d94ee62085fe8 | Bin 0 -> 54 bytes .../6e/8eabd9a7f8d6acd2a1219facfd37415564b144 | 2 + .../85/f46d747a68adf79cc01e2c25ba6a56932d298d | Bin 0 -> 32 bytes .../8d/dd8d1ad1fdc21ab629e906711fa9bc27aa1c52 | Bin 0 -> 32 bytes .../95/fd0c4138480e4b3913e7cf71a90623fb926fe8 | Bin 0 -> 32 bytes .../98/00fe78cabf4fe774fcf376f97fa2a0ed06987b | Bin 0 -> 149 bytes .../9f/cdb7d53bdef786d2e5577948a0c0d4b321fe5a | Bin 0 -> 32 bytes .../c2/0caf78b5f9dd2d0d183876c5cd0e761c13f7f8 | 2 + .../c5/2ba74685f5c8c593efbbb38f62fe024110adef | Bin 0 -> 54 bytes .../d6/ae8023a10ff446b6a4e7f441554834008e99c3 | Bin 0 -> 54 bytes .../user2/commits_search_test.git/packed-refs | 2 + .../commits_search_test.git/refs/heads/master | 1 + .../user2/commitsonpr.git/HEAD | 1 + .../user2/commitsonpr.git/config | 4 + .../user2/commitsonpr.git/description | 1 + .../user2/commitsonpr.git/info/exclude | 6 + .../user2/commitsonpr.git/info/refs | 3 + .../user2/commitsonpr.git/logs/HEAD | 1 + .../user2/commitsonpr.git/logs/refs/heads/branch1 | 1 + .../user2/commitsonpr.git/logs/refs/heads/main | 1 + .../0a/6dda431c72a6a4aac05b98e319972a1a55e01c | Bin 0 -> 32 bytes .../0c/396a509b64fd4e2e55649d100b86e8b96cc0e5 | Bin 0 -> 32 bytes .../10/0ef49565829e7bd83057d2dab88f58b00db831 | Bin 0 -> 271 bytes .../10/9ab1c0b84e088d7edcf018379518b49361f285 | Bin 0 -> 32 bytes .../19/78192d98bb1b65e11c2cf37da854fbf94bffd6 | Bin 0 -> 162 bytes .../1e/67d753ac1f9097eff26f9d33eb80182344b72c | Bin 0 -> 87 bytes .../23/576dd018294e476c06e569b6b0f170d0558705 | 2 + .../28/16bffda09c0f23775ea4be279de004d28a3803 | Bin 0 -> 245 bytes .../35/f03b5e176ee6d24c86b5cca7009a5b0ba2a026 | Bin 0 -> 32 bytes .../38/cdad2e40c989aabab3f2d0a27faf0f7be617d5 | Bin 0 -> 167 bytes .../3e/64625bd6eb5bcba69ac97de6c8f507402df861 | Bin 0 -> 162 bytes .../4b/860706d3eec5858324d4ba00db0423ca4cbf50 | Bin 0 -> 54 bytes .../4c/a8bcaf27e28504df7bf996819665986b01c847 | Bin 0 -> 163 bytes .../52/84ca7f5757816e67c098224a8367aa2544222d | Bin 0 -> 193 bytes .../53/9a24812705f77484568e6ad7db84764c1903c8 | Bin 0 -> 32 bytes .../70/8605e8984e7fb9be58818e0e6d9f21bcefd63e | Bin 0 -> 33 bytes .../74/7ddb3506a4fa04a7747808eb56ae16f9e933dc | Bin 0 -> 162 bytes .../7e/d1d42eda9110676d5c3a7721965d6ed1afe83c | Bin 0 -> 324 bytes .../81/1d46c7e518f4f180afb862c0db5cb8c80529ce | 2 + .../83/2d33e438d2b4a86fba81cb67b32d1d61a828cb | Bin 0 -> 32 bytes .../83/7d5c8125633d7d258f93b998e867eab0145520 | 3 + .../87/cdc1333f5f117a92f3cef78ebe0301114b3610 | 2 + .../92/70b08497106eaa65fce8aa91f37c4780f76909 | Bin 0 -> 140 bytes .../96/cef4a7b72b3c208340ae6f0cf55a93e9077c93 | Bin 0 -> 163 bytes .../97/0c5deb117526983f554eaaa1b59102d3e3e0f7 | Bin 0 -> 32 bytes .../c5/626fc9eff57eb1bb7b796b01d4d0f2f3f792a2 | 2 + .../c7/04db5794097441aa2d9dd834d5b7e2f8f08108 | Bin 0 -> 163 bytes .../cb/ff181af4c9c7fee3cf6c106699e07d9a3f54e6 | Bin 0 -> 128 bytes .../d1/8e427f4011e74e96a31823c938be26eebab53b | Bin 0 -> 114 bytes .../d2/5795e38fbc1b4839697e834b957d61c83d994f | Bin 0 -> 32 bytes .../d6/6f456f0813a5841fbc03e5f1c47304dc675695 | Bin 0 -> 32 bytes .../e1/7e0fa20f3d2125916f2fb2f51f19240678cb83 | Bin 0 -> 219 bytes .../ec/d9fdda5c814055ee619513e1c388ba1bbcb280 | Bin 0 -> 32 bytes .../user2/commitsonpr.git/objects/info/packs | 1 + .../user2/commitsonpr.git/refs/heads/branch1 | 1 + .../user2/commitsonpr.git/refs/heads/main | 1 + .../user2/commitsonpr.git/refs/heads/master | 1 + .../user2/commitsonpr.git/refs/pull/1/head | 1 + .../user2/git_hooks_test.git/HEAD | 1 + .../user2/git_hooks_test.git/config | 4 + .../user2/git_hooks_test.git/description | 1 + .../user2/git_hooks_test.git/hooks/post-receive | 7 + .../git_hooks_test.git/hooks/post-receive.d/gitea | 2 + .../user2/git_hooks_test.git/hooks/pre-receive | 7 + .../git_hooks_test.git/hooks/pre-receive.d/gitea | 2 + .../hooks/pre-receive.d/pre-receive | 3 + .../user2/git_hooks_test.git/hooks/update | 7 + .../user2/git_hooks_test.git/hooks/update.d/gitea | 2 + .../user2/git_hooks_test.git/info/exclude | 6 + .../user2/git_hooks_test.git/info/refs | 1 + .../2a/2f1d4670728a2e10049e345bd7a276468beab6 | Bin 0 -> 54 bytes .../4b/4851ad51df6a7d9f25c979345979eaeb5b349f | Bin 0 -> 42 bytes .../65/f1bf27bc3bf70f64657658635e66094edbcb4d | Bin 0 -> 150 bytes .../user2/git_hooks_test.git/objects/info/packs | 1 + .../git_hooks_test.git/refs/heads/DefaultBranch | 1 + .../user2/git_hooks_test.git/refs/heads/develop | 1 + .../user2/git_hooks_test.git/refs/heads/feature/1 | 1 + .../user2/git_hooks_test.git/refs/heads/master | 1 + .../user2/git_hooks_test.git/refs/tags/v1.1 | 1 + tests/gitea-repositories-meta/user2/glob.git/HEAD | 1 + .../gitea-repositories-meta/user2/glob.git/config | 4 + .../user2/glob.git/description | 1 + .../user2/glob.git/info/exclude | 6 + .../48/06cb9df135782b818c968c2fadbd2c150d23d6 | Bin 0 -> 21 bytes .../59/fee614e09d1f1cd1e15e4b2a7e9c8873a81498 | Bin 0 -> 34 bytes .../7c/8ac2f8d82a1eb5f6aaece6629ff11015f91eb4 | Bin 0 -> 21 bytes .../8e/592e636d27ac144f92f7fe8c33631cbdea594d | Bin 0 -> 78 bytes .../95/aff026f99a9ab76fbd01decb63dd3dbc03e498 | Bin 0 -> 34 bytes .../ae/d1ffed24cc3cf9b80490795e893cae4bddd684 | Bin 0 -> 108 bytes .../bf/d6a6583f9a9ac59bd726c1df26c64a89427ede | Bin 0 -> 21 bytes .../c8/eb3b6c767ccb68411d0a1f6c769be69fb4d95a | 1 + .../de/6be43fe8eb19ca3f4e934cb8b9a9a0b20fe865 | Bin 0 -> 50 bytes .../ef/6b814b610d8e7717aa0f71fbe5842bcf814697 | 2 + .../user2/glob.git/refs/heads/master | 1 + tests/gitea-repositories-meta/user2/lfs.git/HEAD | 1 + tests/gitea-repositories-meta/user2/lfs.git/config | 4 + .../15/2de0f78bc6815b58cd9f08aebe3f66fb0f172e | Bin 0 -> 228 bytes .../23/10e4a07f9314a1a92fdfbdcd3d2884f01e96ab | Bin 0 -> 123 bytes .../2b/6c6c4eaefa24b22f2092c3d54b263ff26feb58 | Bin 0 -> 122 bytes .../30/77e1c4c8964613df72c37d14275c1eda5228a9 | 2 + .../6b/bc79965141058b0026f2064dfb6d2eae3c4540 | Bin 0 -> 259 bytes .../73/cf03db6ece34e12bf91e8853dc58f678f2f82d | 2 + .../74/21a018a7e3f15ee5691f162d0ed87dc19882f0 | Bin 0 -> 123 bytes .../82/76d2a29779af982c0afa976bdb793b52d442a8 | Bin 0 -> 38 bytes .../b0/89e97ee59224e8c5676673c096ee4b6a8b9342 | Bin 0 -> 123 bytes .../bc/e50ea8f203ee923d5a640d05208abf3206486e | Bin 0 -> 92 bytes .../d4/a41a0d4db4949e129bd22f871171ea988103ef | Bin 0 -> 123 bytes .../d7/ce0013ced38b0696dd2d68d69a5d8b652f7148 | Bin 0 -> 55 bytes .../df/d8105b264d304c49ed9f1d56bd90189ecdf833 | Bin 0 -> 75 bytes .../e9/c32647bab825977942598c0efa415de300304b | Bin 0 -> 170 bytes .../user2/lfs.git/refs/heads/master | 1 + .../user2/readme-test.git/HEAD | 1 + .../user2/readme-test.git/config | 4 + .../user2/readme-test.git/info/exclude | 6 + .../user2/readme-test.git/info/refs | 21 + .../12/11481f7314efbfe4e44703170d96c8fac8172b | Bin 0 -> 169 bytes .../17/2343566bf11fc71ba4acf8d2ea70d12bc1d037 | Bin 0 -> 214 bytes .../1a/48cae3f18ccd9c929e6608f67087dbaac3cf9e | Bin 0 -> 167 bytes .../1e/1e08102cf1b1fc01c069c88ee75445974363ab | Bin 0 -> 83 bytes .../21/470f9b3e8ff24e0fa083d2dbc447f4c3401355 | 2 + .../23/65bfe0c5714e2e3f2d53bb302b10d8d5b4fc7d | Bin 0 -> 175 bytes .../38/9d08c6a71d024a91f14089007cd789cd977ca6 | Bin 0 -> 48 bytes .../3a/a8f4e0e1a535f0f9e0ae40e6ec1bce42642bc4 | Bin 0 -> 140 bytes .../3b/23d7f1a9cb904cb46f5f2272bfa5ed5f871fb9 | 1 + .../50/6ff7310f420e878595b4bc8f11688e3f0ae14e | Bin 0 -> 166 bytes .../58/3eb775c596858380273492759d39081d65d029 | Bin 0 -> 169 bytes .../60/ea618ae7d4ecbe9c1962591c7da1b05bb1a5c8 | 3 + .../6a/b05db4c52530726c1856eb558228e9d1949e7f | Bin 0 -> 169 bytes .../71/60a063b5544b5a78131b94f47bfd200046eda2 | Bin 0 -> 167 bytes .../75/6c70c97047d8aeb11ca3c71edd9fb76cefee9c | Bin 0 -> 28 bytes .../7f/2b9f991d99362eb827b67f4ae2f5fbc5fa2271 | Bin 0 -> 211 bytes .../7f/792e709143fb0f021da2371e5f40d1bcc284fd | Bin 0 -> 166 bytes .../82/817856dadc7f6b944633e1b77d5b6e302dde06 | Bin 0 -> 51 bytes .../8b/4149e7dede3cd53ba11c64c88b057c5fe2c200 | Bin 0 -> 169 bytes .../93/54813d81053c14afe878a9f056b937ec42bb48 | Bin 0 -> 28 bytes .../9c/72c10e55e7d6ea21f591aa424e2625e8ad8094 | Bin 0 -> 136 bytes .../a3/cd04bb110e17591ac04e156c7df2c2f5c96fa6 | Bin 0 -> 82 bytes .../b0/e851a5619e2d6cee1da25a15ab67305f0861ec | Bin 0 -> 76 bytes .../b4/4c8eb00bdaf0522de61e591fee5f66851ef4b5 | Bin 0 -> 112 bytes .../b8/eaa80ad86072e1f23d2638842154ce9aceff8d | Bin 0 -> 77 bytes .../d5/34f914944c3c943a6bdb677d869ac54934928d | Bin 0 -> 31 bytes .../e2/f9904cd97b4045feecfffef5a426e9461bee70 | Bin 0 -> 117 bytes .../e3/a6fd8fe49e323ee10017f72b777a53fbd8076f | 3 + .../e7/bf02fcfa7a86f7fe9e8158b55d58ddf9d877ec | Bin 0 -> 171 bytes .../ea/57c91ddb8b4ac705b5ac4c34c7a48f2d0fc180 | Bin 0 -> 77 bytes .../fe/495ea336f079ef2bed68648d0ba9a37cdbd4aa | Bin 0 -> 197 bytes .../readme-test.git/objects/info/commit-graph | Bin 0 -> 2612 bytes .../user2/readme-test.git/objects/info/packs | 2 + ...8933bd634b76f8154310cccb52537a0195e43166.bitmap | Bin 0 -> 1642 bytes ...ck-8933bd634b76f8154310cccb52537a0195e43166.idx | Bin 0 -> 4012 bytes ...k-8933bd634b76f8154310cccb52537a0195e43166.pack | Bin 0 -> 7854 bytes .../user2/readme-test.git/packed-refs | 22 + .../refs/heads/fallbacks-broken-symlinks | 1 + .../user2/repo-release.git/HEAD | 1 + .../user2/repo-release.git/config | 4 + .../user2/repo-release.git/description | 1 + .../user2/repo-release.git/info/exclude | 6 + .../08/9ba8b2f324d89b74f6853374a0476b312a46f6 | Bin 0 -> 54 bytes .../18/4288e5acffbcb17160b990e8efe83b12dfaaba | Bin 0 -> 127 bytes .../24/3cdd85d09ce4104855edf219c05b74c65350fc | Bin 0 -> 85 bytes .../43/80f99290b2b3922733ff82c57afad915ace907 | Bin 0 -> 158 bytes .../6d/fe48a18ce2fb47d3a75e13c7ab35f935077535 | Bin 0 -> 50 bytes .../71/97b56fdc75b453f47c9110938cb46a303579fd | Bin 0 -> 153 bytes .../79/f9d88f1b054d650f88da0bd658e21f7b0cf6ec | Bin 0 -> 156 bytes .../7c/055ef1678b03b831bbe7b9ca5aed33b1a8dea0 | Bin 0 -> 53 bytes .../80/abeef37c96b85b83a916f5f295f04f4d380a42 | Bin 0 -> 85 bytes .../a8/a700e8c644c783ba2c6e742bb81bf91e244bff | Bin 0 -> 153 bytes .../bc/7068d1eb2f93a04e3ec73521473444ceec0961 | Bin 0 -> 58 bytes .../c4/a4e1a72a2098d687b4280e7c6972280c1f9c39 | Bin 0 -> 166 bytes .../cd/7f28e1b404377eadbe0d54234ba861883e6930 | Bin 0 -> 96 bytes .../ce/f06e48f2642cd0dc9597b4bea09f4b3f74aad6 | Bin 0 -> 159 bytes .../d0/718fe871fbb54da104ff201f75f62a6ced2e29 | Bin 0 -> 54 bytes .../d4/613f8dad1fa61e415922f6eb33244358fca85d | Bin 0 -> 84 bytes .../dd/5488178fc8a5c62430b3fb3017203b917b95ab | Bin 0 -> 38 bytes .../e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 | Bin 0 -> 15 bytes .../ef/3c849ed54b22bb1f500da91b789c40cb0915da | Bin 0 -> 97 bytes .../f3/f1c90ac949aa1b0f129d30f338d408663c8a83 | 2 + .../f9/3e3a1a1525fb5b91020da86e44810c87a2d7bc | Bin 0 -> 54 bytes .../user2/repo-release.git/refs/heads/main | 1 + .../user2/repo-release.git/refs/heads/master | 1 + .../user2/repo-release.git/refs/tags/v1.0 | 1 + .../user2/repo-release.git/refs/tags/v1.1 | 1 + .../user2/repo-release.git/refs/tags/v2.0 | 1 + tests/gitea-repositories-meta/user2/repo1.git/HEAD | 1 + .../gitea-repositories-meta/user2/repo1.git/config | 4 + .../user2/repo1.git/description | 1 + .../user2/repo1.git/hooks/post-receive | 7 + .../user2/repo1.git/hooks/post-receive.d/gitea | 2 + .../user2/repo1.git/hooks/pre-receive | 7 + .../user2/repo1.git/hooks/pre-receive.d/gitea | 2 + .../user2/repo1.git/hooks/proc-receive | 7 + .../user2/repo1.git/hooks/proc-receive.d/gitea | 2 + .../user2/repo1.git/hooks/update | 7 + .../user2/repo1.git/hooks/update.d/gitea | 2 + .../user2/repo1.git/info/exclude | 6 + .../user2/repo1.git/info/refs | 3 + .../00/750edc07d6415dcc07ae0351e9397b0222b7ba | Bin 0 -> 17 bytes .../16/633238d370a441f98dca532e4296a619c4c85f | Bin 0 -> 47 bytes .../2a/2f1d4670728a2e10049e345bd7a276468beab6 | Bin 0 -> 54 bytes .../3f/a2f829675543ecfc16b2891aebe8bf0608a8f4 | Bin 0 -> 138 bytes .../40/3d76c604cb569323864e06a07b85d466924802 | Bin 0 -> 68 bytes .../46/49299398e4d39a5c09eb4f534df6f1e1eb87cc | 4 + .../4a/357436d925b5c974181ff12a994538ddc5a269 | Bin 0 -> 840 bytes .../4b/4851ad51df6a7d9f25c979345979eaeb5b349f | Bin 0 -> 42 bytes .../5c/050d3b6d2db231ab1f64e324f1b6b9a0b181c2 | Bin 0 -> 833 bytes .../5f/22f7d0d95d614d25a5b68592adb345a4b5c7fd | Bin 0 -> 185 bytes .../62/fb502a7172d4453f0322a2cc85bddffa57f07a | Bin 0 -> 839 bytes .../65/f1bf27bc3bf70f64657658635e66094edbcb4d | Bin 0 -> 150 bytes .../6a/a3a5385611c5eb8986c9961a9c34a93cbaadfb | Bin 0 -> 86 bytes .../78/fb907e3a3309eae4fe8fef030874cebbf1cd5e | Bin 0 -> 158 bytes .../7c/4df115542e05c700f297519e906fd63c9c9804 | Bin 0 -> 54 bytes .../90/dcd07da077d1e7cd6032b52d1f79ae2b5f19b2 | 2 + .../94/922e1295c678267de1193b7b84ad8a086c27f9 | Bin 0 -> 54 bytes .../98/5f0301dba5e7b34be866819cd15ad3d8f508ee | Bin 0 -> 842 bytes .../a6/9277c81e90b98a7c0ab25b042a6e296da8eb9a | Bin 0 -> 76 bytes .../a7/57c0ea621e63d0fd6fc353a175fdc7199e5d1d | Bin 0 -> 61 bytes .../b2/60587271671842af0b036e4fe643c9d45b7ddd | Bin 0 -> 20 bytes .../d4/a1a6dcf7bd42891f264d484e80dac7e66b5410 | Bin 0 -> 34 bytes .../d7/bd5b8cfb680f460e37b6fd7cf74c284e059118 | Bin 0 -> 85 bytes .../dc/7a8ba127fee870dd683310ce660dfe59333a1b | Bin 0 -> 78 bytes .../dd/59742c0f6672911f2b64cba5711ac00593ed32 | Bin 0 -> 118 bytes .../f3/fa0f5cc797fc4c02a1b8bec9de4b2072fcdbdf | Bin 0 -> 53 bytes .../user2/repo1.git/objects/info/packs | 1 + .../user2/repo1.git/refs/heads/DefaultBranch | 1 + .../user2/repo1.git/refs/heads/branch2 | 1 + .../user2/repo1.git/refs/heads/develop | 1 + .../user2/repo1.git/refs/heads/feature/1 | 1 + .../user2/repo1.git/refs/heads/home-md-img-check | 1 + .../user2/repo1.git/refs/heads/master | 1 + .../user2/repo1.git/refs/heads/pr-to-update | 1 + .../repo1.git/refs/heads/sub-home-md-img-check | 1 + .../user2/repo1.git/refs/notes/commits | 1 + .../user2/repo1.git/refs/pull/2/head | 1 + .../user2/repo1.git/refs/pull/3/head | 1 + .../user2/repo1.git/refs/pull/5/head | 1 + .../user2/repo1.git/refs/tags/v1.1 | 1 + .../user2/repo1.wiki.git/HEAD | 1 + .../user2/repo1.wiki.git/config | 4 + .../user2/repo1.wiki.git/description | 1 + .../user2/repo1.wiki.git/info/exclude | 6 + .../0c/f15c3f66ec8384480ed9c3cf87c9e97fbb0ec3 | 2 + .../0d/ca5bd9b5d7ef937710e056f575e86c0184ba85 | Bin 0 -> 820 bytes .../2c/54faec6c45d31c1abfaecdab471eac6633738a | Bin 0 -> 131 bytes .../32/5dc4f8e9344e6668f21536a69d5f1d4ed53ca3 | Bin 0 -> 63 bytes .../42/3313fbd38093bb10d0c8387db9105409c6f196 | Bin 0 -> 830 bytes .../53/0ab3e043bf2295fd1cec3129bf203a4349597a | Bin 0 -> 236 bytes .../71/911bf48766c7181518c1070911019fbb00b1fc | 1 + .../72/fc6251cc648e914c10009d31431fa2e38b9a20 | Bin 0 -> 94 bytes .../74/d5a0d73db9b9ef7aa9978eb7a099b08f54d45e | Bin 0 -> 53 bytes .../7c/d7c8fa852973c72c66eb120a6677c54a8697f7 | Bin 0 -> 95 bytes .../89/43a1d5f93c00439d5ffc0f8e36f5d60abae46c | Bin 0 -> 206 bytes .../bf/29486462016efad8872371078932d8c2cb5253 | Bin 0 -> 1075 bytes .../c0/b5b381e2df9f66d11e8c95fe7467b8fb7f3e4e | Bin 0 -> 1064 bytes .../c1/0d10b7e655b3dab1f53176db57c8219a5488d6 | 2 + .../c4/b38c3e1395393f75bbbc2ed10c7eeb577d3b64 | Bin 0 -> 189 bytes .../d4/9ac742d44063dcf69d4e0afe725813b777dd89 | 1 + .../e5/3d079e581fbfdea1075a54d5b621eab0090e52 | Bin 0 -> 52 bytes .../ea/82fc8777a24b07c26b3a4bf4e2742c03733eab | Bin 0 -> 44 bytes .../f5/05ec9b5c7a45a10259c1dda7f18434e5d55940 | Bin 0 -> 157 bytes .../user2/repo1.wiki.git/refs/heads/master | 1 + .../gitea-repositories-meta/user2/repo15.git/HEAD | 1 + .../user2/repo15.git/config | 4 + .../user2/repo15.git/description | 1 + .../user2/repo15.git/hooks/post-receive | 7 + .../user2/repo15.git/hooks/post-receive.d/gitea | 2 + .../user2/repo15.git/hooks/pre-receive | 7 + .../user2/repo15.git/hooks/pre-receive.d/gitea | 2 + .../user2/repo15.git/hooks/update | 7 + .../user2/repo15.git/hooks/update.d/gitea | 2 + .../user2/repo15.git/info/exclude | 6 + .../gitea-repositories-meta/user2/repo16.git/HEAD | 1 + .../user2/repo16.git/config | 4 + .../user2/repo16.git/description | 1 + .../user2/repo16.git/info/exclude | 6 + .../0c/3d59dea27b97aa3cb66072745d7a2c51a7a8b1 | Bin 0 -> 54 bytes .../24/f83a471f77579fea57bac7255d6e64e70fce1c | Bin 0 -> 54 bytes .../27/566bd5738fc8b4e3fef3c5e72cce608537bd95 | Bin 0 -> 575 bytes .../3b/2b54fe3d9a8279d5b926124dccdf279b8eff2f | 1 + .../45/8121ce9a6b855c9733bae62093caf3f39685de | Bin 0 -> 26 bytes .../50/99b81332712fe655e34e8dd63574f503f61811 | 2 + .../69/554a64c1e6030f051e5c3f94bfbd773cd6a324 | Bin 0 -> 158 bytes .../a4/3476a501516e065c5a82f05fd58fd319598bc1 | Bin 0 -> 57 bytes .../e9/4083fcdf1f10c545e9253a23c5e44a2ff68aac | Bin 0 -> 524 bytes .../f2/7c2b2b03dcab38beaf89b0ab4ff61f6de63441 | Bin 0 -> 522 bytes .../f9/0451c72ef61a7645293d17b47be7a8e983da57 | Bin 0 -> 27 bytes .../user2/repo16.git/refs/heads/good-sign | 1 + .../refs/heads/good-sign-not-yet-validated | 1 + .../user2/repo16.git/refs/heads/master | 1 + .../user2/repo16.git/refs/heads/not-signed | 1 + tests/gitea-repositories-meta/user2/repo2.git/HEAD | 1 + .../gitea-repositories-meta/user2/repo2.git/config | 4 + .../user2/repo2.git/description | 1 + .../user2/repo2.git/info/exclude | 6 + .../user2/repo2.git/info/refs | 1 + .../0a/7d8b41ae9763e9a1743917396839d1791d49d0 | Bin 0 -> 188 bytes .../0c/f15c3f66ec8384480ed9c3cf87c9e97fbb0ec3 | 2 + .../10/32bbf17fbc0d9c95bb5418dabe8f8c99278700 | 2 + .../1c/887eaa8d81fa86da7695d8f635cf17813eb422 | 1 + .../26/f842bcad37fa40a1bb34cbb5ee219ee35d863d | Bin 0 -> 75 bytes .../32/5dc4f8e9344e6668f21536a69d5f1d4ed53ca3 | Bin 0 -> 63 bytes .../36/fff01c8c9f722d49d53186abd27b5be8d85338 | Bin 0 -> 155 bytes .../42/3313fbd38093bb10d0c8387db9105409c6f196 | Bin 0 -> 830 bytes .../71/911bf48766c7181518c1070911019fbb00b1fc | 1 + .../72/fc6251cc648e914c10009d31431fa2e38b9a20 | Bin 0 -> 94 bytes .../74/d5a0d73db9b9ef7aa9978eb7a099b08f54d45e | Bin 0 -> 53 bytes .../7c/d7c8fa852973c72c66eb120a6677c54a8697f7 | Bin 0 -> 95 bytes .../ba/1aed4e2ea2443d76cec241b96be4ec990852ec | Bin 0 -> 117 bytes .../c1/0d10b7e655b3dab1f53176db57c8219a5488d6 | 2 + .../c4/b38c3e1395393f75bbbc2ed10c7eeb577d3b64 | Bin 0 -> 189 bytes .../f5/05ec9b5c7a45a10259c1dda7f18434e5d55940 | Bin 0 -> 157 bytes .../user2/repo2.git/objects/info/commit-graph | Bin 0 -> 1212 bytes .../user2/repo2.git/objects/info/packs | 2 + ...a2f7ad943b3d857eb3ebdb4b35eeef38f63cf5d2.bitmap | Bin 0 -> 248 bytes ...ck-a2f7ad943b3d857eb3ebdb4b35eeef38f63cf5d2.idx | Bin 0 -> 1240 bytes ...k-a2f7ad943b3d857eb3ebdb4b35eeef38f63cf5d2.pack | Bin 0 -> 637 bytes .../user2/repo2.git/packed-refs | 2 + .../user2/repo2.git/refs/heads/master | 1 + .../user2/repo2.git/refs/tags/v1.1 | 1 + .../gitea-repositories-meta/user2/repo20.git/HEAD | 1 + .../user2/repo20.git/config | 4 + .../user2/repo20.git/description | 1 + .../user2/repo20.git/hooks/post-receive | 15 + .../user2/repo20.git/hooks/post-receive.d/gitea | 2 + .../user2/repo20.git/hooks/pre-receive | 15 + .../user2/repo20.git/hooks/pre-receive.d/gitea | 2 + .../user2/repo20.git/hooks/update | 14 + .../user2/repo20.git/hooks/update.d/gitea | 2 + .../user2/repo20.git/info/exclude | 6 + .../user2/repo20.git/info/refs | 1 + .../02/15cbe13d2695a2c3464ab5e59f47f37c3ff5d5 | Bin 0 -> 21 bytes .../05/81d7edf45206787ff93956ea892e8a2ae77604 | Bin 0 -> 47 bytes .../07/0b2e783a6b3e521a23fdead377a3e41a04410d | Bin 0 -> 128 bytes .../1b/271d83842d348b1ee71d8e6ead400aaeb4d1b5 | Bin 0 -> 19 bytes .../29/5ba6ac57fdd46f62a51272f40e60b6dea697b2 | Bin 0 -> 21 bytes .../2c/ec0f7069ed09d934e904c49f414d8bdf818ce4 | Bin 0 -> 49 bytes .../41/4a282859758ba7b159bfbd9c2b193eb8f135ee | Bin 0 -> 18 bytes .../79/adb592126eddce5f656f56db797910db025af0 | Bin 0 -> 165 bytes .../80/8038d2f71b0ab020991439cffd24309c7bc530 | Bin 0 -> 138 bytes .../83/70977f63979e140b6b58992b1fdb4098b24cd9 | Bin 0 -> 104 bytes .../8b/abce967f21b9dfa6987f943b91093dac58a4f0 | 1 + .../8c/e1dee41e1a3700819a9a309f275f8dc7b7e0b6 | Bin 0 -> 154 bytes .../a4/202876cd8bbc3f38b7d99594edbe1bb7f97a6f | Bin 0 -> 191 bytes .../b0/246d5964a3630491bd06c756be46513e3d7035 | Bin 0 -> 21 bytes .../b6/7e43a07d48243a5f670ace063acd5e13f719df | Bin 0 -> 173 bytes .../ba/3aeafe10402c6b29535a58d91def7e43638d9d | Bin 0 -> 22 bytes .../c5/0ac6b9e25abb8200bb377755367d7265c581cf | Bin 0 -> 75 bytes .../c8/e31bc7688741a5287fcde4fbb8fc129ca07027 | 2 + .../ce/013625030ba8dba906f756967f9e9ca394464a | Bin 0 -> 21 bytes .../cf/e3b3c1fd36fba04f9183287b106497e1afe986 | 3 + .../db/89c972fc57862eae378f45b74aca228037d415 | Bin 0 -> 18 bytes .../ea/f5f7510320b6a327fb308379de2f94d8859a54 | Bin 0 -> 30 bytes .../user2/repo20.git/objects/info/packs | 1 + .../user2/repo20.git/refs/heads/add-csv | 1 + .../user2/repo20.git/refs/heads/master | 1 + .../user2/repo20.git/refs/heads/remove-files-a | 1 + .../user2/repo20.git/refs/heads/remove-files-b | 1 + .../gitea-repositories-meta/user2/repo59.git/HEAD | 1 + .../user2/repo59.git/config | 4 + .../user2/repo59.git/description | 1 + .../user2/repo59.git/info/exclude | 6 + .../user2/repo59.git/objects/info/commit-graph | Bin 0 -> 1292 bytes .../user2/repo59.git/objects/info/packs | 2 + ...ck-6dd3a6fe138f1d77e14c2e6b8e6c41e5ae242adf.idx | Bin 0 -> 1660 bytes ...k-6dd3a6fe138f1d77e14c2e6b8e6c41e5ae242adf.pack | Bin 0 -> 6316 bytes ...ck-6dd3a6fe138f1d77e14c2e6b8e6c41e5ae242adf.rev | Bin 0 -> 136 bytes .../user2/repo59.git/packed-refs | 4 + .../user2/test_commit_revert.git/HEAD | 1 + .../user2/test_commit_revert.git/config | 8 + .../user2/test_commit_revert.git/description | 1 + .../user2/test_commit_revert.git/info/exclude | 6 + ...ck-91200c8e6707636a6cc3e0d8101fba08b19dcb91.idx | Bin 0 -> 1268 bytes ...k-91200c8e6707636a6cc3e0d8101fba08b19dcb91.pack | Bin 0 -> 609 bytes .../user2/test_commit_revert.git/packed-refs | 3 + .../user2/test_commit_revert.git/refs/heads/main | 1 + .../user2/test_workflows.git/HEAD | 1 + .../user2/test_workflows.git/config | 4 + .../user2/test_workflows.git/description | 1 + .../user2/test_workflows.git/info/exclude | 6 + .../26/c8f930a36802d9cfb9785ca88704b1f52347aa | Bin 0 -> 51 bytes .../2d/7f57e0a452699a5d2da0e42dcb2375de546c0a | Bin 0 -> 62 bytes .../2d/89b2afa3e19e924330b4307a181714a4179010 | Bin 0 -> 423 bytes .../4b/825dc642cb6eb9a060e54bf8d69288fbee4904 | Bin 0 -> 15 bytes .../77/4f93df12d14931ea93259ae93418da4482fcc1 | Bin 0 -> 333 bytes .../96/63cd4783a54f3e57b2dd908b077cf8126c826c | Bin 0 -> 50 bytes .../user2/test_workflows.git/packed-refs | 3 + tests/gitea-repositories-meta/user2/utf8.git/HEAD | 1 + .../gitea-repositories-meta/user2/utf8.git/config | 4 + .../user2/utf8.git/description | 1 + .../user2/utf8.git/hooks/post-receive | 7 + .../user2/utf8.git/hooks/post-receive.d/gitea | 2 + .../user2/utf8.git/hooks/pre-receive | 7 + .../user2/utf8.git/hooks/pre-receive.d/gitea | 2 + .../user2/utf8.git/hooks/update | 7 + .../user2/utf8.git/hooks/update.d/gitea | 2 + .../user2/utf8.git/info/exclude | 6 + .../user2/utf8.git/info/refs | 9 + .../14/c42687126acae9d1ad41d7bdb528f811065a6a | Bin 0 -> 39 bytes .../1d/5e00f305a7ca6a8a94e65456820a6d260adab8 | Bin 0 -> 127 bytes .../28/d579e4920fbf4f66e71dab3e779d9fbf41422a | 3 + .../3a/810dbf6b96afaa8c5f69a8b6ec1dabfca7368b | Bin 0 -> 176 bytes .../3a/a73c3499bff049a352b4e265575373e964b89a | Bin 0 -> 137 bytes .../3a/c6084110205f98174c4f1ec7e78cb21a15dfc2 | Bin 0 -> 23 bytes .../4c/61dd0a799e0830e77edfe6c74f7c349bc8e62a | Bin 0 -> 40 bytes .../50/4d9fe743979d4e9785a25a363c7007293f0838 | Bin 0 -> 40 bytes .../56/92bcf9f7c9eacb1ad68442161f2573877f96f4 | Bin 0 -> 49 bytes .../59/e2c41e8f5140bb0182acebec17c8ad9831cc62 | Bin 0 -> 847 bytes .../64/89894ad11093fdc49c0ed857d80682344a7264 | Bin 0 -> 39 bytes .../6d/0c79ce3401c67d1ad522e61c47083a9fdee16c | Bin 0 -> 54 bytes .../84/7c6d93c6860dd377651245711b7fbcd34a18d4 | Bin 0 -> 41 bytes .../9b/9cc8f558d1c4f815592496fa24308ba2a9c824 | Bin 0 -> 47 bytes .../a4/f1bb3f2f8c6a0e840e935812ef4903ce515dad | Bin 0 -> 394 bytes .../a9/a61830fbf4e84999d3b20cf178954366701fe5 | Bin 0 -> 129 bytes .../c7/85b65bf16928b58567cb23669125c0ccd25a4f | Bin 0 -> 44 bytes .../e9/63733b8a355cf860c465b4af7b236a6ef08783 | Bin 0 -> 47 bytes .../eb/f146f803fccbc1471ef01d8fa0fe12c14e61a5 | 1 + .../ee/9686cb562f492f64381bff7f298b2a1c67a141 | Bin 0 -> 88 bytes .../f4/02ff67c0b3161c3988dbf6188e6e0df257fd75 | Bin 0 -> 52 bytes .../user2/utf8.git/objects/info/packs | 1 + .../utf8.git/refs/heads/Gr\303\274\303\237en" | 1 + .../user2/utf8.git/refs/heads/Plus+Is+Not+Space | 1 + .../user2/utf8.git/refs/heads/master | 1 + ...21\217\320\222\320\265\321\202\320\272\320\260" | 1 + .../refs/heads/\320\260/\320\261/\320\262" | 1 + ...43\203\226\343\203\251\343\203\263\343\203\201" | 1 + .../utf8.git/refs/tags/\320\201/\344\272\272" | 1 + .../utf8.git/refs/tags/\320\242\321\215\320\263" | 1 + .../utf8.git/refs/tags/\343\202\277\343\202\260" | 1 + .../gitea-repositories-meta/user27/repo49.git/HEAD | 1 + .../user27/repo49.git/config | 6 + .../user27/repo49.git/description | 1 + .../user27/repo49.git/hooks/post-receive | 15 + .../user27/repo49.git/hooks/post-receive.d/gitea | 2 + .../user27/repo49.git/hooks/pre-receive | 15 + .../user27/repo49.git/hooks/pre-receive.d/gitea | 2 + .../user27/repo49.git/hooks/update | 14 + .../user27/repo49.git/hooks/update.d/gitea | 2 + .../user27/repo49.git/info/exclude | 6 + .../user27/repo49.git/info/refs | 1 + .../47/34b1f84a367fa1b81c31aa4234a5bad11cafa3 | Bin 0 -> 84 bytes .../4d/31f3a12656368a8d9180f431d40d0fc408be2d | Bin 0 -> 29 bytes .../51/f84af231345367fd5d61ceb89efb3b6d757061 | Bin 0 -> 121 bytes .../79/3aa682b06ae032641abf70c5dfeade28c07c52 | Bin 0 -> 28 bytes .../aa/cbdfe9e1c4b47f60abe81849045fa4e96f1d75 | Bin 0 -> 154 bytes .../dd/392e939ea4936b2459219c9c9a1f25547ccaeb | Bin 0 -> 53 bytes .../f2/8eeca3df7614fd4f10c1030f13feb418ef3c6f | Bin 0 -> 54 bytes .../user27/repo49.git/objects/info/packs | 1 + .../user27/repo49.git/refs/heads/master | 1 + .../user27/repo49.git/refs/heads/test/archive | 1 + .../user27/template1.git/HEAD | 1 + .../user27/template1.git/config | 6 + .../user27/template1.git/description | 1 + .../user27/template1.git/hooks/post-receive | 15 + .../template1.git/hooks/post-receive.d/gitea | 2 + .../user27/template1.git/hooks/pre-receive | 15 + .../user27/template1.git/hooks/pre-receive.d/gitea | 2 + .../user27/template1.git/hooks/update | 14 + .../user27/template1.git/hooks/update.d/gitea | 2 + .../user27/template1.git/info/exclude | 6 + .../user27/template1.git/info/refs | 1 + .../2a/83b349fa234131fc5db6f2a0498d3f4d3d6038 | 2 + .../3d/0bc64f2521cfc7ffce6c175c1c846c88eb6df7 | Bin 0 -> 192 bytes .../47/34b1f84a367fa1b81c31aa4234a5bad11cafa3 | Bin 0 -> 84 bytes .../4d/31f3a12656368a8d9180f431d40d0fc408be2d | Bin 0 -> 29 bytes .../51/f84af231345367fd5d61ceb89efb3b6d757061 | Bin 0 -> 121 bytes .../79/3aa682b06ae032641abf70c5dfeade28c07c52 | Bin 0 -> 28 bytes .../83/77b2196e99ac8635aae79df3db76959ccd1094 | Bin 0 -> 53 bytes .../99/45b93bcb5b70af06e0322bd2caa6180680991f | Bin 0 -> 28 bytes .../aa/cbdfe9e1c4b47f60abe81849045fa4e96f1d75 | Bin 0 -> 154 bytes .../af/f5b10402b4e0479d1e76bc41a42d29fe7f28fa | Bin 0 -> 106 bytes .../b9/04864fd6cd0c8e9054351fd39a980bfd214229 | Bin 0 -> 90 bytes .../c5/10abf4c7c3e0dc4bf07db9344c61c4e6ee7cbc | Bin 0 -> 50 bytes .../dd/392e939ea4936b2459219c9c9a1f25547ccaeb | Bin 0 -> 53 bytes .../e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 | Bin 0 -> 15 bytes .../f2/8eeca3df7614fd4f10c1030f13feb418ef3c6f | Bin 0 -> 54 bytes .../user27/template1.git/objects/info/packs | 1 + .../user27/template1.git/refs/heads/master | 1 + .../gitea-repositories-meta/user30/empty.git/HEAD | 1 + .../user30/empty.git/config | 6 + .../user30/renderer.git/HEAD | 1 + .../user30/renderer.git/config | 6 + .../user30/renderer.git/description | 1 + .../user30/renderer.git/hooks/post-receive | 15 + .../user30/renderer.git/hooks/post-receive.d/gitea | 2 + .../user30/renderer.git/hooks/pre-receive | 15 + .../user30/renderer.git/hooks/pre-receive.d/gitea | 2 + .../user30/renderer.git/hooks/update | 14 + .../user30/renderer.git/hooks/update.d/gitea | 2 + .../user30/renderer.git/info/exclude | 6 + .../06/0d5c2acd8bf4b6f14010acd1a73d73392ec46e | Bin 0 -> 56 bytes .../45/14a93050edb2c3165bdd0a3c03be063e879e68 | Bin 0 -> 50 bytes .../c9/61cc4d1ba6b7ee1ba228a9a02b00b7746d8033 | Bin 0 -> 789 bytes .../user30/renderer.git/packed-refs | 2 + .../gitea-repositories-meta/user40/repo60.git/HEAD | 1 + .../user40/repo60.git/config | 6 + .../user40/repo60.git/description | 1 + .../user40/repo60.git/info/exclude | 6 + tests/gitea-repositories-meta/user5/repo4.git/HEAD | 1 + .../gitea-repositories-meta/user5/repo4.git/config | 4 + .../user5/repo4.git/description | 1 + .../user5/repo4.git/hooks/post-receive | 7 + .../user5/repo4.git/hooks/post-receive.d/gitea | 2 + .../user5/repo4.git/hooks/pre-receive | 7 + .../user5/repo4.git/hooks/pre-receive.d/gitea | 2 + .../user5/repo4.git/hooks/update | 7 + .../user5/repo4.git/hooks/update.d/gitea | 2 + .../user5/repo4.git/info/exclude | 6 + .../16/dfebd1ed3905d78d7e061e945fc9c34afe4e81 | Bin 0 -> 24 bytes .../c1/202ad022ae7d3a6d2474dc76d5a0c8e87cdc0f | Bin 0 -> 54 bytes .../c7/cd3cd144e6d23c9d6f3d07e52b2c1a956e0338 | Bin 0 -> 818 bytes .../user5/repo4.git/refs/heads/master | 1 + tests/integration/README.md | 123 + tests/integration/actions_commit_status_test.go | 49 + tests/integration/actions_route_test.go | 184 + tests/integration/actions_trigger_test.go | 761 + tests/integration/admin_config_test.go | 23 + tests/integration/admin_user_test.go | 91 + tests/integration/api_actions_artifact_test.go | 378 + tests/integration/api_actions_artifact_v4_test.go | 404 + tests/integration/api_activitypub_actor_test.go | 50 + tests/integration/api_activitypub_person_test.go | 116 + .../integration/api_activitypub_repository_test.go | 249 + tests/integration/api_admin_org_test.go | 91 + tests/integration/api_admin_test.go | 420 + tests/integration/api_block_test.go | 228 + tests/integration/api_branch_test.go | 268 + tests/integration/api_comment_attachment_test.go | 278 + tests/integration/api_comment_test.go | 467 + .../integration/api_feed_plain_text_titles_test.go | 43 + tests/integration/api_feed_user_test.go | 132 + tests/integration/api_forgejo_root_test.go | 21 + tests/integration/api_forgejo_version_test.go | 59 + tests/integration/api_fork_test.go | 153 + tests/integration/api_gitignore_templates_test.go | 53 + tests/integration/api_gpg_keys_test.go | 279 + tests/integration/api_health_test.go | 25 + .../integration/api_helper_for_declarative_test.go | 463 + tests/integration/api_httpsig_test.go | 142 + tests/integration/api_issue_attachment_test.go | 244 + tests/integration/api_issue_config_test.go | 211 + tests/integration/api_issue_label_test.go | 309 + tests/integration/api_issue_milestone_test.go | 86 + tests/integration/api_issue_pin_test.go | 190 + tests/integration/api_issue_reaction_test.go | 165 + tests/integration/api_issue_stopwatch_test.go | 96 + tests/integration/api_issue_subscription_test.go | 82 + tests/integration/api_issue_templates_test.go | 115 + tests/integration/api_issue_test.go | 578 + tests/integration/api_issue_tracked_time_test.go | 131 + tests/integration/api_keys_test.go | 213 + tests/integration/api_label_templates_test.go | 62 + tests/integration/api_license_templates_test.go | 55 + tests/integration/api_nodeinfo_test.go | 39 + tests/integration/api_notification_test.go | 216 + tests/integration/api_oauth2_apps_test.go | 175 + tests/integration/api_org_avatar_test.go | 77 + tests/integration/api_org_test.go | 228 + tests/integration/api_packages_alpine_test.go | 502 + tests/integration/api_packages_arch_test.go | 433 + tests/integration/api_packages_cargo_test.go | 447 + tests/integration/api_packages_chef_test.go | 562 + tests/integration/api_packages_composer_test.go | 222 + tests/integration/api_packages_conan_test.go | 793 + tests/integration/api_packages_conda_test.go | 275 + .../api_packages_container_cleanup_sha256_test.go | 238 + tests/integration/api_packages_container_test.go | 759 + tests/integration/api_packages_cran_test.go | 236 + tests/integration/api_packages_debian_test.go | 267 + tests/integration/api_packages_generic_test.go | 245 + tests/integration/api_packages_goproxy_test.go | 167 + tests/integration/api_packages_helm_test.go | 168 + tests/integration/api_packages_maven_test.go | 256 + tests/integration/api_packages_npm_test.go | 332 + tests/integration/api_packages_nuget_test.go | 763 + tests/integration/api_packages_pub_test.go | 182 + tests/integration/api_packages_pypi_test.go | 183 + tests/integration/api_packages_rpm_test.go | 462 + tests/integration/api_packages_rubygems_test.go | 398 + tests/integration/api_packages_swift_test.go | 327 + tests/integration/api_packages_test.go | 647 + tests/integration/api_packages_vagrant_test.go | 172 + tests/integration/api_private_serv_test.go | 154 + tests/integration/api_pull_commits_test.go | 46 + tests/integration/api_pull_review_test.go | 610 + tests/integration/api_pull_test.go | 349 + tests/integration/api_push_mirror_test.go | 291 + tests/integration/api_quota_management_test.go | 846 + tests/integration/api_quota_use_test.go | 1436 + tests/integration/api_releases_test.go | 473 + tests/integration/api_repo_activities_test.go | 88 + tests/integration/api_repo_archive_test.go | 65 + tests/integration/api_repo_avatar_test.go | 81 + tests/integration/api_repo_branch_test.go | 131 + tests/integration/api_repo_collaborator_test.go | 138 + tests/integration/api_repo_compare_test.go | 57 + tests/integration/api_repo_edit_test.go | 368 + tests/integration/api_repo_file_create_test.go | 312 + tests/integration/api_repo_file_delete_test.go | 167 + tests/integration/api_repo_file_get_test.go | 52 + tests/integration/api_repo_file_helpers.go | 61 + tests/integration/api_repo_file_update_test.go | 275 + tests/integration/api_repo_files_change_test.go | 311 + .../integration/api_repo_get_contents_list_test.go | 172 + tests/integration/api_repo_get_contents_test.go | 196 + tests/integration/api_repo_git_blobs_test.go | 80 + tests/integration/api_repo_git_commits_test.go | 233 + tests/integration/api_repo_git_hook_test.go | 196 + tests/integration/api_repo_git_notes_test.go | 46 + tests/integration/api_repo_git_ref_test.go | 39 + tests/integration/api_repo_git_tags_test.go | 88 + tests/integration/api_repo_git_trees_test.go | 77 + tests/integration/api_repo_hook_test.go | 45 + tests/integration/api_repo_languages_test.go | 50 + tests/integration/api_repo_lfs_locks_test.go | 181 + tests/integration/api_repo_lfs_migrate_test.go | 55 + tests/integration/api_repo_lfs_test.go | 487 + tests/integration/api_repo_raw_test.go | 40 + tests/integration/api_repo_secrets_test.go | 112 + tests/integration/api_repo_tags_test.go | 123 + tests/integration/api_repo_teams_test.go | 82 + tests/integration/api_repo_test.go | 766 + tests/integration/api_repo_topic_test.go | 194 + tests/integration/api_repo_variables_test.go | 149 + tests/integration/api_settings_test.go | 64 + tests/integration/api_team_test.go | 321 + tests/integration/api_team_user_test.go | 49 + tests/integration/api_token_test.go | 565 + tests/integration/api_twofa_test.go | 82 + tests/integration/api_user_avatar_test.go | 77 + tests/integration/api_user_email_test.go | 129 + tests/integration/api_user_follow_test.go | 121 + tests/integration/api_user_heatmap_test.go | 39 + tests/integration/api_user_info_test.go | 70 + tests/integration/api_user_org_perm_test.go | 153 + tests/integration/api_user_orgs_test.go | 132 + tests/integration/api_user_search_test.go | 145 + tests/integration/api_user_secrets_test.go | 101 + tests/integration/api_user_star_test.go | 118 + tests/integration/api_user_variables_test.go | 144 + tests/integration/api_user_watch_test.go | 88 + tests/integration/api_wiki_test.go | 434 + tests/integration/archived_labels_display_test.go | 71 + tests/integration/attachment_test.go | 138 + tests/integration/auth_ldap_test.go | 565 + tests/integration/auth_token_test.go | 164 + tests/integration/avatar.png | Bin 0 -> 7787 bytes tests/integration/benchmarks_test.go | 69 + tests/integration/block_test.go | 454 + tests/integration/branches_test.go | 58 + tests/integration/change_default_branch_test.go | 40 + tests/integration/cmd_admin_test.go | 147 + tests/integration/cmd_forgejo_actions_test.go | 215 + tests/integration/cmd_forgejo_f3_test.go | 137 + tests/integration/cmd_keys_test.go | 54 + tests/integration/codeowner_test.go | 201 + tests/integration/compare_test.go | 293 + tests/integration/cors_test.go | 94 + tests/integration/create_no_session_test.go | 112 + tests/integration/csrf_test.go | 34 + tests/integration/db_collation_test.go | 149 + tests/integration/delete_user_test.go | 63 + tests/integration/doctor_packages_nuget_test.go | 122 + tests/integration/download_test.go | 93 + tests/integration/dump_restore_test.go | 329 + tests/integration/easymde_test.go | 25 + tests/integration/editor_test.go | 519 + tests/integration/empty_repo_test.go | 138 + tests/integration/eventsource_test.go | 88 + tests/integration/explore_code_test.go | 31 + tests/integration/explore_repos_test.go | 31 + tests/integration/explore_user_test.go | 44 + .../fixtures/TestAdminDeleteUser/issue.yml | 16 + .../fixtures/TestAdminDeleteUser/issue_index.yml | 3 + .../fixtures/TestAdminDeleteUser/repository.yml | 30 + .../fixtures/TestAdminDeleteUser/user.yml | 73 + .../fixtures/TestBlockActions/comment.yml | 9 + .../fixtures/TestBlockActions/issue.yml | 17 + .../fixtures/TestBlockedNotifications/issue.yml | 16 + .../fixtures/TestCommitRefComment/comment.yml | 17 + tests/integration/fixtures/TestFeed/action.yml | 9 + tests/integration/fixtures/TestFeed/comment.yml | 8 + tests/integration/fixtures/TestFeed/team.yml | 21 + tests/integration/fixtures/TestFeed/team_repo.yml | 11 + tests/integration/fixtures/TestFeed/team_unit.yml | 83 + tests/integration/fixtures/TestFeed/team_user.yml | 11 + .../issue_content_history.yml | 17 + .../fixtures/TestXSSReviewDismissed/comment.yml | 9 + .../fixtures/TestXSSReviewDismissed/review.yml | 8 + .../integration/forgejo_confirmation_repo_test.go | 184 + tests/integration/forgejo_git_test.go | 137 + tests/integration/git_clone_wiki_test.go | 52 + .../integration/git_helper_for_declarative_test.go | 211 + tests/integration/git_push_test.go | 288 + tests/integration/git_smart_http_test.go | 69 + tests/integration/git_test.go | 1146 + tests/integration/goget_test.go | 61 + tests/integration/gpg_git_test.go | 304 + tests/integration/html_helper.go | 92 + tests/integration/incoming_email_test.go | 290 + tests/integration/integration_test.go | 687 + tests/integration/issue_subscribe_test.go | 44 + tests/integration/issue_test.go | 1303 + tests/integration/issues_comment_labels_test.go | 197 + tests/integration/last_updated_time_test.go | 70 + tests/integration/lfs_getobject_test.go | 228 + tests/integration/lfs_local_endpoint_test.go | 113 + tests/integration/lfs_view_test.go | 180 + tests/integration/linguist_test.go | 269 + tests/integration/links_test.go | 251 + tests/integration/markup_external_test.go | 40 + tests/integration/markup_test.go | 72 + tests/integration/migrate_test.go | 130 + .../migration-test/forgejo-v1.19.0.mysql.sql.gz | Bin 0 -> 164 bytes .../migration-test/forgejo-v1.19.0.postgres.sql.gz | Bin 0 -> 645 bytes .../migration-test/forgejo-v1.19.0.sqlite3.sql.gz | Bin 0 -> 200 bytes .../migration-test/gitea-v1.6.4.mysql.sql.gz | Bin 0 -> 9423 bytes .../migration-test/gitea-v1.6.4.postgres.sql.gz | Bin 0 -> 17517 bytes .../migration-test/gitea-v1.6.4.sqlite3.sql.gz | Bin 0 -> 3995 bytes .../migration-test/gitea-v1.7.0.mysql.sql.gz | Bin 0 -> 9682 bytes .../migration-test/gitea-v1.7.0.postgres.sql.gz | Bin 0 -> 17831 bytes .../migration-test/gitea-v1.7.0.sqlite3.sql.gz | Bin 0 -> 8165 bytes tests/integration/migration-test/migration_test.go | 323 + tests/integration/milestone_test.go | 25 + tests/integration/mirror_pull_test.go | 104 + tests/integration/mirror_push_test.go | 404 + tests/integration/new_org_test.go | 37 + tests/integration/nonascii_branches_test.go | 214 + tests/integration/oauth_test.go | 1323 + tests/integration/opengraph_test.go | 150 + tests/integration/org_count_test.go | 149 + tests/integration/org_nav_test.go | 62 + tests/integration/org_project_test.go | 63 + tests/integration/org_team_invite_test.go | 382 + tests/integration/org_test.go | 272 + tests/integration/private-testing.key | 81 + tests/integration/privateactivity_test.go | 418 + tests/integration/proctected_branch_test.go | 87 + tests/integration/project_test.go | 84 + tests/integration/pull_commit_test.go | 34 + tests/integration/pull_compare_test.go | 28 + tests/integration/pull_create_test.go | 558 + tests/integration/pull_diff_test.go | 58 + tests/integration/pull_icon_test.go | 257 + tests/integration/pull_merge_test.go | 1184 + tests/integration/pull_reopen_test.go | 216 + tests/integration/pull_request_task_test.go | 109 + tests/integration/pull_review_test.go | 519 + tests/integration/pull_status_test.go | 167 + tests/integration/pull_summary_test.go | 65 + tests/integration/pull_test.go | 67 + tests/integration/pull_update_test.go | 175 + tests/integration/pull_wip_convert_test.go | 59 + tests/integration/quota_use_test.go | 1147 + tests/integration/release_test.go | 353 + tests/integration/remote_test.go | 206 + tests/integration/rename_branch_test.go | 176 + tests/integration/repo_activity_test.go | 216 + tests/integration/repo_archive_test.go | 34 + tests/integration/repo_archive_text_test.go | 78 + tests/integration/repo_badges_test.go | 252 + tests/integration/repo_branch_test.go | 206 + tests/integration/repo_citation_test.go | 81 + tests/integration/repo_collaborator_test.go | 37 + tests/integration/repo_commits_search_test.go | 44 + tests/integration/repo_commits_test.go | 206 + tests/integration/repo_delete_test.go | 74 + tests/integration/repo_flags_test.go | 391 + tests/integration/repo_fork_test.go | 272 + tests/integration/repo_generate_test.go | 137 + tests/integration/repo_issue_title_test.go | 162 + tests/integration/repo_mergecommit_revert_test.go | 38 + tests/integration/repo_migrate_test.go | 57 + tests/integration/repo_migration_ui_test.go | 116 + tests/integration/repo_pagination_test.go | 84 + tests/integration/repo_search_test.go | 135 + tests/integration/repo_settings_hook_test.go | 63 + tests/integration/repo_settings_test.go | 370 + tests/integration/repo_signed_tag_test.go | 107 + tests/integration/repo_starwatch_test.go | 108 + tests/integration/repo_tag_test.go | 165 + tests/integration/repo_test.go | 1415 + tests/integration/repo_topic_test.go | 81 + tests/integration/repo_view_test.go | 230 + tests/integration/repo_watch_test.go | 24 + tests/integration/repo_webhook_test.go | 473 + tests/integration/repo_wiki_test.go | 91 + tests/integration/repofiles_change_test.go | 495 + tests/integration/schemas/nodeinfo_2.1.json | 188 + tests/integration/session_test.go | 38 + tests/integration/setting_test.go | 158 + tests/integration/signin_test.go | 95 + tests/integration/signout_test.go | 24 + tests/integration/signup_test.go | 209 + tests/integration/size_translations_test.go | 116 + tests/integration/ssh_key_test.go | 208 + tests/integration/swagger_test.go | 100 + tests/integration/timetracking_test.go | 81 + tests/integration/user_avatar_test.go | 94 + tests/integration/user_count_test.go | 175 + tests/integration/user_dashboard_test.go | 30 + tests/integration/user_profile_activity_test.go | 112 + tests/integration/user_profile_follows_test.go | 132 + tests/integration/user_profile_test.go | 67 + tests/integration/user_test.go | 1017 + tests/integration/version_test.go | 62 + tests/integration/view_test.go | 212 + tests/integration/webfinger_test.go | 84 + tests/integration/webhook_test.go | 189 + tests/integration/xss_test.go | 129 + tests/mysql.ini.tmpl | 115 + tests/pgsql.ini.tmpl | 129 + tests/sqlite.ini.tmpl | 115 + tests/test_utils.go | 452 + .../a/0/a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a22 | 1 + tools/generate-images.js | 79 + tools/generate-svg.js | 70 + tools/lint-go-gopls.sh | 23 + tools/lint-templates-svg.js | 26 + tools/watch.sh | 8 + vitest.config.js | 25 + web_src/css/actions.css | 96 + web_src/css/admin.css | 51 + web_src/css/base.css | 1586 + web_src/css/chroma/base.css | 46 + web_src/css/chroma/dark.css | 76 + web_src/css/chroma/light.css | 76 + web_src/css/codemirror/base.css | 49 + web_src/css/codemirror/dark.css | 106 + web_src/css/codemirror/light.css | 1 + web_src/css/dashboard.css | 81 + web_src/css/editor/combomarkdowneditor.css | 136 + web_src/css/editor/fileeditor.css | 85 + web_src/css/explore.css | 31 + web_src/css/features/codeeditor.css | 48 + web_src/css/features/colorpicker.css | 47 + web_src/css/features/console.css | 338 + web_src/css/features/dropzone.css | 59 + web_src/css/features/gitgraph.css | 309 + web_src/css/features/heatmap.css | 58 + web_src/css/features/imagediff.css | 114 + web_src/css/features/projects.css | 108 + web_src/css/features/tribute.css | 42 + web_src/css/font_i18n.css | 393 + web_src/css/form.css | 520 + web_src/css/helpers.css | 60 + web_src/css/home.css | 87 + web_src/css/index.css | 78 + web_src/css/install.css | 62 + web_src/css/markup/asciicast.css | 8 + web_src/css/markup/codecopy.css | 35 + web_src/css/markup/content.css | 585 + web_src/css/markup/dark.css | 13 + web_src/css/markup/filepreview.css | 41 + web_src/css/markup/light.css | 6 + web_src/css/modules/animations.css | 116 + web_src/css/modules/breadcrumb.css | 14 + web_src/css/modules/button.css | 756 + web_src/css/modules/card.css | 134 + web_src/css/modules/checkbox.css | 121 + web_src/css/modules/comment.css | 90 + web_src/css/modules/container.css | 66 + web_src/css/modules/divider.css | 43 + web_src/css/modules/flexcontainer.css | 33 + web_src/css/modules/grid.css | 524 + web_src/css/modules/header.css | 176 + web_src/css/modules/input.css | 197 + web_src/css/modules/label.css | 303 + web_src/css/modules/list.css | 193 + web_src/css/modules/message.css | 114 + web_src/css/modules/modal.css | 86 + web_src/css/modules/navbar.css | 147 + web_src/css/modules/normalize.css | 243 + web_src/css/modules/segment.css | 203 + web_src/css/modules/select.css | 25 + web_src/css/modules/svg.css | 41 + web_src/css/modules/table.css | 385 + web_src/css/modules/tippy.css | 170 + web_src/css/modules/toast.css | 77 + web_src/css/org.css | 192 + web_src/css/repo.css | 3007 ++ web_src/css/repo/header.css | 68 + web_src/css/repo/issue-card.css | 40 + web_src/css/repo/issue-label.css | 52 + web_src/css/repo/issue-list.css | 112 + web_src/css/repo/linebutton.css | 19 + web_src/css/repo/list-header.css | 58 + web_src/css/repo/release-tag.css | 121 + web_src/css/repo/wiki.css | 72 + web_src/css/review.css | 297 + web_src/css/shared/flex-list.css | 108 + web_src/css/shared/milestone.css | 62 + web_src/css/shared/repoorg.css | 18 + web_src/css/shared/settings.css | 37 + web_src/css/standalone/devtest.css | 16 + web_src/css/standalone/swagger.css | 42 + .../theme-forgejo-auto-deuteranopia-protanopia.css | 2 + .../css/themes/theme-forgejo-auto-tritanopia.css | 2 + web_src/css/themes/theme-forgejo-auto.css | 2 + .../theme-forgejo-dark-deuteranopia-protanopia.css | 11 + .../css/themes/theme-forgejo-dark-tritanopia.css | 11 + web_src/css/themes/theme-forgejo-dark.css | 357 + ...theme-forgejo-light-deuteranopia-protanopia.css | 11 + .../css/themes/theme-forgejo-light-tritanopia.css | 11 + web_src/css/themes/theme-forgejo-light.css | 325 + web_src/css/themes/theme-gitea-auto.css | 2 + web_src/css/themes/theme-gitea-dark.css | 271 + web_src/css/themes/theme-gitea-light.css | 247 + web_src/css/user.css | 149 + web_src/fomantic/.npmrc | 7 + web_src/fomantic/_site/globals/site.variables | 61 + web_src/fomantic/build/semantic.css | 9935 +++++++ web_src/fomantic/build/semantic.js | 11992 ++++++++ .../build/themes/default/assets/fonts/icons.woff2 | Bin 0 -> 79444 bytes .../default/assets/fonts/outline-icons.woff2 | Bin 0 -> 13584 bytes web_src/fomantic/package-lock.json | 8742 ++++++ web_src/fomantic/package.json | 5 + web_src/fomantic/semantic.json | 34 + web_src/fomantic/theme.config.less | 103 + web_src/js/bootstrap.js | 109 + web_src/js/bootstrap.test.js | 12 + web_src/js/components/.eslintrc.yaml | 21 + web_src/js/components/ActionRunStatus.vue | 39 + web_src/js/components/ActivityHeatmap.vue | 83 + web_src/js/components/ContextPopup.test.js | 163 + web_src/js/components/ContextPopup.vue | 130 + web_src/js/components/DashboardRepoList.vue | 537 + web_src/js/components/DiffCommitSelector.vue | 306 + web_src/js/components/DiffFileList.vue | 58 + web_src/js/components/DiffFileTree.vue | 144 + web_src/js/components/DiffFileTreeItem.vue | 97 + web_src/js/components/PullRequestMergeForm.test.js | 34 + web_src/js/components/PullRequestMergeForm.vue | 252 + web_src/js/components/RepoActionView.test.js | 105 + web_src/js/components/RepoActionView.vue | 905 + web_src/js/components/RepoActivityTopAuthors.vue | 164 + web_src/js/components/RepoBranchTagSelector.vue | 357 + web_src/js/components/RepoCodeFrequency.vue | 172 + web_src/js/components/RepoContributors.vue | 431 + web_src/js/components/RepoRecentCommits.vue | 149 + .../js/components/ScopedAccessTokenSelector.vue | 115 + web_src/js/features/admin/common.js | 258 + web_src/js/features/admin/config.js | 24 + web_src/js/features/admin/emails.js | 14 + web_src/js/features/admin/users.js | 39 + web_src/js/features/autofocus-end.js | 6 + web_src/js/features/captcha.js | 51 + web_src/js/features/citation.js | 50 + web_src/js/features/clipboard.js | 32 + web_src/js/features/code-frequency.js | 21 + web_src/js/features/codeeditor.js | 191 + web_src/js/features/colorpicker.js | 66 + web_src/js/features/common-global.js | 463 + web_src/js/features/common-issue-list.js | 68 + web_src/js/features/common-issue-list.test.js | 16 + web_src/js/features/common-organization.js | 16 + web_src/js/features/comp/ComboMarkdownEditor.js | 413 + web_src/js/features/comp/ConfirmModal.js | 30 + web_src/js/features/comp/EasyMDEToolbarActions.js | 152 + web_src/js/features/comp/LabelEdit.js | 96 + web_src/js/features/comp/Paste.js | 144 + web_src/js/features/comp/QuickSubmit.js | 17 + web_src/js/features/comp/ReactionSelector.js | 38 + web_src/js/features/comp/SearchUserBox.js | 51 + web_src/js/features/comp/TextExpander.js | 61 + web_src/js/features/comp/WebHookEditor.js | 28 + web_src/js/features/contextpopup.js | 43 + web_src/js/features/contributors.js | 29 + web_src/js/features/copycontent.js | 56 + web_src/js/features/dropzone.js | 7 + web_src/js/features/emoji.js | 38 + web_src/js/features/eventsource.sharedworker.js | 141 + web_src/js/features/file-fold.js | 19 + web_src/js/features/heatmap.js | 40 + web_src/js/features/imagediff.js | 271 + web_src/js/features/install.js | 119 + web_src/js/features/notification.js | 192 + web_src/js/features/org-team.js | 26 + web_src/js/features/pull-view-file.js | 96 + web_src/js/features/recent-commits.js | 21 + web_src/js/features/repo-branch.js | 42 + web_src/js/features/repo-code.js | 195 + web_src/js/features/repo-code.test.js | 17 + web_src/js/features/repo-commit.js | 27 + web_src/js/features/repo-common.js | 83 + web_src/js/features/repo-diff-commit.js | 53 + web_src/js/features/repo-diff-commitselect.js | 10 + web_src/js/features/repo-diff-filetree.js | 17 + web_src/js/features/repo-diff.js | 232 + web_src/js/features/repo-editor.js | 203 + web_src/js/features/repo-findfile.js | 117 + web_src/js/features/repo-findfile.test.js | 34 + web_src/js/features/repo-graph.js | 155 + web_src/js/features/repo-home.js | 147 + web_src/js/features/repo-issue-content.js | 154 + web_src/js/features/repo-issue-list.js | 245 + web_src/js/features/repo-issue-pr-form.js | 10 + web_src/js/features/repo-issue-pr-status.js | 10 + web_src/js/features/repo-issue.js | 797 + web_src/js/features/repo-issue.test.js | 24 + web_src/js/features/repo-legacy.js | 610 + web_src/js/features/repo-migrate.js | 64 + web_src/js/features/repo-migration.js | 69 + web_src/js/features/repo-projects.js | 188 + web_src/js/features/repo-release.js | 95 + web_src/js/features/repo-search.js | 22 + web_src/js/features/repo-settings.js | 120 + web_src/js/features/repo-template.js | 51 + web_src/js/features/repo-unicode-escape.js | 27 + web_src/js/features/repo-wiki.js | 89 + web_src/js/features/sshkey-helper.js | 10 + web_src/js/features/stopwatch.js | 167 + web_src/js/features/tablesort.js | 22 + web_src/js/features/tribute.js | 57 + web_src/js/features/user-auth-webauthn.js | 194 + web_src/js/features/user-auth.js | 22 + web_src/js/features/user-settings.js | 63 + web_src/js/htmx.js | 21 + web_src/js/index.js | 190 + web_src/js/jquery.js | 3 + web_src/js/markup/anchors.js | 70 + web_src/js/markup/asciicast.js | 17 + web_src/js/markup/codecopy.js | 21 + web_src/js/markup/common.js | 8 + web_src/js/markup/content.js | 18 + web_src/js/markup/math.js | 47 + web_src/js/markup/mermaid.js | 74 + web_src/js/markup/tasklist.js | 90 + web_src/js/modules/dirauto.js | 40 + web_src/js/modules/fetch.js | 41 + web_src/js/modules/fetch.test.js | 10 + web_src/js/modules/fomantic.js | 34 + web_src/js/modules/fomantic/api.js | 40 + web_src/js/modules/fomantic/aria.md | 117 + web_src/js/modules/fomantic/base.js | 18 + web_src/js/modules/fomantic/checkbox.js | 13 + web_src/js/modules/fomantic/dropdown.js | 256 + web_src/js/modules/fomantic/form.js | 13 + web_src/js/modules/fomantic/modal.js | 28 + web_src/js/modules/fomantic/transition.js | 54 + web_src/js/modules/sortable.js | 19 + web_src/js/modules/stores.js | 10 + web_src/js/modules/tippy.js | 195 + web_src/js/modules/toast.js | 55 + web_src/js/modules/toast.test.js | 16 + web_src/js/render/ansi.js | 45 + web_src/js/render/ansi.test.js | 20 + web_src/js/render/pdf.js | 19 + web_src/js/standalone/devtest.js | 11 + web_src/js/standalone/forgejo-swagger.js | 23 + web_src/js/standalone/swagger.js | 34 + web_src/js/svg.js | 228 + web_src/js/svg.test.js | 27 + web_src/js/utils.js | 144 + web_src/js/utils.test.js | 189 + web_src/js/utils/color.js | 33 + web_src/js/utils/color.test.js | 22 + web_src/js/utils/dom.js | 305 + web_src/js/utils/dom.test.js | 5 + web_src/js/utils/image.js | 47 + web_src/js/utils/image.test.js | 29 + web_src/js/utils/match.js | 43 + web_src/js/utils/match.test.js | 50 + web_src/js/utils/time.js | 72 + web_src/js/utils/time.test.js | 40 + web_src/js/utils/url.js | 15 + web_src/js/utils/url.test.js | 13 + web_src/js/vendor/jquery.are-you-sure.js | 195 + web_src/js/vitest.setup.js | 18 + web_src/js/webcomponents/README.md | 11 + web_src/js/webcomponents/absolute-date.js | 40 + web_src/js/webcomponents/absolute-date.test.js | 15 + web_src/js/webcomponents/index.js | 5 + web_src/js/webcomponents/origin-url.js | 22 + web_src/js/webcomponents/origin-url.test.js | 17 + web_src/js/webcomponents/overflow-menu.js | 220 + web_src/js/webcomponents/polyfills.js | 17 + web_src/svg/fontawesome-openid.svg | 3 + web_src/svg/fontawesome-save.svg | 1 + web_src/svg/fontawesome-send.svg | 1 + web_src/svg/fontawesome-windows.svg | 3 + web_src/svg/gitea-alpine.svg | 2 + web_src/svg/gitea-arch.svg | 1 + web_src/svg/gitea-azuread.svg | 1 + web_src/svg/gitea-azureadv2.svg | 1 + web_src/svg/gitea-bitbucket.svg | 1 + web_src/svg/gitea-cargo.svg | 3 + web_src/svg/gitea-chef.svg | 20 + web_src/svg/gitea-codebase.svg | 13 + web_src/svg/gitea-composer.svg | 50 + web_src/svg/gitea-conan.svg | 9 + web_src/svg/gitea-conda.svg | 20 + web_src/svg/gitea-cran.svg | 15 + web_src/svg/gitea-debian.svg | 9 + web_src/svg/gitea-discord.svg | 1 + web_src/svg/gitea-double-chevron-left.svg | 1 + web_src/svg/gitea-double-chevron-right.svg | 1 + web_src/svg/gitea-dropbox.svg | 1 + web_src/svg/gitea-empty-checkbox.svg | 1 + web_src/svg/gitea-exclamation.svg | 1 + web_src/svg/gitea-facebook.svg | 1 + web_src/svg/gitea-forgejo.svg | 9 + web_src/svg/gitea-git.svg | 1 + web_src/svg/gitea-gitbucket.svg | 39 + web_src/svg/gitea-gitea.svg | 1 + web_src/svg/gitea-gitlab.svg | 1 + web_src/svg/gitea-go.svg | 10 + web_src/svg/gitea-gogs.svg | 60 + web_src/svg/gitea-google.svg | 1 + web_src/svg/gitea-helm.svg | 3 + web_src/svg/gitea-jetbrains.svg | 62 + web_src/svg/gitea-join.svg | 1 + web_src/svg/gitea-lock-cog.svg | 1 + web_src/svg/gitea-lock.svg | 1 + web_src/svg/gitea-mastodon.svg | 1 + web_src/svg/gitea-matrix.svg | 14 + web_src/svg/gitea-maven.svg | 1 + web_src/svg/gitea-microsoftonline.svg | 1 + web_src/svg/gitea-nextcloud.svg | 1 + web_src/svg/gitea-npm.svg | 7 + web_src/svg/gitea-nuget.svg | 15 + web_src/svg/gitea-onedev.svg | 42 + web_src/svg/gitea-open-with-jetbrains.svg | 62 + web_src/svg/gitea-open-with-vscode.svg | 1 + web_src/svg/gitea-open-with-vscodium.svg | 1 + web_src/svg/gitea-openid.svg | 1 + web_src/svg/gitea-pub.svg | 19 + web_src/svg/gitea-python.svg | 19 + web_src/svg/gitea-rpm.svg | 9 + web_src/svg/gitea-rubygems.svg | 3 + web_src/svg/gitea-split.svg | 1 + web_src/svg/gitea-swift.svg | 5 + web_src/svg/gitea-twitter.svg | 1 + web_src/svg/gitea-unlock.svg | 1 + web_src/svg/gitea-vagrant.svg | 6 + web_src/svg/gitea-vscodium.svg | 1 + web_src/svg/gitea-whitespace.svg | 1 + web_src/svg/gitea-yandex.svg | 1 + web_src/svg/material-invert-colors.svg | 1 + web_src/svg/material-palette.svg | 1 + webpack.config.js | 293 + 6474 files changed, 760492 insertions(+) create mode 100644 .air.toml create mode 100644 .deadcode-out create mode 100644 .devcontainer/devcontainer.json create mode 100644 .dockerignore create mode 100644 .editorconfig create mode 100644 .envrc create mode 100644 .eslintrc.yaml create mode 100755 .forgejo/cascading-pr-end-to-end create mode 100755 .forgejo/cascading-release-end-to-end create mode 100644 .forgejo/issue_template/bug-report-ui.yaml create mode 100644 .forgejo/issue_template/bug-report.yaml create mode 100644 .forgejo/issue_template/config.yml create mode 100644 .forgejo/issue_template/feature-request.yaml create mode 100644 .forgejo/pull_request_template.md create mode 100644 .forgejo/testdata/build-release/Dockerfile create mode 100644 .forgejo/testdata/build-release/Makefile create mode 100644 .forgejo/testdata/build-release/go.mod create mode 100644 .forgejo/testdata/build-release/modules/public/bindata.go create mode 100644 .forgejo/testdata/build-release/public/assets/css/placeholder create mode 100644 .forgejo/testdata/build-release/public/assets/fonts/placeholder create mode 100644 .forgejo/testdata/build-release/public/assets/js/placeholder create mode 100644 .forgejo/workflows/backport.yml create mode 100644 .forgejo/workflows/build-release-integration.yml create mode 100644 .forgejo/workflows/build-release.yml create mode 100644 .forgejo/workflows/cascade-setup-end-to-end.yml create mode 100644 .forgejo/workflows/e2e.yml create mode 100644 .forgejo/workflows/forgejo-integration-cleanup.yml create mode 100644 .forgejo/workflows/milestone.yml create mode 100644 .forgejo/workflows/mirror.yml create mode 100644 .forgejo/workflows/publish-release.yml create mode 100644 .forgejo/workflows/release-notes-assistant-milestones.yml create mode 100644 .forgejo/workflows/release-notes-assistant.yml create mode 100644 .forgejo/workflows/renovate.yml create mode 100644 .forgejo/workflows/testing.yml create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 .gitpod.yml create mode 100644 .golangci.yml create mode 100644 .ignore create mode 100644 .mailmap create mode 100644 .markdownlint.yaml create mode 100644 .npmrc create mode 100644 .release-notes-assistant.yaml create mode 100644 .spectral.yaml create mode 100644 .yamllint.yaml create mode 100644 BSDmakefile create mode 100644 CODEOWNERS create mode 100644 CONTRIBUTING.md create mode 100644 DCO create mode 100644 Dockerfile create mode 100644 Dockerfile.rootless create mode 100644 LICENSE create mode 100644 Makefile create mode 100644 README.md create mode 100644 RELEASE-NOTES.md create mode 100644 assets/emoji.json create mode 100644 assets/favicon.svg create mode 100644 assets/go-licenses.json create mode 100644 assets/logo.svg create mode 100644 build.go create mode 100644 build/backport-locales.go create mode 100644 build/code-batch-process.go create mode 100644 build/codeformat/formatimports.go create mode 100644 build/codeformat/formatimports_test.go create mode 100644 build/generate-bindata.go create mode 100644 build/generate-emoji.go create mode 100644 build/generate-gitignores.go create mode 100644 build/generate-go-licenses.go create mode 100644 build/generate-licenses.go create mode 100644 build/gocovmerge.go create mode 100644 build/merge-forgejo-locales.go create mode 100644 build/test-echo.go create mode 100755 build/test-env-check.sh create mode 100755 build/test-env-prepare.sh create mode 100755 build/update-locales.sh create mode 100644 cmd/actions.go create mode 100644 cmd/admin.go create mode 100644 cmd/admin_auth.go create mode 100644 cmd/admin_auth_ldap.go create mode 100644 cmd/admin_auth_ldap_test.go create mode 100644 cmd/admin_auth_oauth.go create mode 100644 cmd/admin_auth_stmp.go create mode 100644 cmd/admin_regenerate.go create mode 100644 cmd/admin_user.go create mode 100644 cmd/admin_user_change_password.go create mode 100644 cmd/admin_user_create.go create mode 100644 cmd/admin_user_delete.go create mode 100644 cmd/admin_user_generate_access_token.go create mode 100644 cmd/admin_user_list.go create mode 100644 cmd/admin_user_must_change_password.go create mode 100644 cmd/cert.go create mode 100644 cmd/cmd.go create mode 100644 cmd/docs.go create mode 100644 cmd/doctor.go create mode 100644 cmd/doctor_convert.go create mode 100644 cmd/doctor_test.go create mode 100644 cmd/dump.go create mode 100644 cmd/dump_repo.go create mode 100644 cmd/dump_test.go create mode 100644 cmd/embedded.go create mode 100644 cmd/forgejo/actions.go create mode 100644 cmd/forgejo/actions_test.go create mode 100644 cmd/forgejo/f3.go create mode 100644 cmd/forgejo/forgejo.go create mode 100644 cmd/generate.go create mode 100644 cmd/hook.go create mode 100644 cmd/hook_test.go create mode 100644 cmd/keys.go create mode 100644 cmd/mailer.go create mode 100644 cmd/main.go create mode 100644 cmd/main_test.go create mode 100644 cmd/manager.go create mode 100644 cmd/manager_logging.go create mode 100644 cmd/migrate.go create mode 100644 cmd/migrate_storage.go create mode 100644 cmd/migrate_storage_test.go create mode 100644 cmd/restore_repo.go create mode 100644 cmd/serv.go create mode 100644 cmd/web.go create mode 100644 cmd/web_acme.go create mode 100644 cmd/web_graceful.go create mode 100644 cmd/web_https.go create mode 100644 contrib/README create mode 100644 contrib/autocompletion/README create mode 100755 contrib/autocompletion/bash_autocomplete create mode 100644 contrib/autocompletion/zsh_autocomplete create mode 100644 contrib/backport/README create mode 100644 contrib/backport/backport.go create mode 100644 contrib/environment-to-ini/README create mode 100644 contrib/environment-to-ini/environment-to-ini.go create mode 100755 contrib/fhs-compliant-script/gitea create mode 100644 contrib/fixtures/fixture_generation.go create mode 100644 contrib/gitea-monitoring-mixin/.gitignore create mode 100644 contrib/gitea-monitoring-mixin/Makefile create mode 100644 contrib/gitea-monitoring-mixin/README.md create mode 100644 contrib/gitea-monitoring-mixin/config.libsonnet create mode 100644 contrib/gitea-monitoring-mixin/dashboards/dashboards.libsonnet create mode 100644 contrib/gitea-monitoring-mixin/dashboards/overview.libsonnet create mode 100644 contrib/gitea-monitoring-mixin/jsonnetfile.json create mode 100644 contrib/gitea-monitoring-mixin/jsonnetfile.lock.json create mode 100644 contrib/gitea-monitoring-mixin/lib/alerts.jsonnet create mode 100644 contrib/gitea-monitoring-mixin/lib/dashboards.jsonnet create mode 100644 contrib/gitea-monitoring-mixin/lib/rules.jsonnet create mode 100644 contrib/gitea-monitoring-mixin/mixin.libsonnet create mode 100644 contrib/ide/README.md create mode 100644 contrib/ide/vscode/launch.json create mode 100644 contrib/ide/vscode/settings.json create mode 100644 contrib/ide/vscode/tasks.json create mode 100644 contrib/init/centos/gitea create mode 100644 contrib/init/debian/gitea create mode 100644 contrib/init/freebsd/gitea create mode 100644 contrib/init/gentoo/gitea create mode 100755 contrib/init/openbsd/gitea create mode 100644 contrib/init/openwrt/gitea create mode 100644 contrib/init/sunos/gitea.xml create mode 100644 contrib/init/suse/gitea create mode 100644 contrib/init/ubuntu/gitea create mode 100644 contrib/launchd/io.gitea.web.plist create mode 100644 contrib/legal/privacy.html.sample create mode 100644 contrib/legal/tos.html.sample create mode 100644 contrib/options/label/Advanced create mode 100644 contrib/supervisor/gitea create mode 100644 contrib/systemd/forgejo.service create mode 100755 contrib/update_dependencies.sh create mode 100755 contrib/upgrade.sh create mode 100644 custom/conf/app.example.ini create mode 100644 docker/README.md create mode 100644 docker/manifest.rootless.tmpl create mode 100644 docker/manifest.tmpl create mode 100644 docker/root/etc/nsswitch.conf create mode 100755 docker/root/etc/s6/.s6-svscan/finish create mode 100755 docker/root/etc/s6/gitea/finish create mode 100755 docker/root/etc/s6/gitea/run create mode 100755 docker/root/etc/s6/gitea/setup create mode 100755 docker/root/etc/s6/openssh/finish create mode 100755 docker/root/etc/s6/openssh/run create mode 100755 docker/root/etc/s6/openssh/setup create mode 100644 docker/root/etc/templates/app.ini create mode 100644 docker/root/etc/templates/sshd_config create mode 100755 docker/root/usr/bin/entrypoint create mode 100644 docker/root/usr/local/bin/gitea create mode 100644 docker/rootless/etc/templates/app.ini create mode 100755 docker/rootless/usr/local/bin/docker-entrypoint.sh create mode 100755 docker/rootless/usr/local/bin/docker-setup.sh create mode 100644 docker/rootless/usr/local/bin/gitea create mode 100644 flake.lock create mode 100644 flake.nix create mode 100644 go.mod create mode 100644 go.sum create mode 100644 main.go create mode 100644 models/actions/artifact.go create mode 100644 models/actions/forgejo.go create mode 100644 models/actions/forgejo_test.go create mode 100644 models/actions/main_test.go create mode 100644 models/actions/run.go create mode 100644 models/actions/run_job.go create mode 100644 models/actions/run_job_list.go create mode 100644 models/actions/run_list.go create mode 100644 models/actions/runner.go create mode 100644 models/actions/runner_list.go create mode 100644 models/actions/runner_test.go create mode 100644 models/actions/runner_token.go create mode 100644 models/actions/runner_token_test.go create mode 100644 models/actions/schedule.go create mode 100644 models/actions/schedule_list.go create mode 100644 models/actions/schedule_spec.go create mode 100644 models/actions/schedule_spec_list.go create mode 100644 models/actions/schedule_spec_test.go create mode 100644 models/actions/status.go create mode 100644 models/actions/task.go create mode 100644 models/actions/task_list.go create mode 100644 models/actions/task_output.go create mode 100644 models/actions/task_step.go create mode 100644 models/actions/tasks_version.go create mode 100644 models/actions/utils.go create mode 100644 models/actions/utils_test.go create mode 100644 models/actions/variable.go create mode 100644 models/activities/action.go create mode 100644 models/activities/action_list.go create mode 100644 models/activities/action_test.go create mode 100644 models/activities/main_test.go create mode 100644 models/activities/notification.go create mode 100644 models/activities/notification_list.go create mode 100644 models/activities/notification_test.go create mode 100644 models/activities/repo_activity.go create mode 100644 models/activities/repo_activity_test.go create mode 100644 models/activities/statistic.go create mode 100644 models/activities/user_heatmap.go create mode 100644 models/activities/user_heatmap_test.go create mode 100644 models/admin/task.go create mode 100644 models/asymkey/error.go create mode 100644 models/asymkey/gpg_key.go create mode 100644 models/asymkey/gpg_key_add.go create mode 100644 models/asymkey/gpg_key_commit_verification.go create mode 100644 models/asymkey/gpg_key_common.go create mode 100644 models/asymkey/gpg_key_import.go create mode 100644 models/asymkey/gpg_key_list.go create mode 100644 models/asymkey/gpg_key_object_verification.go create mode 100644 models/asymkey/gpg_key_tag_verification.go create mode 100644 models/asymkey/gpg_key_test.go create mode 100644 models/asymkey/gpg_key_verify.go create mode 100644 models/asymkey/main_test.go create mode 100644 models/asymkey/ssh_key.go create mode 100644 models/asymkey/ssh_key_authorized_keys.go create mode 100644 models/asymkey/ssh_key_authorized_principals.go create mode 100644 models/asymkey/ssh_key_deploy.go create mode 100644 models/asymkey/ssh_key_fingerprint.go create mode 100644 models/asymkey/ssh_key_object_verification.go create mode 100644 models/asymkey/ssh_key_object_verification_test.go create mode 100644 models/asymkey/ssh_key_parse.go create mode 100644 models/asymkey/ssh_key_principals.go create mode 100644 models/asymkey/ssh_key_test.go create mode 100644 models/asymkey/ssh_key_verify.go create mode 100644 models/auth/TestOrphanedOAuth2Applications/oauth2_application.yaml create mode 100644 models/auth/access_token.go create mode 100644 models/auth/access_token_scope.go create mode 100644 models/auth/access_token_scope_test.go create mode 100644 models/auth/access_token_test.go create mode 100644 models/auth/auth_token.go create mode 100644 models/auth/main_test.go create mode 100644 models/auth/oauth2.go create mode 100644 models/auth/oauth2_list.go create mode 100644 models/auth/oauth2_test.go create mode 100644 models/auth/session.go create mode 100644 models/auth/session_test.go create mode 100644 models/auth/source.go create mode 100644 models/auth/source_test.go create mode 100644 models/auth/twofactor.go create mode 100644 models/auth/webauthn.go create mode 100644 models/auth/webauthn_test.go create mode 100644 models/avatars/avatar.go create mode 100644 models/avatars/avatar_test.go create mode 100644 models/avatars/main_test.go create mode 100644 models/db/collation.go create mode 100644 models/db/common.go create mode 100644 models/db/consistency.go create mode 100644 models/db/context.go create mode 100644 models/db/context_committer_test.go create mode 100644 models/db/context_test.go create mode 100644 models/db/convert.go create mode 100755 models/db/engine.go create mode 100644 models/db/engine_test.go create mode 100644 models/db/error.go create mode 100644 models/db/index.go create mode 100644 models/db/index_test.go create mode 100644 models/db/install/db.go create mode 100644 models/db/iterate.go create mode 100644 models/db/iterate_test.go create mode 100644 models/db/list.go create mode 100644 models/db/list_test.go create mode 100644 models/db/log.go create mode 100644 models/db/main_test.go create mode 100644 models/db/name.go create mode 100644 models/db/paginator/main_test.go create mode 100644 models/db/paginator/paginator.go create mode 100644 models/db/paginator/paginator_test.go create mode 100644 models/db/search.go create mode 100644 models/db/sequence.go create mode 100644 models/db/sql_postgres_with_schema.go create mode 100644 models/dbfs/dbfile.go create mode 100644 models/dbfs/dbfs.go create mode 100644 models/dbfs/dbfs_test.go create mode 100644 models/dbfs/main_test.go create mode 100644 models/error.go create mode 100644 models/fixture_generation.go create mode 100644 models/fixture_test.go create mode 100644 models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/issue.yml create mode 100644 models/fixtures/TestGetUnmergedPullRequestsByHeadInfoMax/pull_request.yml create mode 100644 models/fixtures/TestParseCommitWithSSHSignature/public_key.yml create mode 100644 models/fixtures/access.yml create mode 100644 models/fixtures/access_token.yml create mode 100644 models/fixtures/action.yml create mode 100644 models/fixtures/action_run.yml create mode 100644 models/fixtures/action_run_job.yml create mode 100644 models/fixtures/action_runner.yml create mode 100644 models/fixtures/action_runner_token.yml create mode 100644 models/fixtures/action_task.yml create mode 100644 models/fixtures/attachment.yml create mode 100644 models/fixtures/branch.yml create mode 100644 models/fixtures/collaboration.yml create mode 100644 models/fixtures/comment.yml create mode 100644 models/fixtures/commit_status.yml create mode 100644 models/fixtures/commit_status_index.yml create mode 100644 models/fixtures/deploy_key.yml create mode 100644 models/fixtures/email_address.yml create mode 100644 models/fixtures/external_login_user.yml create mode 100644 models/fixtures/follow.yml create mode 100644 models/fixtures/forgejo_blocked_user.yml create mode 100644 models/fixtures/gpg_key.yml create mode 100644 models/fixtures/gpg_key_import.yml create mode 100644 models/fixtures/hook_task.yml create mode 100644 models/fixtures/issue.yml create mode 100644 models/fixtures/issue_assignees.yml create mode 100644 models/fixtures/issue_index.yml create mode 100644 models/fixtures/issue_label.yml create mode 100644 models/fixtures/issue_user.yml create mode 100644 models/fixtures/issue_watch.yml create mode 100644 models/fixtures/label.yml create mode 100644 models/fixtures/lfs_meta_object.yml create mode 100644 models/fixtures/login_source.yml create mode 100644 models/fixtures/milestone.yml create mode 100644 models/fixtures/mirror.yml create mode 100644 models/fixtures/notice.yml create mode 100644 models/fixtures/notification.yml create mode 100644 models/fixtures/oauth2_application.yml create mode 100644 models/fixtures/oauth2_authorization_code.yml create mode 100644 models/fixtures/oauth2_grant.yml create mode 100644 models/fixtures/org_user.yml create mode 100644 models/fixtures/project.yml create mode 100644 models/fixtures/project_board.yml create mode 100644 models/fixtures/project_issue.yml create mode 100644 models/fixtures/protected_branch.yml create mode 100644 models/fixtures/protected_tag.yml create mode 100644 models/fixtures/public_key.yml create mode 100644 models/fixtures/pull_request.yml create mode 100644 models/fixtures/push_mirror.yml create mode 100644 models/fixtures/reaction.yml create mode 100644 models/fixtures/release.yml create mode 100644 models/fixtures/renamed_branch.yml create mode 100644 models/fixtures/repo_archiver.yml create mode 100644 models/fixtures/repo_indexer_status.yml create mode 100644 models/fixtures/repo_redirect.yml create mode 100644 models/fixtures/repo_topic.yml create mode 100644 models/fixtures/repo_transfer.yml create mode 100644 models/fixtures/repo_unit.yml create mode 100644 models/fixtures/repository.yml create mode 100644 models/fixtures/review.yml create mode 100644 models/fixtures/star.yml create mode 100644 models/fixtures/stopwatch.yml create mode 100644 models/fixtures/system_setting.yml create mode 100644 models/fixtures/team.yml create mode 100644 models/fixtures/team_repo.yml create mode 100644 models/fixtures/team_unit.yml create mode 100644 models/fixtures/team_user.yml create mode 100644 models/fixtures/topic.yml create mode 100644 models/fixtures/tracked_time.yml create mode 100644 models/fixtures/two_factor.yml create mode 100644 models/fixtures/user.yml create mode 100644 models/fixtures/user_open_id.yml create mode 100644 models/fixtures/user_redirect.yml create mode 100644 models/fixtures/watch.yml create mode 100644 models/fixtures/webauthn_credential.yml create mode 100644 models/fixtures/webhook.yml create mode 100644 models/forgefed/federationhost.go create mode 100644 models/forgefed/federationhost_repository.go create mode 100644 models/forgefed/federationhost_test.go create mode 100644 models/forgefed/nodeinfo.go create mode 100644 models/forgefed/nodeinfo_test.go create mode 100644 models/forgejo/semver/main_test.go create mode 100644 models/forgejo/semver/semver.go create mode 100644 models/forgejo/semver/semver_test.go create mode 100644 models/forgejo_migrations/main_test.go create mode 100644 models/forgejo_migrations/migrate.go create mode 100644 models/forgejo_migrations/migrate_test.go create mode 100644 models/forgejo_migrations/v13.go create mode 100644 models/forgejo_migrations/v14.go create mode 100644 models/forgejo_migrations/v15.go create mode 100644 models/forgejo_migrations/v16.go create mode 100644 models/forgejo_migrations/v17.go create mode 100644 models/forgejo_migrations/v18.go create mode 100644 models/forgejo_migrations/v19.go create mode 100644 models/forgejo_migrations/v1_20/v1.go create mode 100644 models/forgejo_migrations/v1_20/v2.go create mode 100644 models/forgejo_migrations/v1_20/v3.go create mode 100644 models/forgejo_migrations/v1_22/main_test.go create mode 100644 models/forgejo_migrations/v1_22/v10.go create mode 100644 models/forgejo_migrations/v1_22/v11.go create mode 100644 models/forgejo_migrations/v1_22/v12.go create mode 100644 models/forgejo_migrations/v1_22/v4.go create mode 100644 models/forgejo_migrations/v1_22/v5.go create mode 100644 models/forgejo_migrations/v1_22/v6.go create mode 100644 models/forgejo_migrations/v1_22/v7.go create mode 100644 models/forgejo_migrations/v1_22/v8.go create mode 100644 models/forgejo_migrations/v1_22/v8_test.go create mode 100644 models/forgejo_migrations/v1_22/v9.go create mode 100644 models/forgejo_migrations/v20.go create mode 100644 models/forgejo_migrations/v21.go create mode 100644 models/forgejo_migrations/v22.go create mode 100644 models/git/TestIterateRepositoryIDsWithLFSMetaObjects/lfs_meta_object.yaml create mode 100644 models/git/branch.go create mode 100644 models/git/branch_list.go create mode 100644 models/git/branch_test.go create mode 100644 models/git/commit_status.go create mode 100644 models/git/commit_status_summary.go create mode 100644 models/git/commit_status_test.go create mode 100644 models/git/lfs.go create mode 100644 models/git/lfs_lock.go create mode 100644 models/git/lfs_lock_list.go create mode 100644 models/git/lfs_test.go create mode 100644 models/git/main_test.go create mode 100644 models/git/protected_banch_list_test.go create mode 100644 models/git/protected_branch.go create mode 100644 models/git/protected_branch_list.go create mode 100644 models/git/protected_branch_test.go create mode 100644 models/git/protected_tag.go create mode 100644 models/git/protected_tag_test.go create mode 100644 models/issues/TestGetUIDsAndStopwatch/stopwatch.yml create mode 100644 models/issues/assignees.go create mode 100644 models/issues/assignees_test.go create mode 100644 models/issues/comment.go create mode 100644 models/issues/comment_code.go create mode 100644 models/issues/comment_list.go create mode 100644 models/issues/comment_list_test.go create mode 100644 models/issues/comment_test.go create mode 100644 models/issues/content_history.go create mode 100644 models/issues/content_history_test.go create mode 100644 models/issues/dependency.go create mode 100644 models/issues/dependency_test.go create mode 100644 models/issues/issue.go create mode 100644 models/issues/issue_index.go create mode 100644 models/issues/issue_index_test.go create mode 100644 models/issues/issue_label.go create mode 100644 models/issues/issue_label_test.go create mode 100644 models/issues/issue_list.go create mode 100644 models/issues/issue_list_test.go create mode 100644 models/issues/issue_lock.go create mode 100644 models/issues/issue_project.go create mode 100644 models/issues/issue_search.go create mode 100644 models/issues/issue_stats.go create mode 100644 models/issues/issue_stats_test.go create mode 100644 models/issues/issue_test.go create mode 100644 models/issues/issue_update.go create mode 100644 models/issues/issue_user.go create mode 100644 models/issues/issue_user_test.go create mode 100644 models/issues/issue_watch.go create mode 100644 models/issues/issue_watch_test.go create mode 100644 models/issues/issue_xref.go create mode 100644 models/issues/issue_xref_test.go create mode 100644 models/issues/label.go create mode 100644 models/issues/label_test.go create mode 100644 models/issues/main_test.go create mode 100644 models/issues/milestone.go create mode 100644 models/issues/milestone_list.go create mode 100644 models/issues/milestone_test.go create mode 100644 models/issues/pull.go create mode 100644 models/issues/pull_list.go create mode 100644 models/issues/pull_test.go create mode 100644 models/issues/reaction.go create mode 100644 models/issues/reaction_test.go create mode 100644 models/issues/review.go create mode 100644 models/issues/review_list.go create mode 100644 models/issues/review_test.go create mode 100644 models/issues/stopwatch.go create mode 100644 models/issues/stopwatch_test.go create mode 100644 models/issues/tracked_time.go create mode 100644 models/issues/tracked_time_test.go create mode 100644 models/main_test.go create mode 100644 models/migrations/base/db.go create mode 100644 models/migrations/base/db_test.go create mode 100644 models/migrations/base/hash.go create mode 100644 models/migrations/base/main_test.go create mode 100644 models/migrations/fixtures/Test_AddCombinedIndexToIssueUser/issue_user.yml create mode 100644 models/migrations/fixtures/Test_AddConfidentialClientColumnToOAuth2ApplicationTable/oauth2_application.yml create mode 100644 models/migrations/fixtures/Test_AddHeaderAuthorizationEncryptedColWebhook/expected_webhook.yml create mode 100644 models/migrations/fixtures/Test_AddHeaderAuthorizationEncryptedColWebhook/hook_task.yml create mode 100644 models/migrations/fixtures/Test_AddHeaderAuthorizationEncryptedColWebhook/webhook.yml create mode 100644 models/migrations/fixtures/Test_AddIssueResourceIndexTable/issue.yml create mode 100644 models/migrations/fixtures/Test_AddPayloadVersionToHookTaskTable/hook_task.yml create mode 100644 models/migrations/fixtures/Test_AddPayloadVersionToHookTaskTable/hook_task_migrated.yml create mode 100644 models/migrations/fixtures/Test_AddRepoIDForAttachment/attachment.yml create mode 100644 models/migrations/fixtures/Test_AddRepoIDForAttachment/issue.yml create mode 100644 models/migrations/fixtures/Test_AddRepoIDForAttachment/release.yml create mode 100644 models/migrations/fixtures/Test_AddUniqueIndexForProjectIssue/project_issue.yml create mode 100644 models/migrations/fixtures/Test_CheckProjectColumnsConsistency/project.yml create mode 100644 models/migrations/fixtures/Test_CheckProjectColumnsConsistency/project_board.yml create mode 100644 models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/issue_label.yml create mode 100644 models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml create mode 100644 models/migrations/fixtures/Test_RemigrateU2FCredentials/expected_webauthn_credential.yml create mode 100644 models/migrations/fixtures/Test_RemigrateU2FCredentials/u2f_registration.yml create mode 100644 models/migrations/fixtures/Test_RemigrateU2FCredentials/webauthn_credential.yml create mode 100644 models/migrations/fixtures/Test_RemoveInvalidLabels/comment.yml create mode 100644 models/migrations/fixtures/Test_RemoveInvalidLabels/issue.yml create mode 100644 models/migrations/fixtures/Test_RemoveInvalidLabels/issue_label.yml create mode 100644 models/migrations/fixtures/Test_RemoveInvalidLabels/label.yml create mode 100644 models/migrations/fixtures/Test_RemoveInvalidLabels/repository.yml create mode 100644 models/migrations/fixtures/Test_RemoveSSHSignaturesFromReleaseNotes/release.yml create mode 100644 models/migrations/fixtures/Test_RepositoryFormat/comment.yml create mode 100644 models/migrations/fixtures/Test_RepositoryFormat/commit_status.yml create mode 100644 models/migrations/fixtures/Test_RepositoryFormat/pull_request.yml create mode 100644 models/migrations/fixtures/Test_RepositoryFormat/release.yml create mode 100644 models/migrations/fixtures/Test_RepositoryFormat/repo_archiver.yml create mode 100644 models/migrations/fixtures/Test_RepositoryFormat/repo_indexer_status.yml create mode 100644 models/migrations/fixtures/Test_RepositoryFormat/repository.yml create mode 100644 models/migrations/fixtures/Test_RepositoryFormat/review_state.yml create mode 100644 models/migrations/fixtures/Test_StoreWebauthnCredentialIDAsBytes/expected_webauthn_credential.yml create mode 100644 models/migrations/fixtures/Test_StoreWebauthnCredentialIDAsBytes/webauthn_credential.yml create mode 100644 models/migrations/fixtures/Test_UnwrapLDAPSourceCfg/login_source.yml create mode 100644 models/migrations/fixtures/Test_UpdateBadgeColName/badge.yml create mode 100644 models/migrations/fixtures/Test_UpdateOpenMilestoneCounts/expected_milestone.yml create mode 100644 models/migrations/fixtures/Test_UpdateOpenMilestoneCounts/issue.yml create mode 100644 models/migrations/fixtures/Test_UpdateOpenMilestoneCounts/milestone.yml create mode 100644 models/migrations/migrations.go create mode 100644 models/migrations/test/tests.go create mode 100644 models/migrations/v1_10/v100.go create mode 100644 models/migrations/v1_10/v101.go create mode 100644 models/migrations/v1_10/v88.go create mode 100644 models/migrations/v1_10/v89.go create mode 100644 models/migrations/v1_10/v90.go create mode 100644 models/migrations/v1_10/v91.go create mode 100644 models/migrations/v1_10/v92.go create mode 100644 models/migrations/v1_10/v93.go create mode 100644 models/migrations/v1_10/v94.go create mode 100644 models/migrations/v1_10/v95.go create mode 100644 models/migrations/v1_10/v96.go create mode 100644 models/migrations/v1_10/v97.go create mode 100644 models/migrations/v1_10/v98.go create mode 100644 models/migrations/v1_10/v99.go create mode 100644 models/migrations/v1_11/v102.go create mode 100644 models/migrations/v1_11/v103.go create mode 100644 models/migrations/v1_11/v104.go create mode 100644 models/migrations/v1_11/v105.go create mode 100644 models/migrations/v1_11/v106.go create mode 100644 models/migrations/v1_11/v107.go create mode 100644 models/migrations/v1_11/v108.go create mode 100644 models/migrations/v1_11/v109.go create mode 100644 models/migrations/v1_11/v110.go create mode 100644 models/migrations/v1_11/v111.go create mode 100644 models/migrations/v1_11/v112.go create mode 100644 models/migrations/v1_11/v113.go create mode 100644 models/migrations/v1_11/v114.go create mode 100644 models/migrations/v1_11/v115.go create mode 100644 models/migrations/v1_11/v116.go create mode 100644 models/migrations/v1_12/v117.go create mode 100644 models/migrations/v1_12/v118.go create mode 100644 models/migrations/v1_12/v119.go create mode 100644 models/migrations/v1_12/v120.go create mode 100644 models/migrations/v1_12/v121.go create mode 100644 models/migrations/v1_12/v122.go create mode 100644 models/migrations/v1_12/v123.go create mode 100644 models/migrations/v1_12/v124.go create mode 100644 models/migrations/v1_12/v125.go create mode 100644 models/migrations/v1_12/v126.go create mode 100644 models/migrations/v1_12/v127.go create mode 100644 models/migrations/v1_12/v128.go create mode 100644 models/migrations/v1_12/v129.go create mode 100644 models/migrations/v1_12/v130.go create mode 100644 models/migrations/v1_12/v131.go create mode 100644 models/migrations/v1_12/v132.go create mode 100644 models/migrations/v1_12/v133.go create mode 100644 models/migrations/v1_12/v134.go create mode 100644 models/migrations/v1_12/v135.go create mode 100644 models/migrations/v1_12/v136.go create mode 100644 models/migrations/v1_12/v137.go create mode 100644 models/migrations/v1_12/v138.go create mode 100644 models/migrations/v1_12/v139.go create mode 100644 models/migrations/v1_13/v140.go create mode 100644 models/migrations/v1_13/v141.go create mode 100644 models/migrations/v1_13/v142.go create mode 100644 models/migrations/v1_13/v143.go create mode 100644 models/migrations/v1_13/v144.go create mode 100644 models/migrations/v1_13/v145.go create mode 100644 models/migrations/v1_13/v146.go create mode 100644 models/migrations/v1_13/v147.go create mode 100644 models/migrations/v1_13/v148.go create mode 100644 models/migrations/v1_13/v149.go create mode 100644 models/migrations/v1_13/v150.go create mode 100644 models/migrations/v1_13/v151.go create mode 100644 models/migrations/v1_13/v152.go create mode 100644 models/migrations/v1_13/v153.go create mode 100644 models/migrations/v1_13/v154.go create mode 100644 models/migrations/v1_14/main_test.go create mode 100644 models/migrations/v1_14/v155.go create mode 100644 models/migrations/v1_14/v156.go create mode 100644 models/migrations/v1_14/v157.go create mode 100644 models/migrations/v1_14/v158.go create mode 100644 models/migrations/v1_14/v159.go create mode 100644 models/migrations/v1_14/v160.go create mode 100644 models/migrations/v1_14/v161.go create mode 100644 models/migrations/v1_14/v162.go create mode 100644 models/migrations/v1_14/v163.go create mode 100644 models/migrations/v1_14/v164.go create mode 100644 models/migrations/v1_14/v165.go create mode 100644 models/migrations/v1_14/v166.go create mode 100644 models/migrations/v1_14/v167.go create mode 100644 models/migrations/v1_14/v168.go create mode 100644 models/migrations/v1_14/v169.go create mode 100644 models/migrations/v1_14/v170.go create mode 100644 models/migrations/v1_14/v171.go create mode 100644 models/migrations/v1_14/v172.go create mode 100644 models/migrations/v1_14/v173.go create mode 100644 models/migrations/v1_14/v174.go create mode 100644 models/migrations/v1_14/v175.go create mode 100644 models/migrations/v1_14/v176.go create mode 100644 models/migrations/v1_14/v176_test.go create mode 100644 models/migrations/v1_14/v177.go create mode 100644 models/migrations/v1_14/v177_test.go create mode 100644 models/migrations/v1_15/main_test.go create mode 100644 models/migrations/v1_15/v178.go create mode 100644 models/migrations/v1_15/v179.go create mode 100644 models/migrations/v1_15/v180.go create mode 100644 models/migrations/v1_15/v181.go create mode 100644 models/migrations/v1_15/v181_test.go create mode 100644 models/migrations/v1_15/v182.go create mode 100644 models/migrations/v1_15/v182_test.go create mode 100644 models/migrations/v1_15/v183.go create mode 100644 models/migrations/v1_15/v184.go create mode 100644 models/migrations/v1_15/v185.go create mode 100644 models/migrations/v1_15/v186.go create mode 100644 models/migrations/v1_15/v187.go create mode 100644 models/migrations/v1_15/v188.go create mode 100644 models/migrations/v1_16/main_test.go create mode 100644 models/migrations/v1_16/v189.go create mode 100644 models/migrations/v1_16/v189_test.go create mode 100644 models/migrations/v1_16/v190.go create mode 100644 models/migrations/v1_16/v191.go create mode 100644 models/migrations/v1_16/v192.go create mode 100644 models/migrations/v1_16/v193.go create mode 100644 models/migrations/v1_16/v193_test.go create mode 100644 models/migrations/v1_16/v194.go create mode 100644 models/migrations/v1_16/v195.go create mode 100644 models/migrations/v1_16/v195_test.go create mode 100644 models/migrations/v1_16/v196.go create mode 100644 models/migrations/v1_16/v197.go create mode 100644 models/migrations/v1_16/v198.go create mode 100644 models/migrations/v1_16/v199.go create mode 100644 models/migrations/v1_16/v200.go create mode 100644 models/migrations/v1_16/v201.go create mode 100644 models/migrations/v1_16/v202.go create mode 100644 models/migrations/v1_16/v203.go create mode 100644 models/migrations/v1_16/v204.go create mode 100644 models/migrations/v1_16/v205.go create mode 100644 models/migrations/v1_16/v206.go create mode 100644 models/migrations/v1_16/v207.go create mode 100644 models/migrations/v1_16/v208.go create mode 100644 models/migrations/v1_16/v209.go create mode 100644 models/migrations/v1_16/v210.go create mode 100644 models/migrations/v1_16/v210_test.go create mode 100644 models/migrations/v1_17/main_test.go create mode 100644 models/migrations/v1_17/v211.go create mode 100644 models/migrations/v1_17/v212.go create mode 100644 models/migrations/v1_17/v213.go create mode 100644 models/migrations/v1_17/v214.go create mode 100644 models/migrations/v1_17/v215.go create mode 100644 models/migrations/v1_17/v216.go create mode 100644 models/migrations/v1_17/v217.go create mode 100644 models/migrations/v1_17/v218.go create mode 100644 models/migrations/v1_17/v219.go create mode 100644 models/migrations/v1_17/v220.go create mode 100644 models/migrations/v1_17/v221.go create mode 100644 models/migrations/v1_17/v221_test.go create mode 100644 models/migrations/v1_17/v222.go create mode 100644 models/migrations/v1_17/v223.go create mode 100644 models/migrations/v1_18/main_test.go create mode 100644 models/migrations/v1_18/v224.go create mode 100644 models/migrations/v1_18/v225.go create mode 100644 models/migrations/v1_18/v226.go create mode 100644 models/migrations/v1_18/v227.go create mode 100644 models/migrations/v1_18/v228.go create mode 100644 models/migrations/v1_18/v229.go create mode 100644 models/migrations/v1_18/v229_test.go create mode 100644 models/migrations/v1_18/v230.go create mode 100644 models/migrations/v1_18/v230_test.go create mode 100644 models/migrations/v1_19/main_test.go create mode 100644 models/migrations/v1_19/v231.go create mode 100644 models/migrations/v1_19/v232.go create mode 100644 models/migrations/v1_19/v233.go create mode 100644 models/migrations/v1_19/v233_test.go create mode 100644 models/migrations/v1_19/v234.go create mode 100644 models/migrations/v1_19/v235.go create mode 100644 models/migrations/v1_19/v236.go create mode 100644 models/migrations/v1_19/v237.go create mode 100644 models/migrations/v1_19/v238.go create mode 100644 models/migrations/v1_19/v239.go create mode 100644 models/migrations/v1_19/v240.go create mode 100644 models/migrations/v1_19/v241.go create mode 100644 models/migrations/v1_19/v242.go create mode 100644 models/migrations/v1_19/v243.go create mode 100644 models/migrations/v1_20/main_test.go create mode 100644 models/migrations/v1_20/v244.go create mode 100644 models/migrations/v1_20/v245.go create mode 100644 models/migrations/v1_20/v246.go create mode 100644 models/migrations/v1_20/v247.go create mode 100644 models/migrations/v1_20/v248.go create mode 100644 models/migrations/v1_20/v249.go create mode 100644 models/migrations/v1_20/v250.go create mode 100644 models/migrations/v1_20/v251.go create mode 100644 models/migrations/v1_20/v252.go create mode 100644 models/migrations/v1_20/v253.go create mode 100644 models/migrations/v1_20/v254.go create mode 100644 models/migrations/v1_20/v255.go create mode 100644 models/migrations/v1_20/v256.go create mode 100644 models/migrations/v1_20/v257.go create mode 100644 models/migrations/v1_20/v258.go create mode 100644 models/migrations/v1_20/v259.go create mode 100644 models/migrations/v1_20/v259_test.go create mode 100644 models/migrations/v1_21/main_test.go create mode 100644 models/migrations/v1_21/v260.go create mode 100644 models/migrations/v1_21/v261.go create mode 100644 models/migrations/v1_21/v262.go create mode 100644 models/migrations/v1_21/v263.go create mode 100644 models/migrations/v1_21/v264.go create mode 100644 models/migrations/v1_21/v265.go create mode 100644 models/migrations/v1_21/v266.go create mode 100644 models/migrations/v1_21/v267.go create mode 100644 models/migrations/v1_21/v268.go create mode 100644 models/migrations/v1_21/v269.go create mode 100644 models/migrations/v1_21/v270.go create mode 100644 models/migrations/v1_21/v271.go create mode 100644 models/migrations/v1_21/v272.go create mode 100644 models/migrations/v1_21/v273.go create mode 100644 models/migrations/v1_21/v274.go create mode 100644 models/migrations/v1_21/v275.go create mode 100644 models/migrations/v1_21/v276.go create mode 100644 models/migrations/v1_21/v277.go create mode 100644 models/migrations/v1_21/v278.go create mode 100644 models/migrations/v1_21/v279.go create mode 100644 models/migrations/v1_22/main_test.go create mode 100644 models/migrations/v1_22/v280.go create mode 100644 models/migrations/v1_22/v281.go create mode 100644 models/migrations/v1_22/v282.go create mode 100644 models/migrations/v1_22/v283.go create mode 100644 models/migrations/v1_22/v283_test.go create mode 100644 models/migrations/v1_22/v284.go create mode 100644 models/migrations/v1_22/v285.go create mode 100644 models/migrations/v1_22/v286.go create mode 100644 models/migrations/v1_22/v286_test.go create mode 100644 models/migrations/v1_22/v287.go create mode 100644 models/migrations/v1_22/v288.go create mode 100644 models/migrations/v1_22/v289.go create mode 100644 models/migrations/v1_22/v290.go create mode 100644 models/migrations/v1_22/v290_test.go create mode 100644 models/migrations/v1_22/v291.go create mode 100644 models/migrations/v1_22/v292.go create mode 100644 models/migrations/v1_22/v293.go create mode 100644 models/migrations/v1_22/v293_test.go create mode 100644 models/migrations/v1_22/v294.go create mode 100644 models/migrations/v1_22/v294_test.go create mode 100644 models/migrations/v1_22/v295.go create mode 100644 models/migrations/v1_22/v296.go create mode 100644 models/migrations/v1_22/v298.go create mode 100644 models/migrations/v1_23/main_test.go create mode 100644 models/migrations/v1_23/v299.go create mode 100644 models/migrations/v1_23/v300.go create mode 100644 models/migrations/v1_23/v301.go create mode 100644 models/migrations/v1_23/v302.go create mode 100644 models/migrations/v1_6/v70.go create mode 100644 models/migrations/v1_6/v71.go create mode 100644 models/migrations/v1_6/v72.go create mode 100644 models/migrations/v1_7/v73.go create mode 100644 models/migrations/v1_7/v74.go create mode 100644 models/migrations/v1_7/v75.go create mode 100644 models/migrations/v1_8/v76.go create mode 100644 models/migrations/v1_8/v77.go create mode 100644 models/migrations/v1_8/v78.go create mode 100644 models/migrations/v1_8/v79.go create mode 100644 models/migrations/v1_8/v80.go create mode 100644 models/migrations/v1_8/v81.go create mode 100644 models/migrations/v1_9/v82.go create mode 100644 models/migrations/v1_9/v83.go create mode 100644 models/migrations/v1_9/v84.go create mode 100644 models/migrations/v1_9/v85.go create mode 100644 models/migrations/v1_9/v86.go create mode 100644 models/migrations/v1_9/v87.go create mode 100644 models/org.go create mode 100644 models/org_team.go create mode 100644 models/org_team_test.go create mode 100644 models/org_test.go create mode 100644 models/organization/TestInconsistentOwnerTeam/team.yml create mode 100644 models/organization/TestInconsistentOwnerTeam/team_unit.yml create mode 100644 models/organization/main_test.go create mode 100644 models/organization/mini_org.go create mode 100644 models/organization/org.go create mode 100644 models/organization/org_repo.go create mode 100644 models/organization/org_test.go create mode 100644 models/organization/org_user.go create mode 100644 models/organization/org_user_test.go create mode 100644 models/organization/team.go create mode 100644 models/organization/team_invite.go create mode 100644 models/organization/team_invite_test.go create mode 100644 models/organization/team_list.go create mode 100644 models/organization/team_repo.go create mode 100644 models/organization/team_test.go create mode 100644 models/organization/team_unit.go create mode 100644 models/organization/team_user.go create mode 100644 models/packages/alpine/search.go create mode 100644 models/packages/conan/references.go create mode 100644 models/packages/conan/search.go create mode 100644 models/packages/conda/search.go create mode 100644 models/packages/container/const.go create mode 100644 models/packages/container/search.go create mode 100644 models/packages/cran/search.go create mode 100644 models/packages/debian/search.go create mode 100644 models/packages/debian/search_test.go create mode 100644 models/packages/descriptor.go create mode 100644 models/packages/nuget/search.go create mode 100644 models/packages/package.go create mode 100644 models/packages/package_blob.go create mode 100644 models/packages/package_blob_upload.go create mode 100644 models/packages/package_cleanup_rule.go create mode 100644 models/packages/package_file.go create mode 100644 models/packages/package_property.go create mode 100644 models/packages/package_test.go create mode 100644 models/packages/package_version.go create mode 100644 models/packages/rpm/search.go create mode 100644 models/perm/access/access.go create mode 100644 models/perm/access/access_test.go create mode 100644 models/perm/access/main_test.go create mode 100644 models/perm/access/repo_permission.go create mode 100644 models/perm/access_mode.go create mode 100644 models/project/column.go create mode 100644 models/project/column_test.go create mode 100644 models/project/issue.go create mode 100644 models/project/main_test.go create mode 100644 models/project/project.go create mode 100644 models/project/project_test.go create mode 100644 models/project/template.go create mode 100644 models/pull/automerge.go create mode 100644 models/pull/review_state.go create mode 100644 models/quota/default.go create mode 100644 models/quota/errors.go create mode 100644 models/quota/group.go create mode 100644 models/quota/limit_subject.go create mode 100644 models/quota/quota.go create mode 100644 models/quota/quota_group_test.go create mode 100644 models/quota/quota_rule_test.go create mode 100644 models/quota/rule.go create mode 100644 models/quota/used.go create mode 100644 models/repo.go create mode 100644 models/repo/TestSearchRepositoryIDsByCondition/repository.yml create mode 100644 models/repo/archive_download_count.go create mode 100644 models/repo/archive_download_count_test.go create mode 100644 models/repo/archiver.go create mode 100644 models/repo/attachment.go create mode 100644 models/repo/attachment_test.go create mode 100644 models/repo/avatar.go create mode 100644 models/repo/collaboration.go create mode 100644 models/repo/collaboration_test.go create mode 100644 models/repo/following_repo.go create mode 100644 models/repo/following_repo_test.go create mode 100644 models/repo/fork.go create mode 100644 models/repo/fork_test.go create mode 100644 models/repo/git.go create mode 100644 models/repo/issue.go create mode 100644 models/repo/language_stats.go create mode 100644 models/repo/main_test.go create mode 100644 models/repo/mirror.go create mode 100644 models/repo/pushmirror.go create mode 100644 models/repo/pushmirror_test.go create mode 100644 models/repo/redirect.go create mode 100644 models/repo/redirect_test.go create mode 100644 models/repo/release.go create mode 100644 models/repo/release_test.go create mode 100644 models/repo/repo.go create mode 100644 models/repo/repo_flags.go create mode 100644 models/repo/repo_flags_test.go create mode 100644 models/repo/repo_indexer.go create mode 100644 models/repo/repo_list.go create mode 100644 models/repo/repo_list_test.go create mode 100644 models/repo/repo_repository.go create mode 100644 models/repo/repo_test.go create mode 100644 models/repo/repo_unit.go create mode 100644 models/repo/repo_unit_test.go create mode 100644 models/repo/search.go create mode 100644 models/repo/star.go create mode 100644 models/repo/star_test.go create mode 100644 models/repo/topic.go create mode 100644 models/repo/topic_test.go create mode 100644 models/repo/update.go create mode 100644 models/repo/upload.go create mode 100644 models/repo/user_repo.go create mode 100644 models/repo/user_repo_test.go create mode 100644 models/repo/watch.go create mode 100644 models/repo/watch_test.go create mode 100644 models/repo/wiki.go create mode 100644 models/repo/wiki_test.go create mode 100644 models/repo_test.go create mode 100644 models/repo_transfer.go create mode 100644 models/repo_transfer_test.go create mode 100644 models/secret/secret.go create mode 100644 models/shared/types/ownertype.go create mode 100644 models/system/appstate.go create mode 100644 models/system/main_test.go create mode 100644 models/system/notice.go create mode 100644 models/system/notice_test.go create mode 100644 models/system/setting.go create mode 100644 models/system/setting_test.go create mode 100644 models/unit/unit.go create mode 100644 models/unit/unit_test.go create mode 100644 models/unittest/consistency.go create mode 100644 models/unittest/fixtures.go create mode 100644 models/unittest/fscopy.go create mode 100644 models/unittest/mock_http.go create mode 100644 models/unittest/reflection.go create mode 100644 models/unittest/testdb.go create mode 100644 models/unittest/unit_tests.go create mode 100644 models/user/avatar.go create mode 100644 models/user/badge.go create mode 100644 models/user/block.go create mode 100644 models/user/block_test.go create mode 100644 models/user/email_address.go create mode 100644 models/user/email_address_test.go create mode 100644 models/user/error.go create mode 100644 models/user/external_login_user.go create mode 100644 models/user/federated_user.go create mode 100644 models/user/federated_user_test.go create mode 100644 models/user/fixtures/user.yml create mode 100644 models/user/follow.go create mode 100644 models/user/follow_test.go create mode 100644 models/user/list.go create mode 100644 models/user/main_test.go create mode 100644 models/user/must_change_password.go create mode 100644 models/user/openid.go create mode 100644 models/user/openid_test.go create mode 100644 models/user/redirect.go create mode 100644 models/user/redirect_test.go create mode 100644 models/user/search.go create mode 100644 models/user/setting.go create mode 100644 models/user/setting_keys.go create mode 100644 models/user/setting_test.go create mode 100644 models/user/user.go create mode 100644 models/user/user_repository.go create mode 100644 models/user/user_system.go create mode 100644 models/user/user_test.go create mode 100644 models/user/user_update.go create mode 100644 models/webhook/hooktask.go create mode 100644 models/webhook/main_test.go create mode 100644 models/webhook/webhook.go create mode 100644 models/webhook/webhook_system.go create mode 100644 models/webhook/webhook_test.go create mode 100644 modules/actions/github.go create mode 100644 modules/actions/github_test.go create mode 100644 modules/actions/log.go create mode 100644 modules/actions/task_state.go create mode 100644 modules/actions/task_state_test.go create mode 100644 modules/actions/workflows.go create mode 100644 modules/actions/workflows_test.go create mode 100644 modules/activitypub/client.go create mode 100644 modules/activitypub/client_test.go create mode 100644 modules/activitypub/main_test.go create mode 100644 modules/activitypub/user_settings.go create mode 100644 modules/activitypub/user_settings_test.go create mode 100644 modules/analyze/code_language.go create mode 100644 modules/analyze/generated.go create mode 100644 modules/analyze/vendor.go create mode 100644 modules/analyze/vendor_test.go create mode 100644 modules/assetfs/layered.go create mode 100644 modules/assetfs/layered_test.go create mode 100644 modules/auth/common.go create mode 100644 modules/auth/openid/discovery_cache.go create mode 100644 modules/auth/openid/discovery_cache_test.go create mode 100644 modules/auth/openid/openid.go create mode 100644 modules/auth/pam/pam.go create mode 100644 modules/auth/pam/pam_stub.go create mode 100644 modules/auth/pam/pam_test.go create mode 100644 modules/auth/password/hash/argon2.go create mode 100644 modules/auth/password/hash/bcrypt.go create mode 100644 modules/auth/password/hash/common.go create mode 100644 modules/auth/password/hash/dummy.go create mode 100644 modules/auth/password/hash/dummy_test.go create mode 100644 modules/auth/password/hash/hash.go create mode 100644 modules/auth/password/hash/hash_test.go create mode 100644 modules/auth/password/hash/pbkdf2.go create mode 100644 modules/auth/password/hash/scrypt.go create mode 100644 modules/auth/password/hash/setting.go create mode 100644 modules/auth/password/hash/setting_test.go create mode 100644 modules/auth/password/password.go create mode 100644 modules/auth/password/password_test.go create mode 100644 modules/auth/password/pwn.go create mode 100644 modules/auth/password/pwn/pwn.go create mode 100644 modules/auth/password/pwn/pwn_test.go create mode 100644 modules/auth/webauthn/webauthn.go create mode 100644 modules/auth/webauthn/webauthn_test.go create mode 100644 modules/avatar/avatar.go create mode 100644 modules/avatar/avatar_test.go create mode 100644 modules/avatar/hash.go create mode 100644 modules/avatar/hash_test.go create mode 100644 modules/avatar/identicon/block.go create mode 100644 modules/avatar/identicon/colors.go create mode 100644 modules/avatar/identicon/identicon.go create mode 100644 modules/avatar/identicon/identicon_test.go create mode 100644 modules/avatar/identicon/polygon.go create mode 100644 modules/avatar/identicon/testdata/.gitignore create mode 100644 modules/avatar/testdata/animated.webp create mode 100644 modules/avatar/testdata/avatar.jpeg create mode 100644 modules/avatar/testdata/avatar.png create mode 100644 modules/base/base.go create mode 100644 modules/base/natural_sort.go create mode 100644 modules/base/natural_sort_test.go create mode 100644 modules/base/tool.go create mode 100644 modules/base/tool_test.go create mode 100644 modules/cache/cache.go create mode 100644 modules/cache/cache_redis.go create mode 100644 modules/cache/cache_test.go create mode 100644 modules/cache/cache_twoqueue.go create mode 100644 modules/cache/context.go create mode 100644 modules/cache/context_test.go create mode 100644 modules/charset/ambiguous.go create mode 100644 modules/charset/ambiguous/ambiguous.json create mode 100644 modules/charset/ambiguous/generate.go create mode 100644 modules/charset/ambiguous_gen.go create mode 100644 modules/charset/ambiguous_gen_test.go create mode 100644 modules/charset/breakwriter.go create mode 100644 modules/charset/breakwriter_test.go create mode 100644 modules/charset/charset.go create mode 100644 modules/charset/charset_test.go create mode 100644 modules/charset/escape.go create mode 100644 modules/charset/escape_status.go create mode 100644 modules/charset/escape_stream.go create mode 100644 modules/charset/escape_test.go create mode 100644 modules/charset/htmlstream.go create mode 100644 modules/charset/invisible/generate.go create mode 100644 modules/charset/invisible_gen.go create mode 100644 modules/container/filter.go create mode 100644 modules/container/filter_test.go create mode 100644 modules/container/set.go create mode 100644 modules/container/set_test.go create mode 100644 modules/csv/csv.go create mode 100644 modules/csv/csv_test.go create mode 100644 modules/emoji/emoji.go create mode 100644 modules/emoji/emoji_data.go create mode 100644 modules/emoji/emoji_test.go create mode 100644 modules/eventsource/event.go create mode 100644 modules/eventsource/event_test.go create mode 100644 modules/eventsource/manager.go create mode 100644 modules/eventsource/manager_run.go create mode 100644 modules/eventsource/messenger.go create mode 100644 modules/forgefed/activity.go create mode 100644 modules/forgefed/activity_test.go create mode 100644 modules/forgefed/actor.go create mode 100644 modules/forgefed/actor_test.go create mode 100644 modules/forgefed/forgefed.go create mode 100644 modules/forgefed/nodeinfo.go create mode 100644 modules/forgefed/repository.go create mode 100644 modules/forgefed/repository_test.go create mode 100644 modules/generate/generate.go create mode 100644 modules/generate/generate_test.go create mode 100644 modules/git/README.md create mode 100644 modules/git/batch.go create mode 100644 modules/git/batch_reader.go create mode 100644 modules/git/blame.go create mode 100644 modules/git/blame_sha256_test.go create mode 100644 modules/git/blame_test.go create mode 100644 modules/git/blob.go create mode 100644 modules/git/blob_test.go create mode 100644 modules/git/command.go create mode 100644 modules/git/command_race_test.go create mode 100644 modules/git/command_test.go create mode 100644 modules/git/commit.go create mode 100644 modules/git/commit_info.go create mode 100644 modules/git/commit_info_test.go create mode 100644 modules/git/commit_reader.go create mode 100644 modules/git/commit_sha256_test.go create mode 100644 modules/git/commit_test.go create mode 100644 modules/git/diff.go create mode 100644 modules/git/diff_test.go create mode 100644 modules/git/error.go create mode 100644 modules/git/foreachref/format.go create mode 100644 modules/git/foreachref/format_test.go create mode 100644 modules/git/foreachref/parser.go create mode 100644 modules/git/foreachref/parser_test.go create mode 100644 modules/git/git.go create mode 100644 modules/git/git_test.go create mode 100644 modules/git/grep.go create mode 100644 modules/git/grep_test.go create mode 100644 modules/git/hook.go create mode 100644 modules/git/internal/cmdarg.go create mode 100644 modules/git/last_commit_cache.go create mode 100644 modules/git/log_name_status.go create mode 100644 modules/git/notes.go create mode 100644 modules/git/notes_test.go create mode 100644 modules/git/object_format.go create mode 100644 modules/git/object_id.go create mode 100644 modules/git/object_id_test.go create mode 100644 modules/git/object_signature.go create mode 100644 modules/git/parse.go create mode 100644 modules/git/parse_test.go create mode 100644 modules/git/pipeline/catfile.go create mode 100644 modules/git/pipeline/lfs.go create mode 100644 modules/git/pipeline/namerev.go create mode 100644 modules/git/pipeline/revlist.go create mode 100644 modules/git/pushoptions/pushoptions.go create mode 100644 modules/git/pushoptions/pushoptions_test.go create mode 100644 modules/git/ref.go create mode 100644 modules/git/ref_test.go create mode 100644 modules/git/remote.go create mode 100644 modules/git/repo.go create mode 100644 modules/git/repo_archive.go create mode 100644 modules/git/repo_attribute.go create mode 100644 modules/git/repo_attribute_test.go create mode 100644 modules/git/repo_base.go create mode 100644 modules/git/repo_base_test.go create mode 100644 modules/git/repo_blame.go create mode 100644 modules/git/repo_blob_test.go create mode 100644 modules/git/repo_branch.go create mode 100644 modules/git/repo_branch_test.go create mode 100644 modules/git/repo_commit.go create mode 100644 modules/git/repo_commit_test.go create mode 100644 modules/git/repo_commitgraph.go create mode 100644 modules/git/repo_compare.go create mode 100644 modules/git/repo_compare_test.go create mode 100644 modules/git/repo_gpg.go create mode 100644 modules/git/repo_hook.go create mode 100644 modules/git/repo_index.go create mode 100644 modules/git/repo_language_stats.go create mode 100644 modules/git/repo_language_stats_test.go create mode 100644 modules/git/repo_object.go create mode 100644 modules/git/repo_ref.go create mode 100644 modules/git/repo_ref_test.go create mode 100644 modules/git/repo_stats.go create mode 100644 modules/git/repo_stats_test.go create mode 100644 modules/git/repo_tag.go create mode 100644 modules/git/repo_tag_test.go create mode 100644 modules/git/repo_test.go create mode 100644 modules/git/repo_tree.go create mode 100644 modules/git/signature.go create mode 100644 modules/git/signature_test.go create mode 100644 modules/git/submodule.go create mode 100644 modules/git/submodule_test.go create mode 100644 modules/git/tag.go create mode 100644 modules/git/tag_test.go create mode 100644 modules/git/tests/repos/language_stats_repo/COMMIT_EDITMSG create mode 100644 modules/git/tests/repos/language_stats_repo/HEAD create mode 100644 modules/git/tests/repos/language_stats_repo/config create mode 100644 modules/git/tests/repos/language_stats_repo/description create mode 100644 modules/git/tests/repos/language_stats_repo/index create mode 100644 modules/git/tests/repos/language_stats_repo/info/exclude create mode 100644 modules/git/tests/repos/language_stats_repo/logs/HEAD create mode 100644 modules/git/tests/repos/language_stats_repo/logs/refs/heads/master create mode 100644 modules/git/tests/repos/language_stats_repo/objects/1e/ea60592b55dcb45c36029cc1202132e9fb756c create mode 100644 modules/git/tests/repos/language_stats_repo/objects/22/b6aa0588563508d8879f062470c8cbc7b2f2bb create mode 100644 modules/git/tests/repos/language_stats_repo/objects/34/1fca5b5ea3de596dc483e54c2db28633cd2f97 create mode 100644 modules/git/tests/repos/language_stats_repo/objects/42/25ecfaf6bafbcfa31ea5cbd8121c36d9457085 create mode 100644 modules/git/tests/repos/language_stats_repo/objects/4a/c803638e4b8995146e329a05e096fa2c77a03d create mode 100644 modules/git/tests/repos/language_stats_repo/objects/64/4c37ad7fe64ac012df7e59d27a92e3137c640e create mode 100644 modules/git/tests/repos/language_stats_repo/objects/6c/633a0067b463e459ae952716b17ae36aa30adc create mode 100644 modules/git/tests/repos/language_stats_repo/objects/8e/b563dc106e3dfd3ad0fa81f7a0c5e2604f80cd create mode 100644 modules/git/tests/repos/language_stats_repo/objects/8f/ee858da5796dfb37704761701bb8e800ad9ef3 create mode 100644 modules/git/tests/repos/language_stats_repo/objects/aa/a21bf84c8b2304608d3fc83b747840f2456299 create mode 100644 modules/git/tests/repos/language_stats_repo/objects/da/a5abe3c5f42cae598e362e8a8db6284565d6bb create mode 100644 modules/git/tests/repos/language_stats_repo/refs/heads/master create mode 100644 modules/git/tests/repos/repo1_bare/HEAD create mode 100644 modules/git/tests/repos/repo1_bare/config create mode 100644 modules/git/tests/repos/repo1_bare/description create mode 100644 modules/git/tests/repos/repo1_bare/index create mode 100644 modules/git/tests/repos/repo1_bare/info/exclude create mode 100644 modules/git/tests/repos/repo1_bare/logs/HEAD create mode 100644 modules/git/tests/repos/repo1_bare/logs/refs/heads/master create mode 100644 modules/git/tests/repos/repo1_bare/objects/0b/9f291245f6c596fd30bee925fe94fe0cbadd60 create mode 100644 modules/git/tests/repos/repo1_bare/objects/11/93ff46343f4f6a0522e2b28b871e905178c1f0 create mode 100644 modules/git/tests/repos/repo1_bare/objects/15/3f451b9ee7fa1da317ab17a127e9fd9d384310 create mode 100644 modules/git/tests/repos/repo1_bare/objects/18/4d49c75a0b202b1d2ea2fcb5861c329321fcd6 create mode 100644 modules/git/tests/repos/repo1_bare/objects/1c/91d130dc5fb75fd2d9f586a058650889cfe7fb create mode 100644 modules/git/tests/repos/repo1_bare/objects/21/6bf54c2f2e2916b830ebe09e8c58a6ed52d86b create mode 100644 modules/git/tests/repos/repo1_bare/objects/28/345b214c5967bd9cdd98cc7f88f2f1ac574e02 create mode 100644 modules/git/tests/repos/repo1_bare/objects/28/39944139e0de9737a044f78b0e4b40d989a9e3 create mode 100644 modules/git/tests/repos/repo1_bare/objects/28/b55526e7100924d864dd89e35c1ea62e7a5a32 create mode 100644 modules/git/tests/repos/repo1_bare/objects/2e/65efe2a145dda7ee51d1741299f848e5bf752e create mode 100644 modules/git/tests/repos/repo1_bare/objects/30/4c56b3bef33d0afeb8515ee803c839daf30ab8 create mode 100644 modules/git/tests/repos/repo1_bare/objects/34/d1da713bf7de1c535e1d7d3ca985afd84bc7e5 create mode 100644 modules/git/tests/repos/repo1_bare/objects/36/f97d9a96457e2bab511db30fe2db03893ebc64 create mode 100644 modules/git/tests/repos/repo1_bare/objects/37/991dec2c8e592043f47155ce4808d4580f9123 create mode 100644 modules/git/tests/repos/repo1_bare/objects/38/441bf2c4d4c27efff94728c9eb33266f44a702 create mode 100644 modules/git/tests/repos/repo1_bare/objects/3a/d28a9149a2864384548f3d17ed7f38014c9e8a create mode 100644 modules/git/tests/repos/repo1_bare/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904 create mode 100644 modules/git/tests/repos/repo1_bare/objects/50/13716a9da8e66ea21059a84f1b4311424d2b7f create mode 100644 modules/git/tests/repos/repo1_bare/objects/59/dfb0bb505a601006e31fed53d2e24e44fca9ca create mode 100644 modules/git/tests/repos/repo1_bare/objects/5c/80b0245c1c6f8343fa418ec374b13b5d4ee658 create mode 100644 modules/git/tests/repos/repo1_bare/objects/62/d735f9efa9cf5b7df6bac9917b80e4779f4315 create mode 100644 modules/git/tests/repos/repo1_bare/objects/64/3a35374408002fcf2f0e8d42d262a1e0e2f80e create mode 100644 modules/git/tests/repos/repo1_bare/objects/6c/493ff740f9380390d5c9ddef4af18697ac9375 create mode 100644 modules/git/tests/repos/repo1_bare/objects/6f/bd69e9823458e6c4a2fc5c0f6bc022b2f2acd1 create mode 100644 modules/git/tests/repos/repo1_bare/objects/7e/3b688f3369ca28ebafbda9f8ef39713dd12fc8 create mode 100644 modules/git/tests/repos/repo1_bare/objects/80/06ff9adbf0cb94da7dad9e537e53817f9fa5c0 create mode 100644 modules/git/tests/repos/repo1_bare/objects/82/26f571dcc2d2f33a7179d929b10b9c39faa631 create mode 100644 modules/git/tests/repos/repo1_bare/objects/83/b9c4da46ed59098a009f8640c77eac97b71dfe create mode 100644 modules/git/tests/repos/repo1_bare/objects/8d/92fc957a4d7cfd98bc375f0b7bb189a0d6c9f2 create mode 100644 modules/git/tests/repos/repo1_bare/objects/93/3305878a3c9ad485c29b87fb662a73a9675c4b create mode 100644 modules/git/tests/repos/repo1_bare/objects/95/bb4d39648ee7e325106df01a621c530863a653 create mode 100644 modules/git/tests/repos/repo1_bare/objects/98/1ff127cc331753bba28e1377c35934f1ca9b56 create mode 100644 modules/git/tests/repos/repo1_bare/objects/9c/9aef8dd84e02bc7ec12641deb4c930a7c30185 create mode 100644 modules/git/tests/repos/repo1_bare/objects/a4/79ead1abb694ffca26f67b09c8313b12fa2a13 create mode 100644 modules/git/tests/repos/repo1_bare/objects/b1/4df6442ea5a1b382985a6549b85d435376c351 create mode 100644 modules/git/tests/repos/repo1_bare/objects/b1/fc9917b618c924cf4aa421dae74e8bf9b556d3 create mode 100644 modules/git/tests/repos/repo1_bare/objects/b7/5f44edbd9252c32bf9faa0c1257ffb3b126c24 create mode 100644 modules/git/tests/repos/repo1_bare/objects/c8/c90111bdc18b3afd2b2906007059e95ac8fdc3 create mode 100644 modules/git/tests/repos/repo1_bare/objects/ca/6b5ddf303169a72d2a2971acde4f6eea194e5c create mode 100644 modules/git/tests/repos/repo1_bare/objects/ce/064814f4a0d337b333e646ece456cd39fab612 create mode 100644 modules/git/tests/repos/repo1_bare/objects/cf/8b0b492a950b358a7ce7f9d01b18aef48a6b2d create mode 100644 modules/git/tests/repos/repo1_bare/objects/d0/845fe2f85710b50d673dafe98236bf9f2023da create mode 100644 modules/git/tests/repos/repo1_bare/objects/e2/129701f1a4d54dc44f03c93bca0a2aec7c5449 create mode 100644 modules/git/tests/repos/repo1_bare/objects/f1/a6cb52b2d16773290cefe49ad0684b50a4f930 create mode 100644 modules/git/tests/repos/repo1_bare/objects/fe/af4ba6bc635fec442f46ddd4512416ec43c2c2 create mode 100644 modules/git/tests/repos/repo1_bare/pulls/1.patch create mode 100644 modules/git/tests/repos/repo1_bare/pulls/2.patch create mode 100644 modules/git/tests/repos/repo1_bare/refs/heads/branch1 create mode 100644 modules/git/tests/repos/repo1_bare/refs/heads/branch2 create mode 100644 modules/git/tests/repos/repo1_bare/refs/heads/master create mode 100644 modules/git/tests/repos/repo1_bare/refs/notes/commits create mode 100644 modules/git/tests/repos/repo1_bare/refs/tags/signed-tag create mode 100644 modules/git/tests/repos/repo1_bare/refs/tags/test create mode 100644 modules/git/tests/repos/repo1_bare_sha256/HEAD create mode 100644 modules/git/tests/repos/repo1_bare_sha256/config create mode 100644 modules/git/tests/repos/repo1_bare_sha256/description create mode 100644 modules/git/tests/repos/repo1_bare_sha256/info/exclude create mode 100644 modules/git/tests/repos/repo1_bare_sha256/info/refs create mode 100644 modules/git/tests/repos/repo1_bare_sha256/objects/info/commit-graph create mode 100644 modules/git/tests/repos/repo1_bare_sha256/objects/info/packs create mode 100644 modules/git/tests/repos/repo1_bare_sha256/objects/pack/pack-c01aa121b9c5e345fe0da2f9be78665970b0c38c6b495d5fc034bc7a7b95334b.bitmap create mode 100644 modules/git/tests/repos/repo1_bare_sha256/objects/pack/pack-c01aa121b9c5e345fe0da2f9be78665970b0c38c6b495d5fc034bc7a7b95334b.idx create mode 100644 modules/git/tests/repos/repo1_bare_sha256/objects/pack/pack-c01aa121b9c5e345fe0da2f9be78665970b0c38c6b495d5fc034bc7a7b95334b.pack create mode 100644 modules/git/tests/repos/repo1_bare_sha256/objects/pack/pack-c01aa121b9c5e345fe0da2f9be78665970b0c38c6b495d5fc034bc7a7b95334b.rev create mode 100644 modules/git/tests/repos/repo1_bare_sha256/packed-refs create mode 100644 modules/git/tests/repos/repo1_bare_sha256/refs/heads/main create mode 100644 modules/git/tests/repos/repo2_empty/HEAD create mode 100644 modules/git/tests/repos/repo2_empty/config create mode 100644 modules/git/tests/repos/repo2_empty/description create mode 100644 modules/git/tests/repos/repo2_empty/info/exclude create mode 100644 modules/git/tests/repos/repo2_empty/objects/info/.gitkeep create mode 100644 modules/git/tests/repos/repo2_empty/objects/pack/.gitkeep create mode 100644 modules/git/tests/repos/repo2_empty/refs/heads/.gitkeep create mode 100644 modules/git/tests/repos/repo2_empty/refs/tags/.gitkeep create mode 100644 modules/git/tests/repos/repo3_notes/COMMIT_EDITMSG create mode 100644 modules/git/tests/repos/repo3_notes/HEAD create mode 100644 modules/git/tests/repos/repo3_notes/config create mode 100644 modules/git/tests/repos/repo3_notes/description create mode 100644 modules/git/tests/repos/repo3_notes/index create mode 100644 modules/git/tests/repos/repo3_notes/logs/HEAD create mode 100644 modules/git/tests/repos/repo3_notes/logs/refs/heads/master create mode 100644 modules/git/tests/repos/repo3_notes/objects/29/7128d6553180486c780e2f747cb6d0014bf1f6 create mode 100644 modules/git/tests/repos/repo3_notes/objects/2f/7e2ea1e905c14c8a98e7ce47b395592834b9ef create mode 100644 modules/git/tests/repos/repo3_notes/objects/3e/668dbfac39cbc80a9ff9c61eb565d944453ba4 create mode 100644 modules/git/tests/repos/repo3_notes/objects/42/716fdb6f261867472899d785123e6ecaa5ca02 create mode 100644 modules/git/tests/repos/repo3_notes/objects/56/a6051ca2b02b04ef92d5150c9ef600403cb1de create mode 100644 modules/git/tests/repos/repo3_notes/objects/61/6c62e75fce60d806f4afe993211705a00a2544 create mode 100644 modules/git/tests/repos/repo3_notes/objects/65/4c8b6b63c08bf37f638d3f521626b7fbbd4d37 create mode 100644 modules/git/tests/repos/repo3_notes/objects/ba/0a96fa63532d6c5087ecef070b0250ed72fa47 create mode 100644 modules/git/tests/repos/repo3_notes/objects/c9/34d51cee361fdee21a3f3bb1a285f5ea9bc225 create mode 100644 modules/git/tests/repos/repo3_notes/objects/d8/263ee9860594d2806b0dfd1bfd17528b0ba2a4 create mode 100644 modules/git/tests/repos/repo3_notes/objects/f3/6ad903e408cb8f4ed90bda02e3a1fd2fab7907 create mode 100644 modules/git/tests/repos/repo3_notes/objects/fe/c9fe57e9864fe537f02f825e377c4a8a65ad2e create mode 100644 modules/git/tests/repos/repo3_notes/refs/heads/master create mode 100644 modules/git/tests/repos/repo3_notes/refs/notes/commits create mode 100644 modules/git/tests/repos/repo4_commitsbetween/HEAD create mode 100644 modules/git/tests/repos/repo4_commitsbetween/config create mode 100644 modules/git/tests/repos/repo4_commitsbetween/logs/HEAD create mode 100644 modules/git/tests/repos/repo4_commitsbetween/logs/refs/heads/main create mode 100644 modules/git/tests/repos/repo4_commitsbetween/objects/27/734c860ab19650d48e71f9f12d9bd194ed82ea create mode 100644 modules/git/tests/repos/repo4_commitsbetween/objects/56/a6051ca2b02b04ef92d5150c9ef600403cb1de create mode 100644 modules/git/tests/repos/repo4_commitsbetween/objects/78/a445db1eac62fe15e624e1137965969addf344 create mode 100644 modules/git/tests/repos/repo4_commitsbetween/objects/a7/8e5638b66ccfe7e1b4689d3d5684e42c97d7ca create mode 100644 modules/git/tests/repos/repo4_commitsbetween/objects/ad/74ceca1b8fde10c7d933bd2e56d347dddb4ab5 create mode 100644 modules/git/tests/repos/repo4_commitsbetween/objects/b5/d8dd0ddd9d8d752bb47b5f781f09f478316098 create mode 100644 modules/git/tests/repos/repo4_commitsbetween/objects/d8/263ee9860594d2806b0dfd1bfd17528b0ba2a4 create mode 100644 modules/git/tests/repos/repo4_commitsbetween/objects/e2/3cc6a008501f1491b0480cedaef160e41cf684 create mode 100644 modules/git/tests/repos/repo4_commitsbetween/objects/fd/c1b615bdcff0f0658b216df0c9209e5ecb7c78 create mode 100644 modules/git/tests/repos/repo4_commitsbetween/refs/heads/main create mode 100644 modules/git/tests/repos/repo5_pulls/HEAD create mode 100644 modules/git/tests/repos/repo5_pulls/config create mode 100644 modules/git/tests/repos/repo5_pulls/description create mode 100644 modules/git/tests/repos/repo5_pulls/info/exclude create mode 100644 modules/git/tests/repos/repo5_pulls/objects/1a/2959532d2d18daa87bbd9f9d16051bef7b51df create mode 100644 modules/git/tests/repos/repo5_pulls/objects/56/51a1c4a48c47484a7a00a967ba4b6dde070bbf create mode 100644 modules/git/tests/repos/repo5_pulls/objects/58/a4bcc53ac13e7ff76127e0fb518b5262bf09af create mode 100644 modules/git/tests/repos/repo5_pulls/objects/6d/0b4cca434953833618fcd3dd7acff42c800df1 create mode 100644 modules/git/tests/repos/repo5_pulls/objects/a5/2ca5af1b0277638ce20797f80bb1a2997470ab create mode 100644 modules/git/tests/repos/repo5_pulls/objects/bf/4dc0709be60f043821351ff4bb2b17e5cabbb2 create mode 100644 modules/git/tests/repos/repo5_pulls/objects/d8/e0bbb45f200e67d9a784ce55bd90821af45ebd create mode 100644 modules/git/tests/repos/repo5_pulls/objects/ed/5119b3c1f45547b6785bc03eac7f87570fa17f create mode 100644 modules/git/tests/repos/repo5_pulls/objects/ed/8f4d2fa5b2420706580d191f5dd50c4e491f3f create mode 100644 modules/git/tests/repos/repo5_pulls/objects/ee/469963e76ae1bb7ee83d7510df2864e6c8c640 create mode 100644 modules/git/tests/repos/repo5_pulls/objects/info/packs create mode 100644 modules/git/tests/repos/repo5_pulls/objects/pack/pack-81423f591973f5d9dab89cc45afa1c544448133e.idx create mode 100644 modules/git/tests/repos/repo5_pulls/objects/pack/pack-81423f591973f5d9dab89cc45afa1c544448133e.pack create mode 100644 modules/git/tests/repos/repo5_pulls/packed-refs create mode 100644 modules/git/tests/repos/repo5_pulls/refs/heads/master create mode 100644 modules/git/tests/repos/repo5_pulls/refs/heads/master-clone create mode 100644 modules/git/tests/repos/repo5_pulls/refs/heads/test-patch-1 create mode 100644 modules/git/tests/repos/repo5_pulls/refs/pull/4/head create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/HEAD create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/config create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/description create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/info/refs create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/objects/info/commit-graph create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/objects/info/packs create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/objects/pack/pack-bfe8f09d42ef5dd1610bf42641fe145d4a02b788eb26c31022a362312660a29d.bitmap create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/objects/pack/pack-bfe8f09d42ef5dd1610bf42641fe145d4a02b788eb26c31022a362312660a29d.idx create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/objects/pack/pack-bfe8f09d42ef5dd1610bf42641fe145d4a02b788eb26c31022a362312660a29d.pack create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/objects/pack/pack-bfe8f09d42ef5dd1610bf42641fe145d4a02b788eb26c31022a362312660a29d.rev create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/packed-refs create mode 100644 modules/git/tests/repos/repo5_pulls_sha256/refs/heads/main create mode 100644 modules/git/tests/repos/repo6_blame/HEAD create mode 100644 modules/git/tests/repos/repo6_blame/config create mode 100644 modules/git/tests/repos/repo6_blame/objects/31/bb4b42cecf0a98fc9a32fc5aaeaf53ec52643c create mode 100644 modules/git/tests/repos/repo6_blame/objects/3b/0f66d8b065f8adbf2fef7d986528c655b98cb1 create mode 100644 modules/git/tests/repos/repo6_blame/objects/45/fb6cbc12f970b04eacd5cd4165edd11c8d7376 create mode 100644 modules/git/tests/repos/repo6_blame/objects/49/7701e5bb8676e419b93875d8f0808c7b31aed9 create mode 100644 modules/git/tests/repos/repo6_blame/objects/54/4d8f7a3b15927cddf2299b4b562d6ebd71b6a7 create mode 100644 modules/git/tests/repos/repo6_blame/objects/a8/9199e8dea077e4a8ba0bc01bc155275cfdd044 create mode 100644 modules/git/tests/repos/repo6_blame/objects/af/7486bd54cfc39eea97207ca666aa69c9d6df93 create mode 100644 modules/git/tests/repos/repo6_blame/objects/b8/d1ba1ccb58ee3744b3d1434aae7d26ce2d9421 create mode 100644 modules/git/tests/repos/repo6_blame/objects/ca/411a3b842c3caec045772da42de16b3ffdafe8 create mode 100644 modules/git/tests/repos/repo6_blame/refs/heads/master create mode 100644 modules/git/tests/repos/repo6_blame_sha256/HEAD create mode 100644 modules/git/tests/repos/repo6_blame_sha256/config create mode 100644 modules/git/tests/repos/repo6_blame_sha256/description create mode 100644 modules/git/tests/repos/repo6_blame_sha256/info/exclude create mode 100644 modules/git/tests/repos/repo6_blame_sha256/info/refs create mode 100644 modules/git/tests/repos/repo6_blame_sha256/objects/info/commit-graph create mode 100644 modules/git/tests/repos/repo6_blame_sha256/objects/info/packs create mode 100644 modules/git/tests/repos/repo6_blame_sha256/objects/pack/pack-fcb8a221b76025fd8415d3c562b611ac24312a5ffc3d3703d7c5cc906bdaee8e.bitmap create mode 100644 modules/git/tests/repos/repo6_blame_sha256/objects/pack/pack-fcb8a221b76025fd8415d3c562b611ac24312a5ffc3d3703d7c5cc906bdaee8e.idx create mode 100644 modules/git/tests/repos/repo6_blame_sha256/objects/pack/pack-fcb8a221b76025fd8415d3c562b611ac24312a5ffc3d3703d7c5cc906bdaee8e.pack create mode 100644 modules/git/tests/repos/repo6_blame_sha256/objects/pack/pack-fcb8a221b76025fd8415d3c562b611ac24312a5ffc3d3703d7c5cc906bdaee8e.rev create mode 100644 modules/git/tests/repos/repo6_blame_sha256/packed-refs create mode 100644 modules/git/tests/repos/repo6_blame_sha256/refs/refs/main create mode 100644 modules/git/tests/repos/repo6_merge/HEAD create mode 100644 modules/git/tests/repos/repo6_merge/objects/02/2f4ce6214973e018f02bf363bf8a2e3691f699 create mode 100644 modules/git/tests/repos/repo6_merge/objects/05/45879290cc368a8becebc4aa34002c52d5fecc create mode 100644 modules/git/tests/repos/repo6_merge/objects/1e/5d0a65fe099ef12d24b28f783896e4b8172576 create mode 100644 modules/git/tests/repos/repo6_merge/objects/37/d35c7ed39e4e16d0b579a5b995b7e30b0e9411 create mode 100644 modules/git/tests/repos/repo6_merge/objects/38/ec3e0cdc88bde01014bda4a5dd9fc835f41439 create mode 100644 modules/git/tests/repos/repo6_merge/objects/66/7e0fbc6bc02c2285d17f542e89b23c0fa5482b create mode 100644 modules/git/tests/repos/repo6_merge/objects/9f/d90b1d524c0fea776ed5e6476da02ea1740597 create mode 100644 modules/git/tests/repos/repo6_merge/objects/ae/4b035e7c4afbc000576cee3f713ea0c2f1e1e2 create mode 100644 modules/git/tests/repos/repo6_merge/objects/ba/2906d0666cf726c7eaadd2cd3db615dedfdf3a create mode 100644 modules/git/tests/repos/repo6_merge/objects/c1/a95c2eff8151c6d1437a0d5d3322a73ff38fb8 create mode 100644 modules/git/tests/repos/repo6_merge/objects/cc/d1d4d594029e68c388ecef5aa3063fa1055831 create mode 100644 modules/git/tests/repos/repo6_merge/objects/cd/fc1aaf7a149151cb7bff639fafe05668d4bbd2 create mode 100644 modules/git/tests/repos/repo6_merge/objects/d1/792641396ff7630d35fbb0b74b86b0c71bca77 create mode 100644 modules/git/tests/repos/repo6_merge/objects/ec/d11d8da0f25eaa99f64a37a82da98685f381e2 create mode 100644 modules/git/tests/repos/repo6_merge/objects/fa/49b077972391ad58037050f2a75f74e3671e92 create mode 100644 modules/git/tests/repos/repo6_merge/refs/heads/main create mode 100644 modules/git/tests/repos/repo6_merge/refs/heads/merge/add_file create mode 100644 modules/git/tests/repos/repo6_merge/refs/heads/merge/modify_file create mode 100644 modules/git/tests/repos/repo6_merge/refs/heads/merge/remove_file create mode 100644 modules/git/tests/repos/repo6_merge_sha256/HEAD create mode 100644 modules/git/tests/repos/repo6_merge_sha256/config create mode 100644 modules/git/tests/repos/repo6_merge_sha256/description create mode 100644 modules/git/tests/repos/repo6_merge_sha256/info/exclude create mode 100644 modules/git/tests/repos/repo6_merge_sha256/info/refs create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/info/commit-graph create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/info/packs create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/pack/pack-2fff0848f8d8eab8f7902ac91ab6a096c7530f577d5c0a79c63d9ac2b44f7510.bitmap create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/pack/pack-2fff0848f8d8eab8f7902ac91ab6a096c7530f577d5c0a79c63d9ac2b44f7510.idx create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/pack/pack-2fff0848f8d8eab8f7902ac91ab6a096c7530f577d5c0a79c63d9ac2b44f7510.pack create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/pack/pack-2fff0848f8d8eab8f7902ac91ab6a096c7530f577d5c0a79c63d9ac2b44f7510.rev create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/pack/pack-65162b86afdbac3c566696d487e67bb2a4a5501ca1fa3528fad8a9474fba7e50.idx create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/pack/pack-65162b86afdbac3c566696d487e67bb2a4a5501ca1fa3528fad8a9474fba7e50.mtimes create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/pack/pack-65162b86afdbac3c566696d487e67bb2a4a5501ca1fa3528fad8a9474fba7e50.pack create mode 100644 modules/git/tests/repos/repo6_merge_sha256/objects/pack/pack-65162b86afdbac3c566696d487e67bb2a4a5501ca1fa3528fad8a9474fba7e50.rev create mode 100644 modules/git/tests/repos/repo6_merge_sha256/packed-refs create mode 100644 modules/git/tests/repos/repo6_merge_sha256/refs/heads/main create mode 100644 modules/git/tree.go create mode 100644 modules/git/tree_blob.go create mode 100644 modules/git/tree_entry.go create mode 100644 modules/git/tree_entry_mode.go create mode 100644 modules/git/tree_test.go create mode 100644 modules/git/url/url.go create mode 100644 modules/git/url/url_test.go create mode 100644 modules/git/utils.go create mode 100644 modules/git/utils_test.go create mode 100644 modules/gitgraph/graph.go create mode 100644 modules/gitgraph/graph_models.go create mode 100644 modules/gitgraph/graph_test.go create mode 100644 modules/gitgraph/parser.go create mode 100644 modules/gitrepo/branch.go create mode 100644 modules/gitrepo/gitrepo.go create mode 100644 modules/gitrepo/walk.go create mode 100644 modules/graceful/context.go create mode 100644 modules/graceful/manager.go create mode 100644 modules/graceful/manager_common.go create mode 100644 modules/graceful/manager_unix.go create mode 100644 modules/graceful/manager_windows.go create mode 100644 modules/graceful/net_unix.go create mode 100644 modules/graceful/net_windows.go create mode 100644 modules/graceful/releasereopen/releasereopen.go create mode 100644 modules/graceful/releasereopen/releasereopen_test.go create mode 100644 modules/graceful/restart_unix.go create mode 100644 modules/graceful/server.go create mode 100644 modules/graceful/server_hooks.go create mode 100644 modules/graceful/server_http.go create mode 100644 modules/hcaptcha/error.go create mode 100644 modules/hcaptcha/hcaptcha.go create mode 100644 modules/hcaptcha/hcaptcha_test.go create mode 100644 modules/highlight/highlight.go create mode 100644 modules/highlight/highlight_test.go create mode 100644 modules/hostmatcher/hostmatcher.go create mode 100644 modules/hostmatcher/hostmatcher_test.go create mode 100644 modules/hostmatcher/http.go create mode 100644 modules/html/html.go create mode 100644 modules/httpcache/httpcache.go create mode 100644 modules/httpcache/httpcache_test.go create mode 100644 modules/httplib/request.go create mode 100644 modules/httplib/serve.go create mode 100644 modules/httplib/serve_test.go create mode 100644 modules/httplib/url.go create mode 100644 modules/httplib/url_test.go create mode 100644 modules/indexer/code/bleve/bleve.go create mode 100644 modules/indexer/code/elasticsearch/elasticsearch.go create mode 100644 modules/indexer/code/elasticsearch/elasticsearch_test.go create mode 100644 modules/indexer/code/git.go create mode 100644 modules/indexer/code/indexer.go create mode 100644 modules/indexer/code/indexer_test.go create mode 100644 modules/indexer/code/internal/indexer.go create mode 100644 modules/indexer/code/internal/model.go create mode 100644 modules/indexer/code/internal/util.go create mode 100644 modules/indexer/code/search.go create mode 100644 modules/indexer/internal/base32.go create mode 100644 modules/indexer/internal/bleve/batch.go create mode 100644 modules/indexer/internal/bleve/indexer.go create mode 100644 modules/indexer/internal/bleve/metadata.go create mode 100644 modules/indexer/internal/bleve/metadata_test.go create mode 100644 modules/indexer/internal/bleve/query.go create mode 100644 modules/indexer/internal/bleve/util.go create mode 100644 modules/indexer/internal/db/indexer.go create mode 100644 modules/indexer/internal/elasticsearch/indexer.go create mode 100644 modules/indexer/internal/elasticsearch/util.go create mode 100644 modules/indexer/internal/indexer.go create mode 100644 modules/indexer/internal/meilisearch/filter.go create mode 100644 modules/indexer/internal/meilisearch/indexer.go create mode 100644 modules/indexer/internal/meilisearch/util.go create mode 100644 modules/indexer/internal/paginator.go create mode 100644 modules/indexer/issues/bleve/bleve.go create mode 100644 modules/indexer/issues/bleve/bleve_test.go create mode 100644 modules/indexer/issues/db/db.go create mode 100644 modules/indexer/issues/db/options.go create mode 100644 modules/indexer/issues/dboptions.go create mode 100644 modules/indexer/issues/elasticsearch/elasticsearch.go create mode 100644 modules/indexer/issues/elasticsearch/elasticsearch_test.go create mode 100644 modules/indexer/issues/indexer.go create mode 100644 modules/indexer/issues/indexer_test.go create mode 100644 modules/indexer/issues/internal/indexer.go create mode 100644 modules/indexer/issues/internal/model.go create mode 100644 modules/indexer/issues/internal/tests/tests.go create mode 100644 modules/indexer/issues/meilisearch/meilisearch.go create mode 100644 modules/indexer/issues/meilisearch/meilisearch_test.go create mode 100644 modules/indexer/issues/util.go create mode 100644 modules/indexer/stats/db.go create mode 100644 modules/indexer/stats/indexer.go create mode 100644 modules/indexer/stats/indexer_test.go create mode 100644 modules/indexer/stats/queue.go create mode 100644 modules/issue/template/template.go create mode 100644 modules/issue/template/template_test.go create mode 100644 modules/issue/template/unmarshal.go create mode 100644 modules/json/json.go create mode 100644 modules/keying/keying.go create mode 100644 modules/keying/keying_test.go create mode 100644 modules/label/label.go create mode 100644 modules/label/parser.go create mode 100644 modules/label/parser_test.go create mode 100644 modules/lfs/LICENSE create mode 100644 modules/lfs/client.go create mode 100644 modules/lfs/client_test.go create mode 100644 modules/lfs/content_store.go create mode 100644 modules/lfs/endpoint.go create mode 100644 modules/lfs/endpoint_test.go create mode 100644 modules/lfs/filesystem_client.go create mode 100644 modules/lfs/http_client.go create mode 100644 modules/lfs/http_client_test.go create mode 100644 modules/lfs/pointer.go create mode 100644 modules/lfs/pointer_scanner.go create mode 100644 modules/lfs/pointer_test.go create mode 100644 modules/lfs/shared.go create mode 100644 modules/lfs/transferadapter.go create mode 100644 modules/lfs/transferadapter_test.go create mode 100644 modules/log/color.go create mode 100644 modules/log/color_console.go create mode 100644 modules/log/color_console_other.go create mode 100644 modules/log/color_console_windows.go create mode 100644 modules/log/color_router.go create mode 100644 modules/log/event_format.go create mode 100644 modules/log/event_format_test.go create mode 100644 modules/log/event_writer.go create mode 100644 modules/log/event_writer_base.go create mode 100644 modules/log/event_writer_conn.go create mode 100644 modules/log/event_writer_conn_test.go create mode 100644 modules/log/event_writer_console.go create mode 100644 modules/log/event_writer_file.go create mode 100644 modules/log/flags.go create mode 100644 modules/log/flags_test.go create mode 100644 modules/log/groutinelabel.go create mode 100644 modules/log/groutinelabel_test.go create mode 100644 modules/log/init.go create mode 100644 modules/log/level.go create mode 100644 modules/log/level_test.go create mode 100644 modules/log/logger.go create mode 100644 modules/log/logger_global.go create mode 100644 modules/log/logger_impl.go create mode 100644 modules/log/logger_test.go create mode 100644 modules/log/manager.go create mode 100644 modules/log/manager_test.go create mode 100644 modules/log/misc.go create mode 100644 modules/log/stack.go create mode 100644 modules/markup/asciicast/asciicast.go create mode 100644 modules/markup/camo.go create mode 100644 modules/markup/camo_test.go create mode 100644 modules/markup/common/footnote.go create mode 100644 modules/markup/common/footnote_test.go create mode 100644 modules/markup/common/html.go create mode 100644 modules/markup/common/linkify.go create mode 100644 modules/markup/console/console.go create mode 100644 modules/markup/console/console_test.go create mode 100644 modules/markup/csv/csv.go create mode 100644 modules/markup/csv/csv_test.go create mode 100644 modules/markup/external/external.go create mode 100644 modules/markup/file_preview.go create mode 100644 modules/markup/html.go create mode 100644 modules/markup/html_internal_test.go create mode 100644 modules/markup/html_test.go create mode 100644 modules/markup/markdown/ast.go create mode 100644 modules/markup/markdown/callout/ast.go create mode 100644 modules/markup/markdown/callout/github.go create mode 100644 modules/markup/markdown/callout/github_legacy.go create mode 100644 modules/markup/markdown/color_util.go create mode 100644 modules/markup/markdown/color_util_test.go create mode 100644 modules/markup/markdown/convertyaml.go create mode 100644 modules/markup/markdown/goldmark.go create mode 100644 modules/markup/markdown/markdown.go create mode 100644 modules/markup/markdown/markdown_test.go create mode 100644 modules/markup/markdown/math/block_node.go create mode 100644 modules/markup/markdown/math/block_parser.go create mode 100644 modules/markup/markdown/math/block_renderer.go create mode 100644 modules/markup/markdown/math/inline_block_node.go create mode 100644 modules/markup/markdown/math/inline_node.go create mode 100644 modules/markup/markdown/math/inline_parser.go create mode 100644 modules/markup/markdown/math/inline_renderer.go create mode 100644 modules/markup/markdown/math/math.go create mode 100644 modules/markup/markdown/meta.go create mode 100644 modules/markup/markdown/meta_test.go create mode 100644 modules/markup/markdown/prefixed_id.go create mode 100644 modules/markup/markdown/renderconfig.go create mode 100644 modules/markup/markdown/renderconfig_test.go create mode 100644 modules/markup/markdown/toc.go create mode 100644 modules/markup/markdown/transform_codespan.go create mode 100644 modules/markup/markdown/transform_heading.go create mode 100644 modules/markup/markdown/transform_image.go create mode 100644 modules/markup/markdown/transform_link.go create mode 100644 modules/markup/markdown/transform_list.go create mode 100644 modules/markup/mdstripper/mdstripper.go create mode 100644 modules/markup/mdstripper/mdstripper_test.go create mode 100644 modules/markup/orgmode/orgmode.go create mode 100644 modules/markup/orgmode/orgmode_test.go create mode 100644 modules/markup/renderer.go create mode 100644 modules/markup/renderer_test.go create mode 100644 modules/markup/sanitizer.go create mode 100644 modules/markup/sanitizer_test.go create mode 100644 modules/markup/tests/repo/repo1_filepreview/HEAD create mode 100644 modules/markup/tests/repo/repo1_filepreview/config create mode 100644 modules/markup/tests/repo/repo1_filepreview/description create mode 100644 modules/markup/tests/repo/repo1_filepreview/info/exclude create mode 100644 modules/markup/tests/repo/repo1_filepreview/objects/19/0d9492934af498c3f669d6a2431dc5459e5b20 create mode 100644 modules/markup/tests/repo/repo1_filepreview/objects/3f/ed9bce8610a52048747f627b3863374642c85c create mode 100644 modules/markup/tests/repo/repo1_filepreview/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904 create mode 100644 modules/markup/tests/repo/repo1_filepreview/objects/4c/1aaf56bcb9f39dcf65f3f250726850aed13cd6 create mode 100644 modules/markup/tests/repo/repo1_filepreview/objects/83/57a737d04385bb7f2ab59ff184be94756e7972 create mode 100644 modules/markup/tests/repo/repo1_filepreview/objects/84/22d40f12717e1ebd5cef2449f6c09d1f775969 create mode 100644 modules/markup/tests/repo/repo1_filepreview/objects/8c/7e5a667f1b771847fe88c01c3de34413a1b220 create mode 100644 modules/markup/tests/repo/repo1_filepreview/objects/d4/490327def9658be036d6a52c4417d84e74dd4c create mode 100644 modules/markup/tests/repo/repo1_filepreview/objects/ee/2b1253d9cf407796e2e724926cbe3a974b214d create mode 100644 modules/markup/tests/repo/repo1_filepreview/refs/heads/master create mode 100644 modules/mcaptcha/mcaptcha.go create mode 100755 modules/metrics/collector.go create mode 100644 modules/migration/comment.go create mode 100644 modules/migration/downloader.go create mode 100644 modules/migration/error.go create mode 100644 modules/migration/file_format.go create mode 100644 modules/migration/file_format_test.go create mode 100644 modules/migration/file_format_testdata/issue_a.json create mode 100644 modules/migration/file_format_testdata/issue_a.yml create mode 100644 modules/migration/file_format_testdata/issue_b.json create mode 100644 modules/migration/file_format_testdata/milestones.json create mode 100644 modules/migration/issue.go create mode 100644 modules/migration/label.go create mode 100644 modules/migration/messenger.go create mode 100644 modules/migration/milestone.go create mode 100644 modules/migration/null_downloader.go create mode 100644 modules/migration/options.go create mode 100644 modules/migration/pullrequest.go create mode 100644 modules/migration/reaction.go create mode 100644 modules/migration/release.go create mode 100644 modules/migration/repo.go create mode 100644 modules/migration/retry_downloader.go create mode 100644 modules/migration/review.go create mode 100644 modules/migration/schemas/issue.json create mode 100644 modules/migration/schemas/label.json create mode 100644 modules/migration/schemas/milestone.json create mode 100644 modules/migration/schemas/reaction.json create mode 100644 modules/migration/schemas_bindata.go create mode 100644 modules/migration/schemas_dynamic.go create mode 100644 modules/migration/schemas_static.go create mode 100644 modules/migration/uploader.go create mode 100644 modules/nosql/leveldb.go create mode 100644 modules/nosql/manager.go create mode 100644 modules/nosql/manager_leveldb.go create mode 100644 modules/nosql/manager_redis.go create mode 100644 modules/nosql/manager_redis_test.go create mode 100644 modules/nosql/redis.go create mode 100644 modules/nosql/redis_test.go create mode 100644 modules/optional/option.go create mode 100644 modules/optional/option_test.go create mode 100644 modules/optional/serialization.go create mode 100644 modules/optional/serialization_test.go create mode 100644 modules/options/base.go create mode 100644 modules/options/dynamic.go create mode 100644 modules/options/options_bindata.go create mode 100644 modules/options/static.go create mode 100644 modules/packages/alpine/metadata.go create mode 100644 modules/packages/alpine/metadata_test.go create mode 100644 modules/packages/arch/metadata.go create mode 100644 modules/packages/arch/metadata_test.go create mode 100644 modules/packages/cargo/parser.go create mode 100644 modules/packages/cargo/parser_test.go create mode 100644 modules/packages/chef/metadata.go create mode 100644 modules/packages/chef/metadata_test.go create mode 100644 modules/packages/composer/metadata.go create mode 100644 modules/packages/composer/metadata_test.go create mode 100644 modules/packages/conan/conanfile_parser.go create mode 100644 modules/packages/conan/conanfile_parser_test.go create mode 100644 modules/packages/conan/conaninfo_parser.go create mode 100644 modules/packages/conan/conaninfo_parser_test.go create mode 100644 modules/packages/conan/metadata.go create mode 100644 modules/packages/conan/reference.go create mode 100644 modules/packages/conan/reference_test.go create mode 100644 modules/packages/conda/metadata.go create mode 100644 modules/packages/conda/metadata_test.go create mode 100644 modules/packages/container/helm/helm.go create mode 100644 modules/packages/container/metadata.go create mode 100644 modules/packages/container/metadata_test.go create mode 100644 modules/packages/content_store.go create mode 100644 modules/packages/cran/metadata.go create mode 100644 modules/packages/cran/metadata_test.go create mode 100644 modules/packages/debian/metadata.go create mode 100644 modules/packages/debian/metadata_test.go create mode 100644 modules/packages/goproxy/metadata.go create mode 100644 modules/packages/goproxy/metadata_test.go create mode 100644 modules/packages/hashed_buffer.go create mode 100644 modules/packages/hashed_buffer_test.go create mode 100644 modules/packages/helm/metadata.go create mode 100644 modules/packages/maven/metadata.go create mode 100644 modules/packages/maven/metadata_test.go create mode 100644 modules/packages/multi_hasher.go create mode 100644 modules/packages/multi_hasher_test.go create mode 100644 modules/packages/npm/creator.go create mode 100644 modules/packages/npm/creator_test.go create mode 100644 modules/packages/npm/metadata.go create mode 100644 modules/packages/nuget/metadata.go create mode 100644 modules/packages/nuget/metadata_test.go create mode 100644 modules/packages/nuget/symbol_extractor.go create mode 100644 modules/packages/nuget/symbol_extractor_test.go create mode 100644 modules/packages/pub/metadata.go create mode 100644 modules/packages/pub/metadata_test.go create mode 100644 modules/packages/pypi/metadata.go create mode 100644 modules/packages/rpm/metadata.go create mode 100644 modules/packages/rpm/metadata_test.go create mode 100644 modules/packages/rubygems/marshal.go create mode 100644 modules/packages/rubygems/marshal_test.go create mode 100644 modules/packages/rubygems/metadata.go create mode 100644 modules/packages/rubygems/metadata_test.go create mode 100644 modules/packages/swift/metadata.go create mode 100644 modules/packages/swift/metadata_test.go create mode 100644 modules/packages/vagrant/metadata.go create mode 100644 modules/packages/vagrant/metadata_test.go create mode 100644 modules/paginator/paginator.go create mode 100644 modules/paginator/paginator_test.go create mode 100644 modules/pprof/pprof.go create mode 100644 modules/private/actions.go create mode 100644 modules/private/forgejo_actions.go create mode 100644 modules/private/hook.go create mode 100644 modules/private/internal.go create mode 100644 modules/private/key.go create mode 100644 modules/private/mail.go create mode 100644 modules/private/manager.go create mode 100644 modules/private/request.go create mode 100644 modules/private/restore_repo.go create mode 100644 modules/private/serv.go create mode 100644 modules/process/context.go create mode 100644 modules/process/error.go create mode 100644 modules/process/manager.go create mode 100644 modules/process/manager_exec.go create mode 100644 modules/process/manager_stacktraces.go create mode 100644 modules/process/manager_test.go create mode 100644 modules/process/manager_unix.go create mode 100644 modules/process/manager_windows.go create mode 100644 modules/process/process.go create mode 100644 modules/proxy/proxy.go create mode 100644 modules/proxyprotocol/conn.go create mode 100644 modules/proxyprotocol/errors.go create mode 100644 modules/proxyprotocol/listener.go create mode 100644 modules/proxyprotocol/util.go create mode 100644 modules/public/mime_types.go create mode 100644 modules/public/public.go create mode 100644 modules/public/public_bindata.go create mode 100644 modules/public/public_test.go create mode 100644 modules/public/serve_dynamic.go create mode 100644 modules/public/serve_static.go create mode 100644 modules/queue/backoff.go create mode 100644 modules/queue/base.go create mode 100644 modules/queue/base_channel.go create mode 100644 modules/queue/base_channel_test.go create mode 100644 modules/queue/base_dummy.go create mode 100644 modules/queue/base_levelqueue.go create mode 100644 modules/queue/base_levelqueue_common.go create mode 100644 modules/queue/base_levelqueue_test.go create mode 100644 modules/queue/base_levelqueue_unique.go create mode 100644 modules/queue/base_redis.go create mode 100644 modules/queue/base_redis_test.go create mode 100644 modules/queue/base_redis_with_server_test.go create mode 100644 modules/queue/base_test.go create mode 100644 modules/queue/config.go create mode 100644 modules/queue/lqinternal/lqinternal.go create mode 100644 modules/queue/manager.go create mode 100644 modules/queue/manager_test.go create mode 100644 modules/queue/mock/inmemorymockredis.go create mode 100644 modules/queue/mock/redisuniversalclient.go create mode 100644 modules/queue/queue.go create mode 100644 modules/queue/testhelper.go create mode 100644 modules/queue/workergroup.go create mode 100644 modules/queue/workerqueue.go create mode 100644 modules/queue/workerqueue_test.go create mode 100644 modules/recaptcha/recaptcha.go create mode 100644 modules/references/references.go create mode 100644 modules/references/references_test.go create mode 100644 modules/regexplru/regexplru.go create mode 100644 modules/regexplru/regexplru_test.go create mode 100644 modules/repository/branch.go create mode 100644 modules/repository/branch_test.go create mode 100644 modules/repository/collaborator.go create mode 100644 modules/repository/collaborator_test.go create mode 100644 modules/repository/commits.go create mode 100644 modules/repository/commits_test.go create mode 100644 modules/repository/create.go create mode 100644 modules/repository/create_test.go create mode 100644 modules/repository/delete.go create mode 100644 modules/repository/env.go create mode 100644 modules/repository/fork.go create mode 100644 modules/repository/hooks.go create mode 100644 modules/repository/init.go create mode 100644 modules/repository/init_test.go create mode 100644 modules/repository/license.go create mode 100644 modules/repository/license_test.go create mode 100644 modules/repository/main_test.go create mode 100644 modules/repository/push.go create mode 100644 modules/repository/repo.go create mode 100644 modules/repository/repo_test.go create mode 100644 modules/repository/temp.go create mode 100644 modules/secret/secret.go create mode 100644 modules/secret/secret_test.go create mode 100644 modules/session/db.go create mode 100644 modules/session/redis.go create mode 100644 modules/session/store.go create mode 100644 modules/session/virtual.go create mode 100644 modules/setting/actions.go create mode 100644 modules/setting/actions_test.go create mode 100644 modules/setting/admin.go create mode 100644 modules/setting/admin_test.go create mode 100644 modules/setting/api.go create mode 100644 modules/setting/asset_dynamic.go create mode 100644 modules/setting/asset_static.go create mode 100644 modules/setting/attachment.go create mode 100644 modules/setting/attachment_test.go create mode 100644 modules/setting/badges.go create mode 100644 modules/setting/cache.go create mode 100644 modules/setting/camo.go create mode 100644 modules/setting/config.go create mode 100644 modules/setting/config/getter.go create mode 100644 modules/setting/config/value.go create mode 100644 modules/setting/config_env.go create mode 100644 modules/setting/config_env_test.go create mode 100644 modules/setting/config_provider.go create mode 100644 modules/setting/config_provider_test.go create mode 100644 modules/setting/cors.go create mode 100644 modules/setting/cron.go create mode 100644 modules/setting/cron_test.go create mode 100644 modules/setting/database.go create mode 100644 modules/setting/database_sqlite.go create mode 100644 modules/setting/database_test.go create mode 100644 modules/setting/f3.go create mode 100644 modules/setting/federation.go create mode 100644 modules/setting/forgejo_storage_test.go create mode 100644 modules/setting/git.go create mode 100644 modules/setting/git_test.go create mode 100644 modules/setting/highlight.go create mode 100644 modules/setting/i18n.go create mode 100644 modules/setting/incoming_email.go create mode 100644 modules/setting/incoming_email_test.go create mode 100644 modules/setting/indexer.go create mode 100644 modules/setting/indexer_test.go create mode 100644 modules/setting/lfs.go create mode 100644 modules/setting/lfs_test.go create mode 100644 modules/setting/log.go create mode 100644 modules/setting/log_test.go create mode 100644 modules/setting/mailer.go create mode 100644 modules/setting/mailer_test.go create mode 100644 modules/setting/markup.go create mode 100644 modules/setting/metrics.go create mode 100644 modules/setting/migrations.go create mode 100644 modules/setting/mime_type_map.go create mode 100644 modules/setting/mirror.go create mode 100644 modules/setting/oauth2.go create mode 100644 modules/setting/oauth2_test.go create mode 100644 modules/setting/other.go create mode 100644 modules/setting/packages.go create mode 100644 modules/setting/packages_test.go create mode 100644 modules/setting/path.go create mode 100644 modules/setting/path_test.go create mode 100644 modules/setting/picture.go create mode 100644 modules/setting/project.go create mode 100644 modules/setting/proxy.go create mode 100644 modules/setting/queue.go create mode 100644 modules/setting/quota.go create mode 100644 modules/setting/repository.go create mode 100644 modules/setting/repository_archive.go create mode 100644 modules/setting/repository_archive_test.go create mode 100644 modules/setting/security.go create mode 100644 modules/setting/server.go create mode 100644 modules/setting/server_test.go create mode 100644 modules/setting/service.go create mode 100644 modules/setting/service_test.go create mode 100644 modules/setting/session.go create mode 100644 modules/setting/setting.go create mode 100644 modules/setting/setting_test.go create mode 100644 modules/setting/ssh.go create mode 100644 modules/setting/storage.go create mode 100644 modules/setting/storage_test.go create mode 100644 modules/setting/task.go create mode 100644 modules/setting/time.go create mode 100644 modules/setting/ui.go create mode 100644 modules/setting/webhook.go create mode 100644 modules/sitemap/sitemap.go create mode 100644 modules/sitemap/sitemap_test.go create mode 100644 modules/ssh/init.go create mode 100644 modules/ssh/ssh.go create mode 100644 modules/ssh/ssh_graceful.go create mode 100644 modules/storage/helper.go create mode 100644 modules/storage/helper_test.go create mode 100644 modules/storage/local.go create mode 100644 modules/storage/local_test.go create mode 100644 modules/storage/minio.go create mode 100644 modules/storage/minio_test.go create mode 100644 modules/storage/storage.go create mode 100644 modules/storage/storage_test.go create mode 100644 modules/storage/testdata/aws_credentials create mode 100644 modules/storage/testdata/minio.json create mode 100644 modules/structs/activity.go create mode 100644 modules/structs/activitypub.go create mode 100644 modules/structs/admin_user.go create mode 100644 modules/structs/attachment.go create mode 100644 modules/structs/commit_status.go create mode 100644 modules/structs/commit_status_test.go create mode 100644 modules/structs/cron.go create mode 100644 modules/structs/doc.go create mode 100644 modules/structs/fork.go create mode 100644 modules/structs/git_blob.go create mode 100644 modules/structs/git_hook.go create mode 100644 modules/structs/hook.go create mode 100644 modules/structs/issue.go create mode 100644 modules/structs/issue_comment.go create mode 100644 modules/structs/issue_label.go create mode 100644 modules/structs/issue_milestone.go create mode 100644 modules/structs/issue_reaction.go create mode 100644 modules/structs/issue_stopwatch.go create mode 100644 modules/structs/issue_test.go create mode 100644 modules/structs/issue_tracked_time.go create mode 100644 modules/structs/lfs_lock.go create mode 100644 modules/structs/mirror.go create mode 100644 modules/structs/miscellaneous.go create mode 100644 modules/structs/moderation.go create mode 100644 modules/structs/nodeinfo.go create mode 100644 modules/structs/notifications.go create mode 100644 modules/structs/org.go create mode 100644 modules/structs/org_member.go create mode 100644 modules/structs/org_team.go create mode 100644 modules/structs/package.go create mode 100644 modules/structs/pull.go create mode 100644 modules/structs/pull_review.go create mode 100644 modules/structs/quota.go create mode 100644 modules/structs/release.go create mode 100644 modules/structs/repo.go create mode 100644 modules/structs/repo_actions.go create mode 100644 modules/structs/repo_branch.go create mode 100644 modules/structs/repo_collaborator.go create mode 100644 modules/structs/repo_commit.go create mode 100644 modules/structs/repo_compare.go create mode 100644 modules/structs/repo_file.go create mode 100644 modules/structs/repo_flags.go create mode 100644 modules/structs/repo_key.go create mode 100644 modules/structs/repo_note.go create mode 100644 modules/structs/repo_refs.go create mode 100644 modules/structs/repo_tag.go create mode 100644 modules/structs/repo_topic.go create mode 100644 modules/structs/repo_tree.go create mode 100644 modules/structs/repo_watch.go create mode 100644 modules/structs/repo_wiki.go create mode 100644 modules/structs/secret.go create mode 100644 modules/structs/settings.go create mode 100644 modules/structs/status.go create mode 100644 modules/structs/task.go create mode 100644 modules/structs/user.go create mode 100644 modules/structs/user_app.go create mode 100644 modules/structs/user_email.go create mode 100644 modules/structs/user_gpgkey.go create mode 100644 modules/structs/user_key.go create mode 100644 modules/structs/variable.go create mode 100644 modules/structs/visible_type.go create mode 100644 modules/structs/workflow.go create mode 100644 modules/svg/processor.go create mode 100644 modules/svg/processor_test.go create mode 100644 modules/svg/svg.go create mode 100644 modules/sync/exclusive_pool.go create mode 100644 modules/sync/status_pool.go create mode 100644 modules/sync/status_pool_test.go create mode 100644 modules/system/appstate.go create mode 100644 modules/system/appstate_test.go create mode 100644 modules/system/db.go create mode 100644 modules/system/item_runtime.go create mode 100644 modules/templates/base.go create mode 100644 modules/templates/dynamic.go create mode 100644 modules/templates/eval/eval.go create mode 100644 modules/templates/eval/eval_test.go create mode 100644 modules/templates/helper.go create mode 100644 modules/templates/helper_test.go create mode 100644 modules/templates/htmlrenderer.go create mode 100644 modules/templates/htmlrenderer_test.go create mode 100644 modules/templates/mailer.go create mode 100644 modules/templates/main_test.go create mode 100644 modules/templates/scopedtmpl/scopedtmpl.go create mode 100644 modules/templates/scopedtmpl/scopedtmpl_test.go create mode 100644 modules/templates/static.go create mode 100644 modules/templates/templates_bindata.go create mode 100644 modules/templates/util_avatar.go create mode 100644 modules/templates/util_dict.go create mode 100644 modules/templates/util_json.go create mode 100644 modules/templates/util_misc.go create mode 100644 modules/templates/util_render.go create mode 100644 modules/templates/util_render_test.go create mode 100644 modules/templates/util_slice.go create mode 100644 modules/templates/util_string.go create mode 100644 modules/templates/util_string_test.go create mode 100644 modules/templates/util_test.go create mode 100644 modules/templates/vars/vars.go create mode 100644 modules/templates/vars/vars_test.go create mode 100644 modules/test/logchecker.go create mode 100644 modules/test/logchecker_test.go create mode 100644 modules/test/utils.go create mode 100644 modules/test/utils_test.go create mode 100644 modules/testlogger/testlogger.go create mode 100644 modules/timeutil/datetime.go create mode 100644 modules/timeutil/datetime_test.go create mode 100644 modules/timeutil/executable.go create mode 100644 modules/timeutil/since.go create mode 100644 modules/timeutil/since_test.go create mode 100644 modules/timeutil/timestamp.go create mode 100644 modules/timeutil/timestampnano.go create mode 100644 modules/translation/i18n/errors.go create mode 100644 modules/translation/i18n/format.go create mode 100644 modules/translation/i18n/i18n.go create mode 100644 modules/translation/i18n/i18n_test.go create mode 100644 modules/translation/i18n/localestore.go create mode 100644 modules/translation/mock.go create mode 100644 modules/translation/translation.go create mode 100644 modules/translation/translation_test.go create mode 100644 modules/turnstile/turnstile.go create mode 100644 modules/typesniffer/typesniffer.go create mode 100644 modules/typesniffer/typesniffer_test.go create mode 100644 modules/updatechecker/update_checker.go create mode 100644 modules/updatechecker/update_checker_test.go create mode 100644 modules/uri/uri.go create mode 100644 modules/uri/uri_test.go create mode 100644 modules/user/user.go create mode 100644 modules/user/user_test.go create mode 100644 modules/util/color.go create mode 100644 modules/util/color_test.go create mode 100644 modules/util/error.go create mode 100644 modules/util/file_unix.go create mode 100644 modules/util/file_unix_test.go create mode 100644 modules/util/file_windows.go create mode 100644 modules/util/filebuffer/file_backed_buffer.go create mode 100644 modules/util/filebuffer/file_backed_buffer_test.go create mode 100644 modules/util/io.go create mode 100644 modules/util/io_test.go create mode 100644 modules/util/keypair.go create mode 100644 modules/util/keypair_test.go create mode 100644 modules/util/legacy.go create mode 100644 modules/util/legacy_test.go create mode 100644 modules/util/pack.go create mode 100644 modules/util/pack_test.go create mode 100644 modules/util/paginate.go create mode 100644 modules/util/paginate_test.go create mode 100644 modules/util/path.go create mode 100644 modules/util/path_test.go create mode 100644 modules/util/remove.go create mode 100644 modules/util/rotatingfilewriter/writer.go create mode 100644 modules/util/rotatingfilewriter/writer_test.go create mode 100644 modules/util/sanitize.go create mode 100644 modules/util/sanitize_test.go create mode 100644 modules/util/sec_to_time.go create mode 100644 modules/util/sec_to_time_test.go create mode 100644 modules/util/shellquote.go create mode 100644 modules/util/shellquote_test.go create mode 100644 modules/util/slice.go create mode 100644 modules/util/slice_test.go create mode 100644 modules/util/string.go create mode 100644 modules/util/string_test.go create mode 100644 modules/util/timer.go create mode 100644 modules/util/timer_test.go create mode 100644 modules/util/truncate.go create mode 100644 modules/util/truncate_test.go create mode 100644 modules/util/url.go create mode 100644 modules/util/util.go create mode 100644 modules/util/util_test.go create mode 100644 modules/validation/binding.go create mode 100644 modules/validation/binding_test.go create mode 100644 modules/validation/glob_pattern_test.go create mode 100644 modules/validation/helpers.go create mode 100644 modules/validation/helpers_test.go create mode 100644 modules/validation/refname_test.go create mode 100644 modules/validation/regex_pattern_test.go create mode 100644 modules/validation/validatable.go create mode 100644 modules/validation/validatable_test.go create mode 100644 modules/validation/validurl_test.go create mode 100644 modules/web/handler.go create mode 100644 modules/web/middleware/binding.go create mode 100644 modules/web/middleware/cookie.go create mode 100644 modules/web/middleware/data.go create mode 100644 modules/web/middleware/flash.go create mode 100644 modules/web/middleware/locale.go create mode 100644 modules/web/middleware/request.go create mode 100644 modules/web/route.go create mode 100644 modules/web/route_test.go create mode 100644 modules/web/routemock.go create mode 100644 modules/web/routemock_test.go create mode 100644 modules/web/routing/context.go create mode 100644 modules/web/routing/funcinfo.go create mode 100644 modules/web/routing/funcinfo_test.go create mode 100644 modules/web/routing/logger.go create mode 100644 modules/web/routing/logger_manager.go create mode 100644 modules/web/routing/requestrecord.go create mode 100644 modules/web/types/response.go create mode 100644 modules/webhook/structs.go create mode 100644 modules/webhook/type.go create mode 100644 modules/zstd/option.go create mode 100644 modules/zstd/zstd.go create mode 100644 modules/zstd/zstd_test.go create mode 100644 options/gitignore/AL create mode 100644 options/gitignore/Actionscript create mode 100644 options/gitignore/Ada create mode 100644 options/gitignore/Agda create mode 100644 options/gitignore/Alteryx create mode 100644 options/gitignore/AltiumDesigner create mode 100644 options/gitignore/Android create mode 100644 options/gitignore/Anjuta create mode 100644 options/gitignore/Ansible create mode 100644 options/gitignore/AppEngine create mode 100644 options/gitignore/AppceleratorTitanium create mode 100644 options/gitignore/ArchLinuxPackages create mode 100644 options/gitignore/Archives create mode 100644 options/gitignore/AtmelStudio create mode 100644 options/gitignore/AutoIt create mode 100644 options/gitignore/Autotools create mode 100644 options/gitignore/B4X create mode 100644 options/gitignore/Backup create mode 100644 options/gitignore/Ballerina create mode 100644 options/gitignore/Bazaar create mode 100644 options/gitignore/Bazel create mode 100644 options/gitignore/Beef create mode 100644 options/gitignore/Bitrix create mode 100644 options/gitignore/BricxCC create mode 100644 options/gitignore/C create mode 100644 options/gitignore/C++ create mode 100644 options/gitignore/CDK create mode 100644 options/gitignore/CFWheels create mode 100644 options/gitignore/CMake create mode 100644 options/gitignore/CUDA create mode 100644 options/gitignore/CVS create mode 100644 options/gitignore/CakePHP create mode 100644 options/gitignore/Calabash create mode 100644 options/gitignore/ChefCookbook create mode 100644 options/gitignore/Clojure create mode 100644 options/gitignore/Cloud9 create mode 100644 options/gitignore/CodeIgniter create mode 100644 options/gitignore/CodeKit create mode 100644 options/gitignore/CodeSniffer create mode 100644 options/gitignore/CommonLisp create mode 100644 options/gitignore/Composer create mode 100644 options/gitignore/Concrete5 create mode 100644 options/gitignore/Coq create mode 100644 options/gitignore/Cordova create mode 100644 options/gitignore/CraftCMS create mode 100644 options/gitignore/D create mode 100644 options/gitignore/DM create mode 100644 options/gitignore/Dart create mode 100644 options/gitignore/DartEditor create mode 100644 options/gitignore/Delphi create mode 100644 options/gitignore/Diff create mode 100644 options/gitignore/Dreamweaver create mode 100644 options/gitignore/Dropbox create mode 100644 options/gitignore/Drupal create mode 100644 options/gitignore/Drupal7 create mode 100644 options/gitignore/EPiServer create mode 100644 options/gitignore/Eagle create mode 100644 options/gitignore/Eclipse create mode 100644 options/gitignore/EiffelStudio create mode 100644 options/gitignore/Elisp create mode 100644 options/gitignore/Elixir create mode 100644 options/gitignore/Elm create mode 100644 options/gitignore/Emacs create mode 100644 options/gitignore/Ensime create mode 100644 options/gitignore/Erlang create mode 100644 options/gitignore/Espresso create mode 100644 options/gitignore/Exercism create mode 100644 options/gitignore/ExpressionEngine create mode 100644 options/gitignore/ExtJs create mode 100644 options/gitignore/Fancy create mode 100644 options/gitignore/Finale create mode 100644 options/gitignore/FlaxEngine create mode 100644 options/gitignore/FlexBuilder create mode 100644 options/gitignore/ForceDotCom create mode 100644 options/gitignore/Fortran create mode 100644 options/gitignore/FuelPHP create mode 100644 options/gitignore/GNOMEShellExtension create mode 100644 options/gitignore/GPG create mode 100644 options/gitignore/GWT create mode 100644 options/gitignore/Gcov create mode 100644 options/gitignore/GitBook create mode 100644 options/gitignore/GitHubPages create mode 100644 options/gitignore/Go create mode 100644 options/gitignore/Go.AllowList create mode 100644 options/gitignore/Godot create mode 100644 options/gitignore/Gradle create mode 100644 options/gitignore/Grails create mode 100644 options/gitignore/Gretl create mode 100644 options/gitignore/Haskell create mode 100644 options/gitignore/Hexo create mode 100644 options/gitignore/Hugo create mode 100644 options/gitignore/IAR create mode 100644 options/gitignore/IAR_EWARM create mode 100644 options/gitignore/IGORPro create mode 100644 options/gitignore/Idris create mode 100644 options/gitignore/Images create mode 100644 options/gitignore/InforCMS create mode 100644 options/gitignore/JBoss create mode 100644 options/gitignore/JBoss4 create mode 100644 options/gitignore/JBoss6 create mode 100644 options/gitignore/JDeveloper create mode 100644 options/gitignore/JENKINS_HOME create mode 100644 options/gitignore/JEnv create mode 100644 options/gitignore/Janet create mode 100644 options/gitignore/Java create mode 100644 options/gitignore/Jekyll create mode 100644 options/gitignore/JetBrains create mode 100644 options/gitignore/Jigsaw create mode 100644 options/gitignore/Joomla create mode 100644 options/gitignore/Julia create mode 100644 options/gitignore/JupyterNotebooks create mode 100644 options/gitignore/KDevelop4 create mode 100644 options/gitignore/Kate create mode 100644 options/gitignore/Kentico create mode 100644 options/gitignore/KiCad create mode 100644 options/gitignore/Kohana create mode 100644 options/gitignore/Kotlin create mode 100644 options/gitignore/LabVIEW create mode 100644 options/gitignore/Laravel create mode 100644 options/gitignore/Lazarus create mode 100644 options/gitignore/Leiningen create mode 100644 options/gitignore/LemonStand create mode 100644 options/gitignore/LensStudio create mode 100644 options/gitignore/LibreOffice create mode 100644 options/gitignore/Lilypond create mode 100644 options/gitignore/Linux create mode 100644 options/gitignore/Lithium create mode 100644 options/gitignore/Logtalk create mode 100644 options/gitignore/Lua create mode 100644 options/gitignore/LyX create mode 100644 options/gitignore/MATLAB create mode 100644 options/gitignore/Magento create mode 100644 options/gitignore/Magento1 create mode 100644 options/gitignore/Magento2 create mode 100644 options/gitignore/Maven create mode 100644 options/gitignore/Mercurial create mode 100644 options/gitignore/Mercury create mode 100644 options/gitignore/MetaProgrammingSystem create mode 100644 options/gitignore/Metals create mode 100644 options/gitignore/Meteor create mode 100644 options/gitignore/MicrosoftOffice create mode 100644 options/gitignore/ModelSim create mode 100644 options/gitignore/Momentics create mode 100644 options/gitignore/MonoDevelop create mode 100644 options/gitignore/NWjs create mode 100644 options/gitignore/Nanoc create mode 100644 options/gitignore/NasaSpecsIntact create mode 100644 options/gitignore/NetBeans create mode 100644 options/gitignore/Nikola create mode 100644 options/gitignore/Nim create mode 100644 options/gitignore/Ninja create mode 100644 options/gitignore/Nix create mode 100644 options/gitignore/Node create mode 100644 options/gitignore/NotepadPP create mode 100644 options/gitignore/OCaml create mode 100644 options/gitignore/Objective-C create mode 100644 options/gitignore/Octave create mode 100644 options/gitignore/Opa create mode 100644 options/gitignore/OpenCart create mode 100644 options/gitignore/OpenSSL create mode 100644 options/gitignore/OracleForms create mode 100644 options/gitignore/Otto create mode 100644 options/gitignore/PSoCCreator create mode 100644 options/gitignore/Packer create mode 100644 options/gitignore/Patch create mode 100644 options/gitignore/Perl create mode 100644 options/gitignore/Perl6 create mode 100644 options/gitignore/Phalcon create mode 100644 options/gitignore/Phoenix create mode 100644 options/gitignore/Pimcore create mode 100644 options/gitignore/PlayFramework create mode 100644 options/gitignore/Plone create mode 100644 options/gitignore/Prestashop create mode 100644 options/gitignore/Processing create mode 100644 options/gitignore/PuTTY create mode 100644 options/gitignore/Puppet create mode 100644 options/gitignore/PureScript create mode 100644 options/gitignore/Python create mode 100644 options/gitignore/Qooxdoo create mode 100644 options/gitignore/Qt create mode 100644 options/gitignore/R create mode 100644 options/gitignore/ROS create mode 100644 options/gitignore/ROS2 create mode 100644 options/gitignore/Racket create mode 100644 options/gitignore/Rails create mode 100644 options/gitignore/Raku create mode 100644 options/gitignore/ReScript create mode 100644 options/gitignore/Red create mode 100644 options/gitignore/Redcar create mode 100644 options/gitignore/Redis create mode 100644 options/gitignore/RhodesRhomobile create mode 100644 options/gitignore/Ruby create mode 100644 options/gitignore/Rust create mode 100644 options/gitignore/SAM create mode 100644 options/gitignore/SBT create mode 100644 options/gitignore/SCons create mode 100644 options/gitignore/SPFx create mode 100644 options/gitignore/SVN create mode 100644 options/gitignore/Sass create mode 100644 options/gitignore/Scala create mode 100644 options/gitignore/Scheme create mode 100644 options/gitignore/Scrivener create mode 100644 options/gitignore/Sdcc create mode 100644 options/gitignore/SeamGen create mode 100644 options/gitignore/SketchUp create mode 100644 options/gitignore/SlickEdit create mode 100644 options/gitignore/Smalltalk create mode 100644 options/gitignore/Snap create mode 100644 options/gitignore/Splunk create mode 100644 options/gitignore/Stata create mode 100644 options/gitignore/Stella create mode 100644 options/gitignore/Strapi create mode 100644 options/gitignore/SublimeText create mode 100644 options/gitignore/SugarCRM create mode 100644 options/gitignore/Swift create mode 100644 options/gitignore/Symfony create mode 100644 options/gitignore/SymphonyCMS create mode 100644 options/gitignore/Syncthing create mode 100644 options/gitignore/SynopsysVCS create mode 100644 options/gitignore/Tags create mode 100644 options/gitignore/TeX create mode 100644 options/gitignore/Terraform create mode 100644 options/gitignore/Terragrunt create mode 100644 options/gitignore/TextMate create mode 100644 options/gitignore/Textpattern create mode 100644 options/gitignore/ThinkPHP create mode 100644 options/gitignore/Toit create mode 100644 options/gitignore/TortoiseGit create mode 100644 options/gitignore/TurboGears2 create mode 100644 options/gitignore/TwinCAT3 create mode 100644 options/gitignore/Typo3 create mode 100644 options/gitignore/UiPath create mode 100644 options/gitignore/Umbraco create mode 100644 options/gitignore/Unity create mode 100644 options/gitignore/UnrealEngine create mode 100644 options/gitignore/V create mode 100644 options/gitignore/VVVV create mode 100644 options/gitignore/Vagrant create mode 100644 options/gitignore/Vim create mode 100644 options/gitignore/VirtualEnv create mode 100644 options/gitignore/Virtuoso create mode 100644 options/gitignore/VisualStudio create mode 100644 options/gitignore/VisualStudioCode create mode 100644 options/gitignore/Vue create mode 100644 options/gitignore/Waf create mode 100644 options/gitignore/WebMethods create mode 100644 options/gitignore/Windows create mode 100644 options/gitignore/WordPress create mode 100644 options/gitignore/Xcode create mode 100644 options/gitignore/Xilinx create mode 100644 options/gitignore/XilinxISE create mode 100644 options/gitignore/Xojo create mode 100644 options/gitignore/Yeoman create mode 100644 options/gitignore/Yii create mode 100644 options/gitignore/ZendFramework create mode 100644 options/gitignore/Zephir create mode 100644 options/gitignore/Zig create mode 100644 options/gitignore/core create mode 100644 options/gitignore/esp-idf create mode 100644 options/gitignore/macOS create mode 100644 options/gitignore/uVision create mode 100644 options/label/Advanced.yaml create mode 100644 options/label/Default create mode 100644 options/license/0BSD create mode 100644 options/license/389-exception create mode 100644 options/license/3D-Slicer-1.0 create mode 100644 options/license/AAL create mode 100644 options/license/ADSL create mode 100644 options/license/AFL-1.1 create mode 100644 options/license/AFL-1.2 create mode 100644 options/license/AFL-2.0 create mode 100644 options/license/AFL-2.1 create mode 100644 options/license/AFL-3.0 create mode 100644 options/license/AGPL-1.0-only create mode 100644 options/license/AGPL-1.0-or-later create mode 100644 options/license/AGPL-3.0-only create mode 100644 options/license/AGPL-3.0-or-later create mode 100644 options/license/AMD-newlib create mode 100644 options/license/AMDPLPA create mode 100644 options/license/AML create mode 100644 options/license/AML-glslang create mode 100644 options/license/AMPAS create mode 100644 options/license/ANTLR-PD create mode 100644 options/license/ANTLR-PD-fallback create mode 100644 options/license/APAFML create mode 100644 options/license/APL-1.0 create mode 100644 options/license/APSL-1.0 create mode 100644 options/license/APSL-1.1 create mode 100644 options/license/APSL-1.2 create mode 100644 options/license/APSL-2.0 create mode 100644 options/license/ASWF-Digital-Assets-1.0 create mode 100644 options/license/ASWF-Digital-Assets-1.1 create mode 100644 options/license/Abstyles create mode 100644 options/license/AdaCore-doc create mode 100644 options/license/Adobe-2006 create mode 100644 options/license/Adobe-Display-PostScript create mode 100644 options/license/Adobe-Glyph create mode 100644 options/license/Adobe-Utopia create mode 100644 options/license/Afmparse create mode 100644 options/license/Aladdin create mode 100644 options/license/Apache-1.0 create mode 100644 options/license/Apache-1.1 create mode 100644 options/license/Apache-2.0 create mode 100644 options/license/App-s2p create mode 100644 options/license/Arphic-1999 create mode 100644 options/license/Artistic-1.0 create mode 100644 options/license/Artistic-1.0-Perl create mode 100644 options/license/Artistic-1.0-cl8 create mode 100644 options/license/Artistic-2.0 create mode 100644 options/license/Asterisk-exception create mode 100644 options/license/Asterisk-linking-protocols-exception create mode 100644 options/license/Autoconf-exception-2.0 create mode 100644 options/license/Autoconf-exception-3.0 create mode 100644 options/license/Autoconf-exception-generic create mode 100644 options/license/Autoconf-exception-generic-3.0 create mode 100644 options/license/Autoconf-exception-macro create mode 100644 options/license/BSD-1-Clause create mode 100644 options/license/BSD-2-Clause create mode 100644 options/license/BSD-2-Clause-Darwin create mode 100644 options/license/BSD-2-Clause-Patent create mode 100644 options/license/BSD-2-Clause-Views create mode 100644 options/license/BSD-2-Clause-first-lines create mode 100644 options/license/BSD-3-Clause create mode 100644 options/license/BSD-3-Clause-Attribution create mode 100644 options/license/BSD-3-Clause-Clear create mode 100644 options/license/BSD-3-Clause-HP create mode 100644 options/license/BSD-3-Clause-LBNL create mode 100644 options/license/BSD-3-Clause-Modification create mode 100644 options/license/BSD-3-Clause-No-Military-License create mode 100644 options/license/BSD-3-Clause-No-Nuclear-License create mode 100644 options/license/BSD-3-Clause-No-Nuclear-License-2014 create mode 100644 options/license/BSD-3-Clause-No-Nuclear-Warranty create mode 100644 options/license/BSD-3-Clause-Open-MPI create mode 100644 options/license/BSD-3-Clause-Sun create mode 100644 options/license/BSD-3-Clause-acpica create mode 100644 options/license/BSD-3-Clause-flex create mode 100644 options/license/BSD-4-Clause create mode 100644 options/license/BSD-4-Clause-Shortened create mode 100644 options/license/BSD-4-Clause-UC create mode 100644 options/license/BSD-4.3RENO create mode 100644 options/license/BSD-4.3TAHOE create mode 100644 options/license/BSD-Advertising-Acknowledgement create mode 100644 options/license/BSD-Attribution-HPND-disclaimer create mode 100644 options/license/BSD-Inferno-Nettverk create mode 100644 options/license/BSD-Protection create mode 100644 options/license/BSD-Source-Code create mode 100644 options/license/BSD-Source-beginning-file create mode 100644 options/license/BSD-Systemics create mode 100644 options/license/BSD-Systemics-W3Works create mode 100644 options/license/BSL-1.0 create mode 100644 options/license/BUSL-1.1 create mode 100644 options/license/Baekmuk create mode 100644 options/license/Bahyph create mode 100644 options/license/Barr create mode 100644 options/license/Beerware create mode 100644 options/license/Bison-exception-1.24 create mode 100644 options/license/Bison-exception-2.2 create mode 100644 options/license/BitTorrent-1.0 create mode 100644 options/license/BitTorrent-1.1 create mode 100644 options/license/Bitstream-Charter create mode 100644 options/license/Bitstream-Vera create mode 100644 options/license/BlueOak-1.0.0 create mode 100644 options/license/Boehm-GC create mode 100644 options/license/Bootloader-exception create mode 100644 options/license/Borceux create mode 100644 options/license/Brian-Gladman-2-Clause create mode 100644 options/license/Brian-Gladman-3-Clause create mode 100644 options/license/C-UDA-1.0 create mode 100644 options/license/CAL-1.0 create mode 100644 options/license/CAL-1.0-Combined-Work-Exception create mode 100644 options/license/CATOSL-1.1 create mode 100644 options/license/CC-BY-1.0 create mode 100644 options/license/CC-BY-2.0 create mode 100644 options/license/CC-BY-2.5 create mode 100644 options/license/CC-BY-2.5-AU create mode 100644 options/license/CC-BY-3.0 create mode 100644 options/license/CC-BY-3.0-AT create mode 100644 options/license/CC-BY-3.0-AU create mode 100644 options/license/CC-BY-3.0-DE create mode 100644 options/license/CC-BY-3.0-IGO create mode 100644 options/license/CC-BY-3.0-NL create mode 100644 options/license/CC-BY-3.0-US create mode 100644 options/license/CC-BY-4.0 create mode 100644 options/license/CC-BY-NC-1.0 create mode 100644 options/license/CC-BY-NC-2.0 create mode 100644 options/license/CC-BY-NC-2.5 create mode 100644 options/license/CC-BY-NC-3.0 create mode 100644 options/license/CC-BY-NC-3.0-DE create mode 100644 options/license/CC-BY-NC-4.0 create mode 100644 options/license/CC-BY-NC-ND-1.0 create mode 100644 options/license/CC-BY-NC-ND-2.0 create mode 100644 options/license/CC-BY-NC-ND-2.5 create mode 100644 options/license/CC-BY-NC-ND-3.0 create mode 100644 options/license/CC-BY-NC-ND-3.0-DE create mode 100644 options/license/CC-BY-NC-ND-3.0-IGO create mode 100644 options/license/CC-BY-NC-ND-4.0 create mode 100644 options/license/CC-BY-NC-SA-1.0 create mode 100644 options/license/CC-BY-NC-SA-2.0 create mode 100644 options/license/CC-BY-NC-SA-2.0-DE create mode 100644 options/license/CC-BY-NC-SA-2.0-FR create mode 100644 options/license/CC-BY-NC-SA-2.0-UK create mode 100644 options/license/CC-BY-NC-SA-2.5 create mode 100644 options/license/CC-BY-NC-SA-3.0 create mode 100644 options/license/CC-BY-NC-SA-3.0-DE create mode 100644 options/license/CC-BY-NC-SA-3.0-IGO create mode 100644 options/license/CC-BY-NC-SA-4.0 create mode 100644 options/license/CC-BY-ND-1.0 create mode 100644 options/license/CC-BY-ND-2.0 create mode 100644 options/license/CC-BY-ND-2.5 create mode 100644 options/license/CC-BY-ND-3.0 create mode 100644 options/license/CC-BY-ND-3.0-DE create mode 100644 options/license/CC-BY-ND-4.0 create mode 100644 options/license/CC-BY-SA-1.0 create mode 100644 options/license/CC-BY-SA-2.0 create mode 100644 options/license/CC-BY-SA-2.0-UK create mode 100644 options/license/CC-BY-SA-2.1-JP create mode 100644 options/license/CC-BY-SA-2.5 create mode 100644 options/license/CC-BY-SA-3.0 create mode 100644 options/license/CC-BY-SA-3.0-AT create mode 100644 options/license/CC-BY-SA-3.0-DE create mode 100644 options/license/CC-BY-SA-3.0-IGO create mode 100644 options/license/CC-BY-SA-4.0 create mode 100644 options/license/CC-PDDC create mode 100644 options/license/CC0-1.0 create mode 100644 options/license/CDDL-1.0 create mode 100644 options/license/CDDL-1.1 create mode 100644 options/license/CDL-1.0 create mode 100644 options/license/CDLA-Permissive-1.0 create mode 100644 options/license/CDLA-Permissive-2.0 create mode 100644 options/license/CDLA-Sharing-1.0 create mode 100644 options/license/CECILL-1.0 create mode 100644 options/license/CECILL-1.1 create mode 100644 options/license/CECILL-2.0 create mode 100644 options/license/CECILL-2.1 create mode 100644 options/license/CECILL-B create mode 100644 options/license/CECILL-C create mode 100644 options/license/CERN-OHL-1.1 create mode 100644 options/license/CERN-OHL-1.2 create mode 100644 options/license/CERN-OHL-P-2.0 create mode 100644 options/license/CERN-OHL-S-2.0 create mode 100644 options/license/CERN-OHL-W-2.0 create mode 100644 options/license/CFITSIO create mode 100644 options/license/CLISP-exception-2.0 create mode 100644 options/license/CMU-Mach create mode 100644 options/license/CMU-Mach-nodoc create mode 100644 options/license/CNRI-Jython create mode 100644 options/license/CNRI-Python create mode 100644 options/license/CNRI-Python-GPL-Compatible create mode 100644 options/license/COIL-1.0 create mode 100644 options/license/CPAL-1.0 create mode 100644 options/license/CPL-1.0 create mode 100644 options/license/CPOL-1.02 create mode 100644 options/license/CUA-OPL-1.0 create mode 100644 options/license/Caldera create mode 100644 options/license/Caldera-no-preamble create mode 100644 options/license/Catharon create mode 100644 options/license/ClArtistic create mode 100644 options/license/Classpath-exception-2.0 create mode 100644 options/license/Clips create mode 100644 options/license/Community-Spec-1.0 create mode 100644 options/license/Condor-1.1 create mode 100644 options/license/Cornell-Lossless-JPEG create mode 100644 options/license/Cronyx create mode 100644 options/license/Crossword create mode 100644 options/license/CrystalStacker create mode 100644 options/license/Cube create mode 100644 options/license/D-FSL-1.0 create mode 100644 options/license/DEC-3-Clause create mode 100644 options/license/DL-DE-BY-2.0 create mode 100644 options/license/DL-DE-ZERO-2.0 create mode 100644 options/license/DOC create mode 100644 options/license/DRL-1.0 create mode 100644 options/license/DRL-1.1 create mode 100644 options/license/DSDP create mode 100644 options/license/DigiRule-FOSS-exception create mode 100644 options/license/DocBook-Stylesheet create mode 100644 options/license/Dotseqn create mode 100644 options/license/ECL-1.0 create mode 100644 options/license/ECL-2.0 create mode 100644 options/license/EFL-1.0 create mode 100644 options/license/EFL-2.0 create mode 100644 options/license/EPICS create mode 100644 options/license/EPL-1.0 create mode 100644 options/license/EPL-2.0 create mode 100644 options/license/EUDatagrid create mode 100644 options/license/EUPL-1.0 create mode 100644 options/license/EUPL-1.1 create mode 100644 options/license/EUPL-1.2 create mode 100644 options/license/Elastic-2.0 create mode 100644 options/license/Entessa create mode 100644 options/license/ErlPL-1.1 create mode 100644 options/license/Eurosym create mode 100644 options/license/FBM create mode 100644 options/license/FDK-AAC create mode 100644 options/license/FLTK-exception create mode 100644 options/license/FSFAP create mode 100644 options/license/FSFAP-no-warranty-disclaimer create mode 100644 options/license/FSFUL create mode 100644 options/license/FSFULLR create mode 100644 options/license/FSFULLRWD create mode 100644 options/license/FTL create mode 100644 options/license/Fair create mode 100644 options/license/Fawkes-Runtime-exception create mode 100644 options/license/Ferguson-Twofish create mode 100644 options/license/Font-exception-2.0 create mode 100644 options/license/Frameworx-1.0 create mode 100644 options/license/FreeBSD-DOC create mode 100644 options/license/FreeImage create mode 100644 options/license/Furuseth create mode 100644 options/license/GCC-exception-2.0 create mode 100644 options/license/GCC-exception-2.0-note create mode 100644 options/license/GCC-exception-3.1 create mode 100644 options/license/GCR-docs create mode 100644 options/license/GD create mode 100644 options/license/GFDL-1.1-invariants-only create mode 100644 options/license/GFDL-1.1-invariants-or-later create mode 100644 options/license/GFDL-1.1-no-invariants-only create mode 100644 options/license/GFDL-1.1-no-invariants-or-later create mode 100644 options/license/GFDL-1.1-only create mode 100644 options/license/GFDL-1.1-or-later create mode 100644 options/license/GFDL-1.2-invariants-only create mode 100644 options/license/GFDL-1.2-invariants-or-later create mode 100644 options/license/GFDL-1.2-no-invariants-only create mode 100644 options/license/GFDL-1.2-no-invariants-or-later create mode 100644 options/license/GFDL-1.2-only create mode 100644 options/license/GFDL-1.2-or-later create mode 100644 options/license/GFDL-1.3-invariants-only create mode 100644 options/license/GFDL-1.3-invariants-or-later create mode 100644 options/license/GFDL-1.3-no-invariants-only create mode 100644 options/license/GFDL-1.3-no-invariants-or-later create mode 100644 options/license/GFDL-1.3-only create mode 100644 options/license/GFDL-1.3-or-later create mode 100644 options/license/GL2PS create mode 100644 options/license/GLWTPL create mode 100644 options/license/GNAT-exception create mode 100644 options/license/GNOME-examples-exception create mode 100644 options/license/GNU-compiler-exception create mode 100644 options/license/GPL-1.0-only create mode 100644 options/license/GPL-1.0-or-later create mode 100644 options/license/GPL-2.0-only create mode 100644 options/license/GPL-2.0-or-later create mode 100644 options/license/GPL-3.0-389-ds-base-exception create mode 100644 options/license/GPL-3.0-interface-exception create mode 100644 options/license/GPL-3.0-linking-exception create mode 100644 options/license/GPL-3.0-linking-source-exception create mode 100644 options/license/GPL-3.0-only create mode 100644 options/license/GPL-3.0-or-later create mode 100644 options/license/GPL-CC-1.0 create mode 100644 options/license/GStreamer-exception-2005 create mode 100644 options/license/GStreamer-exception-2008 create mode 100644 options/license/Giftware create mode 100644 options/license/Glide create mode 100644 options/license/Glulxe create mode 100644 options/license/Gmsh-exception create mode 100644 options/license/Graphics-Gems create mode 100644 options/license/Gutmann create mode 100644 options/license/HP-1986 create mode 100644 options/license/HP-1989 create mode 100644 options/license/HPND create mode 100644 options/license/HPND-DEC create mode 100644 options/license/HPND-Fenneberg-Livingston create mode 100644 options/license/HPND-INRIA-IMAG create mode 100644 options/license/HPND-Intel create mode 100644 options/license/HPND-Kevlin-Henney create mode 100644 options/license/HPND-MIT-disclaimer create mode 100644 options/license/HPND-Markus-Kuhn create mode 100644 options/license/HPND-Pbmplus create mode 100644 options/license/HPND-UC create mode 100644 options/license/HPND-UC-export-US create mode 100644 options/license/HPND-doc create mode 100644 options/license/HPND-doc-sell create mode 100644 options/license/HPND-export-US create mode 100644 options/license/HPND-export-US-acknowledgement create mode 100644 options/license/HPND-export-US-modify create mode 100644 options/license/HPND-export2-US create mode 100644 options/license/HPND-merchantability-variant create mode 100644 options/license/HPND-sell-MIT-disclaimer-xserver create mode 100644 options/license/HPND-sell-regexpr create mode 100644 options/license/HPND-sell-variant create mode 100644 options/license/HPND-sell-variant-MIT-disclaimer create mode 100644 options/license/HPND-sell-variant-MIT-disclaimer-rev create mode 100644 options/license/HTMLTIDY create mode 100644 options/license/HaskellReport create mode 100644 options/license/Hippocratic-2.1 create mode 100644 options/license/IBM-pibs create mode 100644 options/license/ICU create mode 100644 options/license/IEC-Code-Components-EULA create mode 100644 options/license/IJG create mode 100644 options/license/IJG-short create mode 100644 options/license/IPA create mode 100644 options/license/IPL-1.0 create mode 100644 options/license/ISC create mode 100644 options/license/ISC-Veillard create mode 100644 options/license/ImageMagick create mode 100644 options/license/Imlib2 create mode 100644 options/license/Info-ZIP create mode 100644 options/license/Inner-Net-2.0 create mode 100644 options/license/Intel create mode 100644 options/license/Intel-ACPI create mode 100644 options/license/Interbase-1.0 create mode 100644 options/license/JPL-image create mode 100644 options/license/JPNIC create mode 100644 options/license/JSON create mode 100644 options/license/Jam create mode 100644 options/license/JasPer-2.0 create mode 100644 options/license/Kastrup create mode 100644 options/license/Kazlib create mode 100644 options/license/KiCad-libraries-exception create mode 100644 options/license/Knuth-CTAN create mode 100644 options/license/LAL-1.2 create mode 100644 options/license/LAL-1.3 create mode 100644 options/license/LGPL-2.0-only create mode 100644 options/license/LGPL-2.0-or-later create mode 100644 options/license/LGPL-2.1-only create mode 100644 options/license/LGPL-2.1-or-later create mode 100644 options/license/LGPL-3.0-linking-exception create mode 100644 options/license/LGPL-3.0-only create mode 100644 options/license/LGPL-3.0-or-later create mode 100644 options/license/LGPLLR create mode 100644 options/license/LLGPL create mode 100644 options/license/LLVM-exception create mode 100644 options/license/LOOP create mode 100644 options/license/LPD-document create mode 100644 options/license/LPL-1.0 create mode 100644 options/license/LPL-1.02 create mode 100644 options/license/LPPL-1.0 create mode 100644 options/license/LPPL-1.1 create mode 100644 options/license/LPPL-1.2 create mode 100644 options/license/LPPL-1.3a create mode 100644 options/license/LPPL-1.3c create mode 100644 options/license/LZMA-SDK-9.11-to-9.20 create mode 100644 options/license/LZMA-SDK-9.22 create mode 100644 options/license/LZMA-exception create mode 100644 options/license/Latex2e create mode 100644 options/license/Latex2e-translated-notice create mode 100644 options/license/Leptonica create mode 100644 options/license/LiLiQ-P-1.1 create mode 100644 options/license/LiLiQ-R-1.1 create mode 100644 options/license/LiLiQ-Rplus-1.1 create mode 100644 options/license/Libpng create mode 100644 options/license/Libtool-exception create mode 100644 options/license/Linux-OpenIB create mode 100644 options/license/Linux-man-pages-1-para create mode 100644 options/license/Linux-man-pages-copyleft create mode 100644 options/license/Linux-man-pages-copyleft-2-para create mode 100644 options/license/Linux-man-pages-copyleft-var create mode 100644 options/license/Linux-syscall-note create mode 100644 options/license/Lucida-Bitmap-Fonts create mode 100644 options/license/MIT create mode 100644 options/license/MIT-0 create mode 100644 options/license/MIT-CMU create mode 100644 options/license/MIT-Click create mode 100644 options/license/MIT-Festival create mode 100644 options/license/MIT-Khronos-old create mode 100644 options/license/MIT-Modern-Variant create mode 100644 options/license/MIT-Wu create mode 100644 options/license/MIT-advertising create mode 100644 options/license/MIT-enna create mode 100644 options/license/MIT-feh create mode 100644 options/license/MIT-open-group create mode 100644 options/license/MIT-testregex create mode 100644 options/license/MITNFA create mode 100644 options/license/MMIXware create mode 100644 options/license/MPEG-SSG create mode 100644 options/license/MPL-1.0 create mode 100644 options/license/MPL-1.1 create mode 100644 options/license/MPL-2.0 create mode 100644 options/license/MPL-2.0-no-copyleft-exception create mode 100644 options/license/MS-LPL create mode 100644 options/license/MS-PL create mode 100644 options/license/MS-RL create mode 100644 options/license/MTLL create mode 100644 options/license/Mackerras-3-Clause create mode 100644 options/license/Mackerras-3-Clause-acknowledgment create mode 100644 options/license/MakeIndex create mode 100644 options/license/Martin-Birgmeier create mode 100644 options/license/McPhee-slideshow create mode 100644 options/license/Minpack create mode 100644 options/license/MirOS create mode 100644 options/license/Motosoto create mode 100644 options/license/MulanPSL-1.0 create mode 100644 options/license/MulanPSL-2.0 create mode 100644 options/license/Multics create mode 100644 options/license/Mup create mode 100644 options/license/NAIST-2003 create mode 100644 options/license/NASA-1.3 create mode 100644 options/license/NBPL-1.0 create mode 100644 options/license/NCBI-PD create mode 100644 options/license/NCGL-UK-2.0 create mode 100644 options/license/NCL create mode 100644 options/license/NCSA create mode 100644 options/license/NGPL create mode 100644 options/license/NICTA-1.0 create mode 100644 options/license/NIST-PD create mode 100644 options/license/NIST-PD-fallback create mode 100644 options/license/NIST-Software create mode 100644 options/license/NLOD-1.0 create mode 100644 options/license/NLOD-2.0 create mode 100644 options/license/NLPL create mode 100644 options/license/NOSL create mode 100644 options/license/NPL-1.0 create mode 100644 options/license/NPL-1.1 create mode 100644 options/license/NPOSL-3.0 create mode 100644 options/license/NRL create mode 100644 options/license/NTP create mode 100644 options/license/NTP-0 create mode 100644 options/license/Naumen create mode 100644 options/license/Net-SNMP create mode 100644 options/license/NetCDF create mode 100644 options/license/Newsletr create mode 100644 options/license/Nokia create mode 100644 options/license/Nokia-Qt-exception-1.1 create mode 100644 options/license/Noweb create mode 100644 options/license/O-UDA-1.0 create mode 100644 options/license/OAR create mode 100644 options/license/OCCT-PL create mode 100644 options/license/OCCT-exception-1.0 create mode 100644 options/license/OCLC-2.0 create mode 100644 options/license/OCaml-LGPL-linking-exception create mode 100644 options/license/ODC-By-1.0 create mode 100644 options/license/ODbL-1.0 create mode 100644 options/license/OFFIS create mode 100644 options/license/OFL-1.0 create mode 100644 options/license/OFL-1.0-RFN create mode 100644 options/license/OFL-1.0-no-RFN create mode 100644 options/license/OFL-1.1 create mode 100644 options/license/OFL-1.1-RFN create mode 100644 options/license/OFL-1.1-no-RFN create mode 100644 options/license/OGC-1.0 create mode 100644 options/license/OGDL-Taiwan-1.0 create mode 100644 options/license/OGL-Canada-2.0 create mode 100644 options/license/OGL-UK-1.0 create mode 100644 options/license/OGL-UK-2.0 create mode 100644 options/license/OGL-UK-3.0 create mode 100644 options/license/OGTSL create mode 100644 options/license/OLDAP-1.1 create mode 100644 options/license/OLDAP-1.2 create mode 100644 options/license/OLDAP-1.3 create mode 100644 options/license/OLDAP-1.4 create mode 100644 options/license/OLDAP-2.0 create mode 100644 options/license/OLDAP-2.0.1 create mode 100644 options/license/OLDAP-2.1 create mode 100644 options/license/OLDAP-2.2 create mode 100644 options/license/OLDAP-2.2.1 create mode 100644 options/license/OLDAP-2.2.2 create mode 100644 options/license/OLDAP-2.3 create mode 100644 options/license/OLDAP-2.4 create mode 100644 options/license/OLDAP-2.5 create mode 100644 options/license/OLDAP-2.6 create mode 100644 options/license/OLDAP-2.7 create mode 100644 options/license/OLDAP-2.8 create mode 100644 options/license/OLFL-1.3 create mode 100644 options/license/OML create mode 100644 options/license/OPL-1.0 create mode 100644 options/license/OPL-UK-3.0 create mode 100644 options/license/OPUBL-1.0 create mode 100644 options/license/OSET-PL-2.1 create mode 100644 options/license/OSL-1.0 create mode 100644 options/license/OSL-1.1 create mode 100644 options/license/OSL-2.0 create mode 100644 options/license/OSL-2.1 create mode 100644 options/license/OSL-3.0 create mode 100644 options/license/OpenJDK-assembly-exception-1.0 create mode 100644 options/license/OpenPBS-2.3 create mode 100644 options/license/OpenSSL create mode 100644 options/license/OpenSSL-standalone create mode 100644 options/license/OpenVision create mode 100644 options/license/PADL create mode 100644 options/license/PCRE2-exception create mode 100644 options/license/PDDL-1.0 create mode 100644 options/license/PHP-3.0 create mode 100644 options/license/PHP-3.01 create mode 100644 options/license/PPL create mode 100644 options/license/PS-or-PDF-font-exception-20170817 create mode 100644 options/license/PSF-2.0 create mode 100644 options/license/Parity-6.0.0 create mode 100644 options/license/Parity-7.0.0 create mode 100644 options/license/Pixar create mode 100644 options/license/Plexus create mode 100644 options/license/PolyForm-Noncommercial-1.0.0 create mode 100644 options/license/PolyForm-Small-Business-1.0.0 create mode 100644 options/license/PostgreSQL create mode 100644 options/license/Python-2.0 create mode 100644 options/license/Python-2.0.1 create mode 100644 options/license/QPL-1.0 create mode 100644 options/license/QPL-1.0-INRIA-2004 create mode 100644 options/license/QPL-1.0-INRIA-2004-exception create mode 100644 options/license/Qhull create mode 100644 options/license/Qt-GPL-exception-1.0 create mode 100644 options/license/Qt-LGPL-exception-1.1 create mode 100644 options/license/Qwt-exception-1.0 create mode 100644 options/license/RHeCos-1.1 create mode 100644 options/license/RPL-1.1 create mode 100644 options/license/RPL-1.5 create mode 100644 options/license/RPSL-1.0 create mode 100644 options/license/RRDtool-FLOSS-exception-2.0 create mode 100644 options/license/RSA-MD create mode 100644 options/license/RSCPL create mode 100644 options/license/Rdisc create mode 100644 options/license/Ruby create mode 100644 options/license/SANE-exception create mode 100644 options/license/SAX-PD create mode 100644 options/license/SAX-PD-2.0 create mode 100644 options/license/SCEA create mode 100644 options/license/SGI-B-1.0 create mode 100644 options/license/SGI-B-1.1 create mode 100644 options/license/SGI-B-2.0 create mode 100644 options/license/SGI-OpenGL create mode 100644 options/license/SGP4 create mode 100644 options/license/SHL-0.5 create mode 100644 options/license/SHL-0.51 create mode 100644 options/license/SHL-2.0 create mode 100644 options/license/SHL-2.1 create mode 100644 options/license/SISSL create mode 100644 options/license/SISSL-1.2 create mode 100644 options/license/SL create mode 100644 options/license/SMLNJ create mode 100644 options/license/SMPPL create mode 100644 options/license/SNIA create mode 100644 options/license/SPL-1.0 create mode 100644 options/license/SSH-OpenSSH create mode 100644 options/license/SSH-short create mode 100644 options/license/SSLeay-standalone create mode 100644 options/license/SSPL-1.0 create mode 100644 options/license/SWI-exception create mode 100644 options/license/SWL create mode 100644 options/license/Saxpath create mode 100644 options/license/SchemeReport create mode 100644 options/license/Sendmail create mode 100644 options/license/Sendmail-8.23 create mode 100644 options/license/SimPL-2.0 create mode 100644 options/license/Sleepycat create mode 100644 options/license/Soundex create mode 100644 options/license/Spencer-86 create mode 100644 options/license/Spencer-94 create mode 100644 options/license/Spencer-99 create mode 100644 options/license/SugarCRM-1.1.3 create mode 100644 options/license/Sun-PPP create mode 100644 options/license/Sun-PPP-2000 create mode 100644 options/license/SunPro create mode 100644 options/license/Swift-exception create mode 100644 options/license/Symlinks create mode 100644 options/license/TAPR-OHL-1.0 create mode 100644 options/license/TCL create mode 100644 options/license/TCP-wrappers create mode 100644 options/license/TGPPL-1.0 create mode 100644 options/license/TMate create mode 100644 options/license/TORQUE-1.1 create mode 100644 options/license/TOSL create mode 100644 options/license/TPDL create mode 100644 options/license/TPL-1.0 create mode 100644 options/license/TTWL create mode 100644 options/license/TTYP0 create mode 100644 options/license/TU-Berlin-1.0 create mode 100644 options/license/TU-Berlin-2.0 create mode 100644 options/license/TermReadKey create mode 100644 options/license/Texinfo-exception create mode 100644 options/license/TrustedQSL create mode 100644 options/license/UBDL-exception create mode 100644 options/license/UCAR create mode 100644 options/license/UCL-1.0 create mode 100644 options/license/UMich-Merit create mode 100644 options/license/UPL-1.0 create mode 100644 options/license/URT-RLE create mode 100644 options/license/Unicode-3.0 create mode 100644 options/license/Unicode-DFS-2015 create mode 100644 options/license/Unicode-DFS-2016 create mode 100644 options/license/Unicode-TOU create mode 100644 options/license/Universal-FOSS-exception-1.0 create mode 100644 options/license/UnixCrypt create mode 100644 options/license/Unlicense create mode 100644 options/license/VOSTROM create mode 100644 options/license/VSL-1.0 create mode 100644 options/license/Vim create mode 100644 options/license/W3C create mode 100644 options/license/W3C-19980720 create mode 100644 options/license/W3C-20150513 create mode 100644 options/license/WTFPL create mode 100644 options/license/Watcom-1.0 create mode 100644 options/license/Widget-Workshop create mode 100644 options/license/Wsuipa create mode 100644 options/license/WxWindows-exception-3.1 create mode 100644 options/license/X11 create mode 100644 options/license/X11-distribute-modifications-variant create mode 100644 options/license/XFree86-1.1 create mode 100644 options/license/XSkat create mode 100644 options/license/Xdebug-1.03 create mode 100644 options/license/Xerox create mode 100644 options/license/Xfig create mode 100644 options/license/Xnet create mode 100644 options/license/YPL-1.0 create mode 100644 options/license/YPL-1.1 create mode 100644 options/license/ZPL-1.1 create mode 100644 options/license/ZPL-2.0 create mode 100644 options/license/ZPL-2.1 create mode 100644 options/license/Zed create mode 100644 options/license/Zeeff create mode 100644 options/license/Zend-2.0 create mode 100644 options/license/Zimbra-1.3 create mode 100644 options/license/Zimbra-1.4 create mode 100644 options/license/Zlib create mode 100644 options/license/any-OSI create mode 100644 options/license/bcrypt-Solar-Designer create mode 100644 options/license/blessing create mode 100644 options/license/bzip2-1.0.6 create mode 100644 options/license/check-cvs create mode 100644 options/license/checkmk create mode 100644 options/license/copyleft-next-0.3.0 create mode 100644 options/license/copyleft-next-0.3.1 create mode 100644 options/license/cryptsetup-OpenSSL-exception create mode 100644 options/license/curl create mode 100644 options/license/cve-tou create mode 100644 options/license/diffmark create mode 100644 options/license/dtoa create mode 100644 options/license/dvipdfm create mode 100644 options/license/eCos-exception-2.0 create mode 100644 options/license/eGenix create mode 100644 options/license/etalab-2.0 create mode 100644 options/license/fmt-exception create mode 100644 options/license/freertos-exception-2.0 create mode 100644 options/license/fwlw create mode 100644 options/license/gSOAP-1.3b create mode 100644 options/license/gnu-javamail-exception create mode 100644 options/license/gnuplot create mode 100644 options/license/gtkbook create mode 100644 options/license/hdparm create mode 100644 options/license/i2p-gpl-java-exception create mode 100644 options/license/iMatix create mode 100644 options/license/libpng-2.0 create mode 100644 options/license/libpri-OpenH323-exception create mode 100644 options/license/libselinux-1.0 create mode 100644 options/license/libtiff create mode 100644 options/license/libutil-David-Nugent create mode 100644 options/license/lsof create mode 100644 options/license/magaz create mode 100644 options/license/mailprio create mode 100644 options/license/metamail create mode 100644 options/license/mif-exception create mode 100644 options/license/mpi-permissive create mode 100644 options/license/mpich2 create mode 100644 options/license/mplus create mode 100644 options/license/openvpn-openssl-exception create mode 100644 options/license/pkgconf create mode 100644 options/license/pnmstitch create mode 100644 options/license/psfrag create mode 100644 options/license/psutils create mode 100644 options/license/python-ldap create mode 100644 options/license/radvd create mode 100644 options/license/snprintf create mode 100644 options/license/softSurfer create mode 100644 options/license/ssh-keyscan create mode 100644 options/license/stunnel-exception create mode 100644 options/license/swrule create mode 100644 options/license/threeparttable create mode 100644 options/license/u-boot-exception-2.0 create mode 100644 options/license/ulem create mode 100644 options/license/vsftpd-openssl-exception create mode 100644 options/license/w3m create mode 100644 options/license/x11vnc-openssl-exception create mode 100644 options/license/xinetd create mode 100644 options/license/xkeyboard-config-Zinoviev create mode 100644 options/license/xlock create mode 100644 options/license/xpp create mode 100644 options/license/xzoom create mode 100644 options/license/zlib-acknowledgement create mode 100644 options/locale/TRANSLATORS create mode 100644 options/locale/locale_ar.ini create mode 100644 options/locale/locale_be.ini create mode 100644 options/locale/locale_bg.ini create mode 100644 options/locale/locale_bn.ini create mode 100644 options/locale/locale_bs.ini create mode 100644 options/locale/locale_ca.ini create mode 100644 options/locale/locale_cs-CZ.ini create mode 100644 options/locale/locale_de-DE.ini create mode 100644 options/locale/locale_el-GR.ini create mode 100644 options/locale/locale_en-US.ini create mode 100644 options/locale/locale_eo.ini create mode 100644 options/locale/locale_es-ES.ini create mode 100644 options/locale/locale_et.ini create mode 100644 options/locale/locale_fa-IR.ini create mode 100644 options/locale/locale_fi-FI.ini create mode 100644 options/locale/locale_fil.ini create mode 100644 options/locale/locale_fr-FR.ini create mode 100644 options/locale/locale_gl.ini create mode 100644 options/locale/locale_hi.ini create mode 100644 options/locale/locale_hu-HU.ini create mode 100644 options/locale/locale_id-ID.ini create mode 100644 options/locale/locale_is-IS.ini create mode 100644 options/locale/locale_it-IT.ini create mode 100644 options/locale/locale_ja-JP.ini create mode 100644 options/locale/locale_ko-KR.ini create mode 100644 options/locale/locale_lt.ini create mode 100644 options/locale/locale_lv-LV.ini create mode 100644 options/locale/locale_ml-IN.ini create mode 100644 options/locale/locale_nb_NO.ini create mode 100644 options/locale/locale_nds.ini create mode 100644 options/locale/locale_nl-NL.ini create mode 100644 options/locale/locale_pl-PL.ini create mode 100644 options/locale/locale_pt-BR.ini create mode 100644 options/locale/locale_pt-PT.ini create mode 100644 options/locale/locale_ru-RU.ini create mode 100644 options/locale/locale_si-LK.ini create mode 100644 options/locale/locale_sk-SK.ini create mode 100644 options/locale/locale_sl.ini create mode 100644 options/locale/locale_sr-SP.ini create mode 100644 options/locale/locale_sv-SE.ini create mode 100644 options/locale/locale_tr-TR.ini create mode 100644 options/locale/locale_uk-UA.ini create mode 100644 options/locale/locale_vi.ini create mode 100644 options/locale/locale_yi.ini create mode 100644 options/locale/locale_zh-CN.ini create mode 100644 options/locale/locale_zh-HK.ini create mode 100644 options/locale/locale_zh-TW.ini create mode 100644 options/readme/Default create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 playwright.config.js create mode 100644 poetry.lock create mode 100644 poetry.toml create mode 100644 public/.well-known/security.txt create mode 100644 public/assets/forgejo/api.v1.yml create mode 100644 public/assets/img/apple-touch-icon.png create mode 100644 public/assets/img/avatar_default.png create mode 100644 public/assets/img/checkmark.png create mode 100644 public/assets/img/dingtalk.ico create mode 100644 public/assets/img/discord.png create mode 100644 public/assets/img/emoji/codeberg.png create mode 100644 public/assets/img/emoji/forgejo.png create mode 100644 public/assets/img/emoji/git.png create mode 100644 public/assets/img/emoji/gitea.png create mode 100644 public/assets/img/emoji/github.png create mode 100644 public/assets/img/emoji/gitlab.png create mode 100644 public/assets/img/emoji/gogs.png create mode 100644 public/assets/img/favicon.png create mode 100644 public/assets/img/favicon.svg create mode 100644 public/assets/img/feishu.png create mode 100644 public/assets/img/forgejo-loading.svg create mode 100644 public/assets/img/forgejo.svg create mode 100644 public/assets/img/gitea-original.svg create mode 100644 public/assets/img/gitea.svg create mode 100644 public/assets/img/gogs.ico create mode 100644 public/assets/img/logo.png create mode 100644 public/assets/img/logo.svg create mode 100644 public/assets/img/msteams.png create mode 100644 public/assets/img/openid-16x16.png create mode 100644 public/assets/img/packagist.png create mode 100644 public/assets/img/repo_default.png create mode 100644 public/assets/img/slack.png create mode 100644 public/assets/img/sourcehut.svg create mode 100644 public/assets/img/svg/fontawesome-openid.svg create mode 100644 public/assets/img/svg/fontawesome-save.svg create mode 100644 public/assets/img/svg/fontawesome-send.svg create mode 100644 public/assets/img/svg/fontawesome-windows.svg create mode 100644 public/assets/img/svg/gitea-alpine.svg create mode 100644 public/assets/img/svg/gitea-arch.svg create mode 100644 public/assets/img/svg/gitea-azuread.svg create mode 100644 public/assets/img/svg/gitea-azureadv2.svg create mode 100644 public/assets/img/svg/gitea-bitbucket.svg create mode 100644 public/assets/img/svg/gitea-cargo.svg create mode 100644 public/assets/img/svg/gitea-chef.svg create mode 100644 public/assets/img/svg/gitea-codebase.svg create mode 100644 public/assets/img/svg/gitea-composer.svg create mode 100644 public/assets/img/svg/gitea-conan.svg create mode 100644 public/assets/img/svg/gitea-conda.svg create mode 100644 public/assets/img/svg/gitea-cran.svg create mode 100644 public/assets/img/svg/gitea-debian.svg create mode 100644 public/assets/img/svg/gitea-discord.svg create mode 100644 public/assets/img/svg/gitea-double-chevron-left.svg create mode 100644 public/assets/img/svg/gitea-double-chevron-right.svg create mode 100644 public/assets/img/svg/gitea-dropbox.svg create mode 100644 public/assets/img/svg/gitea-empty-checkbox.svg create mode 100644 public/assets/img/svg/gitea-exclamation.svg create mode 100644 public/assets/img/svg/gitea-facebook.svg create mode 100644 public/assets/img/svg/gitea-forgejo.svg create mode 100644 public/assets/img/svg/gitea-git.svg create mode 100644 public/assets/img/svg/gitea-gitbucket.svg create mode 100644 public/assets/img/svg/gitea-gitea.svg create mode 100644 public/assets/img/svg/gitea-gitlab.svg create mode 100644 public/assets/img/svg/gitea-go.svg create mode 100644 public/assets/img/svg/gitea-gogs.svg create mode 100644 public/assets/img/svg/gitea-google.svg create mode 100644 public/assets/img/svg/gitea-helm.svg create mode 100644 public/assets/img/svg/gitea-jetbrains.svg create mode 100644 public/assets/img/svg/gitea-join.svg create mode 100644 public/assets/img/svg/gitea-lock-cog.svg create mode 100644 public/assets/img/svg/gitea-lock.svg create mode 100644 public/assets/img/svg/gitea-mastodon.svg create mode 100644 public/assets/img/svg/gitea-matrix.svg create mode 100644 public/assets/img/svg/gitea-maven.svg create mode 100644 public/assets/img/svg/gitea-microsoftonline.svg create mode 100644 public/assets/img/svg/gitea-nextcloud.svg create mode 100644 public/assets/img/svg/gitea-npm.svg create mode 100644 public/assets/img/svg/gitea-nuget.svg create mode 100644 public/assets/img/svg/gitea-onedev.svg create mode 100644 public/assets/img/svg/gitea-open-with-jetbrains.svg create mode 100644 public/assets/img/svg/gitea-open-with-vscode.svg create mode 100644 public/assets/img/svg/gitea-open-with-vscodium.svg create mode 100644 public/assets/img/svg/gitea-openid.svg create mode 100644 public/assets/img/svg/gitea-pub.svg create mode 100644 public/assets/img/svg/gitea-python.svg create mode 100644 public/assets/img/svg/gitea-rpm.svg create mode 100644 public/assets/img/svg/gitea-rubygems.svg create mode 100644 public/assets/img/svg/gitea-split.svg create mode 100644 public/assets/img/svg/gitea-swift.svg create mode 100644 public/assets/img/svg/gitea-twitter.svg create mode 100644 public/assets/img/svg/gitea-unlock.svg create mode 100644 public/assets/img/svg/gitea-vagrant.svg create mode 100644 public/assets/img/svg/gitea-vscodium.svg create mode 100644 public/assets/img/svg/gitea-whitespace.svg create mode 100644 public/assets/img/svg/gitea-yandex.svg create mode 100644 public/assets/img/svg/material-invert-colors.svg create mode 100644 public/assets/img/svg/material-palette.svg create mode 100644 public/assets/img/svg/octicon-accessibility-inset.svg create mode 100644 public/assets/img/svg/octicon-accessibility.svg create mode 100644 public/assets/img/svg/octicon-alert-fill.svg create mode 100644 public/assets/img/svg/octicon-alert.svg create mode 100644 public/assets/img/svg/octicon-apps.svg create mode 100644 public/assets/img/svg/octicon-archive.svg create mode 100644 public/assets/img/svg/octicon-arrow-both.svg create mode 100644 public/assets/img/svg/octicon-arrow-down-left.svg create mode 100644 public/assets/img/svg/octicon-arrow-down-right.svg create mode 100644 public/assets/img/svg/octicon-arrow-down.svg create mode 100644 public/assets/img/svg/octicon-arrow-left.svg create mode 100644 public/assets/img/svg/octicon-arrow-right.svg create mode 100644 public/assets/img/svg/octicon-arrow-switch.svg create mode 100644 public/assets/img/svg/octicon-arrow-up-left.svg create mode 100644 public/assets/img/svg/octicon-arrow-up-right.svg create mode 100644 public/assets/img/svg/octicon-arrow-up.svg create mode 100644 public/assets/img/svg/octicon-beaker.svg create mode 100644 public/assets/img/svg/octicon-bell-fill.svg create mode 100644 public/assets/img/svg/octicon-bell-slash.svg create mode 100644 public/assets/img/svg/octicon-bell.svg create mode 100644 public/assets/img/svg/octicon-blocked.svg create mode 100644 public/assets/img/svg/octicon-bold.svg create mode 100644 public/assets/img/svg/octicon-book.svg create mode 100644 public/assets/img/svg/octicon-bookmark-slash.svg create mode 100644 public/assets/img/svg/octicon-bookmark.svg create mode 100644 public/assets/img/svg/octicon-briefcase.svg create mode 100644 public/assets/img/svg/octicon-broadcast.svg create mode 100644 public/assets/img/svg/octicon-browser.svg create mode 100644 public/assets/img/svg/octicon-bug.svg create mode 100644 public/assets/img/svg/octicon-cache.svg create mode 100644 public/assets/img/svg/octicon-calendar.svg create mode 100644 public/assets/img/svg/octicon-check-circle-fill.svg create mode 100644 public/assets/img/svg/octicon-check-circle.svg create mode 100644 public/assets/img/svg/octicon-check.svg create mode 100644 public/assets/img/svg/octicon-checkbox.svg create mode 100644 public/assets/img/svg/octicon-checklist.svg create mode 100644 public/assets/img/svg/octicon-chevron-down.svg create mode 100644 public/assets/img/svg/octicon-chevron-left.svg create mode 100644 public/assets/img/svg/octicon-chevron-right.svg create mode 100644 public/assets/img/svg/octicon-chevron-up.svg create mode 100644 public/assets/img/svg/octicon-circle-slash.svg create mode 100644 public/assets/img/svg/octicon-circle.svg create mode 100644 public/assets/img/svg/octicon-clock-fill.svg create mode 100644 public/assets/img/svg/octicon-clock.svg create mode 100644 public/assets/img/svg/octicon-cloud-offline.svg create mode 100644 public/assets/img/svg/octicon-cloud.svg create mode 100644 public/assets/img/svg/octicon-code-of-conduct.svg create mode 100644 public/assets/img/svg/octicon-code-review.svg create mode 100644 public/assets/img/svg/octicon-code-square.svg create mode 100644 public/assets/img/svg/octicon-code.svg create mode 100644 public/assets/img/svg/octicon-codescan-checkmark.svg create mode 100644 public/assets/img/svg/octicon-codescan.svg create mode 100644 public/assets/img/svg/octicon-codespaces.svg create mode 100644 public/assets/img/svg/octicon-columns.svg create mode 100644 public/assets/img/svg/octicon-command-palette.svg create mode 100644 public/assets/img/svg/octicon-comment-discussion.svg create mode 100644 public/assets/img/svg/octicon-comment.svg create mode 100644 public/assets/img/svg/octicon-container.svg create mode 100644 public/assets/img/svg/octicon-copilot-error.svg create mode 100644 public/assets/img/svg/octicon-copilot-warning.svg create mode 100644 public/assets/img/svg/octicon-copilot.svg create mode 100644 public/assets/img/svg/octicon-copy.svg create mode 100644 public/assets/img/svg/octicon-cpu.svg create mode 100644 public/assets/img/svg/octicon-credit-card.svg create mode 100644 public/assets/img/svg/octicon-cross-reference.svg create mode 100644 public/assets/img/svg/octicon-dash.svg create mode 100644 public/assets/img/svg/octicon-database.svg create mode 100644 public/assets/img/svg/octicon-dependabot.svg create mode 100644 public/assets/img/svg/octicon-desktop-download.svg create mode 100644 public/assets/img/svg/octicon-device-camera-video.svg create mode 100644 public/assets/img/svg/octicon-device-camera.svg create mode 100644 public/assets/img/svg/octicon-device-desktop.svg create mode 100644 public/assets/img/svg/octicon-device-mobile.svg create mode 100644 public/assets/img/svg/octicon-devices.svg create mode 100644 public/assets/img/svg/octicon-diamond.svg create mode 100644 public/assets/img/svg/octicon-diff-added.svg create mode 100644 public/assets/img/svg/octicon-diff-ignored.svg create mode 100644 public/assets/img/svg/octicon-diff-modified.svg create mode 100644 public/assets/img/svg/octicon-diff-removed.svg create mode 100644 public/assets/img/svg/octicon-diff-renamed.svg create mode 100644 public/assets/img/svg/octicon-diff.svg create mode 100644 public/assets/img/svg/octicon-discussion-closed.svg create mode 100644 public/assets/img/svg/octicon-discussion-duplicate.svg create mode 100644 public/assets/img/svg/octicon-discussion-outdated.svg create mode 100644 public/assets/img/svg/octicon-dot-fill.svg create mode 100644 public/assets/img/svg/octicon-dot.svg create mode 100644 public/assets/img/svg/octicon-download.svg create mode 100644 public/assets/img/svg/octicon-duplicate.svg create mode 100644 public/assets/img/svg/octicon-ellipsis.svg create mode 100644 public/assets/img/svg/octicon-eye-closed.svg create mode 100644 public/assets/img/svg/octicon-eye.svg create mode 100644 public/assets/img/svg/octicon-feed-discussion.svg create mode 100644 public/assets/img/svg/octicon-feed-forked.svg create mode 100644 public/assets/img/svg/octicon-feed-heart.svg create mode 100644 public/assets/img/svg/octicon-feed-issue-closed.svg create mode 100644 public/assets/img/svg/octicon-feed-issue-draft.svg create mode 100644 public/assets/img/svg/octicon-feed-issue-open.svg create mode 100644 public/assets/img/svg/octicon-feed-issue-reopen.svg create mode 100644 public/assets/img/svg/octicon-feed-merged.svg create mode 100644 public/assets/img/svg/octicon-feed-person.svg create mode 100644 public/assets/img/svg/octicon-feed-plus.svg create mode 100644 public/assets/img/svg/octicon-feed-public.svg create mode 100644 public/assets/img/svg/octicon-feed-pull-request-closed.svg create mode 100644 public/assets/img/svg/octicon-feed-pull-request-draft.svg create mode 100644 public/assets/img/svg/octicon-feed-pull-request-open.svg create mode 100644 public/assets/img/svg/octicon-feed-repo.svg create mode 100644 public/assets/img/svg/octicon-feed-rocket.svg create mode 100644 public/assets/img/svg/octicon-feed-star.svg create mode 100644 public/assets/img/svg/octicon-feed-tag.svg create mode 100644 public/assets/img/svg/octicon-feed-trophy.svg create mode 100644 public/assets/img/svg/octicon-file-added.svg create mode 100644 public/assets/img/svg/octicon-file-badge.svg create mode 100644 public/assets/img/svg/octicon-file-binary.svg create mode 100644 public/assets/img/svg/octicon-file-code.svg create mode 100644 public/assets/img/svg/octicon-file-diff.svg create mode 100644 public/assets/img/svg/octicon-file-directory-fill.svg create mode 100644 public/assets/img/svg/octicon-file-directory-open-fill.svg create mode 100644 public/assets/img/svg/octicon-file-directory-symlink.svg create mode 100644 public/assets/img/svg/octicon-file-directory.svg create mode 100644 public/assets/img/svg/octicon-file-moved.svg create mode 100644 public/assets/img/svg/octicon-file-removed.svg create mode 100644 public/assets/img/svg/octicon-file-submodule.svg create mode 100644 public/assets/img/svg/octicon-file-symlink-file.svg create mode 100644 public/assets/img/svg/octicon-file-zip.svg create mode 100644 public/assets/img/svg/octicon-file.svg create mode 100644 public/assets/img/svg/octicon-filter-remove.svg create mode 100644 public/assets/img/svg/octicon-filter.svg create mode 100644 public/assets/img/svg/octicon-fiscal-host.svg create mode 100644 public/assets/img/svg/octicon-flame.svg create mode 100644 public/assets/img/svg/octicon-fold-down.svg create mode 100644 public/assets/img/svg/octicon-fold-up.svg create mode 100644 public/assets/img/svg/octicon-fold.svg create mode 100644 public/assets/img/svg/octicon-gear.svg create mode 100644 public/assets/img/svg/octicon-gift.svg create mode 100644 public/assets/img/svg/octicon-git-branch.svg create mode 100644 public/assets/img/svg/octicon-git-commit.svg create mode 100644 public/assets/img/svg/octicon-git-compare.svg create mode 100644 public/assets/img/svg/octicon-git-merge-queue.svg create mode 100644 public/assets/img/svg/octicon-git-merge.svg create mode 100644 public/assets/img/svg/octicon-git-pull-request-closed.svg create mode 100644 public/assets/img/svg/octicon-git-pull-request-draft.svg create mode 100644 public/assets/img/svg/octicon-git-pull-request.svg create mode 100644 public/assets/img/svg/octicon-globe.svg create mode 100644 public/assets/img/svg/octicon-goal.svg create mode 100644 public/assets/img/svg/octicon-grabber.svg create mode 100644 public/assets/img/svg/octicon-graph.svg create mode 100644 public/assets/img/svg/octicon-hash.svg create mode 100644 public/assets/img/svg/octicon-heading.svg create mode 100644 public/assets/img/svg/octicon-heart-fill.svg create mode 100644 public/assets/img/svg/octicon-heart.svg create mode 100644 public/assets/img/svg/octicon-history.svg create mode 100644 public/assets/img/svg/octicon-home.svg create mode 100644 public/assets/img/svg/octicon-horizontal-rule.svg create mode 100644 public/assets/img/svg/octicon-hourglass.svg create mode 100644 public/assets/img/svg/octicon-hubot.svg create mode 100644 public/assets/img/svg/octicon-id-badge.svg create mode 100644 public/assets/img/svg/octicon-image.svg create mode 100644 public/assets/img/svg/octicon-inbox.svg create mode 100644 public/assets/img/svg/octicon-infinity.svg create mode 100644 public/assets/img/svg/octicon-info.svg create mode 100644 public/assets/img/svg/octicon-issue-closed.svg create mode 100644 public/assets/img/svg/octicon-issue-draft.svg create mode 100644 public/assets/img/svg/octicon-issue-opened.svg create mode 100644 public/assets/img/svg/octicon-issue-reopened.svg create mode 100644 public/assets/img/svg/octicon-issue-tracked-by.svg create mode 100644 public/assets/img/svg/octicon-issue-tracks.svg create mode 100644 public/assets/img/svg/octicon-italic.svg create mode 100644 public/assets/img/svg/octicon-iterations.svg create mode 100644 public/assets/img/svg/octicon-kebab-horizontal.svg create mode 100644 public/assets/img/svg/octicon-key-asterisk.svg create mode 100644 public/assets/img/svg/octicon-key.svg create mode 100644 public/assets/img/svg/octicon-law.svg create mode 100644 public/assets/img/svg/octicon-light-bulb.svg create mode 100644 public/assets/img/svg/octicon-link-external.svg create mode 100644 public/assets/img/svg/octicon-link.svg create mode 100644 public/assets/img/svg/octicon-list-ordered.svg create mode 100644 public/assets/img/svg/octicon-list-unordered.svg create mode 100644 public/assets/img/svg/octicon-location.svg create mode 100644 public/assets/img/svg/octicon-lock.svg create mode 100644 public/assets/img/svg/octicon-log.svg create mode 100644 public/assets/img/svg/octicon-logo-gist.svg create mode 100644 public/assets/img/svg/octicon-logo-github.svg create mode 100644 public/assets/img/svg/octicon-mail.svg create mode 100644 public/assets/img/svg/octicon-mark-github.svg create mode 100644 public/assets/img/svg/octicon-markdown.svg create mode 100644 public/assets/img/svg/octicon-megaphone.svg create mode 100644 public/assets/img/svg/octicon-mention.svg create mode 100644 public/assets/img/svg/octicon-meter.svg create mode 100644 public/assets/img/svg/octicon-milestone.svg create mode 100644 public/assets/img/svg/octicon-mirror.svg create mode 100644 public/assets/img/svg/octicon-moon.svg create mode 100644 public/assets/img/svg/octicon-mortar-board.svg create mode 100644 public/assets/img/svg/octicon-move-to-bottom.svg create mode 100644 public/assets/img/svg/octicon-move-to-end.svg create mode 100644 public/assets/img/svg/octicon-move-to-start.svg create mode 100644 public/assets/img/svg/octicon-move-to-top.svg create mode 100644 public/assets/img/svg/octicon-multi-select.svg create mode 100644 public/assets/img/svg/octicon-mute.svg create mode 100644 public/assets/img/svg/octicon-no-entry.svg create mode 100644 public/assets/img/svg/octicon-north-star.svg create mode 100644 public/assets/img/svg/octicon-note.svg create mode 100644 public/assets/img/svg/octicon-number.svg create mode 100644 public/assets/img/svg/octicon-organization.svg create mode 100644 public/assets/img/svg/octicon-package-dependencies.svg create mode 100644 public/assets/img/svg/octicon-package-dependents.svg create mode 100644 public/assets/img/svg/octicon-package.svg create mode 100644 public/assets/img/svg/octicon-paintbrush.svg create mode 100644 public/assets/img/svg/octicon-paper-airplane.svg create mode 100644 public/assets/img/svg/octicon-paperclip.svg create mode 100644 public/assets/img/svg/octicon-passkey-fill.svg create mode 100644 public/assets/img/svg/octicon-paste.svg create mode 100644 public/assets/img/svg/octicon-pencil.svg create mode 100644 public/assets/img/svg/octicon-people.svg create mode 100644 public/assets/img/svg/octicon-person-add.svg create mode 100644 public/assets/img/svg/octicon-person-fill.svg create mode 100644 public/assets/img/svg/octicon-person.svg create mode 100644 public/assets/img/svg/octicon-pin-slash.svg create mode 100644 public/assets/img/svg/octicon-pin.svg create mode 100644 public/assets/img/svg/octicon-pivot-column.svg create mode 100644 public/assets/img/svg/octicon-play.svg create mode 100644 public/assets/img/svg/octicon-plug.svg create mode 100644 public/assets/img/svg/octicon-plus-circle.svg create mode 100644 public/assets/img/svg/octicon-plus.svg create mode 100644 public/assets/img/svg/octicon-project-roadmap.svg create mode 100644 public/assets/img/svg/octicon-project-symlink.svg create mode 100644 public/assets/img/svg/octicon-project-template.svg create mode 100644 public/assets/img/svg/octicon-project.svg create mode 100644 public/assets/img/svg/octicon-pulse.svg create mode 100644 public/assets/img/svg/octicon-question.svg create mode 100644 public/assets/img/svg/octicon-quote.svg create mode 100644 public/assets/img/svg/octicon-read.svg create mode 100644 public/assets/img/svg/octicon-redo.svg create mode 100644 public/assets/img/svg/octicon-rel-file-path.svg create mode 100644 public/assets/img/svg/octicon-reply.svg create mode 100644 public/assets/img/svg/octicon-repo-clone.svg create mode 100644 public/assets/img/svg/octicon-repo-deleted.svg create mode 100644 public/assets/img/svg/octicon-repo-forked.svg create mode 100644 public/assets/img/svg/octicon-repo-locked.svg create mode 100644 public/assets/img/svg/octicon-repo-pull.svg create mode 100644 public/assets/img/svg/octicon-repo-push.svg create mode 100644 public/assets/img/svg/octicon-repo-template.svg create mode 100644 public/assets/img/svg/octicon-repo.svg create mode 100644 public/assets/img/svg/octicon-report.svg create mode 100644 public/assets/img/svg/octicon-rocket.svg create mode 100644 public/assets/img/svg/octicon-rows.svg create mode 100644 public/assets/img/svg/octicon-rss.svg create mode 100644 public/assets/img/svg/octicon-ruby.svg create mode 100644 public/assets/img/svg/octicon-screen-full.svg create mode 100644 public/assets/img/svg/octicon-screen-normal.svg create mode 100644 public/assets/img/svg/octicon-search.svg create mode 100644 public/assets/img/svg/octicon-server.svg create mode 100644 public/assets/img/svg/octicon-share-android.svg create mode 100644 public/assets/img/svg/octicon-share.svg create mode 100644 public/assets/img/svg/octicon-shield-check.svg create mode 100644 public/assets/img/svg/octicon-shield-lock.svg create mode 100644 public/assets/img/svg/octicon-shield-slash.svg create mode 100644 public/assets/img/svg/octicon-shield-x.svg create mode 100644 public/assets/img/svg/octicon-shield.svg create mode 100644 public/assets/img/svg/octicon-sidebar-collapse.svg create mode 100644 public/assets/img/svg/octicon-sidebar-expand.svg create mode 100644 public/assets/img/svg/octicon-sign-in.svg create mode 100644 public/assets/img/svg/octicon-sign-out.svg create mode 100644 public/assets/img/svg/octicon-single-select.svg create mode 100644 public/assets/img/svg/octicon-skip-fill.svg create mode 100644 public/assets/img/svg/octicon-skip.svg create mode 100644 public/assets/img/svg/octicon-sliders.svg create mode 100644 public/assets/img/svg/octicon-smiley.svg create mode 100644 public/assets/img/svg/octicon-sort-asc.svg create mode 100644 public/assets/img/svg/octicon-sort-desc.svg create mode 100644 public/assets/img/svg/octicon-sparkle-fill.svg create mode 100644 public/assets/img/svg/octicon-sponsor-tiers.svg create mode 100644 public/assets/img/svg/octicon-square-fill.svg create mode 100644 public/assets/img/svg/octicon-square.svg create mode 100644 public/assets/img/svg/octicon-squirrel.svg create mode 100644 public/assets/img/svg/octicon-stack.svg create mode 100644 public/assets/img/svg/octicon-star-fill.svg create mode 100644 public/assets/img/svg/octicon-star.svg create mode 100644 public/assets/img/svg/octicon-stop.svg create mode 100644 public/assets/img/svg/octicon-stopwatch.svg create mode 100644 public/assets/img/svg/octicon-strikethrough.svg create mode 100644 public/assets/img/svg/octicon-sun.svg create mode 100644 public/assets/img/svg/octicon-sync.svg create mode 100644 public/assets/img/svg/octicon-tab-external.svg create mode 100644 public/assets/img/svg/octicon-table.svg create mode 100644 public/assets/img/svg/octicon-tag.svg create mode 100644 public/assets/img/svg/octicon-tasklist.svg create mode 100644 public/assets/img/svg/octicon-telescope-fill.svg create mode 100644 public/assets/img/svg/octicon-telescope.svg create mode 100644 public/assets/img/svg/octicon-terminal.svg create mode 100644 public/assets/img/svg/octicon-three-bars.svg create mode 100644 public/assets/img/svg/octicon-thumbsdown.svg create mode 100644 public/assets/img/svg/octicon-thumbsup.svg create mode 100644 public/assets/img/svg/octicon-tools.svg create mode 100644 public/assets/img/svg/octicon-tracked-by-closed-completed.svg create mode 100644 public/assets/img/svg/octicon-tracked-by-closed-not-planned.svg create mode 100644 public/assets/img/svg/octicon-trash.svg create mode 100644 public/assets/img/svg/octicon-triangle-down.svg create mode 100644 public/assets/img/svg/octicon-triangle-left.svg create mode 100644 public/assets/img/svg/octicon-triangle-right.svg create mode 100644 public/assets/img/svg/octicon-triangle-up.svg create mode 100644 public/assets/img/svg/octicon-trophy.svg create mode 100644 public/assets/img/svg/octicon-typography.svg create mode 100644 public/assets/img/svg/octicon-undo.svg create mode 100644 public/assets/img/svg/octicon-unfold.svg create mode 100644 public/assets/img/svg/octicon-unlink.svg create mode 100644 public/assets/img/svg/octicon-unlock.svg create mode 100644 public/assets/img/svg/octicon-unmute.svg create mode 100644 public/assets/img/svg/octicon-unread.svg create mode 100644 public/assets/img/svg/octicon-unverified.svg create mode 100644 public/assets/img/svg/octicon-upload.svg create mode 100644 public/assets/img/svg/octicon-verified.svg create mode 100644 public/assets/img/svg/octicon-versions.svg create mode 100644 public/assets/img/svg/octicon-video.svg create mode 100644 public/assets/img/svg/octicon-webhook.svg create mode 100644 public/assets/img/svg/octicon-workflow.svg create mode 100644 public/assets/img/svg/octicon-x-circle-fill.svg create mode 100644 public/assets/img/svg/octicon-x-circle.svg create mode 100644 public/assets/img/svg/octicon-x.svg create mode 100644 public/assets/img/svg/octicon-zap.svg create mode 100644 public/assets/img/svg/octicon-zoom-in.svg create mode 100644 public/assets/img/svg/octicon-zoom-out.svg create mode 100644 public/assets/img/telegram.png create mode 100644 public/assets/img/wechatwork.png create mode 100644 pyproject.toml create mode 100755 release-notes-assistant.sh create mode 100644 release-notes/3139.md create mode 100644 release-notes/3285.md create mode 100644 release-notes/3307.md create mode 100644 release-notes/3334.md create mode 100644 release-notes/3337.md create mode 100644 release-notes/3363.md create mode 100644 release-notes/3383.md create mode 100644 release-notes/3414.md create mode 100644 release-notes/3430.md create mode 100644 release-notes/3434.md create mode 100644 release-notes/3442.md create mode 100644 release-notes/3642.md create mode 100644 release-notes/3654.md create mode 100644 release-notes/3723.md create mode 100644 release-notes/3724.md create mode 100644 release-notes/3729.md create mode 100644 release-notes/3752.md create mode 100644 release-notes/3791.md create mode 100644 release-notes/3808.md create mode 100644 release-notes/3811.md create mode 100644 release-notes/3830.md create mode 100644 release-notes/3836.md create mode 100644 release-notes/3838.md create mode 100644 release-notes/3847.md create mode 100644 release-notes/3870.md create mode 100644 release-notes/3886.md create mode 100644 release-notes/3917.md create mode 100644 release-notes/3922.md create mode 100644 release-notes/3934.md create mode 100644 release-notes/3985.md create mode 100644 release-notes/3989.md create mode 100644 release-notes/4026.md create mode 100644 release-notes/4027.md create mode 100644 release-notes/4072.md create mode 100644 release-notes/4083.md create mode 100644 release-notes/4095.md create mode 100644 release-notes/4134.md create mode 100644 release-notes/4136.md create mode 100644 release-notes/4139.md create mode 100644 release-notes/4143.md create mode 100644 release-notes/4145.md create mode 100644 release-notes/4160.md create mode 100644 release-notes/4189.md create mode 100644 release-notes/4201.md create mode 100644 release-notes/4212.md create mode 100644 release-notes/4218.md create mode 100644 release-notes/4222.md create mode 100644 release-notes/4240.md create mode 100644 release-notes/4253.md create mode 100644 release-notes/4262.md create mode 100644 release-notes/4266.md create mode 100644 release-notes/4291.md create mode 100644 release-notes/4367.md create mode 100644 release-notes/4375.md create mode 100644 release-notes/4400.md create mode 100644 release-notes/4427.md create mode 100644 release-notes/4429.md create mode 100644 release-notes/4439.md create mode 100644 release-notes/4487.md create mode 100644 release-notes/4506.md create mode 100644 release-notes/4547.md create mode 100644 release-notes/4595.md create mode 100644 release-notes/4605.md create mode 100644 release-notes/4607.md create mode 100644 release-notes/4635.md create mode 100644 release-notes/4684.md create mode 100644 release-notes/4716.md create mode 100644 release-notes/4724.md create mode 100644 release-notes/4801.md create mode 100644 release-notes/4819.md create mode 100644 release-notes/4907.md create mode 100644 release-notes/4924.md create mode 100644 release-notes/4941.md create mode 100644 release-notes/4998.md create mode 100644 release-notes/5065.md create mode 100644 release-notes/5090.md create mode 100644 release-notes/5109.md create mode 100644 release-notes/5120.md create mode 100644 release-notes/5149.md create mode 100644 release-notes/5195.md create mode 100644 release-notes/5205.md create mode 100644 release-notes/5325.md create mode 100644 release-notes/5372.md create mode 100644 release-notes/5418.md create mode 100644 release-notes/5480.md create mode 100644 release-notes/5647.md create mode 100644 release-notes/5715.md create mode 100644 release-notes/5718.md create mode 100644 release-notes/5719.md create mode 100644 release-notes/5778.md create mode 100644 release-notes/5975.md create mode 100644 release-notes/5998.md create mode 100644 release-notes/6064.md create mode 100644 releases/images/forgejo-v1.18.0-rc1-2-landing.jpg create mode 100644 releases/images/forgejo-v1.19-citation-dialog.png create mode 100644 releases/images/forgejo-v1.19-citation-link.png create mode 100644 releases/images/forgejo-v1.19-note-warning.png create mode 100644 releases/images/forgejo-v1.19-oidc-part1.png create mode 100644 releases/images/forgejo-v1.19-oidc-part2.png create mode 100644 releases/images/forgejo-v1.19-raw-copy-after.png create mode 100644 releases/images/forgejo-v1.19-raw-copy-before.png create mode 100644 releases/images/forgejo-v1.19-relevant.png create mode 100644 releases/images/forgejo-v1.19.0-0-rc0.png create mode 100644 renovate.json create mode 100644 routers/api/actions/actions.go create mode 100644 routers/api/actions/artifact.pb.go create mode 100644 routers/api/actions/artifact.proto create mode 100644 routers/api/actions/artifacts.go create mode 100644 routers/api/actions/artifacts_chunks.go create mode 100644 routers/api/actions/artifacts_utils.go create mode 100644 routers/api/actions/artifactsv4.go create mode 100644 routers/api/actions/ping/ping.go create mode 100644 routers/api/actions/ping/ping_test.go create mode 100644 routers/api/actions/runner/interceptor.go create mode 100644 routers/api/actions/runner/runner.go create mode 100644 routers/api/actions/runner/utils.go create mode 100644 routers/api/forgejo/v1/api.go create mode 100644 routers/api/forgejo/v1/forgejo.go create mode 100644 routers/api/forgejo/v1/generated.go create mode 100644 routers/api/forgejo/v1/root.go create mode 100644 routers/api/packages/README.md create mode 100644 routers/api/packages/alpine/alpine.go create mode 100644 routers/api/packages/api.go create mode 100644 routers/api/packages/arch/arch.go create mode 100644 routers/api/packages/cargo/cargo.go create mode 100644 routers/api/packages/chef/auth.go create mode 100644 routers/api/packages/chef/chef.go create mode 100644 routers/api/packages/composer/api.go create mode 100644 routers/api/packages/composer/composer.go create mode 100644 routers/api/packages/conan/auth.go create mode 100644 routers/api/packages/conan/conan.go create mode 100644 routers/api/packages/conan/search.go create mode 100644 routers/api/packages/conda/conda.go create mode 100644 routers/api/packages/container/auth.go create mode 100644 routers/api/packages/container/blob.go create mode 100644 routers/api/packages/container/container.go create mode 100644 routers/api/packages/container/errors.go create mode 100644 routers/api/packages/container/manifest.go create mode 100644 routers/api/packages/cran/cran.go create mode 100644 routers/api/packages/debian/debian.go create mode 100644 routers/api/packages/generic/generic.go create mode 100644 routers/api/packages/generic/generic_test.go create mode 100644 routers/api/packages/goproxy/goproxy.go create mode 100644 routers/api/packages/helm/helm.go create mode 100644 routers/api/packages/helper/helper.go create mode 100644 routers/api/packages/maven/api.go create mode 100644 routers/api/packages/maven/maven.go create mode 100644 routers/api/packages/npm/api.go create mode 100644 routers/api/packages/npm/npm.go create mode 100644 routers/api/packages/nuget/api_v2.go create mode 100644 routers/api/packages/nuget/api_v3.go create mode 100644 routers/api/packages/nuget/auth.go create mode 100644 routers/api/packages/nuget/links.go create mode 100644 routers/api/packages/nuget/nuget.go create mode 100644 routers/api/packages/pub/pub.go create mode 100644 routers/api/packages/pypi/pypi.go create mode 100644 routers/api/packages/pypi/pypi_test.go create mode 100644 routers/api/packages/rpm/rpm.go create mode 100644 routers/api/packages/rubygems/rubygems.go create mode 100644 routers/api/packages/swift/swift.go create mode 100644 routers/api/packages/vagrant/vagrant.go create mode 100644 routers/api/shared/middleware.go create mode 100644 routers/api/v1/activitypub/actor.go create mode 100644 routers/api/v1/activitypub/person.go create mode 100644 routers/api/v1/activitypub/repository.go create mode 100644 routers/api/v1/activitypub/repository_test.go create mode 100644 routers/api/v1/activitypub/reqsignature.go create mode 100644 routers/api/v1/activitypub/response.go create mode 100644 routers/api/v1/admin/adopt.go create mode 100644 routers/api/v1/admin/cron.go create mode 100644 routers/api/v1/admin/email.go create mode 100644 routers/api/v1/admin/hooks.go create mode 100644 routers/api/v1/admin/org.go create mode 100644 routers/api/v1/admin/quota.go create mode 100644 routers/api/v1/admin/quota_group.go create mode 100644 routers/api/v1/admin/quota_rule.go create mode 100644 routers/api/v1/admin/repo.go create mode 100644 routers/api/v1/admin/runners.go create mode 100644 routers/api/v1/admin/user.go create mode 100644 routers/api/v1/api.go create mode 100644 routers/api/v1/misc/gitignore.go create mode 100644 routers/api/v1/misc/label_templates.go create mode 100644 routers/api/v1/misc/licenses.go create mode 100644 routers/api/v1/misc/markup.go create mode 100644 routers/api/v1/misc/markup_test.go create mode 100644 routers/api/v1/misc/nodeinfo.go create mode 100644 routers/api/v1/misc/signing.go create mode 100644 routers/api/v1/misc/version.go create mode 100644 routers/api/v1/notify/notifications.go create mode 100644 routers/api/v1/notify/repo.go create mode 100644 routers/api/v1/notify/threads.go create mode 100644 routers/api/v1/notify/user.go create mode 100644 routers/api/v1/org/action.go create mode 100644 routers/api/v1/org/avatar.go create mode 100644 routers/api/v1/org/hook.go create mode 100644 routers/api/v1/org/label.go create mode 100644 routers/api/v1/org/member.go create mode 100644 routers/api/v1/org/org.go create mode 100644 routers/api/v1/org/quota.go create mode 100644 routers/api/v1/org/team.go create mode 100644 routers/api/v1/packages/package.go create mode 100644 routers/api/v1/repo/action.go create mode 100644 routers/api/v1/repo/avatar.go create mode 100644 routers/api/v1/repo/blob.go create mode 100644 routers/api/v1/repo/branch.go create mode 100644 routers/api/v1/repo/collaborators.go create mode 100644 routers/api/v1/repo/commits.go create mode 100644 routers/api/v1/repo/compare.go create mode 100644 routers/api/v1/repo/file.go create mode 100644 routers/api/v1/repo/flags.go create mode 100644 routers/api/v1/repo/fork.go create mode 100644 routers/api/v1/repo/git_hook.go create mode 100644 routers/api/v1/repo/git_ref.go create mode 100644 routers/api/v1/repo/hook.go create mode 100644 routers/api/v1/repo/hook_test.go create mode 100644 routers/api/v1/repo/issue.go create mode 100644 routers/api/v1/repo/issue_attachment.go create mode 100644 routers/api/v1/repo/issue_comment.go create mode 100644 routers/api/v1/repo/issue_comment_attachment.go create mode 100644 routers/api/v1/repo/issue_dependency.go create mode 100644 routers/api/v1/repo/issue_label.go create mode 100644 routers/api/v1/repo/issue_pin.go create mode 100644 routers/api/v1/repo/issue_reaction.go create mode 100644 routers/api/v1/repo/issue_stopwatch.go create mode 100644 routers/api/v1/repo/issue_subscription.go create mode 100644 routers/api/v1/repo/issue_tracked_time.go create mode 100644 routers/api/v1/repo/key.go create mode 100644 routers/api/v1/repo/label.go create mode 100644 routers/api/v1/repo/language.go create mode 100644 routers/api/v1/repo/main_test.go create mode 100644 routers/api/v1/repo/migrate.go create mode 100644 routers/api/v1/repo/milestone.go create mode 100644 routers/api/v1/repo/mirror.go create mode 100644 routers/api/v1/repo/notes.go create mode 100644 routers/api/v1/repo/patch.go create mode 100644 routers/api/v1/repo/pull.go create mode 100644 routers/api/v1/repo/pull_review.go create mode 100644 routers/api/v1/repo/release.go create mode 100644 routers/api/v1/repo/release_attachment.go create mode 100644 routers/api/v1/repo/release_tags.go create mode 100644 routers/api/v1/repo/repo.go create mode 100644 routers/api/v1/repo/repo_test.go create mode 100644 routers/api/v1/repo/star.go create mode 100644 routers/api/v1/repo/status.go create mode 100644 routers/api/v1/repo/subscriber.go create mode 100644 routers/api/v1/repo/tag.go create mode 100644 routers/api/v1/repo/teams.go create mode 100644 routers/api/v1/repo/topic.go create mode 100644 routers/api/v1/repo/transfer.go create mode 100644 routers/api/v1/repo/tree.go create mode 100644 routers/api/v1/repo/wiki.go create mode 100644 routers/api/v1/settings/settings.go create mode 100644 routers/api/v1/shared/quota.go create mode 100644 routers/api/v1/shared/runners.go create mode 100644 routers/api/v1/swagger/action.go create mode 100644 routers/api/v1/swagger/activity.go create mode 100644 routers/api/v1/swagger/activitypub.go create mode 100644 routers/api/v1/swagger/app.go create mode 100644 routers/api/v1/swagger/cron.go create mode 100644 routers/api/v1/swagger/issue.go create mode 100644 routers/api/v1/swagger/key.go create mode 100644 routers/api/v1/swagger/misc.go create mode 100644 routers/api/v1/swagger/nodeinfo.go create mode 100644 routers/api/v1/swagger/notify.go create mode 100644 routers/api/v1/swagger/options.go create mode 100644 routers/api/v1/swagger/org.go create mode 100644 routers/api/v1/swagger/package.go create mode 100644 routers/api/v1/swagger/quota.go create mode 100644 routers/api/v1/swagger/repo.go create mode 100644 routers/api/v1/swagger/settings.go create mode 100644 routers/api/v1/swagger/user.go create mode 100644 routers/api/v1/user/action.go create mode 100644 routers/api/v1/user/app.go create mode 100644 routers/api/v1/user/avatar.go create mode 100644 routers/api/v1/user/email.go create mode 100644 routers/api/v1/user/follower.go create mode 100644 routers/api/v1/user/gpg_key.go create mode 100644 routers/api/v1/user/helper.go create mode 100644 routers/api/v1/user/hook.go create mode 100644 routers/api/v1/user/key.go create mode 100644 routers/api/v1/user/quota.go create mode 100644 routers/api/v1/user/repo.go create mode 100644 routers/api/v1/user/runners.go create mode 100644 routers/api/v1/user/settings.go create mode 100644 routers/api/v1/user/star.go create mode 100644 routers/api/v1/user/user.go create mode 100644 routers/api/v1/user/watch.go create mode 100644 routers/api/v1/utils/block.go create mode 100644 routers/api/v1/utils/git.go create mode 100644 routers/api/v1/utils/hook.go create mode 100644 routers/api/v1/utils/page.go create mode 100644 routers/common/auth.go create mode 100644 routers/common/compare.go create mode 100644 routers/common/db.go create mode 100644 routers/common/errpage.go create mode 100644 routers/common/errpage_test.go create mode 100644 routers/common/markup.go create mode 100644 routers/common/middleware.go create mode 100644 routers/common/middleware_test.go create mode 100644 routers/common/redirect.go create mode 100644 routers/common/serve.go create mode 100644 routers/init.go create mode 100644 routers/install/install.go create mode 100644 routers/install/routes.go create mode 100644 routers/install/routes_test.go create mode 100644 routers/private/actions.go create mode 100644 routers/private/default_branch.go create mode 100644 routers/private/hook_post_receive.go create mode 100644 routers/private/hook_post_receive_test.go create mode 100644 routers/private/hook_pre_receive.go create mode 100644 routers/private/hook_proc_receive.go create mode 100644 routers/private/hook_verification.go create mode 100644 routers/private/hook_verification_test.go create mode 100644 routers/private/internal.go create mode 100644 routers/private/internal_repo.go create mode 100644 routers/private/key.go create mode 100644 routers/private/mail.go create mode 100644 routers/private/main_test.go create mode 100644 routers/private/manager.go create mode 100644 routers/private/manager_process.go create mode 100644 routers/private/manager_unix.go create mode 100644 routers/private/manager_windows.go create mode 100644 routers/private/restore_repo.go create mode 100644 routers/private/serv.go create mode 100644 routers/private/ssh_log.go create mode 100644 routers/private/tests/repos/repo1_hook_verification/HEAD create mode 100644 routers/private/tests/repos/repo1_hook_verification/config create mode 100644 routers/private/tests/repos/repo1_hook_verification/info/refs create mode 100644 routers/private/tests/repos/repo1_hook_verification/logs/HEAD create mode 100644 routers/private/tests/repos/repo1_hook_verification/logs/refs/heads/main create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/08/cbc8f0e903b0916025ae7577564b7ed39ecb2c create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/0b/5987362fe3fabdd4406babdc819642ee2f5a2a create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/13/b0f23f673b161f4b5cb66f051cb93c99729e1e create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/23/33a51fdb238b7023a62ae3dcc58994061a7c86 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/2b/df04adb23d2b40b6085efb230856e5e2a775b7 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/65/a457425a679cbe9adf0d2741785d3ceabb44a7 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/72/920278f2f999e3005801e5d5b8ab8139d3641c create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/8b/903ede7c494725624bf842ec890f6342dababd create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/93/eac826f6188f34646cea81bf426aa5ba7d3bfe create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/97/79d17a04f1e2640583d35703c62460b2d86e0a create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/9c/e3f779ae33f31fce17fac3c512047b75d7498b create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/a9/f76e70a663e40091749a97eeac5f57a6fec141 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/ba/0caedd359ebe310ef431335576e20f2b84e9b9 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/bb/87653e0819460e79b5f075f2563f583cbbf18c create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/cb/a4c30c196a0e03e7bdf6eeb8393d14b9d073aa create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/d7/66f2917716d45be24bfa968b8409544941be32 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/e3/7e5d19823e42fad252f6341b1f77a7bc6ee451 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/e8/4e452c3a20c02dee17ec2f63c0cb9ef6c759eb create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/info/packs create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/08/cbc8f0e903b0916025ae7577564b7ed39ecb2c create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/0b/5987362fe3fabdd4406babdc819642ee2f5a2a create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/13/b0f23f673b161f4b5cb66f051cb93c99729e1e create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/23/33a51fdb238b7023a62ae3dcc58994061a7c86 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/8b/903ede7c494725624bf842ec890f6342dababd create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/93/eac826f6188f34646cea81bf426aa5ba7d3bfe create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/9c/e3f779ae33f31fce17fac3c512047b75d7498b create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/a9/f76e70a663e40091749a97eeac5f57a6fec141 create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/bb/87653e0819460e79b5f075f2563f583cbbf18c create mode 100644 routers/private/tests/repos/repo1_hook_verification/objects/tmp_objdir-incoming-a21648/cb/a4c30c196a0e03e7bdf6eeb8393d14b9d073aa create mode 100644 routers/private/tests/repos/repo1_hook_verification/refs/heads/main create mode 100644 routers/private/tests/repos/repo1_hook_verification_dummy_gpg_key.txt create mode 100644 routers/utils/utils.go create mode 100644 routers/utils/utils_test.go create mode 100644 routers/web/admin/admin.go create mode 100644 routers/web/admin/admin_test.go create mode 100644 routers/web/admin/applications.go create mode 100644 routers/web/admin/auths.go create mode 100644 routers/web/admin/config.go create mode 100644 routers/web/admin/diagnosis.go create mode 100644 routers/web/admin/emails.go create mode 100644 routers/web/admin/hooks.go create mode 100644 routers/web/admin/main_test.go create mode 100644 routers/web/admin/notice.go create mode 100644 routers/web/admin/orgs.go create mode 100644 routers/web/admin/packages.go create mode 100644 routers/web/admin/queue.go create mode 100644 routers/web/admin/queue_tester.go create mode 100644 routers/web/admin/repos.go create mode 100644 routers/web/admin/runners.go create mode 100644 routers/web/admin/stacktrace.go create mode 100644 routers/web/admin/users.go create mode 100644 routers/web/admin/users_test.go create mode 100644 routers/web/auth/2fa.go create mode 100644 routers/web/auth/auth.go create mode 100644 routers/web/auth/auth_test.go create mode 100644 routers/web/auth/linkaccount.go create mode 100644 routers/web/auth/main_test.go create mode 100644 routers/web/auth/oauth.go create mode 100644 routers/web/auth/oauth_test.go create mode 100644 routers/web/auth/openid.go create mode 100644 routers/web/auth/password.go create mode 100644 routers/web/auth/webauthn.go create mode 100644 routers/web/base.go create mode 100644 routers/web/devtest/devtest.go create mode 100644 routers/web/events/events.go create mode 100644 routers/web/explore/code.go create mode 100644 routers/web/explore/org.go create mode 100644 routers/web/explore/repo.go create mode 100644 routers/web/explore/topic.go create mode 100644 routers/web/explore/user.go create mode 100644 routers/web/feed/branch.go create mode 100644 routers/web/feed/convert.go create mode 100644 routers/web/feed/file.go create mode 100644 routers/web/feed/profile.go create mode 100644 routers/web/feed/release.go create mode 100644 routers/web/feed/render.go create mode 100644 routers/web/feed/repo.go create mode 100644 routers/web/githttp.go create mode 100644 routers/web/goget.go create mode 100644 routers/web/healthcheck/check.go create mode 100644 routers/web/home.go create mode 100644 routers/web/metrics.go create mode 100644 routers/web/misc/markup.go create mode 100644 routers/web/misc/misc.go create mode 100644 routers/web/misc/swagger-forgejo.go create mode 100644 routers/web/misc/swagger.go create mode 100644 routers/web/nodeinfo.go create mode 100644 routers/web/org/home.go create mode 100644 routers/web/org/main_test.go create mode 100644 routers/web/org/members.go create mode 100644 routers/web/org/org.go create mode 100644 routers/web/org/org_labels.go create mode 100644 routers/web/org/projects.go create mode 100644 routers/web/org/projects_test.go create mode 100644 routers/web/org/setting.go create mode 100644 routers/web/org/setting/blocked_users.go create mode 100644 routers/web/org/setting/runners.go create mode 100644 routers/web/org/setting_oauth2.go create mode 100644 routers/web/org/setting_packages.go create mode 100644 routers/web/org/teams.go create mode 100644 routers/web/repo/actions/actions.go create mode 100644 routers/web/repo/actions/manual.go create mode 100644 routers/web/repo/actions/view.go create mode 100644 routers/web/repo/activity.go create mode 100644 routers/web/repo/attachment.go create mode 100644 routers/web/repo/badges/badges.go create mode 100644 routers/web/repo/blame.go create mode 100644 routers/web/repo/branch.go create mode 100644 routers/web/repo/cherry_pick.go create mode 100644 routers/web/repo/code_frequency.go create mode 100644 routers/web/repo/commit.go create mode 100644 routers/web/repo/compare.go create mode 100644 routers/web/repo/contributors.go create mode 100644 routers/web/repo/download.go create mode 100644 routers/web/repo/editor.go create mode 100644 routers/web/repo/editor_test.go create mode 100644 routers/web/repo/find.go create mode 100644 routers/web/repo/flags/manage.go create mode 100644 routers/web/repo/githttp.go create mode 100644 routers/web/repo/githttp_test.go create mode 100644 routers/web/repo/helper.go create mode 100644 routers/web/repo/helper_test.go create mode 100644 routers/web/repo/issue.go create mode 100644 routers/web/repo/issue_content_history.go create mode 100644 routers/web/repo/issue_dependency.go create mode 100644 routers/web/repo/issue_label.go create mode 100644 routers/web/repo/issue_label_test.go create mode 100644 routers/web/repo/issue_lock.go create mode 100644 routers/web/repo/issue_pin.go create mode 100644 routers/web/repo/issue_stopwatch.go create mode 100644 routers/web/repo/issue_test.go create mode 100644 routers/web/repo/issue_timetrack.go create mode 100644 routers/web/repo/issue_watch.go create mode 100644 routers/web/repo/main_test.go create mode 100644 routers/web/repo/middlewares.go create mode 100644 routers/web/repo/migrate.go create mode 100644 routers/web/repo/milestone.go create mode 100644 routers/web/repo/packages.go create mode 100644 routers/web/repo/patch.go create mode 100644 routers/web/repo/projects.go create mode 100644 routers/web/repo/projects_test.go create mode 100644 routers/web/repo/pull.go create mode 100644 routers/web/repo/pull_review.go create mode 100644 routers/web/repo/pull_review_test.go create mode 100644 routers/web/repo/recent_commits.go create mode 100644 routers/web/repo/release.go create mode 100644 routers/web/repo/release_test.go create mode 100644 routers/web/repo/render.go create mode 100644 routers/web/repo/repo.go create mode 100644 routers/web/repo/search.go create mode 100644 routers/web/repo/setting/avatar.go create mode 100644 routers/web/repo/setting/collaboration.go create mode 100644 routers/web/repo/setting/default_branch.go create mode 100644 routers/web/repo/setting/deploy_key.go create mode 100644 routers/web/repo/setting/git_hooks.go create mode 100644 routers/web/repo/setting/lfs.go create mode 100644 routers/web/repo/setting/main_test.go create mode 100644 routers/web/repo/setting/protected_branch.go create mode 100644 routers/web/repo/setting/protected_tag.go create mode 100644 routers/web/repo/setting/runners.go create mode 100644 routers/web/repo/setting/secrets.go create mode 100644 routers/web/repo/setting/setting.go create mode 100644 routers/web/repo/setting/settings_test.go create mode 100644 routers/web/repo/setting/variables.go create mode 100644 routers/web/repo/setting/webhook.go create mode 100644 routers/web/repo/topic.go create mode 100644 routers/web/repo/treelist.go create mode 100644 routers/web/repo/view.go create mode 100644 routers/web/repo/view_test.go create mode 100644 routers/web/repo/wiki.go create mode 100644 routers/web/repo/wiki_test.go create mode 100644 routers/web/shared/actions/runners.go create mode 100644 routers/web/shared/actions/variables.go create mode 100644 routers/web/shared/packages/packages.go create mode 100644 routers/web/shared/project/column.go create mode 100644 routers/web/shared/secrets/secrets.go create mode 100644 routers/web/shared/user/header.go create mode 100644 routers/web/swagger_json.go create mode 100644 routers/web/user/avatar.go create mode 100644 routers/web/user/code.go create mode 100644 routers/web/user/home.go create mode 100644 routers/web/user/home_test.go create mode 100644 routers/web/user/main_test.go create mode 100644 routers/web/user/notification.go create mode 100644 routers/web/user/package.go create mode 100644 routers/web/user/profile.go create mode 100644 routers/web/user/search.go create mode 100644 routers/web/user/setting/account.go create mode 100644 routers/web/user/setting/account_test.go create mode 100644 routers/web/user/setting/adopt.go create mode 100644 routers/web/user/setting/applications.go create mode 100644 routers/web/user/setting/blocked_users.go create mode 100644 routers/web/user/setting/keys.go create mode 100644 routers/web/user/setting/main_test.go create mode 100644 routers/web/user/setting/oauth2.go create mode 100644 routers/web/user/setting/oauth2_common.go create mode 100644 routers/web/user/setting/packages.go create mode 100644 routers/web/user/setting/profile.go create mode 100644 routers/web/user/setting/runner.go create mode 100644 routers/web/user/setting/security/2fa.go create mode 100644 routers/web/user/setting/security/openid.go create mode 100644 routers/web/user/setting/security/security.go create mode 100644 routers/web/user/setting/security/webauthn.go create mode 100644 routers/web/user/setting/webhooks.go create mode 100644 routers/web/user/stop_watch.go create mode 100644 routers/web/user/task.go create mode 100644 routers/web/web.go create mode 100644 routers/web/webfinger.go create mode 100644 services/actions/auth.go create mode 100644 services/actions/auth_test.go create mode 100644 services/actions/cleanup.go create mode 100644 services/actions/cleanup_test.go create mode 100644 services/actions/clear_tasks.go create mode 100644 services/actions/commit_status.go create mode 100644 services/actions/init.go create mode 100644 services/actions/interface.go create mode 100644 services/actions/job_emitter.go create mode 100644 services/actions/job_emitter_test.go create mode 100644 services/actions/main_test.go create mode 100644 services/actions/notifier.go create mode 100644 services/actions/notifier_helper.go create mode 100644 services/actions/notifier_helper_test.go create mode 100644 services/actions/rerun.go create mode 100644 services/actions/rerun_test.go create mode 100644 services/actions/schedule_tasks.go create mode 100644 services/actions/variables.go create mode 100644 services/actions/workflows.go create mode 100644 services/agit/agit.go create mode 100644 services/asymkey/deploy_key.go create mode 100644 services/asymkey/main_test.go create mode 100644 services/asymkey/sign.go create mode 100644 services/asymkey/ssh_key.go create mode 100644 services/asymkey/ssh_key_test.go create mode 100644 services/attachment/attachment.go create mode 100644 services/attachment/attachment_test.go create mode 100644 services/auth/additional_scopes_test.go create mode 100644 services/auth/auth.go create mode 100644 services/auth/auth_test.go create mode 100644 services/auth/basic.go create mode 100644 services/auth/group.go create mode 100644 services/auth/httpsign.go create mode 100644 services/auth/interface.go create mode 100644 services/auth/main_test.go create mode 100644 services/auth/oauth2.go create mode 100644 services/auth/oauth2_test.go create mode 100644 services/auth/reverseproxy.go create mode 100644 services/auth/reverseproxy_test.go create mode 100644 services/auth/session.go create mode 100644 services/auth/signin.go create mode 100644 services/auth/source.go create mode 100644 services/auth/source/db/assert_interface_test.go create mode 100644 services/auth/source/db/authenticate.go create mode 100644 services/auth/source/db/source.go create mode 100644 services/auth/source/ldap/README.md create mode 100644 services/auth/source/ldap/assert_interface_test.go create mode 100644 services/auth/source/ldap/security_protocol.go create mode 100644 services/auth/source/ldap/source.go create mode 100644 services/auth/source/ldap/source_authenticate.go create mode 100644 services/auth/source/ldap/source_search.go create mode 100644 services/auth/source/ldap/source_sync.go create mode 100644 services/auth/source/ldap/util.go create mode 100644 services/auth/source/oauth2/assert_interface_test.go create mode 100644 services/auth/source/oauth2/init.go create mode 100644 services/auth/source/oauth2/jwtsigningkey.go create mode 100644 services/auth/source/oauth2/jwtsigningkey_test.go create mode 100644 services/auth/source/oauth2/providers.go create mode 100644 services/auth/source/oauth2/providers_base.go create mode 100644 services/auth/source/oauth2/providers_custom.go create mode 100644 services/auth/source/oauth2/providers_openid.go create mode 100644 services/auth/source/oauth2/providers_simple.go create mode 100644 services/auth/source/oauth2/source.go create mode 100644 services/auth/source/oauth2/source_authenticate.go create mode 100644 services/auth/source/oauth2/source_callout.go create mode 100644 services/auth/source/oauth2/source_name.go create mode 100644 services/auth/source/oauth2/source_register.go create mode 100644 services/auth/source/oauth2/store.go create mode 100644 services/auth/source/oauth2/token.go create mode 100644 services/auth/source/oauth2/urlmapping.go create mode 100644 services/auth/source/pam/assert_interface_test.go create mode 100644 services/auth/source/pam/source.go create mode 100644 services/auth/source/pam/source_authenticate.go create mode 100644 services/auth/source/remote/source.go create mode 100644 services/auth/source/smtp/assert_interface_test.go create mode 100644 services/auth/source/smtp/auth.go create mode 100644 services/auth/source/smtp/source.go create mode 100644 services/auth/source/smtp/source_authenticate.go create mode 100644 services/auth/source/source_group_sync.go create mode 100644 services/auth/source/sspi/assert_interface_test.go create mode 100644 services/auth/source/sspi/source.go create mode 100644 services/auth/sspi.go create mode 100644 services/auth/sspiauth_posix.go create mode 100644 services/auth/sspiauth_windows.go create mode 100644 services/auth/sync.go create mode 100644 services/automerge/automerge.go create mode 100644 services/automerge/notify.go create mode 100644 services/context/access_log.go create mode 100644 services/context/api.go create mode 100644 services/context/api_org.go create mode 100644 services/context/api_test.go create mode 100644 services/context/base.go create mode 100644 services/context/base_test.go create mode 100644 services/context/captcha.go create mode 100644 services/context/context.go create mode 100644 services/context/context_cookie.go create mode 100644 services/context/context_model.go create mode 100644 services/context/context_request.go create mode 100644 services/context/context_response.go create mode 100644 services/context/context_template.go create mode 100644 services/context/context_test.go create mode 100644 services/context/csrf.go create mode 100644 services/context/org.go create mode 100644 services/context/package.go create mode 100644 services/context/pagination.go create mode 100644 services/context/permission.go create mode 100644 services/context/private.go create mode 100644 services/context/quota.go create mode 100644 services/context/repo.go create mode 100644 services/context/repository.go create mode 100644 services/context/response.go create mode 100644 services/context/upload/upload.go create mode 100644 services/context/upload/upload_test.go create mode 100644 services/context/user.go create mode 100644 services/context/utils.go create mode 100644 services/context/xsrf.go create mode 100644 services/context/xsrf_test.go create mode 100644 services/contexttest/context_tests.go create mode 100644 services/convert/activity.go create mode 100644 services/convert/attachment.go create mode 100644 services/convert/convert.go create mode 100644 services/convert/git_commit.go create mode 100644 services/convert/git_commit_test.go create mode 100644 services/convert/issue.go create mode 100644 services/convert/issue_comment.go create mode 100644 services/convert/issue_test.go create mode 100644 services/convert/main_test.go create mode 100644 services/convert/mirror.go create mode 100644 services/convert/notification.go create mode 100644 services/convert/package.go create mode 100644 services/convert/pull.go create mode 100644 services/convert/pull_review.go create mode 100644 services/convert/pull_test.go create mode 100644 services/convert/quota.go create mode 100644 services/convert/release.go create mode 100644 services/convert/release_test.go create mode 100644 services/convert/repository.go create mode 100644 services/convert/secret.go create mode 100644 services/convert/status.go create mode 100644 services/convert/user.go create mode 100644 services/convert/user_test.go create mode 100644 services/convert/utils.go create mode 100644 services/convert/utils_test.go create mode 100644 services/convert/wiki.go create mode 100644 services/cron/cron.go create mode 100644 services/cron/setting.go create mode 100644 services/cron/tasks.go create mode 100644 services/cron/tasks_actions.go create mode 100644 services/cron/tasks_basic.go create mode 100644 services/cron/tasks_extended.go create mode 100644 services/cron/tasks_test.go create mode 100644 services/doctor/authorizedkeys.go create mode 100644 services/doctor/breaking.go create mode 100644 services/doctor/checkOldArchives.go create mode 100644 services/doctor/dbconsistency.go create mode 100644 services/doctor/dbversion.go create mode 100644 services/doctor/doctor.go create mode 100644 services/doctor/fix16961.go create mode 100644 services/doctor/fix16961_test.go create mode 100644 services/doctor/fix8312.go create mode 100644 services/doctor/heads.go create mode 100644 services/doctor/lfs.go create mode 100644 services/doctor/mergebase.go create mode 100644 services/doctor/misc.go create mode 100644 services/doctor/packages_nuget.go create mode 100644 services/doctor/paths.go create mode 100644 services/doctor/push_mirror_consistency.go create mode 100644 services/doctor/repository.go create mode 100644 services/doctor/storage.go create mode 100644 services/doctor/usertype.go create mode 100644 services/externalaccount/link.go create mode 100644 services/externalaccount/user.go create mode 100644 services/f3/driver/asset.go create mode 100644 services/f3/driver/assets.go create mode 100644 services/f3/driver/comment.go create mode 100644 services/f3/driver/comments.go create mode 100644 services/f3/driver/common.go create mode 100644 services/f3/driver/container.go create mode 100644 services/f3/driver/forge.go create mode 100644 services/f3/driver/issue.go create mode 100644 services/f3/driver/issues.go create mode 100644 services/f3/driver/label.go create mode 100644 services/f3/driver/labels.go create mode 100644 services/f3/driver/main.go create mode 100644 services/f3/driver/main_test.go create mode 100644 services/f3/driver/milestone.go create mode 100644 services/f3/driver/milestones.go create mode 100644 services/f3/driver/options.go create mode 100644 services/f3/driver/options/name.go create mode 100644 services/f3/driver/options/options.go create mode 100644 services/f3/driver/organization.go create mode 100644 services/f3/driver/organizations.go create mode 100644 services/f3/driver/project.go create mode 100644 services/f3/driver/projects.go create mode 100644 services/f3/driver/pullrequest.go create mode 100644 services/f3/driver/pullrequests.go create mode 100644 services/f3/driver/reaction.go create mode 100644 services/f3/driver/reactions.go create mode 100644 services/f3/driver/release.go create mode 100644 services/f3/driver/releases.go create mode 100644 services/f3/driver/repositories.go create mode 100644 services/f3/driver/repository.go create mode 100644 services/f3/driver/review.go create mode 100644 services/f3/driver/reviewcomment.go create mode 100644 services/f3/driver/reviewcomments.go create mode 100644 services/f3/driver/reviews.go create mode 100644 services/f3/driver/root.go create mode 100644 services/f3/driver/tests/init.go create mode 100644 services/f3/driver/tests/new.go create mode 100644 services/f3/driver/tests/options.go create mode 100644 services/f3/driver/topic.go create mode 100644 services/f3/driver/topics.go create mode 100644 services/f3/driver/tree.go create mode 100644 services/f3/driver/user.go create mode 100644 services/f3/driver/users.go create mode 100644 services/f3/util/logger.go create mode 100644 services/f3/util/logger_test.go create mode 100644 services/federation/federation_service.go create mode 100644 services/feed/action.go create mode 100644 services/feed/action_test.go create mode 100644 services/forgejo/main_test.go create mode 100644 services/forgejo/sanity.go create mode 100644 services/forgejo/sanity_test.go create mode 100644 services/forgejo/sanity_v1TOv5_0_1Included.go create mode 100644 services/forgejo/sanity_v1TOv5_0_1Included_test.go create mode 100644 services/forms/admin.go create mode 100644 services/forms/auth_form.go create mode 100644 services/forms/org.go create mode 100644 services/forms/package_form.go create mode 100644 services/forms/repo_branch_form.go create mode 100644 services/forms/repo_form.go create mode 100644 services/forms/repo_form_test.go create mode 100644 services/forms/repo_tag_form.go create mode 100644 services/forms/runner.go create mode 100644 services/forms/user_form.go create mode 100644 services/forms/user_form_auth_openid.go create mode 100644 services/forms/user_form_hidden_comments.go create mode 100644 services/forms/user_form_test.go create mode 100644 services/gitdiff/csv.go create mode 100644 services/gitdiff/csv_test.go create mode 100644 services/gitdiff/gitdiff.go create mode 100644 services/gitdiff/gitdiff_test.go create mode 100644 services/gitdiff/highlightdiff.go create mode 100644 services/gitdiff/highlightdiff_test.go create mode 100644 services/gitdiff/main_test.go create mode 100644 services/gitdiff/testdata/academic-module/HEAD create mode 100644 services/gitdiff/testdata/academic-module/config create mode 100644 services/gitdiff/testdata/academic-module/description create mode 100644 services/gitdiff/testdata/academic-module/index create mode 100644 services/gitdiff/testdata/academic-module/info/exclude create mode 100644 services/gitdiff/testdata/academic-module/logs/HEAD create mode 100644 services/gitdiff/testdata/academic-module/logs/refs/heads/master create mode 100644 services/gitdiff/testdata/academic-module/logs/refs/remotes/origin/HEAD create mode 100644 services/gitdiff/testdata/academic-module/objects/pack/pack-597efbc3613c7ba790e33b178fd9fc1fe17b4245.idx create mode 100644 services/gitdiff/testdata/academic-module/objects/pack/pack-597efbc3613c7ba790e33b178fd9fc1fe17b4245.pack create mode 100644 services/gitdiff/testdata/academic-module/packed-refs create mode 100644 services/gitdiff/testdata/academic-module/refs/heads/master create mode 100644 services/gitdiff/testdata/academic-module/refs/remotes/origin/HEAD create mode 100644 services/indexer/indexer.go create mode 100644 services/indexer/notify.go create mode 100644 services/issue/assignee.go create mode 100644 services/issue/assignee_test.go create mode 100644 services/issue/comments.go create mode 100644 services/issue/comments_test.go create mode 100644 services/issue/commit.go create mode 100644 services/issue/commit_test.go create mode 100644 services/issue/content.go create mode 100644 services/issue/issue.go create mode 100644 services/issue/issue_test.go create mode 100644 services/issue/label.go create mode 100644 services/issue/label_test.go create mode 100644 services/issue/main_test.go create mode 100644 services/issue/milestone.go create mode 100644 services/issue/milestone_test.go create mode 100644 services/issue/pull.go create mode 100644 services/issue/reaction.go create mode 100644 services/issue/status.go create mode 100644 services/issue/template.go create mode 100644 services/lfs/locks.go create mode 100644 services/lfs/server.go create mode 100644 services/mailer/incoming/incoming.go create mode 100644 services/mailer/incoming/incoming_handler.go create mode 100644 services/mailer/incoming/incoming_test.go create mode 100644 services/mailer/incoming/payload/payload.go create mode 100644 services/mailer/mail.go create mode 100644 services/mailer/mail_admin_new_user.go create mode 100644 services/mailer/mail_admin_new_user_test.go create mode 100644 services/mailer/mail_auth_test.go create mode 100644 services/mailer/mail_comment.go create mode 100644 services/mailer/mail_issue.go create mode 100644 services/mailer/mail_release.go create mode 100644 services/mailer/mail_repo.go create mode 100644 services/mailer/mail_team_invite.go create mode 100644 services/mailer/mail_test.go create mode 100644 services/mailer/mailer.go create mode 100644 services/mailer/mailer_test.go create mode 100644 services/mailer/main_test.go create mode 100644 services/mailer/notify.go create mode 100644 services/mailer/token/token.go create mode 100644 services/markup/main_test.go create mode 100644 services/markup/processorhelper.go create mode 100644 services/markup/processorhelper_test.go create mode 100644 services/migrations/codebase.go create mode 100644 services/migrations/codebase_test.go create mode 100644 services/migrations/common.go create mode 100644 services/migrations/dump.go create mode 100644 services/migrations/error.go create mode 100644 services/migrations/forgejo_downloader.go create mode 100644 services/migrations/forgejo_downloader_test.go create mode 100644 services/migrations/git.go create mode 100644 services/migrations/gitbucket.go create mode 100644 services/migrations/gitea_downloader.go create mode 100644 services/migrations/gitea_downloader_test.go create mode 100644 services/migrations/gitea_uploader.go create mode 100644 services/migrations/gitea_uploader_test.go create mode 100644 services/migrations/github.go create mode 100644 services/migrations/github_test.go create mode 100644 services/migrations/gitlab.go create mode 100644 services/migrations/gitlab_test.go create mode 100644 services/migrations/gogs.go create mode 100644 services/migrations/gogs_test.go create mode 100644 services/migrations/http_client.go create mode 100644 services/migrations/main_test.go create mode 100644 services/migrations/migrate.go create mode 100644 services/migrations/migrate_test.go create mode 100644 services/migrations/onedev.go create mode 100644 services/migrations/onedev_test.go create mode 100644 services/migrations/restore.go create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fissues%2F1%2Faward_emoji%3Fpage=1&per_page=2 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fissues%2F1%2Faward_emoji%3Fpage=2&per_page=2 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fissues%2F2%2Faward_emoji%3Fpage=1&per_page=2 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fissues%2F2%2Faward_emoji%3Fpage=2&per_page=2 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fissues%2F2%2Faward_emoji%3Fpage=3&per_page=2 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fissues%2F2%2Faward_emoji%3Fpage=4&per_page=2 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fissues%2F2%2Fdiscussions%3Fpage=1&per_page=100 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fissues%2F2%2Fresource_state_events%3Fpage=1&per_page=100 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fissues%3Fpage=1&per_page=2&sort=asc&state=all create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Flabels%3Fpage=1&per_page=100 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fmerge_requests%2F1 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fmerge_requests%2F1%2Fapprovals create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fmerge_requests%2F1%2Faward_emoji%3Fpage=1&per_page=1 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fmerge_requests%2F1%2Faward_emoji%3Fpage=2&per_page=1 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fmerge_requests%2F1%2Faward_emoji%3Fpage=3&per_page=1 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fmerge_requests%2F2%2Fapprovals create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fmerge_requests%3Fpage=1&per_page=1&view=simple create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Fmilestones%3Fpage=1&per_page=100&state=all create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F61363672%2Freleases%3Fpage=1&per_page=100 create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2Fforgejo%252Ftest_repo create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2Fgitea%252Ftest_repo create mode 100644 services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fversion create mode 100644 services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996 create mode 100644 services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fissues%2F2%2Faward_emoji%3Fpage=1&per_page=10 create mode 100644 services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fissues%3Fpage=1&per_page=10&sort=asc&state=all create mode 100644 services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%2F1 create mode 100644 services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%2F1%2Faward_emoji%3Fpage=1&per_page=10 create mode 100644 services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%3Fpage=1&per_page=10&view=simple create mode 100644 services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2Ftroyengel%252Farchbuild create mode 100644 services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fversion create mode 100644 services/migrations/update.go create mode 100644 services/mirror/mirror.go create mode 100644 services/mirror/mirror_pull.go create mode 100644 services/mirror/mirror_push.go create mode 100644 services/mirror/mirror_test.go create mode 100644 services/mirror/notifier.go create mode 100644 services/mirror/queue.go create mode 100644 services/notify/notifier.go create mode 100644 services/notify/notify.go create mode 100644 services/notify/null.go create mode 100644 services/org/org.go create mode 100644 services/org/org_test.go create mode 100644 services/org/repo.go create mode 100644 services/org/repo_test.go create mode 100644 services/org/team_invite.go create mode 100644 services/packages/alpine/repository.go create mode 100644 services/packages/arch/repository.go create mode 100644 services/packages/auth.go create mode 100644 services/packages/cargo/index.go create mode 100644 services/packages/cleanup/cleanup.go create mode 100644 services/packages/cleanup/cleanup_sha256_test.go create mode 100644 services/packages/cleanup/main_test.go create mode 100644 services/packages/container/blob_uploader.go create mode 100644 services/packages/container/cleanup.go create mode 100644 services/packages/container/cleanup_sha256.go create mode 100644 services/packages/container/common.go create mode 100644 services/packages/debian/repository.go create mode 100644 services/packages/packages.go create mode 100644 services/packages/rpm/repository.go create mode 100644 services/pull/check.go create mode 100644 services/pull/check_test.go create mode 100644 services/pull/comment.go create mode 100644 services/pull/commit_status.go create mode 100644 services/pull/commit_status_test.go create mode 100644 services/pull/edits.go create mode 100644 services/pull/lfs.go create mode 100644 services/pull/main_test.go create mode 100644 services/pull/merge.go create mode 100644 services/pull/merge_ff_only.go create mode 100644 services/pull/merge_merge.go create mode 100644 services/pull/merge_prepare.go create mode 100644 services/pull/merge_rebase.go create mode 100644 services/pull/merge_squash.go create mode 100644 services/pull/merge_test.go create mode 100644 services/pull/patch.go create mode 100644 services/pull/patch_unmerged.go create mode 100644 services/pull/pull.go create mode 100644 services/pull/pull_test.go create mode 100644 services/pull/review.go create mode 100644 services/pull/review_test.go create mode 100644 services/pull/temp_repo.go create mode 100644 services/pull/update.go create mode 100644 services/pull/update_rebase.go create mode 100644 services/release/release.go create mode 100644 services/release/release_test.go create mode 100644 services/release/tag.go create mode 100644 services/remote/promote.go create mode 100644 services/repository/adopt.go create mode 100644 services/repository/adopt_test.go create mode 100644 services/repository/archiver/archiver.go create mode 100644 services/repository/archiver/archiver_test.go create mode 100644 services/repository/avatar.go create mode 100644 services/repository/avatar_test.go create mode 100644 services/repository/branch.go create mode 100644 services/repository/cache.go create mode 100644 services/repository/check.go create mode 100644 services/repository/collaboration.go create mode 100644 services/repository/collaboration_test.go create mode 100644 services/repository/commit.go create mode 100644 services/repository/commitstatus/commitstatus.go create mode 100644 services/repository/contributors_graph.go create mode 100644 services/repository/contributors_graph_test.go create mode 100644 services/repository/create.go create mode 100644 services/repository/create_test.go create mode 100644 services/repository/delete.go create mode 100644 services/repository/files/cherry_pick.go create mode 100644 services/repository/files/commit.go create mode 100644 services/repository/files/content.go create mode 100644 services/repository/files/content_test.go create mode 100644 services/repository/files/diff.go create mode 100644 services/repository/files/diff_test.go create mode 100644 services/repository/files/file.go create mode 100644 services/repository/files/file_test.go create mode 100644 services/repository/files/patch.go create mode 100644 services/repository/files/temp_repo.go create mode 100644 services/repository/files/temp_repo_test.go create mode 100644 services/repository/files/tree.go create mode 100644 services/repository/files/tree_test.go create mode 100644 services/repository/files/update.go create mode 100644 services/repository/files/upload.go create mode 100644 services/repository/fork.go create mode 100644 services/repository/fork_test.go create mode 100644 services/repository/generate.go create mode 100644 services/repository/generate_test.go create mode 100644 services/repository/hooks.go create mode 100644 services/repository/init.go create mode 100644 services/repository/lfs.go create mode 100644 services/repository/lfs_test.go create mode 100644 services/repository/main_test.go create mode 100644 services/repository/migrate.go create mode 100644 services/repository/push.go create mode 100644 services/repository/repository.go create mode 100644 services/repository/repository_test.go create mode 100644 services/repository/review.go create mode 100644 services/repository/review_test.go create mode 100644 services/repository/setting.go create mode 100644 services/repository/star.go create mode 100644 services/repository/template.go create mode 100644 services/repository/transfer.go create mode 100644 services/repository/transfer_test.go create mode 100644 services/secrets/secrets.go create mode 100644 services/secrets/validation.go create mode 100644 services/task/migrate.go create mode 100644 services/task/task.go create mode 100644 services/uinotification/notify.go create mode 100644 services/user/TestPurgeUser/public_key.yml create mode 100644 services/user/avatar.go create mode 100644 services/user/avatar_test.go create mode 100644 services/user/block.go create mode 100644 services/user/block_test.go create mode 100644 services/user/delete.go create mode 100644 services/user/email.go create mode 100644 services/user/email_test.go create mode 100644 services/user/update.go create mode 100644 services/user/update_test.go create mode 100644 services/user/user.go create mode 100644 services/user/user_test.go create mode 100644 services/webhook/default.go create mode 100644 services/webhook/default_test.go create mode 100644 services/webhook/deliver.go create mode 100644 services/webhook/deliver_test.go create mode 100644 services/webhook/dingtalk.go create mode 100644 services/webhook/dingtalk_test.go create mode 100644 services/webhook/discord.go create mode 100644 services/webhook/discord_test.go create mode 100644 services/webhook/feishu.go create mode 100644 services/webhook/feishu_test.go create mode 100644 services/webhook/general.go create mode 100644 services/webhook/general_test.go create mode 100644 services/webhook/gogs.go create mode 100644 services/webhook/main_test.go create mode 100644 services/webhook/matrix.go create mode 100644 services/webhook/matrix_test.go create mode 100644 services/webhook/msteams.go create mode 100644 services/webhook/msteams_test.go create mode 100644 services/webhook/notifier.go create mode 100644 services/webhook/packagist.go create mode 100644 services/webhook/packagist_test.go create mode 100644 services/webhook/shared/img.go create mode 100644 services/webhook/shared/payloader.go create mode 100644 services/webhook/slack.go create mode 100644 services/webhook/slack_test.go create mode 100644 services/webhook/sourcehut/builds.go create mode 100644 services/webhook/sourcehut/builds_test.go create mode 100644 services/webhook/sourcehut/testdata/repo.git/HEAD create mode 100644 services/webhook/sourcehut/testdata/repo.git/config create mode 100644 services/webhook/sourcehut/testdata/repo.git/description create mode 100644 services/webhook/sourcehut/testdata/repo.git/info/exclude create mode 100644 services/webhook/sourcehut/testdata/repo.git/objects/3c/3d4b799b3933ba687b263eeef2034300a5315e create mode 100644 services/webhook/sourcehut/testdata/repo.git/objects/58/771003157b81abc6bf41df0c5db4147a3e3c83 create mode 100644 services/webhook/sourcehut/testdata/repo.git/objects/69/b217caa89166a02b8cd368b64fb83a44720e14 create mode 100644 services/webhook/sourcehut/testdata/repo.git/objects/99/fb389b232e5497f0dcdb1c1065eac1d10d3794 create mode 100644 services/webhook/sourcehut/testdata/repo.git/objects/9e/4b777f81b316a1c75a0797b33add68ee49b0d0 create mode 100644 services/webhook/sourcehut/testdata/repo.git/objects/a5/4082fdb8e55055382725f10a81bb4dc2b13029 create mode 100644 services/webhook/sourcehut/testdata/repo.git/objects/aa/3905af404394f576f88f00e7f0919b4b97453f create mode 100644 services/webhook/sourcehut/testdata/repo.git/objects/b0/404943256a1f5a50c3726f4378756b4c1e5704 create mode 100644 services/webhook/sourcehut/testdata/repo.git/objects/d2/e0862c8b8097ba4bdd72946c20479751d307a0 create mode 100644 services/webhook/sourcehut/testdata/repo.git/refs/heads/main create mode 100644 services/webhook/telegram.go create mode 100644 services/webhook/telegram_test.go create mode 100644 services/webhook/webhook.go create mode 100644 services/webhook/webhook_test.go create mode 100644 services/webhook/wechatwork.go create mode 100644 services/wiki/wiki.go create mode 100644 services/wiki/wiki_path.go create mode 100644 services/wiki/wiki_test.go create mode 100644 stylelint.config.js create mode 100644 tailwind.config.js create mode 100644 templates/admin/actions.tmpl create mode 100644 templates/admin/applications/list.tmpl create mode 100644 templates/admin/applications/oauth2_edit.tmpl create mode 100644 templates/admin/auth/edit.tmpl create mode 100644 templates/admin/auth/list.tmpl create mode 100644 templates/admin/auth/new.tmpl create mode 100644 templates/admin/auth/source/ldap.tmpl create mode 100644 templates/admin/auth/source/oauth.tmpl create mode 100644 templates/admin/auth/source/smtp.tmpl create mode 100644 templates/admin/auth/source/sspi.tmpl create mode 100644 templates/admin/config.tmpl create mode 100644 templates/admin/config_settings.tmpl create mode 100644 templates/admin/cron.tmpl create mode 100644 templates/admin/dashboard.tmpl create mode 100644 templates/admin/emails/list.tmpl create mode 100644 templates/admin/hook_new.tmpl create mode 100644 templates/admin/hooks.tmpl create mode 100644 templates/admin/layout_footer.tmpl create mode 100644 templates/admin/layout_head.tmpl create mode 100644 templates/admin/navbar.tmpl create mode 100644 templates/admin/notice.tmpl create mode 100644 templates/admin/org/list.tmpl create mode 100644 templates/admin/packages/list.tmpl create mode 100644 templates/admin/queue.tmpl create mode 100644 templates/admin/queue_manage.tmpl create mode 100644 templates/admin/repo/list.tmpl create mode 100644 templates/admin/repo/unadopted.tmpl create mode 100644 templates/admin/runners/edit.tmpl create mode 100644 templates/admin/self_check.tmpl create mode 100644 templates/admin/stacktrace-row.tmpl create mode 100644 templates/admin/stacktrace.tmpl create mode 100644 templates/admin/stats.tmpl create mode 100644 templates/admin/system_status.tmpl create mode 100644 templates/admin/user/edit.tmpl create mode 100644 templates/admin/user/list.tmpl create mode 100644 templates/admin/user/new.tmpl create mode 100644 templates/admin/user/view.tmpl create mode 100644 templates/admin/user/view_details.tmpl create mode 100644 templates/admin/user/view_emails.tmpl create mode 100644 templates/api/packages/pypi/simple.tmpl create mode 100644 templates/base/alert.tmpl create mode 100644 templates/base/alert_details.tmpl create mode 100644 templates/base/disable_form_autofill.tmpl create mode 100644 templates/base/footer.tmpl create mode 100644 templates/base/footer_content.tmpl create mode 100644 templates/base/head.tmpl create mode 100644 templates/base/head_navbar.tmpl create mode 100644 templates/base/head_opengraph.tmpl create mode 100644 templates/base/head_script.tmpl create mode 100644 templates/base/head_style.tmpl create mode 100644 templates/base/modal_actions_confirm.tmpl create mode 100644 templates/base/paginate.tmpl create mode 100644 templates/custom/body_inner_post.tmpl create mode 100644 templates/custom/body_inner_pre.tmpl create mode 100644 templates/custom/body_outer_post.tmpl create mode 100644 templates/custom/body_outer_pre.tmpl create mode 100644 templates/custom/extra_links.tmpl create mode 100644 templates/custom/extra_links_footer.tmpl create mode 100644 templates/custom/extra_tabs.tmpl create mode 100644 templates/custom/footer.tmpl create mode 100644 templates/custom/header.tmpl create mode 100644 templates/custom/repo_flag_banners.tmpl create mode 100644 templates/devtest/fetch-action.tmpl create mode 100644 templates/devtest/flex-list.tmpl create mode 100644 templates/devtest/fomantic-modal.tmpl create mode 100644 templates/devtest/gitea-ui.tmpl create mode 100644 templates/devtest/label.tmpl create mode 100644 templates/devtest/list.tmpl create mode 100644 templates/devtest/tmplerr-sub.tmpl create mode 100644 templates/devtest/tmplerr.tmpl create mode 100644 templates/explore/code.tmpl create mode 100644 templates/explore/navbar.tmpl create mode 100644 templates/explore/repo_list.tmpl create mode 100644 templates/explore/repos.tmpl create mode 100644 templates/explore/search.tmpl create mode 100644 templates/explore/user_list.tmpl create mode 100644 templates/explore/users.tmpl create mode 100644 templates/home.tmpl create mode 100644 templates/htmx/milestone_sidebar.tmpl create mode 100644 templates/install.tmpl create mode 100644 templates/mail/auth/2fa_disabled.tmpl create mode 100644 templates/mail/auth/activate.tmpl create mode 100644 templates/mail/auth/activate_email.tmpl create mode 100644 templates/mail/auth/password_change.tmpl create mode 100644 templates/mail/auth/primary_mail_change.tmpl create mode 100644 templates/mail/auth/register_notify.tmpl create mode 100644 templates/mail/auth/removed_security_key.tmpl create mode 100644 templates/mail/auth/reset_passwd.tmpl create mode 100644 templates/mail/auth/totp_enrolled.tmpl create mode 100644 templates/mail/common/footer_simple.tmpl create mode 100644 templates/mail/issue/assigned.tmpl create mode 100644 templates/mail/issue/default.tmpl create mode 100644 templates/mail/notify/admin_new_user.tmpl create mode 100644 templates/mail/notify/collaborator.tmpl create mode 100644 templates/mail/notify/repo_transfer.tmpl create mode 100644 templates/mail/release.tmpl create mode 100644 templates/mail/team_invite.tmpl create mode 100644 templates/org/create.tmpl create mode 100644 templates/org/follow_unfollow.tmpl create mode 100644 templates/org/header.tmpl create mode 100644 templates/org/home.tmpl create mode 100644 templates/org/member/members.tmpl create mode 100644 templates/org/menu.tmpl create mode 100644 templates/org/projects/list.tmpl create mode 100644 templates/org/projects/new.tmpl create mode 100644 templates/org/projects/view.tmpl create mode 100644 templates/org/settings/actions.tmpl create mode 100644 templates/org/settings/applications.tmpl create mode 100644 templates/org/settings/applications_oauth2_edit.tmpl create mode 100644 templates/org/settings/blocked_users.tmpl create mode 100644 templates/org/settings/delete.tmpl create mode 100644 templates/org/settings/hook_new.tmpl create mode 100644 templates/org/settings/hooks.tmpl create mode 100644 templates/org/settings/labels.tmpl create mode 100644 templates/org/settings/layout_footer.tmpl create mode 100644 templates/org/settings/layout_head.tmpl create mode 100644 templates/org/settings/navbar.tmpl create mode 100644 templates/org/settings/options.tmpl create mode 100644 templates/org/settings/packages.tmpl create mode 100644 templates/org/settings/packages_cleanup_rules_edit.tmpl create mode 100644 templates/org/settings/packages_cleanup_rules_preview.tmpl create mode 100644 templates/org/settings/runners_edit.tmpl create mode 100644 templates/org/team/invite.tmpl create mode 100644 templates/org/team/members.tmpl create mode 100644 templates/org/team/navbar.tmpl create mode 100644 templates/org/team/new.tmpl create mode 100644 templates/org/team/repositories.tmpl create mode 100644 templates/org/team/sidebar.tmpl create mode 100644 templates/org/team/teams.tmpl create mode 100644 templates/package/content/alpine.tmpl create mode 100644 templates/package/content/arch.tmpl create mode 100644 templates/package/content/cargo.tmpl create mode 100644 templates/package/content/chef.tmpl create mode 100644 templates/package/content/composer.tmpl create mode 100644 templates/package/content/composer_dependencies.tmpl create mode 100644 templates/package/content/conan.tmpl create mode 100644 templates/package/content/conda.tmpl create mode 100644 templates/package/content/container.tmpl create mode 100644 templates/package/content/cran.tmpl create mode 100644 templates/package/content/debian.tmpl create mode 100644 templates/package/content/generic.tmpl create mode 100644 templates/package/content/go.tmpl create mode 100644 templates/package/content/helm.tmpl create mode 100644 templates/package/content/maven.tmpl create mode 100644 templates/package/content/npm.tmpl create mode 100644 templates/package/content/npm_dependencies.tmpl create mode 100644 templates/package/content/nuget.tmpl create mode 100644 templates/package/content/pub.tmpl create mode 100644 templates/package/content/pypi.tmpl create mode 100644 templates/package/content/rpm.tmpl create mode 100644 templates/package/content/rubygems.tmpl create mode 100644 templates/package/content/rubygems_dependencies.tmpl create mode 100644 templates/package/content/swift.tmpl create mode 100644 templates/package/content/vagrant.tmpl create mode 100644 templates/package/metadata/alpine.tmpl create mode 100644 templates/package/metadata/arch.tmpl create mode 100644 templates/package/metadata/cargo.tmpl create mode 100644 templates/package/metadata/chef.tmpl create mode 100644 templates/package/metadata/composer.tmpl create mode 100644 templates/package/metadata/conan.tmpl create mode 100644 templates/package/metadata/conda.tmpl create mode 100644 templates/package/metadata/container.tmpl create mode 100644 templates/package/metadata/cran.tmpl create mode 100644 templates/package/metadata/debian.tmpl create mode 100644 templates/package/metadata/generic.tmpl create mode 100644 templates/package/metadata/helm.tmpl create mode 100644 templates/package/metadata/maven.tmpl create mode 100644 templates/package/metadata/npm.tmpl create mode 100644 templates/package/metadata/nuget.tmpl create mode 100644 templates/package/metadata/pub.tmpl create mode 100644 templates/package/metadata/pypi.tmpl create mode 100644 templates/package/metadata/rpm.tmpl create mode 100644 templates/package/metadata/rubygems.tmpl create mode 100644 templates/package/metadata/swift.tmpl create mode 100644 templates/package/metadata/vagrant.tmpl create mode 100644 templates/package/settings.tmpl create mode 100644 templates/package/shared/cargo.tmpl create mode 100644 templates/package/shared/cleanup_rules/edit.tmpl create mode 100644 templates/package/shared/cleanup_rules/list.tmpl create mode 100644 templates/package/shared/cleanup_rules/preview.tmpl create mode 100644 templates/package/shared/list.tmpl create mode 100644 templates/package/shared/versionlist.tmpl create mode 100644 templates/package/view.tmpl create mode 100644 templates/post-install.tmpl create mode 100644 templates/projects/list.tmpl create mode 100644 templates/projects/new.tmpl create mode 100644 templates/projects/view.tmpl create mode 100644 templates/repo/actions/dispatch.tmpl create mode 100644 templates/repo/actions/list.tmpl create mode 100644 templates/repo/actions/no_workflows.tmpl create mode 100644 templates/repo/actions/runs_list.tmpl create mode 100644 templates/repo/actions/status.tmpl create mode 100644 templates/repo/actions/view.tmpl create mode 100644 templates/repo/activity.tmpl create mode 100644 templates/repo/admin_flags.tmpl create mode 100644 templates/repo/blame.tmpl create mode 100644 templates/repo/branch/list.tmpl create mode 100644 templates/repo/branch_dropdown.tmpl create mode 100644 templates/repo/cite/cite_buttons.tmpl create mode 100644 templates/repo/cite/cite_modal.tmpl create mode 100644 templates/repo/clone_buttons.tmpl create mode 100644 templates/repo/clone_script.tmpl create mode 100644 templates/repo/code/recently_pushed_new_branches.tmpl create mode 100644 templates/repo/code_frequency.tmpl create mode 100644 templates/repo/commit_load_branches_and_tags.tmpl create mode 100644 templates/repo/commit_page.tmpl create mode 100644 templates/repo/commit_status.tmpl create mode 100644 templates/repo/commit_statuses.tmpl create mode 100644 templates/repo/commits.tmpl create mode 100644 templates/repo/commits_list.tmpl create mode 100644 templates/repo/commits_list_small.tmpl create mode 100644 templates/repo/commits_search_dropdown.tmpl create mode 100644 templates/repo/commits_table.tmpl create mode 100644 templates/repo/contributors.tmpl create mode 100644 templates/repo/create.tmpl create mode 100644 templates/repo/create_helper.tmpl create mode 100644 templates/repo/diff/blob_excerpt.tmpl create mode 100644 templates/repo/diff/box.tmpl create mode 100644 templates/repo/diff/comment_form.tmpl create mode 100644 templates/repo/diff/comment_form_datahandler.tmpl create mode 100644 templates/repo/diff/comments.tmpl create mode 100644 templates/repo/diff/compare.tmpl create mode 100644 templates/repo/diff/conversation.tmpl create mode 100644 templates/repo/diff/conversations.tmpl create mode 100644 templates/repo/diff/csv_diff.tmpl create mode 100644 templates/repo/diff/escape_title.tmpl create mode 100644 templates/repo/diff/image_diff.tmpl create mode 100644 templates/repo/diff/new_comment.tmpl create mode 100644 templates/repo/diff/new_review.tmpl create mode 100644 templates/repo/diff/options_dropdown.tmpl create mode 100644 templates/repo/diff/section_code.tmpl create mode 100644 templates/repo/diff/section_split.tmpl create mode 100644 templates/repo/diff/section_unified.tmpl create mode 100644 templates/repo/diff/stats.tmpl create mode 100644 templates/repo/diff/whitespace_dropdown.tmpl create mode 100644 templates/repo/editor/cherry_pick.tmpl create mode 100644 templates/repo/editor/commit_form.tmpl create mode 100644 templates/repo/editor/delete.tmpl create mode 100644 templates/repo/editor/diff_preview.tmpl create mode 100644 templates/repo/editor/edit.tmpl create mode 100644 templates/repo/editor/patch.tmpl create mode 100644 templates/repo/editor/upload.tmpl create mode 100644 templates/repo/empty.tmpl create mode 100644 templates/repo/file_info.tmpl create mode 100644 templates/repo/find/files.tmpl create mode 100644 templates/repo/flags.tmpl create mode 100644 templates/repo/forks.tmpl create mode 100644 templates/repo/graph.tmpl create mode 100644 templates/repo/graph/commits.tmpl create mode 100644 templates/repo/graph/div.tmpl create mode 100644 templates/repo/graph/svgcontainer.tmpl create mode 100644 templates/repo/header.tmpl create mode 100644 templates/repo/header_fork.tmpl create mode 100644 templates/repo/home.tmpl create mode 100644 templates/repo/icon.tmpl create mode 100644 templates/repo/issue/card.tmpl create mode 100644 templates/repo/issue/choose.tmpl create mode 100644 templates/repo/issue/comment_tab.tmpl create mode 100644 templates/repo/issue/fields/checkboxes.tmpl create mode 100644 templates/repo/issue/fields/dropdown.tmpl create mode 100644 templates/repo/issue/fields/header.tmpl create mode 100644 templates/repo/issue/fields/input.tmpl create mode 100644 templates/repo/issue/fields/markdown.tmpl create mode 100644 templates/repo/issue/fields/textarea.tmpl create mode 100644 templates/repo/issue/filter_actions.tmpl create mode 100644 templates/repo/issue/filter_list.tmpl create mode 100644 templates/repo/issue/filters.tmpl create mode 100644 templates/repo/issue/label_precolors.tmpl create mode 100644 templates/repo/issue/labels.tmpl create mode 100644 templates/repo/issue/labels/edit_delete_label.tmpl create mode 100644 templates/repo/issue/labels/label.tmpl create mode 100644 templates/repo/issue/labels/label_archived.tmpl create mode 100644 templates/repo/issue/labels/label_list.tmpl create mode 100644 templates/repo/issue/labels/label_load_template.tmpl create mode 100644 templates/repo/issue/labels/label_new.tmpl create mode 100644 templates/repo/issue/labels/labels_selector_field.tmpl create mode 100644 templates/repo/issue/labels/labels_sidebar.tmpl create mode 100644 templates/repo/issue/list.tmpl create mode 100644 templates/repo/issue/milestone/filter_list.tmpl create mode 100644 templates/repo/issue/milestone/select_menu.tmpl create mode 100644 templates/repo/issue/milestone_issues.tmpl create mode 100644 templates/repo/issue/milestone_new.tmpl create mode 100644 templates/repo/issue/milestones.tmpl create mode 100644 templates/repo/issue/navbar.tmpl create mode 100644 templates/repo/issue/new.tmpl create mode 100644 templates/repo/issue/new_form.tmpl create mode 100644 templates/repo/issue/openclose.tmpl create mode 100644 templates/repo/issue/search.tmpl create mode 100644 templates/repo/issue/view.tmpl create mode 100644 templates/repo/issue/view_content.tmpl create mode 100644 templates/repo/issue/view_content/add_reaction.tmpl create mode 100644 templates/repo/issue/view_content/attachments.tmpl create mode 100644 templates/repo/issue/view_content/comments.tmpl create mode 100644 templates/repo/issue/view_content/comments_authorlink.tmpl create mode 100644 templates/repo/issue/view_content/comments_delete_time.tmpl create mode 100644 templates/repo/issue/view_content/context_menu.tmpl create mode 100644 templates/repo/issue/view_content/conversation.tmpl create mode 100644 templates/repo/issue/view_content/pull.tmpl create mode 100644 templates/repo/issue/view_content/pull_merge_instruction.tmpl create mode 100644 templates/repo/issue/view_content/reactions.tmpl create mode 100644 templates/repo/issue/view_content/reference_issue_dialog.tmpl create mode 100644 templates/repo/issue/view_content/show_role.tmpl create mode 100644 templates/repo/issue/view_content/sidebar.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/actions.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/assignees.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/branch_selector_field.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/dependencies.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/due_deadline.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/milestones.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/participants.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/projects.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/pull_maintainer_edits.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/pull_review.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/pull_reviewers.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/pull_wip.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/reference.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/timetracking.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/watch.tmpl create mode 100644 templates/repo/issue/view_content/sidebar/watching.tmpl create mode 100644 templates/repo/issue/view_content/update_branch_by_merge.tmpl create mode 100644 templates/repo/issue/view_title.tmpl create mode 100644 templates/repo/latest_commit.tmpl create mode 100644 templates/repo/migrate/codebase.tmpl create mode 100644 templates/repo/migrate/forgejo.tmpl create mode 100644 templates/repo/migrate/git.tmpl create mode 100644 templates/repo/migrate/gitbucket.tmpl create mode 100644 templates/repo/migrate/gitea.tmpl create mode 100644 templates/repo/migrate/github.tmpl create mode 100644 templates/repo/migrate/gitlab.tmpl create mode 100644 templates/repo/migrate/gogs.tmpl create mode 100644 templates/repo/migrate/helper.tmpl create mode 100644 templates/repo/migrate/migrate.tmpl create mode 100644 templates/repo/migrate/migrating.tmpl create mode 100644 templates/repo/migrate/onedev.tmpl create mode 100644 templates/repo/migrate/options.tmpl create mode 100644 templates/repo/navbar.tmpl create mode 100644 templates/repo/packages.tmpl create mode 100644 templates/repo/projects/list.tmpl create mode 100644 templates/repo/projects/new.tmpl create mode 100644 templates/repo/projects/view.tmpl create mode 100644 templates/repo/pulls/commits.tmpl create mode 100644 templates/repo/pulls/files.tmpl create mode 100644 templates/repo/pulls/fork.tmpl create mode 100644 templates/repo/pulls/status.tmpl create mode 100644 templates/repo/pulls/tab_menu.tmpl create mode 100644 templates/repo/pulse.tmpl create mode 100644 templates/repo/recent_commits.tmpl create mode 100644 templates/repo/release/list.tmpl create mode 100644 templates/repo/release/new.tmpl create mode 100644 templates/repo/release_tag_header.tmpl create mode 100644 templates/repo/search.tmpl create mode 100644 templates/repo/search_name.tmpl create mode 100644 templates/repo/settings/actions.tmpl create mode 100644 templates/repo/settings/branches.tmpl create mode 100644 templates/repo/settings/collaboration.tmpl create mode 100644 templates/repo/settings/deploy_keys.tmpl create mode 100644 templates/repo/settings/githook_edit.tmpl create mode 100644 templates/repo/settings/githooks.tmpl create mode 100644 templates/repo/settings/layout_footer.tmpl create mode 100644 templates/repo/settings/layout_head.tmpl create mode 100644 templates/repo/settings/lfs.tmpl create mode 100644 templates/repo/settings/lfs_file.tmpl create mode 100644 templates/repo/settings/lfs_file_find.tmpl create mode 100644 templates/repo/settings/lfs_locks.tmpl create mode 100644 templates/repo/settings/lfs_pointers.tmpl create mode 100644 templates/repo/settings/navbar.tmpl create mode 100644 templates/repo/settings/options.tmpl create mode 100644 templates/repo/settings/protected_branch.tmpl create mode 100644 templates/repo/settings/push_mirror_sync_modal.tmpl create mode 100644 templates/repo/settings/runner_edit.tmpl create mode 100644 templates/repo/settings/secrets.tmpl create mode 100644 templates/repo/settings/tags.tmpl create mode 100644 templates/repo/settings/units.tmpl create mode 100644 templates/repo/settings/units/issues.tmpl create mode 100644 templates/repo/settings/units/overview.tmpl create mode 100644 templates/repo/settings/units/pulls.tmpl create mode 100644 templates/repo/settings/units/wiki.tmpl create mode 100644 templates/repo/settings/webhook/base.tmpl create mode 100644 templates/repo/settings/webhook/base_list.tmpl create mode 100644 templates/repo/settings/webhook/delete_modal.tmpl create mode 100644 templates/repo/settings/webhook/history.tmpl create mode 100644 templates/repo/settings/webhook/link_menu.tmpl create mode 100644 templates/repo/settings/webhook/list.tmpl create mode 100644 templates/repo/settings/webhook/new.tmpl create mode 100644 templates/repo/shabox_badge.tmpl create mode 100644 templates/repo/star_unstar.tmpl create mode 100644 templates/repo/sub_menu.tmpl create mode 100644 templates/repo/tag/list.tmpl create mode 100644 templates/repo/tag/verification_box.tmpl create mode 100644 templates/repo/tag/verification_line.tmpl create mode 100644 templates/repo/unicode_escape_prompt.tmpl create mode 100644 templates/repo/upload.tmpl create mode 100644 templates/repo/user_cards.tmpl create mode 100644 templates/repo/view_file.tmpl create mode 100644 templates/repo/view_list.tmpl create mode 100644 templates/repo/watch_unwatch.tmpl create mode 100644 templates/repo/watchers.tmpl create mode 100644 templates/repo/wiki/new.tmpl create mode 100644 templates/repo/wiki/pages.tmpl create mode 100644 templates/repo/wiki/revision.tmpl create mode 100644 templates/repo/wiki/search.tmpl create mode 100644 templates/repo/wiki/start.tmpl create mode 100644 templates/repo/wiki/view.tmpl create mode 100644 templates/shared/actions/runner_edit.tmpl create mode 100644 templates/shared/actions/runner_list.tmpl create mode 100644 templates/shared/blocked_users_list.tmpl create mode 100644 templates/shared/combomarkdowneditor.tmpl create mode 100644 templates/shared/issueicon.tmpl create mode 100644 templates/shared/issuelist.tmpl create mode 100644 templates/shared/label_filter.tmpl create mode 100644 templates/shared/repo_search.tmpl create mode 100644 templates/shared/search/button.tmpl create mode 100644 templates/shared/search/code/results.tmpl create mode 100644 templates/shared/search/code/search.tmpl create mode 100644 templates/shared/search/combo.tmpl create mode 100644 templates/shared/search/combo_fuzzy.tmpl create mode 100644 templates/shared/search/fuzzy.tmpl create mode 100644 templates/shared/search/input.tmpl create mode 100644 templates/shared/searchbottom.tmpl create mode 100644 templates/shared/searchfile.tmpl create mode 100644 templates/shared/secrets/add_list.tmpl create mode 100644 templates/shared/user/authorlink.tmpl create mode 100644 templates/shared/user/avatarlink.tmpl create mode 100644 templates/shared/user/blocked_users.tmpl create mode 100644 templates/shared/user/name.tmpl create mode 100644 templates/shared/user/namelink.tmpl create mode 100644 templates/shared/user/org_profile_avatar.tmpl create mode 100644 templates/shared/user/profile_big_avatar.tmpl create mode 100644 templates/shared/variables/variable_list.tmpl create mode 100644 templates/shared/webhook/icon.tmpl create mode 100644 templates/status/404.tmpl create mode 100644 templates/status/413.tmpl create mode 100644 templates/status/500.tmpl create mode 100644 templates/swagger/forgejo-ui.tmpl create mode 100644 templates/swagger/ui.tmpl create mode 100644 templates/swagger/v1_json.tmpl create mode 100644 templates/user/auth/activate.tmpl create mode 100644 templates/user/auth/captcha.tmpl create mode 100644 templates/user/auth/change_passwd.tmpl create mode 100644 templates/user/auth/change_passwd_inner.tmpl create mode 100644 templates/user/auth/finalize_openid.tmpl create mode 100644 templates/user/auth/forgot_passwd.tmpl create mode 100644 templates/user/auth/grant.tmpl create mode 100644 templates/user/auth/grant_error.tmpl create mode 100644 templates/user/auth/link_account.tmpl create mode 100644 templates/user/auth/oauth_container.tmpl create mode 100644 templates/user/auth/oidc_wellknown.tmpl create mode 100644 templates/user/auth/prohibit_login.tmpl create mode 100644 templates/user/auth/reset_passwd.tmpl create mode 100644 templates/user/auth/signin.tmpl create mode 100644 templates/user/auth/signin_inner.tmpl create mode 100644 templates/user/auth/signin_openid.tmpl create mode 100644 templates/user/auth/signup.tmpl create mode 100644 templates/user/auth/signup_inner.tmpl create mode 100644 templates/user/auth/signup_openid_connect.tmpl create mode 100644 templates/user/auth/signup_openid_navbar.tmpl create mode 100644 templates/user/auth/signup_openid_register.tmpl create mode 100644 templates/user/auth/twofa.tmpl create mode 100644 templates/user/auth/twofa_scratch.tmpl create mode 100644 templates/user/auth/webauthn.tmpl create mode 100644 templates/user/auth/webauthn_error.tmpl create mode 100644 templates/user/code.tmpl create mode 100644 templates/user/dashboard/dashboard.tmpl create mode 100644 templates/user/dashboard/feeds.tmpl create mode 100644 templates/user/dashboard/issues.tmpl create mode 100644 templates/user/dashboard/milestones.tmpl create mode 100644 templates/user/dashboard/navbar.tmpl create mode 100644 templates/user/dashboard/repolist.tmpl create mode 100644 templates/user/heatmap.tmpl create mode 100644 templates/user/notification/notification.tmpl create mode 100644 templates/user/notification/notification_div.tmpl create mode 100644 templates/user/notification/notification_subscriptions.tmpl create mode 100644 templates/user/overview/header.tmpl create mode 100644 templates/user/overview/package_versions.tmpl create mode 100644 templates/user/overview/packages.tmpl create mode 100644 templates/user/profile.tmpl create mode 100644 templates/user/settings/account.tmpl create mode 100644 templates/user/settings/actions.tmpl create mode 100644 templates/user/settings/appearance.tmpl create mode 100644 templates/user/settings/applications.tmpl create mode 100644 templates/user/settings/applications_oauth2.tmpl create mode 100644 templates/user/settings/applications_oauth2_edit.tmpl create mode 100644 templates/user/settings/applications_oauth2_edit_form.tmpl create mode 100644 templates/user/settings/applications_oauth2_list.tmpl create mode 100644 templates/user/settings/blocked_users.tmpl create mode 100644 templates/user/settings/grants_oauth2.tmpl create mode 100644 templates/user/settings/hook_new.tmpl create mode 100644 templates/user/settings/hooks.tmpl create mode 100644 templates/user/settings/keys.tmpl create mode 100644 templates/user/settings/keys_gpg.tmpl create mode 100644 templates/user/settings/keys_principal.tmpl create mode 100644 templates/user/settings/keys_ssh.tmpl create mode 100644 templates/user/settings/layout_footer.tmpl create mode 100644 templates/user/settings/layout_head.tmpl create mode 100644 templates/user/settings/navbar.tmpl create mode 100644 templates/user/settings/organization.tmpl create mode 100644 templates/user/settings/packages.tmpl create mode 100644 templates/user/settings/packages_cleanup_rules_edit.tmpl create mode 100644 templates/user/settings/packages_cleanup_rules_preview.tmpl create mode 100644 templates/user/settings/profile.tmpl create mode 100644 templates/user/settings/repos.tmpl create mode 100644 templates/user/settings/runner_edit.tmpl create mode 100644 templates/user/settings/security/accountlinks.tmpl create mode 100644 templates/user/settings/security/openid.tmpl create mode 100644 templates/user/settings/security/security.tmpl create mode 100644 templates/user/settings/security/twofa.tmpl create mode 100644 templates/user/settings/security/twofa_enroll.tmpl create mode 100644 templates/user/settings/security/webauthn.tmpl create mode 100644 templates/webhook/new.tmpl create mode 100644 templates/webhook/new/dingtalk.tmpl create mode 100644 templates/webhook/new/discord.tmpl create mode 100644 templates/webhook/new/feishu.tmpl create mode 100644 templates/webhook/new/forgejo.tmpl create mode 100644 templates/webhook/new/gitea.tmpl create mode 100644 templates/webhook/new/gogs.tmpl create mode 100644 templates/webhook/new/matrix.tmpl create mode 100644 templates/webhook/new/msteams.tmpl create mode 100644 templates/webhook/new/packagist.tmpl create mode 100644 templates/webhook/new/slack.tmpl create mode 100644 templates/webhook/new/sourcehut_builds.tmpl create mode 100644 templates/webhook/new/telegram.tmpl create mode 100644 templates/webhook/new/wechatwork.tmpl create mode 100644 templates/webhook/shared-settings.tmpl create mode 100644 tests/e2e/.eslintrc.yaml create mode 100644 tests/e2e/README.md create mode 100644 tests/e2e/actions.test.e2e.js create mode 100644 tests/e2e/commit-graph-branch-selector.test.e2e.js create mode 100644 tests/e2e/dashboard-ci-status.test.e2e.js create mode 100644 tests/e2e/debugserver_test.go create mode 100644 tests/e2e/declare_repos_test.go create mode 100644 tests/e2e/e2e_test.go create mode 100644 tests/e2e/example.test.e2e.js create mode 100644 tests/e2e/explore.test.e2e.js create mode 100644 tests/e2e/issue-comment.test.e2e.js create mode 100644 tests/e2e/issue-sidebar.test.e2e.js create mode 100644 tests/e2e/markdown-editor.test.e2e.js create mode 100644 tests/e2e/markup.test.e2e.js create mode 100644 tests/e2e/org-settings.test.e2e.js create mode 100644 tests/e2e/profile_actions.test.e2e.js create mode 100644 tests/e2e/reaction-selectors.test.e2e.js create mode 100644 tests/e2e/release.test.e2e.js create mode 100644 tests/e2e/repo-code.test.e2e.js create mode 100644 tests/e2e/repo-migrate.test.e2e.js create mode 100644 tests/e2e/repo-settings.test.e2e.js create mode 100644 tests/e2e/repo-wiki.test.e2e.js create mode 100644 tests/e2e/right-settings-button.test.e2e.js create mode 100644 tests/e2e/shared/forms.js create mode 100644 tests/e2e/utils_e2e.js create mode 100644 tests/e2e/utils_e2e_test.go create mode 100644 tests/e2e/webauthn.test.e2e.js create mode 100644 tests/fuzz/fuzz_test.go create mode 100644 tests/gitea-lfs-meta/0b/8d/8b5f15046343fd32f451df93acc2bdd9e6373be478b968e4cad6b6647351 create mode 100644 tests/gitea-lfs-meta/2e/cc/db43825d2a49d99d542daa20075cff1d97d9d2349a8977efe9c03661737c create mode 100644 tests/gitea-lfs-meta/7b/6b/2c88dba9f760a1a58469b67fee2b698ef7e9399c4ca4f34a14ccbe39f623 create mode 100644 tests/gitea-lfs-meta/9d/17/2e5c64b4f0024b9901ec6afe9ea052f3c9b6ff9f4b07956d8c48c86fca82 create mode 100644 tests/gitea-repositories-meta/limited_org/private_repo_on_limited_org.git/HEAD create mode 100644 tests/gitea-repositories-meta/limited_org/private_repo_on_limited_org.git/config create mode 100644 tests/gitea-repositories-meta/limited_org/private_repo_on_limited_org.git/description create mode 100644 tests/gitea-repositories-meta/limited_org/private_repo_on_limited_org.git/info/exclude create mode 100644 tests/gitea-repositories-meta/limited_org/private_repo_on_limited_org.git/objects/74/8bf557dfc9c6457998b5118a6c8b2129f56c30 create mode 100644 tests/gitea-repositories-meta/limited_org/private_repo_on_limited_org.git/objects/a5/46f86c7dd182592b96639045e176dde8df76ef create mode 100644 tests/gitea-repositories-meta/limited_org/private_repo_on_limited_org.git/objects/b8/95782bd271fdd266dd06e5880ea4abdc3a0dc7 create mode 100644 tests/gitea-repositories-meta/limited_org/private_repo_on_limited_org.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/limited_org/public_repo_on_limited_org.git/HEAD create mode 100644 tests/gitea-repositories-meta/limited_org/public_repo_on_limited_org.git/config create mode 100644 tests/gitea-repositories-meta/limited_org/public_repo_on_limited_org.git/description create mode 100644 tests/gitea-repositories-meta/limited_org/public_repo_on_limited_org.git/info/exclude create mode 100644 tests/gitea-repositories-meta/limited_org/public_repo_on_limited_org.git/objects/21/2f14c8b713de38bd0b3fb23bd288369b01668a create mode 100644 tests/gitea-repositories-meta/limited_org/public_repo_on_limited_org.git/objects/90/e402c3937a4639725fcc59ca1f529e7dc8506f create mode 100644 tests/gitea-repositories-meta/limited_org/public_repo_on_limited_org.git/objects/ed/d9c1000cd1444efd63e153e3554c8d5656bf65 create mode 100644 tests/gitea-repositories-meta/limited_org/public_repo_on_limited_org.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/HEAD create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/config create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/description create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/hooks/post-checkout create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/hooks/post-commit create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/hooks/post-merge create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/hooks/pre-push create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/index create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/lfs/objects/d6/f1/d6f175817f886ec6fbbc1515326465fa96c3bfd54a4ea06cfd6dbbd8340e0152 create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/lfs/objects/fb/8f/fb8f7d8435968c4f82a726a92395be4d16f2f63116caf36c8ad35c60831ab041 create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/objects/54/6244003622c64b2fc3c2cd544d7a29882c8383 create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/objects/6a/6ccf5d874fec134ee712572cc03a0f2dd7afec create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/objects/a6/7134b8484c2abe9fa954e1fd83b39b271383ed create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/objects/b7/01ed6ffe410f0c3ac204b929ea47cfec6cef54 create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/objects/f2/07b74f55cd7f9e800b7550d587cbc488f6eaf1 create mode 100644 tests/gitea-repositories-meta/migration/lfs-test.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/COMMITMESSAGE create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/COMMIT_EDITMSG create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/HEAD create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/config create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/config.backup create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/description create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/index create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/info/exclude create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/logs/HEAD create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/logs/refs/heads/branch1 create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/logs/refs/heads/master create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/objects/ba/ea7d6e6b7773a80bcede323cfb21dfe9d4b855 create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/objects/c2/a1ad4c931cebe27c7e39176fe7119b5557c9eb create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/objects/cd/aca8cf1d36e1e4e508a940f6e157e239beccfa create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/refs/heads/branch1 create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/COMMITMESSAGE create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/COMMIT_EDITMSG create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/HEAD create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/config create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/config.backup create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/description create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/index create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/info/exclude create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/logs/HEAD create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/logs/refs/heads/branch1 create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/logs/refs/heads/master create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/objects/ba/ea7d6e6b7773a80bcede323cfb21dfe9d4b855 create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/objects/c2/a1ad4c931cebe27c7e39176fe7119b5557c9eb create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/objects/cd/aca8cf1d36e1e4e508a940f6e157e239beccfa create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/refs/heads/branch1 create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_alpha.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/COMMITMESSAGE create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/COMMIT_EDITMSG create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/HEAD create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/config create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/config.backup create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/description create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/index create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/info/exclude create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/logs/HEAD create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/logs/refs/heads/branch1 create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/logs/refs/heads/master create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/objects/ba/ea7d6e6b7773a80bcede323cfb21dfe9d4b855 create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/objects/c2/a1ad4c931cebe27c7e39176fe7119b5557c9eb create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/objects/cd/aca8cf1d36e1e4e508a940f6e157e239beccfa create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/refs/heads/branch1 create mode 100644 tests/gitea-repositories-meta/org26/repo_external_tracker_numeric.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/HEAD create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/config create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/description create mode 100755 tests/gitea-repositories-meta/org3/repo3.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/org3/repo3.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/org3/repo3.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/org3/repo3.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/org3/repo3.git/hooks/update create mode 100755 tests/gitea-repositories-meta/org3/repo3.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/info/exclude create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/objects/20/ade30d25e0ecaeec84e7f542a8456900858240 create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/objects/27/74debeea6dc742cc4971a92db0e08b95b60588 create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/objects/2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/objects/2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/objects/d2/2b4d4daa5be07329fcef6ed458f00cf3392da0 create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/objects/d5/6a3073c1dbb7b15963110a049d50cdb5db99fc create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/objects/ec/f0db3c1ec806522de4b491fb9a3c7457398c61 create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/objects/ee/16d127df463aa491e08958120f2108b02468df create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/org3/repo3.git/refs/heads/test_branch create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/HEAD create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/config create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/description create mode 100755 tests/gitea-repositories-meta/org3/repo5.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/org3/repo5.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/org3/repo5.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/org3/repo5.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/org3/repo5.git/hooks/update create mode 100755 tests/gitea-repositories-meta/org3/repo5.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/info/exclude create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/objects/20/ade30d25e0ecaeec84e7f542a8456900858240 create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/objects/27/74debeea6dc742cc4971a92db0e08b95b60588 create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/objects/2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/objects/2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/objects/d2/2b4d4daa5be07329fcef6ed458f00cf3392da0 create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/objects/d5/6a3073c1dbb7b15963110a049d50cdb5db99fc create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/objects/ec/f0db3c1ec806522de4b491fb9a3c7457398c61 create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/objects/ee/16d127df463aa491e08958120f2108b02468df create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/org3/repo5.git/refs/heads/test_branch create mode 100644 tests/gitea-repositories-meta/org41/repo61.git/HEAD create mode 100644 tests/gitea-repositories-meta/org41/repo61.git/config create mode 100644 tests/gitea-repositories-meta/org41/repo61.git/description create mode 100644 tests/gitea-repositories-meta/org41/repo61.git/info/exclude create mode 100644 tests/gitea-repositories-meta/privated_org/private_repo_on_private_org.git/HEAD create mode 100644 tests/gitea-repositories-meta/privated_org/private_repo_on_private_org.git/config create mode 100644 tests/gitea-repositories-meta/privated_org/private_repo_on_private_org.git/description create mode 100644 tests/gitea-repositories-meta/privated_org/private_repo_on_private_org.git/info/exclude create mode 100644 tests/gitea-repositories-meta/privated_org/private_repo_on_private_org.git/objects/6e/75c9f89da9a9b93f4f36e61ed092f7a1625ba0 create mode 100644 tests/gitea-repositories-meta/privated_org/private_repo_on_private_org.git/objects/7f/eb6f9dd600e17a04f48a76cfa0a56a3f30e2c1 create mode 100644 tests/gitea-repositories-meta/privated_org/private_repo_on_private_org.git/objects/b7/91b41c0ae8cb3c4b12f3fd8c3709c2481d9e37 create mode 100644 tests/gitea-repositories-meta/privated_org/private_repo_on_private_org.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/privated_org/public_repo_on_private_org.git/HEAD create mode 100644 tests/gitea-repositories-meta/privated_org/public_repo_on_private_org.git/config create mode 100644 tests/gitea-repositories-meta/privated_org/public_repo_on_private_org.git/description create mode 100644 tests/gitea-repositories-meta/privated_org/public_repo_on_private_org.git/info/exclude create mode 100644 tests/gitea-repositories-meta/privated_org/public_repo_on_private_org.git/objects/04/f99c528b643b9175a4b156cdfc13aba6b43853 create mode 100644 tests/gitea-repositories-meta/privated_org/public_repo_on_private_org.git/objects/86/de16d8658f5c0a17ec6aa313871295d7072f78 create mode 100644 tests/gitea-repositories-meta/privated_org/public_repo_on_private_org.git/objects/bf/19fd4707acb403c4aca44f126ab69142ac59ce create mode 100644 tests/gitea-repositories-meta/privated_org/public_repo_on_private_org.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/HEAD create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/config create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/description create mode 100755 tests/gitea-repositories-meta/user12/repo10.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/user12/repo10.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user12/repo10.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/user12/repo10.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user12/repo10.git/hooks/update create mode 100755 tests/gitea-repositories-meta/user12/repo10.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/info/refs create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/objects/2a/2f1d4670728a2e10049e345bd7a276468beab6 create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/objects/4b/4851ad51df6a7d9f25c979345979eaeb5b349f create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/objects/65/f1bf27bc3bf70f64657658635e66094edbcb4d create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/refs/heads/DefaultBranch create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/refs/heads/develop create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/refs/heads/feature/1 create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user12/repo10.git/refs/tags/v1.1 create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/HEAD create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/config create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/description create mode 100755 tests/gitea-repositories-meta/user13/repo11.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/user13/repo11.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user13/repo11.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/user13/repo11.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user13/repo11.git/hooks/update create mode 100755 tests/gitea-repositories-meta/user13/repo11.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/info/refs create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/objects/0a/bcb056019adb8336cf9db3ad9d9cf80cd4b141 create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/objects/2a/2f1d4670728a2e10049e345bd7a276468beab6 create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/objects/4b/4851ad51df6a7d9f25c979345979eaeb5b349f create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/objects/65/f1bf27bc3bf70f64657658635e66094edbcb4d create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/objects/75/d1afd00e111c8dbd9e3d96a27b431ac5ae6d74 create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/objects/ed/447543e0c85d628b91f7f466f4921908f4c5ea create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/refs/heads/DefaultBranch create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/refs/heads/branch2 create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/refs/heads/develop create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/refs/heads/feature/1 create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user13/repo11.git/refs/tags/v1.1 create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/config create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/description create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/0a/8499a22ad32a80beda9d75efe15f9f94582468 create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/0c/cf1fcd4d1717c22de0707619a5577ea0acebf0 create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/3e/a192a6466793d4b7cd8641801ca0c6bec3979c create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/3f/6594f108842b7c50772510e53ce113d3583c4a create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/58/e97d1a24fb9e1599d8a467ec409430f3d3569e create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/67/68c1fc1d9448422f05cc84267d94ee62085fe8 create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/6e/8eabd9a7f8d6acd2a1219facfd37415564b144 create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/85/f46d747a68adf79cc01e2c25ba6a56932d298d create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/8d/dd8d1ad1fdc21ab629e906711fa9bc27aa1c52 create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/95/fd0c4138480e4b3913e7cf71a90623fb926fe8 create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/98/00fe78cabf4fe774fcf376f97fa2a0ed06987b create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/9f/cdb7d53bdef786d2e5577948a0c0d4b321fe5a create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/c2/0caf78b5f9dd2d0d183876c5cd0e761c13f7f8 create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/c5/2ba74685f5c8c593efbbb38f62fe024110adef create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/objects/d6/ae8023a10ff446b6a4e7f441554834008e99c3 create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/packed-refs create mode 100644 tests/gitea-repositories-meta/user2/commits_search_test.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/config create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/description create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/info/refs create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/logs/HEAD create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/logs/refs/heads/branch1 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/logs/refs/heads/main create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/0a/6dda431c72a6a4aac05b98e319972a1a55e01c create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/0c/396a509b64fd4e2e55649d100b86e8b96cc0e5 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/10/0ef49565829e7bd83057d2dab88f58b00db831 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/10/9ab1c0b84e088d7edcf018379518b49361f285 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/19/78192d98bb1b65e11c2cf37da854fbf94bffd6 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/1e/67d753ac1f9097eff26f9d33eb80182344b72c create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/23/576dd018294e476c06e569b6b0f170d0558705 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/28/16bffda09c0f23775ea4be279de004d28a3803 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/35/f03b5e176ee6d24c86b5cca7009a5b0ba2a026 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/38/cdad2e40c989aabab3f2d0a27faf0f7be617d5 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/3e/64625bd6eb5bcba69ac97de6c8f507402df861 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/4b/860706d3eec5858324d4ba00db0423ca4cbf50 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/4c/a8bcaf27e28504df7bf996819665986b01c847 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/52/84ca7f5757816e67c098224a8367aa2544222d create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/53/9a24812705f77484568e6ad7db84764c1903c8 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/70/8605e8984e7fb9be58818e0e6d9f21bcefd63e create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/74/7ddb3506a4fa04a7747808eb56ae16f9e933dc create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/7e/d1d42eda9110676d5c3a7721965d6ed1afe83c create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/81/1d46c7e518f4f180afb862c0db5cb8c80529ce create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/83/2d33e438d2b4a86fba81cb67b32d1d61a828cb create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/83/7d5c8125633d7d258f93b998e867eab0145520 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/87/cdc1333f5f117a92f3cef78ebe0301114b3610 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/92/70b08497106eaa65fce8aa91f37c4780f76909 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/96/cef4a7b72b3c208340ae6f0cf55a93e9077c93 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/97/0c5deb117526983f554eaaa1b59102d3e3e0f7 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/c5/626fc9eff57eb1bb7b796b01d4d0f2f3f792a2 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/c7/04db5794097441aa2d9dd834d5b7e2f8f08108 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/cb/ff181af4c9c7fee3cf6c106699e07d9a3f54e6 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/d1/8e427f4011e74e96a31823c938be26eebab53b create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/d2/5795e38fbc1b4839697e834b957d61c83d994f create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/d6/6f456f0813a5841fbc03e5f1c47304dc675695 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/e1/7e0fa20f3d2125916f2fb2f51f19240678cb83 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/ec/d9fdda5c814055ee619513e1c388ba1bbcb280 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/refs/heads/branch1 create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/refs/heads/main create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/commitsonpr.git/refs/pull/1/head create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/config create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/description create mode 100755 tests/gitea-repositories-meta/user2/git_hooks_test.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/user2/git_hooks_test.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/git_hooks_test.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/user2/git_hooks_test.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/git_hooks_test.git/hooks/pre-receive.d/pre-receive create mode 100755 tests/gitea-repositories-meta/user2/git_hooks_test.git/hooks/update create mode 100755 tests/gitea-repositories-meta/user2/git_hooks_test.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/info/refs create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/objects/2a/2f1d4670728a2e10049e345bd7a276468beab6 create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/objects/4b/4851ad51df6a7d9f25c979345979eaeb5b349f create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/objects/65/f1bf27bc3bf70f64657658635e66094edbcb4d create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/refs/heads/DefaultBranch create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/refs/heads/develop create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/refs/heads/feature/1 create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/git_hooks_test.git/refs/tags/v1.1 create mode 100644 tests/gitea-repositories-meta/user2/glob.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/glob.git/config create mode 100644 tests/gitea-repositories-meta/user2/glob.git/description create mode 100644 tests/gitea-repositories-meta/user2/glob.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/48/06cb9df135782b818c968c2fadbd2c150d23d6 create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/59/fee614e09d1f1cd1e15e4b2a7e9c8873a81498 create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/7c/8ac2f8d82a1eb5f6aaece6629ff11015f91eb4 create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/8e/592e636d27ac144f92f7fe8c33631cbdea594d create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/95/aff026f99a9ab76fbd01decb63dd3dbc03e498 create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/ae/d1ffed24cc3cf9b80490795e893cae4bddd684 create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/bf/d6a6583f9a9ac59bd726c1df26c64a89427ede create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/c8/eb3b6c767ccb68411d0a1f6c769be69fb4d95a create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/de/6be43fe8eb19ca3f4e934cb8b9a9a0b20fe865 create mode 100644 tests/gitea-repositories-meta/user2/glob.git/objects/ef/6b814b610d8e7717aa0f71fbe5842bcf814697 create mode 100644 tests/gitea-repositories-meta/user2/glob.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/config create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/15/2de0f78bc6815b58cd9f08aebe3f66fb0f172e create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/23/10e4a07f9314a1a92fdfbdcd3d2884f01e96ab create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/2b/6c6c4eaefa24b22f2092c3d54b263ff26feb58 create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/30/77e1c4c8964613df72c37d14275c1eda5228a9 create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/6b/bc79965141058b0026f2064dfb6d2eae3c4540 create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/73/cf03db6ece34e12bf91e8853dc58f678f2f82d create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/74/21a018a7e3f15ee5691f162d0ed87dc19882f0 create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/82/76d2a29779af982c0afa976bdb793b52d442a8 create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/b0/89e97ee59224e8c5676673c096ee4b6a8b9342 create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/bc/e50ea8f203ee923d5a640d05208abf3206486e create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/d4/a41a0d4db4949e129bd22f871171ea988103ef create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/d7/ce0013ced38b0696dd2d68d69a5d8b652f7148 create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/df/d8105b264d304c49ed9f1d56bd90189ecdf833 create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/objects/e9/c32647bab825977942598c0efa415de300304b create mode 100644 tests/gitea-repositories-meta/user2/lfs.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/config create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/info/refs create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/12/11481f7314efbfe4e44703170d96c8fac8172b create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/17/2343566bf11fc71ba4acf8d2ea70d12bc1d037 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/1a/48cae3f18ccd9c929e6608f67087dbaac3cf9e create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/1e/1e08102cf1b1fc01c069c88ee75445974363ab create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/21/470f9b3e8ff24e0fa083d2dbc447f4c3401355 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/23/65bfe0c5714e2e3f2d53bb302b10d8d5b4fc7d create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/38/9d08c6a71d024a91f14089007cd789cd977ca6 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/3a/a8f4e0e1a535f0f9e0ae40e6ec1bce42642bc4 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/3b/23d7f1a9cb904cb46f5f2272bfa5ed5f871fb9 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/50/6ff7310f420e878595b4bc8f11688e3f0ae14e create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/58/3eb775c596858380273492759d39081d65d029 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/60/ea618ae7d4ecbe9c1962591c7da1b05bb1a5c8 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/6a/b05db4c52530726c1856eb558228e9d1949e7f create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/71/60a063b5544b5a78131b94f47bfd200046eda2 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/75/6c70c97047d8aeb11ca3c71edd9fb76cefee9c create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/7f/2b9f991d99362eb827b67f4ae2f5fbc5fa2271 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/7f/792e709143fb0f021da2371e5f40d1bcc284fd create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/82/817856dadc7f6b944633e1b77d5b6e302dde06 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/8b/4149e7dede3cd53ba11c64c88b057c5fe2c200 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/93/54813d81053c14afe878a9f056b937ec42bb48 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/9c/72c10e55e7d6ea21f591aa424e2625e8ad8094 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/a3/cd04bb110e17591ac04e156c7df2c2f5c96fa6 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/b0/e851a5619e2d6cee1da25a15ab67305f0861ec create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/b4/4c8eb00bdaf0522de61e591fee5f66851ef4b5 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/b8/eaa80ad86072e1f23d2638842154ce9aceff8d create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/d5/34f914944c3c943a6bdb677d869ac54934928d create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/e2/f9904cd97b4045feecfffef5a426e9461bee70 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/e3/a6fd8fe49e323ee10017f72b777a53fbd8076f create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/e7/bf02fcfa7a86f7fe9e8158b55d58ddf9d877ec create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/ea/57c91ddb8b4ac705b5ac4c34c7a48f2d0fc180 create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/fe/495ea336f079ef2bed68648d0ba9a37cdbd4aa create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/info/commit-graph create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/pack/pack-8933bd634b76f8154310cccb52537a0195e43166.bitmap create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/pack/pack-8933bd634b76f8154310cccb52537a0195e43166.idx create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/objects/pack/pack-8933bd634b76f8154310cccb52537a0195e43166.pack create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/packed-refs create mode 100644 tests/gitea-repositories-meta/user2/readme-test.git/refs/heads/fallbacks-broken-symlinks create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/config create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/description create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/08/9ba8b2f324d89b74f6853374a0476b312a46f6 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/18/4288e5acffbcb17160b990e8efe83b12dfaaba create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/24/3cdd85d09ce4104855edf219c05b74c65350fc create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/43/80f99290b2b3922733ff82c57afad915ace907 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/6d/fe48a18ce2fb47d3a75e13c7ab35f935077535 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/71/97b56fdc75b453f47c9110938cb46a303579fd create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/79/f9d88f1b054d650f88da0bd658e21f7b0cf6ec create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/7c/055ef1678b03b831bbe7b9ca5aed33b1a8dea0 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/80/abeef37c96b85b83a916f5f295f04f4d380a42 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/a8/a700e8c644c783ba2c6e742bb81bf91e244bff create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/bc/7068d1eb2f93a04e3ec73521473444ceec0961 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/c4/a4e1a72a2098d687b4280e7c6972280c1f9c39 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/cd/7f28e1b404377eadbe0d54234ba861883e6930 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/ce/f06e48f2642cd0dc9597b4bea09f4b3f74aad6 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/d0/718fe871fbb54da104ff201f75f62a6ced2e29 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/d4/613f8dad1fa61e415922f6eb33244358fca85d create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/dd/5488178fc8a5c62430b3fb3017203b917b95ab create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/ef/3c849ed54b22bb1f500da91b789c40cb0915da create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/f3/f1c90ac949aa1b0f129d30f338d408663c8a83 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/objects/f9/3e3a1a1525fb5b91020da86e44810c87a2d7bc create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/refs/heads/main create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/refs/tags/v1.0 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/refs/tags/v1.1 create mode 100644 tests/gitea-repositories-meta/user2/repo-release.git/refs/tags/v2.0 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/config create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/description create mode 100755 tests/gitea-repositories-meta/user2/repo1.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/user2/repo1.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/repo1.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/user2/repo1.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/repo1.git/hooks/proc-receive create mode 100755 tests/gitea-repositories-meta/user2/repo1.git/hooks/proc-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/repo1.git/hooks/update create mode 100755 tests/gitea-repositories-meta/user2/repo1.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/info/refs create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/00/750edc07d6415dcc07ae0351e9397b0222b7ba create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/16/633238d370a441f98dca532e4296a619c4c85f create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/2a/2f1d4670728a2e10049e345bd7a276468beab6 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/3f/a2f829675543ecfc16b2891aebe8bf0608a8f4 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/40/3d76c604cb569323864e06a07b85d466924802 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/46/49299398e4d39a5c09eb4f534df6f1e1eb87cc create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/4a/357436d925b5c974181ff12a994538ddc5a269 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/4b/4851ad51df6a7d9f25c979345979eaeb5b349f create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/5c/050d3b6d2db231ab1f64e324f1b6b9a0b181c2 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/5f/22f7d0d95d614d25a5b68592adb345a4b5c7fd create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/62/fb502a7172d4453f0322a2cc85bddffa57f07a create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/65/f1bf27bc3bf70f64657658635e66094edbcb4d create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/6a/a3a5385611c5eb8986c9961a9c34a93cbaadfb create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/78/fb907e3a3309eae4fe8fef030874cebbf1cd5e create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/7c/4df115542e05c700f297519e906fd63c9c9804 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/90/dcd07da077d1e7cd6032b52d1f79ae2b5f19b2 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/94/922e1295c678267de1193b7b84ad8a086c27f9 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/98/5f0301dba5e7b34be866819cd15ad3d8f508ee create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/a6/9277c81e90b98a7c0ab25b042a6e296da8eb9a create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/a7/57c0ea621e63d0fd6fc353a175fdc7199e5d1d create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/b2/60587271671842af0b036e4fe643c9d45b7ddd create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/d4/a1a6dcf7bd42891f264d484e80dac7e66b5410 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/d7/bd5b8cfb680f460e37b6fd7cf74c284e059118 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/dc/7a8ba127fee870dd683310ce660dfe59333a1b create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/dd/59742c0f6672911f2b64cba5711ac00593ed32 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/f3/fa0f5cc797fc4c02a1b8bec9de4b2072fcdbdf create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/heads/DefaultBranch create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/heads/branch2 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/heads/develop create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/heads/feature/1 create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/heads/home-md-img-check create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/heads/pr-to-update create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/heads/sub-home-md-img-check create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/notes/commits create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/pull/2/head create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/pull/3/head create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/pull/5/head create mode 100644 tests/gitea-repositories-meta/user2/repo1.git/refs/tags/v1.1 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/config create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/description create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/0c/f15c3f66ec8384480ed9c3cf87c9e97fbb0ec3 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/0d/ca5bd9b5d7ef937710e056f575e86c0184ba85 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/2c/54faec6c45d31c1abfaecdab471eac6633738a create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/32/5dc4f8e9344e6668f21536a69d5f1d4ed53ca3 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/42/3313fbd38093bb10d0c8387db9105409c6f196 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/53/0ab3e043bf2295fd1cec3129bf203a4349597a create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/71/911bf48766c7181518c1070911019fbb00b1fc create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/72/fc6251cc648e914c10009d31431fa2e38b9a20 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/74/d5a0d73db9b9ef7aa9978eb7a099b08f54d45e create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/7c/d7c8fa852973c72c66eb120a6677c54a8697f7 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/89/43a1d5f93c00439d5ffc0f8e36f5d60abae46c create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/bf/29486462016efad8872371078932d8c2cb5253 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/c0/b5b381e2df9f66d11e8c95fe7467b8fb7f3e4e create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/c1/0d10b7e655b3dab1f53176db57c8219a5488d6 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/c4/b38c3e1395393f75bbbc2ed10c7eeb577d3b64 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/d4/9ac742d44063dcf69d4e0afe725813b777dd89 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/e5/3d079e581fbfdea1075a54d5b621eab0090e52 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/ea/82fc8777a24b07c26b3a4bf4e2742c03733eab create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/objects/f5/05ec9b5c7a45a10259c1dda7f18434e5d55940 create mode 100644 tests/gitea-repositories-meta/user2/repo1.wiki.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/repo15.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/repo15.git/config create mode 100644 tests/gitea-repositories-meta/user2/repo15.git/description create mode 100755 tests/gitea-repositories-meta/user2/repo15.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/user2/repo15.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/repo15.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/user2/repo15.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/repo15.git/hooks/update create mode 100755 tests/gitea-repositories-meta/user2/repo15.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user2/repo15.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/config create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/description create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/0c/3d59dea27b97aa3cb66072745d7a2c51a7a8b1 create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/24/f83a471f77579fea57bac7255d6e64e70fce1c create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/27/566bd5738fc8b4e3fef3c5e72cce608537bd95 create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/3b/2b54fe3d9a8279d5b926124dccdf279b8eff2f create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/45/8121ce9a6b855c9733bae62093caf3f39685de create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/50/99b81332712fe655e34e8dd63574f503f61811 create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/69/554a64c1e6030f051e5c3f94bfbd773cd6a324 create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/a4/3476a501516e065c5a82f05fd58fd319598bc1 create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/e9/4083fcdf1f10c545e9253a23c5e44a2ff68aac create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/f2/7c2b2b03dcab38beaf89b0ab4ff61f6de63441 create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/objects/f9/0451c72ef61a7645293d17b47be7a8e983da57 create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/refs/heads/good-sign create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/refs/heads/good-sign-not-yet-validated create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/repo16.git/refs/heads/not-signed create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/config create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/description create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/info/refs create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/0a/7d8b41ae9763e9a1743917396839d1791d49d0 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/0c/f15c3f66ec8384480ed9c3cf87c9e97fbb0ec3 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/10/32bbf17fbc0d9c95bb5418dabe8f8c99278700 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/1c/887eaa8d81fa86da7695d8f635cf17813eb422 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/26/f842bcad37fa40a1bb34cbb5ee219ee35d863d create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/32/5dc4f8e9344e6668f21536a69d5f1d4ed53ca3 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/36/fff01c8c9f722d49d53186abd27b5be8d85338 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/42/3313fbd38093bb10d0c8387db9105409c6f196 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/71/911bf48766c7181518c1070911019fbb00b1fc create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/72/fc6251cc648e914c10009d31431fa2e38b9a20 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/74/d5a0d73db9b9ef7aa9978eb7a099b08f54d45e create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/7c/d7c8fa852973c72c66eb120a6677c54a8697f7 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/ba/1aed4e2ea2443d76cec241b96be4ec990852ec create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/c1/0d10b7e655b3dab1f53176db57c8219a5488d6 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/c4/b38c3e1395393f75bbbc2ed10c7eeb577d3b64 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/f5/05ec9b5c7a45a10259c1dda7f18434e5d55940 create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/info/commit-graph create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/pack/pack-a2f7ad943b3d857eb3ebdb4b35eeef38f63cf5d2.bitmap create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/pack/pack-a2f7ad943b3d857eb3ebdb4b35eeef38f63cf5d2.idx create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/objects/pack/pack-a2f7ad943b3d857eb3ebdb4b35eeef38f63cf5d2.pack create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/packed-refs create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/repo2.git/refs/tags/v1.1 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/config create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/description create mode 100755 tests/gitea-repositories-meta/user2/repo20.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/user2/repo20.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/repo20.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/user2/repo20.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/repo20.git/hooks/update create mode 100755 tests/gitea-repositories-meta/user2/repo20.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/info/refs create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/02/15cbe13d2695a2c3464ab5e59f47f37c3ff5d5 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/05/81d7edf45206787ff93956ea892e8a2ae77604 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/07/0b2e783a6b3e521a23fdead377a3e41a04410d create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/1b/271d83842d348b1ee71d8e6ead400aaeb4d1b5 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/29/5ba6ac57fdd46f62a51272f40e60b6dea697b2 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/2c/ec0f7069ed09d934e904c49f414d8bdf818ce4 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/41/4a282859758ba7b159bfbd9c2b193eb8f135ee create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/79/adb592126eddce5f656f56db797910db025af0 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/80/8038d2f71b0ab020991439cffd24309c7bc530 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/83/70977f63979e140b6b58992b1fdb4098b24cd9 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/8b/abce967f21b9dfa6987f943b91093dac58a4f0 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/8c/e1dee41e1a3700819a9a309f275f8dc7b7e0b6 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/a4/202876cd8bbc3f38b7d99594edbe1bb7f97a6f create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/b0/246d5964a3630491bd06c756be46513e3d7035 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/b6/7e43a07d48243a5f670ace063acd5e13f719df create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/ba/3aeafe10402c6b29535a58d91def7e43638d9d create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/c5/0ac6b9e25abb8200bb377755367d7265c581cf create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/c8/e31bc7688741a5287fcde4fbb8fc129ca07027 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/ce/013625030ba8dba906f756967f9e9ca394464a create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/cf/e3b3c1fd36fba04f9183287b106497e1afe986 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/db/89c972fc57862eae378f45b74aca228037d415 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/ea/f5f7510320b6a327fb308379de2f94d8859a54 create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/refs/heads/add-csv create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/refs/heads/remove-files-a create mode 100644 tests/gitea-repositories-meta/user2/repo20.git/refs/heads/remove-files-b create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/config create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/description create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/objects/info/commit-graph create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/objects/pack/pack-6dd3a6fe138f1d77e14c2e6b8e6c41e5ae242adf.idx create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/objects/pack/pack-6dd3a6fe138f1d77e14c2e6b8e6c41e5ae242adf.pack create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/objects/pack/pack-6dd3a6fe138f1d77e14c2e6b8e6c41e5ae242adf.rev create mode 100644 tests/gitea-repositories-meta/user2/repo59.git/packed-refs create mode 100644 tests/gitea-repositories-meta/user2/test_commit_revert.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/test_commit_revert.git/config create mode 100644 tests/gitea-repositories-meta/user2/test_commit_revert.git/description create mode 100644 tests/gitea-repositories-meta/user2/test_commit_revert.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/test_commit_revert.git/objects/pack/pack-91200c8e6707636a6cc3e0d8101fba08b19dcb91.idx create mode 100644 tests/gitea-repositories-meta/user2/test_commit_revert.git/objects/pack/pack-91200c8e6707636a6cc3e0d8101fba08b19dcb91.pack create mode 100644 tests/gitea-repositories-meta/user2/test_commit_revert.git/packed-refs create mode 100644 tests/gitea-repositories-meta/user2/test_commit_revert.git/refs/heads/main create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/config create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/description create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/objects/26/c8f930a36802d9cfb9785ca88704b1f52347aa create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/objects/2d/7f57e0a452699a5d2da0e42dcb2375de546c0a create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/objects/2d/89b2afa3e19e924330b4307a181714a4179010 create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904 create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/objects/77/4f93df12d14931ea93259ae93418da4482fcc1 create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/objects/96/63cd4783a54f3e57b2dd908b077cf8126c826c create mode 100644 tests/gitea-repositories-meta/user2/test_workflows.git/packed-refs create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/HEAD create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/config create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/description create mode 100755 tests/gitea-repositories-meta/user2/utf8.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/user2/utf8.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/utf8.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/user2/utf8.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user2/utf8.git/hooks/update create mode 100755 tests/gitea-repositories-meta/user2/utf8.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/info/refs create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/14/c42687126acae9d1ad41d7bdb528f811065a6a create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/1d/5e00f305a7ca6a8a94e65456820a6d260adab8 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/28/d579e4920fbf4f66e71dab3e779d9fbf41422a create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/3a/810dbf6b96afaa8c5f69a8b6ec1dabfca7368b create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/3a/a73c3499bff049a352b4e265575373e964b89a create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/3a/c6084110205f98174c4f1ec7e78cb21a15dfc2 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/4c/61dd0a799e0830e77edfe6c74f7c349bc8e62a create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/50/4d9fe743979d4e9785a25a363c7007293f0838 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/56/92bcf9f7c9eacb1ad68442161f2573877f96f4 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/59/e2c41e8f5140bb0182acebec17c8ad9831cc62 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/64/89894ad11093fdc49c0ed857d80682344a7264 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/6d/0c79ce3401c67d1ad522e61c47083a9fdee16c create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/84/7c6d93c6860dd377651245711b7fbcd34a18d4 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/9b/9cc8f558d1c4f815592496fa24308ba2a9c824 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/a4/f1bb3f2f8c6a0e840e935812ef4903ce515dad create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/a9/a61830fbf4e84999d3b20cf178954366701fe5 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/c7/85b65bf16928b58567cb23669125c0ccd25a4f create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/e9/63733b8a355cf860c465b4af7b236a6ef08783 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/eb/f146f803fccbc1471ef01d8fa0fe12c14e61a5 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/ee/9686cb562f492f64381bff7f298b2a1c67a141 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/f4/02ff67c0b3161c3988dbf6188e6e0df257fd75 create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/objects/info/packs create mode 100644 "tests/gitea-repositories-meta/user2/utf8.git/refs/heads/Gr\303\274\303\237en" create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/refs/heads/Plus+Is+Not+Space create mode 100644 tests/gitea-repositories-meta/user2/utf8.git/refs/heads/master create mode 100644 "tests/gitea-repositories-meta/user2/utf8.git/refs/heads/\320\223\320\273\320\260\320\262\320\275\320\260\321\217\320\222\320\265\321\202\320\272\320\260" create mode 100644 "tests/gitea-repositories-meta/user2/utf8.git/refs/heads/\320\260/\320\261/\320\262" create mode 100644 "tests/gitea-repositories-meta/user2/utf8.git/refs/heads/\343\203\226\343\203\251\343\203\263\343\203\201" create mode 100644 "tests/gitea-repositories-meta/user2/utf8.git/refs/tags/\320\201/\344\272\272" create mode 100644 "tests/gitea-repositories-meta/user2/utf8.git/refs/tags/\320\242\321\215\320\263" create mode 100644 "tests/gitea-repositories-meta/user2/utf8.git/refs/tags/\343\202\277\343\202\260" create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/HEAD create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/config create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/description create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/hooks/post-receive create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/hooks/post-receive.d/gitea create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/hooks/pre-receive create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/hooks/pre-receive.d/gitea create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/hooks/update create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/info/refs create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/objects/47/34b1f84a367fa1b81c31aa4234a5bad11cafa3 create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/objects/4d/31f3a12656368a8d9180f431d40d0fc408be2d create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/objects/51/f84af231345367fd5d61ceb89efb3b6d757061 create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/objects/79/3aa682b06ae032641abf70c5dfeade28c07c52 create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/objects/aa/cbdfe9e1c4b47f60abe81849045fa4e96f1d75 create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/objects/dd/392e939ea4936b2459219c9c9a1f25547ccaeb create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/objects/f2/8eeca3df7614fd4f10c1030f13feb418ef3c6f create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user27/repo49.git/refs/heads/test/archive create mode 100644 tests/gitea-repositories-meta/user27/template1.git/HEAD create mode 100644 tests/gitea-repositories-meta/user27/template1.git/config create mode 100644 tests/gitea-repositories-meta/user27/template1.git/description create mode 100644 tests/gitea-repositories-meta/user27/template1.git/hooks/post-receive create mode 100644 tests/gitea-repositories-meta/user27/template1.git/hooks/post-receive.d/gitea create mode 100644 tests/gitea-repositories-meta/user27/template1.git/hooks/pre-receive create mode 100644 tests/gitea-repositories-meta/user27/template1.git/hooks/pre-receive.d/gitea create mode 100644 tests/gitea-repositories-meta/user27/template1.git/hooks/update create mode 100644 tests/gitea-repositories-meta/user27/template1.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user27/template1.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user27/template1.git/info/refs create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/2a/83b349fa234131fc5db6f2a0498d3f4d3d6038 create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/3d/0bc64f2521cfc7ffce6c175c1c846c88eb6df7 create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/47/34b1f84a367fa1b81c31aa4234a5bad11cafa3 create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/4d/31f3a12656368a8d9180f431d40d0fc408be2d create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/51/f84af231345367fd5d61ceb89efb3b6d757061 create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/79/3aa682b06ae032641abf70c5dfeade28c07c52 create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/83/77b2196e99ac8635aae79df3db76959ccd1094 create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/99/45b93bcb5b70af06e0322bd2caa6180680991f create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/aa/cbdfe9e1c4b47f60abe81849045fa4e96f1d75 create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/af/f5b10402b4e0479d1e76bc41a42d29fe7f28fa create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/b9/04864fd6cd0c8e9054351fd39a980bfd214229 create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/c5/10abf4c7c3e0dc4bf07db9344c61c4e6ee7cbc create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/dd/392e939ea4936b2459219c9c9a1f25547ccaeb create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/f2/8eeca3df7614fd4f10c1030f13feb418ef3c6f create mode 100644 tests/gitea-repositories-meta/user27/template1.git/objects/info/packs create mode 100644 tests/gitea-repositories-meta/user27/template1.git/refs/heads/master create mode 100644 tests/gitea-repositories-meta/user30/empty.git/HEAD create mode 100644 tests/gitea-repositories-meta/user30/empty.git/config create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/HEAD create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/config create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/description create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/hooks/post-receive create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/hooks/post-receive.d/gitea create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/hooks/pre-receive create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/hooks/pre-receive.d/gitea create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/hooks/update create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/objects/06/0d5c2acd8bf4b6f14010acd1a73d73392ec46e create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/objects/45/14a93050edb2c3165bdd0a3c03be063e879e68 create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/objects/c9/61cc4d1ba6b7ee1ba228a9a02b00b7746d8033 create mode 100644 tests/gitea-repositories-meta/user30/renderer.git/packed-refs create mode 100644 tests/gitea-repositories-meta/user40/repo60.git/HEAD create mode 100644 tests/gitea-repositories-meta/user40/repo60.git/config create mode 100644 tests/gitea-repositories-meta/user40/repo60.git/description create mode 100644 tests/gitea-repositories-meta/user40/repo60.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user5/repo4.git/HEAD create mode 100644 tests/gitea-repositories-meta/user5/repo4.git/config create mode 100644 tests/gitea-repositories-meta/user5/repo4.git/description create mode 100755 tests/gitea-repositories-meta/user5/repo4.git/hooks/post-receive create mode 100755 tests/gitea-repositories-meta/user5/repo4.git/hooks/post-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user5/repo4.git/hooks/pre-receive create mode 100755 tests/gitea-repositories-meta/user5/repo4.git/hooks/pre-receive.d/gitea create mode 100755 tests/gitea-repositories-meta/user5/repo4.git/hooks/update create mode 100755 tests/gitea-repositories-meta/user5/repo4.git/hooks/update.d/gitea create mode 100644 tests/gitea-repositories-meta/user5/repo4.git/info/exclude create mode 100644 tests/gitea-repositories-meta/user5/repo4.git/objects/16/dfebd1ed3905d78d7e061e945fc9c34afe4e81 create mode 100644 tests/gitea-repositories-meta/user5/repo4.git/objects/c1/202ad022ae7d3a6d2474dc76d5a0c8e87cdc0f create mode 100644 tests/gitea-repositories-meta/user5/repo4.git/objects/c7/cd3cd144e6d23c9d6f3d07e52b2c1a956e0338 create mode 100644 tests/gitea-repositories-meta/user5/repo4.git/refs/heads/master create mode 100644 tests/integration/README.md create mode 100644 tests/integration/actions_commit_status_test.go create mode 100644 tests/integration/actions_route_test.go create mode 100644 tests/integration/actions_trigger_test.go create mode 100644 tests/integration/admin_config_test.go create mode 100644 tests/integration/admin_user_test.go create mode 100644 tests/integration/api_actions_artifact_test.go create mode 100644 tests/integration/api_actions_artifact_v4_test.go create mode 100644 tests/integration/api_activitypub_actor_test.go create mode 100644 tests/integration/api_activitypub_person_test.go create mode 100644 tests/integration/api_activitypub_repository_test.go create mode 100644 tests/integration/api_admin_org_test.go create mode 100644 tests/integration/api_admin_test.go create mode 100644 tests/integration/api_block_test.go create mode 100644 tests/integration/api_branch_test.go create mode 100644 tests/integration/api_comment_attachment_test.go create mode 100644 tests/integration/api_comment_test.go create mode 100644 tests/integration/api_feed_plain_text_titles_test.go create mode 100644 tests/integration/api_feed_user_test.go create mode 100644 tests/integration/api_forgejo_root_test.go create mode 100644 tests/integration/api_forgejo_version_test.go create mode 100644 tests/integration/api_fork_test.go create mode 100644 tests/integration/api_gitignore_templates_test.go create mode 100644 tests/integration/api_gpg_keys_test.go create mode 100644 tests/integration/api_health_test.go create mode 100644 tests/integration/api_helper_for_declarative_test.go create mode 100644 tests/integration/api_httpsig_test.go create mode 100644 tests/integration/api_issue_attachment_test.go create mode 100644 tests/integration/api_issue_config_test.go create mode 100644 tests/integration/api_issue_label_test.go create mode 100644 tests/integration/api_issue_milestone_test.go create mode 100644 tests/integration/api_issue_pin_test.go create mode 100644 tests/integration/api_issue_reaction_test.go create mode 100644 tests/integration/api_issue_stopwatch_test.go create mode 100644 tests/integration/api_issue_subscription_test.go create mode 100644 tests/integration/api_issue_templates_test.go create mode 100644 tests/integration/api_issue_test.go create mode 100644 tests/integration/api_issue_tracked_time_test.go create mode 100644 tests/integration/api_keys_test.go create mode 100644 tests/integration/api_label_templates_test.go create mode 100644 tests/integration/api_license_templates_test.go create mode 100644 tests/integration/api_nodeinfo_test.go create mode 100644 tests/integration/api_notification_test.go create mode 100644 tests/integration/api_oauth2_apps_test.go create mode 100644 tests/integration/api_org_avatar_test.go create mode 100644 tests/integration/api_org_test.go create mode 100644 tests/integration/api_packages_alpine_test.go create mode 100644 tests/integration/api_packages_arch_test.go create mode 100644 tests/integration/api_packages_cargo_test.go create mode 100644 tests/integration/api_packages_chef_test.go create mode 100644 tests/integration/api_packages_composer_test.go create mode 100644 tests/integration/api_packages_conan_test.go create mode 100644 tests/integration/api_packages_conda_test.go create mode 100644 tests/integration/api_packages_container_cleanup_sha256_test.go create mode 100644 tests/integration/api_packages_container_test.go create mode 100644 tests/integration/api_packages_cran_test.go create mode 100644 tests/integration/api_packages_debian_test.go create mode 100644 tests/integration/api_packages_generic_test.go create mode 100644 tests/integration/api_packages_goproxy_test.go create mode 100644 tests/integration/api_packages_helm_test.go create mode 100644 tests/integration/api_packages_maven_test.go create mode 100644 tests/integration/api_packages_npm_test.go create mode 100644 tests/integration/api_packages_nuget_test.go create mode 100644 tests/integration/api_packages_pub_test.go create mode 100644 tests/integration/api_packages_pypi_test.go create mode 100644 tests/integration/api_packages_rpm_test.go create mode 100644 tests/integration/api_packages_rubygems_test.go create mode 100644 tests/integration/api_packages_swift_test.go create mode 100644 tests/integration/api_packages_test.go create mode 100644 tests/integration/api_packages_vagrant_test.go create mode 100644 tests/integration/api_private_serv_test.go create mode 100644 tests/integration/api_pull_commits_test.go create mode 100644 tests/integration/api_pull_review_test.go create mode 100644 tests/integration/api_pull_test.go create mode 100644 tests/integration/api_push_mirror_test.go create mode 100644 tests/integration/api_quota_management_test.go create mode 100644 tests/integration/api_quota_use_test.go create mode 100644 tests/integration/api_releases_test.go create mode 100644 tests/integration/api_repo_activities_test.go create mode 100644 tests/integration/api_repo_archive_test.go create mode 100644 tests/integration/api_repo_avatar_test.go create mode 100644 tests/integration/api_repo_branch_test.go create mode 100644 tests/integration/api_repo_collaborator_test.go create mode 100644 tests/integration/api_repo_compare_test.go create mode 100644 tests/integration/api_repo_edit_test.go create mode 100644 tests/integration/api_repo_file_create_test.go create mode 100644 tests/integration/api_repo_file_delete_test.go create mode 100644 tests/integration/api_repo_file_get_test.go create mode 100644 tests/integration/api_repo_file_helpers.go create mode 100644 tests/integration/api_repo_file_update_test.go create mode 100644 tests/integration/api_repo_files_change_test.go create mode 100644 tests/integration/api_repo_get_contents_list_test.go create mode 100644 tests/integration/api_repo_get_contents_test.go create mode 100644 tests/integration/api_repo_git_blobs_test.go create mode 100644 tests/integration/api_repo_git_commits_test.go create mode 100644 tests/integration/api_repo_git_hook_test.go create mode 100644 tests/integration/api_repo_git_notes_test.go create mode 100644 tests/integration/api_repo_git_ref_test.go create mode 100644 tests/integration/api_repo_git_tags_test.go create mode 100644 tests/integration/api_repo_git_trees_test.go create mode 100644 tests/integration/api_repo_hook_test.go create mode 100644 tests/integration/api_repo_languages_test.go create mode 100644 tests/integration/api_repo_lfs_locks_test.go create mode 100644 tests/integration/api_repo_lfs_migrate_test.go create mode 100644 tests/integration/api_repo_lfs_test.go create mode 100644 tests/integration/api_repo_raw_test.go create mode 100644 tests/integration/api_repo_secrets_test.go create mode 100644 tests/integration/api_repo_tags_test.go create mode 100644 tests/integration/api_repo_teams_test.go create mode 100644 tests/integration/api_repo_test.go create mode 100644 tests/integration/api_repo_topic_test.go create mode 100644 tests/integration/api_repo_variables_test.go create mode 100644 tests/integration/api_settings_test.go create mode 100644 tests/integration/api_team_test.go create mode 100644 tests/integration/api_team_user_test.go create mode 100644 tests/integration/api_token_test.go create mode 100644 tests/integration/api_twofa_test.go create mode 100644 tests/integration/api_user_avatar_test.go create mode 100644 tests/integration/api_user_email_test.go create mode 100644 tests/integration/api_user_follow_test.go create mode 100644 tests/integration/api_user_heatmap_test.go create mode 100644 tests/integration/api_user_info_test.go create mode 100644 tests/integration/api_user_org_perm_test.go create mode 100644 tests/integration/api_user_orgs_test.go create mode 100644 tests/integration/api_user_search_test.go create mode 100644 tests/integration/api_user_secrets_test.go create mode 100644 tests/integration/api_user_star_test.go create mode 100644 tests/integration/api_user_variables_test.go create mode 100644 tests/integration/api_user_watch_test.go create mode 100644 tests/integration/api_wiki_test.go create mode 100644 tests/integration/archived_labels_display_test.go create mode 100644 tests/integration/attachment_test.go create mode 100644 tests/integration/auth_ldap_test.go create mode 100644 tests/integration/auth_token_test.go create mode 100644 tests/integration/avatar.png create mode 100644 tests/integration/benchmarks_test.go create mode 100644 tests/integration/block_test.go create mode 100644 tests/integration/branches_test.go create mode 100644 tests/integration/change_default_branch_test.go create mode 100644 tests/integration/cmd_admin_test.go create mode 100644 tests/integration/cmd_forgejo_actions_test.go create mode 100644 tests/integration/cmd_forgejo_f3_test.go create mode 100644 tests/integration/cmd_keys_test.go create mode 100644 tests/integration/codeowner_test.go create mode 100644 tests/integration/compare_test.go create mode 100644 tests/integration/cors_test.go create mode 100644 tests/integration/create_no_session_test.go create mode 100644 tests/integration/csrf_test.go create mode 100644 tests/integration/db_collation_test.go create mode 100644 tests/integration/delete_user_test.go create mode 100644 tests/integration/doctor_packages_nuget_test.go create mode 100644 tests/integration/download_test.go create mode 100644 tests/integration/dump_restore_test.go create mode 100644 tests/integration/easymde_test.go create mode 100644 tests/integration/editor_test.go create mode 100644 tests/integration/empty_repo_test.go create mode 100644 tests/integration/eventsource_test.go create mode 100644 tests/integration/explore_code_test.go create mode 100644 tests/integration/explore_repos_test.go create mode 100644 tests/integration/explore_user_test.go create mode 100644 tests/integration/fixtures/TestAdminDeleteUser/issue.yml create mode 100644 tests/integration/fixtures/TestAdminDeleteUser/issue_index.yml create mode 100644 tests/integration/fixtures/TestAdminDeleteUser/repository.yml create mode 100644 tests/integration/fixtures/TestAdminDeleteUser/user.yml create mode 100644 tests/integration/fixtures/TestBlockActions/comment.yml create mode 100644 tests/integration/fixtures/TestBlockActions/issue.yml create mode 100644 tests/integration/fixtures/TestBlockedNotifications/issue.yml create mode 100644 tests/integration/fixtures/TestCommitRefComment/comment.yml create mode 100644 tests/integration/fixtures/TestFeed/action.yml create mode 100644 tests/integration/fixtures/TestFeed/comment.yml create mode 100644 tests/integration/fixtures/TestFeed/team.yml create mode 100644 tests/integration/fixtures/TestFeed/team_repo.yml create mode 100644 tests/integration/fixtures/TestFeed/team_unit.yml create mode 100644 tests/integration/fixtures/TestFeed/team_user.yml create mode 100644 tests/integration/fixtures/TestGetContentHistory/issue_content_history.yml create mode 100644 tests/integration/fixtures/TestXSSReviewDismissed/comment.yml create mode 100644 tests/integration/fixtures/TestXSSReviewDismissed/review.yml create mode 100644 tests/integration/forgejo_confirmation_repo_test.go create mode 100644 tests/integration/forgejo_git_test.go create mode 100644 tests/integration/git_clone_wiki_test.go create mode 100644 tests/integration/git_helper_for_declarative_test.go create mode 100644 tests/integration/git_push_test.go create mode 100644 tests/integration/git_smart_http_test.go create mode 100644 tests/integration/git_test.go create mode 100644 tests/integration/goget_test.go create mode 100644 tests/integration/gpg_git_test.go create mode 100644 tests/integration/html_helper.go create mode 100644 tests/integration/incoming_email_test.go create mode 100644 tests/integration/integration_test.go create mode 100644 tests/integration/issue_subscribe_test.go create mode 100644 tests/integration/issue_test.go create mode 100644 tests/integration/issues_comment_labels_test.go create mode 100644 tests/integration/last_updated_time_test.go create mode 100644 tests/integration/lfs_getobject_test.go create mode 100644 tests/integration/lfs_local_endpoint_test.go create mode 100644 tests/integration/lfs_view_test.go create mode 100644 tests/integration/linguist_test.go create mode 100644 tests/integration/links_test.go create mode 100644 tests/integration/markup_external_test.go create mode 100644 tests/integration/markup_test.go create mode 100644 tests/integration/migrate_test.go create mode 100644 tests/integration/migration-test/forgejo-v1.19.0.mysql.sql.gz create mode 100644 tests/integration/migration-test/forgejo-v1.19.0.postgres.sql.gz create mode 100644 tests/integration/migration-test/forgejo-v1.19.0.sqlite3.sql.gz create mode 100644 tests/integration/migration-test/gitea-v1.6.4.mysql.sql.gz create mode 100644 tests/integration/migration-test/gitea-v1.6.4.postgres.sql.gz create mode 100644 tests/integration/migration-test/gitea-v1.6.4.sqlite3.sql.gz create mode 100644 tests/integration/migration-test/gitea-v1.7.0.mysql.sql.gz create mode 100644 tests/integration/migration-test/gitea-v1.7.0.postgres.sql.gz create mode 100644 tests/integration/migration-test/gitea-v1.7.0.sqlite3.sql.gz create mode 100644 tests/integration/migration-test/migration_test.go create mode 100644 tests/integration/milestone_test.go create mode 100644 tests/integration/mirror_pull_test.go create mode 100644 tests/integration/mirror_push_test.go create mode 100644 tests/integration/new_org_test.go create mode 100644 tests/integration/nonascii_branches_test.go create mode 100644 tests/integration/oauth_test.go create mode 100644 tests/integration/opengraph_test.go create mode 100644 tests/integration/org_count_test.go create mode 100644 tests/integration/org_nav_test.go create mode 100644 tests/integration/org_project_test.go create mode 100644 tests/integration/org_team_invite_test.go create mode 100644 tests/integration/org_test.go create mode 100644 tests/integration/private-testing.key create mode 100644 tests/integration/privateactivity_test.go create mode 100644 tests/integration/proctected_branch_test.go create mode 100644 tests/integration/project_test.go create mode 100644 tests/integration/pull_commit_test.go create mode 100644 tests/integration/pull_compare_test.go create mode 100644 tests/integration/pull_create_test.go create mode 100644 tests/integration/pull_diff_test.go create mode 100644 tests/integration/pull_icon_test.go create mode 100644 tests/integration/pull_merge_test.go create mode 100644 tests/integration/pull_reopen_test.go create mode 100644 tests/integration/pull_request_task_test.go create mode 100644 tests/integration/pull_review_test.go create mode 100644 tests/integration/pull_status_test.go create mode 100644 tests/integration/pull_summary_test.go create mode 100644 tests/integration/pull_test.go create mode 100644 tests/integration/pull_update_test.go create mode 100644 tests/integration/pull_wip_convert_test.go create mode 100644 tests/integration/quota_use_test.go create mode 100644 tests/integration/release_test.go create mode 100644 tests/integration/remote_test.go create mode 100644 tests/integration/rename_branch_test.go create mode 100644 tests/integration/repo_activity_test.go create mode 100644 tests/integration/repo_archive_test.go create mode 100644 tests/integration/repo_archive_text_test.go create mode 100644 tests/integration/repo_badges_test.go create mode 100644 tests/integration/repo_branch_test.go create mode 100644 tests/integration/repo_citation_test.go create mode 100644 tests/integration/repo_collaborator_test.go create mode 100644 tests/integration/repo_commits_search_test.go create mode 100644 tests/integration/repo_commits_test.go create mode 100644 tests/integration/repo_delete_test.go create mode 100644 tests/integration/repo_flags_test.go create mode 100644 tests/integration/repo_fork_test.go create mode 100644 tests/integration/repo_generate_test.go create mode 100644 tests/integration/repo_issue_title_test.go create mode 100644 tests/integration/repo_mergecommit_revert_test.go create mode 100644 tests/integration/repo_migrate_test.go create mode 100644 tests/integration/repo_migration_ui_test.go create mode 100644 tests/integration/repo_pagination_test.go create mode 100644 tests/integration/repo_search_test.go create mode 100644 tests/integration/repo_settings_hook_test.go create mode 100644 tests/integration/repo_settings_test.go create mode 100644 tests/integration/repo_signed_tag_test.go create mode 100644 tests/integration/repo_starwatch_test.go create mode 100644 tests/integration/repo_tag_test.go create mode 100644 tests/integration/repo_test.go create mode 100644 tests/integration/repo_topic_test.go create mode 100644 tests/integration/repo_view_test.go create mode 100644 tests/integration/repo_watch_test.go create mode 100644 tests/integration/repo_webhook_test.go create mode 100644 tests/integration/repo_wiki_test.go create mode 100644 tests/integration/repofiles_change_test.go create mode 100644 tests/integration/schemas/nodeinfo_2.1.json create mode 100644 tests/integration/session_test.go create mode 100644 tests/integration/setting_test.go create mode 100644 tests/integration/signin_test.go create mode 100644 tests/integration/signout_test.go create mode 100644 tests/integration/signup_test.go create mode 100644 tests/integration/size_translations_test.go create mode 100644 tests/integration/ssh_key_test.go create mode 100644 tests/integration/swagger_test.go create mode 100644 tests/integration/timetracking_test.go create mode 100644 tests/integration/user_avatar_test.go create mode 100644 tests/integration/user_count_test.go create mode 100644 tests/integration/user_dashboard_test.go create mode 100644 tests/integration/user_profile_activity_test.go create mode 100644 tests/integration/user_profile_follows_test.go create mode 100644 tests/integration/user_profile_test.go create mode 100644 tests/integration/user_test.go create mode 100644 tests/integration/version_test.go create mode 100644 tests/integration/view_test.go create mode 100644 tests/integration/webfinger_test.go create mode 100644 tests/integration/webhook_test.go create mode 100644 tests/integration/xss_test.go create mode 100644 tests/mysql.ini.tmpl create mode 100644 tests/pgsql.ini.tmpl create mode 100644 tests/sqlite.ini.tmpl create mode 100644 tests/test_utils.go create mode 100644 tests/testdata/data/attachments/a/0/a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a22 create mode 100755 tools/generate-images.js create mode 100755 tools/generate-svg.js create mode 100755 tools/lint-go-gopls.sh create mode 100755 tools/lint-templates-svg.js create mode 100644 tools/watch.sh create mode 100644 vitest.config.js create mode 100644 web_src/css/actions.css create mode 100644 web_src/css/admin.css create mode 100644 web_src/css/base.css create mode 100644 web_src/css/chroma/base.css create mode 100644 web_src/css/chroma/dark.css create mode 100644 web_src/css/chroma/light.css create mode 100644 web_src/css/codemirror/base.css create mode 100644 web_src/css/codemirror/dark.css create mode 100644 web_src/css/codemirror/light.css create mode 100644 web_src/css/dashboard.css create mode 100644 web_src/css/editor/combomarkdowneditor.css create mode 100644 web_src/css/editor/fileeditor.css create mode 100644 web_src/css/explore.css create mode 100644 web_src/css/features/codeeditor.css create mode 100644 web_src/css/features/colorpicker.css create mode 100644 web_src/css/features/console.css create mode 100644 web_src/css/features/dropzone.css create mode 100644 web_src/css/features/gitgraph.css create mode 100644 web_src/css/features/heatmap.css create mode 100644 web_src/css/features/imagediff.css create mode 100644 web_src/css/features/projects.css create mode 100644 web_src/css/features/tribute.css create mode 100644 web_src/css/font_i18n.css create mode 100644 web_src/css/form.css create mode 100644 web_src/css/helpers.css create mode 100644 web_src/css/home.css create mode 100644 web_src/css/index.css create mode 100644 web_src/css/install.css create mode 100644 web_src/css/markup/asciicast.css create mode 100644 web_src/css/markup/codecopy.css create mode 100644 web_src/css/markup/content.css create mode 100644 web_src/css/markup/dark.css create mode 100644 web_src/css/markup/filepreview.css create mode 100644 web_src/css/markup/light.css create mode 100644 web_src/css/modules/animations.css create mode 100644 web_src/css/modules/breadcrumb.css create mode 100644 web_src/css/modules/button.css create mode 100644 web_src/css/modules/card.css create mode 100644 web_src/css/modules/checkbox.css create mode 100644 web_src/css/modules/comment.css create mode 100644 web_src/css/modules/container.css create mode 100644 web_src/css/modules/divider.css create mode 100644 web_src/css/modules/flexcontainer.css create mode 100644 web_src/css/modules/grid.css create mode 100644 web_src/css/modules/header.css create mode 100644 web_src/css/modules/input.css create mode 100644 web_src/css/modules/label.css create mode 100644 web_src/css/modules/list.css create mode 100644 web_src/css/modules/message.css create mode 100644 web_src/css/modules/modal.css create mode 100644 web_src/css/modules/navbar.css create mode 100644 web_src/css/modules/normalize.css create mode 100644 web_src/css/modules/segment.css create mode 100644 web_src/css/modules/select.css create mode 100644 web_src/css/modules/svg.css create mode 100644 web_src/css/modules/table.css create mode 100644 web_src/css/modules/tippy.css create mode 100644 web_src/css/modules/toast.css create mode 100644 web_src/css/org.css create mode 100644 web_src/css/repo.css create mode 100644 web_src/css/repo/header.css create mode 100644 web_src/css/repo/issue-card.css create mode 100644 web_src/css/repo/issue-label.css create mode 100644 web_src/css/repo/issue-list.css create mode 100644 web_src/css/repo/linebutton.css create mode 100644 web_src/css/repo/list-header.css create mode 100644 web_src/css/repo/release-tag.css create mode 100644 web_src/css/repo/wiki.css create mode 100644 web_src/css/review.css create mode 100644 web_src/css/shared/flex-list.css create mode 100644 web_src/css/shared/milestone.css create mode 100644 web_src/css/shared/repoorg.css create mode 100644 web_src/css/shared/settings.css create mode 100644 web_src/css/standalone/devtest.css create mode 100644 web_src/css/standalone/swagger.css create mode 100644 web_src/css/themes/theme-forgejo-auto-deuteranopia-protanopia.css create mode 100644 web_src/css/themes/theme-forgejo-auto-tritanopia.css create mode 100644 web_src/css/themes/theme-forgejo-auto.css create mode 100644 web_src/css/themes/theme-forgejo-dark-deuteranopia-protanopia.css create mode 100644 web_src/css/themes/theme-forgejo-dark-tritanopia.css create mode 100644 web_src/css/themes/theme-forgejo-dark.css create mode 100644 web_src/css/themes/theme-forgejo-light-deuteranopia-protanopia.css create mode 100644 web_src/css/themes/theme-forgejo-light-tritanopia.css create mode 100644 web_src/css/themes/theme-forgejo-light.css create mode 100644 web_src/css/themes/theme-gitea-auto.css create mode 100644 web_src/css/themes/theme-gitea-dark.css create mode 100644 web_src/css/themes/theme-gitea-light.css create mode 100644 web_src/css/user.css create mode 100644 web_src/fomantic/.npmrc create mode 100644 web_src/fomantic/_site/globals/site.variables create mode 100644 web_src/fomantic/build/semantic.css create mode 100644 web_src/fomantic/build/semantic.js create mode 100644 web_src/fomantic/build/themes/default/assets/fonts/icons.woff2 create mode 100644 web_src/fomantic/build/themes/default/assets/fonts/outline-icons.woff2 create mode 100644 web_src/fomantic/package-lock.json create mode 100644 web_src/fomantic/package.json create mode 100644 web_src/fomantic/semantic.json create mode 100644 web_src/fomantic/theme.config.less create mode 100644 web_src/js/bootstrap.js create mode 100644 web_src/js/bootstrap.test.js create mode 100644 web_src/js/components/.eslintrc.yaml create mode 100644 web_src/js/components/ActionRunStatus.vue create mode 100644 web_src/js/components/ActivityHeatmap.vue create mode 100644 web_src/js/components/ContextPopup.test.js create mode 100644 web_src/js/components/ContextPopup.vue create mode 100644 web_src/js/components/DashboardRepoList.vue create mode 100644 web_src/js/components/DiffCommitSelector.vue create mode 100644 web_src/js/components/DiffFileList.vue create mode 100644 web_src/js/components/DiffFileTree.vue create mode 100644 web_src/js/components/DiffFileTreeItem.vue create mode 100644 web_src/js/components/PullRequestMergeForm.test.js create mode 100644 web_src/js/components/PullRequestMergeForm.vue create mode 100644 web_src/js/components/RepoActionView.test.js create mode 100644 web_src/js/components/RepoActionView.vue create mode 100644 web_src/js/components/RepoActivityTopAuthors.vue create mode 100644 web_src/js/components/RepoBranchTagSelector.vue create mode 100644 web_src/js/components/RepoCodeFrequency.vue create mode 100644 web_src/js/components/RepoContributors.vue create mode 100644 web_src/js/components/RepoRecentCommits.vue create mode 100644 web_src/js/components/ScopedAccessTokenSelector.vue create mode 100644 web_src/js/features/admin/common.js create mode 100644 web_src/js/features/admin/config.js create mode 100644 web_src/js/features/admin/emails.js create mode 100644 web_src/js/features/admin/users.js create mode 100644 web_src/js/features/autofocus-end.js create mode 100644 web_src/js/features/captcha.js create mode 100644 web_src/js/features/citation.js create mode 100644 web_src/js/features/clipboard.js create mode 100644 web_src/js/features/code-frequency.js create mode 100644 web_src/js/features/codeeditor.js create mode 100644 web_src/js/features/colorpicker.js create mode 100644 web_src/js/features/common-global.js create mode 100644 web_src/js/features/common-issue-list.js create mode 100644 web_src/js/features/common-issue-list.test.js create mode 100644 web_src/js/features/common-organization.js create mode 100644 web_src/js/features/comp/ComboMarkdownEditor.js create mode 100644 web_src/js/features/comp/ConfirmModal.js create mode 100644 web_src/js/features/comp/EasyMDEToolbarActions.js create mode 100644 web_src/js/features/comp/LabelEdit.js create mode 100644 web_src/js/features/comp/Paste.js create mode 100644 web_src/js/features/comp/QuickSubmit.js create mode 100644 web_src/js/features/comp/ReactionSelector.js create mode 100644 web_src/js/features/comp/SearchUserBox.js create mode 100644 web_src/js/features/comp/TextExpander.js create mode 100644 web_src/js/features/comp/WebHookEditor.js create mode 100644 web_src/js/features/contextpopup.js create mode 100644 web_src/js/features/contributors.js create mode 100644 web_src/js/features/copycontent.js create mode 100644 web_src/js/features/dropzone.js create mode 100644 web_src/js/features/emoji.js create mode 100644 web_src/js/features/eventsource.sharedworker.js create mode 100644 web_src/js/features/file-fold.js create mode 100644 web_src/js/features/heatmap.js create mode 100644 web_src/js/features/imagediff.js create mode 100644 web_src/js/features/install.js create mode 100644 web_src/js/features/notification.js create mode 100644 web_src/js/features/org-team.js create mode 100644 web_src/js/features/pull-view-file.js create mode 100644 web_src/js/features/recent-commits.js create mode 100644 web_src/js/features/repo-branch.js create mode 100644 web_src/js/features/repo-code.js create mode 100644 web_src/js/features/repo-code.test.js create mode 100644 web_src/js/features/repo-commit.js create mode 100644 web_src/js/features/repo-common.js create mode 100644 web_src/js/features/repo-diff-commit.js create mode 100644 web_src/js/features/repo-diff-commitselect.js create mode 100644 web_src/js/features/repo-diff-filetree.js create mode 100644 web_src/js/features/repo-diff.js create mode 100644 web_src/js/features/repo-editor.js create mode 100644 web_src/js/features/repo-findfile.js create mode 100644 web_src/js/features/repo-findfile.test.js create mode 100644 web_src/js/features/repo-graph.js create mode 100644 web_src/js/features/repo-home.js create mode 100644 web_src/js/features/repo-issue-content.js create mode 100644 web_src/js/features/repo-issue-list.js create mode 100644 web_src/js/features/repo-issue-pr-form.js create mode 100644 web_src/js/features/repo-issue-pr-status.js create mode 100644 web_src/js/features/repo-issue.js create mode 100644 web_src/js/features/repo-issue.test.js create mode 100644 web_src/js/features/repo-legacy.js create mode 100644 web_src/js/features/repo-migrate.js create mode 100644 web_src/js/features/repo-migration.js create mode 100644 web_src/js/features/repo-projects.js create mode 100644 web_src/js/features/repo-release.js create mode 100644 web_src/js/features/repo-search.js create mode 100644 web_src/js/features/repo-settings.js create mode 100644 web_src/js/features/repo-template.js create mode 100644 web_src/js/features/repo-unicode-escape.js create mode 100644 web_src/js/features/repo-wiki.js create mode 100644 web_src/js/features/sshkey-helper.js create mode 100644 web_src/js/features/stopwatch.js create mode 100644 web_src/js/features/tablesort.js create mode 100644 web_src/js/features/tribute.js create mode 100644 web_src/js/features/user-auth-webauthn.js create mode 100644 web_src/js/features/user-auth.js create mode 100644 web_src/js/features/user-settings.js create mode 100644 web_src/js/htmx.js create mode 100644 web_src/js/index.js create mode 100644 web_src/js/jquery.js create mode 100644 web_src/js/markup/anchors.js create mode 100644 web_src/js/markup/asciicast.js create mode 100644 web_src/js/markup/codecopy.js create mode 100644 web_src/js/markup/common.js create mode 100644 web_src/js/markup/content.js create mode 100644 web_src/js/markup/math.js create mode 100644 web_src/js/markup/mermaid.js create mode 100644 web_src/js/markup/tasklist.js create mode 100644 web_src/js/modules/dirauto.js create mode 100644 web_src/js/modules/fetch.js create mode 100644 web_src/js/modules/fetch.test.js create mode 100644 web_src/js/modules/fomantic.js create mode 100644 web_src/js/modules/fomantic/api.js create mode 100644 web_src/js/modules/fomantic/aria.md create mode 100644 web_src/js/modules/fomantic/base.js create mode 100644 web_src/js/modules/fomantic/checkbox.js create mode 100644 web_src/js/modules/fomantic/dropdown.js create mode 100644 web_src/js/modules/fomantic/form.js create mode 100644 web_src/js/modules/fomantic/modal.js create mode 100644 web_src/js/modules/fomantic/transition.js create mode 100644 web_src/js/modules/sortable.js create mode 100644 web_src/js/modules/stores.js create mode 100644 web_src/js/modules/tippy.js create mode 100644 web_src/js/modules/toast.js create mode 100644 web_src/js/modules/toast.test.js create mode 100644 web_src/js/render/ansi.js create mode 100644 web_src/js/render/ansi.test.js create mode 100644 web_src/js/render/pdf.js create mode 100644 web_src/js/standalone/devtest.js create mode 100644 web_src/js/standalone/forgejo-swagger.js create mode 100644 web_src/js/standalone/swagger.js create mode 100644 web_src/js/svg.js create mode 100644 web_src/js/svg.test.js create mode 100644 web_src/js/utils.js create mode 100644 web_src/js/utils.test.js create mode 100644 web_src/js/utils/color.js create mode 100644 web_src/js/utils/color.test.js create mode 100644 web_src/js/utils/dom.js create mode 100644 web_src/js/utils/dom.test.js create mode 100644 web_src/js/utils/image.js create mode 100644 web_src/js/utils/image.test.js create mode 100644 web_src/js/utils/match.js create mode 100644 web_src/js/utils/match.test.js create mode 100644 web_src/js/utils/time.js create mode 100644 web_src/js/utils/time.test.js create mode 100644 web_src/js/utils/url.js create mode 100644 web_src/js/utils/url.test.js create mode 100644 web_src/js/vendor/jquery.are-you-sure.js create mode 100644 web_src/js/vitest.setup.js create mode 100644 web_src/js/webcomponents/README.md create mode 100644 web_src/js/webcomponents/absolute-date.js create mode 100644 web_src/js/webcomponents/absolute-date.test.js create mode 100644 web_src/js/webcomponents/index.js create mode 100644 web_src/js/webcomponents/origin-url.js create mode 100644 web_src/js/webcomponents/origin-url.test.js create mode 100644 web_src/js/webcomponents/overflow-menu.js create mode 100644 web_src/js/webcomponents/polyfills.js create mode 100644 web_src/svg/fontawesome-openid.svg create mode 100644 web_src/svg/fontawesome-save.svg create mode 100644 web_src/svg/fontawesome-send.svg create mode 100644 web_src/svg/fontawesome-windows.svg create mode 100644 web_src/svg/gitea-alpine.svg create mode 100644 web_src/svg/gitea-arch.svg create mode 100644 web_src/svg/gitea-azuread.svg create mode 100644 web_src/svg/gitea-azureadv2.svg create mode 100644 web_src/svg/gitea-bitbucket.svg create mode 100644 web_src/svg/gitea-cargo.svg create mode 100644 web_src/svg/gitea-chef.svg create mode 100644 web_src/svg/gitea-codebase.svg create mode 100644 web_src/svg/gitea-composer.svg create mode 100644 web_src/svg/gitea-conan.svg create mode 100644 web_src/svg/gitea-conda.svg create mode 100644 web_src/svg/gitea-cran.svg create mode 100644 web_src/svg/gitea-debian.svg create mode 100644 web_src/svg/gitea-discord.svg create mode 100644 web_src/svg/gitea-double-chevron-left.svg create mode 100644 web_src/svg/gitea-double-chevron-right.svg create mode 100644 web_src/svg/gitea-dropbox.svg create mode 100644 web_src/svg/gitea-empty-checkbox.svg create mode 100644 web_src/svg/gitea-exclamation.svg create mode 100644 web_src/svg/gitea-facebook.svg create mode 100644 web_src/svg/gitea-forgejo.svg create mode 100644 web_src/svg/gitea-git.svg create mode 100644 web_src/svg/gitea-gitbucket.svg create mode 100644 web_src/svg/gitea-gitea.svg create mode 100644 web_src/svg/gitea-gitlab.svg create mode 100644 web_src/svg/gitea-go.svg create mode 100644 web_src/svg/gitea-gogs.svg create mode 100644 web_src/svg/gitea-google.svg create mode 100644 web_src/svg/gitea-helm.svg create mode 100644 web_src/svg/gitea-jetbrains.svg create mode 100644 web_src/svg/gitea-join.svg create mode 100644 web_src/svg/gitea-lock-cog.svg create mode 100644 web_src/svg/gitea-lock.svg create mode 100644 web_src/svg/gitea-mastodon.svg create mode 100644 web_src/svg/gitea-matrix.svg create mode 100644 web_src/svg/gitea-maven.svg create mode 100644 web_src/svg/gitea-microsoftonline.svg create mode 100644 web_src/svg/gitea-nextcloud.svg create mode 100644 web_src/svg/gitea-npm.svg create mode 100644 web_src/svg/gitea-nuget.svg create mode 100644 web_src/svg/gitea-onedev.svg create mode 100644 web_src/svg/gitea-open-with-jetbrains.svg create mode 100644 web_src/svg/gitea-open-with-vscode.svg create mode 100644 web_src/svg/gitea-open-with-vscodium.svg create mode 100644 web_src/svg/gitea-openid.svg create mode 100644 web_src/svg/gitea-pub.svg create mode 100644 web_src/svg/gitea-python.svg create mode 100644 web_src/svg/gitea-rpm.svg create mode 100644 web_src/svg/gitea-rubygems.svg create mode 100644 web_src/svg/gitea-split.svg create mode 100644 web_src/svg/gitea-swift.svg create mode 100644 web_src/svg/gitea-twitter.svg create mode 100644 web_src/svg/gitea-unlock.svg create mode 100644 web_src/svg/gitea-vagrant.svg create mode 100644 web_src/svg/gitea-vscodium.svg create mode 100644 web_src/svg/gitea-whitespace.svg create mode 100644 web_src/svg/gitea-yandex.svg create mode 100644 web_src/svg/material-invert-colors.svg create mode 100644 web_src/svg/material-palette.svg create mode 100644 webpack.config.js diff --git a/.air.toml b/.air.toml new file mode 100644 index 0000000..af18269 --- /dev/null +++ b/.air.toml @@ -0,0 +1,29 @@ +root = "." +tmp_dir = ".air" + +[build] +pre_cmd = ["killall -9 gitea 2>/dev/null || true"] # kill off potential zombie processes from previous runs +cmd = "make --no-print-directory backend" +bin = "gitea" +delay = 2000 +include_ext = ["go", "tmpl"] +include_file = ["main.go"] +include_dir = ["cmd", "models", "modules", "options", "routers", "services"] +exclude_dir = [ + "models/fixtures", + "models/migrations/fixtures", + "modules/avatar/identicon/testdata", + "modules/avatar/testdata", + "modules/git/tests", + "modules/migration/file_format_testdata", + "modules/markup/tests/repo/repo1_filepreview", + "routers/private/tests", + "services/gitdiff/testdata", + "services/migrations/testdata", + "services/webhook/sourcehut/testdata", +] +exclude_regex = ["_test.go$", "_gen.go$"] +stop_on_error = true + +[log] +main_only = true diff --git a/.deadcode-out b/.deadcode-out new file mode 100644 index 0000000..f6a194b --- /dev/null +++ b/.deadcode-out @@ -0,0 +1,303 @@ +code.gitea.io/gitea/cmd + NoMainListener + +code.gitea.io/gitea/cmd/forgejo + ContextSetNoInit + ContextSetNoExit + ContextSetStderr + ContextGetStderr + ContextSetStdout + ContextSetStdin + +code.gitea.io/gitea/models + IsErrUpdateTaskNotExist + ErrUpdateTaskNotExist.Error + ErrUpdateTaskNotExist.Unwrap + IsErrSHANotFound + IsErrMergeDivergingFastForwardOnly + GetYamlFixturesAccess + +code.gitea.io/gitea/models/actions + ScheduleList.GetUserIDs + ScheduleList.GetRepoIDs + ScheduleList.LoadTriggerUser + ScheduleList.LoadRepos + +code.gitea.io/gitea/models/asymkey + ErrGPGKeyAccessDenied.Error + ErrGPGKeyAccessDenied.Unwrap + HasDeployKey + +code.gitea.io/gitea/models/auth + GetSourceByName + WebAuthnCredentials + +code.gitea.io/gitea/models/db + TruncateBeans + InTransaction + DumpTables + +code.gitea.io/gitea/models/dbfs + file.renameTo + Create + Rename + +code.gitea.io/gitea/models/forgefed + GetFederationHost + +code.gitea.io/gitea/models/forgejo/semver + GetVersion + SetVersionString + SetVersion + +code.gitea.io/gitea/models/git + RemoveDeletedBranchByID + +code.gitea.io/gitea/models/issues + IsErrUnknownDependencyType + ErrNewIssueInsert.Error + IsErrIssueWasClosed + ChangeMilestoneStatus + +code.gitea.io/gitea/models/organization + GetTeamNamesByID + UpdateTeamUnits + SearchMembersOptions.ToConds + UsersInTeamsCount + +code.gitea.io/gitea/models/perm/access + GetRepoWriters + +code.gitea.io/gitea/models/project + UpdateColumnSorting + ChangeProjectStatus + +code.gitea.io/gitea/models/repo + DeleteAttachmentsByIssue + FindReposMapByIDs + IsErrTopicNotExist + ErrTopicNotExist.Error + ErrTopicNotExist.Unwrap + GetTopicByName + WatchRepoMode + +code.gitea.io/gitea/models/user + ErrUserInactive.Error + ErrUserInactive.Unwrap + IsErrExternalLoginUserAlreadyExist + IsErrExternalLoginUserNotExist + NewFederatedUser + IsErrUserSettingIsNotExist + GetUserAllSettings + DeleteUserSetting + GetUserEmailsByNames + GetUserNamesByIDs + +code.gitea.io/gitea/modules/activitypub + NewContext + Context.APClientFactory + +code.gitea.io/gitea/modules/assetfs + Bindata + +code.gitea.io/gitea/modules/auth/password/hash + DummyHasher.HashWithSaltBytes + NewDummyHasher + +code.gitea.io/gitea/modules/auth/password/pwn + WithHTTP + +code.gitea.io/gitea/modules/base + SetupGiteaRoot + +code.gitea.io/gitea/modules/cache + GetInt + WithNoCacheContext + RemoveContextData + +code.gitea.io/gitea/modules/charset + BreakWriter.Write + +code.gitea.io/gitea/modules/emoji + ReplaceCodes + +code.gitea.io/gitea/modules/eventsource + Event.String + +code.gitea.io/gitea/modules/forgefed + GetItemByType + JSONUnmarshalerFn + NotEmpty + ToRepository + OnRepository + +code.gitea.io/gitea/modules/git + AllowLFSFiltersArgs + AddChanges + AddChangesWithArgs + CommitChanges + CommitChangesWithArgs + IsErrExecTimeout + ErrExecTimeout.Error + ErrUnsupportedVersion.Error + SetUpdateHook + openRepositoryWithDefaultContext + IsTagExist + ToEntryMode + LimitedReaderCloser.Read + LimitedReaderCloser.Close + +code.gitea.io/gitea/modules/gitgraph + Parser.Reset + +code.gitea.io/gitea/modules/gitrepo + GetBranchCommitID + GetWikiDefaultBranch + +code.gitea.io/gitea/modules/graceful + Manager.TerminateContext + Manager.Err + Manager.Value + Manager.Deadline + +code.gitea.io/gitea/modules/hcaptcha + WithHTTP + +code.gitea.io/gitea/modules/hostmatcher + HostMatchList.AppendPattern + +code.gitea.io/gitea/modules/json + StdJSON.Marshal + StdJSON.Unmarshal + StdJSON.NewEncoder + StdJSON.NewDecoder + StdJSON.Indent + +code.gitea.io/gitea/modules/markup + GetRendererByType + RenderString + IsMarkupFile + +code.gitea.io/gitea/modules/markup/console + Render + RenderString + +code.gitea.io/gitea/modules/markup/markdown + IsDetails + IsSummary + IsTaskCheckBoxListItem + IsIcon + RenderRawString + +code.gitea.io/gitea/modules/markup/markdown/math + WithInlineDollarParser + WithBlockDollarParser + +code.gitea.io/gitea/modules/markup/mdstripper + stripRenderer.AddOptions + StripMarkdown + +code.gitea.io/gitea/modules/markup/orgmode + RenderString + +code.gitea.io/gitea/modules/private + ActionsRunnerRegister + +code.gitea.io/gitea/modules/process + Manager.ExecTimeout + +code.gitea.io/gitea/modules/queue + newBaseChannelSimple + newBaseChannelUnique + newBaseRedisSimple + newBaseRedisUnique + testStateRecorder.Records + testStateRecorder.Reset + newWorkerPoolQueueForTest + +code.gitea.io/gitea/modules/queue/lqinternal + QueueItemIDBytes + QueueItemKeyBytes + ListLevelQueueKeys + +code.gitea.io/gitea/modules/setting + NewConfigProviderFromData + GitConfigType.GetOption + InitLoggersForTest + +code.gitea.io/gitea/modules/storage + ErrInvalidConfiguration.Error + IsErrInvalidConfiguration + +code.gitea.io/gitea/modules/structs + ParseCreateHook + ParsePushHook + +code.gitea.io/gitea/modules/sync + StatusTable.Start + StatusTable.IsRunning + +code.gitea.io/gitea/modules/timeutil + GetExecutableModTime + MockSet + MockUnset + +code.gitea.io/gitea/modules/translation + MockLocale.Language + MockLocale.TrString + MockLocale.Tr + MockLocale.TrN + MockLocale.TrSize + MockLocale.PrettyNumber + +code.gitea.io/gitea/modules/util/filebuffer + CreateFromReader + +code.gitea.io/gitea/modules/validation + IsErrNotValid + +code.gitea.io/gitea/modules/web + RouteMock + RouteMockReset + +code.gitea.io/gitea/modules/web/middleware + DeleteLocaleCookie + +code.gitea.io/gitea/modules/zstd + NewWriter + Writer.Write + Writer.Close + +code.gitea.io/gitea/routers/web + NotFound + +code.gitea.io/gitea/routers/web/org + MustEnableProjects + +code.gitea.io/gitea/services/context + GetPrivateContext + +code.gitea.io/gitea/services/convert + ToSecret + +code.gitea.io/gitea/services/forms + DeadlineForm.Validate + +code.gitea.io/gitea/services/pull + IsCommitStatusContextSuccess + +code.gitea.io/gitea/services/repository + IsErrForkAlreadyExist + +code.gitea.io/gitea/services/repository/archiver + ArchiveRepository + +code.gitea.io/gitea/services/repository/files + ContentType.String + GetFileResponseFromCommit + TemporaryUploadRepository.GetLastCommit + TemporaryUploadRepository.GetLastCommitByRef + +code.gitea.io/gitea/services/webhook + NewNotifier + diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..da64901 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,42 @@ +{ + "name": "Gitea DevContainer", + "image": "mcr.microsoft.com/devcontainers/go:1.23-bullseye", + "features": { + // installs nodejs into container + "ghcr.io/devcontainers/features/node:1": { + "version": "20" + }, + "ghcr.io/devcontainers/features/git-lfs:1.2.1": {}, + "ghcr.io/devcontainers-contrib/features/poetry:2": {}, + "ghcr.io/devcontainers/features/python:1": { + "version": "3.12" + }, + "ghcr.io/warrenbuckley/codespace-features/sqlite:1": {} + }, + "customizations": { + "vscode": { + "settings": {}, + // same extensions as Gitpod, should match /.gitpod.yml + "extensions": [ + "editorconfig.editorconfig", + "dbaeumer.vscode-eslint", + "golang.go", + "stylelint.vscode-stylelint", + "DavidAnson.vscode-markdownlint", + "Vue.volar", + "ms-azuretools.vscode-docker", + "vitest.explorer", + "cweijan.vscode-database-client2", + "GitHub.vscode-pull-request-github", + "Azurite.azurite" + ] + } + }, + "portsAttributes": { + "3000": { + "label": "Gitea Web", + "onAutoForward": "notify" + } + }, + "postCreateCommand": "make deps" +} diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..a1611a1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,114 @@ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# IntelliJ +.idea +# Goland's output filename can not be set manually +/go_build_* + +# MS VSCode +.vscode +__debug_bin* + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe +*.test +*.prof + +*coverage.out +coverage.all +cpu.out + +/modules/migration/bindata.go +/modules/migration/bindata.go.hash +/modules/options/bindata.go +/modules/options/bindata.go.hash +/modules/public/bindata.go +/modules/public/bindata.go.hash +/modules/templates/bindata.go +/modules/templates/bindata.go.hash + +*.db +*.log + +/gitea +/gitea-vet +/debug +/integrations.test + +/bin +/dist +/custom/* +!/custom/conf +/custom/conf/* +!/custom/conf/app.example.ini +/data +/indexers +/log +/tests/integration/gitea-integration-* +/tests/integration/indexers-* +/tests/e2e/gitea-e2e-* +/tests/e2e/indexers-* +/tests/e2e/reports +/tests/e2e/test-artifacts +/tests/e2e/test-snapshots +/tests/*.ini +/yarn.lock +/yarn-error.log +/npm-debug.log* +/public/assets/js +/public/assets/css +/public/assets/fonts +/public/assets/img/avatar +/vendor +/web_src/fomantic/node_modules +/web_src/fomantic/build/* +!/web_src/fomantic/build/semantic.js +!/web_src/fomantic/build/semantic.css +!/web_src/fomantic/build/themes +/web_src/fomantic/build/themes/* +!/web_src/fomantic/build/themes/default +/web_src/fomantic/build/themes/default/assets/* +!/web_src/fomantic/build/themes/default/assets/fonts +/web_src/fomantic/build/themes/default/assets/fonts/* +!/web_src/fomantic/build/themes/default/assets/fonts/icons.woff2 +!/web_src/fomantic/build/themes/default/assets/fonts/outline-icons.woff2 +/VERSION +/.air +/.go-licenses + +# Files and folders that were previously generated +/public/assets/img/webpack + +# Snapcraft +snap/.snapcraft/ +parts/ +stage/ +prime/ +*.snap +*.snap-build +*_source.tar.bz2 +.DS_Store + +# Make evidence files +/.make_evidence + +# Manpage +/man diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8e2234e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,28 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +tab_width = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[{*.{go,tmpl,html},Makefile,go.mod}] +indent_style = tab + +[templates/custom/*.tmpl] +insert_final_newline = false + +[templates/swagger/v1_json.tmpl] +indent_style = space + +[templates/user/auth/oidc_wellknown.tmpl] +indent_style = space + +[*.svg] +insert_final_newline = false + +[options/locale/locale_*.ini] +insert_final_newline = false diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.eslintrc.yaml b/.eslintrc.yaml new file mode 100644 index 0000000..db85b14 --- /dev/null +++ b/.eslintrc.yaml @@ -0,0 +1,803 @@ +root: true +reportUnusedDisableDirectives: true + +ignorePatterns: + - /web_src/js/vendor + - /web_src/fomantic + - /public/assets/js + +parserOptions: + sourceType: module + ecmaVersion: latest + +plugins: + - "@eslint-community/eslint-plugin-eslint-comments" + - "@stylistic/eslint-plugin-js" + - "@vitest" + - eslint-plugin-array-func + - eslint-plugin-github + - eslint-plugin-i + - eslint-plugin-no-jquery + - eslint-plugin-no-use-extend-native + - eslint-plugin-regexp + - eslint-plugin-sonarjs + - eslint-plugin-unicorn + - eslint-plugin-vitest-globals + - eslint-plugin-wc + +env: + es2024: true + node: true + +overrides: + - files: ["web_src/**/*"] + globals: + __webpack_public_path__: true + process: false # https://github.com/webpack/webpack/issues/15833 + - files: ["web_src/**/*", "docs/**/*"] + env: + browser: true + node: false + - files: ["web_src/**/*worker.*"] + env: + worker: true + rules: + no-restricted-globals: [2, addEventListener, blur, close, closed, confirm, defaultStatus, defaultstatus, error, event, external, find, focus, frameElement, frames, history, innerHeight, innerWidth, isFinite, isNaN, length, locationbar, menubar, moveBy, moveTo, name, onblur, onerror, onfocus, onload, onresize, onunload, open, opener, opera, outerHeight, outerWidth, pageXOffset, pageYOffset, parent, print, removeEventListener, resizeBy, resizeTo, screen, screenLeft, screenTop, screenX, screenY, scroll, scrollbars, scrollBy, scrollTo, scrollX, scrollY, status, statusbar, stop, toolbar, top] + - files: ["*.config.*"] + rules: + i/no-unused-modules: [0] + - files: ["**/*.test.*", "web_src/js/test/setup.js"] + env: + vitest-globals/env: true + rules: + "@vitest/consistent-test-filename": [0] + "@vitest/consistent-test-it": [0] + "@vitest/expect-expect": [0] + "@vitest/max-expects": [0] + "@vitest/max-nested-describe": [0] + "@vitest/no-alias-methods": [0] + "@vitest/no-commented-out-tests": [0] + "@vitest/no-conditional-expect": [0] + "@vitest/no-conditional-in-test": [0] + "@vitest/no-conditional-tests": [0] + "@vitest/no-disabled-tests": [0] + "@vitest/no-done-callback": [0] + "@vitest/no-duplicate-hooks": [0] + "@vitest/no-focused-tests": [0] + "@vitest/no-hooks": [0] + "@vitest/no-identical-title": [2] + "@vitest/no-interpolation-in-snapshots": [0] + "@vitest/no-large-snapshots": [0] + "@vitest/no-mocks-import": [0] + "@vitest/no-restricted-matchers": [0] + "@vitest/no-restricted-vi-methods": [0] + "@vitest/no-standalone-expect": [0] + "@vitest/no-test-prefixes": [0] + "@vitest/no-test-return-statement": [0] + "@vitest/prefer-called-with": [0] + "@vitest/prefer-comparison-matcher": [0] + "@vitest/prefer-each": [0] + "@vitest/prefer-equality-matcher": [0] + "@vitest/prefer-expect-resolves": [0] + "@vitest/prefer-hooks-in-order": [0] + "@vitest/prefer-hooks-on-top": [2] + "@vitest/prefer-lowercase-title": [0] + "@vitest/prefer-mock-promise-shorthand": [0] + "@vitest/prefer-snapshot-hint": [0] + "@vitest/prefer-spy-on": [0] + "@vitest/prefer-strict-equal": [0] + "@vitest/prefer-to-be": [0] + "@vitest/prefer-to-be-falsy": [0] + "@vitest/prefer-to-be-object": [0] + "@vitest/prefer-to-be-truthy": [0] + "@vitest/prefer-to-contain": [0] + "@vitest/prefer-to-have-length": [0] + "@vitest/prefer-todo": [0] + "@vitest/require-hook": [0] + "@vitest/require-to-throw-message": [0] + "@vitest/require-top-level-describe": [0] + "@vitest/valid-describe-callback": [2] + "@vitest/valid-expect": [2] + "@vitest/valid-title": [2] + - files: ["web_src/js/modules/fetch.js", "web_src/js/standalone/**/*"] + rules: + no-restricted-syntax: [2, WithStatement, ForInStatement, LabeledStatement, SequenceExpression] + +rules: + "@eslint-community/eslint-comments/disable-enable-pair": [2] + "@eslint-community/eslint-comments/no-aggregating-enable": [2] + "@eslint-community/eslint-comments/no-duplicate-disable": [2] + "@eslint-community/eslint-comments/no-restricted-disable": [0] + "@eslint-community/eslint-comments/no-unlimited-disable": [2] + "@eslint-community/eslint-comments/no-unused-disable": [2] + "@eslint-community/eslint-comments/no-unused-enable": [2] + "@eslint-community/eslint-comments/no-use": [0] + "@eslint-community/eslint-comments/require-description": [0] + "@stylistic/js/array-bracket-newline": [0] + "@stylistic/js/array-bracket-spacing": [2, never] + "@stylistic/js/array-element-newline": [0] + "@stylistic/js/arrow-parens": [2, always] + "@stylistic/js/arrow-spacing": [2, {before: true, after: true}] + "@stylistic/js/block-spacing": [0] + "@stylistic/js/brace-style": [2, 1tbs, {allowSingleLine: true}] + "@stylistic/js/comma-dangle": [2, always-multiline] + "@stylistic/js/comma-spacing": [2, {before: false, after: true}] + "@stylistic/js/comma-style": [2, last] + "@stylistic/js/computed-property-spacing": [2, never] + "@stylistic/js/dot-location": [2, property] + "@stylistic/js/eol-last": [2] + "@stylistic/js/function-call-spacing": [2, never] + "@stylistic/js/function-call-argument-newline": [0] + "@stylistic/js/function-paren-newline": [0] + "@stylistic/js/generator-star-spacing": [0] + "@stylistic/js/implicit-arrow-linebreak": [0] + "@stylistic/js/indent": [2, 2, {ignoreComments: true, SwitchCase: 1}] + "@stylistic/js/key-spacing": [2] + "@stylistic/js/keyword-spacing": [2] + "@stylistic/js/linebreak-style": [2, unix] + "@stylistic/js/lines-around-comment": [0] + "@stylistic/js/lines-between-class-members": [0] + "@stylistic/js/max-len": [0] + "@stylistic/js/max-statements-per-line": [0] + "@stylistic/js/multiline-ternary": [0] + "@stylistic/js/new-parens": [2] + "@stylistic/js/newline-per-chained-call": [0] + "@stylistic/js/no-confusing-arrow": [0] + "@stylistic/js/no-extra-parens": [0] + "@stylistic/js/no-extra-semi": [2] + "@stylistic/js/no-floating-decimal": [0] + "@stylistic/js/no-mixed-operators": [0] + "@stylistic/js/no-mixed-spaces-and-tabs": [2] + "@stylistic/js/no-multi-spaces": [2, {ignoreEOLComments: true, exceptions: {Property: true}}] + "@stylistic/js/no-multiple-empty-lines": [2, {max: 1, maxEOF: 0, maxBOF: 0}] + "@stylistic/js/no-tabs": [2] + "@stylistic/js/no-trailing-spaces": [2] + "@stylistic/js/no-whitespace-before-property": [2] + "@stylistic/js/nonblock-statement-body-position": [2] + "@stylistic/js/object-curly-newline": [0] + "@stylistic/js/object-curly-spacing": [2, never] + "@stylistic/js/object-property-newline": [0] + "@stylistic/js/one-var-declaration-per-line": [0] + "@stylistic/js/operator-linebreak": [2, after] + "@stylistic/js/padded-blocks": [2, never] + "@stylistic/js/padding-line-between-statements": [0] + "@stylistic/js/quote-props": [0] + "@stylistic/js/quotes": [2, single, {avoidEscape: true, allowTemplateLiterals: true}] + "@stylistic/js/rest-spread-spacing": [2, never] + "@stylistic/js/semi": [2, always, {omitLastInOneLineBlock: true}] + "@stylistic/js/semi-spacing": [2, {before: false, after: true}] + "@stylistic/js/semi-style": [2, last] + "@stylistic/js/space-before-blocks": [2, always] + "@stylistic/js/space-before-function-paren": [2, {anonymous: ignore, named: never, asyncArrow: always}] + "@stylistic/js/space-in-parens": [2, never] + "@stylistic/js/space-infix-ops": [2] + "@stylistic/js/space-unary-ops": [2] + "@stylistic/js/spaced-comment": [2, always] + "@stylistic/js/switch-colon-spacing": [2] + "@stylistic/js/template-curly-spacing": [2, never] + "@stylistic/js/template-tag-spacing": [2, never] + "@stylistic/js/wrap-iife": [2, inside] + "@stylistic/js/wrap-regex": [0] + "@stylistic/js/yield-star-spacing": [2, after] + accessor-pairs: [2] + array-callback-return: [2, {checkForEach: true}] + array-func/avoid-reverse: [2] + array-func/from-map: [2] + array-func/no-unnecessary-this-arg: [2] + array-func/prefer-array-from: [2] + array-func/prefer-flat-map: [0] # handled by unicorn/prefer-array-flat-map + array-func/prefer-flat: [0] # handled by unicorn/prefer-array-flat + arrow-body-style: [0] + block-scoped-var: [2] + camelcase: [0] + capitalized-comments: [0] + class-methods-use-this: [0] + complexity: [0] + consistent-return: [0] + consistent-this: [0] + constructor-super: [2] + curly: [0] + default-case-last: [2] + default-case: [0] + default-param-last: [0] + dot-notation: [0] + eqeqeq: [2] + for-direction: [2] + func-name-matching: [2] + func-names: [0] + func-style: [0] + getter-return: [2] + github/a11y-aria-label-is-well-formatted: [0] + github/a11y-no-title-attribute: [0] + github/a11y-no-visually-hidden-interactive-element: [0] + github/a11y-role-supports-aria-props: [0] + github/a11y-svg-has-accessible-name: [0] + github/array-foreach: [0] + github/async-currenttarget: [2] + github/async-preventdefault: [2] + github/authenticity-token: [0] + github/get-attribute: [0] + github/js-class-name: [0] + github/no-blur: [0] + github/no-d-none: [0] + github/no-dataset: [2] + github/no-dynamic-script-tag: [2] + github/no-implicit-buggy-globals: [2] + github/no-inner-html: [0] + github/no-innerText: [2] + github/no-then: [2] + github/no-useless-passive: [2] + github/prefer-observers: [2] + github/require-passive-events: [2] + github/unescaped-html-literal: [0] + grouped-accessor-pairs: [2] + guard-for-in: [0] + id-blacklist: [0] + id-length: [0] + id-match: [0] + i/consistent-type-specifier-style: [0] + i/default: [0] + i/dynamic-import-chunkname: [0] + i/export: [2] + i/exports-last: [0] + i/extensions: [2, always, {ignorePackages: true}] + i/first: [2] + i/group-exports: [0] + i/max-dependencies: [0] + i/named: [2] + i/namespace: [0] + i/newline-after-import: [0] + i/no-absolute-path: [0] + i/no-amd: [2] + i/no-anonymous-default-export: [0] + i/no-commonjs: [2] + i/no-cycle: [2, {ignoreExternal: true, maxDepth: 1}] + i/no-default-export: [0] + i/no-deprecated: [0] + i/no-dynamic-require: [0] + i/no-empty-named-blocks: [2] + i/no-extraneous-dependencies: [2] + i/no-import-module-exports: [0] + i/no-internal-modules: [0] + i/no-mutable-exports: [0] + i/no-named-as-default-member: [0] + i/no-named-as-default: [2] + i/no-named-default: [0] + i/no-named-export: [0] + i/no-namespace: [0] + i/no-nodejs-modules: [0] + i/no-relative-packages: [0] + i/no-relative-parent-imports: [0] + i/no-restricted-paths: [0] + i/no-self-import: [2] + i/no-unassigned-import: [0] + i/no-unresolved: [2, {commonjs: true, ignore: ["\\?.+$", ^vitest/]}] + i/no-unused-modules: [2, {unusedExports: true}] + i/no-useless-path-segments: [2, {commonjs: true}] + i/no-webpack-loader-syntax: [2] + i/order: [0] + i/prefer-default-export: [0] + i/unambiguous: [0] + init-declarations: [0] + line-comment-position: [0] + logical-assignment-operators: [0] + max-classes-per-file: [0] + max-depth: [0] + max-lines-per-function: [0] + max-lines: [0] + max-nested-callbacks: [0] + max-params: [0] + max-statements: [0] + multiline-comment-style: [2, separate-lines] + new-cap: [0] + no-alert: [0] + no-array-constructor: [2] + no-async-promise-executor: [0] + no-await-in-loop: [0] + no-bitwise: [0] + no-buffer-constructor: [0] + no-caller: [2] + no-case-declarations: [2] + no-class-assign: [2] + no-compare-neg-zero: [2] + no-cond-assign: [2, except-parens] + no-console: [1, {allow: [debug, info, warn, error]}] + no-const-assign: [2] + no-constant-binary-expression: [2] + no-constant-condition: [0] + no-constructor-return: [2] + no-continue: [0] + no-control-regex: [0] + no-debugger: [1] + no-delete-var: [2] + no-div-regex: [0] + no-dupe-args: [2] + no-dupe-class-members: [2] + no-dupe-else-if: [2] + no-dupe-keys: [2] + no-duplicate-case: [2] + no-duplicate-imports: [2] + no-else-return: [2] + no-empty-character-class: [2] + no-empty-function: [0] + no-empty-pattern: [2] + no-empty-static-block: [2] + no-empty: [2, {allowEmptyCatch: true}] + no-eq-null: [2] + no-eval: [2] + no-ex-assign: [2] + no-extend-native: [2] + no-extra-bind: [2] + no-extra-boolean-cast: [2] + no-extra-label: [0] + no-fallthrough: [2] + no-func-assign: [2] + no-global-assign: [2] + no-implicit-coercion: [2] + no-implicit-globals: [0] + no-implied-eval: [2] + no-import-assign: [2] + no-inline-comments: [0] + no-inner-declarations: [2] + no-invalid-regexp: [2] + no-invalid-this: [0] + no-irregular-whitespace: [2] + no-iterator: [2] + no-jquery/no-ajax-events: [2] + no-jquery/no-ajax: [2] + no-jquery/no-and-self: [2] + no-jquery/no-animate-toggle: [2] + no-jquery/no-animate: [2] + no-jquery/no-append-html: [2] + no-jquery/no-attr: [2] + no-jquery/no-bind: [2] + no-jquery/no-box-model: [2] + no-jquery/no-browser: [2] + no-jquery/no-camel-case: [2] + no-jquery/no-class-state: [2] + no-jquery/no-class: [0] + no-jquery/no-clone: [2] + no-jquery/no-closest: [0] + no-jquery/no-constructor-attributes: [2] + no-jquery/no-contains: [2] + no-jquery/no-context-prop: [2] + no-jquery/no-css: [2] + no-jquery/no-data: [0] + no-jquery/no-deferred: [2] + no-jquery/no-delegate: [2] + no-jquery/no-each-collection: [0] + no-jquery/no-each-util: [0] + no-jquery/no-each: [0] + no-jquery/no-error-shorthand: [2] + no-jquery/no-error: [2] + no-jquery/no-escape-selector: [2] + no-jquery/no-event-shorthand: [2] + no-jquery/no-extend: [2] + no-jquery/no-fade: [2] + no-jquery/no-filter: [0] + no-jquery/no-find-collection: [0] + no-jquery/no-find-util: [2] + no-jquery/no-find: [0] + no-jquery/no-fx-interval: [2] + no-jquery/no-global-eval: [2] + no-jquery/no-global-selector: [0] + no-jquery/no-grep: [2] + no-jquery/no-has: [2] + no-jquery/no-hold-ready: [2] + no-jquery/no-html: [0] + no-jquery/no-in-array: [2] + no-jquery/no-is-array: [2] + no-jquery/no-is-empty-object: [2] + no-jquery/no-is-function: [2] + no-jquery/no-is-numeric: [2] + no-jquery/no-is-plain-object: [2] + no-jquery/no-is-window: [2] + no-jquery/no-is: [2] + no-jquery/no-jquery-constructor: [0] + no-jquery/no-live: [2] + no-jquery/no-load-shorthand: [2] + no-jquery/no-load: [2] + no-jquery/no-map-collection: [0] + no-jquery/no-map-util: [2] + no-jquery/no-map: [2] + no-jquery/no-merge: [2] + no-jquery/no-node-name: [2] + no-jquery/no-noop: [2] + no-jquery/no-now: [2] + no-jquery/no-on-ready: [2] + no-jquery/no-other-methods: [0] + no-jquery/no-other-utils: [2] + no-jquery/no-param: [2] + no-jquery/no-parent: [0] + no-jquery/no-parents: [2] + no-jquery/no-parse-html-literal: [2] + no-jquery/no-parse-html: [2] + no-jquery/no-parse-json: [2] + no-jquery/no-parse-xml: [2] + no-jquery/no-prop: [2] + no-jquery/no-proxy: [2] + no-jquery/no-ready-shorthand: [2] + no-jquery/no-ready: [2] + no-jquery/no-selector-prop: [2] + no-jquery/no-serialize: [2] + no-jquery/no-size: [2] + no-jquery/no-sizzle: [0] + no-jquery/no-slide: [2] + no-jquery/no-sub: [2] + no-jquery/no-support: [2] + no-jquery/no-text: [0] + no-jquery/no-trigger: [0] + no-jquery/no-trim: [2] + no-jquery/no-type: [2] + no-jquery/no-unique: [2] + no-jquery/no-unload-shorthand: [2] + no-jquery/no-val: [0] + no-jquery/no-visibility: [2] + no-jquery/no-when: [2] + no-jquery/no-wrap: [2] + no-jquery/variable-pattern: [2] + no-label-var: [2] + no-labels: [0] # handled by no-restricted-syntax + no-lone-blocks: [2] + no-lonely-if: [0] + no-loop-func: [0] + no-loss-of-precision: [2] + no-magic-numbers: [0] + no-misleading-character-class: [2] + no-multi-assign: [0] + no-multi-str: [2] + no-negated-condition: [0] + no-nested-ternary: [0] + no-new-func: [2] + no-new-native-nonconstructor: [2] + no-new-object: [2] + no-new-symbol: [2] + no-new-wrappers: [2] + no-new: [0] + no-nonoctal-decimal-escape: [2] + no-obj-calls: [2] + no-octal-escape: [2] + no-octal: [2] + no-param-reassign: [0] + no-plusplus: [0] + no-promise-executor-return: [0] + no-proto: [2] + no-prototype-builtins: [2] + no-redeclare: [2] + no-regex-spaces: [2] + no-restricted-exports: [0] + no-restricted-globals: [2, addEventListener, blur, close, closed, confirm, defaultStatus, defaultstatus, error, event, external, find, focus, frameElement, frames, history, innerHeight, innerWidth, isFinite, isNaN, length, location, locationbar, menubar, moveBy, moveTo, name, onblur, onerror, onfocus, onload, onresize, onunload, open, opener, opera, outerHeight, outerWidth, pageXOffset, pageYOffset, parent, print, removeEventListener, resizeBy, resizeTo, screen, screenLeft, screenTop, screenX, screenY, scroll, scrollbars, scrollBy, scrollTo, scrollX, scrollY, self, status, statusbar, stop, toolbar, top, __dirname, __filename] + no-restricted-imports: [0] + no-restricted-syntax: [2, WithStatement, ForInStatement, LabeledStatement, SequenceExpression, {selector: "CallExpression[callee.name='fetch']", message: "use modules/fetch.js instead"}] + no-return-assign: [0] + no-script-url: [2] + no-self-assign: [2, {props: true}] + no-self-compare: [2] + no-sequences: [2] + no-setter-return: [2] + no-shadow-restricted-names: [2] + no-shadow: [0] + no-sparse-arrays: [2] + no-template-curly-in-string: [2] + no-ternary: [0] + no-this-before-super: [2] + no-throw-literal: [2] + no-undef-init: [2] + no-undef: [2, {typeof: true}] + no-undefined: [0] + no-underscore-dangle: [0] + no-unexpected-multiline: [2] + no-unmodified-loop-condition: [2] + no-unneeded-ternary: [2] + no-unreachable-loop: [2] + no-unreachable: [2] + no-unsafe-finally: [2] + no-unsafe-negation: [2] + no-unused-expressions: [2] + no-unused-labels: [2] + no-unused-private-class-members: [2] + no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, caughtErrorsIgnorePattern: ^_, destructuredArrayIgnorePattern: ^_, ignoreRestSiblings: false}] + no-use-before-define: [2, {functions: false, classes: true, variables: true, allowNamedExports: true}] + no-use-extend-native/no-use-extend-native: [2] + no-useless-backreference: [2] + no-useless-call: [2] + no-useless-catch: [2] + no-useless-computed-key: [2] + no-useless-concat: [2] + no-useless-constructor: [2] + no-useless-escape: [2] + no-useless-rename: [2] + no-useless-return: [2] + no-var: [2] + no-void: [2] + no-warning-comments: [0] + no-with: [0] # handled by no-restricted-syntax + object-shorthand: [2, always] + one-var-declaration-per-line: [0] + one-var: [0] + operator-assignment: [2, always] + operator-linebreak: [2, after] + prefer-arrow-callback: [2, {allowNamedFunctions: true, allowUnboundThis: true}] + prefer-const: [2, {destructuring: all, ignoreReadBeforeAssign: true}] + prefer-destructuring: [0] + prefer-exponentiation-operator: [2] + prefer-named-capture-group: [0] + prefer-numeric-literals: [2] + prefer-object-has-own: [2] + prefer-object-spread: [2] + prefer-promise-reject-errors: [2, {allowEmptyReject: false}] + prefer-regex-literals: [2] + prefer-rest-params: [2] + prefer-spread: [2] + prefer-template: [2] + radix: [2, as-needed] + regexp/confusing-quantifier: [2] + regexp/control-character-escape: [2] + regexp/hexadecimal-escape: [0] + regexp/letter-case: [0] + regexp/match-any: [2] + regexp/negation: [2] + regexp/no-contradiction-with-assertion: [0] + regexp/no-control-character: [0] + regexp/no-dupe-characters-character-class: [2] + regexp/no-dupe-disjunctions: [2] + regexp/no-empty-alternative: [2] + regexp/no-empty-capturing-group: [2] + regexp/no-empty-character-class: [0] + regexp/no-empty-group: [2] + regexp/no-empty-lookarounds-assertion: [2] + regexp/no-empty-string-literal: [2] + regexp/no-escape-backspace: [2] + regexp/no-extra-lookaround-assertions: [0] + regexp/no-invalid-regexp: [2] + regexp/no-invisible-character: [2] + regexp/no-lazy-ends: [2] + regexp/no-legacy-features: [2] + regexp/no-misleading-capturing-group: [0] + regexp/no-misleading-unicode-character: [0] + regexp/no-missing-g-flag: [2] + regexp/no-non-standard-flag: [2] + regexp/no-obscure-range: [2] + regexp/no-octal: [2] + regexp/no-optional-assertion: [2] + regexp/no-potentially-useless-backreference: [2] + regexp/no-standalone-backslash: [2] + regexp/no-super-linear-backtracking: [0] + regexp/no-super-linear-move: [0] + regexp/no-trivially-nested-assertion: [2] + regexp/no-trivially-nested-quantifier: [2] + regexp/no-unused-capturing-group: [0] + regexp/no-useless-assertions: [2] + regexp/no-useless-backreference: [2] + regexp/no-useless-character-class: [2] + regexp/no-useless-dollar-replacements: [2] + regexp/no-useless-escape: [2] + regexp/no-useless-flag: [2] + regexp/no-useless-lazy: [2] + regexp/no-useless-non-capturing-group: [2] + regexp/no-useless-quantifier: [2] + regexp/no-useless-range: [2] + regexp/no-useless-set-operand: [2] + regexp/no-useless-string-literal: [2] + regexp/no-useless-two-nums-quantifier: [2] + regexp/no-zero-quantifier: [2] + regexp/optimal-lookaround-quantifier: [2] + regexp/optimal-quantifier-concatenation: [0] + regexp/prefer-character-class: [0] + regexp/prefer-d: [0] + regexp/prefer-escape-replacement-dollar-char: [0] + regexp/prefer-lookaround: [0] + regexp/prefer-named-backreference: [0] + regexp/prefer-named-capture-group: [0] + regexp/prefer-named-replacement: [0] + regexp/prefer-plus-quantifier: [2] + regexp/prefer-predefined-assertion: [2] + regexp/prefer-quantifier: [0] + regexp/prefer-question-quantifier: [2] + regexp/prefer-range: [2] + regexp/prefer-regexp-exec: [2] + regexp/prefer-regexp-test: [2] + regexp/prefer-result-array-groups: [0] + regexp/prefer-set-operation: [2] + regexp/prefer-star-quantifier: [2] + regexp/prefer-unicode-codepoint-escapes: [2] + regexp/prefer-w: [0] + regexp/require-unicode-regexp: [0] + regexp/simplify-set-operations: [2] + regexp/sort-alternatives: [0] + regexp/sort-character-class-elements: [0] + regexp/sort-flags: [0] + regexp/strict: [2] + regexp/unicode-escape: [0] + regexp/use-ignore-case: [0] + require-atomic-updates: [0] + require-await: [0] + require-unicode-regexp: [0] + require-yield: [2] + sonarjs/cognitive-complexity: [0] + sonarjs/elseif-without-else: [0] + sonarjs/max-switch-cases: [0] + sonarjs/no-all-duplicated-branches: [2] + sonarjs/no-collapsible-if: [0] + sonarjs/no-collection-size-mischeck: [2] + sonarjs/no-duplicate-string: [0] + sonarjs/no-duplicated-branches: [0] + sonarjs/no-element-overwrite: [2] + sonarjs/no-empty-collection: [2] + sonarjs/no-extra-arguments: [2] + sonarjs/no-gratuitous-expressions: [2] + sonarjs/no-identical-conditions: [2] + sonarjs/no-identical-expressions: [2] + sonarjs/no-identical-functions: [2, 5] + sonarjs/no-ignored-return: [2] + sonarjs/no-inverted-boolean-check: [2] + sonarjs/no-nested-switch: [0] + sonarjs/no-nested-template-literals: [0] + sonarjs/no-one-iteration-loop: [2] + sonarjs/no-redundant-boolean: [2] + sonarjs/no-redundant-jump: [2] + sonarjs/no-same-line-conditional: [2] + sonarjs/no-small-switch: [0] + sonarjs/no-unused-collection: [2] + sonarjs/no-use-of-empty-return-value: [2] + sonarjs/no-useless-catch: [2] + sonarjs/non-existent-operator: [2] + sonarjs/prefer-immediate-return: [0] + sonarjs/prefer-object-literal: [0] + sonarjs/prefer-single-boolean-return: [0] + sonarjs/prefer-while: [2] + sort-imports: [0] + sort-keys: [0] + sort-vars: [0] + strict: [0] + symbol-description: [2] + unicode-bom: [2, never] + unicorn/better-regex: [0] + unicorn/catch-error-name: [0] + unicorn/consistent-destructuring: [2] + unicorn/consistent-empty-array-spread: [2] + unicorn/consistent-function-scoping: [2] + unicorn/custom-error-definition: [0] + unicorn/empty-brace-spaces: [2] + unicorn/error-message: [0] + unicorn/escape-case: [0] + unicorn/expiring-todo-comments: [0] + unicorn/explicit-length-check: [0] + unicorn/filename-case: [0] + unicorn/import-index: [0] + unicorn/import-style: [0] + unicorn/new-for-builtins: [2] + unicorn/no-abusive-eslint-disable: [0] + unicorn/no-anonymous-default-export: [0] + unicorn/no-array-callback-reference: [0] + unicorn/no-array-for-each: [2] + unicorn/no-array-method-this-argument: [2] + unicorn/no-array-push-push: [2] + unicorn/no-array-reduce: [2] + unicorn/no-await-expression-member: [0] + unicorn/no-await-in-promise-methods: [2] + unicorn/no-console-spaces: [0] + unicorn/no-document-cookie: [2] + unicorn/no-empty-file: [2] + unicorn/no-for-loop: [0] + unicorn/no-hex-escape: [0] + unicorn/no-instanceof-array: [0] + unicorn/no-invalid-fetch-options: [2] + unicorn/no-invalid-remove-event-listener: [2] + unicorn/no-keyword-prefix: [0] + unicorn/no-length-as-slice-end: [2] + unicorn/no-lonely-if: [2] + unicorn/no-magic-array-flat-depth: [0] + unicorn/no-negated-condition: [0] + unicorn/no-negation-in-equality-check: [2] + unicorn/no-nested-ternary: [0] + unicorn/no-new-array: [0] + unicorn/no-new-buffer: [0] + unicorn/no-null: [0] + unicorn/no-object-as-default-parameter: [0] + unicorn/no-process-exit: [0] + unicorn/no-single-promise-in-promise-methods: [2] + unicorn/no-static-only-class: [2] + unicorn/no-thenable: [2] + unicorn/no-this-assignment: [2] + unicorn/no-typeof-undefined: [2] + unicorn/no-unnecessary-await: [2] + unicorn/no-unnecessary-polyfills: [2] + unicorn/no-unreadable-array-destructuring: [0] + unicorn/no-unreadable-iife: [2] + unicorn/no-unused-properties: [2] + unicorn/no-useless-fallback-in-spread: [2] + unicorn/no-useless-length-check: [2] + unicorn/no-useless-promise-resolve-reject: [2] + unicorn/no-useless-spread: [2] + unicorn/no-useless-switch-case: [2] + unicorn/no-useless-undefined: [0] + unicorn/no-zero-fractions: [2] + unicorn/number-literal-case: [0] + unicorn/numeric-separators-style: [0] + unicorn/prefer-add-event-listener: [2] + unicorn/prefer-array-find: [2] + unicorn/prefer-array-flat-map: [2] + unicorn/prefer-array-flat: [2] + unicorn/prefer-array-index-of: [2] + unicorn/prefer-array-some: [2] + unicorn/prefer-at: [0] + unicorn/prefer-blob-reading-methods: [2] + unicorn/prefer-code-point: [0] + unicorn/prefer-date-now: [2] + unicorn/prefer-default-parameters: [0] + unicorn/prefer-dom-node-append: [2] + unicorn/prefer-dom-node-dataset: [0] + unicorn/prefer-dom-node-remove: [2] + unicorn/prefer-dom-node-text-content: [2] + unicorn/prefer-event-target: [2] + unicorn/prefer-export-from: [0] + unicorn/prefer-includes: [2] + unicorn/prefer-json-parse-buffer: [0] + unicorn/prefer-keyboard-event-key: [2] + unicorn/prefer-logical-operator-over-ternary: [2] + unicorn/prefer-math-trunc: [2] + unicorn/prefer-modern-dom-apis: [0] + unicorn/prefer-modern-math-apis: [2] + unicorn/prefer-module: [2] + unicorn/prefer-native-coercion-functions: [2] + unicorn/prefer-negative-index: [2] + unicorn/prefer-node-protocol: [2] + unicorn/prefer-number-properties: [0] + unicorn/prefer-object-from-entries: [2] + unicorn/prefer-object-has-own: [0] + unicorn/prefer-optional-catch-binding: [2] + unicorn/prefer-prototype-methods: [0] + unicorn/prefer-query-selector: [0] + unicorn/prefer-reflect-apply: [0] + unicorn/prefer-regexp-test: [2] + unicorn/prefer-set-has: [0] + unicorn/prefer-set-size: [2] + unicorn/prefer-spread: [0] + unicorn/prefer-string-raw: [0] + unicorn/prefer-string-replace-all: [0] + unicorn/prefer-string-slice: [0] + unicorn/prefer-string-starts-ends-with: [2] + unicorn/prefer-string-trim-start-end: [2] + unicorn/prefer-structured-clone: [2] + unicorn/prefer-switch: [0] + unicorn/prefer-ternary: [0] + unicorn/prefer-text-content: [2] + unicorn/prefer-top-level-await: [0] + unicorn/prefer-type-error: [0] + unicorn/prevent-abbreviations: [0] + unicorn/relative-url-style: [2] + unicorn/require-array-join-separator: [2] + unicorn/require-number-to-fixed-digits-argument: [2] + unicorn/require-post-message-target-origin: [0] + unicorn/string-content: [0] + unicorn/switch-case-braces: [0] + unicorn/template-indent: [2] + unicorn/text-encoding-identifier-case: [0] + unicorn/throw-new-error: [2] + use-isnan: [2] + valid-typeof: [2, {requireStringLiterals: true}] + vars-on-top: [0] + wc/attach-shadow-constructor: [2] + wc/define-tag-after-class-definition: [0] + wc/expose-class-on-global: [0] + wc/file-name-matches-element: [2] + wc/guard-define-call: [0] + wc/guard-super-call: [2] + wc/max-elements-per-file: [0] + wc/no-child-traversal-in-attributechangedcallback: [2] + wc/no-child-traversal-in-connectedcallback: [2] + wc/no-closed-shadow-root: [2] + wc/no-constructor-attributes: [2] + wc/no-constructor-params: [2] + wc/no-constructor: [2] + wc/no-customized-built-in-elements: [2] + wc/no-exports-with-element: [0] + wc/no-invalid-element-name: [2] + wc/no-invalid-extends: [2] + wc/no-method-prefixed-with-on: [2] + wc/no-self-class: [2] + wc/no-typos: [2] + wc/require-listener-teardown: [2] + wc/tag-name-matches-class: [2] + yoda: [2, never] diff --git a/.forgejo/cascading-pr-end-to-end b/.forgejo/cascading-pr-end-to-end new file mode 100755 index 0000000..8013fde --- /dev/null +++ b/.forgejo/cascading-pr-end-to-end @@ -0,0 +1,34 @@ +#!/bin/bash + +set -ex + +end_to_end=$1 +end_to_end_pr=$2 +forgejo=$3 +forgejo_pr_or_ref=$4 + +cd $forgejo +full_version=$(make show-version-full) +minor_version=$(make show-version-minor) + +cd $end_to_end + +if ! test -f forgejo/sources/$minor_version; then + echo "FAIL: forgejo/sources/$minor_version does not exist in the end-to-end repository" + false +fi + +echo -n $minor_version >forgejo/build-from-sources +date >last-upgrade + +if test -f "$forgejo_pr_or_ref"; then + forgejo_pr=$forgejo_pr_or_ref + head_url=$(jq --raw-output .head.repo.html_url <$forgejo_pr) + test "$head_url" != null + branch=$(jq --raw-output .head.ref <$forgejo_pr) + test "$branch" != null + echo $head_url $branch $full_version >forgejo/sources/$minor_version +else + forgejo_ref=$forgejo_pr_or_ref + echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY ${forgejo_ref#refs/heads/} $full_version >forgejo/sources/$minor_version +fi diff --git a/.forgejo/cascading-release-end-to-end b/.forgejo/cascading-release-end-to-end new file mode 100755 index 0000000..9be0737 --- /dev/null +++ b/.forgejo/cascading-release-end-to-end @@ -0,0 +1,22 @@ +#!/bin/bash + +set -ex + +end_to_end=$1 +end_to_end_pr=$2 +forgejo=$3 +forgejo_ref=$4 + +cd $end_to_end +date >last-upgrade +organizations=lib/ORGANIZATIONS +if ! test -f $organizations; then + echo "$organizations file not found" + false +fi +# +# Inverse the order of lookup because the goal in the release built +# pipeline is to test the latest build, if available, instead of the +# stable version by the same version. +# +echo forgejo-integration forgejo-experimental forgejo >$organizations diff --git a/.forgejo/issue_template/bug-report-ui.yaml b/.forgejo/issue_template/bug-report-ui.yaml new file mode 100644 index 0000000..57d578b --- /dev/null +++ b/.forgejo/issue_template/bug-report-ui.yaml @@ -0,0 +1,57 @@ +name: 🦋 Bug Report (web interface / frontend) +description: Something doesn't look quite as it should? Report it here! +title: "bug: " +labels: ["bug/new-report", "forgejo/ui"] +body: +- type: markdown + attributes: + value: | + **NOTE: If your issue is a security concern, please email (GPG: `A4676E79`) instead of opening a public issue.** +- type: markdown + attributes: + value: | + - Please speak English, as this is the language all maintainers can speak and write. + - Be as clear and concise as possible. A very verbose report is harder to interpret in a concrete way. + - Be civil, and follow the [Forgejo Code of Conduct](https://codeberg.org/forgejo/code-of-conduct). + - Take a moment to [check that your issue hasn't been reported before](https://codeberg.org/forgejo/forgejo/issues?q=&type=all&labels=78137). +- type: dropdown + id: can-reproduce + attributes: + label: Can you reproduce the bug on the Forgejo test instance? + description: | + Please try reproducing your issue at https://dev.next.forgejo.org. + It is running the latest development branch and will confirm the problem is not already fixed. + If you can reproduce it, provide a URL in the description. + options: + - "Yes" + - "No" + validations: + required: true +- type: textarea + id: description + attributes: + label: Description + description: | + Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see above). + If you think this is a JavaScript error, include a copy of the JavaScript console. + validations: + required: true +- type: textarea + id: screenshots + attributes: + label: Screenshots + description: Please provide at least one screenshot showing the issue. + validations: + required: true +- type: input + id: forgejo-ver + attributes: + label: Forgejo Version + description: Forgejo version (or commit reference) your instance is running +- type: input + id: browser-ver + attributes: + label: Browser Version + description: The browser and version that you are using to access Forgejo + validations: + required: true diff --git a/.forgejo/issue_template/bug-report.yaml b/.forgejo/issue_template/bug-report.yaml new file mode 100644 index 0000000..6e9b116 --- /dev/null +++ b/.forgejo/issue_template/bug-report.yaml @@ -0,0 +1,72 @@ +name: 🛠Bug Report (server / backend) +description: Found something you weren't expecting? Report it here! +title: "bug: " +labels: bug/new-report +body: +- type: markdown + attributes: + value: | + **NOTE: If your issue is a security concern, please email (GPG: `A4676E79`) instead of opening a public issue.** +- type: markdown + attributes: + value: | + - Please speak English, as this is the language all maintainers can speak and write. + - Be as clear and concise as possible. A very verbose report is harder to interpret in a concrete way. + - Be civil, and follow the [Forgejo Code of Conduct](https://codeberg.org/forgejo/code-of-conduct). + - Take a moment to [check that your issue hasn't been reported before](https://codeberg.org/forgejo/forgejo/issues?q=&type=all&labels=78137). +- type: dropdown + id: can-reproduce + attributes: + label: Can you reproduce the bug on the Forgejo test instance? + description: | + Please try reproducing your issue at https://dev.next.forgejo.org. + It is running the latest development branch and will confirm the problem is not already fixed. + If you can reproduce it, provide a URL in the description. + options: + - "Yes" + - "No" + validations: + required: true +- type: textarea + id: description + attributes: + label: Description + description: | + Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see above). + validations: + required: true +- type: input + id: forgejo-ver + attributes: + label: Forgejo Version + description: Forgejo version (or commit reference) of your instance +- type: textarea + id: run-info + attributes: + label: How are you running Forgejo? + description: | + Please include information on whether you built Forgejo yourself, used one of our downloads, or are using some other package. + Please also tell us how you are running Forgejo, e.g. if it is being run from a container, a command-line, systemd etc. + If you are using a package or systemd tell us what distribution you are using. + validations: + required: true +- type: textarea + id: logs + attributes: + label: Logs + description: | + It's really important to provide pertinent logs. You must give us `DEBUG` level logs. + Please read https://forgejo.org/docs/latest/admin/logging-documentation/. + In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of `app.ini`. + + Please copy and paste your logs here, with any sensitive information (e.g. API keys) removed/hidden. + You can wrap your logs in `
...
` tags so it doesn't take up too much space in the issue. +- type: dropdown + id: database + attributes: + label: Database + description: What database system are you running? + options: + - SQLite + - PostgreSQL + - MySQL diff --git a/.forgejo/issue_template/config.yml b/.forgejo/issue_template/config.yml new file mode 100644 index 0000000..0e3caf9 --- /dev/null +++ b/.forgejo/issue_template/config.yml @@ -0,0 +1,16 @@ +contact_links: + - name: 🔓 Security Reports + url: mailto:security@forgejo.org + about: "Please email (GPG: `A4676E79`) instead of opening a public issue." + - name: 💬 Matrix Chat Room + url: https://matrix.to/#/#forgejo-chat:matrix.org + about: Please ask questions and discuss configuration or deployment problems here. + - name: 💬 Matrix Space + url: https://matrix.to/#/#forgejo:matrix.org + about: A collection of Matrix rooms relating to Forgejo in addition to the main chat room. + - name: 📚 Documentation + url: https://forgejo.org/docs/latest/ + about: Documentation about Forgejo. + - name: ⓠFrequently Asked Questions + url: https://forgejo.org/faq/ + about: Please check if your question is mentioned here. diff --git a/.forgejo/issue_template/feature-request.yaml b/.forgejo/issue_template/feature-request.yaml new file mode 100644 index 0000000..0996680 --- /dev/null +++ b/.forgejo/issue_template/feature-request.yaml @@ -0,0 +1,31 @@ +name: 💡 Feature Request +description: Got an idea for a feature that Forgejo doesn't have yet? Suggest it here! +title: "feat: " +labels: ["enhancement/feature"] +body: +- type: markdown + attributes: + value: | + - Please speak English, as this is the language all maintainers can speak and write. + - Be as clear and concise as possible. A very verbose request is harder to interpret in a concrete way. + - Be civil, and follow the [Forgejo Code of Conduct](https://codeberg.org/forgejo/code-of-conduct). + - Please make sure you are using the latest release of Forgejo and take a moment to [check that your feature hasn't already been suggested](https://codeberg.org/forgejo/forgejo/issues?q=&type=all&labels=78139). +- type: textarea + id: needs-benefits + attributes: + label: Needs and benefits + description: As concisely as possible, describe the benefits your feature request will provide or the problems it will try to solve. + validations: + required: true +- type: textarea + id: description + attributes: + label: Feature Description + description: As concisely as possible, describe the feature you would like to see added or the changes you would like to see made to Forgejo. + validations: + required: true +- type: textarea + id: screenshots + attributes: + label: Screenshots + description: If you can, provide screenshots of an implementation on another site, e.g. GitHub. diff --git a/.forgejo/pull_request_template.md b/.forgejo/pull_request_template.md new file mode 100644 index 0000000..d30af48 --- /dev/null +++ b/.forgejo/pull_request_template.md @@ -0,0 +1,33 @@ +--- + +name: "Pull Request Template" +about: "Template for all Pull Requests" +labels: + +- test/needed + +--- + +## Checklist + +The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org). + +### Tests + +- I added test coverage for Go changes... + - [ ] in their respective `*_test.go` for unit tests. + - [ ] in the `tests/integration` directory if it involves interactions with a live Forgejo server. +- I added test coverage for JavaScript changes... + - [ ] in `web_src/js/*.test.js` if it can be unit tested. + - [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests)). + +### Documentation + +- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change. +- [ ] I did not document these changes and I do not expect someone else to do it. + +### Release notes + +- [ ] I do not want this change to show in the release notes. +- [ ] I want the title to show in the release notes with a link to this pull request. +- [ ] I want the content of the `release-notes/.md` to be be used for the release notes instead of the title. diff --git a/.forgejo/testdata/build-release/Dockerfile b/.forgejo/testdata/build-release/Dockerfile new file mode 100644 index 0000000..4ef67d3 --- /dev/null +++ b/.forgejo/testdata/build-release/Dockerfile @@ -0,0 +1,6 @@ +FROM code.forgejo.org/oci/alpine:3.20 +ARG RELEASE_VERSION=unkown +LABEL maintainer="contact@forgejo.org" \ + org.opencontainers.image.version="${RELEASE_VERSION}" +RUN mkdir -p /app/gitea +RUN ( echo '#!/bin/sh' ; echo "echo forgejo v$RELEASE_VERSION" ) > /app/gitea/gitea ; chmod +x /app/gitea/gitea diff --git a/.forgejo/testdata/build-release/Makefile b/.forgejo/testdata/build-release/Makefile new file mode 100644 index 0000000..406acd0 --- /dev/null +++ b/.forgejo/testdata/build-release/Makefile @@ -0,0 +1,5 @@ +VERSION ?= $(shell cat VERSION 2>/dev/null) +sources-tarbal: + mkdir -p dist/release + echo $(VERSION) > VERSION + sources=forgejo-src-$(VERSION).tar.gz ; tar --transform 's|^./|forgejo-src-$(VERSION)/|' -czf dist/release/forgejo-src-$(VERSION).tar.gz . ; cd dist/release ; shasum -a 256 $$sources > $$sources.sha256 diff --git a/.forgejo/testdata/build-release/go.mod b/.forgejo/testdata/build-release/go.mod new file mode 100644 index 0000000..1c44204 --- /dev/null +++ b/.forgejo/testdata/build-release/go.mod @@ -0,0 +1,3 @@ +module code.gitea.io/gitea + +go 1.23.2 diff --git a/.forgejo/testdata/build-release/modules/public/bindata.go b/.forgejo/testdata/build-release/modules/public/bindata.go new file mode 100644 index 0000000..e69de29 diff --git a/.forgejo/testdata/build-release/public/assets/css/placeholder b/.forgejo/testdata/build-release/public/assets/css/placeholder new file mode 100644 index 0000000..e69de29 diff --git a/.forgejo/testdata/build-release/public/assets/fonts/placeholder b/.forgejo/testdata/build-release/public/assets/fonts/placeholder new file mode 100644 index 0000000..e69de29 diff --git a/.forgejo/testdata/build-release/public/assets/js/placeholder b/.forgejo/testdata/build-release/public/assets/js/placeholder new file mode 100644 index 0000000..e69de29 diff --git a/.forgejo/workflows/backport.yml b/.forgejo/workflows/backport.yml new file mode 100644 index 0000000..fca01a1 --- /dev/null +++ b/.forgejo/workflows/backport.yml @@ -0,0 +1,59 @@ +# Copyright 2024 The Forgejo Authors +# SPDX-License-Identifier: MIT +# +# To modify this workflow: +# +# - change pull_request_target: to pull_request: +# so that it runs from a pull request instead of the default branch +# +# - push it to the wip-ci-backport branch on the forgejo repository +# otherwise it will not have access to the secrets required to push +# the PR +# +# - open a pull request targetting wip-ci-backport that includes a change +# that can be backported without conflict in v1.21 and set the +# `backport/v1.21` label. +# +# - once it works, open a pull request for the sake of keeping track +# of the change even if the PR won't run it because it will use +# whatever is in the default branch instead +# +# - after it is merged, double check it works by setting a +# `backport/v1.21` label on a merged pull request that can be backported +# without conflict. +# +on: + pull_request_target: + types: + - closed + - labeled + +jobs: + backporting: + if: > + ( vars.ROLE == 'forgejo-coding' ) && ( + github.event.pull_request.merged + && + contains(toJSON(github.event.pull_request.labels), 'backport/v') + ) + runs-on: docker + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + steps: + - name: event info + run: | + cat <<'EOF' + ${{ toJSON(github) }} + EOF + - uses: https://code.forgejo.org/actions/git-backporting@v4.8.0 + with: + target-branch-pattern: "^backport/(?(v.*))$" + strategy: ort + strategy-option: find-renames + cherry-pick-options: -x + auth: ${{ secrets.BACKPORT_TOKEN }} + pull-request: ${{ github.event.pull_request.url }} + auto-no-squash: true + enable-err-notification: true + git-user: forgejo-backport-action + git-email: forgejo-backport-action@noreply.codeberg.org diff --git a/.forgejo/workflows/build-release-integration.yml b/.forgejo/workflows/build-release-integration.yml new file mode 100644 index 0000000..d10f40f --- /dev/null +++ b/.forgejo/workflows/build-release-integration.yml @@ -0,0 +1,135 @@ +name: Integration tests for the release process + +on: + push: + paths: + - Makefile + - Dockerfile + - Dockerfile.rootless + - docker/** + - .forgejo/workflows/build-release.yml + - .forgejo/workflows/build-release-integration.yml + branches-ignore: + - renovate/** + pull_request: + paths: + - Makefile + - Dockerfile + - Dockerfile.rootless + - docker/** + - .forgejo/workflows/build-release.yml + - .forgejo/workflows/build-release-integration.yml + +jobs: + release-simulation: + if: vars.ROLE == 'forgejo-coding' + runs-on: self-hosted + steps: + - uses: actions/checkout@v4 + + - id: forgejo + uses: https://code.forgejo.org/actions/setup-forgejo@v1 + with: + user: root + password: admin1234 + image-version: 1.21 + lxc-ip-prefix: 10.0.9 + + - name: publish the forgejo release + shell: bash + run: | + set -x + + cat > /etc/docker/daemon.json < $binary$suffix + if test "$suffix" = .xz ; then + unxz --keep $binary$suffix + fi + chmod +x $binary + ./$binary --version | grep $version + curl --fail -L -sS $url/root/forgejo/releases/download/v$version/$binary$suffix.sha256 > $binary$suffix.sha256 + shasum -a 256 --check $binary$suffix.sha256 + rm $binary$suffix + done + done + + local sources=forgejo-src-$version.tar.gz + curl --fail -L -sS $url/root/forgejo/releases/download/v$version/$sources > $sources + curl --fail -L -sS $url/root/forgejo/releases/download/v$version/$sources.sha256 > $sources.sha256 + shasum -a 256 --check $sources.sha256 + + docker pull ${{ steps.forgejo.outputs.host-port }}/root/forgejo:$version + docker pull ${{ steps.forgejo.outputs.host-port }}/root/forgejo:$version-rootless + } + + # + # Create a new project with a fake forgejo and the release workflow only + # + cp -a .forgejo/testdata/build-release/* $dir + mkdir -p $dir/.forgejo/workflows + cp .forgejo/workflows/build-release.yml $dir/.forgejo/workflows + cp $dir/Dockerfile $dir/Dockerfile.rootless + + forgejo-test-helper.sh push $dir $url root forgejo + + forgejo-curl.sh api_json -X PUT --data-raw '{"data":"${{ steps.forgejo.outputs.token }}"}' $url/api/v1/repos/root/forgejo/actions/secrets/TOKEN + forgejo-curl.sh api_json -X PUT --data-raw '{"data":"root"}' $url/api/v1/repos/root/forgejo/actions/secrets/DOER + forgejo-curl.sh api_json -X PUT --data-raw '{"data":"true"}' $url/api/v1/repos/root/forgejo/actions/secrets/VERBOSE + + # + # Push a tag to trigger the release workflow and wait for it to complete + # + version=1.2.3 + sha=$(forgejo-test-helper.sh branch_tip $url root/forgejo main) + forgejo-curl.sh api_json --data-raw '{"tag_name": "v'$version'", "target": "'$sha'"}' $url/api/v1/repos/root/forgejo/tags + LOOPS=180 forgejo-test-helper.sh wait_success "$url" root/forgejo $sha + sanity_check $url $version + + # + # Push a commit to a branch that triggers the build of a test release + # + version=1.2-test + ( + git clone $url/root/forgejo /tmp/forgejo + cd /tmp/forgejo + date > DATE + git config user.email root@example.com + git config user.name username + git add . + git commit -m 'update' + git push $url/root/forgejo main:forgejo + ) + sha=$(forgejo-test-helper.sh branch_tip $url root/forgejo forgejo) + LOOPS=180 forgejo-test-helper.sh wait_success "$url" root/forgejo $sha + sanity_check $url $version + + - name: full logs + if: always() + run: | + sed -e 's/^/[RUNNER LOGS] /' ${{ steps.forgejo.outputs.runner-logs }} + docker logs forgejo | sed -e 's/^/[FORGEJO LOGS]/' + sleep 5 # hack to avoid mixing outputs in Forgejo v1.21 diff --git a/.forgejo/workflows/build-release.yml b/.forgejo/workflows/build-release.yml new file mode 100644 index 0000000..bc74de8 --- /dev/null +++ b/.forgejo/workflows/build-release.yml @@ -0,0 +1,231 @@ +# +# See also https://forgejo.org/docs/next/contributor/release/#stable-release-process +# +# https://codeberg.org/forgejo-integration/forgejo +# +# Builds a release from a codeberg.org/forgejo-integration tag +# +# vars.ROLE: forgejo-integration +# +# secrets.DOER: forgejo-experimental-ci +# secrets.TOKEN: scope read:user, write:repository, write:package +# +# secrets.CASCADE_ORIGIN_TOKEN: scope read:user, write:repository, write:issue +# secrets.CASCADE_DESTINATION_TOKEN: scope read:user, write:repository, write:issue +# vars.CASCADE_DESTINATION_DOER: forgejo-ci +# +on: + push: + tags: 'v[0-9]+.[0-9]+.*' + branches: + - 'forgejo' + - 'v*/forgejo' + +jobs: + release: + runs-on: self-hosted + # root is used for testing, allow it + if: vars.ROLE == 'forgejo-integration' || github.repository_owner == 'root' + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Sanitize the name of the repository + id: repository + run: | + repository="${{ github.repository }}" + echo "value=${repository##*/}" >> "$GITHUB_OUTPUT" + + - uses: https://code.forgejo.org/actions/setup-node@v4 + with: + node-version: 20 + + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + + - name: version from ref + id: release-info + shell: bash + run: | + set -x + ref="${{ github.ref }}" + if [[ $ref =~ ^refs/heads/ ]] ; then + if test "$ref" = "refs/heads/forgejo" ; then + version=$(git tag -l --sort=version:refname --merged | grep -v -e '-test$' | tail -1 | sed -E -e 's/^(v[0-9]+\.[0-9]+).*/\1/')-test + else + version=${ref#refs/heads/} + version=${version%/forgejo}-test + fi + override=true + fi + if [[ $ref =~ ^refs/tags/ ]] ; then + version=${ref#refs/tags/} + override=false + fi + if test -z "$version" ; then + echo failed to figure out the release version from the reference=$ref + exit 1 + fi + version=${version#v} + git describe --exclude '*-test' --tags --always + echo "sha=${{ github.sha }}" >> "$GITHUB_OUTPUT" + echo "version=$version" >> "$GITHUB_OUTPUT" + echo "override=$override" >> "$GITHUB_OUTPUT" + + - name: release notes + id: release-notes + run: | + anchor=${{ steps.release-info.outputs.version }} + anchor=${anchor//./-} + cat >> "$GITHUB_OUTPUT" < 2.0.1 + # css-loader: 6.8.1 => 6.8.1 + # esbuild-loader: 3.0.1 => 3.0.1 + # license-checker-webpack-plugin: 0.2.1 => 0.2.1 + # monaco-editor-webpack-plugin: 7.0.1 => 7.0.1 + # vue-loader: 17.2.2 => 17.2.2 + # webpack: 5.87.0 => 5.87.0 + # webpack-cli: 5.1.4 => 5.1.4 + # + chown -R $(id -u) . + make VERSION=$version TAGS=bindata sources-tarbal + mv dist/release release + + ( + tmp=$(mktemp -d) + tar --directory $tmp -zxvf release/*$version*.tar.gz + cd $tmp/* + # + # Verify `make frontend` files are available + # + test -d public/assets/css + test -d public/assets/fonts + test -d public/assets/js + # + # Verify `make generate` files are available + # + test -f modules/public/bindata.go + # + # Sanity check to verify that the source tarbal knows the + # version and is able to rebuild itself from it. + # + # When in sources the version is determined with git. + # When in the tarbal the version is determined from a VERSION file. + # + make sources-tarbal + tarbal=$(echo dist/release/*$version*.tar.gz) + if ! test -f $tarbal ; then + echo $tarbal does not exist + find dist release + exit 1 + fi + ) + + - name: build container & release + if: ${{ secrets.TOKEN != '' }} + uses: https://code.forgejo.org/forgejo/forgejo-build-publish/build@v5.1.1 + with: + forgejo: "${{ env.GITHUB_SERVER_URL }}" + owner: "${{ env.GITHUB_REPOSITORY_OWNER }}" + repository: "${{ steps.repository.outputs.value }}" + doer: "${{ secrets.DOER }}" + release-version: "${{ steps.release-info.outputs.version }}" + sha: "${{ steps.release-info.outputs.sha }}" + token: "${{ secrets.TOKEN }}" + platforms: linux/amd64,linux/arm64,linux/arm/v6 + release-notes: "${{ steps.release-notes.outputs.value }}" + binary-name: forgejo + binary-path: /app/gitea/gitea + override: "${{ steps.release-info.outputs.override }}" + verify-labels: "maintainer=contact@forgejo.org,org.opencontainers.image.version=${{ steps.release-info.outputs.version }}" + verbose: ${{ vars.VERBOSE || secrets.VERBOSE || 'false' }} + + - name: build rootless container + if: ${{ secrets.TOKEN != '' }} + uses: https://code.forgejo.org/forgejo/forgejo-build-publish/build@v5.1.1 + with: + forgejo: "${{ env.GITHUB_SERVER_URL }}" + owner: "${{ env.GITHUB_REPOSITORY_OWNER }}" + repository: "${{ steps.repository.outputs.value }}" + doer: "${{ secrets.DOER }}" + release-version: "${{ steps.release-info.outputs.version }}" + sha: "${{ steps.release-info.outputs.sha }}" + token: "${{ secrets.TOKEN }}" + platforms: linux/amd64,linux/arm64,linux/arm/v6 + suffix: -rootless + dockerfile: Dockerfile.rootless + override: "${{ steps.release-info.outputs.override }}" + verify-labels: "maintainer=contact@forgejo.org,org.opencontainers.image.version=${{ steps.release-info.outputs.version }}" + verbose: ${{ vars.VERBOSE || secrets.VERBOSE || 'false' }} + + - name: end-to-end tests + if: ${{ secrets.TOKEN != '' && vars.ROLE == 'forgejo-integration' && vars.SKIP_END_TO_END != 'true' }} + uses: https://code.forgejo.org/actions/cascading-pr@v2 + with: + origin-url: ${{ env.GITHUB_SERVER_URL }} + origin-repo: ${{ github.repository }} + origin-token: ${{ secrets.CASCADE_ORIGIN_TOKEN }} + origin-ref: refs/heads/forgejo + destination-url: https://code.forgejo.org + destination-fork-repo: ${{ vars.CASCADE_DESTINATION_DOER }}/end-to-end + destination-repo: forgejo/end-to-end + destination-branch: main + destination-token: ${{ secrets.CASCADE_DESTINATION_TOKEN }} + update: .forgejo/cascading-release-end-to-end + + - name: copy to experimental + if: vars.ROLE == 'forgejo-integration' && secrets.TOKEN != '' + run: | + if test "${{ vars.VERBOSE }}" = true ; then + set -x + fi + tag=v${{ steps.release-info.outputs.version }} + url=https://any:${{ secrets.TOKEN }}@codeberg.org + if test "${{ steps.release-info.outputs.override }}" = "true" ; then + curl -sS -X DELETE $url/api/v1/repos/forgejo-experimental/forgejo/releases/tags/$tag > /dev/null + curl -sS -X DELETE $url/api/v1/repos/forgejo-experimental/forgejo/tags/$tag > /dev/null + fi + # actions/checkout@v3 sets http.https://codeberg.org/.extraheader with the automatic token. + # Get rid of it so it does not prevent using the token that has write permissions + git config --local --unset http.https://codeberg.org/.extraheader + if test -f .git/shallow ; then + echo "unexptected .git/shallow file is present" + echo "it suggests a checkout --depth X was used which may prevent pushing the commit" + echo "it happens when actions/checkout is called without depth: 0" + fi + git push $url/forgejo-experimental/forgejo ${{ steps.release-info.outputs.sha }}:refs/tags/$tag diff --git a/.forgejo/workflows/cascade-setup-end-to-end.yml b/.forgejo/workflows/cascade-setup-end-to-end.yml new file mode 100644 index 0000000..f6f9498 --- /dev/null +++ b/.forgejo/workflows/cascade-setup-end-to-end.yml @@ -0,0 +1,74 @@ +# Copyright 2024 The Forgejo Authors +# SPDX-License-Identifier: MIT +# +# To modify this workflow: +# +# - push it to the wip-ci-end-to-end branch on the forgejo repository +# otherwise it will not have access to the secrets required to push +# the cascading PR +# +# - once it works, open a pull request for the sake of keeping track +# of the change even if the PR won't run it because it will use +# whatever is in the default branch instead +# +# - after it is merged, double check it works by setting the +# run-end-to-end-test on a pull request (any pull request will doe +# +on: + push: + branches: + - 'wip-ci-end-to-end' + pull_request_target: + types: + - labeled + +jobs: + info: + if: vars.ROLE == 'forgejo-coding' + runs-on: docker + container: + image: code.forgejo.org/oci/node:20-bookworm + steps: + - name: event + run: | + echo github.event.pull_request.head.repo.fork = ${{ github.event.pull_request.head.repo.fork }} + echo github.event.action = ${{ github.event.action }} + echo github.event.pull_request.merged = ${{ github.event.pull_request.merged }} + echo github.event.pull_request.labels.*.name + cat <<'EOF' + ${{ toJSON(github.event.pull_request.labels.*.name) }} + EOF + cat <<'EOF' + ${{ toJSON(github.event) }} + EOF + + cascade: + if: > + vars.ROLE == 'forgejo-coding' && ( + github.event_name == 'push' || + ( + github.event.action == 'label_updated' && contains(github.event.pull_request.labels.*.name, 'run-end-to-end-tests') + ) + ) + runs-on: docker + container: + image: code.forgejo.org/oci/node:20-bookworm + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: '0' + show-progress: 'false' + - uses: actions/cascading-pr@v2 + with: + origin-url: ${{ env.GITHUB_SERVER_URL }} + origin-repo: ${{ github.repository }} + origin-token: ${{ secrets.END_TO_END_CASCADING_PR_ORIGIN }} + origin-pr: ${{ github.event.pull_request.number }} + origin-ref: ${{ github.event_name == 'push' && github.event.ref || '' }} + destination-url: https://code.forgejo.org + destination-fork-repo: cascading-pr/end-to-end + destination-repo: forgejo/end-to-end + destination-branch: main + destination-token: ${{ secrets.END_TO_END_CASCADING_PR_DESTINATION }} + close-merge: true + update: .forgejo/cascading-pr-end-to-end diff --git a/.forgejo/workflows/e2e.yml b/.forgejo/workflows/e2e.yml new file mode 100644 index 0000000..5e6348f --- /dev/null +++ b/.forgejo/workflows/e2e.yml @@ -0,0 +1,37 @@ +name: e2e + +on: + pull_request: + paths: + - Makefile + - playwright.config.js + - .forgejo/workflows/e2e.yml + - tests/e2e/** + - web_src/js/** + - web_src/css/form.css + - templates/webhook/shared-settings.tmpl + - templates/org/team/new.tmpl + +jobs: + test-e2e: + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' + runs-on: docker + container: + image: 'code.forgejo.org/oci/playwright:latest' + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + - run: | + git config --add safe.directory '*' + chown -R forgejo:forgejo . + - run: | + su forgejo -c 'make deps-frontend frontend deps-backend' + - run: | + su forgejo -c 'make backend' + - run: | + su forgejo -c 'make generate test-e2e-sqlite' + timeout-minutes: 40 + env: + USE_REPO_TEST_DIR: 1 diff --git a/.forgejo/workflows/forgejo-integration-cleanup.yml b/.forgejo/workflows/forgejo-integration-cleanup.yml new file mode 100644 index 0000000..049679a --- /dev/null +++ b/.forgejo/workflows/forgejo-integration-cleanup.yml @@ -0,0 +1,39 @@ +on: + workflow_dispatch: + + schedule: + - cron: '@daily' + +jobs: + integration-cleanup: + if: vars.ROLE == 'forgejo-integration' + runs-on: docker + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + steps: + + - name: apt install curl jq + run: | + export DEBIAN_FRONTEND=noninteractive + apt-get update -qq + apt-get -q install -qq -y curl jq + + - name: remove old releases and tags + run: | + url=https://any:${{ secrets.TOKEN }}@codeberg.org + curl -sS "$url/api/v1/repos/forgejo-integration/forgejo/releases" | jq -r '.[] | "\(.published_at) \(.tag_name)"' | sort | while read published_at version ; do + if echo $version | grep -e '-test$' >/dev/null; then + old="18 months" + else + old="1 day" + fi + too_old=$(env -i date --date="- $old" +%F) + too_old_seconds=$(env -i date --date="- $old" +%s) + published_at_seconds=$(env -i date --date="$published_at" +%s) + if test $published_at_seconds -le $too_old_seconds ; then + echo "$version was published more than $old ago ($published_at <= $too_old) and will be removed" + curl -X DELETE -sS "$url/api/v1/repos/forgejo-integration/forgejo/releases/tags/$version" + else + echo "$version was published less than $old ago" + fi + done diff --git a/.forgejo/workflows/milestone.yml b/.forgejo/workflows/milestone.yml new file mode 100644 index 0000000..56bd7ba --- /dev/null +++ b/.forgejo/workflows/milestone.yml @@ -0,0 +1,24 @@ +# Copyright 2024 The Forgejo Authors +# SPDX-License-Identifier: MIT +# +name: milestone + +on: + pull_request_target: + types: + - closed + +jobs: + set: + if: vars.ROLE == 'forgejo-coding' && github.event.pull_request.merged + runs-on: docker + container: + image: 'code.forgejo.org/oci/ci:1' + steps: + - uses: https://code.forgejo.org/forgejo/set-milestone@v1.0.0 + with: + forgejo: https://codeberg.org + repository: forgejo/forgejo + token: ${{ secrets.SET_MILESTONE_TOKEN }} + pr-number: ${{ github.event.pull_request.number }} + verbose: ${{ vars.SET_MILESTONE_VERBOSE }} diff --git a/.forgejo/workflows/mirror.yml b/.forgejo/workflows/mirror.yml new file mode 100644 index 0000000..fd22211 --- /dev/null +++ b/.forgejo/workflows/mirror.yml @@ -0,0 +1,27 @@ +name: mirror + +on: + workflow_dispatch: + + schedule: + - cron: '@daily' + +jobs: + mirror: + if: ${{ secrets.MIRROR_TOKEN != '' }} + runs-on: docker + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + steps: + - name: git push {v*/,}forgejo + run: | + git init --bare . + git remote add origin ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }} + git fetch origin refs/heads/forgejo:refs/mirror/forgejo + git ls-remote origin refs/heads/v*/forgejo | while read sha full_ref ; do + ref=${full_ref#refs/heads/} + echo git fetch origin $full_ref:refs/mirror/$ref + git fetch origin $full_ref:refs/mirror/$ref + done + echo git push --force https://${{ vars.MIRROR_DESTINATION }} refs/mirror/*:refs/heads/* + git push --force https://any:${{ secrets.MIRROR_TOKEN }}@${{ vars.MIRROR_DESTINATION }} refs/mirror/*:refs/heads/* diff --git a/.forgejo/workflows/publish-release.yml b/.forgejo/workflows/publish-release.yml new file mode 100644 index 0000000..137af41 --- /dev/null +++ b/.forgejo/workflows/publish-release.yml @@ -0,0 +1,86 @@ +# SPDX-License-Identifier: MIT +# +# See also https://forgejo.org/docs/next/contributor/release/#stable-release-process +# +# https://codeberg.org/forgejo-experimental/forgejo +# +# Copies a release from codeberg.org/forgejo-integration to codeberg.org/forgejo-experimental +# +# vars.ROLE: forgejo-experimental +# vars.FORGEJO: https://codeberg.org +# vars.FROM_OWNER: forgejo-integration +# vars.TO_OWNER: forgejo-experimental +# vars.REPO: forgejo +# vars.DOER: forgejo-experimental-ci +# secrets.TOKEN: +# +# http://private.forgejo.org/forgejo/forgejo +# +# Copies & sign a release from codeberg.org/forgejo-integration to codeberg.org/forgejo +# +# vars.ROLE: forgejo-release +# vars.FORGEJO: https://codeberg.org +# vars.FROM_OWNER: forgejo-integration +# vars.TO_OWNER: forgejo +# vars.REPO: forgejo +# vars.DOER: release-team +# secrets.TOKEN: +# secrets.GPG_PRIVATE_KEY: +# secrets.GPG_PASSPHRASE: +# +name: Pubish release + +on: + push: + tags: 'v*' + +jobs: + publish: + runs-on: self-hosted + if: vars.DOER != '' && vars.FORGEJO != '' && vars.TO_OWNER != '' && vars.FROM_OWNER != '' && secrets.TOKEN != '' + steps: + - uses: actions/checkout@v4 + + - name: copy & sign + uses: https://code.forgejo.org/forgejo/forgejo-build-publish/publish@v5 + with: + from-forgejo: ${{ vars.FORGEJO }} + to-forgejo: ${{ vars.FORGEJO }} + from-owner: ${{ vars.FROM_OWNER }} + to-owner: ${{ vars.TO_OWNER }} + repo: ${{ vars.REPO }} + release-notes: "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#{ANCHOR}" + ref-name: ${{ github.ref_name }} + sha: ${{ github.sha }} + from-token: ${{ secrets.TOKEN }} + to-doer: ${{ vars.DOER }} + to-token: ${{ secrets.TOKEN }} + gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} + gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} + verbose: ${{ vars.VERBOSE }} + + - name: get trigger mirror issue + id: mirror + uses: https://code.forgejo.org/infrastructure/issue-action/get@v1.1.0 + with: + forgejo: https://code.forgejo.org + repository: forgejo/forgejo + labels: mirror-trigger + + - name: trigger the mirror + uses: https://code.forgejo.org/infrastructure/issue-action/set@v1.1.0 + with: + forgejo: https://code.forgejo.org + repository: forgejo/forgejo + token: ${{ secrets.LABEL_ISSUE_FORGEJO_MIRROR_TOKEN }} + numbers: ${{ steps.mirror.outputs.numbers }} + label-wait-if-exists: 3600 + label: trigger + + - name: upgrade v*.next.forgejo.org + uses: https://code.forgejo.org/infrastructure/next-digest@v1.1.0 + with: + url: https://placeholder:${{ secrets.TOKEN_NEXT_DIGEST }}@code.forgejo.org/infrastructure/next-digest + ref_name: '${{ github.ref_name }}' + image: 'codeberg.org/forgejo-experimental/forgejo' + tag_suffix: '-rootless' diff --git a/.forgejo/workflows/release-notes-assistant-milestones.yml b/.forgejo/workflows/release-notes-assistant-milestones.yml new file mode 100644 index 0000000..c0bfa1e --- /dev/null +++ b/.forgejo/workflows/release-notes-assistant-milestones.yml @@ -0,0 +1,33 @@ +on: + workflow_dispatch: + + schedule: + - cron: '@daily' + +jobs: + release-notes: + if: vars.ROLE == 'forgejo-coding' + runs-on: docker + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + cache: false + + - name: apt install jq + run: | + export DEBIAN_FRONTEND=noninteractive + apt-get update -qq + apt-get -q install -y -qq jq + + - name: update open milestones + run: | + set -x + curl -sS $GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/milestones?state=open | jq -r '.[] | .title' | while read forgejo version ; do + milestone="$forgejo $version" + go run code.forgejo.org/forgejo/release-notes-assistant@v1.1.1 --config .release-notes-assistant.yaml --storage milestone --storage-location "$milestone" --forgejo-url $GITHUB_SERVER_URL --repository $GITHUB_REPOSITORY --token ${{ secrets.RELEASE_NOTES_ASSISTANT_TOKEN }} release $version + done diff --git a/.forgejo/workflows/release-notes-assistant.yml b/.forgejo/workflows/release-notes-assistant.yml new file mode 100644 index 0000000..7c5ea51 --- /dev/null +++ b/.forgejo/workflows/release-notes-assistant.yml @@ -0,0 +1,39 @@ +on: + pull_request_target: + types: + - edited + - synchronize + - labeled + +jobs: + release-notes: + if: ( vars.ROLE == 'forgejo-coding' ) && contains(github.event.pull_request.labels.*.name, 'worth a release-note') + runs-on: docker + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + + - name: event + run: | + cat <<'EOF' + ${{ toJSON(github.event.pull_request.labels.*.name) }} + EOF + cat <<'EOF' + ${{ toJSON(github.event) }} + EOF + + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + cache: false + + - name: apt install jq + run: | + export DEBIAN_FRONTEND=noninteractive + apt-get update -qq + apt-get -q install -y -qq jq + + - name: release-notes-assistant preview + run: | + go run code.forgejo.org/forgejo/release-notes-assistant@v1.1.1 --config .release-notes-assistant.yaml --storage pr --storage-location ${{ github.event.pull_request.number }} --forgejo-url $GITHUB_SERVER_URL --repository $GITHUB_REPOSITORY --token ${{ secrets.RELEASE_NOTES_ASSISTANT_TOKEN }} preview ${{ github.event.pull_request.number }} diff --git a/.forgejo/workflows/renovate.yml b/.forgejo/workflows/renovate.yml new file mode 100644 index 0000000..dc69e17 --- /dev/null +++ b/.forgejo/workflows/renovate.yml @@ -0,0 +1,71 @@ +# +# Runs every 2 hours, but Renovate is limited to create new PR before 4am. +# See renovate.json for more settings. +# Automerge is enabled for Renovate PR's but need to be approved before. +# +name: renovate + +on: + push: + branches: + - renovate/** # self-test updates + paths: + - .forgejo/workflows/renovate.yml + schedule: + - cron: '0 0/2 * * *' + workflow_dispatch: + +env: + RENOVATE_DRY_RUN: ${{ (github.event_name != 'schedule' && github.ref_name != github.event.repository.default_branch) && 'full' || '' }} + RENOVATE_REPOSITORIES: ${{ github.repository }} + +jobs: + renovate: + if: vars.ROLE == 'forgejo-coding' && secrets.RENOVATE_TOKEN != '' + + runs-on: docker + container: + image: code.forgejo.org/forgejo-contrib/renovate:38.93.2 + + steps: + - name: Load renovate repo cache + uses: https://code.forgejo.org/actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + with: + path: | + .tmp/cache/renovate/repository + .tmp/cache/renovate/renovate-cache-sqlite + .tmp/osv + key: repo-cache-${{ github.run_id }} + restore-keys: | + repo-cache- + + - name: Run renovate + run: renovate + env: + GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }} + LOG_LEVEL: debug + RENOVATE_BASE_DIR: ${{ github.workspace }}/.tmp + RENOVATE_ENDPOINT: ${{ github.server_url }} + RENOVATE_PLATFORM: gitea + RENOVATE_REPOSITORY_CACHE: 'enabled' + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + RENOVATE_GIT_AUTHOR: 'Renovate Bot ' + + RENOVATE_X_SQLITE_PACKAGE_CACHE: true + + GIT_AUTHOR_NAME: 'Renovate Bot' + GIT_AUTHOR_EMAIL: 'forgejo-renovate-action@forgejo.org' + GIT_COMMITTER_NAME: 'Renovate Bot' + GIT_COMMITTER_EMAIL: 'forgejo-renovate-action@forgejo.org' + + OSV_OFFLINE_ROOT_DIR: ${{ github.workspace }}/.tmp/osv + + - name: Save renovate repo cache + if: always() && env.RENOVATE_DRY_RUN != 'full' + uses: https://code.forgejo.org/actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + with: + path: | + .tmp/cache/renovate/repository + .tmp/cache/renovate/renovate-cache-sqlite + .tmp/osv + key: repo-cache-${{ github.run_id }} diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml new file mode 100644 index 0000000..5ddad29 --- /dev/null +++ b/.forgejo/workflows/testing.yml @@ -0,0 +1,337 @@ +name: testing + +on: + pull_request: + push: + branches: + - 'forgejo*' + - 'v*/forgejo*' + +jobs: + backend-checks: + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' + runs-on: docker + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + steps: + - name: event info + run: | + cat <<'EOF' + ${{ toJSON(github) }} + EOF + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + - run: make deps-backend deps-tools + - run: make --always-make -j$(nproc) lint-backend tidy-check swagger-check fmt-check swagger-validate # ensure the "go-licenses" make target runs + - run: | + make backend + env: + TAGS: bindata + - uses: actions/cache@v4 + with: + path: '/workspace/forgejo/forgejo/gitea' + key: backend-build-${{ github.sha }} + frontend-checks: + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' + runs-on: docker + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - run: make deps-frontend + - run: make lint-frontend + - run: make checks-frontend + - run: make test-frontend-coverage + - run: make frontend + test-unit: + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' + runs-on: docker + needs: [backend-checks, frontend-checks] + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + services: + elasticsearch: + image: docker.io/bitnami/elasticsearch:7 + env: + discovery.type: single-node + ES_JAVA_OPTS: "-Xms512m -Xmx512m" + minio: + image: docker.io/bitnami/minio:2024.8.17 + options: >- + --hostname gitea.minio + env: + MINIO_DOMAIN: minio + MINIO_ROOT_USER: 123456 + MINIO_ROOT_PASSWORD: 12345678 + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + - run: | + git config --add safe.directory '*' + adduser --quiet --comment forgejo --disabled-password forgejo + chown -R forgejo:forgejo . + - name: install git >= 2.42 + run: | + export DEBIAN_FRONTEND=noninteractive + echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list + apt-get update -qq + apt-get -q install -qq -y git + rm /etc/apt/sources.list.d/testing.list + apt-get update -qq + - name: test release-notes-assistant.sh + run: | + apt-get -q install -qq -y jq + ./release-notes-assistant.sh test_main + - run: | + su forgejo -c 'make deps-backend' + - uses: actions/cache/restore@v4 + id: cache-backend + with: + path: '/workspace/forgejo/forgejo/gitea' + key: backend-build-${{ github.sha }} + - if: steps.cache-backend.outputs.cache-hit != 'true' + run: | + su forgejo -c 'make backend' + env: + TAGS: bindata + - run: | + su forgejo -c 'make test-backend test-check' + timeout-minutes: 50 + env: + RACE_ENABLED: 'true' + TAGS: bindata + TEST_ELASTICSEARCH_URL: http://elasticsearch:9200 + test-remote-cacher: + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' + runs-on: docker + needs: [backend-checks, frontend-checks] + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + strategy: + matrix: + cacher: + # redis + - image: docker.io/bitnami/redis:7.2 + port: 6379 + # redict + - image: registry.redict.io/redict:7.3.0-scratch + port: 6379 + # valkey + - image: docker.io/bitnami/valkey:7.2 + port: 6379 + # garnet + - image: ghcr.io/microsoft/garnet-alpine:1.0.14 + port: 6379 + services: + cacher: + image: ${{ matrix.cacher.image }} + options: ${{ matrix.cacher.options }} + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + - run: | + git config --add safe.directory '*' + adduser --quiet --comment forgejo --disabled-password forgejo + chown -R forgejo:forgejo . + - name: install git >= 2.42 + run: | + export DEBIAN_FRONTEND=noninteractive + echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list + apt-get update -qq + apt-get -q install -qq -y git + rm /etc/apt/sources.list.d/testing.list + apt-get update -qq + - run: | + su forgejo -c 'make deps-backend' + - uses: actions/cache/restore@v4 + id: cache-backend + with: + path: '/workspace/forgejo/forgejo/gitea' + key: backend-build-${{ github.sha }} + - if: steps.cache-backend.outputs.cache-hit != 'true' + run: | + su forgejo -c 'make backend' + env: + TAGS: bindata + - run: | + su forgejo -c 'make test-remote-cacher test-check' + timeout-minutes: 50 + env: + RACE_ENABLED: 'true' + TAGS: bindata + TEST_REDIS_SERVER: cacher:${{ matrix.cacher.port }} + test-mysql: + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' + runs-on: docker + needs: [backend-checks, frontend-checks] + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + services: + mysql: + image: 'docker.io/bitnami/mysql:8.4' + env: + ALLOW_EMPTY_PASSWORD: yes + MYSQL_DATABASE: testgitea + # + # See also https://codeberg.org/forgejo/forgejo/issues/976 + # + MYSQL_EXTRA_FLAGS: --innodb-adaptive-flushing=OFF --innodb-buffer-pool-size=4G --innodb-log-buffer-size=128M --innodb-flush-log-at-trx-commit=0 --innodb-flush-log-at-timeout=30 --innodb-flush-method=nosync --innodb-fsync-threshold=1000000000 + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + - name: install dependencies & git >= 2.42 + run: | + export DEBIAN_FRONTEND=noninteractive + echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list + apt-get update -qq + apt-get install --no-install-recommends -qq -y git git-lfs + rm /etc/apt/sources.list.d/testing.list + apt-get update -qq + - name: setup user and permissions + run: | + git config --add safe.directory '*' + adduser --quiet --comment forgejo --disabled-password forgejo + chown -R forgejo:forgejo . + - run: | + su forgejo -c 'make deps-backend' + - uses: actions/cache/restore@v4 + id: cache-backend + with: + path: '/workspace/forgejo/forgejo/gitea' + key: backend-build-${{ github.sha }} + - if: steps.cache-backend.outputs.cache-hit != 'true' + run: | + su forgejo -c 'make backend' + env: + TAGS: bindata + - run: | + su forgejo -c 'make test-mysql-migration test-mysql' + timeout-minutes: 50 + env: + USE_REPO_TEST_DIR: 1 + test-pgsql: + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' + runs-on: docker + needs: [backend-checks, frontend-checks] + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + services: + minio: + image: docker.io/bitnami/minio:2024.8.17 + env: + MINIO_ROOT_USER: 123456 + MINIO_ROOT_PASSWORD: 12345678 + ldap: + image: docker.io/gitea/test-openldap:latest + pgsql: + image: 'code.forgejo.org/oci/postgres:15' + env: + POSTGRES_DB: test + POSTGRES_PASSWORD: postgres + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + - name: install dependencies & git >= 2.42 + run: | + export DEBIAN_FRONTEND=noninteractive + echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list + apt-get update -qq + apt-get install --no-install-recommends -qq -y git git-lfs + rm /etc/apt/sources.list.d/testing.list + apt-get update -qq + - name: setup user and permissions + run: | + git config --add safe.directory '*' + adduser --quiet --comment forgejo --disabled-password forgejo + chown -R forgejo:forgejo . + - run: | + su forgejo -c 'make deps-backend' + - uses: actions/cache/restore@v4 + id: cache-backend + with: + path: '/workspace/forgejo/forgejo/gitea' + key: backend-build-${{ github.sha }} + - if: steps.cache-backend.outputs.cache-hit != 'true' + run: | + su forgejo -c 'make backend' + env: + TAGS: bindata + - run: | + su forgejo -c 'make test-pgsql-migration test-pgsql' + timeout-minutes: 50 + env: + RACE_ENABLED: true + USE_REPO_TEST_DIR: 1 + TEST_LDAP: 1 + test-sqlite: + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' + runs-on: docker + needs: [backend-checks, frontend-checks] + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + - name: install dependencies & git >= 2.42 + run: | + export DEBIAN_FRONTEND=noninteractive + echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list + apt-get update -qq + apt-get install --no-install-recommends -qq -y git git-lfs + rm /etc/apt/sources.list.d/testing.list + apt-get update -qq + - name: setup user and permissions + run: | + git config --add safe.directory '*' + adduser --quiet --comment forgejo --disabled-password forgejo + chown -R forgejo:forgejo . + - run: | + su forgejo -c 'make deps-backend' + - uses: actions/cache/restore@v4 + id: cache-backend + with: + path: '/workspace/forgejo/forgejo/gitea' + key: backend-build-${{ github.sha }} + - if: steps.cache-backend.outputs.cache-hit != 'true' + run: | + su forgejo -c 'make backend' + env: + TAGS: bindata sqlite sqlite_unlock_notify + - run: | + su forgejo -c 'make test-sqlite-migration test-sqlite' + timeout-minutes: 50 + env: + TAGS: sqlite sqlite_unlock_notify + RACE_ENABLED: true + TEST_TAGS: sqlite sqlite_unlock_notify + USE_REPO_TEST_DIR: 1 + security-check: + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' + runs-on: docker + needs: + - test-sqlite + - test-pgsql + - test-mysql + - test-remote-cacher + - test-unit + container: + image: 'code.forgejo.org/oci/node:20-bookworm' + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + - run: make deps-backend deps-tools + - run: make security-check diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4e748c0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +* text=auto eol=lf +*.tmpl linguist-language=go-html-template +*.pb.go linguist-generated +/assets/*.json linguist-generated +/public/assets/img/svg/*.svg linguist-generated +/templates/swagger/v1_json.tmpl linguist-generated +/vendor/** -text -eol linguist-vendored +/web_src/fomantic/build/** linguist-generated +/web_src/fomantic/_site/globals/site.variables linguist-language=Less +/web_src/js/vendor/** -text -eol linguist-vendored +Dockerfile.* linguist-language=Dockerfile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7f40d0b --- /dev/null +++ b/.gitignore @@ -0,0 +1,125 @@ +# Emacs +*~ + +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# IntelliJ +.idea +# Goland's output filename can not be set manually +/go_build_* +/gitea_* + +# MS VSCode +.vscode +__debug_bin* + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +# folder for project related local files +/local/ + +*.exe +*.test +*.prof + +*coverage.out +coverage.all +cpu.out + +/modules/migration/bindata.go +/modules/migration/bindata.go.hash +/modules/options/bindata.go +/modules/options/bindata.go.hash +/modules/public/bindata.go +/modules/public/bindata.go.hash +/modules/templates/bindata.go +/modules/templates/bindata.go.hash + +*.db +*.log +*.log.*.gz + +/gitea +/gitea-vet +/debug +/integrations.test + +/bin +/dist +/custom/* +!/custom/conf/app.example.ini +/data +/indexers +/log +/public/assets/img/avatar +/tests/integration/gitea-integration-* +/tests/integration/indexers-* +/tests/e2e/gitea-e2e-* +/tests/e2e/indexers-* +/tests/e2e/reports +/tests/e2e/test-artifacts +/tests/e2e/test-snapshots +/tests/*.ini +/tests/**/*.git/**/*.sample +/node_modules +/.venv +/yarn.lock +/yarn-error.log +/npm-debug.log* +/public/assets/js +/public/assets/css +/public/assets/fonts +/public/assets/licenses.txt +/vendor +/web_src/fomantic/node_modules +/web_src/fomantic/build/* +!/web_src/fomantic/build/semantic.js +!/web_src/fomantic/build/semantic.css +!/web_src/fomantic/build/themes +/web_src/fomantic/build/themes/* +!/web_src/fomantic/build/themes/default +/web_src/fomantic/build/themes/default/assets/* +!/web_src/fomantic/build/themes/default/assets/fonts +/web_src/fomantic/build/themes/default/assets/fonts/* +!/web_src/fomantic/build/themes/default/assets/fonts/icons.woff2 +!/web_src/fomantic/build/themes/default/assets/fonts/outline-icons.woff2 +/VERSION +/.air +/.go-licenses +/.cur-deadcode-out + +# Files and folders that were previously generated +/public/assets/img/webpack + +# Snapcraft +/gitea_a*.txt +snap/.snapcraft/ +parts/ +stage/ +prime/ +*.snap +*.snap-build +*_source.tar.bz2 +.DS_Store + +# nix-direnv generated files +.direnv/ + +# Make evidence files +/.make_evidence + +# Manpage +/man diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e69de29 diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..8671edc --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,51 @@ +tasks: + - name: Setup + init: | + cp -r contrib/ide/vscode .vscode + make deps + make build + command: | + gp sync-done setup + exit 0 + - name: Run backend + command: | + gp sync-await setup + + # Get the URL and extract the domain + url=$(gp url 3000) + domain=$(echo $url | awk -F[/:] '{print $4}') + + if [ -f custom/conf/app.ini ]; then + sed -i "s|^ROOT_URL =.*|ROOT_URL = ${url}/|" custom/conf/app.ini + sed -i "s|^DOMAIN =.*|DOMAIN = ${domain}|" custom/conf/app.ini + sed -i "s|^SSH_DOMAIN =.*|SSH_DOMAIN = ${domain}|" custom/conf/app.ini + sed -i "s|^NO_REPLY_ADDRESS =.*|SSH_DOMAIN = noreply.${domain}|" custom/conf/app.ini + else + mkdir -p custom/conf/ + echo -e "[server]\nROOT_URL = ${url}/" > custom/conf/app.ini + echo -e "\n[database]\nDB_TYPE = sqlite3\nPATH = $GITPOD_REPO_ROOT/data/gitea.db" >> custom/conf/app.ini + fi + export TAGS="sqlite sqlite_unlock_notify" + make watch-backend + - name: Run frontend + command: | + gp sync-await setup + make watch-frontend + openMode: split-right + +vscode: + extensions: + - editorconfig.editorconfig + - dbaeumer.vscode-eslint + - golang.go + - stylelint.vscode-stylelint + - DavidAnson.vscode-markdownlint + - Vue.volar + - ms-azuretools.vscode-docker + - vitest.explorer + - cweijan.vscode-database-client2 + - GitHub.vscode-pull-request-github + +ports: + - name: Gitea + port: 3000 diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..4a20269 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,148 @@ +linters: + enable-all: false + disable-all: true + fast: false + enable: + - bidichk + - depguard + - dupl + - errcheck + - forbidigo + - gocritic + - gofmt + - gofumpt + - gosimple + - govet + - ineffassign + - nakedret + - nolintlint + - revive + - staticcheck + - stylecheck + - tenv + - testifylint + - typecheck + - unconvert + - unused + - unparam + - wastedassign + +run: + timeout: 10m + +output: + sort-results: true + sort-order: [file] + show-stats: true + +linters-settings: + stylecheck: + checks: ["all", "-ST1005", "-ST1003"] + nakedret: + max-func-lines: 0 + gocritic: + disabled-checks: + - ifElseChain + revive: + severity: error + rules: + - name: atomic + - name: bare-return + - name: blank-imports + - name: constant-logical-expr + - name: context-as-argument + - name: context-keys-type + - name: dot-imports + - name: duplicated-imports + - name: empty-lines + - name: error-naming + - name: error-return + - name: error-strings + - name: errorf + - name: exported + - name: identical-branches + - name: if-return + - name: increment-decrement + - name: indent-error-flow + - name: modifies-value-receiver + - name: package-comments + - name: range + - name: receiver-naming + - name: redefines-builtin-id + - name: string-of-int + - name: superfluous-else + - name: time-naming + - name: unconditional-recursion + - name: unexported-return + - name: unreachable-code + - name: var-declaration + - name: var-naming + gofumpt: + extra-rules: true + depguard: + rules: + main: + deny: + - pkg: encoding/json + desc: use gitea's modules/json instead of encoding/json + - pkg: github.com/unknwon/com + desc: use gitea's util and replacements + - pkg: io/ioutil + desc: use os or io instead + - pkg: golang.org/x/exp + desc: it's experimental and unreliable + - pkg: code.gitea.io/gitea/modules/git/internal + desc: do not use the internal package, use AddXxx function instead + - pkg: gopkg.in/ini.v1 + desc: do not use the ini package, use gitea's config system instead + - pkg: github.com/minio/sha256-simd + desc: use crypto/sha256 instead, see https://codeberg.org/forgejo/forgejo/pulls/1528 + testifylint: + disable: + - go-require + +issues: + max-issues-per-linter: 0 + max-same-issues: 0 + exclude-dirs: [node_modules, public, web_src] + exclude-case-sensitive: true + exclude-rules: + - path: models/db/sql_postgres_with_schema.go + linters: + - nolintlint + - path: _test\.go + linters: + - gocyclo + - errcheck + - dupl + - gosec + - unparam + - staticcheck + - path: models/migrations/v + linters: + - gocyclo + - errcheck + - dupl + - gosec + - path: cmd + linters: + - forbidigo + - text: "webhook" + linters: + - dupl + - text: "`ID' should not be capitalized" + linters: + - gocritic + - text: "swagger" + linters: + - unused + - deadcode + - text: "argument x is overwritten before first use" + linters: + - staticcheck + - text: "commentFormatting: put a space between `//` and comment text" + linters: + - gocritic + - text: "exitAfterDefer:" + linters: + - gocritic diff --git a/.ignore b/.ignore new file mode 100644 index 0000000..5b96dab --- /dev/null +++ b/.ignore @@ -0,0 +1,11 @@ +*.min.css +*.min.js +/assets/*.json +/modules/options/bindata.go +/modules/public/bindata.go +/modules/templates/bindata.go +/options/gitignore +/options/license +/public/assets +/vendor +node_modules diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000..88ff159 --- /dev/null +++ b/.mailmap @@ -0,0 +1,2 @@ +Unknwon +Unknwon 无闻 diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000..f740d1a --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,17 @@ +commands-show-output: false +fenced-code-language: false +first-line-h1: false +heading-increment: false +line-length: {code_blocks: false, tables: false, stern: true, line_length: -1} +no-alt-text: false +no-bare-urls: false +no-blanks-blockquote: false +no-emphasis-as-heading: false +no-empty-links: false +no-hard-tabs: {code_blocks: false} +no-inline-html: false +no-space-in-code: false +no-space-in-emphasis: false +no-trailing-punctuation: false +no-trailing-spaces: {br_spaces: 0} +single-h1: false diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..d9207e7 --- /dev/null +++ b/.npmrc @@ -0,0 +1,6 @@ +audit=false +fund=false +update-notifier=false +package-lock=true +save-exact=true +lockfile-version=3 diff --git a/.release-notes-assistant.yaml b/.release-notes-assistant.yaml new file mode 100644 index 0000000..15c73f9 --- /dev/null +++ b/.release-notes-assistant.yaml @@ -0,0 +1,27 @@ +categorize: './release-notes-assistant.sh' +branch-development: 'forgejo' +branch-pattern: 'v*/forgejo' +branch-find-version: 'v(?P\d+\.\d+)/forgejo' +branch-to-version: '${version}.0' +branch-from-version: 'v%[1]d.%[2]d/forgejo' +tag-from-version: 'v%[1]d.%[2]d.%[3]d' +branch-known: + - 'v7.0/forgejo' +cleanup-line: 'sed -Ee "s/^(feat|fix):\s*//g" -e "s/^\[WIP\] //" -e "s/^WIP: //" -e "s;\[(UI|BUG|FEAT|v.*?/forgejo)\]\s*;;g"' +render-header: | + + ## Draft release notes +comment: | +
+ Where does that come from? + The following is a preview of the release notes for this pull request, as they will appear in the upcoming release. They are derived from the content of the `%[2]s/%[3]s.md` file, if it exists, or the title of the pull request. They were also added at the bottom of the description of this pull request for easier reference. + + This message and the release notes originate from a call to the [release-notes-assistant](https://code.forgejo.org/forgejo/release-notes-assistant). + + ```diff + %[4]s + ``` + +
+ + %[1]s diff --git a/.spectral.yaml b/.spectral.yaml new file mode 100644 index 0000000..e547eea --- /dev/null +++ b/.spectral.yaml @@ -0,0 +1,12 @@ +extends: [[spectral:oas, all]] + +rules: + info-contact: off + oas2-api-host: off + oas2-parameter-description: off + oas2-schema: off + oas2-valid-schema-example: off + openapi-tags: off + operation-description: off + operation-singular-tag: off + operation-tag-defined: off diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..5a1e1e8 --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,44 @@ +extends: default + +rules: + braces: + min-spaces-inside: 0 + max-spaces-inside: 1 + min-spaces-inside-empty: 0 + max-spaces-inside-empty: 0 + + brackets: + min-spaces-inside: 0 + max-spaces-inside: 1 + min-spaces-inside-empty: 0 + max-spaces-inside-empty: 0 + + comments: + require-starting-space: true + ignore-shebangs: true + min-spaces-from-content: 1 + + comments-indentation: + level: error + + document-start: + level: error + present: false + + document-end: + present: false + + empty-lines: + max: 1 + + indentation: + spaces: 2 + + line-length: disable + + truthy: + allowed-values: ["true", "false", "on", "off"] + +ignore: | + .venv + node_modules diff --git a/BSDmakefile b/BSDmakefile new file mode 100644 index 0000000..79696ea --- /dev/null +++ b/BSDmakefile @@ -0,0 +1,58 @@ +# GNU makefile proxy script for BSD make +# +# Written and maintained by Mahmoud Al-Qudsi +# Copyright NeoSmart Technologies 2014-2019 +# Obtain updates from +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +JARG = +GMAKE = "gmake" +# When gmake is called from another make instance, -w is automatically added +# which causes extraneous messages about directory changes to be emitted. +# Running with --no-print-directory silences these messages. +GARGS = "--no-print-directory" + +.if "$(.MAKE.JOBS)" != "" + JARG = -j$(.MAKE.JOBS) +.endif + +# bmake prefers out-of-source builds and tries to cd into ./obj (among others) +# where possible. GNU Make doesn't, so override that value. +.OBJDIR: ./ + +# The GNU convention is to use the lowercased `prefix` variable/macro to +# specify the installation directory. Humor them. +GPREFIX = +.if defined(PREFIX) && ! defined(prefix) + GPREFIX = 'prefix = "$(PREFIX)"' +.endif + +.BEGIN: .SILENT + which $(GMAKE) || (printf "Error: GNU Make is required!\n\n" 1>&2 && false) + +.PHONY: FRC +$(.TARGETS): FRC + $(GMAKE) $(GPREFIX) $(GARGS) $(.TARGETS:S,.DONE,,) $(JARG) + +.DONE .DEFAULT: .SILENT + $(GMAKE) $(GPREFIX) $(GARGS) $(.TARGETS:S,.DONE,,) $(JARG) diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..d46efc0 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,37 @@ +# This file describes the expected reviewers for a PR based on the changed +# files. Unlike what the name of the file suggests they don't own the code, but +# merely have a good understanding of that area of the codebase and therefore +# are usually suited as a reviewer. + + +# Please mind the alphabetic order of reviewers. + +# Files related to frontend development. + +# Javascript and CSS code. +web_src/.* @caesar @crystal @gusted + +# HTML templates used by the backend. +templates/.* @caesar @crystal @gusted +## the issue sidebar was touched by fnetx +templates/repo/issue/view_content/sidebar.* @fnetx + +# Files related to Go development. + +# The modules usually don't require much knowledge about Forgejo and could +# be reviewed by Go developers. +modules/.* @gusted + +# Models has code related to SQL queries, general database knowledge and XORM. +models/.* @gusted + +# The routers directory contains the most amount code that requires a good grasp +# of how Forgejo comes together. It's tedious to write good integration testing +# for code that lives in here. +routers/.* @gusted + +# Let new strings be checked by the translation team. +options/locale/locale_en-US.ini @0ko + +# Personal interest +.*/webhook.* @oliverpool diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..18b613d --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,7 @@ +# Forgejo Contributor Guide + +The Forgejo project is run by a community of people who are expected to follow this guide when cooperating on a simple bug fix as well as when changing the governance. For more information about the project, take a look at [the documentation explaining what Forgejo provides](README.md). + +Sensitive security-related issues should be reported to [security@forgejo.org](mailto:security@forgejo.org) using [encryption](https://keyoxide.org/security@forgejo.org). + +You can find links to the different aspects of Developer documentation on this page: [Forgejo Contributor Guide](https://forgejo.org/docs/next/contributor/). diff --git a/DCO b/DCO new file mode 100644 index 0000000..49b8cb0 --- /dev/null +++ b/DCO @@ -0,0 +1,34 @@ +Developer Certificate of Origin +Version 1.1 + +Copyright (C) 2004, 2006 The Linux Foundation and its contributors. + +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. + + +Developer's Certificate of Origin 1.1 + +By making a contribution to this project, I certify that: + +(a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license + indicated in the file; or + +(b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source + license and I have the right under that license to submit that + work with modifications, whether created in whole or in part + by me, under the same open source license (unless I am + permitted to submit under a different license), as indicated + in the file; or + +(c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified + it. + +(d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including all + personal information I submit with it, including my sign-off) is + maintained indefinitely and may be redistributed consistent with + this project or the open source license(s) involved. diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..05c4f33 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,108 @@ +FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx + +FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.23-alpine3.20 as build-env + +ARG GOPROXY +ENV GOPROXY=${GOPROXY:-direct} + +ARG RELEASE_VERSION +ARG TAGS="sqlite sqlite_unlock_notify" +ENV TAGS="bindata timetzdata $TAGS" +ARG CGO_EXTRA_CFLAGS + +# +# Transparently cross compile for the target platform +# +COPY --from=xx / / +ARG TARGETPLATFORM +RUN apk --no-cache add clang lld +RUN xx-apk --no-cache add gcc musl-dev +ENV CGO_ENABLED=1 +RUN xx-go --wrap +# +# for go generate and binfmt to find +# without it the generate phase will fail with +# #19 25.04 modules/public/public_bindata.go:8: running "go": exit status 1 +# #19 25.39 aarch64-binfmt-P: Could not open '/lib/ld-musl-aarch64.so.1': No such file or directory +# why exactly is it needed? where is binfmt involved? +# +RUN cp /*-alpine-linux-musl*/lib/ld-musl-*.so.1 /lib || true + +RUN apk --no-cache add build-base git nodejs npm + +COPY . ${GOPATH}/src/code.gitea.io/gitea +WORKDIR ${GOPATH}/src/code.gitea.io/gitea + +RUN make clean +RUN make frontend +RUN go build contrib/environment-to-ini/environment-to-ini.go && xx-verify environment-to-ini +RUN LDFLAGS="-buildid=" make RELEASE_VERSION=$RELEASE_VERSION GOFLAGS="-trimpath" go-check generate-backend static-executable && xx-verify gitea + +# Copy local files +COPY docker/root /tmp/local + +# Set permissions +RUN chmod 755 /tmp/local/usr/bin/entrypoint \ + /tmp/local/usr/local/bin/gitea \ + /tmp/local/etc/s6/gitea/* \ + /tmp/local/etc/s6/openssh/* \ + /tmp/local/etc/s6/.s6-svscan/* \ + /go/src/code.gitea.io/gitea/gitea \ + /go/src/code.gitea.io/gitea/environment-to-ini +RUN chmod 644 /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete + +FROM code.forgejo.org/oci/alpine:3.20 +ARG RELEASE_VERSION +LABEL maintainer="contact@forgejo.org" \ + org.opencontainers.image.authors="Forgejo" \ + org.opencontainers.image.url="https://forgejo.org" \ + org.opencontainers.image.documentation="https://forgejo.org/download/#container-image" \ + org.opencontainers.image.source="https://codeberg.org/forgejo/forgejo" \ + org.opencontainers.image.version="${RELEASE_VERSION}" \ + org.opencontainers.image.vendor="Forgejo" \ + org.opencontainers.image.licenses="GPL-3.0-or-later" \ + org.opencontainers.image.title="Forgejo. Beyond coding. We forge." \ + org.opencontainers.image.description="Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job." + +EXPOSE 22 3000 + +RUN apk --no-cache add \ + bash \ + ca-certificates \ + curl \ + gettext \ + git \ + linux-pam \ + openssh \ + s6 \ + sqlite \ + su-exec \ + gnupg \ + && rm -rf /var/cache/apk/* + +RUN addgroup \ + -S -g 1000 \ + git && \ + adduser \ + -S -H -D \ + -h /data/git \ + -s /bin/bash \ + -u 1000 \ + -G git \ + git && \ + echo "git:*" | chpasswd -e + +ENV USER=git +ENV GITEA_CUSTOM=/data/gitea + +VOLUME ["/data"] + +ENTRYPOINT ["/usr/bin/entrypoint"] +CMD ["/bin/s6-svscan", "/etc/s6"] + +COPY --from=build-env /tmp/local / +RUN cd /usr/local/bin ; ln -s gitea forgejo +COPY --from=build-env /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea +RUN ln -s /app/gitea/gitea /app/gitea/forgejo-cli +COPY --from=build-env /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini +COPY --from=build-env /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh diff --git a/Dockerfile.rootless b/Dockerfile.rootless new file mode 100644 index 0000000..cc68206 --- /dev/null +++ b/Dockerfile.rootless @@ -0,0 +1,114 @@ +FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx + +FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.23-alpine3.20 as build-env + +ARG GOPROXY +ENV GOPROXY=${GOPROXY:-direct} + +ARG RELEASE_VERSION +ARG TAGS="sqlite sqlite_unlock_notify" +ENV TAGS="bindata timetzdata $TAGS" +ARG CGO_EXTRA_CFLAGS + +# +# Transparently cross compile for the target platform +# +COPY --from=xx / / +ARG TARGETPLATFORM +RUN apk --no-cache add clang lld +RUN xx-apk --no-cache add gcc musl-dev +ENV CGO_ENABLED=1 +RUN xx-go --wrap +# +# for go generate and binfmt to find +# without it the generate phase will fail with +# #19 25.04 modules/public/public_bindata.go:8: running "go": exit status 1 +# #19 25.39 aarch64-binfmt-P: Could not open '/lib/ld-musl-aarch64.so.1': No such file or directory +# why exactly is it needed? where is binfmt involved? +# +RUN cp /*-alpine-linux-musl*/lib/ld-musl-*.so.1 /lib || true + +RUN apk --no-cache add build-base git nodejs npm + +COPY . ${GOPATH}/src/code.gitea.io/gitea +WORKDIR ${GOPATH}/src/code.gitea.io/gitea + +RUN make clean +RUN make frontend +RUN go build contrib/environment-to-ini/environment-to-ini.go && xx-verify environment-to-ini +RUN make RELEASE_VERSION=$RELEASE_VERSION go-check generate-backend static-executable && xx-verify gitea + +# Copy local files +COPY docker/rootless /tmp/local + +# Set permissions +RUN chmod 755 /tmp/local/usr/local/bin/docker-entrypoint.sh \ + /tmp/local/usr/local/bin/docker-setup.sh \ + /tmp/local/usr/local/bin/gitea \ + /go/src/code.gitea.io/gitea/gitea \ + /go/src/code.gitea.io/gitea/environment-to-ini +RUN chmod 644 /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete + +FROM code.forgejo.org/oci/alpine:3.20 +LABEL maintainer="contact@forgejo.org" \ + org.opencontainers.image.authors="Forgejo" \ + org.opencontainers.image.url="https://forgejo.org" \ + org.opencontainers.image.documentation="https://forgejo.org/download/#container-image" \ + org.opencontainers.image.source="https://codeberg.org/forgejo/forgejo" \ + org.opencontainers.image.version="${RELEASE_VERSION}" \ + org.opencontainers.image.vendor="Forgejo" \ + org.opencontainers.image.licenses="GPL-3.0-or-later" \ + org.opencontainers.image.title="Forgejo. Beyond coding. We forge." \ + org.opencontainers.image.description="Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job." + +EXPOSE 2222 3000 + +RUN apk --no-cache add \ + bash \ + ca-certificates \ + dumb-init \ + gettext \ + git \ + curl \ + gnupg \ + && rm -rf /var/cache/apk/* + +RUN addgroup \ + -S -g 1000 \ + git && \ + adduser \ + -S -H -D \ + -h /var/lib/gitea/git \ + -s /bin/bash \ + -u 1000 \ + -G git \ + git + +RUN mkdir -p /var/lib/gitea /etc/gitea +RUN chown git:git /var/lib/gitea /etc/gitea + +COPY --from=build-env /tmp/local / +RUN cd /usr/local/bin ; ln -s gitea forgejo +COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea +RUN ln -s /app/gitea/gitea /app/gitea/forgejo-cli +COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini +COPY --from=build-env /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh + +#git:git +USER 1000:1000 +ENV GITEA_WORK_DIR=/var/lib/gitea +ENV GITEA_CUSTOM=/var/lib/gitea/custom +ENV GITEA_TEMP=/tmp/gitea +ENV TMPDIR=/tmp/gitea + +# Legacy config file for backwards compatibility +# TODO: remove on next major version release +ENV GITEA_APP_INI_LEGACY=/etc/gitea/app.ini + +ENV GITEA_APP_INI=${GITEA_CUSTOM}/conf/app.ini +ENV HOME="/var/lib/gitea/git" +VOLUME ["/var/lib/gitea", "/etc/gitea"] +WORKDIR /var/lib/gitea + +ENTRYPOINT ["/usr/bin/dumb-init", "--", "/usr/local/bin/docker-entrypoint.sh"] +CMD [] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f288702 --- /dev/null +++ b/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a2bfbdc --- /dev/null +++ b/Makefile @@ -0,0 +1,1027 @@ +ifeq ($(USE_REPO_TEST_DIR),1) + +# This rule replaces the whole Makefile when we're trying to use /tmp repository temporary files +location = $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) +self := $(location) + +%: + @tmpdir=`mktemp --tmpdir -d` ; \ + echo Using temporary directory $$tmpdir for test repositories ; \ + USE_REPO_TEST_DIR= $(MAKE) -f $(self) --no-print-directory REPO_TEST_DIR=$$tmpdir/ $@ ; \ + STATUS=$$? ; rm -r "$$tmpdir" ; exit $$STATUS + +else + +# This is the "normal" part of the Makefile + +DIST := dist +DIST_DIRS := $(DIST)/binaries $(DIST)/release +IMPORT := code.gitea.io/gitea + +GO ?= go +SHASUM ?= shasum -a 256 +HAS_GO := $(shell hash $(GO) > /dev/null 2>&1 && echo yes) +COMMA := , +DIFF ?= diff --unified + +XGO_VERSION := go-1.21.x + +AIR_PACKAGE ?= github.com/air-verse/air@v1 # renovate: datasource=go +EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/v3/cmd/editorconfig-checker@v3.0.3 # renovate: datasource=go +GOFUMPT_PACKAGE ?= mvdan.cc/gofumpt@v0.7.0 # renovate: datasource=go +GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0 # renovate: datasource=go +GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.11 # renovate: datasource=go +MISSPELL_PACKAGE ?= github.com/golangci/misspell/cmd/misspell@v0.6.0 # renovate: datasource=go +SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.31.0 # renovate: datasource=go +XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest +GO_LICENSES_PACKAGE ?= github.com/google/go-licenses@v1.6.0 # renovate: datasource=go +GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/govulncheck@v1 # renovate: datasource=go +DEADCODE_PACKAGE ?= golang.org/x/tools/cmd/deadcode@v0.25.0 # renovate: datasource=go +GOMOCK_PACKAGE ?= go.uber.org/mock/mockgen@v0.4.0 # renovate: datasource=go +GOPLS_PACKAGE ?= golang.org/x/tools/gopls@v0.16.2 # renovate: datasource=go +RENOVATE_NPM_PACKAGE ?= renovate@38.93.2 # renovate: datasource=docker packageName=code.forgejo.org/forgejo-contrib/renovate + +ifeq ($(HAS_GO), yes) + CGO_EXTRA_CFLAGS := -DSQLITE_MAX_VARIABLE_NUMBER=32766 + CGO_CFLAGS ?= $(shell $(GO) env CGO_CFLAGS) $(CGO_EXTRA_CFLAGS) +endif + +ifeq ($(GOOS),windows) + IS_WINDOWS := yes +else ifeq ($(patsubst Windows%,Windows,$(OS)),Windows) + ifeq ($(GOOS),) + IS_WINDOWS := yes + endif +endif +ifeq ($(IS_WINDOWS),yes) + GOFLAGS := -v -buildmode=exe + EXECUTABLE ?= gitea.exe +else + GOFLAGS := -v + EXECUTABLE ?= gitea +endif + +ifeq ($(shell sed --version 2>/dev/null | grep -q GNU && echo gnu),gnu) + SED_INPLACE := sed -i +else + SED_INPLACE := sed -i '' +endif + +EXTRA_GOFLAGS ?= + +MAKE_VERSION := $(shell "$(MAKE)" -v | cat | head -n 1) +MAKE_EVIDENCE_DIR := .make_evidence + +ifeq ($(RACE_ENABLED),true) + GOFLAGS += -race + GOTESTFLAGS += -race +endif + +STORED_VERSION_FILE := VERSION +HUGO_VERSION ?= 0.111.3 + +GITEA_COMPATIBILITY ?= gitea-1.22.0 + +STORED_VERSION=$(shell cat $(STORED_VERSION_FILE) 2>/dev/null) +ifneq ($(STORED_VERSION),) + FORGEJO_VERSION ?= $(STORED_VERSION) +else + ifneq ($(GITEA_VERSION),) + FORGEJO_VERSION ?= $(GITEA_VERSION) + FORGEJO_VERSION_API ?= $(GITEA_VERSION)+${GITEA_COMPATIBILITY} + else + # drop the "g" prefix prepended by git describe to the commit hash + FORGEJO_VERSION ?= $(shell git describe --exclude '*-test' --tags --always | sed 's/^v//' | sed 's/\-g/-/')+${GITEA_COMPATIBILITY} + endif +endif +FORGEJO_VERSION_MAJOR=$(shell echo $(FORGEJO_VERSION) | sed -e 's/\..*//') +FORGEJO_VERSION_MINOR=$(shell echo $(FORGEJO_VERSION) | sed -E -e 's/^([0-9]+\.[0-9]+).*/\1/') + +show-version-full: + @echo ${FORGEJO_VERSION} + +show-version-major: + @echo ${FORGEJO_VERSION_MAJOR} + +show-version-minor: + @echo ${FORGEJO_VERSION_MINOR} + +RELEASE_VERSION ?= ${FORGEJO_VERSION} +VERSION ?= ${RELEASE_VERSION} + +FORGEJO_VERSION_API ?= ${FORGEJO_VERSION} + +show-version-api: + @echo ${FORGEJO_VERSION_API} + +LDFLAGS := $(LDFLAGS) -X "main.ReleaseVersion=$(RELEASE_VERSION)" -X "main.MakeVersion=$(MAKE_VERSION)" -X "main.Version=$(FORGEJO_VERSION)" -X "main.Tags=$(TAGS)" -X "main.ForgejoVersion=$(FORGEJO_VERSION_API)" + +LINUX_ARCHS ?= linux/amd64,linux/386,linux/arm-5,linux/arm-6,linux/arm64 + +ifeq ($(HAS_GO), yes) + GO_TEST_PACKAGES ?= $(filter-out $(shell $(GO) list code.gitea.io/gitea/models/migrations/...) $(shell $(GO) list code.gitea.io/gitea/models/forgejo_migrations/...) code.gitea.io/gitea/tests/integration/migration-test code.gitea.io/gitea/tests code.gitea.io/gitea/tests/integration code.gitea.io/gitea/tests/e2e,$(shell $(GO) list ./...)) +endif +REMOTE_CACHER_MODULES ?= cache nosql session queue +GO_TEST_REMOTE_CACHER_PACKAGES ?= $(addprefix code.gitea.io/gitea/modules/,$(REMOTE_CACHER_MODULES)) + +FOMANTIC_WORK_DIR := web_src/fomantic + +WEBPACK_SOURCES := $(shell find web_src/js web_src/css -type f) +WEBPACK_CONFIGS := webpack.config.js tailwind.config.js +WEBPACK_DEST := public/assets/js/index.js public/assets/css/index.css +WEBPACK_DEST_ENTRIES := public/assets/js public/assets/css public/assets/fonts + +BINDATA_DEST := modules/public/bindata.go modules/options/bindata.go modules/templates/bindata.go +BINDATA_HASH := $(addsuffix .hash,$(BINDATA_DEST)) + +GENERATED_GO_DEST := modules/charset/invisible_gen.go modules/charset/ambiguous_gen.go + +SVG_DEST_DIR := public/assets/img/svg + +AIR_TMP_DIR := .air + +GO_LICENSE_TMP_DIR := .go-licenses +GO_LICENSE_FILE := assets/go-licenses.json + +TAGS ?= +TAGS_SPLIT := $(subst $(COMMA), ,$(TAGS)) +TAGS_EVIDENCE := $(MAKE_EVIDENCE_DIR)/tags + +TEST_TAGS ?= sqlite sqlite_unlock_notify + +TAR_EXCLUDES := .git data indexers queues log node_modules $(EXECUTABLE) $(FOMANTIC_WORK_DIR)/node_modules $(DIST) $(MAKE_EVIDENCE_DIR) $(AIR_TMP_DIR) $(GO_LICENSE_TMP_DIR) + +GO_DIRS := build cmd models modules routers services tests +WEB_DIRS := web_src/js web_src/css + +ESLINT_FILES := web_src/js tools *.js tests/e2e/*.js tests/e2e/shared/*.js +STYLELINT_FILES := web_src/css web_src/js/components/*.vue +SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github $(wildcard *.go *.js *.md *.yml *.yaml *.toml) + +GO_SOURCES := $(wildcard *.go) +GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" ! -path modules/options/bindata.go ! -path modules/public/bindata.go ! -path modules/templates/bindata.go) +GO_SOURCES += $(GENERATED_GO_DEST) +GO_SOURCES_NO_BINDATA := $(GO_SOURCES) + +ifeq ($(HAS_GO), yes) + MIGRATION_PACKAGES := $(shell $(GO) list code.gitea.io/gitea/models/migrations/... code.gitea.io/gitea/models/forgejo_migrations/...) +endif + +ifeq ($(filter $(TAGS_SPLIT),bindata),bindata) + GO_SOURCES += $(BINDATA_DEST) + GENERATED_GO_DEST += $(BINDATA_DEST) +endif + +# Force installation of playwright dependencies by setting this flag +ifdef DEPS_PLAYWRIGHT + PLAYWRIGHT_FLAGS += --with-deps +endif + +FORGEJO_API_SPEC := public/assets/forgejo/api.v1.yml + +SWAGGER_SPEC := templates/swagger/v1_json.tmpl +SWAGGER_SPEC_S_TMPL := s|"basePath": *"/api/v1"|"basePath": "{{AppSubUrl \| JSEscape}}/api/v1"|g +SWAGGER_SPEC_S_JSON := s|"basePath": *"{{AppSubUrl \| JSEscape}}/api/v1"|"basePath": "/api/v1"|g +SWAGGER_EXCLUDE := code.gitea.io/sdk +SWAGGER_NEWLINE_COMMAND := -e '$$a\' +SWAGGER_SPEC_BRANDING := s|Gitea API|Forgejo API|g +SWAGGER_SPEC_LICENSE := s|"name": "MIT"|"name": "This file is distributed under the MIT license for the purpose of interoperability"| + +TEST_MYSQL_HOST ?= mysql:3306 +TEST_MYSQL_DBNAME ?= testgitea?multiStatements=true +TEST_MYSQL_USERNAME ?= root +TEST_MYSQL_PASSWORD ?= +TEST_PGSQL_HOST ?= pgsql:5432 +TEST_PGSQL_DBNAME ?= testgitea +TEST_PGSQL_USERNAME ?= postgres +TEST_PGSQL_PASSWORD ?= postgres +TEST_PGSQL_SCHEMA ?= gtestschema + +.PHONY: all +all: build + +.PHONY: help +help: + @echo "Make Routines:" + @echo " - \"\" equivalent to \"build\"" + @echo " - build build everything" + @echo " - frontend build frontend files" + @echo " - backend build backend files" + @echo " - watch watch everything and continuously rebuild" + @echo " - watch-frontend watch frontend files and continuously rebuild" + @echo " - watch-backend watch backend files and continuously rebuild" + @echo " - clean delete backend and integration files" + @echo " - clean-all delete backend, frontend and integration files" + @echo " - deps install dependencies" + @echo " - deps-frontend install frontend dependencies" + @echo " - deps-backend install backend dependencies" + @echo " - deps-tools install tool dependencies" + @echo " - deps-py install python dependencies" + @echo " - lint lint everything" + @echo " - lint-fix lint everything and fix issues" + @echo " - lint-frontend lint frontend files" + @echo " - lint-frontend-fix lint frontend files and fix issues" + @echo " - lint-backend lint backend files" + @echo " - lint-backend-fix lint backend files and fix issues" + @echo " - lint-codespell lint typos" + @echo " - lint-codespell-fix lint typos and fix them automatically" + @echo " - lint-codespell-fix-i lint typos and fix them interactively" + @echo " - lint-go lint go files" + @echo " - lint-go-fix lint go files and fix issues" + @echo " - lint-go-vet lint go files with vet" + @echo " - lint-go-gopls lint go files with gopls" + @echo " - lint-js lint js files" + @echo " - lint-js-fix lint js files and fix issues" + @echo " - lint-css lint css files" + @echo " - lint-css-fix lint css files and fix issues" + @echo " - lint-md lint markdown files" + @echo " - lint-swagger lint swagger files" + @echo " - lint-templates lint template files" + @echo " - lint-renovate lint renovate files" + @echo " - lint-yaml lint yaml files" + @echo " - lint-spell lint spelling" + @echo " - lint-spell-fix lint spelling and fix issues" + @echo " - checks run various consistency checks" + @echo " - checks-frontend check frontend files" + @echo " - checks-backend check backend files" + @echo " - test test everything" + @echo " - show-version-full show the same version as the API endpoint" + @echo " - show-version-major show major release number only" + @echo " - test-frontend test frontend files" + @echo " - test-frontend-coverage test frontend files and display code coverage" + @echo " - test-backend test backend files" + @echo " - test-remote-cacher test backend files that use a remote cache" + @echo " - test-e2e-sqlite[\#name.test.e2e] test end to end using playwright and sqlite" + @echo " - webpack build webpack files" + @echo " - svg build svg files" + @echo " - fomantic build fomantic files" + @echo " - generate run \"go generate\"" + @echo " - fmt format the Go code" + @echo " - generate-license update license files" + @echo " - generate-gitignore update gitignore files" + @echo " - generate-manpage generate manpage" + @echo " - generate-gomock generate gomock files" + @echo " - generate-forgejo-api generate the forgejo API from spec" + @echo " - forgejo-api-validate check if the forgejo API matches the specs" + @echo " - generate-swagger generate the swagger spec from code comments" + @echo " - swagger-validate check if the swagger spec is valid" + @echo " - go-licenses regenerate go licenses" + @echo " - tidy run go mod tidy" + @echo " - test[\#TestSpecificName] run unit test" + @echo " - test-sqlite[\#TestSpecificName] run integration test for sqlite" + @echo " - reproduce-build\#version build a reproducible binary for the specified release version" + +### +# Check system and environment requirements +### + +.PHONY: go-check +go-check: + $(eval MIN_GO_VERSION_STR := $(shell grep -Eo '^go\s+[0-9]+\.[0-9]+' go.mod | cut -d' ' -f2)) + $(eval MIN_GO_VERSION := $(shell printf "%03d%03d" $(shell echo '$(MIN_GO_VERSION_STR)' | tr '.' ' '))) + $(eval GO_VERSION := $(shell printf "%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9]+' | tr '.' ' ');)) + @if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \ + echo "Forgejo requires Go $(MIN_GO_VERSION_STR) or greater to build. You can get it at https://go.dev/dl/"; \ + exit 1; \ + fi + +.PHONY: git-check +git-check: + @if git lfs >/dev/null 2>&1 ; then : ; else \ + echo "Forgejo requires git with lfs support to run tests." ; \ + exit 1; \ + fi + +.PHONY: node-check +node-check: + $(eval MIN_NODE_VERSION_STR := $(shell grep -Eo '"node":.*[0-9.]+"' package.json | sed -n 's/.*[^0-9.]\([0-9.]*\)"/\1/p')) + $(eval MIN_NODE_VERSION := $(shell printf "%03d%03d%03d" $(shell echo '$(MIN_NODE_VERSION_STR)' | tr '.' ' '))) + $(eval NODE_VERSION := $(shell printf "%03d%03d%03d" $(shell node -v | cut -c2- | tr '.' ' ');)) + $(eval NPM_MISSING := $(shell hash npm > /dev/null 2>&1 || echo 1)) + @if [ "$(NODE_VERSION)" -lt "$(MIN_NODE_VERSION)" -o "$(NPM_MISSING)" = "1" ]; then \ + echo "Forgejo requires Node.js $(MIN_NODE_VERSION_STR) or greater and npm to build. You can get it at https://nodejs.org/en/download/"; \ + exit 1; \ + fi + +### +# Basic maintenance, check and lint targets +### + +.PHONY: clean-all +clean-all: clean + rm -rf $(WEBPACK_DEST_ENTRIES) node_modules + +.PHONY: clean +clean: + rm -rf $(EXECUTABLE) $(DIST) $(BINDATA_DEST) $(BINDATA_HASH) \ + integrations*.test \ + e2e*.test \ + tests/integration/gitea-integration-* \ + tests/integration/indexers-* \ + tests/mysql.ini tests/pgsql.ini man/ \ + tests/e2e/gitea-e2e-*/ \ + tests/e2e/indexers-*/ \ + tests/e2e/reports/ tests/e2e/test-artifacts/ tests/e2e/test-snapshots/ + +.PHONY: fmt +fmt: + @GOFUMPT_PACKAGE=$(GOFUMPT_PACKAGE) $(GO) run build/code-batch-process.go gitea-fmt -w '{file-list}' + $(eval TEMPLATES := $(shell find templates -type f -name '*.tmpl')) + @# strip whitespace after '{{' or '(' and before '}}' or ')' unless there is only + @# whitespace before it + @$(SED_INPLACE) \ + -e 's/{{[ ]\{1,\}/{{/g' -e '/^[ ]\{1,\}}}/! s/[ ]\{1,\}}}/}}/g' \ + -e 's/([ ]\{1,\}/(/g' -e '/^[ ]\{1,\})/! s/[ ]\{1,\})/)/g' \ + $(TEMPLATES) + +.PHONY: fmt-check +fmt-check: fmt + @git diff --exit-code --color=always $(GO_SOURCES) templates $(WEB_DIRS) \ + || (code=$$?; echo "Please run 'make fmt' and commit the result"; exit $${code}) + +.PHONY: $(TAGS_EVIDENCE) +$(TAGS_EVIDENCE): + @mkdir -p $(MAKE_EVIDENCE_DIR) + @echo "$(TAGS)" > $(TAGS_EVIDENCE) + +ifneq "$(TAGS)" "$(shell cat $(TAGS_EVIDENCE) 2>/dev/null)" +TAGS_PREREQ := $(TAGS_EVIDENCE) +endif + +OAPI_CODEGEN_PACKAGE ?= github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.12.4 +KIN_OPENAPI_CODEGEN_PACKAGE ?= github.com/getkin/kin-openapi/cmd/validate@v0.114.0 +FORGEJO_API_SERVER = routers/api/forgejo/v1/generated.go + +.PHONY: generate-forgejo-api +generate-forgejo-api: $(FORGEJO_API_SPEC) + $(GO) run $(OAPI_CODEGEN_PACKAGE) -package v1 -generate chi-server,types $< > $(FORGEJO_API_SERVER) + +.PHONY: forgejo-api-check +forgejo-api-check: generate-forgejo-api + @git diff --exit-code --color=always $(FORGEJO_API_SERVER) \ + || (code=$$?; echo "Please run 'make generate-forgejo-api' and commit the result"; exit $${code}) + +.PHONY: forgejo-api-validate +forgejo-api-validate: + $(GO) run $(KIN_OPENAPI_CODEGEN_PACKAGE) $(FORGEJO_API_SPEC) + +.PHONY: generate-swagger +generate-swagger: $(SWAGGER_SPEC) + +$(SWAGGER_SPEC): $(GO_SOURCES_NO_BINDATA) + $(GO) run $(SWAGGER_PACKAGE) generate spec -x "$(SWAGGER_EXCLUDE)" -o './$(SWAGGER_SPEC)' + $(SED_INPLACE) '$(SWAGGER_SPEC_S_TMPL)' './$(SWAGGER_SPEC)' + $(SED_INPLACE) $(SWAGGER_NEWLINE_COMMAND) './$(SWAGGER_SPEC)' + $(SED_INPLACE) '$(SWAGGER_SPEC_BRANDING)' './$(SWAGGER_SPEC)' + $(SED_INPLACE) '$(SWAGGER_SPEC_LICENSE)' './$(SWAGGER_SPEC)' + +.PHONY: swagger-check +swagger-check: generate-swagger + @git diff --exit-code --color=always '$(SWAGGER_SPEC)' \ + || (code=$$?; echo "Please run 'make generate-swagger' and commit the result"; exit $${code}) + +.PHONY: swagger-validate +swagger-validate: + $(SED_INPLACE) '$(SWAGGER_SPEC_S_JSON)' './$(SWAGGER_SPEC)' + $(GO) run $(SWAGGER_PACKAGE) validate './$(SWAGGER_SPEC)' + $(SED_INPLACE) '$(SWAGGER_SPEC_S_TMPL)' './$(SWAGGER_SPEC)' + +.PHONY: checks +checks: checks-frontend checks-backend + +.PHONY: checks-frontend +checks-frontend: lockfile-check svg-check + +.PHONY: checks-backend +checks-backend: tidy-check swagger-check fmt-check swagger-validate security-check + +.PHONY: lint +lint: lint-frontend lint-backend lint-spell + +.PHONY: lint-fix +lint-fix: lint-frontend-fix lint-backend-fix lint-spell-fix + +.PHONY: lint-frontend +lint-frontend: lint-js lint-css + +.PHONY: lint-frontend-fix +lint-frontend-fix: lint-js-fix lint-css-fix + +.PHONY: lint-backend +lint-backend: lint-go lint-go-vet lint-editorconfig lint-renovate + +.PHONY: lint-backend-fix +lint-backend-fix: lint-go-fix lint-go-vet lint-editorconfig + +.PHONY: lint-codespell +lint-codespell: + codespell + +.PHONY: lint-codespell-fix +lint-codespell-fix: + codespell -w + +.PHONY: lint-codespell-fix-i +lint-codespell-fix-i: + codespell -w -i 3 -C 2 + +.PHONY: lint-js +lint-js: node_modules + npx eslint --color --max-warnings=0 --ext js,vue $(ESLINT_FILES) + +.PHONY: lint-js-fix +lint-js-fix: node_modules + npx eslint --color --max-warnings=0 --ext js,vue $(ESLINT_FILES) --fix + +.PHONY: lint-css +lint-css: node_modules + npx stylelint --color --max-warnings=0 $(STYLELINT_FILES) + +.PHONY: lint-css-fix +lint-css-fix: node_modules + npx stylelint --color --max-warnings=0 $(STYLELINT_FILES) --fix + +.PHONY: lint-swagger +lint-swagger: node_modules + npx spectral lint -q -F hint $(SWAGGER_SPEC) + +.PHONY: lint-renovate +lint-renovate: node_modules + npx --yes --package $(RENOVATE_NPM_PACKAGE) -- renovate-config-validator --strict > .lint-renovate 2>&1 || true + @if grep --quiet --extended-regexp -e '^( WARN:|ERROR:)' .lint-renovate ; then cat .lint-renovate ; rm .lint-renovate ; exit 1 ; fi + @rm .lint-renovate + +.PHONY: lint-md +lint-md: node_modules + npx markdownlint docs *.md + +.PHONY: lint-spell +lint-spell: lint-codespell + @go run $(MISSPELL_PACKAGE) -error $(SPELLCHECK_FILES) + +.PHONY: lint-spell-fix +lint-spell-fix: lint-codespell-fix + @go run $(MISSPELL_PACKAGE) -w $(SPELLCHECK_FILES) + +RUN_DEADCODE = $(GO) run $(DEADCODE_PACKAGE) -generated=false -f='{{println .Path}}{{range .Funcs}}{{printf "\t%s\n" .Name}}{{end}}{{println}}' -test code.gitea.io/gitea + +.PHONY: lint-go +lint-go: + $(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS) + $(RUN_DEADCODE) > .cur-deadcode-out + @$(DIFF) .deadcode-out .cur-deadcode-out \ + || (code=$$?; echo "Please run 'make lint-go-fix' and commit the result"; exit $${code}) + +.PHONY: lint-go-fix +lint-go-fix: + $(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS) --fix + $(RUN_DEADCODE) > .deadcode-out + +# workaround step for the lint-go-windows CI task because 'go run' can not +# have distinct GOOS/GOARCH for its build and run steps +.PHONY: lint-go-windows +lint-go-windows: + @GOOS= GOARCH= $(GO) install $(GOLANGCI_LINT_PACKAGE) + golangci-lint run + +.PHONY: lint-go-vet +lint-go-vet: + @echo "Running go vet..." + @$(GO) vet ./... + +.PHONY: lint-go-gopls +lint-go-gopls: + @echo "Running gopls check..." + @GO=$(GO) GOPLS_PACKAGE=$(GOPLS_PACKAGE) tools/lint-go-gopls.sh $(GO_SOURCES_NO_BINDATA) + +.PHONY: lint-editorconfig +lint-editorconfig: + $(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) templates .forgejo/workflows + +.PHONY: lint-templates +lint-templates: .venv node_modules + @node tools/lint-templates-svg.js + @poetry run djlint $(shell find templates -type f -iname '*.tmpl') + +.PHONY: lint-yaml +lint-yaml: .venv + @poetry run yamllint . + +.PHONY: security-check +security-check: + go run $(GOVULNCHECK_PACKAGE) ./... + +### +# Development and testing targets +### + +.PHONY: watch +watch: + @bash tools/watch.sh + +.PHONY: watch-frontend +watch-frontend: node-check node_modules + @rm -rf $(WEBPACK_DEST_ENTRIES) + NODE_ENV=development npx webpack --watch --progress + +.PHONY: watch-backend +watch-backend: go-check + GITEA_RUN_MODE=dev $(GO) run $(AIR_PACKAGE) -c .air.toml + +.PHONY: test +test: test-frontend test-backend + +.PHONY: test-backend +test-backend: + @echo "Running go test with $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..." + @$(GO) test $(GOTESTFLAGS) -tags='$(TEST_TAGS)' $(GO_TEST_PACKAGES) + +.PHONY: test-remote-cacher +test-remote-cacher: + @echo "Running go test with $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..." + @$(GO) test $(GOTESTFLAGS) -tags='$(TEST_TAGS)' $(GO_TEST_REMOTE_CACHER_PACKAGES) + +.PHONY: test-frontend +test-frontend: node_modules + npx vitest + +.PHONY: test-frontend-coverage +test-frontend-coverage: node_modules + npx vitest --coverage --coverage.include 'web_src/**' + +.PHONY: test-check +test-check: + @echo "Running test-check..."; + @diff=$$(git status -s); \ + if [ -n "$$diff" ]; then \ + echo "make test-backend has changed files in the source tree:"; \ + echo "$${diff}"; \ + echo "You should change the tests to create these files in a temporary directory."; \ + echo "Do not simply add these files to .gitignore"; \ + exit 1; \ + fi + +.PHONY: test\#% +test\#%: + @echo "Running go test with -tags '$(TEST_TAGS)'..." + @$(GO) test $(GOTESTFLAGS) -tags='$(TEST_TAGS)' -run $(subst .,/,$*) $(GO_TEST_PACKAGES) + +.PHONY: coverage +coverage: + grep '^\(mode: .*\)\|\(.*:[0-9]\+\.[0-9]\+,[0-9]\+\.[0-9]\+ [0-9]\+ [0-9]\+\)$$' coverage.out > coverage-bodged.out + grep '^\(mode: .*\)\|\(.*:[0-9]\+\.[0-9]\+,[0-9]\+\.[0-9]\+ [0-9]\+ [0-9]\+\)$$' integration.coverage.out > integration.coverage-bodged.out + $(GO) run build/gocovmerge.go integration.coverage-bodged.out coverage-bodged.out > coverage.all + +.PHONY: unit-test-coverage +unit-test-coverage: + @echo "Running unit-test-coverage $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..." + @$(GO) test $(GOTESTFLAGS) -timeout=20m -tags='$(TEST_TAGS)' -cover -coverprofile coverage.out $(GO_TEST_PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1 + +.PHONY: tidy +tidy: + $(eval MIN_GO_VERSION := $(shell grep -Eo '^go\s+[0-9]+\.[0-9.]+' go.mod | cut -d' ' -f2)) + $(GO) mod tidy -compat=$(MIN_GO_VERSION) + @$(MAKE) --no-print-directory $(GO_LICENSE_FILE) + +vendor: go.mod go.sum + $(GO) mod vendor + @touch vendor + +.PHONY: tidy-check +tidy-check: tidy + @git diff --exit-code --color=always go.mod go.sum $(GO_LICENSE_FILE) \ + || (code=$$?; echo "Please run 'make tidy' and commit the result"; exit $${code}) + +.PHONY: go-licenses +go-licenses: $(GO_LICENSE_FILE) + +$(GO_LICENSE_FILE): go.mod go.sum + -$(shell $(GO) env GOROOT)/bin/go run $(GO_LICENSES_PACKAGE) save . --force --ignore code.gitea.io/gitea --save_path=$(GO_LICENSE_TMP_DIR) 2>/dev/null + $(GO) run build/generate-go-licenses.go $(GO_LICENSE_TMP_DIR) $(GO_LICENSE_FILE) + @rm -rf $(GO_LICENSE_TMP_DIR) + +generate-ini-sqlite: + sed -e 's|{{REPO_TEST_DIR}}|${REPO_TEST_DIR}|g' \ + -e 's|{{TEST_LOGGER}}|$(or $(TEST_LOGGER),test$(COMMA)file)|g' \ + -e 's|{{TEST_TYPE}}|$(or $(TEST_TYPE),integration)|g' \ + tests/sqlite.ini.tmpl > tests/sqlite.ini + +.PHONY: test-sqlite +test-sqlite: integrations.sqlite.test generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test + +.PHONY: test-sqlite\#% +test-sqlite\#%: integrations.sqlite.test generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test -test.run $(subst .,/,$*) + +.PHONY: test-sqlite-migration +test-sqlite-migration: migrations.sqlite.test migrations.individual.sqlite.test + +generate-ini-mysql: + sed -e 's|{{TEST_MYSQL_HOST}}|${TEST_MYSQL_HOST}|g' \ + -e 's|{{TEST_MYSQL_DBNAME}}|${TEST_MYSQL_DBNAME}|g' \ + -e 's|{{TEST_MYSQL_USERNAME}}|${TEST_MYSQL_USERNAME}|g' \ + -e 's|{{TEST_MYSQL_PASSWORD}}|${TEST_MYSQL_PASSWORD}|g' \ + -e 's|{{REPO_TEST_DIR}}|${REPO_TEST_DIR}|g' \ + -e 's|{{TEST_LOGGER}}|$(or $(TEST_LOGGER),test$(COMMA)file)|g' \ + -e 's|{{TEST_TYPE}}|$(or $(TEST_TYPE),integration)|g' \ + tests/mysql.ini.tmpl > tests/mysql.ini + +.PHONY: test-mysql +test-mysql: integrations.mysql.test generate-ini-mysql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./integrations.mysql.test + +.PHONY: test-mysql\#% +test-mysql\#%: integrations.mysql.test generate-ini-mysql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./integrations.mysql.test -test.run $(subst .,/,$*) + +.PHONY: test-mysql-migration +test-mysql-migration: migrations.mysql.test migrations.individual.mysql.test + +generate-ini-pgsql: + sed -e 's|{{TEST_PGSQL_HOST}}|${TEST_PGSQL_HOST}|g' \ + -e 's|{{TEST_PGSQL_DBNAME}}|${TEST_PGSQL_DBNAME}|g' \ + -e 's|{{TEST_PGSQL_USERNAME}}|${TEST_PGSQL_USERNAME}|g' \ + -e 's|{{TEST_PGSQL_PASSWORD}}|${TEST_PGSQL_PASSWORD}|g' \ + -e 's|{{TEST_PGSQL_SCHEMA}}|${TEST_PGSQL_SCHEMA}|g' \ + -e 's|{{REPO_TEST_DIR}}|${REPO_TEST_DIR}|g' \ + -e 's|{{TEST_LOGGER}}|$(or $(TEST_LOGGER),test$(COMMA)file)|g' \ + -e 's|{{TEST_TYPE}}|$(or $(TEST_TYPE),integration)|g' \ + tests/pgsql.ini.tmpl > tests/pgsql.ini + +.PHONY: test-pgsql +test-pgsql: integrations.pgsql.test generate-ini-pgsql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test + +.PHONY: test-pgsql\#% +test-pgsql\#%: integrations.pgsql.test generate-ini-pgsql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test -test.run $(subst .,/,$*) + +.PHONY: test-pgsql-migration +test-pgsql-migration: migrations.pgsql.test migrations.individual.pgsql.test + +.PHONY: playwright +playwright: deps-frontend + npx playwright install $(PLAYWRIGHT_FLAGS) + +.PHONY: test-e2e% +test-e2e%: TEST_TYPE ?= e2e + # Clear display env variable. Otherwise, chromium tests can fail. + DISPLAY= + +.PHONY: test-e2e +test-e2e: test-e2e-sqlite + +.PHONY: test-e2e-sqlite +test-e2e-sqlite: playwright e2e.sqlite.test generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./e2e.sqlite.test -test.run TestE2e + +.PHONY: test-e2e-sqlite\#% +test-e2e-sqlite\#%: playwright e2e.sqlite.test generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./e2e.sqlite.test -test.run TestE2e/$* + +.PHONY: test-e2e-sqlite-firefox\#% +test-e2e-sqlite-firefox\#%: playwright e2e.sqlite.test generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini PLAYWRIGHT_PROJECT=firefox ./e2e.sqlite.test -test.run TestE2e/$* + +.PHONY: test-e2e-mysql +test-e2e-mysql: playwright e2e.mysql.test generate-ini-mysql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./e2e.mysql.test -test.run TestE2e + +.PHONY: test-e2e-mysql\#% +test-e2e-mysql\#%: playwright e2e.mysql.test generate-ini-mysql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./e2e.mysql.test -test.run TestE2e/$* + +.PHONY: test-e2e-pgsql +test-e2e-pgsql: playwright e2e.pgsql.test generate-ini-pgsql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./e2e.pgsql.test -test.run TestE2e + +.PHONY: test-e2e-pgsql\#% +test-e2e-pgsql\#%: playwright e2e.pgsql.test generate-ini-pgsql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./e2e.pgsql.test -test.run TestE2e/$* + +.PHONY: test-e2e-debugserver +test-e2e-debugserver: e2e.sqlite.test generate-ini-sqlite + sed -i s/3003/3000/g tests/sqlite.ini + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./e2e.sqlite.test -test.run TestDebugserver -test.timeout 24h + +.PHONY: bench-sqlite +bench-sqlite: integrations.sqlite.test generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench . + +.PHONY: bench-mysql +bench-mysql: integrations.mysql.test generate-ini-mysql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./integrations.mysql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench . + +.PHONY: bench-pgsql +bench-pgsql: integrations.pgsql.test generate-ini-pgsql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench . + +.PHONY: integration-test-coverage +integration-test-coverage: integrations.cover.test generate-ini-mysql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./integrations.cover.test -test.coverprofile=integration.coverage.out + +.PHONY: integration-test-coverage-sqlite +integration-test-coverage-sqlite: integrations.cover.sqlite.test generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./integrations.cover.sqlite.test -test.coverprofile=integration.coverage.out + +integrations.mysql.test: git-check $(GO_SOURCES) + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -o integrations.mysql.test + +integrations.pgsql.test: git-check $(GO_SOURCES) + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -o integrations.pgsql.test + +integrations.sqlite.test: git-check $(GO_SOURCES) + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -o integrations.sqlite.test -tags '$(TEST_TAGS)' + +integrations.cover.test: git-check $(GO_SOURCES) + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -coverpkg $(shell echo $(GO_TEST_PACKAGES) | tr ' ' ',') -o integrations.cover.test + +integrations.cover.sqlite.test: git-check $(GO_SOURCES) + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -coverpkg $(shell echo $(GO_TEST_PACKAGES) | tr ' ' ',') -o integrations.cover.sqlite.test -tags '$(TEST_TAGS)' + +.PHONY: migrations.mysql.test +migrations.mysql.test: $(GO_SOURCES) generate-ini-mysql + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.mysql.test + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./migrations.mysql.test + +.PHONY: migrations.pgsql.test +migrations.pgsql.test: $(GO_SOURCES) generate-ini-pgsql + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.pgsql.test + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./migrations.pgsql.test + +.PHONY: migrations.sqlite.test +migrations.sqlite.test: $(GO_SOURCES) generate-ini-sqlite + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.sqlite.test -tags '$(TEST_TAGS)' + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./migrations.sqlite.test + +.PHONY: migrations.individual.mysql.test +migrations.individual.mysql.test: $(GO_SOURCES) + for pkg in $(MIGRATION_PACKAGES); do \ + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg || exit 1; \ + done + +.PHONY: migrations.individual.sqlite.test\#% +migrations.individual.sqlite.test\#%: $(GO_SOURCES) generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' code.gitea.io/gitea/models/migrations/$* + +.PHONY: migrations.individual.pgsql.test +migrations.individual.pgsql.test: $(GO_SOURCES) + for pkg in $(MIGRATION_PACKAGES); do \ + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg || exit 1;\ + done + +.PHONY: migrations.individual.pgsql.test\#% +migrations.individual.pgsql.test\#%: $(GO_SOURCES) generate-ini-pgsql + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' code.gitea.io/gitea/models/migrations/$* + +.PHONY: migrations.individual.sqlite.test +migrations.individual.sqlite.test: $(GO_SOURCES) generate-ini-sqlite + for pkg in $(MIGRATION_PACKAGES); do \ + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg || exit 1; \ + done + +.PHONY: migrations.individual.sqlite.test\#% +migrations.individual.sqlite.test\#%: $(GO_SOURCES) generate-ini-sqlite + GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' code.gitea.io/gitea/models/migrations/$* + +e2e.mysql.test: $(GO_SOURCES) + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/e2e -o e2e.mysql.test + +e2e.pgsql.test: $(GO_SOURCES) + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/e2e -o e2e.pgsql.test + +e2e.sqlite.test: $(GO_SOURCES) + $(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/e2e -o e2e.sqlite.test -tags '$(TEST_TAGS)' + +.PHONY: check +check: test + +### +# Production / build targets +### + +.PHONY: install $(TAGS_PREREQ) +install: $(wildcard *.go) + CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' + +.PHONY: build +build: frontend backend + +.PHONY: frontend +frontend: $(WEBPACK_DEST) + +.PHONY: backend +backend: go-check generate-backend $(EXECUTABLE) + +# We generate the backend before the frontend in case we in future we want to generate things in the frontend from generated files in backend +.PHONY: generate +generate: generate-backend + +.PHONY: generate-backend +generate-backend: $(TAGS_PREREQ) generate-go + +.PHONY: generate-go +generate-go: $(TAGS_PREREQ) + @echo "Running go generate..." + @CC= GOOS= GOARCH= CGO_ENABLED=0 $(GO) generate -tags '$(TAGS)' ./... + +.PHONY: merge-locales +merge-locales: + @echo "NOT NEEDED: THIS IS A NOOP AS OF Forgejo 7.0 BUT KEPT FOR BACKWARD COMPATIBILITY" + +$(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ) + CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@ + +forgejo: $(EXECUTABLE) + ln -f $(EXECUTABLE) forgejo + +static-executable: $(GO_SOURCES) $(TAGS_PREREQ) + CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags 'netgo osusergo $(TAGS)' -ldflags '-s -w -linkmode external -extldflags "-static" $(LDFLAGS)' -o $(EXECUTABLE) + +.PHONY: release +release: frontend generate release-linux release-copy release-compress vendor release-sources release-check + +# just the sources, with all assets builtin and frontend resources generated +sources-tarbal: frontend generate vendor release-sources release-check + +$(DIST_DIRS): + mkdir -p $(DIST_DIRS) + +.PHONY: release-windows +release-windows: | $(DIST_DIRS) + CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION) . + +.PHONY: release-linux +release-linux: | $(DIST_DIRS) + CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets '$(LINUX_ARCHS)' -out forgejo-$(VERSION) . +ifeq ($(CI),true) + cp /build/* $(DIST)/binaries +endif + +.PHONY: release-darwin +release-darwin: | $(DIST_DIRS) + CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin-10.12/amd64,darwin-10.12/arm64' -out gitea-$(VERSION) . + +.PHONY: release-freebsd +release-freebsd: | $(DIST_DIRS) + CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'freebsd/amd64' -out gitea-$(VERSION) . + +.PHONY: release-copy +release-copy: | $(DIST_DIRS) + cd $(DIST); for file in `find . -type f -name "*"`; do cp $${file} ./release/; done; + +.PHONY: release-check +release-check: | $(DIST_DIRS) + cd $(DIST)/release/; for file in `find . -type f -name "*"`; do echo "checksumming $${file}" && $(SHASUM) `echo $${file} | sed 's/^..//'` > $${file}.sha256; done; + +.PHONY: release-compress +release-compress: | $(DIST_DIRS) + cd $(DIST)/release/; for file in `find . -type f -name "*"`; do echo "compressing $${file}" && $(GO) run $(GXZ_PACKAGE) -k -9 $${file}; done; + +.PHONY: release-sources +release-sources: | $(DIST_DIRS) + echo $(VERSION) > $(STORED_VERSION_FILE) +# bsdtar needs a ^ to prevent matching subdirectories + $(eval EXCL := --exclude=$(shell tar --help | grep -q bsdtar && echo "^")./) +# use transform to a add a release-folder prefix; in bsdtar the transform parameter equivalent is -s + $(eval TRANSFORM := $(shell tar --help | grep -q bsdtar && echo "-s '/^./forgejo-src-$(VERSION)/'" || echo "--transform 's|^./|forgejo-src-$(VERSION)/|'")) + tar $(addprefix $(EXCL),$(TAR_EXCLUDES)) $(TRANSFORM) -czf $(DIST)/release/forgejo-src-$(VERSION).tar.gz . + rm -f $(STORED_VERSION_FILE) + +.PHONY: release-docs +release-docs: | $(DIST_DIRS) docs + tar -czf $(DIST)/release/gitea-docs-$(VERSION).tar.gz -C ./docs . + +.PHONY: reproduce-build +reproduce-build: +# Start building the Dockerfile with the RELEASE_VERSION tag set. GOPROXY is set +# for convience, because the default of the Dockerfile is `direct` which can be +# quite slow. + @docker build --build-arg="RELEASE_VERSION=$(RELEASE_VERSION)" --build-arg="GOPROXY=$(shell $(GO) env GOPROXY)" --tag "forgejo-reproducibility" . + @id=$$(docker create forgejo-reproducibility); \ + docker cp $$id:/app/gitea/gitea ./forgejo; \ + docker rm -v $$id; \ + docker image rm forgejo-reproducibility:latest + +.PHONY: reproduce-build\#% +reproduce-build\#%: + @git switch -d "$*" +# All the current variables are based on information before the git checkout happened. +# Call the makefile again, so these variables are correct and can be used for building +# a reproducible binary. Always execute git switch -, to go back to the previous branch. + @make reproduce-build; \ + (code=$$?; git switch -; exit $${code}) + +### +# Dependency management +### + +.PHONY: deps +deps: deps-frontend deps-backend deps-tools deps-py + +.PHONY: deps-py +deps-py: .venv + +.PHONY: deps-frontend +deps-frontend: node_modules + +.PHONY: deps-backend +deps-backend: + $(GO) mod download + +.PHONY: deps-tools +deps-tools: + $(GO) install $(AIR_PACKAGE) + $(GO) install $(EDITORCONFIG_CHECKER_PACKAGE) + $(GO) install $(GOFUMPT_PACKAGE) + $(GO) install $(GOLANGCI_LINT_PACKAGE) + $(GO) install $(GXZ_PACKAGE) + $(GO) install $(MISSPELL_PACKAGE) + $(GO) install $(SWAGGER_PACKAGE) + $(GO) install $(XGO_PACKAGE) + $(GO) install $(GO_LICENSES_PACKAGE) + $(GO) install $(GOVULNCHECK_PACKAGE) + $(GO) install $(GOMOCK_PACKAGE) + $(GO) install $(GOPLS_PACKAGE) + +node_modules: package-lock.json + npm install --no-save + @touch node_modules + +.venv: poetry.lock + poetry install + @touch .venv + +.PHONY: fomantic +fomantic: + rm -rf $(FOMANTIC_WORK_DIR)/build + cd $(FOMANTIC_WORK_DIR) && npm install --no-save + cp -f $(FOMANTIC_WORK_DIR)/theme.config.less $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/theme.config + cp -rf $(FOMANTIC_WORK_DIR)/_site $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/ + $(SED_INPLACE) -e 's/ overrideBrowserslist\r/ overrideBrowserslist: ["defaults"]\r/g' $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/tasks/config/tasks.js + cd $(FOMANTIC_WORK_DIR) && npx gulp -f node_modules/fomantic-ui/gulpfile.js build + # fomantic uses "touchstart" as click event for some browsers, it's not ideal, so we force fomantic to always use "click" as click event + $(SED_INPLACE) -e 's/clickEvent[ \t]*=/clickEvent = "click", unstableClickEvent =/g' $(FOMANTIC_WORK_DIR)/build/semantic.js + $(SED_INPLACE) -e 's/\r//g' $(FOMANTIC_WORK_DIR)/build/semantic.css $(FOMANTIC_WORK_DIR)/build/semantic.js + rm -f $(FOMANTIC_WORK_DIR)/build/*.min.* + +.PHONY: webpack +webpack: $(WEBPACK_DEST) + +$(WEBPACK_DEST): $(WEBPACK_SOURCES) $(WEBPACK_CONFIGS) package-lock.json + @$(MAKE) -s node-check node_modules + @rm -rf $(WEBPACK_DEST_ENTRIES) + @echo "Running webpack..." + @BROWSERSLIST_IGNORE_OLD_DATA=true npx webpack + @touch $(WEBPACK_DEST) + +.PHONY: svg +svg: node-check | node_modules + rm -rf $(SVG_DEST_DIR) + node tools/generate-svg.js + +.PHONY: svg-check +svg-check: svg + @git add $(SVG_DEST_DIR) + @git diff --exit-code --color=always --cached $(SVG_DEST_DIR) \ + || (code=$$?; echo "Please run 'make svg' and commit the result"; exit $${code}) + +.PHONY: lockfile-check +lockfile-check: + npm install --package-lock-only + @git diff --exit-code --color=always package-lock.json \ + || (code=$$?; echo "Please run 'npm install --package-lock-only' and commit the result"; exit $${code}) + +.PHONY: generate-license +generate-license: + $(GO) run build/generate-licenses.go + +.PHONY: generate-gitignore +generate-gitignore: + $(GO) run build/generate-gitignores.go + +.PHONY: generate-gomock +generate-gomock: + $(GO) run $(GOMOCK_PACKAGE) -package mock -destination ./modules/queue/mock/redisuniversalclient.go code.gitea.io/gitea/modules/nosql RedisClient + +.PHONY: generate-images +generate-images: | node_modules + npm install --no-save fabric@6 imagemin-zopfli@7 + node tools/generate-images.js $(TAGS) + +.PHONY: generate-manpage +generate-manpage: + @[ -f gitea ] || make backend + @mkdir -p man/man1/ man/man5 + @./gitea docs --man > man/man1/gitea.1 + @gzip -9 man/man1/gitea.1 && echo man/man1/gitea.1.gz created + @#TODO A small script that formats config-cheat-sheet.en-us.md nicely for use as a config man page + +# This endif closes the if at the top of the file +endif + +# Disable parallel execution because it would break some targets that don't +# specify exact dependencies like 'backend' which does currently not depend +# on 'frontend' to enable Node.js-less builds from source tarballs. +.NOTPARALLEL: diff --git a/README.md b/README.md new file mode 100644 index 0000000..2edc449 --- /dev/null +++ b/README.md @@ -0,0 +1,52 @@ + +
+ +

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](https://forgejo.org/2022-12-15-hello-forgejo/) +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](https://forgejo.org/docs/latest/), subscribe to releases and blog post on [our website](https://forgejo.org), find us on the Fediverse or hop into [our Matrix room](https://matrix.to/#/#forgejo-chat:matrix.org) if you have any questions or want to get involved. + +## License + +Forgejo is distributed under the terms of the [GPL version 3.0](LICENSE) or any later version. + +The agreement for this license [was documented in June 2023](https://codeberg.org/forgejo/governance/pulls/24) 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](CONTRIBUTING.md). diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md new file mode 100644 index 0000000..f86e10c --- /dev/null +++ b/RELEASE-NOTES.md @@ -0,0 +1,2658 @@ +# Release Notes + +A minor or major Forgejo release is published every [three months](https://forgejo.org/docs/latest/developer/release/#release-cycle), with more patch releases in between depending on the severity of the bug and security fixes it contains. + +A [patch or minor release](https://semver.org/spec/v2.0.0.html) (e.g. upgrading from v7.0.0 to v7.0.1 or v7.1.0) does not require manual intervention. But [major releases](https://semver.org/spec/v2.0.0.html#spec-item-8) where the first version number changes (e.g. upgrading from v1.21 to v7.0) contain breaking changes and the release notes explain how to deal with them. + +The release notes of each release [are available in the corresponding milestone](https://codeberg.org/forgejo/forgejo/milestones), starting with [Forgejo 7.0.7](https://codeberg.org/forgejo/forgejo/milestone/7683) and [Forgejo 8.0.1](https://codeberg.org/forgejo/forgejo/milestone/7682). + +## 8.0.3 + +The Forgejo v8.0.3 release notes are [available in the v8.0.3 milestone](https://codeberg.org/forgejo/forgejo/milestone/8231). + +## 8.0.2 + +The Forgejo v8.0.2 release notes are [available in the v8.0.2 milestone](https://codeberg.org/forgejo/forgejo/milestone/7728). + +## 8.0.1 + +The Forgejo v8.0.1 release notes are [available in the v8.0.1 milestone](https://codeberg.org/forgejo/forgejo/milestone/7682). + +## 8.0.0 + +A [companion blog post](https://forgejo.org/2024-07-release-v8-0/) provides additional context on this release. In addition to the pull requests listed below, you will find a complete list in the [v8.0 milestone](https://codeberg.org/forgejo/forgejo/milestone/6042). + +- Two frontend features were removed because a license incompatibility was discovered. [Read more in the dedicated blog post](https://forgejo.org/2024-07-non-free-dependency-found/). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4670): [Mermaid](https://mermaid.js.org/) rendering: `%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%` will now fail because [ELK](https://github.com/kieler/elkjs) is no longer included. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4595): Repository citation: Removed the ability to export citations in APA format. + + +- **Breaking** + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3040): remove Microsoft SQL Server support see [the discussion](https://codeberg.org/forgejo/discussions/issues/122). +- **User interface features & enhancements** + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4590) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4571)): Replace `vue-bar-graph` with `chart.js` + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4201): make the tooltip of the author label in comments clearer. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4189): only show the RSS feed button and Public activity tab in user profiles when the activity can be accessed and add messages about visibility. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4139): reorder repo tabs for better UX: (i) `Actions` is now the last tab (ii) `Packages` are located after Releases (iii) this puts Projects after Pull requests. (tab positions may depend on which units are enabled in the repo). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4134): code search results are now displayed in a foldable box. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4095): disable the `Subscribe` button for guest users. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4072): + - Added Enter key handling to the new Markdown editor: Pressing Enter while in a list, quote or code block will copy the prefix to the new line - Ordered list index will be increased for the new line, and task list "checkbox" will be unchecked. + - Added indent/unindent function for a line or selection. Currently available as toolbar buttons ([#4263](https://codeberg.org/forgejo/forgejo/pulls/4263)). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3985): added support for displaying images based on the users current color code by using an anchor of `#dark-mode-only` or `#light-mode-only` respectively. Also supporting the github variants (e.g. `#gh-dark-mode-only`). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3870): use CSS-native pattern for image diff background, add dark theme support. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3642): allow navigating to the organization dashboard from the organization view. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3434): when PDFs are displayed in the repository, the full height of the screen is now used instead of a predefined fixed height. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3337): added support for grouping of log-lines inside steps between the special `::group::{title}` and `::endgroup::` workflow commands. A runner of v3.4.2 or later is needed. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3285): the default for `[repository].USE_COMPAT_SSH_URI` has been changed to `true`. With this change, Forgejo defaults to using the same URL style for SSH clone URLs as for HTTPS ones, instead of the former scp-style. +- **Features & Enhancements** + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4283) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4266)): add support for LFS server implementations which have batch API responses in an older/deprecated schema. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4262): introduce a branch/tag dropdown in the code search page if using git-grep. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4160): added support for fuzzy searching in `/user/repo/issues` and `/user/repo/pulls`. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4145): + - feat(perf): [commit](https://codeberg.org/forgejo/forgejo/commit/358cd67c4f316f2d4f1d3be6dcb891dc04a2ff07) reduce memory usage for chunked artifact uploads to S3. + - feat: [commit](https://codeberg.org/forgejo/forgejo/commit/b60e3ac7b4aeeb9b8760f43eea9576c0e23309e9) allow downloading draft releases assets. + - feat: [commit](https://codeberg.org/forgejo/forgejo/commit/1fca15529ac8fefb60d86b0c1f4bec8dae9a8566) API endpoints for managing tag protection. + - feat: [commit](https://codeberg.org/forgejo/forgejo/commit/4334c705b5f9388b16af23c7e75a69d027d07d5e) extract and display readme and comments for Composer packages. + - fix: [commit](https://codeberg.org/forgejo/forgejo/commit/364922c6e4f28264add9e2501a352c25ad6a0993) when a repository is adopted, its object format is not set in the database. + - fix: [commit](https://codeberg.org/forgejo/forgejo/commit/e7f332a55d6a48a3f3b4f2bfa43d18455ac00acc) during a migration from bitbucket, LFS downloads fail. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4143): a help overlay, triggered by "?" key can be displayed when viewing [asciinema](https://asciinema.org/) files (.cast extension) and [SGR color sequence](https://github.com/asciinema/avt/issues/9) are supported. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4136): strikethrough in markdown can be achieved with [a single ~ in addition to ~~](https://github.github.com/gfm/#strikethrough-extension-). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4083): + - feat: add [Reviewed-on and Reviewed-by variables](https://codeberg.org/forgejo/forgejo/commit/4ddd9af50fbfcfb2ebf629697a803b3bce56c4af) to the merge template. + - feat(perf): [add the `[ui.csv].MAX_ROWS` setting](https://codeberg.org/forgejo/forgejo/commit/433b6c6910f8699dc41787ef8f5148b122b4677e) to avoid displaying a large number of lines (defaults to 2500). + - feat: [add a setting to override or add headers of all outgoing emails](https://codeberg.org/forgejo/forgejo/commit/1d4bff4f65d5e4a3969871ef91d3612daf272b45), for instance `Reply-To` or `In-Reply-To`. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4027): the Gitea/Forgejo webhook payload includes additional fields (`html_url`, `additions`, `deletions`, `review_comments`...) for better compatibility with [OpenProject](https://www.openproject.org/). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4026): when an OAuth grant request submitted to a Forgejo user is denied, the server from which the request originates is notified that it has been denied. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3989): + - feat: API endpoints that return a repository now [also include the topics](https://codeberg.org/forgejo/forgejo/commit/ee2247d77c0b13b0b45df704d7589b541db03899). + - feat: display an error when an issue comment is [edited simultaneously by two users](https://codeberg.org/forgejo/forgejo/commit/ca0921a95aa9a37d8820538458c15fd0a3b0c97c) instead of silently overriding one of them. + - feat: add [support for a credentials chain for minio](https://codeberg.org/forgejo/forgejo/commit/73706ae26d138684ef9da9e1164846a040fd4a7d). + - feat(perf): improve performances when [retrieving pull requests via the API](https://codeberg.org/forgejo/forgejo/commit/47a2102694c47bc30a2a7c673c328471839ef206). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3934): when installing Forgejo through the built-in installer, open (self-) registration is now disabled by default. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3917): support [setting the default attribute of the issue template dropdown field](https://codeberg.org/forgejo/forgejo/commit/df15abd07264138fd07e003d0cf056f7da514b8f) + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3886): For federated-star we introduce a new repository setting to define following repositories. That is a workaround till we find a better way to express repository federation. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3847): Basic wiki content search using git-grep. The search results include the first ten matched files. Only the first three matches per file are displayed. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3838): support using label names when changing issue labels. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3836): parse prefix parameter from redis URI for queues and use that as prefix to keys. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3830): neutralize delete runners' UUID to prevent collisions with new records. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3811): implement a non-caching version of the [RubyGems compact API](https://guides.rubygems.org/rubygems-org-compact-index-api/) for bundler dependency resolution. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3808): add support for the [reddit](https://github.com/markbates/goth/pull/523) and [Hubspot](https://github.com/markbates/goth/pull/531) OAuth providers. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3791): when parsing [incoming emails](https://forgejo.org/docs/v8.0/user/incoming/), [remove tspecials from type/subtype](https://github.com/jhillyerd/enmime/pull/317). According to the RFC, content type and subtype cannot contain special characters and any such character will fail parsing. Removing the characters from the type/subtype can help successfully parsing the content type that contains some extra garbage. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3752): there are a couple of new configs to define the name of the instance. The more important is `APP_SLOGAN`. It permits to configure a slogan for the site and it is optional. The other is `APP_DISPLAY_NAME_FORMAT` and permits to customize the aspect of the full display name for the instance used in some parts of the UI as: (i) Title page, (ii) Homepage head title (ii) Open Graph site and title meta tags. Its default value is `APP_NAME: APP_SLOGAN`. The config `APP_DISPLAY_NAME_FORMAT` is used only if `APP_SLOGAN` is set otherwise the full display name shows only `APP_NAME` value. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3729): + - feat: [commit](https://codeberg.org/forgejo/forgejo/commit/7028fe0b4d89c045b64ae891d2716e89965bc012): add actions-artifacts to the [storage migrate CLI](https://forgejo.org/docs/v8.0/admin/command-line/#migrate). + - fix: [commit](https://codeberg.org/forgejo/forgejo/commit/8f0f6bf89cdcd12cd4daa761aa259fdba7e32b50): pull request search shows closed pull requests in the open tab. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3724): + - [CERT management was improved](https://codeberg.org/forgejo/forgejo/pulls/3724) when [`ENABLE_ACME=true`](https://forgejo.org/docs/v7.0/admin/config-cheat-sheet/#server-server) + - Draft support for draft-03 of [ACME Renewal Information (ARI)](https://datatracker.ietf.org/doc/draft-ietf-acme-ari/) which assists with deciding when to renew certificates. This augments CertMagic's already-advanced logic using cert lifetime and OCSP/revocation status. + - New [`ZeroSSLIssuer`](https://pkg.go.dev/github.com/caddyserver/certmagic@v0.21.0#ZeroSSLIssuer) uses the [ZeroSSL API](https://zerossl.com/documentation/api/) to get certificates. ZeroSSL also has an ACME endpoint, which can still be accessed using the existing ACMEIssuer, as always. Their proprietary API is paid, but has extra features like IP certificates, better reliability, and support. + - DNS challenges should be smoother in some cases as we've improved propagation checking. + - In the odd case your ACME account disappears from the ACME server, CertMagic will automatically retry with a new account. (This happens in some test/dev environments.) + - ACME accounts are identified only by their public keys, but CertMagic maps accounts by CA+email for practical/storage reasons. So now you can "pin" an account key to use by specifying your email and the account public key in your config, which is useful if you need to absolutely be sure to use a specific account (like if you get rate limit exemptions from a CA). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3723): + - With the go-enry upgrade to [v2.8.8](https://github.com/go-enry/go-enry/releases/tag/v2.8.8), language detection in the repository [now includes](https://github.com/github-linguist/linguist/releases/tag/v7.29.0): + - New languages + - [Roc](https://github.com/github-linguist/linguist/pull/6633) + - [BitBake](https://github.com/github-linguist/linguist/pull/6665) with `.bbappend`, `.bbclass` and `.inc` extensions + - [Glimmer TS](https://github.com/github-linguist/linguist/pull/6680) + - [Edge](https://github.com/github-linguist/linguist/pull/6695) + - [Pip Requirements](https://github.com/github-linguist/linguist/pull/6739) + - [Mojo](https://github.com/github-linguist/linguist/pull/6400) + - [Slint](https://github.com/github-linguist/linguist/pull/6750) + - [Oberon](https://github.com/github-linguist/linguist/pull/4645) + - New data formats + - [TextGrid](https://github.com/github-linguist/linguist/pull/6719) + - File names and extensions: + - The [rebornix.Ruby extension is deprecated in favor of Shopify.ruby-lsp](https://github.com/github-linguist/linguist/pull/6738) + - [Add .bicepparam to list of Bicep file extensions](https://github.com/github-linguist/linguist/pull/6664) + - [Add cs.pp extension to C#](https://github.com/github-linguist/linguist/pull/6679) + - [Add tmux.conf and .tmux.conf as shell filenames](https://github.com/github-linguist/linguist/pull/6726) + - [Add .env.sample as Dotenv filename](https://github.com/github-linguist/linguist/pull/6732) + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3654): support Code Search for non-default branches and tags when the repository indexer is disabled. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3615): add an immutable tarball link to archive download headers for Nix. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3414): allow to customize the domain name used as a fallback when synchronizing sources from ldap default domain name. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3383): the default config for `database.MAX_OPEN_CONNS` changed from 0 (unlimited) to 100 to avoid problems if it exceeds the limit by the database server. If you require high concurrency, try to increase this value for both Forgejo **and your database server**. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3366): infer the `[email.incoming].PORT` setting from `.USE_TLS`. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3363): reverted the rootless container image path in `GITEA_APP_INI` from `/etc/gitea/app.ini` to its default value of `/var/lib/gitea/custom/conf/app.ini`. This allows container users to not have to mount two separate volumes (one for the configuration data and one for the configuration `.ini` file). A warning is issued for users with the legacy configuration on how to update to the new path. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3334): added support for the [`workflow_dispatch` trigger](https://forgejo.org/docs/v8.0/user/actions/#onworkflow_dispatch) in Forgejo Actions. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3307): support [Proof Key for Code Exchange (PKCE - RFC7636)](https://www.rfc-editor.org/rfc/rfc7636) for external login using the OpenID Connect authentication source. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3139): allow hiding auto generated release archives. +- **Bug fixes** + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4732) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4715)): Show the AGit label on merged pull requests. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4689) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4687)): Fixed: issue state change via the API is not idempotent. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4547) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4546)): The milestone section in the sidebar on the issue and pull request page now uses HTMX. If you update the milestone of a issue or pull request it will no longer reload the whole page and instead update the current page with the new information about the milestone update. This should provide a smoother user experience. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4402) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4382)): Fix mobile UI for organisation creation. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4621) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4618)): Fixes: Forgejo Actions does not trigger an edited event when the title of an issue or pull request is changed. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4529) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4523)): Load attachments for `/issues/comments/{id}`. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4423) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4375)): Fixed: the "View command line instructions" link in pull requests and the "Copy content" button in file editor are not accessible. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4380) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4377)): Use correct SHA in `GetCommitPullRequest` + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4288) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4253)): Fixed: unknown git push options are rejected instead of being ignored. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4240): Fixed: markdown `[*[a]*](b)` [is incorrectly rendered as `

[a]

`](https://github.com/yuin/goldmark/issues/457). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4222): Fixed: markdown files displayed in the UI that have an unescaped backtick in the image alt [could (accidentally) trigger an inline code](https://github.com/yuin/goldmark/issues/456). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3562): Fixed: when the git repository is empty, it is not possible to unsubscribe from an issue. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3442): Fixed: it is not possible to remove attachments from an empty comment. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3430): Fixed: the `/api/v1/repos/{owner}/{repo}/wiki` API endpoints is using a hardcoded "master" branch for the wiki, rather than the branch they really use. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3379): Fixed: using the API to search for users, the results are not paged by default an the default paging limits are not respected. +- **Localization** + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4661) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4568)): 24 July updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4565) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4451)): 19 July updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4445) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4330)): 11 July updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4316) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4251)): 4 July updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4168): 18 June updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4098): 10 June updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3992): 2 June updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3908): 25 May updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3851): 20 May updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3759): 14 May updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3637): 5 May updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3508): 28 April updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3359): 22 April updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3244): 15 April updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3138): 10 April updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/3064): 5 April updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/2982): 3 April updates + - [PR](https://codeberg.org/forgejo/forgejo/pulls/2937): 31 March updates + + +## 7.0.9 + +The Forgejo v7.0.9 release notes are [available in the v7.0.9 milestone](https://codeberg.org/forgejo/forgejo/milestone/8232). + +## 7.0.8 + +The Forgejo v7.0.8 release notes are [available in the v7.0.8 milestone](https://codeberg.org/forgejo/forgejo/milestone/7729). + +## 7.0.7 + +The Forgejo v7.0.7 release notes are [available in the v7.0.7 milestone](https://codeberg.org/forgejo/forgejo/milestone/7683). + +## 7.0.6 + +This is a bug fix release. See the documentation for more information on the [upgrade procedure](https://forgejo.org/docs/v7.0/admin/upgrade/). In addition to the pull requests listed below, you will find a complete list in the [v7.0.6 milestone](https://codeberg.org/forgejo/forgejo/milestone/7252). + +- Two frontend features were removed because a license incompatibility was discovered. [Read more in the companion blog post](https://forgejo.org/2024-07-non-free-dependency-found/). + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4679) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4670)): [Mermaid](https://mermaid.js.org/) rendering: `%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%` will now fail because [ELK](https://github.com/kieler/elkjs) is no longer included. + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4600) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4595)): Repository citation: Removed the ability to export citations in APA format. +- **User Interface bug fixes** + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4593) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4571)): Replace `vue-bar-graph` with `chart.js` + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4731) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4715)): Show AGit label on merged PR + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4424) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4382)): Fix mobile UI for organisation creation +- **Bug fixes** + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4688) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4687)): fix(api): issue state change is not idempotent + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4647) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4638)): Reserve the `devtest` username + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4620) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4618)): fix(actions): no edited event triggered when a title is changed + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4528) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4523)): Load attachments for `/issues/comments/{id}` + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4526) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/3379)): When searching for users, page the results by default, and respect the default paging limits + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4422) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4375)): the "View command line instructions" link in pull requests and the "Copy content" button in file editor are not accessible + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4379) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4377)): Use correct SHA in `GetCommitPullRequest` +- Localization + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4594) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4451)): Update of translations from Weblate + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4447): Update of translations from Weblate + - [PR](https://codeberg.org/forgejo/forgejo/pulls/4420) ([backported from](https://codeberg.org/forgejo/forgejo/pulls/4098)): 3 translation updates from Weblate - [PR 1](https://codeberg.org/forgejo/forgejo/pulls/4098), [PR 2](https://codeberg.org/forgejo/forgejo/pulls/4168), [PR 3](https://codeberg.org/forgejo/forgejo/pulls/4251) + +## 7.0.5 + +This is a security release. See the documentation for more information on the [upgrade procedure](https://forgejo.org/docs/v7.0/admin/upgrade/). + +In addition to the following notable bug fixes, you can browse the [full list of pull requests](https://codeberg.org/forgejo/forgejo/pulls?milestone=6654) included in this release. + +* **regreSSHion** + + Recommended action when running Forgejo from a: + * binary - upgrade the OpenSSH server that was installed independently. + * root OCI image - upgrade to [Forgejo 7.0.5](https://codeberg.org/forgejo/-/packages/container/forgejo/7.0.5). + * rootless OCI image - no upgrade is necessary. + + [CVE-2024-6387](https://nvd.nist.gov/vuln/detail/CVE-2024-6387) also known as [regreSSHion](https://www.qualys.com/regresshion-cve-2024-6387/) is an Unauthenticated Remote Code Execution (RCE) vulnerability in OpenSSH’s server (sshd) on glibc-based Linux systems. It is **strongly recommended** that an OpenSSH server installed independently of Forgejo is upgraded as soon as possible. + + All Forgejo OCI root images, including [7.0.5](https://codeberg.org/forgejo/-/packages/container/forgejo/7.0.5) contain an OpenSSH server. They are based on https://alpinelinux.org/ which relies on https://musl.libc.org/ and not https://en.wikipedia.org/wiki/Glibc. As a precaution the [Forgejo v7.0.5 root OCI image](https://codeberg.org/forgejo/-/packages/container/forgejo/7.0.5) contains an [updated OpenSSH server](https://pkgs.alpinelinux.org/packages?name=openssh&branch=v3.19) patched for [CVE-2024-6387](https://nvd.nist.gov/vuln/detail/CVE-2024-6387). + + The Forgejo OCI rootless images, including [7.0.5](https://codeberg.org/forgejo/-/packages/container/forgejo/7.0.5-rootless), do not contain an OpenSSH server, they rely on the internal Forgejo implementation of the SSH protocol. + +* **Security:** + * Compiled with Go v1.22.5. Fixed: [CVE-2024-24791](https://nvd.nist.gov/vuln/detail/CVE-2024-24791) - [GO-2024-2963](https://pkg.go.dev/vuln/GO-2024-2963): Denial of service due to improper 100-continue handling in net/http. The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an "Expect: 100-continue" header with a non-informational (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the connection will fail. An attacker sending a request to a net/http/httputil.ReverseProxy proxy can exploit this mishandling to cause a denial of service by sending "Expect: 100-continue" requests which elicit a non-informational response from the backend. Each such request leaves the proxy with an invalid connection, and causes one subsequent request using that connection to fail. + +* **Bug fixes:** + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4059) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4194): Fixed: authentication Source Administration page wrongfully handles the "Custom URLs Instead of Default URLs" checkbox (missing checkbox, irrelevant fields). + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4151) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4149): Fixed: git push to an adopted repository fails. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4215) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4213) - [commit](https://codeberg.org/forgejo/forgejo/commit/4ed5044dea94872e025f585debf7a16e6bd6bbdb): Fixed: markdown doesn't render math within brackets + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4219) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4145) - [commit](https://codeberg.org/forgejo/forgejo/commit/9aa3ae955ff506d883737e576dd62f674a3ee372): Fixed: selecting the "No Project" filter in the issue/pull request list has no effect + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4248) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4241): Fixed: error 500 when processing crafted TIFF files. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4261) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4258): Fixed: wrong placeholder text in the form for adding repository collaborator. + +## 7.0.4 + +This is a security release. See the documentation for more information on the [upgrade procedure](https://forgejo.org/docs/v7.0/admin/upgrade/). + +In addition to the following notable bug fixes, you can browse the [full list of commits](https://codeberg.org/forgejo/forgejo/compare/v7.0.3...v7.0.4) included in this release. + +* **Security:** + * [PR](https://codeberg.org/forgejo/forgejo/pulls/4054). Fixed: [CVE-2024-24789](https://pkg.go.dev/vuln/GO-2024-2888): the archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3639) - ([fix](https://codeberg.org/forgejo/forgejo/commit/1b088fade6c69e63843d1bdf402454c363b22ce2) & [test](https://codeberg.org/forgejo/forgejo/pulls/4032)). Fixed: the OAuth2 implementation does not always require authentication for public clients, a requirement of [RFC 6749 Section 10.2](https://datatracker.ietf.org/doc/html/rfc6749#section-10.2). A malicious client can impersonate another client and obtain access to protected resources if the impersonated client fails to, or is unable to, keep its client credentials confidential. + +* **Bug fixes:** + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4086) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4085). Fixed: `forgejo migrate-storage --type actions-artifacts` always fails because it picks the wrong path. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4017) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4015). Fixed: avatar files can be found in storage while they do not exist in the database. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3997) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3976). Fixed: repository admins are always denied the right to force merge and instance admins are subject to restrictions to merge that must only apply to repository admins. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3946) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3615). Fixed: non conformance with the [Nix tarball fetcher immutable link protocol](https://github.com/nixos/nix/blob/56763ff918eb308db23080e560ed2ea3e00c80a7/doc/manual/src/protocols/tarball-fetcher.md). + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3936) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3935). Fixed: migrated activities (such as reviews) are mapped to the user who initiated the migration rather than the Ghost user, if the external user cannot be mapped to a local one. This mapping mismatch leads to internal server errors in some cases. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3906) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3904). Fixed: a v7.0.0 regression causes `[admin].SEND_NOTIFICATION_EMAIL_ON_NEW_USER=true` to always be ignored. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3888) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3865). Fixed: using a subquery for user deletion is a performance bottleneck when using mariadb 10 because only mariadb 11 takes advantage of the available index. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3887) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3885). Fixed: a v7.0.3 regression causes the expanding diffs in pull requests to fail with a 404 error. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3881) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3864). Fixed: SourceHut Builds webhook fail when the `triggers` field is used. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3877) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3242). Fixed: the label list rendering in the issue and pull request timeline is displayed on multiple lines instead of a single one. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4084) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4083) - [commit](https://codeberg.org/forgejo/forgejo/commit/c6e04c3c9eddfa6c4bec541f681c8d300b157cdb). Fixed: NuGet Package fails `choco info pkgname` when `pkgname` is also a substring of another package Id. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4004) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3989) - [commit](https://codeberg.org/forgejo/forgejo/commit/62448bfb931882859388b2fd472cb89428c25323). Fixed: "Git hooks of this repository seem to be broken." warning when pushing more than one branch at a time. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3942) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3917) - [commit](https://codeberg.org/forgejo/forgejo/commit/7d7ea45465d6cd1ea0ec549a71f67b4a8ff930cf). Fixed: automerge does not happen when the approval count reaches the required threshold. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3942) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3917) - [commit](https://codeberg.org/forgejo/forgejo/commit/a649610d6175d1994b838f5672261400df9fdb92). Fixed: the `FORCE_PRIVATE=true` setting is not consistently enforced. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/3859) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3838) - [commit](https://codeberg.org/forgejo/forgejo/commit/193ac67176afc72e9d108bc1730c354bfbf9a442). Fixed: CSRF validation errors when OAuth is not enabled. + * [backport](https://codeberg.org/forgejo/forgejo/pulls/4107) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4076). Fixed: headlines in rendered org-mode do not have a margin on the top + +* **Localization:** + * Improvements to English locale: [[1]](https://codeberg.org/forgejo/forgejo/pulls/3914), [[2]](https://codeberg.org/forgejo/forgejo/pulls/4114). + * Translation updates: [[1]](https://codeberg.org/forgejo/forgejo/pulls/3907), [[2]](https://codeberg.org/forgejo/forgejo/pulls/3990), [[3]](https://codeberg.org/forgejo/forgejo/pulls/4099). + +## 7.0.3 + +This is a security release. See the documentation for more information on the [upgrade procedure](https://forgejo.org/docs/v7.0/admin/upgrade/). + +In addition to the following notable bug fixes, you can browse the [full list of commits](https://codeberg.org/forgejo/forgejo/compare/v7.0.2...v7.0.3) included in this release. + +* Container image upgrades + + In the Forgejo v7.0.3 container images, the Git version was upgraded to [2.43.4](https://pkgs.alpinelinux.org/packages?name=git&branch=v3.19) which includes fixes for [multiple vulnerabilities](https://github.blog/2024-05-14-securing-git-addressing-5-new-vulnerabilities/). However, the vulnerabilities with a high impact can be exploited when Git is used in an environment (or Operating Systems) which is different from the Forgejo OCI image. + +* **Security:** + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3673). Fixed: [CVE-2024-24788](https://pkg.go.dev/vuln/GO-2024-2824): a malformed DNS message in response to a query can cause the lookup functions to get stuck in an infinite loop. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3802). Fixed: backticks in [mermaid](https://mermaid.js.org/) block diagram labels [are not sanitized properly](https://github.com/mermaid-js/mermaid/commit/c7fe9a646574597adefe3e6fb2b3707112a151aa). + +* **Bug fixes:** + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3588). Fixed: migration of a repository from gogs fails when it is hosted at a subpath. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3591). Fixed: when creating an OAuth2 application the redirect URLs are not enforced to be mandatory. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3659). Fixed: the API incorrectly excludes repositories where code is not enabled. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3677). Fixed: "Allow edits from maintainers" cannot be modified via the pull request web UI. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3687). Fixed: repository activity feeds (including RSS and Atom feeds) contain repeated activities. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3705). Fixed: uploading maven packages with metadata being uploaded separately will fail. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3751). Fixed: the mail notification sent about commits pushed to pull requests are empty. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3753). Fixed: inline emails attachments are not properly handled when commenting on an issue via email. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3760). Fixed: the links to .zip and tar.gz on the tag list web UI fail. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3767). Fixed: expanding code diff while previewing a pull request before it is created fails. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3772). Fixed: the CLI is not able to migrate Forgejo Actions artifacts. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3772). Fixed: when adopting a repository, the default branch is not taken into account. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3772). Fixed: when using reverse proxy authentication, logout will not be taken into account when immediately trying to login afterwards. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3788). Fixed: pushing to the master branch of a sha256 repository fails. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3827). Fixed: a very long project column name will make the action menu inaccessible. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3842). Fixed: a useless error is displayed when the title of a merged pull request is modified. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3846). Fixed: workflow badges are not working for workflows that are not running on push (such as scheduled workflows, and ones that run on tags and pull requests). + +* **Localization:** + * Improvements to English locale: [[1]](https://codeberg.org/forgejo/forgejo/pulls/3825), [[2]](https://codeberg.org/forgejo/forgejo/pulls/3750), [[3]](https://codeberg.org/forgejo/forgejo/pulls/3742), [[4]](https://codeberg.org/forgejo/forgejo/pulls/3674), [[5]](https://codeberg.org/forgejo/forgejo/pulls/3641). + * Translation updates: [[1]](https://codeberg.org/forgejo/forgejo/pulls/3852), [[2]](https://codeberg.org/forgejo/forgejo/pulls/3749), [[3]](https://codeberg.org/forgejo/forgejo/pulls/3740), [[4]](https://codeberg.org/forgejo/forgejo/pulls/3631). + +* Gitea v1.21 compatibility + + This section is for information only and does not require any action. + + The semantic version of the Forgejo 7.0 releases are: + + * `v7.0.0+gitea-1.22.0` + * `v7.0.1+gitea-1.22.0` + * `v7.0.2+gitea-1.22.0` + * `v7.0.3+gitea-1.21.11` + + Gitea v1.22 is [not published yet](https://github.com/go-gitea/gitea/issues/30731) as of 21 May 2024 and in reality all Forgejo v7.0 releases are compatible with Gitea v1.21.11. Advertising they will be compatible with an unpublished Gitea version was incorrect. The Gitea v1.22 release was anticipated to happen shortly after [Forgejo v7.0 was published on 23 April 2024](https://forgejo.org/2024-04-release-v7-0/) because it was already in the late stages of its release candidate lifecycle. However, around 27 April, [the Gitea release candidates were dropped](https://github.com/go-gitea/gitea/issues/30501) and the release candidates restarted from the Gitea development branch. + +## 7.0.2 + +This is a bug fix release. See the documentation for more information on the [upgrade procedure](https://forgejo.org/docs/v7.0/admin/upgrade/). + +In addition to the following notable bug fixes, you can browse the [full list of commits](https://codeberg.org/forgejo/forgejo/compare/v7.0.1...v7.0.2) included in this release. + +* **Bug fixes:** + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3562): a v7.0.0 regression where subscribing to or unsubscribing from an issue in a repository with no code produced an internal server error. + * [PR](https://codeberg.org/forgejo/forgejo/issues/3559): a v7.0.0 regression makes all the refs sent in Gitea webhooks to be full refs and might break Woodpecker CI pipelines triggered on tag (`CI_COMMIT_TAG` contained the full ref). This issue [has been fixed](https://github.com/woodpecker-ci/woodpecker/pull/3664) in the `main` branch of Woodpecker CI as well. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3555): the webhook branch filter wrongly applied the match on the full ref for branch creation and deletion (wrongly skipping events). + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3537): toggling the WIP state of a pull request is possible from the sidebar, but not from the footer. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3565): when mentioning a user, the markup post-processor does not handle the case where the mentioned user does not exist: it tries to skip to the next node, which in turn, ended up skipping the rest of the line. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3570): excessive and unnecessary database queries when a user with no repositories is viewing their dashboard. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3580): duplicate status check contexts show in the branch protection settings. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3497): profile info fails to render german singular translation. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3504): inline attachments of [incoming emails](https://forgejo.org/docs/v7.0/user/incoming/) (as they occur for example with Apple Mail) are not attached to comments. + +## 7.0.1 + +This is a bug fix release. See the documentation for more information on the [upgrade procedure](https://forgejo.org/docs/v7.0/admin/upgrade/). + +In addition to the following notable bug fixes, you can browse the [full list of commits](https://codeberg.org/forgejo/forgejo/compare/v7.0.0...v7.0.1) included in this release. + +* **Bug fixes:** + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3466): LFS data corruption when running the [`forgejo doctor check --fix`](https://forgejo.org/docs/v7.0/admin/command-line/#doctor-check) CLI command or setting [`[cron.gc_lfs].ENABLED=true`](https://forgejo.org/docs/v7.0/admin/config-cheat-sheet/#cron---garbage-collect-lfs-pointers-in-repositories-crongc_lfs) (the default is `false`). + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3412): [non backward compatible change](https://codeberg.org/forgejo/forgejo/issues/3399) in the [`forgejo admin user create`](https://forgejo.org/docs/v7.0/admin/command-line/#admin-user-create) CLI command. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3448): error 500 because of an incorrect evaluation of the template when visiting the LFS settings of a repository. + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3464): `GET /repos/{owner}/{name}` API endpoint [always returns an empty string for the `object_format_name` field](https://codeberg.org/forgejo/forgejo/issues/3458). + * [PR](https://codeberg.org/forgejo/forgejo/pulls/3444): fuzzy search [may fail with bleve](https://codeberg.org/forgejo/forgejo/issues/3443). + +## 7.0.0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v7.0/forgejo) included in the `Forgejo v7.0.0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges origin/v1.21/forgejo..origin/v7.0/forgejo +``` + +* **Regressions and workarounds:** + * Running the [`forgejo doctor check --fix`](https://forgejo.org/docs/v7.0/admin/command-line/#doctor-check) CLI command or setting [`[cron.gc_lfs].ENABLED=true`](https://forgejo.org/docs/v7.0/admin/config-cheat-sheet/#cron---garbage-collect-lfs-pointers-in-repositories-crongc_lfs) (the default is `false`) will corrupt the LFS storage. The workaround is to not run the doctor CLI command and disable the `cron.gc_lfs`. This regression will be [fixed in 7.0.1](https://codeberg.org/forgejo/forgejo/issues/3438). + * The [`forgejo admin user create`](https://forgejo.org/docs/v7.0/admin/command-line/#admin-user-create) CLI command [requires a password](https://codeberg.org/forgejo/forgejo/commit/b122c6ef8b9254120432aed373cbe075331132ac) change by default when creating the first user and the `--admin` flag is not specified. The `--must-change-password=false` argument must be given to not require a password change. This regression will be [fixed in 7.0.1](https://codeberg.org/forgejo/forgejo/issues/3399). +* **Breaking changes requiring manual intervention:** + * [Forgejo webhooks](https://codeberg.org/forgejo/forgejo/issues/3055) now always send full refs (starting with `refs/`) instead of sending short refs in some cases. This new behavior may require changes when the receiving end assumes a short ref will be received (for instance some versions of Woodpecker CI when receiving webhook payloads when a tag is set). + * [MySQL 8.0 or PostgreSQL 12](https://codeberg.org/forgejo/forgejo/commit/e94f9fcafdcf284561e7fb33f60156a69c4ad6a5) are the minimum supported versions. The database must be migrated before upgrading. The requirements regarding SQLite did not change. + * The `per_page` parameter is [no longer a synonym for `limit`](https://codeberg.org/forgejo/forgejo/commit/0aab2d38a7d91bc8caff332e452364468ce52d9a) in the [/repos/{owner}/{repo}/releases](https://code.forgejo.org/api/swagger/#/repository/repoListReleases) API endpoint. + * The date format of the `created` and `last_update` fields of the [`/repos/{owner}/{repo}/push_mirrors`](https://code.forgejo.org/api/swagger/#/repository/repoListPushMirrors) and [/repos/{owner}/{repo}/push_mirrors](https://code.forgejo.org/api/swagger/#/repository/repoAddPushMirror) API endpoint changed [to be timestamps instead of numbers](https://codeberg.org/forgejo/forgejo/commit/0ee7cbf725f45650136be45f8e0f74d395f73b5c). + * Labels used [by pprof endpoint](https://forgejo.org/docs/v7.0/admin/config-cheat-sheet/#server-server) have been changed: + * `graceful-lifecycle` to `gracefulLifecycle` + * `process-type` to `processType` + * `process-description` to `processDescription` + This allows for those endpoints to be scraped by services requiring prometheus style labels such as [grafana-agent](https://grafana.com/docs/agent/latest/). + * The repository description [imposes additional restrictions on what it contains](https://codeberg.org/forgejo/forgejo/commit/1075ff74b5050f671c5f9824ae39390230b3c85d) to prevent abuse. You may use [the v7.0 test instance](https://v7.next.forgejo.org/) to check how it will be modified. + * The [Gitea themes were renamed](https://codeberg.org/forgejo/forgejo/commit/023e937141dd891bce3370c869d4db2c60f971ed) and the `[ui].THEMES` setting must be changed as follows: + * `gitea` is replaced by `gitea-light` + * `arc-green` is replaced by `gitea-dark` + * `auto` is replaced by `gitea-auto` +* **Breaking changes in the user interface:** + Note that the modifications related to CSS, templates or assets (images, fonts, etc.) are not documented here. + Although they can be extracted and modified, Forgejo does not provide any guarantee that such changes + will be portable from one version to another (even a patch version). See also + [the developer documentation about interface customization](https://forgejo.org/docs/v7.0/developer/customization/). + * [Update checker setting might change](https://codeberg.org/forgejo/forgejo/pulls/2925). The documentation was listing it as enabled by default, however, for a while it was disabled unless it was explicitly specified in the config or on the installation page. Instances migrated from Gitea also had it disabled due to different default value. Since then Forgejo got a privacy-friendly DNS-based update checking mechanism which is now being enabled by default unless explicitly specified [in the config](https://forgejo.org/docs/v7.0/admin/config-cheat-sheet/#cron---check-for-new-forgejo-versions-cronupdate_checker). + * Language statistics for repositories that use `linguist` attributes in `.gitattributes` *may* show different statistics than previously, because Forgejo recognizes more [linguist attributes](https://forgejo.org/docs/v7.0/user/language-detection/) now. + * It is [no longer possible to replace the default web editor](https://codeberg.org/forgejo/forgejo/pulls/2916) used to write comments or issues and pull requests with the EasyMDE editor. It is however still available as an alternative to edit releases and wiki pages. + * [The list of all repositories and the `New Issue` button are no longer available in the user dashboard](https://codeberg.org/forgejo/forgejo/commit/beb71f5ef6e8074dc744ac995c15f7b5947a3f2e) for issues and pull requests. +* **Migration warning** + * If the logs show a line like the following, [run doctor convert](https://forgejo.org/docs/v7.0/admin/command-line/#doctor-convert) to fix it. + ``` + [W] Current database is using a case-insensitive collation "utf8mb4_general_ci" + ``` + * Large instances may experience slow migrations when the database is upgraded to support SHA-256 git repositories. For instance, here are the logs from a test migration of the https://codeberg.org production database: + ``` + [I] Migration[286]: Add support for SHA256 git repositories + [W] [Slow SQL Query] ALTER TABLE `commit_status` MODIFY COLUMN `context_hash` VARCHAR(64) [] - 3m41.647738396s + [W] [Slow SQL Query] ALTER TABLE `comment` MODIFY COLUMN `commit_sha` VARCHAR(64) [] - 1m5.500234133s + [W] [Slow SQL Query] ALTER TABLE `release` MODIFY COLUMN `sha1` VARCHAR(64) [] - 22.06241145s + ``` +* **Features and enhancements** + * Repository settings have been refactored, lifting out the repository unit-related settings to their own page. ([#2221](https://codeberg.org/forgejo/forgejo/pulls/2221)) + - When additional units can be enabled, an "Add more..." link will be displayed for repository admins. This can be turned off. ([#2533](https://codeberg.org/forgejo/forgejo/pulls/2533)) + * Repository administrators can [allow anyone to edit the wiki](https://forgejo.org/docs/v7.0/user/wiki/#activation-and-permissions) in the repository Settings. ([#2001](https://codeberg.org/forgejo/forgejo/pulls/2001)) + * Instance administrators can enable [repository badges](https://forgejo.org/docs/v7.0/user/readme-badges/) in the [configuration file](https://forgejo.org/docs/v7.0/admin/config-cheat-sheet/#badges-badges). This feature depends on a shield generator service such as shields.io, and is disabled by default. ([#2070](https://codeberg.org/forgejo/forgejo/pulls/2070)) + * Instance administrators can configure the additional clone methods displayed on the repository home view. ([gitea#29320](https://github.com/go-gitea/gitea/pull/29320)) + * Instance administrators can [assign custom flags to repositories](https://codeberg.org/forgejo/forgejo/pulls/2079). This is disabled by default, and currently requires custom templates to do anything useful with the flags. ([#2079](https://codeberg.org/forgejo/forgejo/pulls/2079) & [#2097](https://codeberg.org/forgejo/forgejo/pulls/2097)) + * Fallback for [basic repo search using git-grep](https://forgejo.org/docs/v7.0/user/code-search/) when code indexer is disabled ([gitea#29998](https://github.com/go-gitea/gitea/pull/29998)) + * Repository administrators can disable forking instance-wide by setting the new `[repository].DISABLE_FORKS` setting. ([#2445](https://codeberg.org/forgejo/forgejo/pulls/2445)) + * Render permalinks to files with a line range by an inline preview in all places where markup is allowed ([#2669](https://codeberg.org/forgejo/forgejo/pulls/2669)) + * A user can now optionally set their preferred pronouns ([#1518](https://codeberg.org/forgejo/forgejo/pulls/1518)). + * [Always enable caches](https://codeberg.org/forgejo/forgejo/commit/e7cb8da2a8310ac167b6f613b283caa3316a7154). + * Forgejo now recognizes more [linguist attributes](https://forgejo.org/docs/v7.0/user/language-detection/), making it possible to include documentation in the repository language statistics, for example. ([#2088](https://codeberg.org/forgejo/forgejo/pulls/2088)) + * When displaying the message to open a pull request from a recently pushed branch, the recently pushed branch now links to the appropriate branch. ([#2141](https://codeberg.org/forgejo/forgejo/pulls/2141)) + * Users who signed up, but have not activated their accounts yet, are now able to [change their email before activation](https://codeberg.org/forgejo/forgejo/pulls/1891). ([#1891](https://codeberg.org/forgejo/forgejo/pulls/1891)) + * The "You pushed on branch ...." banner is now displayed for repositories you have a fork of with recently pushed branches too ([#2195](https://codeberg.org/forgejo/forgejo/pulls/2195)), and it will no longer consider branches that share no history with the default branch. ([#2196](https://codeberg.org/forgejo/forgejo/pulls/2196)) + * Forgejo will now highlight signed tags in a similar way it highlights signed commits. ([#2534](https://codeberg.org/forgejo/forgejo/pulls/2534)) + * Forgejo gained support for the more recent GitHub-style alert blocks. ([#2348](https://codeberg.org/forgejo/forgejo/pulls/2348)) + - The older style remains supported too. + * [[ACTIONS] Add vars context to cron jobs](https://codeberg.org/forgejo/forgejo/pulls/3059) + * [[ACTIONS] Allow viewing the latest Action Run on the web](https://codeberg.org/forgejo/forgejo/pulls/1900) + * [[AGIT] Automatically fill in the description](https://codeberg.org/forgejo/forgejo/pulls/2344) + * [[API] Add API to get PR by base/head](https://codeberg.org/forgejo/forgejo/pulls/2481) + * [[API] commentAssignment() to verify the id belongs](https://codeberg.org/forgejo/forgejo/pulls/2126) + * [[API] DELETE /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments/{comment}](https://codeberg.org/forgejo/forgejo/pulls/2157) + * [[API] endpoint for adding comments to reviews](https://codeberg.org/forgejo/forgejo/pulls/2122) + * [[API] GET /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments/{comment}](https://codeberg.org/forgejo/forgejo/pulls/2127) + * [[API] support for repository flags](https://codeberg.org/forgejo/forgejo/pulls/2097) + * [[I18N] Clarify description in deletion modal](https://codeberg.org/forgejo/forgejo/pulls/2488) + * [[I18N] Clarify the description of SSH Keys](https://codeberg.org/forgejo/forgejo/pulls/2393) + * [[I18N] Data size unit localization](https://codeberg.org/forgejo/forgejo/pulls/2528) + * [[I18N] Improve branch select list ui in go templates (gitea#29729)](https://codeberg.org/forgejo/forgejo/pulls/2744) + * [[I18N] Improve localization of repo summary](https://codeberg.org/forgejo/forgejo/pulls/2756) + * [[I18N] Improve registration / password reset emails](https://codeberg.org/forgejo/forgejo/pulls/2529) + * [[I18N] Use correct translations for pull request](https://codeberg.org/forgejo/forgejo/pulls/2260) + * [[I18N] Improve translatability of activity heatmap](https://codeberg.org/forgejo/forgejo/pulls/2612) + * [[I18N] Improve English locale for admin settings](https://codeberg.org/forgejo/forgejo/pulls/2583) + * [I18N] Add plural support: [1](https://codeberg.org/forgejo/forgejo/pulls/2614), [2](https://codeberg.org/forgejo/forgejo/pulls/2695), [3](https://codeberg.org/forgejo/forgejo/pulls/2954), [4](https://codeberg.org/forgejo/forgejo/pulls/3031) + * [I18N] General improvements to English locale: [1](https://codeberg.org/forgejo/forgejo/pulls/2307), [2](https://codeberg.org/forgejo/forgejo/pulls/2437), [3](https://codeberg.org/forgejo/forgejo/pulls/2492), [4](https://codeberg.org/forgejo/forgejo/pulls/2610), [5](https://codeberg.org/forgejo/forgejo/pulls/2703), [6](https://codeberg.org/forgejo/forgejo/pulls/2941). + * [[I18N] Allow custom repo size format](https://codeberg.org/forgejo/forgejo/pulls/2974) + * [[PACKAGES] nuget basic manifest download](https://codeberg.org/forgejo/forgejo/pulls/2222) + * [[UI] Add label filters in organization issues dashboard](https://codeberg.org/forgejo/forgejo/pulls/2944) + * [[UI] Allow users to hide all "Add more units..." hints](https://codeberg.org/forgejo/forgejo/pulls/2533) + * [[UI] Display tag name as title for a tag with no release [gitea]](https://codeberg.org/forgejo/forgejo/pulls/2547) + * [[UI] Enable ambiguous character detection in configured contexts](https://codeberg.org/forgejo/forgejo/pulls/2427) + * [[UI] Improve display of 404/500 error pages](https://codeberg.org/forgejo/forgejo/pulls/2466) + * [[UI] Improve look of user profiles](https://codeberg.org/forgejo/forgejo/pulls/2875) + * [[UI] Include a branch link in the recently pushed banner](https://codeberg.org/forgejo/forgejo/pulls/2141) + * [[UI] Offer to remove WIP: prefix in sidebar](https://codeberg.org/forgejo/forgejo/pulls/2660) + * [[UI] Port console colors](https://codeberg.org/forgejo/forgejo/pulls/2419) + * [[UI] pulls "Edit File" button in "Files Changed" tab](https://codeberg.org/forgejo/forgejo/pulls/1992) + * [[UI] Remove add organization on dashboard switcher](https://codeberg.org/forgejo/forgejo/pulls/2895) + * [[UI] Restrict file size of blame operation](https://codeberg.org/forgejo/forgejo/pulls/2395) + * [[UI] Show follow symlink button](https://codeberg.org/forgejo/forgejo/pulls/2530) + * [[UI] split code conversations in diff tab](https://codeberg.org/forgejo/forgejo/pulls/2306) + * [[UI] Update look of repo/org tabs on homepage](https://codeberg.org/forgejo/forgejo/pulls/2593) + * [[UI] Visual separation between types of attachments](https://codeberg.org/forgejo/forgejo/pulls/2899) + * [[UI] [AGIT] Add AGit label to AGit-created PRs](https://codeberg.org/forgejo/forgejo/pulls/2444) + * [[UI] [AGIT] Add link to docs and tooltip to label](https://codeberg.org/forgejo/forgejo/pulls/2499) + * [Implement commit mail selection for other Git operations](https://codeberg.org/forgejo/forgejo/pulls/2383) + * [Improved Linguist compatibility](https://codeberg.org/forgejo/forgejo/pulls/2088) + * [improve nuget nuspec api](https://codeberg.org/forgejo/forgejo/pulls/2996) + * [Log SQL queries when the database return error](https://codeberg.org/forgejo/forgejo/pulls/2140) + * [New doctor check: fix-push-mirrors-without-git-remote](https://codeberg.org/forgejo/forgejo/pulls/1853) + * [New route to view latest run of specific workflows](https://codeberg.org/forgejo/forgejo/pulls/2304) + * [Check for Commit in opengraph](https://codeberg.org/forgejo/forgejo/pulls/2094) + * [Check if commit is already present in target branch](https://codeberg.org/forgejo/forgejo/pulls/2450) + * [Configure if protected branch rule should apply to admins](https://codeberg.org/forgejo/forgejo/pulls/2867) + * [Count downloads for tag archives](https://codeberg.org/forgejo/forgejo/pulls/2976) + * [depguard sha256-simd](https://codeberg.org/forgejo/forgejo/pulls/2234) + * [Don't consider orphan branches as recently pushed](https://codeberg.org/forgejo/forgejo/pulls/2196) + * [extend webfinger to respond to profile page URIs](https://codeberg.org/forgejo/forgejo/pulls/2883) + * [Highlight signed tags like signed commits](https://codeberg.org/forgejo/forgejo/pulls/2534) + * [Allow changing the email address before activation](https://codeberg.org/forgejo/forgejo/pulls/1891) + * [Allow changing the repo Wiki branch to main](https://codeberg.org/forgejo/forgejo/pulls/2264) + * [Allow forking without a repo ID](https://codeberg.org/forgejo/forgejo/pulls/2310) + * [Allow instance-wide disabling of forking](https://codeberg.org/forgejo/forgejo/pulls/2445) + * [Allow non-explicit push options](https://codeberg.org/forgejo/forgejo/pulls/2984) + * [Allow to exclude files in dump](https://codeberg.org/forgejo/forgejo/pulls/2876) + * [add bucket lookup type](https://codeberg.org/forgejo/forgejo/pulls/2482) + * [Add download URL for executable files](https://codeberg.org/forgejo/forgejo/pulls/1839) + * [Add gitignore template for Janet projects](https://codeberg.org/forgejo/forgejo/pulls/2557) + * [add optional storage init to doctor commands](https://codeberg.org/forgejo/forgejo/pulls/3034) + * [Add rel="nofollow" to issue filter links](https://codeberg.org/forgejo/forgejo/pulls/2367) + * [Add support for shields.io-based badges](https://codeberg.org/forgejo/forgejo/pulls/2070) + * [Add Zig gitignore](https://codeberg.org/forgejo/forgejo/pulls/2352) + * [Recognize SSH signed tags too](https://codeberg.org/forgejo/forgejo/pulls/2520) + * [Repository flags](https://codeberg.org/forgejo/forgejo/pulls/2079) + * [support `.forgejo` dir for issue and PR templates](https://codeberg.org/forgejo/forgejo/pulls/2290) + * [Support Include/Exclude Filters for Grep](https://codeberg.org/forgejo/forgejo/pulls/3058) + * [Use 'Text' instead of 'Plaintext'](https://codeberg.org/forgejo/forgejo/pulls/2833) + * [Render code tags in commit messages](https://codeberg.org/forgejo/forgejo/commit/3ccb0c2512cb551943945aaa3f2bd0b1e2abd3b8). + * [Refactor markdown attention render](https://codeberg.org/forgejo/forgejo/commit/ec2201a3da5f18e55bfc0a54114ac935804f4ef8). + * [Add default board to new projects, remove uncategorized pseudo-board](https://codeberg.org/forgejo/forgejo/commit/8ffb9c6fb1571a1221978440f108911057df25db). + * [Add more stats tables](https://codeberg.org/forgejo/forgejo/commit/926367fe1d778fe7c9f5bc6b8e8c514b619ef038). + * [Improve branch select list ui in go templates](https://codeberg.org/forgejo/forgejo/commit/729849a2fd026adbb91e3ff3259290f61bd919f0). + * [Update allowed attachment types](https://codeberg.org/forgejo/forgejo/commit/04b79bb48b490644c46e58da46af4b62a40e5e03). + * [Completely style the webkit autofill](https://codeberg.org/forgejo/forgejo/commit/9916f3ed64a715fb9a31a0fcad6452276e275615). + * [Set user's 24h preference from their current OS locale](https://codeberg.org/forgejo/forgejo/commit/427ab550a6a35e7369bc1b33a188bb3030c32ec0). + * [Make wiki default branch name changeable](https://codeberg.org/forgejo/forgejo/commit/7ea8993a0e342e7a30cb2da03216697b4819935a). + * [Make admin pages wider because of left sidebar added and some tables become too narrow](https://codeberg.org/forgejo/forgejo/commit/145bebc829c03cbb078e518d7364d27bcf60d96c). + * [Make PR form use toast to show error message](https://codeberg.org/forgejo/forgejo/commit/221a28436a080447f429fa2089d264e56f4980e2). + * [Rename Action.GetDisplayName to GetActDisplayName](https://codeberg.org/forgejo/forgejo/commit/be9189eddc84e942710b16b1c8c54c10aad01b63). + * [Unify search boxes](https://codeberg.org/forgejo/forgejo/commit/847f03b6a65ee251bf764f54f6114737346a43b6). + * [Detect broken git hooks](https://codeberg.org/forgejo/forgejo/commit/963df8290784d82385f7e8ad9f5c9abfd2fa2860). + * [Filter for default-branch selection](https://codeberg.org/forgejo/forgejo/commit/1090734255d70deb9886de2c1a8bb971096223ee). + * [Include resource state events in Gitlab downloads](https://codeberg.org/forgejo/forgejo/commit/bc7a247b9ea68643e3c59d4b4376dea097ffcc68). + * [Properly migrate target branch change GitLab comment](https://codeberg.org/forgejo/forgejo/commit/f0acc71ba13713f07602294b4a33028125343d47). + * [Recolor dark theme to blue shade](https://codeberg.org/forgejo/forgejo/commit/ff581d5a2415f7a3321fa6ba656ae0e972674d6c). + * [Unify organizations header](https://codeberg.org/forgejo/forgejo/commit/4b494d341f3142c066bc5b2b3cfd50f924d64fd3). + * [Auto-update the system status in admin dashboard](https://codeberg.org/forgejo/forgejo/commit/4f050f358a15dd51903e01b330a5419b2ac06693). + * [Show more settings for empty repositories](https://codeberg.org/forgejo/forgejo/commit/b03af9efb275f935bb265c7f031225caaafefaff). + * [Downscale pasted PNG images based on metadata](https://codeberg.org/forgejo/forgejo/commit/b3f2447bc4b6a7220da748cc6eb24bd5568bee7c). + * [Show `View at this point in history` for every commit](https://codeberg.org/forgejo/forgejo/commit/27bc2b9d9597de89d2c6b68581c6729bb16a4572). + * [Drop "@" from email sender to avoid spam filters](https://codeberg.org/forgejo/forgejo/commit/9a1d5c549cb6d32219647ea1a771b8a82d5ac89f). + * [Allow non-admin users to delete review requests](https://codeberg.org/forgejo/forgejo/commit/77c56e29ded5665bdc09d0a568159aa7127b44b1). + * [Some performance optimization on dashboard and issues page](https://codeberg.org/forgejo/forgejo/commit/d996c5d5179c99855e69156a034eca055e9329a4). + * [Improve user search display name](https://codeberg.org/forgejo/forgejo/commit/c3e462921ee31536e59b37e654ed20e92a37ffe6). + * [Fix UI Spacing Errors in mirror settings](https://codeberg.org/forgejo/forgejo/commit/64faecefe10613840709a68c1b8b708115d69d6e). + * [Include username in email headers](https://codeberg.org/forgejo/forgejo/commit/360b3fd17c3315ad9ad9c4e6ac02eda73f48d8ae). + * [Also match weakly validated ETags](https://codeberg.org/forgejo/forgejo/commit/28fe3db1fb0f89bcb55829ced33c1282f85f6e97). + * [Propagate install_if and provider_priority to APKINDEX](https://codeberg.org/forgejo/forgejo/commit/2da233ad8be107de29190720f1c30199410fe0cd). + * [Fix display latest sync time for pull mirrors on the repo page](https://codeberg.org/forgejo/forgejo/commit/4674aea25b54baf08594c54f061dee9e44190f02). + * [Remove trust model selection from repository creation on web page because it can be changed in settings later](https://codeberg.org/forgejo/forgejo/commit/c08d263a1900aa5ee92f56af8ad1c7a2697d02e1). + * [Add ability to see open and closed issues at the same time](https://codeberg.org/forgejo/forgejo/commit/2c3da59e275b69ebf984bb70954f42a7bcb0b49d). + * [Move sign in labels to be above inputs](https://codeberg.org/forgejo/forgejo/commit/4af0944b2604dd2b2e413864492135faea097298). + * [Move the captcha script loader to the template which really needs it](https://codeberg.org/forgejo/forgejo/commit/a04f8c0f81f55a8b927ce0fad8127db39396f892). + * [Display latest sync time for pull mirrors on the repo page](https://codeberg.org/forgejo/forgejo/commit/2d343f8987025015f5b61e328cc9e45082e6d3f2). + * [Show in Web UI if file is vendored and generated](https://codeberg.org/forgejo/forgejo/commit/7ed18566e10b298309dcc99d97447cb1932ae09a). + * [Add orphaned topic consistency check](https://codeberg.org/forgejo/forgejo/commit/e02095c5b6e04f70ae6562f5aee169f7ee93cf7a). + * [Convert to url auth to header auth in tests](https://codeberg.org/forgejo/forgejo/commit/838db2f8911690fa2115c6827ed73687db71bef1). + * [Add option to set language in admin user view](https://codeberg.org/forgejo/forgejo/commit/318634ef74dc0a9c285991692e72d3df90b8583c). + * [Fix incorrect run order of action jobs](https://codeberg.org/forgejo/forgejo/commit/f4561c44b1cad700bf41537eb4db487fff34f6c9). + * [Add missing exclusive in advanced label options](https://codeberg.org/forgejo/forgejo/commit/77506c6f6cbfa5c15d8373743415f47b2adb404d). + * [Add combined index for issue_user.uid and issue_id](https://codeberg.org/forgejo/forgejo/commit/e08f1a9cbd582c73918e401eeba36261627f44a7). + * [Add edit option for README.md](https://codeberg.org/forgejo/forgejo/commit/08552f0076204b99258f9135c77a962c302521dc). + * [Fix link to `Code` tab on wiki commits](https://codeberg.org/forgejo/forgejo/commit/709a376c518d0cfde10bb911b32fd0ea82c67b52). + * [Remove autofocus in search box](https://codeberg.org/forgejo/forgejo/commit/eae555ff2395cc1ad178f3a977d83742ae73e1d9). + * [Allow to set explore page default sort](https://codeberg.org/forgejo/forgejo/commit/16ba16dbe951763cfc026b7351e26009d1a25fdc). + * [Improve PR diff view on mobile](https://codeberg.org/forgejo/forgejo/commit/49dddd87b19aebe83e1c54a455e62529a19f61b4). + * [Properly migrate automatic merge GitLab comments](https://codeberg.org/forgejo/forgejo/commit/542badbb76408c17ce6692e99fff680bee69face). + * [Display issue task list on project cards](https://codeberg.org/forgejo/forgejo/commit/4776fde9e1caa7cee5671715144a668e19a0323c). + * [Add Index to pull_auto_merge.doer_id](https://codeberg.org/forgejo/forgejo/commit/c8602a8dfa05f653e7de8ed2e677c8967b8688f5). + * [Fix display member unit in the menu bar if there are no hidden members in public org](https://codeberg.org/forgejo/forgejo/commit/0e021cd33ee3eb3d8f204bd075e2597b7ec8b391). + * [List all Debian package versions in `Packages`](https://codeberg.org/forgejo/forgejo/commit/b36e2ca4195298d2e4516e3022b953543f62f470). + * [Allow pull requests Manually Merged option to be used by non-admins](https://codeberg.org/forgejo/forgejo/commit/1756e30e102d079f8425aa2061ef80fd36c2e57d). + * [Only show diff file tree when more than one file changed](https://codeberg.org/forgejo/forgejo/commit/572f0963edc71239634ee782a3c69213479f34ba). + * [Show placeholder email in privacy popup](https://codeberg.org/forgejo/forgejo/commit/31f8880bc252a25075f8752e2722b316c6e46ec7). + * [Revamp repo header](https://codeberg.org/forgejo/forgejo/commit/7d62615513b8985360de497e9a051b51ca0faaf2). + * [Add link to members and repositories at teams page](https://codeberg.org/forgejo/forgejo/commit/4f4ddcf3c593b474846d40e47b4351d3deb39202). + * [Add link for repositories README file](https://codeberg.org/forgejo/forgejo/commit/7210f23fa0f11da093b307029d7ab91ed40807fb). + * [Add `must-change-password` cli parameter](https://codeberg.org/forgejo/forgejo/commit/9bea276055edc9527e3d6d66df3bbf0d20326f8b). + * [Unify password changing and invalidate auth tokens](https://codeberg.org/forgejo/forgejo/commit/688d4a1f719d2df4d2626453f4bc042c1874a375). + * [Add slow SQL query warning](https://codeberg.org/forgejo/forgejo/commit/664192767c41b9d0759bcc3915c7bd6ccecc52ae). + * [Pre-register OAuth application for tea](https://codeberg.org/forgejo/forgejo/commit/a825cc0f3423f0a5c8157c436a0c7b489ef536c1). + * [Differentiate between `push` and `pull` `mirror sync in progress`](https://codeberg.org/forgejo/forgejo/commit/e709bc199fe33456c4ecd1cd28029bd31b529832). + * [Cargo package - Fix missing domain in cargo sparse url](https://codeberg.org/forgejo/forgejo/commit/a112cf34d391cc04770021f9ffaa29e383cb9d51). + * [Link to file from its history](https://codeberg.org/forgejo/forgejo/commit/33de64cb21505259338e393ef0d15ccb0f757475). + * [Add a shortcut to user's profile page to admin user details](https://codeberg.org/forgejo/forgejo/commit/e96e440b8bde5516ffc7bba42691e26084a96588). + * [Doctor: delete action entries without existing user](https://codeberg.org/forgejo/forgejo/commit/15fa0383fb5dd9ad1702dbc34ba7100c0cdbcc8c). + * [Add anchor to review types](https://codeberg.org/forgejo/forgejo/commit/89c9a498fdd6184df8afda8b5b488462e65b9e71). + * [Show total TrackedTime on issue/pull/milestone lists](https://codeberg.org/forgejo/forgejo/commit/adbc995c347e158a56264f2488997d7d59a4dd8b). + * [Improve commit record's ui in comment list](https://codeberg.org/forgejo/forgejo/commit/ed1798f66d30e3755f01e24f8cb4aa5e8b6628a0). + * [Don't show new pr button when page is not compare pull](https://codeberg.org/forgejo/forgejo/commit/b693611b35c5ae17cfc820bc3e731608a5251464). + * [Add `Hide/Show all checks` button to commit status check](https://codeberg.org/forgejo/forgejo/commit/dcb648ee71853073d54e8a6e107b764212ede58e). + * [Improvements of releases list and tags list](https://codeberg.org/forgejo/forgejo/commit/3fcad582c9b9bfe66f4a346652f82b1aaf18430d). + * [Support pasting URLs over markdown text](https://codeberg.org/forgejo/forgejo/commit/45112876766cb81ed7edd2b72a3ab93e6deab8bb). + * [Customizable "Open with" applications for repository clone](https://codeberg.org/forgejo/forgejo/commit/44221a3cd747a01d55093b15a12bf053b534da35). + * [Allow options to disable user deletion from the interface on app.ini](https://codeberg.org/forgejo/forgejo/commit/767e9634d3d02acab27f05e1783391c9c7f6292e). + * [Extend issue template yaml engine](https://codeberg.org/forgejo/forgejo/commit/ff8f7a7a0d1d0f57113a6ad8b499f7c1094288f5). + * [Filter Repositories by type](https://codeberg.org/forgejo/forgejo/commit/83e04328dfff3b09e5d28dd972ebee0865f96b0e). + * [Implement code frequency graph](https://codeberg.org/forgejo/forgejo/commit/f097799953c5f510b7e3314f1e3e115761f207d0). + * [Implement recent commits graph](https://codeberg.org/forgejo/forgejo/commit/428008ac19185125b7cb1e3d379254d7b1932529). + * [Show commit status for releases](https://codeberg.org/forgejo/forgejo/commit/369fe5696697cef33a188d9b985ac4b9824a4bdf). + * [Actions Artifacts v4 backend](https://codeberg.org/forgejo/forgejo/commit/66632c4958041abdffe6adafc278d34ef515c44f). + * [Add merge style `fast-forward-only`](https://codeberg.org/forgejo/forgejo/commit/83123b493f3ae25d07d81c86b1a78afe1c17db53). + * [Retarget depending pulls when the parent branch is deleted](https://codeberg.org/forgejo/forgejo/commit/49eb16867728913d1eb2ced96e0b0b0a358f6ebe). + * [Add global setting how timestamps should be rendered](https://codeberg.org/forgejo/forgejo/commit/cdc33b29a012e61b42f192d79f9486fa8e21b2ed). + * [Add skip ci functionality](https://codeberg.org/forgejo/forgejo/commit/816e46ee7ce4b2649479554a940ecbe1cc505a3d) + * [Show latest commit for file](https://codeberg.org/forgejo/forgejo/commit/885cc32b14584ee2d01009768895b7a776441504). + * [Allow to sync tags from admin dashboard](https://codeberg.org/forgejo/forgejo/commit/4567a3a1ad0490d9077102e0e7b5de35790e5803). + * [Add Profile Readme for Organisations](https://codeberg.org/forgejo/forgejo/commit/603573366a203efae06f818a0b220be964cdac21). + * [Implement contributors graph](https://codeberg.org/forgejo/forgejo/commit/e9be8b25ae57189c4b29eaa393a397cf634d21d7). + * [Artifact deletion in actions ui](https://codeberg.org/forgejo/forgejo/commit/c551d3f3ab13379b0740fc45bc4dfc8f2fb84e16). + * [Add API routes to get runner registration token](https://codeberg.org/forgejo/forgejo/commit/baf0d402d9cb47849394202fcfc7c2e23b0faac3). + * [Add support for forking single branch](https://codeberg.org/forgejo/forgejo/commit/5e02e3b7ee8294e2ec94968ece9af56bf1aa1534). + * [Add support for sha256 repositories](https://codeberg.org/forgejo/forgejo/commit/d68a613ba8fd860863a3465b5b5945b191b87b25). + * [Add admin API route for managing user's badges](https://codeberg.org/forgejo/forgejo/commit/82b7de1360870db7a8b368a3f80ede887e32e128). +* **Bug fixes:** + * The repository home view will no longer redirect to external units. ([#2064](https://codeberg.org/forgejo/forgejo/pulls/2064)) + * User and Organization `.profile` repositories now search for a `README.md` file case insensitively. ([#2090](https://codeberg.org/forgejo/forgejo/pulls/2090)) + * When viewing a file, the RSS feed link is only displayed when there is an RSS feed provided for the context: when viewing a file on a branch. ([#2103](https://codeberg.org/forgejo/forgejo/pulls/2103)) + * Repository topic searches are now correctly paged, which should make topic management on larger instances orders of magnitudes faster. ([#2060](https://codeberg.org/forgejo/forgejo/pulls/2060)) + * Mentioning a user in a comment or similar place ignores apostrophes now. ([#2485](https://codeberg.org/forgejo/forgejo/pulls/2485)) + * Setting the `[repository].DISABLE_STARS` setting to `true` disables the functionality completely, rather than just hiding it from the user interface. + * Forking a repository is now available at a predictable URL, and does not require knowing the repository id. ([#2310](https://codeberg.org/forgejo/forgejo/pulls/2310)) + * Issue and pull request templates can now be placed in a `.forgejo` directory, like workflows. ([#2290](https://codeberg.org/forgejo/forgejo/pulls/2290)) + * [[A11Y] Fix accessibility and translatability of repo explore counters](https://codeberg.org/forgejo/forgejo/pulls/2862) + * [[A11Y] Focus styling and fix Watch/Unwatch buttons](https://codeberg.org/forgejo/forgejo/pulls/2379) + * [[A11Y] Label Stars/Forks links in repo explore](https://codeberg.org/forgejo/forgejo/pulls/2634) + * [[A11Y] Taborder in repo explore](https://codeberg.org/forgejo/forgejo/pulls/2636) + * [[ACTIONS] add proper payload to scheduled events](https://codeberg.org/forgejo/forgejo/pulls/2015) + * [[ACTIONS] Do not update PRs based on events that happened before they existed](https://codeberg.org/forgejo/forgejo/pulls/2932) + * [[ACTIONS] GetScheduledMergeByPullID may involve a system user](https://codeberg.org/forgejo/forgejo/pulls/1908) + * [[ACTIONS] Link to Workflow in View](https://codeberg.org/forgejo/forgejo/pulls/1866) + * [[ACTIONS] the ref of a scheduled action is always the default branch](https://codeberg.org/forgejo/forgejo/pulls/1941) + * [[API] Adjust name of operation](https://codeberg.org/forgejo/forgejo/pulls/2189) + * [[API] `/api/v1/{owner}/{repo}/issue_templates`](https://codeberg.org/forgejo/forgejo/pulls/2292) + * [[API] Document correct status code for creating a tag](https://codeberg.org/forgejo/forgejo/pulls/2201) + * [[API] /api/forgejo/v1/version auth check](https://codeberg.org/forgejo/forgejo/pulls/2582) + * [[API] inconsistencies](https://codeberg.org/forgejo/forgejo/pulls/2182) + * [[API] /issues/search endpoint](https://codeberg.org/forgejo/forgejo/pulls/2020) + * [[API] Make HTTPS schema default for Swagger](https://codeberg.org/forgejo/forgejo/pulls/1896) + * [[I18N] Add missing translation for more_items](https://codeberg.org/forgejo/forgejo/pulls/2828) + * [[I18N] Eliminate wrapping quotes in English locale](https://codeberg.org/forgejo/forgejo/pulls/2467) + * [[I18N] English fixes and improvements](https://codeberg.org/forgejo/forgejo/pulls/2631) + * [[I18N] Fix milestone sorting translation keys](https://codeberg.org/forgejo/forgejo/pulls/2644) + * [[I18N] Use correct translation on closed milestones](https://codeberg.org/forgejo/forgejo/pulls/2957) + * [[I18N] Use new translation key](https://codeberg.org/forgejo/forgejo/pulls/2760) + * [[PACKAGES] Delete redundant snap packaging recipe](https://codeberg.org/forgejo/forgejo/pulls/2693) + * [[PACKAGES] Fix Alpine Registry packages with noarch not being found](https://codeberg.org/forgejo/forgejo/pulls/2285) + * [[PACKAGES] Generate install if condition for Alpine](https://codeberg.org/forgejo/forgejo/pulls/2176) + * [[PACKAGES] Packagist webhook: support all events](https://codeberg.org/forgejo/forgejo/pulls/2646) + * [[PACKAGES] Fix for PyPi Registry PEP 503 Compliance](https://codeberg.org/forgejo/forgejo/pulls/3197) + * [[UI] Adjust the signed tag verification line](https://codeberg.org/forgejo/forgejo/pulls/2966) + * [[UI] Better color for labels/counters](https://codeberg.org/forgejo/forgejo/pulls/2935) + * [[UI] Better number for UserCards pagination](https://codeberg.org/forgejo/forgejo/pulls/2584) + * [[UI] Center icon and callout text](https://codeberg.org/forgejo/forgejo/pulls/3010) + * [[UI] Consistent styling for Sort filter](https://codeberg.org/forgejo/forgejo/pulls/2920) + * [[UI] Disable the RSS feed in file view for non-branches](https://codeberg.org/forgejo/forgejo/pulls/2103) + * [[UI] Disable 'View at this point in history' for wikis](https://codeberg.org/forgejo/forgejo/pulls/2999) + * [[UI] Display error message if doer is unable to fork](https://codeberg.org/forgejo/forgejo/pulls/2649) + * [[UI] Don't use `
` in alert block](https://codeberg.org/forgejo/forgejo/pulls/2741) + * [[UI] Fix admin layout](https://codeberg.org/forgejo/forgejo/pulls/3087) + * [[UI] Fix crash in issue forms](https://codeberg.org/forgejo/forgejo/pulls/3012) + * [[UI] Fix Ctrl+Enter on submitting review comment](https://codeberg.org/forgejo/forgejo/pulls/2370) + * [[UI] Fix diff patch operation in web UI](https://codeberg.org/forgejo/forgejo/pulls/2449) + * [[UI] Fixes for project selector in sidebar](https://codeberg.org/forgejo/forgejo/pulls/2608) + * [[UI] Fix must-change-password help dialog](https://codeberg.org/forgejo/forgejo/pulls/2676) + * [[UI] Fix relative links on orgmode](https://codeberg.org/forgejo/forgejo/pulls/2385) + * [[UI] Fix selector inner radius](https://codeberg.org/forgejo/forgejo/pulls/2860) + * [[UI] Fix tone of callout boxes for Forgejo dark](https://codeberg.org/forgejo/forgejo/pulls/3085) + * [[UI] Fix tooltip for 1000+ stars/forks](https://codeberg.org/forgejo/forgejo/pulls/3147) + * [[UI] include hostname in admin panel URL in new user emails](https://codeberg.org/forgejo/forgejo/pulls/1940) + * [[UI] Increase contrast of code block](https://codeberg.org/forgejo/forgejo/pulls/2874) + * [[UI] Limit amount of javascript errors being shown](https://codeberg.org/forgejo/forgejo/pulls/2175) + * [[UI] Make settings tab not active when on repository "Add units" tab](https://codeberg.org/forgejo/forgejo/pulls/2524) + * [[UI] Make write and preview tabs interactive](https://codeberg.org/forgejo/forgejo/pulls/2681) + * [[UI] New issue button position consistency](https://codeberg.org/forgejo/forgejo/pulls/2845) + * [[UI] Fix orgmode link resolver for text descriptions](https://codeberg.org/forgejo/forgejo/pulls/2276) + * [[UI] Preview: set font-size on preview content](https://codeberg.org/forgejo/forgejo/pulls/2349) + * [[UI] Fix primary button background inconsistency](https://codeberg.org/forgejo/forgejo/pulls/3002) + * [[UI] Fix regression of issue edit not working](https://codeberg.org/forgejo/forgejo/pulls/3043) + * [[UI] Fix relative links rendering](https://codeberg.org/forgejo/forgejo/pulls/2166) + * [[UI] Remember topic only in repo search](https://codeberg.org/forgejo/forgejo/pulls/2575) + * [[UI] Remove min-height from wiki elements](https://codeberg.org/forgejo/forgejo/pulls/2080) + * [[UI] Render emojis in labels in issue info popup](https://codeberg.org/forgejo/forgejo/pulls/2888) + * [[UI] Render correct label link](https://codeberg.org/forgejo/forgejo/pulls/3187) + * [[UI] Render inline file permalinks](https://codeberg.org/forgejo/forgejo/pulls/2669) + * [[UI] Fix repo badges when the label or text contains dashes](https://codeberg.org/forgejo/forgejo/pulls/2711) + * [[UI] Fix repo unarchivation button](https://codeberg.org/forgejo/forgejo/pulls/2550) + * [[UI] Restrict when to make link absolute in markdown](https://codeberg.org/forgejo/forgejo/pulls/2403) + * [[UI] Revert darker tone on labels](https://codeberg.org/forgejo/forgejo/pulls/2881) + * [[UI] Simplify converting struct to map in admin stats](https://codeberg.org/forgejo/forgejo/pulls/2442) + * [[UI] Fix the Fork button in repo headers](https://codeberg.org/forgejo/forgejo/pulls/2495) + * [[UI] Use correct logout URL](https://codeberg.org/forgejo/forgejo/pulls/2475) + * [[UI] Use separate keys for tabs on login screen](https://codeberg.org/forgejo/forgejo/pulls/2630) + * [[UI] "view file" button in diff compare view](https://codeberg.org/forgejo/forgejo/pulls/3046) + * [add Cache-Control header for health-check](https://codeberg.org/forgejo/forgejo/pulls/3060) + * [add max idle time setting for db connections](https://codeberg.org/forgejo/forgejo/pulls/2418) + * [Allow `'s` in mentions](https://codeberg.org/forgejo/forgejo/pulls/2485) + * [Avoid `WHERE IN` for comment migration query](https://codeberg.org/forgejo/forgejo/pulls/1961) + * [Cleanup characters forbidden on Windows from test fixture filenames](https://codeberg.org/forgejo/forgejo/pulls/2178) + * [Correct changed files for CODEOWNERS](https://codeberg.org/forgejo/forgejo/pulls/2507) + * [Correct default licenses to work as desired](https://codeberg.org/forgejo/forgejo/pulls/1888) + * [Detect protected branch on branch rename](https://codeberg.org/forgejo/forgejo/pulls/2811) + * [Disabling Stars should disable the routes too](https://codeberg.org/forgejo/forgejo/pulls/2471) + * [doctor: Don't say All done when no checks were run](https://codeberg.org/forgejo/forgejo/pulls/1907) + * [Do not allow deletion of internal references](https://codeberg.org/forgejo/forgejo/pulls/2834) + * [Don't color dot literal color names](https://codeberg.org/forgejo/forgejo/pulls/2905) + * [Don't delete inactive emails explicitly](https://codeberg.org/forgejo/forgejo/pulls/2880) + * [Don't overwrite protected branch accidentally](https://codeberg.org/forgejo/forgejo/pulls/2473) + * [Don't redirect the repo to external units](https://codeberg.org/forgejo/forgejo/pulls/2064) + * [Don't remove builtin OAuth2 applications](https://codeberg.org/forgejo/forgejo/pulls/3067) + * [Ensure `HasIssueContentHistory` takes into account `comment_id`](https://codeberg.org/forgejo/forgejo/pulls/2518) + * [Find README.md for user profiles case insensitively](https://codeberg.org/forgejo/forgejo/pulls/2090) + * [Fix header name in swagger response](https://codeberg.org/forgejo/forgejo/pulls/2526) + * [Fix pull request reopen conditions](https://codeberg.org/forgejo/forgejo/pulls/2373) + * [Fix unblock action](https://codeberg.org/forgejo/forgejo/pulls/3086) + * [Fix VSCode settings](https://codeberg.org/forgejo/forgejo/pulls/1881) + * [Gracefully handle missing branches on a repos branches page](https://codeberg.org/forgejo/forgejo/pulls/2139) + * [Initialize Git for hook regeneration](https://codeberg.org/forgejo/forgejo/pulls/2416) + * [Internal Server Error when resolving comments](https://codeberg.org/forgejo/forgejo/pulls/2282) + * [Load `AllUnitsEnabled` when necessary](https://codeberg.org/forgejo/forgejo/pulls/2420) + * [Makefile: check git diff exitCode](https://codeberg.org/forgejo/forgejo/pulls/2651) + * [Make pprof labels conformant with prometheus spec](https://codeberg.org/forgejo/forgejo/pulls/2933) + * [Make reference URL absolute](https://codeberg.org/forgejo/forgejo/pulls/2100) + * [misleading comparisons when comparing branches](https://codeberg.org/forgejo/forgejo/pulls/2194) + * [Block issue creation when blocked by repo owner](https://codeberg.org/forgejo/forgejo/pulls/2052) + * [NPE in `ToPullReviewList`](https://codeberg.org/forgejo/forgejo/pulls/2057) + * [NPE in `UsernameSubRoute`](https://codeberg.org/forgejo/forgejo/pulls/1981) + * [Only pass selected repository IDs to pagination](https://codeberg.org/forgejo/forgejo/pulls/1848) + * [panic in `canSoftDeleteContentHistory`](https://codeberg.org/forgejo/forgejo/pulls/2134) + * [prevent removing session cookie when redirect_uri query contains ://](https://codeberg.org/forgejo/forgejo/pulls/2590) + * [pull_request_template branch link](https://codeberg.org/forgejo/forgejo/pulls/2232) + * [Rate limit pre-activation email change separately](https://codeberg.org/forgejo/forgejo/pulls/2043) + * [Refactor LFS GC functions](https://codeberg.org/forgejo/forgejo/pulls/3056) + * [Reflect Cargo index state in settings](https://codeberg.org/forgejo/forgejo/pulls/2698) + * [Remember topic only in repo search](https://codeberg.org/forgejo/forgejo/pulls/2489) + * [Require Latex code to have a end sequence](https://codeberg.org/forgejo/forgejo/pulls/1822) + * [Respond with JSON Resource Descriptor Content-Type per RFC7033](https://codeberg.org/forgejo/forgejo/pulls/2882) + * [Fix session generation for database](https://codeberg.org/forgejo/forgejo/pulls/2045) + * [Sort file list case insensitively](https://codeberg.org/forgejo/forgejo/pulls/2522) + * [Fix the topic search paging](https://codeberg.org/forgejo/forgejo/pulls/2060) + * [Typo fix & clarify RegistrationToken](https://codeberg.org/forgejo/forgejo/pulls/2191) + * [Update checker setting updates](https://codeberg.org/forgejo/forgejo/pulls/2925) + * [Use correct format for attr-check error log](https://codeberg.org/forgejo/forgejo/pulls/2866) + * [Use correct head commit for CODEOWNER](https://codeberg.org/forgejo/forgejo/pulls/2658) + * [Use correct template for commitmail error](https://codeberg.org/forgejo/forgejo/pulls/2973) + * [Workaround borked Git version](https://codeberg.org/forgejo/forgejo/pulls/2335) + * [Remove scheduled action tasks if the repo is archived](https://codeberg.org/forgejo/forgejo/commit/87870ade49eb76ff57a8593ba35df10e0d617aa5). + * [Relax generic package filename restrictions](https://codeberg.org/forgejo/forgejo/commit/ea4755be6dfc8fc1f3c794eeaa2e2322b97d192e). + * [Prevent re-review and dismiss review actions on closed and merged PRs](https://codeberg.org/forgejo/forgejo/commit/23676bfea7ccbbe166a554115ea1f5f02800e379). + * [Add a warning for disallowed email domains](https://codeberg.org/forgejo/forgejo/commit/2559c80bec27a41967b355d214253a83b9ee5dad). + * [Skip email domain check when admins edit user emails](https://codeberg.org/forgejo/forgejo/commit/e7afba21ce2b02eb4230ba03752bd8b937f3e6ef). + * [Skip email domain check when admin users adds user manually](https://codeberg.org/forgejo/forgejo/commit/b6057a34db38e563473db00543a1e39fd743ca34). + * [Add support for API blob upload of release attachments](https://codeberg.org/forgejo/forgejo/commit/47a913d40d3417858f2ee51a7dbed64ca84eff60). + * [Allow options to disable user gpg keys configuration from the interface on app.ini](https://codeberg.org/forgejo/forgejo/commit/ee6ff937c0782b9cdc7ae1bc62b7eda83982d40f). + * [Allow options to disable user ssh keys configuration from the interface on app.ini](https://codeberg.org/forgejo/forgejo/commit/bb09ad2b63570c80418b4b9a10f7dbbb349448ab). + * [Fix content size does not match error when uploading lfs file](https://codeberg.org/forgejo/forgejo/commit/fb137d1e49c0436f1db093e2dc0a2350d63e1e29). + * [Add API to get merged PR of a commit](https://codeberg.org/forgejo/forgejo/commit/1608ef0ce9ce2ea1c87aef715d111cf441637d01). + * [Add API to get PR by base/head](https://codeberg.org/forgejo/forgejo/commit/feb189554e758ed27d1e309e5ec309d663e8f338). + * [Add attachment support for code review comments](https://codeberg.org/forgejo/forgejo/commit/f95fb8cc44d790e0ae71d3f879124a6ee9b07f66). + * [Add support for action artifact serve direct](https://codeberg.org/forgejo/forgejo/commit/1f8ad34e4391673a2eda434ea5e48ea084cdc814). + * [Show whether a PR is WIP inside popups](https://codeberg.org/forgejo/forgejo/commit/50f55f11c4f785b72a39e59b0fc12ae70ab8d8b5). + * [Add artifacts v4 jwt to job message and accept it](https://codeberg.org/forgejo/forgejo/commit/a9bc590d5d10b97bd8aa050ffb720e141a600064). + * [Fix some RPM registry flaws](https://codeberg.org/forgejo/forgejo/commit/461d8b53c2e51a8a6a1715ba40ac61d7e9f93971). + * [Add branch protection setting for ignoring stale approvals](https://codeberg.org/forgejo/forgejo/commit/5d3fdd121279c758f247a76e020799aa5e548feb). + * [Added instance-level variables](https://codeberg.org/forgejo/forgejo/commit/d0f24ff4cad05c1145afeca791e7d02fe146d46a). + * [Fix the wrong HTTP response status code for duplicate packages](https://codeberg.org/forgejo/forgejo/commit/5b6258a0b94737ec3db1ce418d0c933512a71f78). + * [Don't run push mirrors for archived repos](https://codeberg.org/forgejo/forgejo/commit/f3ba3e922dde7d12999a90d6cee15805a56cc7ff). + * [Support for grouping RPMs using paths](https://codeberg.org/forgejo/forgejo/commit/ba4d0b8ffbd78473273800f586ae8bde55cda6c5). + * [Fixes #27605: inline math blocks can't be preceded/followed by alphanumerical characters](https://codeberg.org/forgejo/forgejo/commit/2adc3a45fbd60126c0eab66b9cdd177a63bd4704). + * [Fix GPG subkey verify](https://codeberg.org/forgejo/forgejo/commit/5a674dd02ed3ea2853afa02dc15dcdadba069a6e). + * [Include encoding in signature payload](https://codeberg.org/forgejo/forgejo/commit/6925c0eee43980133896f9e4ee7e48e5751e9417). + * [Fix milestoneID filter bug in issue list](https://codeberg.org/forgejo/forgejo/commit/0da787f23737d252e6c80aa1a1f665e09dba0ea9). + * [Fix Citation modal responsiveness and clipboard copy](https://codeberg.org/forgejo/forgejo/commit/ca39d743636c9732f4422e130bac974555fb43c2). + * [Fix incorrect locale Tr for gpg command](https://codeberg.org/forgejo/forgejo/commit/071d871dcf8dd8097dc0af6d4baf304a2fbbe4e2). + * [Improve a11y document and dropdown item](https://codeberg.org/forgejo/forgejo/commit/1d4bf7e211db0866774fa3f6f563e15ffadac1f6). + * [Determine fuzziness of bleve indexer by keyword length](https://codeberg.org/forgejo/forgejo/commit/ab5f0b7558229b3ab5c3946a51e58b4caae775b0). + * [Fix ellipsis button not working if the last commit loading is deferred](https://codeberg.org/forgejo/forgejo/commit/1e29bccddbeb29eec3ceb507612851021ab4d60d). + * [Fix incorrect diff expander for deletion of last lines in a file](https://codeberg.org/forgejo/forgejo/commit/85bf170ff0d54471fe88903009a3fec4ef3e6e8c). + * [Do not exceed display for the PR page buttons on smaller screens](https://codeberg.org/forgejo/forgejo/commit/e7297d423f566a383c8861c4aaee028606591038). + * [Move citation button to proper place](https://codeberg.org/forgejo/forgejo/commit/eb4061babacfee2b72f4a33412530eb9f0de3b25). + * [Expire artifacts before deleting them physically](https://codeberg.org/forgejo/forgejo/commit/7f64e4d2a3f20b7d7de6542de5e0856c643e821f). + * [Fix can not select team reviewers when reviewers is empty](https://codeberg.org/forgejo/forgejo/commit/df439b6a983865ba559e517e5e93f5f1a53a97a0). + * [Fix default avatar image size in PR diff page](https://codeberg.org/forgejo/forgejo/commit/3aed8ae03475a430c0dc8e33f42fa9269a4844bd). + * [Fix branch list bug which displayed default branch twice](https://codeberg.org/forgejo/forgejo/commit/0e6fd0d1c1e31d22707e6f06124d5bf76361eaab). + * [Set the `isPermaLink` attribute to `false` in the `guid` sub-element](https://codeberg.org/forgejo/forgejo/commit/5574968ecbc34908dfa17b28bfc79c3490eaa685). + * [Fix long package version names overflowing](https://codeberg.org/forgejo/forgejo/commit/3d474110c181df7854576d78e46209908f7e1b52). + * [Fix wrong link in user and organization profile when using relative url](https://codeberg.org/forgejo/forgejo/commit/42149ff1a816501643ec2407ed61a83bf5b65059). + * [Fix session key conflict with database keyword](https://codeberg.org/forgejo/forgejo/commit/4c29c75968f520123f125e8305b2c29198664251). + * [Fix commit status in repo list](https://codeberg.org/forgejo/forgejo/commit/0abb5633e34fd14c2d49de0b4c98f7ba7d98a37e). + * [Fix incorrect action duration time when rerun the job before executed once](https://codeberg.org/forgejo/forgejo/commit/07ba4d9f87cf21b7ce87158ae5651cae3bb35604). + * [Fix missing mail reply address](https://codeberg.org/forgejo/forgejo/commit/3081e7e1536356346f73fb4a0d00101863b2cf05). + * [Filter inactive auth sources](https://codeberg.org/forgejo/forgejo/commit/e378545f3083990eb36ff5d72477662d9787280d). + * [Refactor Find Sources and fix bug when view a user who belongs to an inactive auth source](https://codeberg.org/forgejo/forgejo/commit/1bf5527eac6b947010c8faf408f6747de2a2384f). + * [Fix issue not showing on default board and add test](https://codeberg.org/forgejo/forgejo/commit/1eae2aadae0583ab092d6ed857bb727829aa52b7). + * [Improve file history UI and fix URL escaping bug](https://codeberg.org/forgejo/forgejo/commit/d1527dac3d1e68caf5a6f54c08144e28256e5c47). + * [Fix ldap admin privileges update bug](https://codeberg.org/forgejo/forgejo/commit/7ad31567cdc8206e0080b851a9b880729266b084). +* **other** + * [[PERFORMANCE] git check-attr on bare repo if supported](https://codeberg.org/forgejo/forgejo/pulls/2763) + * [[REFACTOR] [AGIT] Refactor the AGit code](https://codeberg.org/forgejo/forgejo/pulls/2386) + * [[REFACTOR] generation of JWT secret](https://codeberg.org/forgejo/forgejo/pulls/2227) + * [[REFACTOR] PKT protocol](https://codeberg.org/forgejo/forgejo/pulls/2868) + * [Remove .exe suffix when cross-compiling on Windows](https://codeberg.org/forgejo/forgejo/commit/6acce16ee3a03df1cc06c46398f594009a0e31b9). + * [Refactor repo header/list](https://codeberg.org/forgejo/forgejo/commit/65e190ae8bd6c72d8701a58d67b256c87b92c189). + * [Update register application URL for GitLab](https://codeberg.org/forgejo/forgejo/commit/64fcf0cb64d455d5ca1420aa832aa057cf61e6dd). + * [Update golang links to use https](https://codeberg.org/forgejo/forgejo/commit/8ef53c871bcb5c007b3640a347c7868585c9e4de). + * [Teams: new View button](https://codeberg.org/forgejo/forgejo/commit/e3afe4a248ac3a961f332e2ba221bedafa3dfb7e). + * [Commit-Dropdown: Show Author of commit if available](https://codeberg.org/forgejo/forgejo/commit/300c8dedfd01ba0ea63486b644e93aa2be6785b2). + * [Refactor dropzone](https://codeberg.org/forgejo/forgejo/commit/c1ac3e5891a49bedc5e54ed5811cb2c0e058c43c). + * [When the title in the issue has a value, set the text cursor at the end of the text.](https://codeberg.org/forgejo/forgejo/commit/8c2559a72603e07fe682efddd698e1fc190b2728). + * [Load citation JS only when needed](https://codeberg.org/forgejo/forgejo/commit/f2fc2dcfc9305a42242421c718ee3673bd1c851c). + * [Refactor markdown attention render](https://codeberg.org/forgejo/forgejo/commit/ec2201a3da5f18e55bfc0a54114ac935804f4ef8). + * [Light theme color enhancements](https://codeberg.org/forgejo/forgejo/commit/23e2ace77d1612cda09bc0d08690314e7321cca3). + * [Dark theme color enhancements](https://codeberg.org/forgejo/forgejo/commit/704a59e59584041f95939e3d90260173906f946a). + * [Refactor markup/csv: don't read all to memory](https://codeberg.org/forgejo/forgejo/commit/d413a8fcacc81b6f7039371408034c9c2fc6c15f). + * [Move all login and account creation page labels to be above inputs](https://codeberg.org/forgejo/forgejo/commit/3acea02eb66ea09248ff29eb6b9cefce29fcea37). + * [Fix Gitpod logic of setting ROOT_URL](https://codeberg.org/forgejo/forgejo/commit/e52d87758272c417bb9b30e944f9b0bd33d28cb7). + * [Fix broken following organization](https://codeberg.org/forgejo/forgejo/commit/fd3b4afa2b3621ece2d7d1587fd4b017142d75a0). + * [Don't do a full page load when clicking `Watch` or `Star`](https://codeberg.org/forgejo/forgejo/commit/6992ef98fc227a60cf06e0a06b9ae2492b3d61be). + * [Fix non-alphabetic sorting of repo topics](https://codeberg.org/forgejo/forgejo/commit/a240d5dfa7e261f2fb703cf24b1ba4dc6aa47bfd). + * [Make cross-reference issue links work in markdown documents again](https://codeberg.org/forgejo/forgejo/commit/12c0487e01d3fd9fe289345c53e8a220be55e864). + * [Fix tooltip of variable edit button](https://codeberg.org/forgejo/forgejo/commit/361839fb1c8bdfb8291bbcf9bd650b21a605bbd7). + * [Disable query token param in integration tests](https://codeberg.org/forgejo/forgejo/commit/33439b733a4f69640350b9cda370963ebe9d1e0a). + * [Add merge arrow direction and update styling](https://codeberg.org/forgejo/forgejo/commit/e522e774cae2240279fc48c349fc513c9d3353ee). + * [Add links to owner home page in explore](https://codeberg.org/forgejo/forgejo/commit/dd5693387e0642e1aba05b01eeb18139ce90ef5e). + * [Render PyPi long description as document](https://codeberg.org/forgejo/forgejo/commit/876a0cb3d652f42545abdb33dc4fd71a7c3343bf). + * [Ignore temporary files for directory size](https://codeberg.org/forgejo/forgejo/commit/cb8298b7178f5dde302604bfe34c658b725f16f8). + * [Make pushUpdate error verbose](https://codeberg.org/forgejo/forgejo/commit/1bfcdeef4cca0f5509476358e5931c13d37ed1ca). + * [Add download URL for executable files](https://codeberg.org/forgejo/forgejo/commit/9341b37520e5626352bf2df52e8dbace2985c0d7). + * [Improve profile for Organizations](https://codeberg.org/forgejo/forgejo/commit/089ac06969030b0886d4e20bf8f7a757f785f158). + * [Fix Show/hide filetree button on small displays](https://codeberg.org/forgejo/forgejo/commit/e31c6cfe6e30341c502302d1c0a03138f8bf5c9f). + * [Fix merge base commit for fast-forwarded GitLab PRs](https://codeberg.org/forgejo/forgejo/commit/02dae3f84b80047bef391960eea1350d551e4d72). + * [Align ISSUE_TEMPLATE with the new label system](https://codeberg.org/forgejo/forgejo/commit/248b7ee850ecdb538b22ddcfbe80b6f91be32b70). + * [Improve the list header in milestone page](https://codeberg.org/forgejo/forgejo/commit/8abc1aae4ab5b03be0bcbdd390bb903b54ccd21a). + +## 1.21.11-2 + +[The complete list of new commits included in the Forgejo v1.21.11-2 release can be reviewed here](https://codeberg.org/forgejo/forgejo/compare/v1.21.11-1...v1.21.11-2), or from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo +$ git -C forgejo log --oneline --no-merges v1.21.11-1..v1.21.11-2 +``` + +This stable release contains a **security fix**. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.13+0-gitea-1.21.10` + +* Security fix + * [PR](https://codeberg.org/forgejo/forgejo/pulls/4047). Fixed: the OAuth2 implementation does not always require authentication for public clients, a requirement of [RFC 6749 Section 10.2](https://datatracker.ietf.org/doc/html/rfc6749#section-10.2). A malicious client can impersonate another client and obtain access to protected resources if the impersonated client fails to, or is unable to, keep its client credentials confidential. + +## 1.21.11-1 + +This stable release contains a single bug fix for a regression introduced in v1.21.11-0 by which creating a tag via the API would fail with error 500 on a repository a where Forgejo Actions workflow triggered by tags exists. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.12+0-gitea-1.21.10` + +* Bug fix + + * [error 500 on tag creation when a workflow exists](https://codeberg.org/forgejo/forgejo/issues/3327) + +## 1.21.11-0 + +[The complete list of new commits included in the Forgejo v1.21.11-0 release can be reviewed here](https://codeberg.org/forgejo/forgejo/compare/v1.21.10-0...v1.21.11-0), or from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo +$ git -C forgejo log --oneline --no-merges v1.21.10-0..v1.21.11-0 +``` + +This stable release contains bug fixes and **security fixes**. + +* Recommended Action + + We strongly recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.11+0-gitea-1.21.10` + +* Security fix + + * [Fixed a privilege escalation through git push options](https://codeberg.org/forgejo/forgejo/commit/cc80e661531794fff7f8a336eaaefdb7e3bd3956) that allows any user to change the visibility of any repository they can see, regardless of their level of access. + * [Fixed a bug that allows user-supplied, non-sandboxed JavaScript to be run from the same domain as the forge](https://codeberg.org/forgejo/forgejo/commit/8dcc7d9e8ce36d94bae1a1becddc4735f51add3c), via `/{owner}/{repo}/render/branch/{branch}/{filename}` URLs. + +* Bug fixes + + * [Use system action user to trigger scheduled action workflows](https://codeberg.org/forgejo/forgejo/commit/387aea4434488555838e55e067242509bc1510a6) + * [Close file in upload function](https://codeberg.org/forgejo/forgejo/commit/fd47240545ab1c4f10d07434c2ba00fff044236a) + * [Prevent registering runners for deleted repositories](https://codeberg.org/forgejo/forgejo/commit/fd47240545ab1c4f10d07434c2ba00fff044236a). Prevents 500 Internal Server Error in admin interface. + * [More reliable pagination support when migrating from gitbucket](https://codeberg.org/forgejo/forgejo/commit/e702e79625980b08ec060a1690b76502455acad9) + * [Fix automerge when used with actions](https://codeberg.org/forgejo/forgejo/commit/4889a3a1713d91a5ae95af4edf1bb3352d1871fd) + +## 1.21.10-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.10-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.21.8-0..v1.21.10-0 +``` + +This stable release contains bug fixes and a **security fix**. + +Note that there is no `Forgejo v1.21.9-0` release. The release numbering of the `Forgejo v1.21` patch series follows the Gitea release numbering. However, the publication of `Gitea v1.21.9` and `Gitea v1.21.10` were a few days apart because of a regression that is not present on Forgejo and there was no need to publish `Forgejo v1.21.9-0`. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.10+0-gitea-1.21.10` + +* Built with Go 1.21.9 and `golang.org/x/net` v0.23.0 + + It [includes vulnerability fixes](https://groups.google.com/g/golang-announce/c/YgW0sx8mN3M/m/khALNYGdAAAJ). + + * [CVE-2023-45288](https://pkg.go.dev/vuln/GO-2024-2687) which permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send. A Forgejo instance is affected if it is configured to listen to HTTPS instead of doing this via a reverse proxy. + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Fix to not remove repository avatars when the doctor runs with --fix on the repository archives](https://codeberg.org/forgejo/forgejo/commit/e9932a404d4bb5b22a87797094dff615eb38171a). + * [Detect protected branch on branch rename](https://codeberg.org/forgejo/forgejo/commit/611610c3c4cba12f2a835b41438a7ed54da9bc23). If a branch cannot be renamed due to a protected branch rule, show this error in the UI instead of throwing an internal server error. + * [Don't delete inactive emails explicitly](https://codeberg.org/forgejo/forgejo/commit/fb4c42deb23a67379afb29870e430e47687ccc6c). This can cause issues as the associated user might not have been deleted. It would lead to a database inconsistency and internal server errors if the user tries to activate their account. + * [Fix user interface when a review is deleted without refreshing](https://codeberg.org/forgejo/forgejo/commit/456a33e8bb770a86341dc883edc6b62264b950a1). + * [Fix paths when finding files via the web interface that were not escaped](https://codeberg.org/forgejo/forgejo/commit/b22be0c03fa4814c1b8b892346de5d4547782ce7). + * [Respect `DEFAULT_ORG_MEMBER_VISIBLE` setting when adding creator to org](https://codeberg.org/forgejo/forgejo/commit/5e5574c7b328e2c500d497517047b8d1fd0ca478). + * [Fix duplicate migrated milestones](https://codeberg.org/forgejo/forgejo/commit/706ff7aa9fcfe4c43893dc12e27d064064e80635). + * [Fix inline math blocks can't be preceded/followed by alphanumerical characters](https://codeberg.org/forgejo/forgejo/commit/0d3f446460b22a29c259e7d42ed89f90fd216ca7). + +## 1.21.8-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.8-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.21.7-0..v1.21.8-0 +``` + +This stable release contains bug fixes. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.8+0-gitea-1.21.8` + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Fix `/api/v1/{owner}/{repo}/issue_templates`](https://codeberg.org/forgejo/forgejo/commit/969d3f44101402afd9dd848e79dd5823d547a00d) which was always failing with a 500 error. + * [Prevent error 500 on /user/settings/security when SignedUser has a linked account from a deactivated authentication source](https://codeberg.org/forgejo/forgejo/commit/d9418651af8c8a3276ebc40a516109c0f33139b0). + * [Fix error 500 when pushing release to an empty repo](https://codeberg.org/forgejo/forgejo/commit/b76f370a3f8993638cad91547491b46631776f59). + * [Fix incorrect rendering csv file when file size is larger than UI.CSV.MaxFileSize](https://codeberg.org/forgejo/forgejo/commit/e151e0467341bd25a2465ca15e81ebc0c8fa3fc4). + * [Fix error 500 when deleting account with incorrect password or unsupported login type](https://codeberg.org/forgejo/forgejo/commit/66061d28286ee3adf69747c284d40121e2e4b280). + * [handle user-defined `name` anchors like `[Link](#link)` linking to `Link`](https://codeberg.org/forgejo/forgejo/commit/03caefbb02854d5c98a26d889e0e30c910651395). + * [Use correct head commit for CODEOWNER](https://codeberg.org/forgejo/forgejo/commit/d1cebb0e884a88941e27e2280e117cc04d2665fe). + * [Fix manual merge button](https://codeberg.org/forgejo/forgejo/commit/c70719c59c410e5378c04926c66461d7b9f72884). + * [Make meilisearch do exact search for issues](https://codeberg.org/forgejo/forgejo/commit/a876ac2c7934fa0f8a66424e178b501e4a341e0f). + * [Fix PR creation via api between branches of same repo with head field namespaced](https://codeberg.org/forgejo/forgejo/commit/120a173e24fd359b0b57f2bd1021168645fab5a8). + +## 1.21.7-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.7-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.21.6-0..v1.21.7-0 +``` + +This stable release contains bug fixes and a **security fix**. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.7+0-gitea-1.21.7` + +* Built with Go 1.21.8 + + It [includes vulnerability fixes](https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg). + + * [CVE-2023-45290](https://go.dev/issue/65383) which could lead to memory exhaustion when parsing a multipart form. + * [CVE-2023-45289](https://go.dev/issue/65065) which could allow incorrect forwarding of sensitive headers and cookies on HTTP redirect. + +* Security fix + + * The google.golang.org/protobuf module was bumped to version v1.33.0 to fix a bug in the google.golang.org/protobuf/encoding/protojson package which could cause the Unmarshal function to enter an infinite loop when handling some invalid inputs. [Read more in the announcement](https://groups.google.com/g/golang-announce/c/ArQ6CDgtEjY). + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Fix tarball/zipball download bug](https://codeberg.org/forgejo/forgejo/commit/8e2c991b35de8c94899ad053e89339cea4538589). + * [Ensure `HasIssueContentHistory` takes into account `comment_id`](https://codeberg.org/forgejo/forgejo/commit/8fb027fea5e9525293802d977fd3ee0c374ba9ba). + +## 1.21.6-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.6-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.21.5-0..v1.21.6-0 +``` + +This stable release contains bug fixes and a **security fix**, as explained in the [v1.21.6-0 companion blog post](https://forgejo.org/2024-02-release-v1-21-6-0/). + +* Recommended Action + + We **strongly recommend** that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.6+0-gitea-1.21.6` + +* Security fix + + * [Fix XSS vulnerabilities](https://codeberg.org/forgejo/forgejo/pulls/2434). It enabled attackers to inject client-side scripts into web pages displayed to Forgejo visitors. + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Always write proc-receive hook for all git versions](https://codeberg.org/forgejo/forgejo/commit/a1fb6a2346193439dafaee5acf071632246e6dd7). + * [Fix debian InRelease Acquire-By-Hash newline](https://codeberg.org/forgejo/forgejo/commit/8a2c4e9ff2743f47a8d1f081b9e35dcc16431115). + * [Fix missing link on outgoing new release notifications](https://codeberg.org/forgejo/forgejo/commit/3a061083d65bdfc9acf0cb5839b84f6a9c17a727). + * [Workaround to clean up old reviews on creating a new one](https://codeberg.org/forgejo/forgejo/commit/8377ecbfe1f2b72ec7d65c46cbc9022ad0ccd75f). + * [Fix push to create with capitalize repo name](https://codeberg.org/forgejo/forgejo/commit/8782275c9c66ad6fc7c44503d7df9dae7196aa65). + * In Markdown [don't try to make the link absolute if the link has a schema that's defined in `[markdown].CUSTOM_URL_SCHEMES`](https://codeberg.org/forgejo/forgejo/commit/6c100083c29fb0ccf0cc52e8767e540a260d9468), because they can't be made absolute. + * [Fix Ctrl+Enter on submitting review comment](https://codeberg.org/forgejo/forgejo/commit/1c3a31d85112d10fb948d6f0b763191ed6f68e90). + * In Git version v2.43.1, the behavior of `GIT_FLUSH` was accidentally flipped. This causes Forgejo to hang on the `check-attr` command, because no output was being flushed. [Workaround this by detecting if Git v2.43.1 is used and set `GIT_FLUSH=0` thus getting the correct behavior](https://codeberg.org/forgejo/forgejo/commit/ff468ab5e426582b068586ce13d5a5348365e783). + * [When setting `url.host` on a URL object with no port specified (like is the case of default port), the resulting URL's port will not change. Workaround this quirk in the URL standard by explicitly setting port for the http and https protocols](https://codeberg.org/forgejo/forgejo/commit/628e1036cfbcfae442cb6494249fe11410447056). + * [Fix elasticsearch Request Entity Too Large](https://codeberg.org/forgejo/forgejo/commit/e6f59f6e1489d63d53de0da1de406a7a71a82adb). + * [Do not send update/delete release notifications when it is in a draft state](https://codeberg.org/forgejo/forgejo/commit/3c54a1dbf62e56d948feb1008512900140033737). + * [Do not run Forgejo Actions workflows synchronized events on the same commit as the one used to create a pull request](https://codeberg.org/forgejo/forgejo/commit/ce96379aef6e92cff2e9982031d5248ef8b01947). + * [Fix a MySQL performance regression introduced in v1.21.4-0](https://codeberg.org/forgejo/forgejo/commit/af98a0a7c6f4cbb5340974958ebe4389e3bf4e9a). + * [Fix Internal Server Error when resolving comments](https://codeberg.org/forgejo/forgejo/commit/ad67d9ef1a219b21309f811c14e7353cbc4982e3). + * Packages + * Swift: [fix a failure to resolve from package registry](https://codeberg.org/forgejo/forgejo/commit/fab6780fda5d8ded020a98253a793e87ed94f634). + * Alpine: [if the APKINFO contains an install if condition, write it in the APKINDEX](https://codeberg.org/forgejo/forgejo/commit/7afbc62057b876fb6711ef58743f664a2509dde4). + * org-mode files + * [It is possible that the description of an `Regularlink` is `Text` and not another `Regularlink`](https://codeberg.org/forgejo/forgejo/commit/781d2a68ccb276bf13caf0b378b74d9efeab3d39). + * [Fix relative links on orgmode](https://codeberg.org/forgejo/forgejo/commit/fa700333ba2649d14f1670dd2745957704a33b40). + +## 1.21.5-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.5-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.21.4-0..v1.21.5-0 +``` + +This stable release includes bug fixes as well as documentation improvements. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.5+0-gitea-1.21.5` + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Upgrade go-git to v5.11.0](https://codeberg.org/forgejo/forgejo/commit/faafccbcc7942b39cbc43f8014a435de4cc30f62). Although go-git is not used by Forgejo in a way that meets the requirements for the [CVE-2023-49568](https://github.com/advisories/GHSA-mw99-9chc-xw7r) and [DoS](https://github.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r) vulnerabilities to be possible, it is upgraded to v5.11.0 which mitigates the issue, as a precaution. + * [Fix markdown relative links rendering](https://codeberg.org/forgejo/forgejo/commit/f8c9ff55b98adfbfbcc24efd178c114006f28336) + * [Fix NPE in `UsernameSubRoute`](https://codeberg.org/forgejo/forgejo/commit/3c7a955f05ec4c29f3c4f7412c45129b74c33e5c) + * [Fix duplication when blocking multiple users](https://codeberg.org/forgejo/forgejo/commit/3d3790ef4c6cdbcbe0cf7ec80627596f44701977) + * [Render code block in activity tab](https://codeberg.org/forgejo/forgejo/commit/766305f47c87b0199986f22402a17526b2586eca) + * [Fix reverting a merge commit failing](https://codeberg.org/forgejo/forgejo/commit/c450df40f1be3ca22f64c062cbc6046a15a6a634) + * [Fix archive creating LFS hooks and breaking pull requests](https://codeberg.org/forgejo/forgejo/commit/fd1681019528e78b764f75d11910cbdf681bfbb1) + * [Avoid duplicate JS error messages on UI](https://codeberg.org/forgejo/forgejo/commit/367dd037d25d659aff3cd3bc5df5c7e4c168d58a) + * [Fix incorrect PostgreSQL connection string for Unix sockets](https://codeberg.org/forgejo/forgejo/commit/16dbd9f2003f22beff413cbf453d99f9099afeef) + * [Fix avatar storage migration](https://codeberg.org/forgejo/forgejo/commit/fcabc262f77bc285bf5f1e4e66cf5d601d8e1820) + * [Prevent anonymous container access if `RequireSignInView` is enabled](https://codeberg.org/forgejo/forgejo/commit/5a4a151209dc74257885a5a1f991163e26210602) + * [Fix uploaded artifacts that were not overwritten](https://codeberg.org/forgejo/forgejo/commit/5dbe9596ac3274026ef4fe46889b7d440652e420) + * [Update enable_prune even if mirror_interval is not provided](https://codeberg.org/forgejo/forgejo/commit/20c436ec922a7fcb40950b3ad48365e0bd2bf1fe) + * [Strip `/` from relative links](https://codeberg.org/forgejo/forgejo/commit/c6285052dd41342782b66c9e8e3c53dce492cba4) + +* Improvements + + * [Don't remove repository's releases when mirroring](https://codeberg.org/forgejo/forgejo/commit/04904b933d138a184b361328c287487306c0f4c7) + +## 1.21.4-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.4-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.21.3-0..v1.21.4-0 +``` + +This stable release includes security and bug fixes as well as documentation improvements. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version. + +* Container image upgrades + + In the Forgejo container images the ssh version was upgraded to [9.3_p2-r1](https://pkgs.alpinelinux.org/packages?name=openssh&branch=v3.18) which includes a fix for [CVE-2023-48795](https://nvd.nist.gov/vuln/detail/CVE-2023-48795). + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.4+0-gitea-1.21.4` + +* Security fixes + + * [Require token for GET subscription endpoint](https://codeberg.org/forgejo/forgejo/commit/6a66e8c7486b0be873dfc55dfdef9ba056970a90) + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Gracefully handle missing branches](https://codeberg.org/forgejo/forgejo/commit/c2fa9c308f5cdb08dd84fb8ec6623a57e75d5152) when a branch is missing from Git but still lingering in the database. + * [Fix panic in `canSoftDeleteContentHistory`](https://codeberg.org/forgejo/forgejo/commit/ab1ccc55dca7fd05e59a01343e6dfe53be6195d0) + * [Check for Commit in opengraph](https://codeberg.org/forgejo/forgejo/commit/b473a44a2bb59591f3e24bfcdeed1d8fbb0f9204) + * [Handle non-existent commit in Archive request](https://codeberg.org/forgejo/forgejo/commit/0fbf761d1930f9336be6da8d17ae6032203a9381) + * [Fix NPE in `ToPullReviewList`](https://codeberg.org/forgejo/forgejo/commit/f5349b66b78968301d7dc4c45e8e08b46910aa6e) + * [Fix URL in the mail to include the host](https://codeberg.org/forgejo/forgejo/commit/ac889d42903b2ce2129a02ace620a10a6f940920) + * [Fix the event of a scheduled action](https://codeberg.org/forgejo/forgejo/commit/892a8e1f4a5cc09cc3136e0b0e6487c154c5ed2b) to be "schedule" instead of a semi-random event from the default branch. + * [Use refname:strip-2 instead of refname:short when syncing tags](https://codeberg.org/forgejo/forgejo/commit/4df056a14ecaad3ff9d963599fff8c8d7ebe87e9) + * [Fix button size in "attached header right"](https://codeberg.org/forgejo/forgejo/commit/10699872930005a79490dd47eb86438ff20f449d) + * [Fix `convert.ToTeams` on empty input](https://codeberg.org/forgejo/forgejo/commit/453d27853c18991c13b6e457032406664b07751b) + * [Hide code related setting options in repository when code unit is disabled](https://codeberg.org/forgejo/forgejo/commit/703ed272ccba55c08873f6a23e557cdc5cd498ee) + * [Fix incorrect URL for "Reference in New Issue"](https://codeberg.org/forgejo/forgejo/commit/01285dc47cd77e7c0755423af96ba6bf0e23650e) + * [Fix panic when parsing empty pgsql host](https://codeberg.org/forgejo/forgejo/commit/ad027c28181004cbf891be14bb383ed906b13521) + * [Fix alpine package files are not rebuilt](https://codeberg.org/forgejo/forgejo/commit/881159f593b8f848d52afe8d420f4f3ced34de7f) + * [Avoid cycle-redirecting user/login page](https://codeberg.org/forgejo/forgejo/commit/ea8ca5b5098d04bf5f6218ca099af32d20bb465f) + * [Fix the scroll behavior for emoji/mention list](https://codeberg.org/forgejo/forgejo/commit/fef19bcf94b2265870d21897e9bc55d6a07975d7) + * [Fix wrong due date rendering in issue list page](https://codeberg.org/forgejo/forgejo/commit/29a0e7738c0725ee8407e2714c3d890286a94fd0) + * [Fix `status_check_contexts` matching bug](https://codeberg.org/forgejo/forgejo/commit/3fe44b87627612705413e80abbe8af55fae36666) + * [Fix 405 method not allowed CORS / OIDC](https://codeberg.org/forgejo/forgejo/commit/9ad7a67fc127712f897a3c8348e9f55d7cb2f6ec) + * [Fix `GetCommitStatuses`](https://codeberg.org/forgejo/forgejo/commit/c287b1383f91024a8eba1a3f47912eecd66e19be) + * [Forbid removing the last admin user](https://codeberg.org/forgejo/forgejo/commit/5124be72aaac4ad814c1ec7a57a2e92c529d00f9) + * [Fix issue dependencies](https://codeberg.org/forgejo/forgejo/commit/2ab54a9c0671b70ab83bd3c643815ac7424a6a36) + * [Fix system webhooks API bug](https://codeberg.org/forgejo/forgejo/commit/f5764bbf269d82e7e344834a5eeb8de82356cfde) + +* Documentation + + * The Forgejo Actions [user reference guide](https://forgejo.org/docs/v1.21/user/actions/) includes [event payload examples](https://forgejo.org/docs/v1.21/user/actions/#githubevent) for pull requests and push events. It also covers most of the [jobs](https://forgejo.org/docs/v1.21/user/actions/#jobs) syntax. + * The [Forgejo command line page](https://forgejo.org/docs/v1.21/admin/command-line/) was [entirely reworked](https://codeberg.org/forgejo/docs/pulls/340) and updates are now automated. + +* Improvements + + * [Rework markup link rendering](https://codeberg.org/forgejo/forgejo/commit/875b398e5e0c53a615c861eba77d4e0ff50ff49d) + * [Modernize merge button](https://codeberg.org/forgejo/forgejo/commit/70c7ee54754e93fd2612287b1ccfc24006924651) + * [Assign pull request to project during creation](https://codeberg.org/forgejo/forgejo/commit/10b555a52b0541fa5e4bc3ddb43001abc2ce0c76) + * [Add download attribute to release attachments](https://codeberg.org/forgejo/forgejo/commit/fab93c6393f5365e2e985619f0b82e4c580874c9) + +## 1.21.3-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.3-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.21.2-1..v1.21.3-0 +``` + +This stable release includes bug fixes. It was built with an updated version of the [Go Cryptography](https://pkg.go.dev/golang.org/x/crypto) package that fixes [CVE-2023-48795](https://go.dev/issue/64784). As explained in the [corresponding Go issue](https://github.com/golang/vulndb/issues/2402): "The impact of this attack is relatively limited, as it does not compromise confidentiality of the channel." + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.3+0-gitea-1.21.3` + +* Security fix + + * The [Go Cryptography](https://pkg.go.dev/golang.org/x/crypto) package [is upgraded](https://codeberg.org/forgejo/forgejo/commit/9515a0ea38c179a2811e489079a68bbcc79f3cd3) to fix [CVE-2023-48795](https://go.dev/issue/64784). + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Fix a regression](https://codeberg.org/forgejo/forgejo/commit/dbd896ce42b2c5a1f4b4a69289fa3a38a875d04d) in how the markdown anchors are generated. For instance the anchor for `A.B.C` is `A-B-C` but was incorrectly set to `ABC`. + * [Fix the branch name of scheduled actions](https://codeberg.org/forgejo/forgejo/commit/580f29d9a2f8986c02b6ac30f2f3c177866cc81a) which [was sometime incorrectly set](https://codeberg.org/forgejo/forgejo/issues/1926). + * [Fix a visual glitch](https://codeberg.org/forgejo/forgejo/commit/b0874a0912ee97b11047bb2bd7d370b93c298d2a) when [setting an emoji in the web UI](https://codeberg.org/forgejo/forgejo/issues/1990). + * [Recently Docker started to use the optional `POST /v2/token` endpoint](https://codeberg.org/forgejo/forgejo/commit/a77398cd344be76e1cd2474063d917b286f8e9b1) which should respond with a `404 Not Found` status code instead of the current `405 Method Not Allowed`. + * [Fix a missing leading ssh:// when using a port other than 22](https://codeberg.org/forgejo/forgejo/commit/1475c1fcc4f1d5d526260a3f2068ae62c2ccaae3) when Git URLs are displayed in the web UI. + * [Allow disabling the detection of ambiguous unicode characters](https://codeberg.org/forgejo/forgejo/commit/cd5a0ec1c88edc238469657731e209a0080e9bfc) with the new setting `AMBIGUOUS_UNICODE_DETECTION=false`. + * [Fix a regression with the issue references rendering in wiki pages](https://codeberg.org/forgejo/forgejo/commit/40fa6a526a1cb42889eddd5135f2749cc092fff5). + * [Fix merging artifact chunks error when minio storage basepath is set](https://codeberg.org/forgejo/forgejo/commit/bea2c52572d62781228099812e56b2e7051e7ab0) + * [Fix missing information in the blame page web UI](https://codeberg.org/forgejo/forgejo/commit/1f8d01c74d75c0b426b7b7a95cc1ca3bfe1b853c). + +## 1.21.2-1 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.2-1` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.21.2-0..v1.21.2-1 +``` + +This stable release contains a **security fix**, as explained in the [v1.21.2-1 companion blog post](https://forgejo.org/2023-12-release-v1-21-2-1/). + +* Recommended Action + + We **strongly recommend** that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.2+0-gitea-1.21.2` + +* Security fix + + The project page [of private users](https://forgejo.org/2023-12-release-v1-21-2-1/) is no longer publicly visible. + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * The default preferred licenses for the [[repository].PREFERRED_LICENSES](https://forgejo.org/docs/v1.21/admin/config-cheat-sheet/#repository-repository) setting were incorrect and have been [fixed to be `Apache-2.0` and `MIT`](https://codeberg.org/forgejo/forgejo/commit/5258e8f63d649b016d5c5d0e37422723bef26dac). + * A failed cron job can [no longer cause the Forgejo instance to shutdown](https://codeberg.org/forgejo/forgejo/commit/026a4bb02d8ac0b0dd90eb8a89c25ae18abca34f). + * A pull request merged by a workflow using the [automatic token](https://forgejo.org/docs/v1.21/user/actions/#automatic-token) with the `auto merge` flag [no longer cause an error 500 when displaying the pull request page](https://codeberg.org/forgejo/forgejo/commit/4148fb27dbc337a433b41d6d450d48fad73239cc). + * [Tentative fix for when the database branch cache is out of sync with the branches found in Git repositories](https://codeberg.org/forgejo/forgejo/commit/14750f3d11c8d065d3f9af31b8b4ee8d28acd0a5). When in doubt it is recommended to click on `Sync missed branches from git data to databases` in the `/admin` dashboard. + +## 1.21.2-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.2-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.21.1-0..v1.21.2-0 +``` + +This stable release includes bug fixes. It was built with Go v1.21.5 that fixes [CVE-2023-39326](https://groups.google.com/g/golang-announce/c/iLGK3x6yuNo) which a malicious HTTP client can exploit to cause a server to automatically read a large amount of data. It allows for memory exhaustion in the situation that HTTP chunked encoding requests can reach Forgejo. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.21/admin/upgrade/) to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/) + + The semantic version was updated to `6.0.1+0-gitea-1.21.2` + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [OAuth2 uses the link_account page when the email or username is missing](https://codeberg.org/forgejo/forgejo/commit/e6fb2107f2843a09c3a72c3629bcee50c4797a6c) + * [Avoid conflicts of issue and PR numbers in GitLab migration](https://codeberg.org/forgejo/forgejo/commit/272d0a4c20987e33fa132fc94d996e0c6fdb86d7) + * [Only pass selected repository IDs to pagination](https://codeberg.org/forgejo/forgejo/commit/2552bb7b6ec51a094c9d800589991b1556fba798) + * [Add download URL for executable files](https://codeberg.org/forgejo/forgejo/commit/958a20865b897daaa4c26a3ba4b195ba2e854223) + * [Fix Forgejo repositories migration to also include issues, prs etc.](https://codeberg.org/forgejo/forgejo/commit/61fc5c514a6b3f99560b0df5e4cdb7df94763984) + * [Fix template substitution bug preventing notifications to be sent on new user registration](https://codeberg.org/forgejo/forgejo/commit/bc0078a50a6ab341ca4af15ce5d3fd221e6e9e0d) + * [When searching for issues, require that all terms are matched instead of one of them](https://codeberg.org/forgejo/forgejo/commit/13c0df40de319db2c4c2ec11a9a9dc5cf9eaf681) + * [Ignore temporary files when calculating the size of a repository](https://codeberg.org/forgejo/forgejo/commit/b17113bb06b57211b9c264b6953a783e7d0bb9a2) + * [Convert git commit summary to valid UTF8](https://codeberg.org/forgejo/forgejo/commit/346635605da024c3a0a6e7f4d63de1632459f4d6) + * [Fix incorrect default value of `[attachment].MAX_SIZE`](https://codeberg.org/forgejo/forgejo/commit/52f8fde69f121af6f72685fd08dc45b4b3e89004) + * [Fix object does not exist error when checking citation file](https://codeberg.org/forgejo/forgejo/commit/1ce155c5a695f07a9252b4ffc8c9ae7d48ebf7ec) + +* Improvements + + * [new doctor check: fix-push-mirrors-without-git-remote](https://codeberg.org/forgejo/forgejo/commit/1fea3ce6592afca7f8d16c147effd343244746fa) + * [Add `HEAD` support for RPM registry](https://codeberg.org/forgejo/forgejo/commit/ce3a24ef5f80413514e8de28ff47e77acccf0d2b) + +## 1.21.1-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.21/forgejo) included in the `Forgejo v1.21.1-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges origin/v1.20/forgejo..origin/v1.21/forgejo +``` + +- **[Forgejo Semantic Version](https://forgejo.org/docs/v1.21/user/semver/):** + The semantic version was updated to `6.0.0+0-gitea-1.21.0` because it contains breaking changes. + +- **Breaking:** + Note that the modifications related to CSS, templates or assets (images, fonts, etc.) are not documented here. + Although they can be extracted and modified, Forgejo does not provide any guarantee that such changes + will be portable from one version to another (even a patch version). A [Q&A discussion is available](https://codeberg.org/forgejo/discussions/issues/84) + to share tips and tricks. A new section was also added + [to the developer documentation about interface customization](https://forgejo.org/docs/v1.21/developer/customization/). + - If you have custom asset files, e.g. custom themes, inside `custom/public/*` (css included), you need to transfer these files to `custom/public/assets/*` for them to be detected. Read more [in the documentation](https://forgejo.org/docs/v1.21/developer/customization/) and the [Q&A discussion dedicated to interface customization](https://codeberg.org/forgejo/discussions/issues/84). + - Git [branches are stored in the databases](https://codeberg.org/forgejo/forgejo/commit/6e19484f4d3bf372212f2da462110a1a8c10cbf2) to reduce the calls to a git process and improve performances. After upgrading, login as an admin, go to the `/admin` page and click run **Sync missed branches from git data to databases**. If this is not done there will be messages such as `LoadBranches: branch does not exist` in the logs. + - [Some Forgejo CLI options have changed](https://codeberg.org/forgejo/forgejo/commit/d0dbe52e76f3038777c3b50066e3636105387ca3) and scripts may need to be updated. For instance `--verbose` is no longer a global option and is implemented on a per sub-command basis. Check `forgejo --help` or `forgejo docs` for more information. + - [Remove "CHARSET" config option for MySQL and always use "utf8mb4"](https://codeberg.org/forgejo/forgejo/commit/ce46834b938eb687152a680669ada95a26304178). It has been a requirement for years and specifying anything else is likely to cause issues. Existing MySQL databases still using `utf8` can be converted using the CLI: `forgejo doctor convert`. + - [Restrict certificate type for builtin SSH server](https://codeberg.org/forgejo/forgejo/pulls/1172). This is a breaking change for setups where the builtin SSH server is being used and for some reason host certificates were being used for authentication. + - [Set SSH_AUTHORIZED_KEYS_BACKUP to false by default](https://codeberg.org/forgejo/forgejo/commit/469d89b95a1ce18dd34808a95c7230375e828e24). There is no automatic cleanup of these backups and can end up using a significant amount of disk space over time. + - [The minimum RSA keylength is now 3072 instead of 2048](https://codeberg.org/forgejo/forgejo/commit/c533991519816313dfaa0ddcec183756a97b9348). + - Prior to this release, a token scoped to read or write permissions on issues was allowed to access both issues and pull requests, regardless of the restrictions imposed to the team in which they belong. In a team it is possible to grant finer grained permissions, for instance to allow a user to access issues but not pull requests. These restrictions are [now enforced](https://codeberg.org/forgejo/forgejo/commit/f4310d74ee65500ef02064256808530e09da76a0) and API calls that previously succeeded on `/api/v1/repos/{org}/{repo}/issues` or other endpoints common to both issues and pull requests could return 404. Granting the user the necessary permissions in the team in which they belong will allow them to use that endpoint again. +- **Forgejo Actions:** + It is now enabled by default but should still be considered alpha stage and subject to unannounced breaking changes. + - The API can now be used to manage secrets for [users](https://code.forgejo.org/api/swagger/#/user/updateUserSecret), [organizations](https://code.forgejo.org/api/swagger/#/organization/orgListActionsSecrets) and [repositories](https://code.forgejo.org/api/swagger/#/repository/updateRepoSecret). + - [Registration tokens can register multiple runners](https://codeberg.org/forgejo/forgejo/commit/9b698362a333de2c388499f1a64d39545b0263bd) instead of a single one. Read more [about runner registration](https://forgejo.org/docs/v1.21/admin/actions/#registration). + - [Add](https://codeberg.org/forgejo/forgejo/commit/35a653d7edbe0d693649604b8309bfc578dd988b) support for [variables in addition to secrets](https://forgejo.org/docs/v1.21/user/actions/#variables). + - [Add](https://codeberg.org/forgejo/forgejo/commit/0d55f64e6cd3de2e1e5c0ee795605823efb14231) support for [recurring actions similar to cron jobs](https://forgejo.org/docs/v1.21/user/actions/#onschedule). + - [Add](https://codeberg.org/forgejo/forgejo/commit/19872063a3c14256a1d89b2a104d63e7538a3a28) the possibility to [disable workflows from the user interface](https://forgejo.org/docs/v1.21/user/actions/#list-of-runners-and-their-tasks). + - [Add](https://codeberg.org/forgejo/forgejo/commit/460a2b0edffe71d9e64633beaa1071fcf4a33369) automatic [cleanup of artificats](https://forgejo.org/docs/v1.21/user/actions/#artifacts). + - [Add](https://codeberg.org/forgejo/forgejo/commit/44781f9f5c4ede618660d8cfe42437f0e8dc22a0) automatic cancellation [of jobs when pushing new commits](https://forgejo.org/docs/v1.21/user/actions/#auto-cancellation-of-workflows) to a PR. + - [Add](https://codeberg.org/forgejo/forgejo/commit/f3d293d2bbe0b2eab047bdd403046069cffbc0c4) support for [uploading multiple artificats](https://forgejo.org/docs/v1.21/user/actions/#artifacts). + - [Add](https://codeberg.org/forgejo/forgejo/commit/48e5a74f215d78813a816c57fc5a85a909a003d5) support for the [`pull_request_target` event](https://forgejo.org/docs/v1.21/user/actions/#onpull_request_target) which has access to secrets because it runs using the workflows from the base branch instead of the pull request. + - [Add](https://codeberg.org/forgejo/forgejo/commit/8228751c55d6a4263f0fec2932ca16181c09c97d) support for reading labels from the runner [instead of specifying them during registration](https://forgejo.org/docs/v1.21/admin/actions/#registration). +- **Features:** + - With the Chroma upgrade from [2.7.0](https://github.com/alecthomas/chroma/releases/tag/v2.7.0) to [2.10.0](https://github.com/alecthomas/chroma/releases/tag/v2.10.0) syntax highlighting is now available for [Smali](https://github.com/alecthomas/chroma/pull/765), [DHCP](https://github.com/alecthomas/chroma/pull/772), [WebGPU Shading Language](https://github.com/alecthomas/chroma/pull/776), [AutoHotkey](https://github.com/alecthomas/chroma/commit/4779f9035a3aaea3ec650f0923657c12e12dd35a), [AutoIt](https://github.com/alecthomas/chroma/commit/029798b351baa9c3d0dd5ec16e87ab98486d843c), [tal (uxntal)](https://github.com/alecthomas/chroma/commit/e422a6286fdc61393deb09afd270293eb590d023), [ArangoDB Query Language (AQL)](https://github.com/alecthomas/chroma/pull/794), [BIND DNS Zone](https://github.com/alecthomas/chroma/pull/796), [Odin](https://github.com/alecthomas/chroma/pull/802), [Sourcepawn](https://github.com/alecthomas/chroma/pull/804), [CPP](https://github.com/alecthomas/chroma/pull/813), [C](https://github.com/alecthomas/chroma/pull/815). New files and extensions are associated as follows: [.tpp as a c++](https://github.com/alecthomas/chroma/pull/817), [.eex as a Elixir](https://github.com/alecthomas/chroma/pull/820), [Pipfile and poetry.lock as a TOML](https://github.com/alecthomas/chroma/pull/821), [ISCdhcpd filename](https://github.com/alecthomas/chroma/pull/822), [.twig](https://github.com/alecthomas/chroma/pull/833), [Mathematica](https://github.com/alecthomas/chroma/pull/836). + - With the go-enry upgrade from [v2.8.4](https://github.com/go-enry/go-enry/releases/tag/v2.8.4) to [v2.8.6](https://github.com/go-enry/go-enry/releases/tag/v2.8.6), language detection in the repository now includes: + - Bluespec BH: [atom-haskell/language-haskell](https://github.com/atom-haskell/language-haskell) + - D2: [terrastruct/d2-vscode](https://github.com/terrastruct/d2-vscode) + - Go Workspace: [golang/vscode-go](https://github.com/golang/vscode-go) + - Gradle Kotlin DSL: [nishtahir/language-kotlin](https://github.com/nishtahir/language-kotlin) + - Hosts File: [Alhadis/language-etc](https://github.com/Alhadis/language-etc) + - LOLCODE: [KrazIvan/LOLCODE-grammar-vscode](https://github.com/KrazIvan/LOLCODE-grammar-vscode) + - MDX: [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language) + - Nasal: [BobDotCom/Nasal.tmbundle](https://github.com/BobDotCom/Nasal.tmbundle) + - Nushell: [hustcer/nu-grammar](https://github.com/hustcer/nu-grammar) + - Pact: [kadena-io/pact-atom](https://github.com/kadena-io/pact-atom) + - RBS: [soutaro/vscode-rbs-syntax](https://github.com/soutaro/vscode-rbs-syntax) + - Rez: [textmate/rez.tmbundle](https://github.com/textmate/rez.tmbundle) + - Sweave: [textmate/sweave.tmbundle](https://github.com/textmate/sweave.tmbundle) + - TL-Verilog: [adamint/tlv-vscode](https://github.com/adamint/tlv-vscode) + - Typst: [michidk/typst-grammar](https://github.com/michidk/typst-grammar) + - WDL: [broadinstitute/wdl-sublime-syntax-highlighter](https://github.com/broadinstitute/wdl-sublime-syntax-highlighter) + - WGSL: [wgsl-analyzer/wgsl-analyzer](https://github.com/wgsl-analyzer/wgsl-analyzer) + - WebAssembly Interface Type: [bytecodealliance/vscode-wit](https://github.com/bytecodealliance/vscode-wit) + - [Newly pushed branches show in the web UI with a link to create a PR](https://codeberg.org/forgejo/forgejo/commit/6375419468edc95fdfac94aac3b0e10b23743557). Read more [about the `New Pull Request` button](https://forgejo.org/docs/v1.21/user/pull-requests-and-git-flow/#create-a-pull-request). + - Labels that are no longer useful [can be archived](https://codeberg.org/forgejo/forgejo/commit/cafce3b4b5afb3f254a48e87f1516d7b5dc209b6). They can no longer be selected but they remain on existing issues. Read more [about archiving labels](https://forgejo.org/docs/v1.21/user/labels/#archiving-labels). + - The blame view now [takes into account](https://codeberg.org/forgejo/forgejo/commit/ed64f1c2b835bf9332bf8347be9675ef29c8274b) the [`.git-blame-ignore-revs`](https://git-scm.com/docs/git-config#Documentation/git-config.txt-blameignoreRevsFile) file. + - [Pre-register OAuth2 applications for git credential helpers](https://codeberg.org/forgejo/forgejo/commit/63ab92d7971e4931e98f014f2c5385d2242fa780). Read more in the git authentication section of the [user guide](https://forgejo.org/docs/v1.21/user/oauth2-provider/#git-authentication) and the [administrator guide](https://forgejo.org/docs/v1.21/admin/oauth2-provider/#git-authentication). + - Admins can be [notified via email](https://codeberg.org/forgejo/forgejo/commit/9b7bbae8c4cd5dc4d36726f10870462c8985e543) when a new user registers to help fight spam bots by setting `[admin].SEND_NOTIFICATION_EMAIL_ON_NEW_USER = true`. + - When a page display the history of changes for a file, [file rename are detected and displayed](https://codeberg.org/forgejo/forgejo/commit/ea23594cdbb12c32dc28638f65bf40e37d344e5f). + - Packages [can be configured to redirect requests to the S3 server](https://codeberg.org/forgejo/forgejo/commit/c890454769562e0ec2978e123aaf3d9a43e5ef4f) for clients that support this feature. + - When a PR contains multiple commits, it is now possible [review to each commit independently](https://codeberg.org/forgejo/forgejo/commit/55532061c83d38d33ef48bdc5eeac0f652844e8a). Read more [about selecting commits for review](https://forgejo.org/docs/v1.21/user/pull-requests-and-git-flow/#reviews). + - Issues can [be deleted in batch](https://codeberg.org/forgejo/forgejo/commit/a1c5057fe81c25dfd1777e9625eb5480c45897ea). + - An email can be associated with [an Organisations](https://codeberg.org/forgejo/forgejo/commit/6598d0291cf7dfeb00cb5e5d18faf2bf46fad596). + - The CODEOWNERS file is [interpreted to automatically set reviewers on PRs](https://codeberg.org/forgejo/forgejo/commit/3bdd48016f659c440d6e8bb57386fab7ad7b357b). The CODEOWNERS file is loaded from these paths in this order: `./CODEOWNERS`, `./docs/CODEOWNERS`. + - Issue search [were reworked entirely](https://codeberg.org/forgejo/forgejo/commit/1e76a824bcd71acd59cdfb2c4547806bc34b3d86) to fix the shortcomings of the previous implementation. + - [Allow "latest" to be used as a release tag when downloading a file](https://codeberg.org/forgejo/forgejo/commit/a7d9a70552410d797cefc87b177b33ca4a1a60c4). + - [Authentication via reverse proxy is available and disabled by default](https://codeberg.org/forgejo/forgejo/commit/e97e883ad50774f249c8c694598c25a17227299b). + - [Add API for changing avatars](https://codeberg.org/forgejo/forgejo/commit/254a82842addb1475611789107c3720e37394879). +- **User Interface:** + - [Show OpenID Connect and OAuth on the signup page](https://codeberg.org/forgejo/forgejo/commit/63b53af933d748f9b4e0f1273e3701b4c3d08ac3). + - [Show branches and tags that contain the commit being displayed](https://codeberg.org/forgejo/forgejo/commit/bd6ef718548767ff209048eb8443a067106908bf) + - [Add 'Show on a map' button to the location in the usr profile](https://codeberg.org/forgejo/forgejo/commit/d58c5425799335ea57f27461f99ddd1078e9b2de). + - [Render plaintext task list items for markdown files](https://codeberg.org/forgejo/forgejo/commit/eaea530d6bc84b23e6ff14ff8c2a74aa3b67ecd0). + - The administrators user details page [was modified](https://codeberg.org/forgejo/forgejo/commit/5b5bb8d3546e6504b689b01d3ac4897dda3aee3d). + - When mirroring a repository fails, [a `Retry` button allows to re-create it](https://codeberg.org/forgejo/forgejo/commit/865d2221c0f4b2a8623ff9299930c9bab0da2c78). + - Package cleanup [can be triggered from from administration web interface](https://codeberg.org/forgejo/forgejo/commit/0c6ae61229bce9d9ad3d359cee927464968a2dd1). + - In the page displaying the [list of branches, it is now possible to search them by name](https://codeberg.org/forgejo/forgejo/commit/47b878858ada27fc4c74eeadcc1e467d2da90e04). + - [Display all user types (including bots) org types on the administration web interface](https://codeberg.org/forgejo/forgejo/commit/198a9ca6350954a6d3327a408021fec2bc0fc805). + - [Improve opengraph previews](https://codeberg.org/forgejo/forgejo/commit/5743d7cb5bcd85c88ad7d128e0162893a074418b). + - [Render code blocks in the repository description](https://codeberg.org/forgejo/forgejo/commit/3d109861ddf95846905143b4cf39129bf253161e). + - [Add `member`, `collaborator`, `contributor`, and `first-time contributor` roles and tooltips](https://codeberg.org/forgejo/forgejo/commit/d2e4039def61d9cc9952be462216001125327270) next to the author. + - It is no longer possible to [change the run user in the installation page](https://codeberg.org/forgejo/forgejo/commit/d17a848fe275c3e8734a4dfcaf2eae8ca0dc361c). + - [Update emoji set](https://codeberg.org/forgejo/forgejo/commit/e882398c5acb99db555553acc2da89db73713710) to [Unicode 15](https://unicode.org/versions/Unicode15.0.0/). + - [Improve the image diff user interface](https://codeberg.org/forgejo/forgejo/commit/09faf43ef822ca4dbdfb2a2714ad43a782acf6e8). + - Allow [rebuilding the issue index from the cron task list in the admin panel](https://codeberg.org/forgejo/forgejo/commit/47fddaadc8b4c8d4d4359d6209b9fe06d6387a30). +- **Enhancements:** + - [Improve the privacy of the user profile settings](https://codeberg.org/forgejo/forgejo/commit/ff90c87c878b03e7beabac5f19396e0db2c25a1e). + - [Add the upload URL to the release API](https://codeberg.org/forgejo/forgejo/commit/a9ce570298d4541bc1b5598dc080d9e4541de17b). + - [Allow editing existing push mirrors from the settings page of a repository](https://codeberg.org/forgejo/forgejo/commit/ab388deb0e52c058a19dbd844bdd890f7cf84d51). + - [Add a link to the OpenID issuer URL in the WebFinger response](https://codeberg.org/forgejo/forgejo/commit/df55f9b189174767296e562389948e5250f1df73). + - [Support copy protected branches with template repositories](https://codeberg.org/forgejo/forgejo/commit/037c9895a7406b42f88991295382db18f98dbef9). + - [In the administration web interface, split the lfs size from repository size](https://codeberg.org/forgejo/forgejo/commit/4aba8a6a5ff96f0995ada7e183c7864f8f5bc05c). +- **Bug fixes:** + - [Allow empty Conan files](https://codeberg.org/forgejo/forgejo/commit/d513628db90415a27e887c3cf349309b3ad44d55). + - [Fix the incorrect route path in the user edit page. ](https://codeberg.org/forgejo/forgejo/commit/323135b97b219d7fb10557fb9d9156c6bef3ae62). + - [Add auth-required to config.json for Cargo sparse registry](https://codeberg.org/forgejo/forgejo/commit/a587d2526163153a4d992527fe6040d578beaa83). + - [Rewrite the DiffFileTreeItem and fix misalignment ](https://codeberg.org/forgejo/forgejo/commit/48c4a7e75cf2717f00c9691ca26688aa4db0a17a). + - [Do not "guess" the file encoding/BOM when using API to upload files](https://codeberg.org/forgejo/forgejo/commit/22eeede885327fca0328b7d5b153e7a6c4211ffa). +- **Security:** + - [Do not show the profile README when a repository is private](https://codeberg.org/forgejo/forgejo/commit/6a7a5ea32ab61a608b52029f778e8df76b04f489). + - A [security.txt files is provided by default](https://codeberg.org/forgejo/forgejo/pulls/1201/files) and other static files [can also be added](https://codeberg.org/forgejo/forgejo/commit/52fb9367734100847249d074e2bc17f2aa91053e). + +## 1.20.6-1 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.20/forgejo) included in the `Forgejo v1.20.6-1` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.20.6-0..v1.20.6-1 +``` + +This stable release contains a **security fix**. + +* Recommended Action + + We **strongly recommend** that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.20/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.20/user/semver/) + + The semantic version was updated to `5.0.8+0-gitea-1.20.6` + +* Security fix + + The project page [of private users](https://forgejo.org/2023-12-release-v1-21-2-1/) is no longer publicly visible. + +* Bug fix + + * [Consider executable files as a valid case when returning a downloadURL for them](https://codeberg.org/forgejo/forgejo/issues/1825). They are just regular files with the difference being the executable permission bit being set. + +* New doctor check and fix + + * Adds a [new doctor check: fix-push-mirrors-without-git-remote](https://codeberg.org/forgejo/forgejo/pulls/1853). The new check looks for push mirrors that do not have their remotes configured in git. If automatic fixing is enabled, it will remove these push mirrors from the database. + +## 1.20.6-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.20/forgejo) included in the `Forgejo v1.20.6-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.20.5-1..v1.20.6-0 +``` + +This stable release contains a **security fix**, as explained in the [v1.20.6-0 companion blog post](https://forgejo.org/2023-11-release-v1-20-6-0/). + +* Recommended Action + + We **strongly recommend** that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.20/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.20/user/semver/) + + The semantic version was updated to `5.0.7+0-gitea-1.20.6` + +* Breaking change + + Prior to this release, a token scoped to read or write permissions on issues was allowed to access both issues and pull requests, regardless of the restrictions imposed to the team in which they belong. In a team it is possible to grant finer grained permissions, for instance to allow a user to access issues but not pull requests. These restrictions are now enforced and API calls that previously succeeded on `/api/v1/repos/{org}/{repo}/issues` or other endpoints common to both issues and pull requests could return 404. Granting the user the necessary permissions in the team in which they belong will allow them to use that endpoint again. + +* Security fix + + Additional API and web [endpoints now fail](https://forgejo.org/2023-11-release-v1-20-6-0/) when given manually crafted identifiers. + +## 1.20.5-1 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.20/forgejo) included in the `Forgejo v1.20.5-1` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.20.5-0..v1.20.5-1 +``` + +This stable release contains **critical security fixes**, as explained in the [v1.20.5-1 companion blog post](https://forgejo.org/2023-11-release-v1-20-5-1/). + +* Recommended Action + + We **strongly recommend** that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.20/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.20/user/semver/) + + The semantic version was updated to `5.0.6+0-gitea-1.20.5` + +* Security fixes + + * API and web [endpoints now fail](https://forgejo.org/2023-11-release-v1-20-5-1/) when given manually crafted identifiers. + * When an extension is added to the URL of a user profile (e.g. `/myuser.rss`) it is now [verified to be visible](https://codeberg.org/forgejo/forgejo/commit/d7408d8b0b04afd2a3c8e23cc908e7bd3849f34d). + * `docker login` now fails with basic auth [when 2FA is enabled](https://codeberg.org/forgejo/forgejo/commit/44df78edd40076b349d50dc5fb02af417a44cfab). + +* Bug fixes + + The most prominent bug fixes are described below. Others can be found in the list of commits included in the release as described above. + + * Create the ActionTaskOutput [table for new Forgejo instances](https://codeberg.org/forgejo/forgejo/commit/c0ccd4c2d7ac586276ab65bd2dfbf4eba7e71cd6). + * [Restricted users only see repos in orgs which their team was assigned to](https://codeberg.org/forgejo/forgejo/commit/f302373eb4ea04f3b655d8f8bb27bc3ff3027276). + * Release assets are now [taken into account during a migration](https://codeberg.org/forgejo/forgejo/commit/1fd3cc32170ff9a36419083541bb2e1ad612df92) from GitLab, Forgejo or Gitea. + * When `webhook.PROXY_URL` is set, the `ALLOWED_HOST_LIST` setting is [now properly enforced](https://codeberg.org/forgejo/forgejo/commit/d6798ae0159e58b427e9ad894ca3e0ee272efdb2). + * It is now possible to access `///attachments/` [with an application token](https://codeberg.org/forgejo/forgejo/commit/f142ae18c093d4cb5ccc7eeec8beac0212e466a0) and the attachments API download URL is usable. + +## 1.20.5-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.20/forgejo) included in the `Forgejo v1.20.5-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.20.4-1..v1.20.5-0 +``` + +This stable release contains an **important security fix**, as explained in the [v1.20.5-0 companion blog post](https://forgejo.org/2023-10-release-v1-20-5-0/). + +* Recommended Action + + We **strongly recommend** that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.20/admin/upgrade/) to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.20/user/semver/) + + The semantic version was updated to `5.0.5+0-gitea-1.20.5` + +* Security fix + + * When a user logs into Forgejo, they can click the **Remember This Device** checkbox and their browser will store a **Long-term authentication** token provided by the server, in a cookie that will allow them to stay logged in for an extended period of time. The implementation was inherently insecure and was [reworked](https://codeberg.org/forgejo/forgejo/commit/51988ef52bc93b63184d28395d10bf3b76914ad0). Read more about this issue in the [v1.20.5-0 blog post](https://forgejo.org/2023-10-release-v1-20-5-0/). + +* Bug fixes + + The most prominent bug fixes are described below. Others can be found in the list of commits included in the release as described above. + + * [Fix the display of pull requests waiting for review](https://codeberg.org/forgejo/forgejo/commit/4b23f11864) on the `/pulls` page. It incorrectly included all reviews. + * [Fix a v1.20 regression preventing access to files with OAuth2 tokens](https://codeberg.org/forgejo/forgejo/commit/3e8c3b7c09) in private repositories. + * [Fix](https://codeberg.org/forgejo/forgejo/commit/101cfc1f82) a bug by which the `doctor` command [complains the `deleted_branch` table is missing](https://codeberg.org/forgejo/forgejo/issues/1522) although it should not. + * [Fix the release URL in webhooks](https://codeberg.org/forgejo/forgejo/commit/1b1f878204) so that `URL` points to the API URL and `HTMLURL` points to the web page. + * [Fix organization field being null in POST /orgs/{orgid}/teams](https://codeberg.org/forgejo/forgejo/commit/f8bf284794). + +## 1.20.4-1 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.20/forgejo) included in the `Forgejo v1.20.4-1` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.20.4-0..v1.20.4-1 +``` + +This stable release includes bug fixes. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.20/admin/upgrade/) to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.20/user/semver/) + + The semantic version was updated to `5.0.4+0-gitea-1.20.4` + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Fix the followers and following list that only showed the first page](https://codeberg.org/forgejo/forgejo/commit/c041114a20fcaaf0931da81dcb542a930e8f9c5f) + * [Fix issue templates preventing the creation of any new issues when blank issues are not authorized](https://codeberg.org/forgejo/forgejo/commit/64a418dfc778665f56cb20d678f3c10dbb62ddca) (regression introduced in v1.20.4-0) + +## 1.20.4-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.20/forgejo) included in the `Forgejo v1.20.4-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.20.3-0..v1.20.4-0 +``` + +This stable release includes bug fixes and two features. + +* Recommended Action + + We recommend that all Forgejo installations are [upgraded](https://forgejo.org/docs/v1.20/admin/upgrade/) to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.20/user/semver/) + + The semantic version was updated to `5.0.3+0-gitea-1.20.4` + +* Features + + * [Log slow SQL queries](https://codeberg.org/forgejo/forgejo/commit/fa25b9eec63c073e16f4595459880e4ee8797913) to help identify bottlenecks on large Forgejo instances + * [Add `branch_filter` to hooks API endpoints](https://codeberg.org/forgejo/forgejo/commit/19a49e763a013dec4c3fcf3e9e2be89c7009bb3b) + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Ignore the trailing slashes when comparing oauth2 redirect_uri](https://codeberg.org/forgejo/forgejo/commit/2f6d011503a35a1eede96f5a13b2a9868c06b3ae) + * [Fix the reopen logic for agit flow pull request](https://codeberg.org/forgejo/forgejo/commit/5abca17b644ded3c3ab8869db1d34f9bd678f18e) + * [Fix the missing display of user projects](https://codeberg.org/forgejo/forgejo/commit/ef46b01168e251fad92ed46102b5faad75a5bcb1) + * [Fix](https://codeberg.org/forgejo/forgejo/commit/08762875d7362ee207bbd320123cbb0ad4cf70d2) issue templates [that failed to save checkboxes](https://codeberg.org/forgejo/forgejo/pulls/1317) + * [Fix accessibility issues preventing focus and selection](https://codeberg.org/forgejo/forgejo/commit/66016b3fe3a9646e5d9c8b4c2d88b1da7a908ccf) + * [Fix being unable to use a repo that prohibits accepting PRs as a PR source](https://codeberg.org/forgejo/forgejo/commit/1d228e6ee93525bd630c4a915febd98d159f1824) + * [Forgejo doctor database fix](https://codeberg.org/forgejo/forgejo/commit/0b1175f21b403ff59c0c3f7a759de8d0fe13bee8) to repair a condition preventing the owner of an organization from creating a repository + * [Fix dashboard filters having no effect](https://codeberg.org/forgejo/forgejo/commit/a6c2201dd41706a000ca96bdcd3e89df96e342fd) + * [Also check the email blocklists when adding new emails to existing accounts](https://codeberg.org/forgejo/forgejo/commit/d5845521a842418ae8f6dfcad8368ba2a6035f54) + * [Sync tags when adopting repos](https://codeberg.org/forgejo/forgejo/commit/6b5ef0fad754a863eb7d91eefa8301dd9a5a84b5) + * [Fix an error when pushing a new branch and there is a requirement that all commits are signed](https://codeberg.org/forgejo/forgejo/commit/193e04c43b556e0a25c260149429945ba2164efa) + +## 1.20.3-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.20/forgejo) included in the `Forgejo v1.20.3-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.20.2-0..v1.20.3-0 +``` + +This stable release includes bug fixes and a safeguard against a +regression that may lead to data loss. The `[storage*]` sections in the +`app.ini` file may cause the files for some subsystems - Attachments, +LFS, Avatars, Repository avatars, Repository archives, Packages - to +be merged together or misplaced. The safeguard detects this situation +and Forgejo will not start to prevent data loss. If your instance is in +this situation, [follow the instructions in the companion blog post](https://forgejo.org/2023-08-release-v1-20-3-0/). + +* Recommended Action + + We recommend that all Forgejo installations are upgraded to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.20/user/semver/) + + The semantic version was updated to `5.0.2+0-gitea-1.20.3` + +* Breaking changes + + * [Fix some bugs in how the storage sections are interpreted](https://codeberg.org/forgejo/forgejo/commit/815682c88) in the `app.ini` file. Read more about this issue in the [v1.20.3-0 blog post](https://forgejo.org/2023-08-release-v1-20-3-0/) + * [Add sanity checks](https://codeberg.org/forgejo/forgejo/commit/ee0e4848e) to detect an `app.ini` configuration that [needs manual fixing to preserve storage](https://forgejo.org/2023-08-release-v1-20-3-0/) + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Fix links to pull request reviews sent via mail](https://codeberg.org/forgejo/forgejo/commit/88e179d5ef8ee41f71d068195685ff098b38ca31). The pull request link was correct but it did not go the the review and stayed at the beginning of the page + * [Recognize OGG as an audio format](https://codeberg.org/forgejo/forgejo/commit/622ec5c79f299c32ac2667a1aa7b4bf5d7c2d6cf) + * [Consistently show the last time a cron job was run in the admin panel](https://codeberg.org/forgejo/forgejo/commit/5f769ef20) + * [Fix NuGet registry v2 & v3 API search endpoints](https://codeberg.org/forgejo/forgejo/commit/471138829b0c24fe8c621dbb866ae8bb45ebc674) + * [Allow html code to be parsed in markdown files](https://codeberg.org/forgejo/forgejo/commit/e7d0475e1) + * [Fix incorrect color of the selected assignees when creating an issue](https://codeberg.org/forgejo/forgejo/commit/c7d7490b2) + * [Add missing MinIO region on client initialization](https://codeberg.org/forgejo/forgejo/commit/927cbe62b) + * [Add pull request review request webhook event](https://codeberg.org/forgejo/forgejo/commit/99c8dab9d) + * [Fix bad url in the wiki due to incorrect unescaping](https://codeberg.org/forgejo/forgejo/commit/e0f6956a4) + * [Fix the sort menu that was broken when displaying a custom profile from the `.profile` repository](https://codeberg.org/forgejo/forgejo/commit/fa92a6a4c) + * [Workaround](https://codeberg.org/forgejo/forgejo/commit/3d211dea2) MariaDB [performance issue on large Forgejo instances](https://codeberg.org/forgejo/forgejo/issues/1161) + * [Display human-readable text](https://codeberg.org/forgejo/forgejo/commit/2729bb3c6) instead of [numerical file modes](https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation) + * [The CLI exit code now is different from zero when an error occurs](https://codeberg.org/forgejo/forgejo/commit/089af9ab1) + * [Fix error when a Debian package has a double newline character at the end of the control block](https://codeberg.org/forgejo/forgejo/commit/dd7180846) + * [Fix a condition that would cause git related tasks to hang for longer than necessary in the queues and use too many resources as a result](https://codeberg.org/forgejo/forgejo/commit/36f8fbe1b) + * [Fix the topic validation rule and support dots](https://codeberg.org/forgejo/forgejo/commit/a578b75d7) + * [Fix pull request check list when there are more than 30](https://codeberg.org/forgejo/forgejo/commit/e226b9646) + * [Fix attachment clipboard copy on insecure origin](https://codeberg.org/forgejo/forgejo/commit/12ac84c26) + * [Fix the profile README rendering](https://codeberg.org/forgejo/forgejo/commit/84c3b60a4) that [was inconsistent with other markdown files renderings](https://codeberg.org/forgejo/forgejo/issues/833) + * [Fix API leaking the user email when the caller is not authentified](https://codeberg.org/forgejo/forgejo/commit/d89003cc1) + +## 1.20.2-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.20/forgejo) included in the `Forgejo v1.20.2-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.20.1-0..v1.20.2-0 +``` + +This stable release includes bug fixes and displays [warnings in the administration panel](https://codeberg.org/forgejo/forgejo/commit/28f4029e40) when deprecated entries are found in `app.ini`. + +* Recommended Action + + We recommend that all Forgejo installations are upgraded to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.20/user/semver/) + + The semantic version was updated to `5.0.1+0-gitea-1.20.2` + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Add missing assets to the Forgejo sources tarball](https://codeberg.org/forgejo/forgejo/commit/e14d239005) + * [Fix user type selection error when creating a user](https://codeberg.org/forgejo/forgejo/commit/268569b462) and selecting `public` or `private`. + * [Fix access check for org-level project](https://codeberg.org/forgejo/forgejo/commit/5afb0294f4) + * [Warn instead of reporting an error when a webhook cannot be found](https://codeberg.org/forgejo/forgejo/commit/4c3dcdf815) + * [Set MAX_WORKERS](https://codeberg.org/forgejo/forgejo/commit/5a4b19435d) to a value lower than 10 if the number of available CPUs is low to avoid overloading the host. + * [Fix bug when pushing to a pull request which enabled dismiss approval automatically](https://codeberg.org/forgejo/forgejo/commit/4640c53386) + * [Fix handling of plenty Nuget package versions](https://codeberg.org/forgejo/forgejo/commit/7bb8526736) + * [Update email-setup.en-us.md](https://codeberg.org/forgejo/forgejo/commit/31f2ce3998) + * [Fix bugs](https://codeberg.org/forgejo/forgejo/commit/9654d71bb2) in [LFS meta garbage collection](https://codeberg.org/forgejo/forgejo/issues/1113) + * [Fix UI regression of asciinema player](https://codeberg.org/forgejo/forgejo/commit/f3c26de1f4) + * [Fix LFS object list style](https://codeberg.org/forgejo/forgejo/commit/f20cfc291c) + * [Fix CLI allowing creation of multiple user access tokens with the same name](https://codeberg.org/forgejo/forgejo/commit/b699e1d340) + * [Fix](https://codeberg.org/forgejo/forgejo/commit/f4a8f10f64) router logger [preventing separating the logs in different files](https://codeberg.org/forgejo/forgejo/issues/1123). + * [added ssh mirror workaround description](https://codeberg.org/forgejo/forgejo/commit/d9d38b6244) + * [Fix wrong workflow status when rerun a job in an already finished workflow](https://codeberg.org/forgejo/forgejo/commit/e2101ae572) + * [Fix escape problems in the branch selector](https://codeberg.org/forgejo/forgejo/commit/9fae415030) + * [Fix handling of Debian files with trailing slash](https://codeberg.org/forgejo/forgejo/commit/4be3270e87) + * [fix Missing 404 swagger response docs for /admin/users/{username}](https://codeberg.org/forgejo/forgejo/commit/1cd4d4b00e) + * [Use stderr as fallback if the log file can't be opened](https://codeberg.org/forgejo/forgejo/commit/942d02f8e9) + +## 1.20.1-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.20/forgejo) included in the `Forgejo v1.20.1-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges origin/v1.19/forgejo..origin/v1.20/forgejo +``` + +- **[Forgejo Semantic Version](https://forgejo.org/docs/v1.20/user/semver/):** + The semantic version was updated to `5.0.0+0-gitea-1.20.1` because it contains breaking changes. +- **Breaking:** + - [Scoped access tokens](https://codeberg.org/forgejo/forgejo/commit/18de83b2a3fc120922096b7348d6375094ae1532) or (Personal Access Tokens), were refactored and although existing tokens are still valid, they may have a different scope than before. To ensure that no tokens have a larger scope than expected they must be removed and recreated. + - If your `app.ini` has one of the the following `[indexer].ISSUE_INDEXER_QUEUE_TYPE`, `[indexer].ISSUE_INDEXER_QUEUE_BATCH_NUMBER`, `[indexer].`, `[indexer].ISSUE_INDEXER_QUEUE_DIR`, `[indexer].ISSUE_INDEXER_QUEUE_CONN_STR`, `[indexer].UPDATE_BUFFER_LEN`, `[mailer].SEND_BUFFER_LEN`, `[repository].PULL_REQUEST_QUEUE_LENGTH` or `[repository].MIRROR_QUEUE_LENGTH`, Forgejo will abort immediately. Unless you know exactly what you're doing, you must comment them out so the default values are used. + - The `-p` option of `environment-to-ini` is [no longer supported](https://codeberg.org/forgejo/forgejo/commit/fa0b5b14c2faa6a5f76bb2e7bc9241a5e4354189) + - The ".png" suffix for [user and organizations is now reserved](https://codeberg.org/forgejo/forgejo/commit/2b91841cd3e1213ff3e4ed4209d6a4be89c2fa79) + - The section `[git.reflog]` is [now obsolete and its keys have been moved](https://codeberg.org/forgejo/forgejo/commit/2f149c5c9db97f20fbbc65e32d1f3133048b11a2) to the following replacements: + * `[git.reflog].ENABLED` → `[git.config].core.logAllRefUpdates` + * `[git.reflog].EXPIRATION` → `[git.config].gc.reflogExpire` + - The [logger](https://codeberg.org/forgejo/forgejo/commit/4647660776436f0a83129b4ceb8426b1fb0599bb) used to display Forgejo's was refactored and has new settings, different from the previous one found at `log..` in `app.ini`. Check the [documentation](https://forgejo.org/docs/v1.20/admin/config-cheat-sheet/#log-log) and `app.example.ini` for more information. The SMTP logger was removed. + - Forgejo will refuse to start if [the refactored path & config system](https://codeberg.org/forgejo/forgejo/commit/061b68e99) does not pass sanity checks (e.g. WORK_PATH must be absolute). + - Manually set [WORK_PATH](https://forgejo.org/docs/v1.20/admin/config-cheat-sheet/#overall-default) in `app.ini`. + If the `app.ini` file is writable by the user under which the Forgejo server runs and `WORK_PATH` is not set, + the server will add it. Otherwise it will log an error starting with `Unable to update WORK_PATH`. + One of the consequences of not setting `WORK_PATH` in `app.ini` is that pushing to a repository via ssh is + [likely to fail as explained in the corresponding bug report](https://codeberg.org/forgejo/forgejo/issues/1118). + Read the technical details in the [commit that implements the WORK_PATH change](https://codeberg.org/forgejo/forgejo/commit/061b68e99). + - The user profile can be customized with [a Markdown file](https://codeberg.org/forgejo/forgejo/commit/c090f87a8db5b51e0aa9c7278b38ddc862c048ac). + The profile page of a user is rendered using the `README.md` file of the `.profile` repository, if it exists. It is a + breaking change because **it will display the .profile/README.md of a pre-existing repository, private or not**. + - The [API endpoint pagination](https://codeberg.org/forgejo/forgejo/commit/0a3c4d4a595cc7e12462dde393ed64186260f26b) for team members was fixed: it now starts at 1 instead of 0, just like all other paginated API endpoints. + - The `SSH_KEYGEN_PATH` variable in `app.ini` now defaults to using the [Go SSH key parsing instead of the `ssh-keygen` binary](https://codeberg.org/forgejo/forgejo/commit/7a8a4f54321f208ebbb0f708a5f0e49c4cd4cc04). When `START_SSH_SERVER` is true, the decision to use the Go SSH key parsing or an external binary will now depend on the value of `SSH_KEYGEN_PATH` instead of always using the Go SSH key parsing. + - The storage settings were [refactored](https://codeberg.org/forgejo/forgejo/commit/d6dd6d641b593c54fe1a1041c153111ce81dbc20). Read more about [storage settings](https://forgejo.org/docs/v1.20/admin/storage/). + - [The [repository.editor] PREVIEWABLE_FILE_MODES setting was removed](https://codeberg.org/forgejo/forgejo/commit/84daddc2fa74393cdc13371b0cc44f0444cfdae0). This setting served no practical purpose and was not working correctly. Instead a preview tab is always shown in the file editor when supported. + - In addition to the already deprecated options inside [queue], many options have been dropped as well. Those are WRAP_IF_NECESSARY, MAX_ATTEMPTS, TIMEOUT, WORKERS, BLOCK_TIMEOUT, BOOST_TIMEOUT, BOOST_WORKERS. You can remove them from your app.ini now. Additionally, some default values have changed in this section. + - The default CSS and templates included in Forgejo were heavily refactored and a large number of variables renamed. These changes are not documented and there is a very high chance that a template extracted and modified for a particular Forgejo instance will no longer work as it did. Browsing through the git history of the template in the sources is the best way to figure out how and why it was modified. +- **Moderation:** + Blocking another user is desirable if they are acting maliciously or are spamming your repository. When you block a user, Forgejo does not explicitly notify them, but they may learn through an interaction with you that is blocked. [Read more about blocking users](https://forgejo.org/docs/v1.20/user/blocking-user/). +- **Package:** + New registries are available for [SWIFT](https://forgejo.org/docs/v1.20/user/packages/swift), [debian](https://forgejo.org/docs/v1.20/user/packages/debian), [RPM](https://forgejo.org/docs/v1.20/user/packages/rpm), [alpine](https://forgejo.org/docs/v1.20/user/packages/alpine), [Go](https://forgejo.org/docs/v1.20/user/packages/go) and [CRAN](https://forgejo.org/docs/v1.20/user/packages/cran). +- **Accessibility:** + numerous improvements for [issue comments](https://codeberg.org/forgejo/forgejo/commit/6c354546547cd3a9595a7db119a6480d9cd506a7), [the menu on the navbar](https://codeberg.org/forgejo/forgejo/commit/a78e0b7dade16bc6509b943fe86e74962f1b95b6), [scoped labels](https://codeberg.org/forgejo/forgejo/commit/e8935606f5f1fff3c59222ebca6d4615ab06fb0b), [checkboxes and dropdowns](https://codeberg.org/forgejo/forgejo/commit/d4f35bd681af0632da988e15306f330e020422b2), [RTL rendering support to Markdown](https://codeberg.org/forgejo/forgejo/commit/32d9c47ec7706d8f06e09b42e09a28d7a0e3c526), [file (re-)views](https://codeberg.org/forgejo/forgejo/commit/e95b42e187cde9ac4bd541cd714bdb4f5c1fd8bc), [interactive tooltips](https://codeberg.org/forgejo/forgejo/commit/87f0f7e670c6c0e6aeab8c4458bfdb9d954eacec), [using a button element](https://codeberg.org/forgejo/forgejo/commit/81fe5d61851c0e586af7d32c29171ceff9a571bb), [repository list](https://codeberg.org/forgejo/forgejo/commit/e82f1b15c7120ad13fd3b67cf7e2c6cb9915c22d) and more. +- **Time:** + The display and localization of time was improved for [tooltips](https://codeberg.org/forgejo/forgejo/commit/b7b58348317cbe0145dc453d45c886b8e2764b4c), [milestones](https://codeberg.org/forgejo/forgejo/commit/97176754beb4de23fa0f68df715c4737919c93b0), [due date and translations that contain dates](https://codeberg.org/forgejo/forgejo/commit/70bb4984cdad9a15d676708bd345b590aa42d72a), [commit graphs](https://codeberg.org/forgejo/forgejo/commit/5bc9f7fcf9aece92c3fa2a0ea56e5585261a7f28), [runners](https://codeberg.org/forgejo/forgejo/commit/62ca5825f73ad5a25ffeb6c3ef66f0eaf5d30cdf), [webhooks](https://codeberg.org/forgejo/forgejo/commit/dbb37367854d108ebfffcac27837c0afac199a8e), [tests](https://codeberg.org/forgejo/forgejo/commit/3d266dd0f3dbae7e417c0e790e266aebc0078814) and more. Previously each rendered timestamp would be static, now the real time since an event happened is show. If a comment was added 2 minutes before the page rendered it would show as "2 minutes ago" on the initial render and if another 8 minutes have passed, without a page refresh you'd see "10 minutes ago". +- **[Wiki](https://forgejo.org/docs/v1.20/user/wiki/)** + - Improve the [display of the table of content](https://codeberg.org/forgejo/forgejo/commit/1ab16e48cccc086e7f97fb3ae8a293fe47a3a452) + - Fixed a bug [preventing team users who have wiki write permission from deleting a page](https://codeberg.org/forgejo/forgejo/commit/284b41f45244bbe46fc8feee15bbfdf66d150e79) + - [Shows the External Link icon and URL in the header](https://codeberg.org/forgejo/forgejo/commit/d347208114966166ffa9655adc5b202676546c31) to indicate that the user will be sent to an external side to help prevent fishing + - Allow dash in [titles](https://codeberg.org/forgejo/forgejo/commit/b39a5bbbd610ba30651218658caaec1c86d6bca1) +- **[Actions](https://forgejo.org/docs/v1.20/user/actions/)** + - The internal CI graduated from **experimental** to **[alpha](https://en.wikipedia.org/wiki/Software_release_life_cycle#Alpha)**. It now has with a [user](https://forgejo.org/docs/v1.20/user/actions) documentation that includes examples and an extensive [administrator](https://forgejo.org/docs/v1.20/admin/actions) guide to set it up. + - [Forgejo Actions](https://forgejo.org/docs/v1.20/user/actions/) workflows are [now available](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/.forgejo/workflows) to run tests and publish releases for `Forgejo` itself. + - The Woodpecker CI configuration for PR verification and building releases for Forgejo v1.18 and v1.19 is no longer maintained as part of Forgejo itself and was moved to its [own repository](https://codeberg.org/forgejo-contrib/forgejo-ci-woodpecker). +- **[Templates](https://forgejo.org/docs/v1.20/user/issue-pull-request-templates/)** + - [Configuration for the issue templates](https://codeberg.org/forgejo/forgejo/commit/f384b13f1cd44be3a87df5553a0099390dacd010). [Read more about issue config](https://forgejo.org/docs/v1.20/user/issue-pull-request-templates/#syntax-for-issue-config) in the documentation. + - [Add validations.required check to the dropdown field](https://codeberg.org/forgejo/forgejo/commit/5c0745c0349f0709d0fc36fd8a97dcab86bce28a) + - [Issue template support markdown edition](https://codeberg.org/forgejo/forgejo/commit/c4303efc23ea19f16ee826809f43888ee4583ebb) + - [Use a general Eval function for expressions in templates](https://codeberg.org/forgejo/forgejo/commit/5b89670a318e52e271f65d96bfe1116d85d20988) + - [reload-templates CLI](https://codeberg.org/forgejo/forgejo/commit/3588edbb08f93aaa56defa82dffdbb202cd9aa4a) +- **User Interface and User eXperience** + - The web editor used when creating issues, adding comments, etc. [changed](https://codeberg.org/forgejo/forgejo/commit/5cc0801de90d16b4d528e62de11c9b525be5d122) from [EasyMDE](https://github.com/Ionaru/easy-markdown-editor) which was no longer actively maintained to [GitHub markdown](https://github.com/github/markdown-toolbar-element). To help with the transition it is still possible to switch back to using EasyMDE using the double arrow button in the menubar. + - [Improve wiki sidebar and TOC](https://codeberg.org/forgejo/forgejo/commit/51789ba12) + - [Show outdated comments in the files changed tab of a pull request review](https://codeberg.org/forgejo/forgejo/commit/30a783879) + - [Redirect to package after version deletion](https://codeberg.org/forgejo/forgejo/commit/c27a3af72) + - Use a [separate admin page to show stats](https://codeberg.org/forgejo/forgejo/commit/520eb57d7642a5fca3df319e5b5d1c7c9018087c) + - [Improve avatar compression and resizing](https://codeberg.org/forgejo/forgejo/commit/82224c54e0488738dbd3b7eccf56ab08b6790627) + - [Add button to compare force pushed commits in pull requests](https://codeberg.org/forgejo/forgejo/commit/545495dcb0a4cb9d820132dde4f1127f7fe91aa4) + - [When creating a new file in a repository via the web user interface allow for a path to be pasted](https://codeberg.org/forgejo/forgejo/commit/7f9d58fab8a3c4fd1a8f18d58e36fbfab7b30f33) + - [Allows "video" HTML tag to be used in MarkDown, with the src, autoplay, and controls attributes](https://codeberg.org/forgejo/forgejo/commit/de6c718b46ebd3b7f6362c766eed328044d95ec7) + - [Add "Reviewed by you" filter for pull requests](https://codeberg.org/forgejo/forgejo/commit/10cdcb9ea8077098921d72720f9f36fcfd950452) + - [Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment](https://codeberg.org/forgejo/forgejo/commit/188c8c12c290e131fb342e3203634828652b0af5) + - If an instance chooses to disable new pull or push mirrors or mirrors entirely, an appropriate message will [now be shown to the user in the Repository Settings](https://codeberg.org/forgejo/forgejo/commit/35ce7ca25b5756441949312d79aa6382f98ce8d6) + - [Change `Close` to either `Close issue` or `Close pull request`](https://codeberg.org/forgejo/forgejo/commit/39d3711f3036db42d7ddf73dbdb125be611bcbba) + - [Make Issue/PR/projects more compact](https://codeberg.org/forgejo/forgejo/commit/4a722c9a45659e7732258397bbb3dd1039ea1952) + - [Improve RSS user interface](https://codeberg.org/forgejo/forgejo/commit/59d060622d375c4123ea88e2fa6c4f34d4fea4d3) + - [Add details summary for vertical menus in settings to allow toggling](https://codeberg.org/forgejo/forgejo/commit/58536093b3112841bc69edb542189893b57e7a47) + - [Show visibility status of email in own profile](https://codeberg.org/forgejo/forgejo/commit/5e1bd8af5f16f9db88cfeb5b80bdf731435cacfb) + - [Improve the protected branch setting page](https://codeberg.org/forgejo/forgejo/commit/72e956b79a3b2e055bb5d4d5e20e88eaa2eeec96) + - [Improve the display of the pull request branch delete button](https://codeberg.org/forgejo/forgejo/commit/774d1a0fbdadd1136b6af895f8d449b0c8db54cb) + - [Fix the color for repository transfer related buttons when having no permission to act](https://codeberg.org/forgejo/forgejo/commit/7abe958f5b507efa676fb3b2e27d30517f6d1908) + - [Add a progressbar to Milestone Page](https://codeberg.org/forgejo/forgejo/commit/7d192cb674bc475b123c84b205aca821247c5dd1) + - [Nicer display when the list of notifications is empty](https://codeberg.org/forgejo/forgejo/commit/8251b317f7b7a2b5f626a02fa3bb540a1495e81d) + - [Rename board to column in projects](https://codeberg.org/forgejo/forgejo/commit/843f81113ebe71fd725210c5a382268333865cc7) + - [Improve header bar on issue, pull requests and milestone](https://codeberg.org/forgejo/forgejo/commit/8f4dafcd4e6b0b5d307c3e060ffe908c2a96f047) + - [Add organization visibility label when displayed on the dashboard](https://codeberg.org/forgejo/forgejo/commit/97b70a0cd40e8f73cdf6ba4397087b45061de3d8) + - [Unification of registration fields order](https://codeberg.org/forgejo/forgejo/commit/b9fad73e9fcf40e81cde3304198105af6c668421) + - [Append `(comment)` when a link points at a comment rather than the whole issue](https://codeberg.org/forgejo/forgejo/commit/ca905b82df7f1d2a823d8df4448d485e5902876d) + - [Add visibility (private, limited) in the dashboard navbar](https://codeberg.org/forgejo/forgejo/commit/d949d8e074407a96dbcfa98a71ccd80527b5ad78) + - [Show all activities in the dashboard, not just the most recent ones](https://codeberg.org/forgejo/forgejo/commit/f4920c9c7f5947d3b6476610f39bc3492ab4ef3b) + - [Do not display the stars in the repository list of the dashboard](https://codeberg.org/forgejo/forgejo/commit/06c067bb0f9eeb8873ddc298819b30fc5913943f) + - [Improve the display of tags to include the tag message](https://codeberg.org/forgejo/forgejo/commit/b78c955958301dde72d8caf189531f6e53c496b4) + - [Hide the target selector if a tag exists when creating a new release](https://codeberg.org/forgejo/forgejo/commit/3de9e63fd04d61e08fcbdec035c9f138347d9f37) + - [Show the calculated commit status state of the latest commit on the default branch for each repository in the dashboard repository list](https://codeberg.org/forgejo/forgejo/commit/4810fe55e3e73edb962052df46bef125eb1817b3) + - [Sort users and orgs on the explore page by recency](https://codeberg.org/forgejo/forgejo/commit/4daf40505a5f89747982ddd2f1df2a4001720846) + - [Show the number of repositories in the user or organization profile](https://codeberg.org/forgejo/forgejo/commit/52b17bfa07fea29441cd961da4edaf1ea97fe348) + - [Review management (requesting again and discard) now happens at the top of the pull request](https://codeberg.org/forgejo/forgejo/commit/a70d853d064a97f0be1d3702a9c3912494b546ec) + - [Add markdown preview when submitting a review](https://codeberg.org/forgejo/forgejo/commit/b5c26fa825e08122843ad6d27191d399a9af1c37) + - [Support no label/assignee filter and batch clearing labels/assignees](https://codeberg.org/forgejo/forgejo/commit/b807d2f6205bf1ba60d3a543e8e1a16f7be956df) + - [Display when a repo was archived](https://codeberg.org/forgejo/forgejo/commit/c41bc4f1279c9e1e6e11d7b5fcfe7ef089fc7577) + - [Improve squash merge commit author and co-author with private emails](https://codeberg.org/forgejo/forgejo/commit/d647e74502fdf734c89b3e6592a9ad88c3005971) + - [Allow adding new files to an empty repo](https://codeberg.org/forgejo/forgejo/commit/e422342eebc18034ef586ec58f1e2fff0340091d) + - [Move `Rename branch` from repo settings page to the page of branches list](https://codeberg.org/forgejo/forgejo/commit/e8173c2c33f1dd5b0a2c044255434d414cab62d2) + - [Add "Updated" column for admin repositories list](https://codeberg.org/forgejo/forgejo/commit/94d6b5b09d49b2622c2164a03cfae45dced96c74) + - [Hide the merge box of a pull request if it is merged and the branch was deleted](https://codeberg.org/forgejo/forgejo/commit/e9b39250b285f1b9cbf9739f33c06fc57401f314) + - [The repository migration can be canceled](https://codeberg.org/forgejo/forgejo/commit/f6e029e6c7849d4361abf7f1d749b5d528364ac4) + - [Add button on the diff header to copy the file name](https://codeberg.org/forgejo/forgejo/commit/c5ede35124c8d5280219c24049bb0ad7da9f02ed) + - [Add --quiet option to the dump CLI](https://codeberg.org/forgejo/forgejo/commit/cb1536471bcef4d78a3fe5cbd738b9f60fabbcc2) + - [Support searching for an issue with its number in the the list of issues](https://codeberg.org/forgejo/forgejo/commit/1144b1d129de530b2c07dfdfaf55de383cd82212) + - [Improve the list of notifications](https://codeberg.org/forgejo/forgejo/commit/f7ede92f82f7f3ec7bb31a1249f9524e5b728f34) + - [When editing a file in the web UI, allow for a preview whenever possible](https://codeberg.org/forgejo/forgejo/commit/ac64c8297444ade63a2a364c4afb7e6c1de5a75f) + - [Make release download URLs human readable](https://codeberg.org/forgejo/forgejo/commit/42919ccb7cd32ab67d0878baf2bac6cd007899a8) + - [Add a tooltip to `Publish Review` explaining why they are disabled](https://codeberg.org/forgejo/forgejo/commit/a8c30a45fa49a3a551b1dca882960008c254bb3d) + - [Show the file tree view by default when browsing the changes in a pull request](https://codeberg.org/forgejo/forgejo/commit/72eedfb91584720da774909d3f078b7d515c9fdd) + - [Allow both fullname search in the author dropdown search of the issue list when `DEFAULT_SHOW_FULL_NAME` is true](https://codeberg.org/forgejo/forgejo/commit/661e78bed5c0879c32c53eb60f3d6898b93e1f08) +- **Performance** + - [Improve performances when listing issues](https://codeberg.org/forgejo/forgejo/commit/9bbb4d8d6) + - [Speedup loading the list of authors in the dropdown of the list of issues](https://codeberg.org/forgejo/forgejo/commit/6eb678374b583079a0a08b7ed0c9ca220c0c0434) + - [Use minio/sha256-simd for accelerated SHA256](https://codeberg.org/forgejo/forgejo/commit/1319ba6742a8562453646763adad22379674bab5) + - [Speed up HasUserStopwatch & GetActiveStopwatch](https://codeberg.org/forgejo/forgejo/commit/ef4fc302468cc8a9fd8f65c4ebdc6f55138450d1) + - [Do not create commit graph for temporary repos](https://codeberg.org/forgejo/forgejo/commit/0268ee5c37b8ad733678f02bc15ec8642da62c10) + - [Faster git.GetDivergingCommits](https://codeberg.org/forgejo/forgejo/commit/75ea0d5dba5dbf2f84cef2d12460fdd566d43e62) + - [Order pull request conflict checking by recently updated, for each push](https://codeberg.org/forgejo/forgejo/commit/df48af22296ccce8e9bd18e5d35c9a3cdf5acb0f) + - [MySQL integration tests](https://codeberg.org/forgejo/forgejo/commit/49f68518c2a2bd36ca0106045bd84de01dec4b61) run twice faster low end machines and use an order of magnitude less disk I/O +- **Authentication** + - [Add ntlm authentication support for mail](https://codeberg.org/forgejo/forgejo/commit/8be6da3e2fd0b685aeb6b9e7fd9dee5a4571163a) + - [LDAP filters include both username and email address](https://codeberg.org/forgejo/forgejo/commit/b8c19e7a11525da4174b6f80f87ff3e844d03d8a) + - [Allow for PKCE flow without client secret](https://codeberg.org/forgejo/forgejo/commit/7d855efb1fe6b97c5d87492f67ed6aefd31b2474) + - [Add the ability to set multiple redirect URIs in the OAuth application UI](https://codeberg.org/forgejo/forgejo/commit/ca35dec18b3d3d7dd5cde4c69a10ae830961faf7) +- **Refactor:** + Many essential sub-systems were refactored: the [queue system](https://codeberg.org/forgejo/forgejo/commit/6f9c278559789066aa831c1df25b0d866103d02d) that handles background tasks such as checking pull requests, [pull mirror](https://codeberg.org/forgejo/forgejo/commit/99283415bcbaa8acfe4d249ce3040de2f3a8b006), [git internal API](https://codeberg.org/forgejo/forgejo/commit/f4538791f5fc82b173608fcf9c30e36ec01dc9d3), [routes](https://codeberg.org/forgejo/forgejo/commit/92fd3fc4fd369b6a8c0a022a32a80dec2340223a) and [web routes](https://codeberg.org/forgejo/forgejo/commit/b9a97ccd0ea1ee44db85b0fbb80b75255af7c742), [merge & update logic](https://codeberg.org/forgejo/forgejo/commit/8598356df1eb21b6e33ecb9f9268ba36c5488e7c) and [git command calls](https://codeberg.org/forgejo/forgejo/commit/542cec98f8c07e0f046a35f1d516807416536e74), [listing commits](https://codeberg.org/forgejo/forgejo/commit/ec261b63e14f84da3e2d9a6e27c8b831a7750677), [cookie](https://codeberg.org/forgejo/forgejo/commit/5b9557aef59b190c55de9ea218bf51152bc04786), [issue stats](https://codeberg.org/forgejo/forgejo/commit/38cf43d0606c13c38f459659f38e26cf31dceccb), [renaming users and organizations](https://codeberg.org/forgejo/forgejo/commit/c59a057297c782f44a81a3e630b5094a58099edb), [app.ini handling](https://codeberg.org/forgejo/forgejo/commit/de4a21fcb4476772c69c36d086549e89ed4dcf6c), [diffFileInfo / DiffTreeStore](https://codeberg.org/forgejo/forgejo/commit/ee99cf6313ba565523b3c43f61ffda4b71e2c39b).... In theory these changes are transparent to the Forgejo user and admin but the risk of subtle regressions is real: do not hesitate to [reach out](https://codeberg.org/forgejo/forgejo/issues) if you suspect anything. +- **RSS** + - [Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS](https://codeberg.org/forgejo/forgejo/commit/88033438aa8214569913899a17b19b57bd609d97) + - [Add RSS Feeds for branches and files](https://codeberg.org/forgejo/forgejo/commit/56d4893b2a996da6388801c9c8ff16b9b588ad55) +- **API** + - [Add admin API for email](https://codeberg.org/forgejo/forgejo/commit/d56bb7420184c0c2f451f4bcaa96c9b3b00c393d) + - [Add admin API to rename a user](https://codeberg.org/forgejo/forgejo/commit/03591f0f95823a0b1dcca969d2a3ed505c7e6d73) + - [Add login name and source id to admin user searching API](https://codeberg.org/forgejo/forgejo/commit/6f9cc617fcc42477dec5ccab83d06f0a96544403) + - [Add missing units to create and edit repo API](https://codeberg.org/forgejo/forgejo/commit/574d8fe6d6675c8aa05e2b75fdbc01c009efd8be) + - [Add API to manage issue dependencies](https://codeberg.org/forgejo/forgejo/commit/3cab9c6b0c050bfcb9f2f067e7dc1b0242875254) + - [Add API for activity feeds](https://codeberg.org/forgejo/forgejo/commit/6b0df6d8da76d77a9b5c42dcfa78dbfe197fd56d) + - [Add API for license templates](https://codeberg.org/forgejo/forgejo/commit/fb37eefa282543fd8ce63c361cd4cf0dfac9943c) + - [Add API for gitignore templates](https://codeberg.org/forgejo/forgejo/commit/36a5d4c2f3b5670e5e921034cd5d25817534a6d4) + - [Add API to upuload a file to an empty repository](https://codeberg.org/forgejo/forgejo/commit/cf465b472166ccf6d3e001e3043e4bf43e16e6b3) + - [Allow for --not when listing the commits of a repo](https://codeberg.org/forgejo/forgejo/commit/f766b002938b5c81e343c81fda3c0669fa09809f) + - [Add `files` and `verification` parameters to improve performances when listing the commits of a a repo](https://codeberg.org/forgejo/forgejo/commit/1dd83dbb917d55bd253001646d6743f247a4d98b) + - [Allow for listing a single commit in a repository](https://codeberg.org/forgejo/forgejo/commit/5930ab5fdf7a970fcca3cd50b44cf1cacb615a54) + - [Create a branch directly from commit on the create branch API](https://codeberg.org/forgejo/forgejo/commit/cd9a13ebb47d32f46b38439a524e3b2e0c619490) + - [Add API for Label templates](https://codeberg.org/forgejo/forgejo/commit/25dc1556cd70b567a4920beb002a0addfbfd6ef2) + - [Add API for changing/creating/deleting multiple files](https://codeberg.org/forgejo/forgejo/commit/275d4b7e3f4595206e5c4b1657d4f6d6969d9ce2) +- **Miscellaneous Features** + - [Any URL scheme may be used for links](https://codeberg.org/forgejo/forgejo/commit/f5ce2ed292a90041abd749a8db26671645648a43). Previously, non-standard URLs (like matrix:) were not rendered unless explicitly listed in `markdown.CUSTOM_URL_SCHEMES`. Now the default if `markdown.CUSTOM_URL_SCHEMES` is not set, all schemes are allowed and markdown links ([label](URL)) render as links. + - [Always use "utf8mb4" for MySQL](https://codeberg.org/forgejo/forgejo/commit/cb3173a1e) + - [Add Adopt repository event and handler](https://codeberg.org/forgejo/forgejo/commit/9d69a4758) + - Add [meilisearch](https://www.meilisearch.com/) support to [index the content of repositories](https://codeberg.org/forgejo/forgejo/commit/92c160d8e716cb3d05215a97cf521e843596f562). + - [Add support](https://codeberg.org/forgejo/forgejo/commit/985f76dc4b0692c4d6c6f37e82500ef859557c16) for [redis v7](https://raw.githubusercontent.com/redis/redis/7.0/00-RELEASENOTES) + - Allow [webp](https://en.wikipedia.org/wiki/WebP) images [as avatars](https://codeberg.org/forgejo/forgejo/commit/65fe0fb22cfb264f0b756065d0c3ce7a17d7e55b) + - [Add support](https://codeberg.org/forgejo/forgejo/commit/58caf422e67c78f87327bc9b00f89083a2432940) for rendering [.livemd](https://livebook.dev/) + - The `forgejo forgejo-cli actions` [subcommand is added](https://codeberg.org/forgejo/forgejo/commit/d6efefbb63d59ba0251c10b6031f6b630b184eaf) to implement [offline registration with `actions register`](https://forgejo.org/docs/v1.20/admin/actions/#offline-registration) for the [Forgejo runner](https://code.forgejo.org/forgejo/runner). + - When [called as `forgejo-cli`](https://codeberg.org/forgejo/forgejo/commit/935fb85e8b2a5f6a9c9c6c0b78a234abc14df4fe) (with `ln -f forgejo forgejo-cli`), Forgejo provides a new CLI that is not backward compatible with Gitea. It contains Forgejo specific additions such as [offline registration](https://forgejo.org/docs/v1.20/admin/actions/#offline-registration) + - [Render list items](https://codeberg.org/forgejo/forgejo/commit/e1829f0728509c4c1b7810fe9f6df1aebb71b4c0) when an [org-mode](https://orgmode.org/) file is displayed + - [A user can follow an organization](https://codeberg.org/forgejo/forgejo/commit/cc64a925602d54f3439dd19f16b5280bd0377a7a) + - [When playing a video in the web UI, the player control can be dragged to play on the specified position](https://codeberg.org/forgejo/forgejo/commit/023a048f52b5bf8c4b715285245a129f04e05a8c) + - The commit status required for a pull request to be merged can now be [specified as patterns](https://codeberg.org/forgejo/forgejo/commit/e7c2231dee356df5cbe5a47c07e31e3a8d090a6f) instead of being a hard coded list + - [Support wildcard in email domain allow and block lists](https://codeberg.org/forgejo/forgejo/commit/2cb66fff60c95efbd58b797f1197f2421f4687ce). [Read more about EMAIL_DOMAIN_ALLOWLIST and EMAIL_DOMAIN_BLOCKLIST](https://forgejo.org/docs/v1.20/admin/config-cheat-sheet/). + - When [installing with docker](https://forgejo.org/docs/v1.20/admin/installation/#installation-with-docker) the value of a configuration variable can now be fetched from a file by [adding the `__FILE` suffix](https://codeberg.org/forgejo/forgejo/commit/c21605951b581440bb08b65d5907b1cd4e0ab6c5). For instance `FORGEJO__security__INTERNAL_TOKEN__FILE=/etc/forgejo/token` can be used instead of `FORGEJO__security__INTERNAL_TOKEN=tokenvalue`. + - The [new `[git.config]` section of `app.ini`](https://codeberg.org/forgejo/forgejo/commit/8080ace6fcf73a5fbe4a0dd71881228abd0c68b9) is used to `git set config`. [Read more about the defaults it contains](https://forgejo.org/docs/v1.20/admin/config-cheat-sheet/#git---config-options-gitconfig). + - [Issues and pull requests can be pinned](https://codeberg.org/forgejo/forgejo/commit/aaa109466350c531b9238a61115b2877daca57d3). They will show on top of the list of issues (or pull requests) and can be re-arranged by dragging them. + - [Implement systemd-notify protocol](https://codeberg.org/forgejo/forgejo/commit/7565e5c3de051400a9e3703f707049cbb9054cf3) and allows for using `Type=notify` in service files. + - [Provide more control over the repositories that are indexed](https://codeberg.org/forgejo/forgejo/commit/033d92997fc16baee097d2b25f08e0984e628abd). [Read more about REPO_INDEXER_REPO_TYPES](https://forgejo.org/docs/v1.20/admin/config-cheat-sheet/). +- **Webhook** + - Similar to organization wide webhooks, it is now possible to have [user wide webhooks](https://codeberg.org/forgejo/forgejo/commit/2173f14708ff3b35d7821fc9b6dcb5fcd06b8494) + - [Add webhook trigger when a Pull Request review requests is created](https://codeberg.org/forgejo/forgejo/commit/309354c70ee994a1e8f261d7bc24e7473e601d02) + +* Container images upgraded to Alpine 3.18 + + The Forgejo container images are now based on [Alpine 3.18](https://alpinelinux.org/posts/Alpine-3.18.0-released.html) instead of Alpine 3.17. + +## 1.19.4-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.19/forgejo) included in the `Forgejo v1.19.4-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.19.3-0..v1.19.4-0 +``` + +This stable release contains security fixes. + +* Recommended Action + + We recommend that all Forgejo installations are upgraded to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.19/user/semver/) + + The semantic version was updated from `4.2.1+0-gitea-1.19.3` to `4.2.2+0-gitea-1.19.4`. + +* Security fixes + + * [An additional verification](https://codeberg.org/forgejo/forgejo/commit/a259a928a) was implemented to prevent [open redirects](https://en.wikipedia.org/wiki/Open_redirect). + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Fix an edge case](https://codeberg.org/forgejo/forgejo/commit/27796464c) where a user changing their `username` in their profile page could fail + * The secrets are only meaningful in the context of `Frogejo Actions`, do not display them if `Forgejo Actions` is disabled ([patch 1](https://codeberg.org/forgejo/forgejo/commit/5883db45c), [patch 2](https://codeberg.org/forgejo/forgejo/commit/5fdac0d46)) + * Actions can now be triggered on mirrored repositories ([patch 1](https://codeberg.org/forgejo/forgejo/commit/58bdcae61), [patch 2](https://codeberg.org/forgejo/forgejo/commit/8d4d6f9b2)) + * [Return `404` in the API if the requested webhooks were not found](https://codeberg.org/forgejo/forgejo/commit/16bcceeff) instead of `500` + * Ensure topics deleted via the API are [also deleted in the repository](https://codeberg.org/forgejo/forgejo/commit/5dc29fdeb) + * [Tentative fix](https://codeberg.org/forgejo/forgejo/commit/9bc4887cb) to suppress the JavaScript error **TypeError: undefined is not an object (evaluating '_i18n.textEdited')** on safari. It is unclear if that fix is effective because it could not be reproduced, please report if it still happens for you. + * [Respect original content when creating secrets](https://codeberg.org/forgejo/forgejo/commit/f6919e3e5) + * If a mirror failed and left the database in an inconsistent state, make it so the repository page [does not fail with an error `500`](https://codeberg.org/forgejo/forgejo/commit/f37fba567) + * If a user that triggered `Actions` is deleted, [allow for the page listing the tasks it launched to show](https://codeberg.org/forgejo/forgejo/commit/f9bf040a5) instead of failing with an error `500` + * [Allow the selection of milestones](https://codeberg.org/forgejo/forgejo/commit/55d062003) when acting on multiple issues in the issue list page + * [Fix the API error message when trying to create a fork that already exists](https://codeberg.org/forgejo/forgejo/commit/4dccac3db) + * [Don't display a `create page` button in a mirror wiki repository](https://codeberg.org/forgejo/forgejo/commit/7a74957c1). A mirrored repository will also mirror a wiki and changes will be overridden. + * [Do not allow for a repository to enable actions if it is not enabled in the configuration](https://codeberg.org/forgejo/forgejo/commit/257287954) + * Allow for closed PRs to be re-opened and [synchronize with the latest content of the head branch](https://codeberg.org/forgejo/forgejo/commit/306b7b5d1) + * [Fix the `close` button of projects within an organization](https://codeberg.org/forgejo/forgejo/commit/306b7b5d1). It was a noop and now effectively closes the project + +## 1.19.3-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.19/forgejo) included in the `Forgejo v1.19.3-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.19.2-0..v1.19.3-0 +``` + +This stable release contains security fixes. + +* Recommended Action + + We recommend that all Forgejo installations are upgraded to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.19/user/semver/) + + The semantic version was updated from `4.2.0+0-gitea-1.19.2` to `4.2.1+0-gitea-1.19.3` because of the rebuild with [Go version 1.20.4](https://github.com/golang/go/issues?q=milestone%3AGo1.20.4+label%3ACherryPickApproved). + +* Security fixes + + * Forgejo was recompiled with Go version v1.20.4 published 2 May 2023. It fixes [three vulnerabilities](https://github.com/golang/go/issues?q=milestone%3AGo1.20.4+label%3ACherryPickApproved) ([CVE-2023-29400](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29400), [CVE-2023-24540](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-24540), [CVE-2023-24539](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-24539)) related to the [html/template](https://pkg.go.dev/html/template) package. The [Forgejo security team](https://forgejo.org/.well-known/security.txt) analyzed the security fixes it contains and concluded that Forgejo is not affected but recommended a rebuild as a precaution. + +* Bug fixes + + The most prominent one is described here, others can be found in the list of commits included in the release as described above. + + * [Allow users that are not signed in to browse the tag list](https://codeberg.org/forgejo/forgejo/commit/e76b3f72b23bf778a562682d829744451b27d615). Requiring users to be signed in to view the tag list was a regression introduced in Forgejo v1.19.2-0. + +## 1.19.2-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.19/forgejo) included in the `Forgejo v1.19.2-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.19.1-0..v1.19.2-0 +``` + +This stable release contains **important security fixes**. + +* Recommended Action + + We **strongly recommend** that all Forgejo installations are upgraded to the latest version as soon as possible. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.19/user/semver/) + + The semantic version was updated from `4.1.0+0-gitea-1.19.1` to `4.2.0+0-gitea-1.19.2` because of the changes introduced in the internal CI. + +* Security fixes + + * Token scopes were not enforced in some cases ([patch 1](https://codeberg.org/forgejo/forgejo/commit/7c3ac69c0) and [patch 2](https://codeberg.org/forgejo/forgejo/commit/10d3ed53f1cc6d383b52637bedd7bc3679476eb4)). The [scoped token](https://forgejo.org/docs/v1.19/user/oauth2-provider/#scoped-tokens) were introduced in Forgejo v1.19 allow for the creation of application tokens that only have limited permissions, such as creating packages or accessing repositories. Prior to Forgejo v1.19 tokens could be used to perform any operation the user issuing the token could. + * [Permissions to delete secrets was not enforced](https://codeberg.org/forgejo/forgejo/commit/68d80eb56). The experimental internal CI relies on secrets managed via the web interface, for instance to communicate credentials to a job. Secrets are only used in the context of the experimental internal CI. + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Restore public access to some API endpoints](https://codeberg.org/forgejo/forgejo/commit/b00f7c3c545c6a00a747a5aea7596f45c50157ac). When [scoped token](https://forgejo.org/docs/v1.19/user/oauth2-provider/#scoped-tokens) introduced in Forgejo v1.19, some API endpoints that were previously accessible anonymously became restricted: `/orgs`, `/orgs/{org}`, `/orgs/{org}/repos`, `/orgs/{org}/public_members`, `/orgs/{org}/public_members/{username}`, `/orgs/{org}/labels`. + * [Fix 2-dot direct compare to use the right base commit](https://codeberg.org/forgejo/forgejo/commit/494e373292962de34b7ea7efd3f4a8d2f27daa26). For 2-dot direct compare, the base commit should be used in the title and templates, as is used elsewhere, not the common ancestor which is used for 3-dot compare. + * [Make CORS work](https://codeberg.org/forgejo/forgejo/commit/2e6e5bc9c96ebb760f28c08423bb0c244ca7e01c). No [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) headers were set, even if CORS was enabled in the configuration. + * [Fix issue attachment removal](https://codeberg.org/forgejo/forgejo/commit/d5f2c9d74d63443cc2abbcabc268cf1121f58e8b). When an attachment was removed from an issue or review comment, all of the image/attachment links were broken. + * [Fix wiki write permissions for users who do not have repository write permissions](https://codeberg.org/forgejo/forgejo/commit/8c465206e2fea27076fdb986ea0478729653f0b5). When a team member had write access to the wiki but not to the code repository, some operations (deleting a page for instance) were denied. + * [Respect the REGISTER_MANUAL_CONFIRM setting when registering via OAuth](https://codeberg.org/forgejo/forgejo/commit/116b6d5b27c40b248281f5fd543f7aa8df0d59d3). Contrary to the local registration, the OAuth registration flow activated a newly registered user regardless of the value of `REGISTER_MANUAL_CONFIRM`. + * [Fix tags list for repos whose release setting is disabled](https://codeberg.org/forgejo/forgejo/commit/eeee32cdc3aab4d2086b24aae670a39501c9ea99). When releases was disabled the "tags" button led to a `Not Found` page, even when tags existed. + +* Container image upgrades + + In the Forgejo container images the Git version was upgraded to [2.38.5](https://github.com/git/git/blob/master/Documentation/RelNotes/2.38.5.txt) as a precaution. The [Forgejo security team](https://forgejo.org/.well-known/security.txt) analyzed the security fixes it contains and concluded that Forgejo is not affected. + +## 1.19.1-0 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.19/forgejo) included in the `Forgejo v1.19.1-0` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.19.0-3..v1.19.1-0 +``` + +This stable release includes bug fixes. Functional changes related to the experimental CI have also been backported. + +* Recommended Action + + We recommend that all installations are upgraded to the latest version. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.19/user/semver/) + + The semantic version was updated from `4.0.0+0-gitea-1.19.0` to `4.1.0+0-gitea-1.19.1` because of the changes introduced in the internal CI. + +* Bug fixes + + The most prominent ones are described here, others can be found in the list of commits included in the release as described above. + + * [Fix RSS/ATOM/GPG/KEYS path for users (or orgs) with a dot in their name](https://codeberg.org/forgejo/forgejo/commit/085b56302cfd9a949319a3a1e32e008b4a0d0772). It is allowed for a user (or an organization) to have a dot in their name, for instance `user.name`. Because of a [bug in Chi](https://codeberg.org/forgejo/forgejo/issues/652) it was not possible to access `/user.name.png`, `/user.name.gpg`, etc. A workaround was implemented while a [proper fix is being discussed](https://github.com/go-chi/chi/pull/811). + * [Creating a tag via the web interface no longer requires a title](https://codeberg.org/forgejo/forgejo/commit/1b8ecd179bdb58427b99c2c2eb9ad5a45abf7055). + * [Use fully qualified URLs in Dockerfile](https://codeberg.org/forgejo/forgejo/commit/833a4b177596debc138e5723219fd063d067bd5b). The Dockerfile to create the Forgejo container image now uses the fully qualified image `docker.io/library/golang:1.20-alpine3.17` instead of `golang:1.20-alpine3.17`. This allows for building on platforms that don't have docker hub as the default container registry. + * [Redis use Get/Set instead of Rename when Regenerate session id](https://codeberg.org/forgejo/forgejo/commit/3a7cb1a83b4ecd89421b5656b8caeb30c2b13c7c). The old sid and new sid may be in different redis cluster slot. + * [Do not escape space between PyPI repository url and package name](https://codeberg.org/forgejo/forgejo/commit/cfde557e231417b7fb3cde3e9bab70d05b7d182f). It also adds a trailing slash to the PyPI repository URL in accordance to [Python PEP-503](https://peps.python.org/pep-0503/). + * [Fix failure when using the API and an empty rule_name to protect a branch](https://codeberg.org/forgejo/forgejo/commit/abf0386e2ef6b56c048c04cd3d6913f453c87cb1). The `rule_name` parameter for the [/repos/{owner}/{repo}/branch_protections](https://code.forgejo.org/api/swagger#/repository/repoCreateBranchProtection) API now defaults to the branch name instead of being empty. + * [Fix branch protection priority](https://codeberg.org/forgejo/forgejo/commit/580da8f35320dbd15b168bf8ccfaff6187ff87e0). Contrary to [the documentation](https://forgejo.org/docs/v1.19/user/protection/#protected-branches) it was possible for a glob rule to take precedence over a non-glob rule. + * [Fix deleting an issue when the git repo does not exist](https://codeberg.org/forgejo/forgejo/commit/1d8ae34e57e46b84a885b4f072d949344c5977c4). If a project had an issue tracker (such as the [Forgejo discussion](https://codeberg.org/forgejo/discussions/issues)) but [no git repository](https://codeberg.org/forgejo/discussions/), trying to delete an issue would fail. + * [Fix accidental overwriting of LDAP team memberships](https://codeberg.org/forgejo/forgejo/commit/66aa85429684aca45753ac9578492ed3f7507ea3). If an LDAP user is a member of two groups, the LDAP group sync only matched the last group. + +## 1.19.0-3 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.19/forgejo) included in the `Forgejo v1.19.0-3` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges v1.19.0-2..v1.19.0-3 +``` + +This stable release includes security updates and bug fixes. + +* Recommended Action + + We recommend that all installations are upgraded to the latest version. + +* Security + + The [Forgejo security team](https://forgejo.org/.well-known/security.txt) analyzed the vulnerabilities fixed in the latest [Go 1.20.3 packages](https://go.dev/doc/devel/release#go1.20.minor) and [Alpine 3.17.3](https://alpinelinux.org/posts/Alpine-3.17.3-released.html) and concluded that Forgejo is not affected. + + As a precaution the Forgejo v1.19.0-3 binaries were compiled with [Go 1.20.3 packages](https://go.dev/doc/devel/release#go1.20.minor) as published on 4 April 2023 and the container images were built with [Alpine 3.17.3](https://alpinelinux.org/posts/Alpine-3.17.3-released.html) as published on 29 March 2023. + +* [Forgejo Semantic Version](https://forgejo.org/docs/v1.19/user/semver/) + + The semantic version was updated from `3.0.0+0-gitea-1.19.0` to `4.0.0+0-gitea-1.19.0` because of the breaking changes described below. + +* Breaking changes + + They should not have a significant impact because they are related to experimental features (federation and CI). + + * [Use User.ID instead of User.Name in ActivityPub API for Person IRI](https://codeberg.org/forgejo/forgejo/commit/2fcd57d5ae5b5926e5b0b87e46f78ad4ac83cbbd) + + The ActivityPub id is an HTTPS URI that should remain constant, even if +the user changes their name. + + * [Actions unit is repo.actions instead of actions.actions](https://codeberg.org/forgejo/forgejo/commit/9596bd3712caec440859fce93d05e19cf95e5330) + + All instances of `actions.actions` in the `DISABLED_REPO_UNITS` or `DEFAULT_REPO_UNITS` configuration variables must be replaced with `repo.actions`. + +* Bug fixes + + They are for the most part about user interface and actions. The most prominent ones are: + + * [Do not filter repositories by default on the explore page](https://codeberg.org/forgejo/forgejo/commit/d15f20b2d2ce613cc8b36536995f29f81797c002). The behavior of the explore page is back to what it was in Forgejo v1.18. Changing it was confusing. + * [Skip LFS when disabled in dump and doctor](https://codeberg.org/forgejo/forgejo/commit/b6a2323981a7a89205a382ddf0542e205e292d3d). + * [Do not display own email on the profile](https://codeberg.org/forgejo/forgejo/commit/1fed0e1adc8dd2d27d2d7e34dda29c8e79e5e6e8). + * [Make minio package support legacy MD5 checksum](https://codeberg.org/forgejo/forgejo/commit/b73d1ac1eb7d5c985749dc721bbea7ebd14f9c83). + * [Do not triggers Webhooks and actions on closed PR](https://codeberg.org/forgejo/forgejo/commit/a04535e212b04c0f6643a4f36904a3d1bf30c63f). + +## 1.19.0-2 + +The [complete list of commits](https://codeberg.org/forgejo/forgejo/commits/branch/v1.19/forgejo) included in the `Forgejo v1.19.0-2` release can be reviewed from the command line with: + +```shell +$ git clone https://codeberg.org/forgejo/forgejo/ +$ git -C forgejo log --oneline --no-merges origin/v1.18/forgejo..origin/v1.19/forgejo +``` + +* Breaking changes + * [Scoped access tokens](https://codeberg.org/forgejo/forgejo/commit/de484e86bc) + + Forgejo access token, used with the [API](https://forgejo.org/docs/v1.19/admin/api-usage/) can now have a "scope" that limits what it can access. Existing tokens stored in the database and created before Forgejo v1.19 had unlimited access. For backward compatibility, their access will remain the same and they will continue to work as before. However, **newly created token that do not specify a scope will now only have read-only access to public user profile and public repositories**. + + For instance, the `/users/{username}/tokens` API endpoint will require the `scopes: ['all', 'sudo']` parameter and the `forgejo admin user generate-access-token` will require the `--scopes all,sudo` argument obtain tokens with unlimited access as before for admin users. + + [Read more about the scoped tokens](https://forgejo.org/docs/v1.19/user/oauth2-provider/#scoped-tokens). + + * [Disable all units except code and pulls on forks](https://codeberg.org/forgejo/forgejo/commit/2741546be) + + When forking a repository, the fork will now have issues, projects, releases, packages and wiki disabled. These can be enabled in the repository settings afterwards. To change back to the previous default behavior, configure `DEFAULT_FORK_REPO_UNITS` to be the same value as `DEFAULT_REPO_UNITS`. + + * [Filter repositories by default on the explore page](https://codeberg.org/forgejo/forgejo/commit/4d20a4a1b) + + The explore page now always filters out repositories that are considered not relevant because they are either forks or have no topic and not description and no icon. A link is shown to display all repositories, unfiltered. + + Explore repositories + + * [Remove deprecated DSA host key from Docker Container](https://codeberg.org/forgejo/forgejo/commit/f17edfaf5a31ea3f4e9152424b75c2c4986acbe3) + Since OpenSSH 7.0 and greater similarly disable the ssh-dss (DSA) public key algorithm, and recommend against its use. http://www.openssh.com/legacy.html + + * Additional restrictions on valid user names + + The algorithm for validating user names was modified and some users may have invalid names. The command `forgejo doctor --run check-user-names` will list all of them so they can be renamed. + + If a Forgejo instance has users or organizations named `forgejo-actions` and `gitea-actions`, they will also need to be renamed before the upgrade. They are now reserved names for the experimental internal CI/CD named `Actions`. + + * [Semantic version](https://forgejo.org/docs/latest/user/semver) + + Since v1.18.5, in addition to the Forgejo release number, a [semantic version](https://semver.org/#semantic-versioning-200) number (e.g. `v3.0.0`) can be obtained from the `number` key of a new `/api/forgejo/v1/version` endpoint. + + Now, it reflects the Gitea version that Forgejo depends on, is no longer prefixed with `v` (e.g. `3.0.0+0-gitea-1.19.0`), and can be obtained from the `version` key of the same endpoint. +* Features + + * [Documentation](https://forgejo.org/docs/latest/) + The first version of the [Forgejo documentation](https://forgejo.org/docs/latest/) is available and covers the administration of Forgejo, from installation to troubleshooting. + + [Read more about semantic versions](https://forgejo.codeberg.page/docs/v1.19/user/semver) + + * [Webhook authorization header](https://codeberg.org/forgejo/forgejo/commit/b6e81357bd6fb80f8ba94c513f89a210beb05313) + Forgejo webhooks can be configured to send an [authorization header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization) to the target. + + [Read more about the webhook authorization header](https://forgejo.codeberg.page/docs/v1.19/user/webhooks/#authorization-header) + + * [Incoming emails](https://codeberg.org/forgejo/forgejo/commit/fc037b4b825f0501a1489e10d7c822435d825cb7) + You can now set up Forgejo to receive incoming email. When enabled, it is now possible to reply to an email notification from Forgejo and: + * Add a comment to an issue or a pull request + * Unsubscribe to the notifications + + [Read more about incoming emails](https://forgejo.org/docs/v1.19/admin/incoming-email/) + + * Packages registries + * Support for [Cargo](https://forgejo.org/docs/v1.19/admin/packages/cargo/), [Conda](https://forgejo.org/docs/v1.19/admin/packages/conda/) and [Chef](https://forgejo.org/docs/v1.19/admin/packages/chef/) + * [Cleanup rules](https://codeberg.org/forgejo/forgejo/commit/32db62515) + * [Quota limits](https://codeberg.org/forgejo/forgejo/commit/20674dd05) + + * [Option to prohibit fork if user reached maximum limit of repositories](https://codeberg.org/forgejo/forgejo/commit/7cc7db73b) + It is possible for a user to create as many fork as they want, even when a quota on the number of repositories is imposed. The new `ALLOW_FORK_WITHOUT_MAXIMUM_LIMIT` setting can now be set to `false` so forks are prohibited if that means exceeding the quota. + + [Read more about repository configurations](https://forgejo.org/docs/v1.19/admin/config-cheat-sheet/#repository-repository) + + * [Scoped labels](https://codeberg.org/forgejo/forgejo/commit/6221a6fd5) + Labels that contain a forward slash (**/**) separator are displayed with a slightly different color before and after the separator, as a visual aid. The first part of the label defines its "scope". + + [Read more about scoped labels](https://forgejo.org/docs/v1.19/user/labels/). + + * [Support org/user level projects](https://codeberg.org/forgejo/forgejo/commit/6fe3c8b39) + It is now possible to create projects (kanban boards) for an organization or a user, in the same way it was possible for an individual repository. + + * [Map OIDC groups to Orgs/Teams](https://codeberg.org/forgejo/forgejo/commit/e8186f1c0) + When a user logs in Forgejo using an provider such as [Keycloak](https://www.keycloak.org/), they can now automatically be part of a Forgejo team, depending on the OIDC group they belong to. For instance: + + ```json + {"Developer": {"MyForgejoOrganization": ["MyForgejoTeam1", "MyForgejoTeam2"]}} + ``` + + Means that the user who is in the OIDC group `Developer` will automatically be a member of the `MyForgejoTeam1` and `MyForgejoTeam2` teams in the `MyForgejoOrganization` organization. + This mapping is set when adding a new `Authentication Source` in the `Site Administration` panel. + + OIDC Group mapping part1 + + ... + + OIDC Group mapping part2 + + [Read more about OIDC groups mapping](https://forgejo.org/docs/v1.19/user/oauth2-provider/#endpoints) + + * [RSS feed for releases and tags](https://codeberg.org/forgejo/forgejo/commit/48d71b7d6) + + A RSS feed is now available for releases at `/{owner}/{repo}/releases.rss` and tags at `/{owner}/{repo}/tags.rss`. + + * [Supports wildcard protected branch](https://codeberg.org/forgejo/forgejo/commit/2782c1439) + + Instead of selecting a branch to be protected, the name of the branch must be specified and can be a pattern such as `precious*`. + + [Read more about branch protection](https://forgejo.org/docs/v1.19/user/protection/#protected-branches). + + * [Garbage collect LFS](https://codeberg.org/forgejo/forgejo/commit/651fe4bb7) + Add a doctor command for full garbage collection of LFS: `forgejo doctor --run gc-lfs`. + + * Additions to the API + + * [Management for issue/pull and comment attachments](https://codeberg.org/forgejo/forgejo/commit/3c59d31bc) + * [Get latest release](https://codeberg.org/forgejo/forgejo/commit/4d072a4c4) + * [System hook](https://codeberg.org/forgejo/forgejo/commit/c0015979a) + + * [Option to disable releases on a repository](https://codeberg.org/forgejo/forgejo/commit/faa96553d) + + It is now possible to disable releases on a repository, in the same way it is possible to disable issues or packages. + + * [Git reflog support](https://codeberg.org/forgejo/forgejo/commit/757b4c17e) + The [git reflog](https://git-scm.com/docs/git-reflog) are now active by default on all repositories and + kept around for 90 days. It allows the Forgejo admin to recover the previous tip of a branch after an + accidental force push. + + [Read more about reflog](https://forgejo.org/docs/v1.19/admin/config-cheat-sheet/#git---reflog-settings-gitreflog) + + * [Actions](https://codeberg.org/forgejo/forgejo/commit/4011821c946e8db032be86266dd9364ccb204118): an experimental CI/CD + + It appears for the first time in this Forgejo release but is not yet fit for production. It is not fully implemented and may be insecure. However, as long as it is not enabled, it presents no risk to existing Forgejo instances. + + If a repository has a file such as `.forgejo/workflows/test.yml`, it will be interpreted, for instance to run tests and verify the code in the repository works as expected (Continuous Integration). It can also be used to create HTML pages for a website and publish them (Continuous Deployment). The syntax is similar to GitHub Actions and the jobs can be controlled from the Forgejo web interface. + + [Read more about Forgejo Actions](https://forgejo.codeberg.page/2023-02-27-forgejo-actions/) + + Actions + +* User Interface improvements + + * [Review box on small screens](https://codeberg.org/forgejo/forgejo/commit/1fcf96ad0) + The rendering of the review box is improved on small screens. + + * [Video element enabled in markdown](https://codeberg.org/forgejo/forgejo/commit/f8a40dafb) + The `