Skip to content

Commit 4030b8b

Browse files
committed
Merge remote-tracking branch 'giteaofficial/main'
* giteaofficial/main: Fix various permission & login related bugs (go-gitea#36002) Allow empty commit when merging pull request with squash style (go-gitea#35989) [skip ci] Updated translations via Crowdin Mention proc-receive in text for dashboard.resync_all_hooks func (go-gitea#35991) Update JS deps (go-gitea#35978) wiki: reuse selectable style for wiki (go-gitea#35990)
2 parents 73325e4 + 62d750e commit 4030b8b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1352
-1176
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ insert_final_newline = false
2525
[templates/user/auth/oidc_wellknown.tmpl]
2626
indent_style = space
2727

28+
[templates/shared/actions/runner_badge_*.tmpl]
29+
# editconfig lint requires these XML-like files to have charset defined, but the files don't have.
30+
charset = unset
31+
2832
[Makefile]
2933
indent_style = tab
3034

CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,19 +166,19 @@ Here's how to run the test suite:
166166

167167
- code lint
168168

169-
| | |
170-
| :-------------------- | :---------------------------------------------------------------- |
169+
| | |
170+
| :-------------------- | :--------------------------------------------------------------------------- |
171171
|``make lint`` | lint everything (not needed if you only change the front- **or** backend) |
172-
|``make lint-frontend`` | lint frontend files |
173-
|``make lint-backend`` | lint backend files |
172+
|``make lint-frontend`` | lint frontend files |
173+
|``make lint-backend`` | lint backend files |
174174

175175
- run tests (we suggest running them on Linux)
176176

177-
| Command | Action | |
178-
| :------------------------------------- | :----------------------------------------------- | ------------ |
179-
|``make test[\#SpecificTestName]`` | run unit test(s) | |
180-
|``make test-sqlite[\#SpecificTestName]``| run [integration](tests/integration) test(s) for SQLite |[More details](tests/integration/README.md) |
181-
|``make test-e2e-sqlite[\#SpecificTestName]``| run [end-to-end](tests/e2e) test(s) for SQLite |[More details](tests/e2e/README.md) |
177+
| Command | Action | |
178+
| :------------------------------------------ | :------------------------------------------------------- | ------------------------------------------- |
179+
|``make test[\#SpecificTestName]`` | run unit test(s) | |
180+
|``make test-sqlite[\#SpecificTestName]`` | run [integration](tests/integration) test(s) for SQLite | [More details](tests/integration/README.md) |
181+
|``make test-e2e-sqlite[\#SpecificTestName]`` | run [end-to-end](tests/e2e) test(s) for SQLite | [More details](tests/e2e/README.md) |
182182

183183
## Translation
184184

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@ lint-swagger: node_modules ## lint swagger files
364364
lint-md: node_modules ## lint markdown files
365365
$(NODE_VARS) pnpm exec markdownlint *.md
366366

367+
.PHONY: lint-md-fix
368+
lint-md-fix: node_modules ## lint markdown files and fix issues
369+
$(NODE_VARS) pnpm exec markdownlint --fix *.md
370+
367371
.PHONY: lint-spell
368372
lint-spell: ## lint spelling
369373
@go run $(MISSPELL_PACKAGE) -dict assets/misspellings.csv -error $(SPELLCHECK_FILES)

custom/conf/app.example.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2334,7 +2334,7 @@ LEVEL = Info
23342334

23352335
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
23362336
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2337-
;; Resynchronize pre-receive, update and post-receive hooks of all repositories.
2337+
;; Resynchronize git hooks of all repositories (pre-receive, update, post-receive, proc-receive, ...)
23382338
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
23392339
;[cron.resync_all_hooks]
23402340
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

eslint.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,6 @@ export default defineConfig([
935935
},
936936
{
937937
files: ['**/*.test.ts', 'web_src/js/test/setup.ts'],
938-
// @ts-expect-error - https://github.com/vitest-dev/eslint-plugin-vitest/issues/737
939938
plugins: {vitest},
940939
languageOptions: {globals: globals.vitest},
941940
rules: {

options/fileicon/material-icon-rules.json

Lines changed: 45 additions & 89 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

options/locale/locale_en-US.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3039,7 +3039,7 @@ dashboard.update_migration_poster_id = Update migration poster IDs
30393039
dashboard.git_gc_repos = Garbage-collect all repositories
30403040
dashboard.resync_all_sshkeys = Update the '.ssh/authorized_keys' file with Gitea SSH keys
30413041
dashboard.resync_all_sshprincipals = Update the '.ssh/authorized_principals' file with Gitea SSH principals
3042-
dashboard.resync_all_hooks = Resynchronize pre-receive, update and post-receive hooks of all repositories
3042+
dashboard.resync_all_hooks = Resynchronize git hooks of all repositories (pre-receive, update, post-receive, proc-receive, ...)
30433043
dashboard.reinit_missing_repos = Reinitialize all missing Git repositories for which records exist
30443044
dashboard.sync_external_users = Synchronize external user data
30453045
dashboard.cleanup_hook_task_table = Clean up hook_task table

options/locale/locale_fr-FR.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,6 @@ dashboard.update_migration_poster_id=Actualiser les ID des affiches de migration
30383038
dashboard.git_gc_repos=Exécuter le ramasse-miette des dépôts
30393039
dashboard.resync_all_sshkeys=Mettre à jour le fichier « ssh/authorized_keys » avec les clés SSH Gitea.
30403040
dashboard.resync_all_sshprincipals=Mettre à jour le fichier « .ssh/authorized_principals » avec les principaux de Gitea SSH.
3041-
dashboard.resync_all_hooks=Re-synchroniser les déclencheurs Git pre-receive, update et post-receive de tous les dépôts.
30423041
dashboard.reinit_missing_repos=Réinitialiser tous les dépôts Git manquants pour lesquels un enregistrement existe
30433042
dashboard.sync_external_users=Synchroniser les données de l’utilisateur externe
30443043
dashboard.cleanup_hook_task_table=Nettoyer la table hook_task

options/locale/locale_ga-IE.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,6 @@ dashboard.update_migration_poster_id=Nuashonraigh ID póstaer imir
30383038
dashboard.git_gc_repos=Bailitheoir bruscair gach stórais
30393039
dashboard.resync_all_sshkeys=Nuashonraigh an comhad '.ssh/authorized_keys' le heochracha SSH Gitea
30403040
dashboard.resync_all_sshprincipals=Nuashonraigh an comhad '.ssh/authorized_principals' le príomhoidí SSH Gitea
3041-
dashboard.resync_all_hooks=Athshioncrónaigh crúcaí réamhghlactha, nuashonraithe agus iarghlactha na stórais uile
30423041
dashboard.reinit_missing_repos=Aththosaigh gach stórais Git atá in easnamh a bhfuil taifid ann dóibh
30433042
dashboard.sync_external_users=Sioncrónaigh sonraí úsáideoirí seachtracha
30443043
dashboard.cleanup_hook_task_table=Glan suas an tábla hook_task

options/locale/locale_ja-JP.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,6 @@ dashboard.update_migration_poster_id=移行する投稿者IDの更新
30383038
dashboard.git_gc_repos=すべてのリポジトリでガベージコレクションを実行
30393039
dashboard.resync_all_sshkeys='.ssh/authorized_keys' ファイルをGitea上のSSHキーで更新
30403040
dashboard.resync_all_sshprincipals='.ssh/authorized_principals' ファイルをGitea上のSSHプリンシパルで更新
3041-
dashboard.resync_all_hooks=すべてのリポジトリの pre-receive, update, post-receive フックを再同期する
30423041
dashboard.reinit_missing_repos=レコードが存在するが見当たらないすべてのGitリポジトリを再初期化する
30433042
dashboard.sync_external_users=外部ユーザーデータの同期
30443043
dashboard.cleanup_hook_task_table=hook_taskテーブルのクリーンアップ

0 commit comments

Comments
 (0)