Skip to content

Commit 4257b89

Browse files
committed
Merge branch 'main' into feature/worktime-for-org
# Conflicts: # modules/templates/helper.go # options/locale/locale_en-US.ini # templates/org/menu.tmpl # web_src/js/index.js
2 parents bd60f63 + aec0b7e commit 4257b89

File tree

5,769 files changed

+307919
-361706
lines changed

Some content is hidden

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

5,769 files changed

+307919
-361706
lines changed

.air.toml

+18-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,25 @@ root = "."
22
tmp_dir = ".air"
33

44
[build]
5-
cmd = "make backend"
5+
pre_cmd = ["killall -9 gitea 2>/dev/null || true"] # kill off potential zombie processes from previous runs
6+
cmd = "make --no-print-directory backend"
67
bin = "gitea"
8+
delay = 2000
79
include_ext = ["go", "tmpl"]
8-
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata", "models/fixtures", "models/migrations/fixtures", "modules/migration/file_format_testdata", "modules/avatar/identicon/testdata"]
10+
include_file = ["main.go"]
911
include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
12+
exclude_dir = [
13+
"models/fixtures",
14+
"models/migrations/fixtures",
15+
"modules/avatar/identicon/testdata",
16+
"modules/avatar/testdata",
17+
"modules/git/tests",
18+
"modules/migration/file_format_testdata",
19+
"routers/private/tests",
20+
"services/gitdiff/testdata",
21+
]
1022
exclude_regex = ["_test.go$", "_gen.go$"]
23+
stop_on_error = true
24+
25+
[log]
26+
main_only = true

.changelog.yml

+18-17
Original file line numberDiff line numberDiff line change
@@ -13,46 +13,47 @@ groups:
1313
-
1414
name: BREAKING
1515
labels:
16-
- kind/breaking
16+
- pr/breaking
1717
-
1818
name: SECURITY
1919
labels:
20-
- kind/security
20+
- topic/security
2121
-
2222
name: FEATURES
2323
labels:
24-
- kind/feature
24+
- type/feature
2525
-
26-
name: API
26+
name: ENHANCEMENTS
2727
labels:
28-
- kind/api
28+
- type/enhancement
2929
-
30-
name: ENHANCEMENTS
30+
name: PERFORMANCE
3131
labels:
32-
- kind/enhancement
33-
- kind/refactor
34-
- kind/ui
32+
- performance/memory
33+
- performance/speed
34+
- performance/bigrepo
35+
- performance/cpu
3536
-
3637
name: BUGFIXES
3738
labels:
38-
- kind/bug
39+
- type/bug
3940
-
40-
name: TESTING
41+
name: API
4142
labels:
42-
- kind/testing
43+
- modifies/api
4344
-
44-
name: TRANSLATION
45+
name: TESTING
4546
labels:
46-
- kind/translation
47+
- type/testing
4748
-
4849
name: BUILD
4950
labels:
50-
- kind/build
51-
- kind/lint
51+
- topic/build
52+
- topic/code-linting
5253
-
5354
name: DOCS
5455
labels:
55-
- kind/docs
56+
- type/docs
5657
-
5758
name: MISC
5859
default: true

.devcontainer/devcontainer.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"name": "Gitea DevContainer",
3+
"image": "mcr.microsoft.com/devcontainers/go:1.23-bookworm",
4+
"features": {
5+
// installs nodejs into container
6+
"ghcr.io/devcontainers/features/node:1": {
7+
"version": "20"
8+
},
9+
"ghcr.io/devcontainers/features/git-lfs:1.2.2": {},
10+
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
11+
"ghcr.io/devcontainers/features/python:1": {
12+
"version": "3.12"
13+
},
14+
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
15+
},
16+
"customizations": {
17+
"vscode": {
18+
"settings": {},
19+
// same extensions as Gitpod, should match /.gitpod.yml
20+
"extensions": [
21+
"editorconfig.editorconfig",
22+
"dbaeumer.vscode-eslint",
23+
"golang.go",
24+
"stylelint.vscode-stylelint",
25+
"DavidAnson.vscode-markdownlint",
26+
"Vue.volar",
27+
"ms-azuretools.vscode-docker",
28+
"vitest.explorer",
29+
"cweijan.vscode-database-client2",
30+
"GitHub.vscode-pull-request-github",
31+
"Azurite.azurite"
32+
]
33+
}
34+
},
35+
"portsAttributes": {
36+
"3000": {
37+
"label": "Gitea Web",
38+
"onAutoForward": "notify"
39+
}
40+
},
41+
"postCreateCommand": "make deps"
42+
}

.dockerignore

+8-7
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _test
1414

1515
# MS VSCode
1616
.vscode
17-
__debug_bin
17+
__debug_bin*
1818

1919
# Architecture specific extensions/prefixes
2020
*.[568vq]
@@ -62,7 +62,6 @@ cpu.out
6262
/data
6363
/indexers
6464
/log
65-
/public/img/avatar
6665
/tests/integration/gitea-integration-*
6766
/tests/integration/indexers-*
6867
/tests/e2e/gitea-e2e-*
@@ -75,11 +74,10 @@ cpu.out
7574
/yarn.lock
7675
/yarn-error.log
7776
/npm-debug.log*
78-
/public/js
79-
/public/serviceworker.js
80-
/public/css
81-
/public/fonts
82-
/public/img/webpack
77+
/public/assets/js
78+
/public/assets/css
79+
/public/assets/fonts
80+
/public/assets/img/avatar
8381
/vendor
8482
/web_src/fomantic/node_modules
8583
/web_src/fomantic/build/*
@@ -97,6 +95,9 @@ cpu.out
9795
/.air
9896
/.go-licenses
9997

98+
# Files and folders that were previously generated
99+
/public/assets/img/webpack
100+
100101
# Snapcraft
101102
snap/.snapcraft/
102103
parts/

0 commit comments

Comments
 (0)