Skip to content

Commit 399103a

Browse files
authored
Merge branch 'main' into admin-auth-api
2 parents 8d7f588 + fab73e4 commit 399103a

File tree

4,679 files changed

+192142
-273660
lines changed

Some content is hidden

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

4,679 files changed

+192142
-273660
lines changed

.air.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ root = "."
22
tmp_dir = ".air"
33

44
[build]
5-
cmd = "make backend"
5+
cmd = "make --no-print-directory backend"
66
bin = "gitea"
7+
delay = 1000
78
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"]
9+
include_file = ["main.go"]
910
include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
11+
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"]
1012
exclude_regex = ["_test.go$", "_gen.go$"]
13+
stop_on_error = true

.changelog.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,46 +13,42 @@ 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
-
2626
name: API
2727
labels:
28-
- kind/api
28+
- modifies/api
2929
-
3030
name: ENHANCEMENTS
3131
labels:
32-
- kind/enhancement
33-
- kind/refactor
34-
- kind/ui
32+
- type/enhancement
33+
- type/refactoring
34+
- topic/ui
3535
-
3636
name: BUGFIXES
3737
labels:
38-
- kind/bug
38+
- type/bug
3939
-
4040
name: TESTING
4141
labels:
42-
- kind/testing
43-
-
44-
name: TRANSLATION
45-
labels:
46-
- kind/translation
42+
- type/testing
4743
-
4844
name: BUILD
4945
labels:
50-
- kind/build
51-
- kind/lint
46+
- topic/build
47+
- topic/code-linting
5248
-
5349
name: DOCS
5450
labels:
55-
- kind/docs
51+
- type/docs
5652
-
5753
name: MISC
5854
default: true

.devcontainer/devcontainer.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "Gitea DevContainer",
3+
"image": "mcr.microsoft.com/devcontainers/go:1.21-bullseye",
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.1.0": {},
10+
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
11+
"ghcr.io/devcontainers/features/python:1": {}
12+
},
13+
"customizations": {
14+
"vscode": {
15+
"settings": {},
16+
// same extensions as Gitpod, should match /.gitpod.yml
17+
"extensions": [
18+
"editorconfig.editorconfig",
19+
"dbaeumer.vscode-eslint",
20+
"golang.go",
21+
"stylelint.vscode-stylelint",
22+
"DavidAnson.vscode-markdownlint",
23+
"Vue.volar",
24+
"ms-azuretools.vscode-docker",
25+
"zixuanchen.vitest-explorer",
26+
"qwtel.sqlite-viewer",
27+
"GitHub.vscode-pull-request-github"
28+
]
29+
}
30+
},
31+
"portsAttributes": {
32+
"3000": {
33+
"label": "Gitea Web",
34+
"onAutoForward": "notify"
35+
}
36+
},
37+
"postCreateCommand": "make deps"
38+
}

.dockerignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,10 @@ cpu.out
7575
/yarn.lock
7676
/yarn-error.log
7777
/npm-debug.log*
78-
/public/js
79-
/public/serviceworker.js
80-
/public/css
81-
/public/fonts
82-
/public/img/webpack
78+
/public/assets/js
79+
/public/assets/css
80+
/public/assets/fonts
81+
/public/assets/img/webpack
8382
/vendor
8483
/web_src/fomantic/node_modules
8584
/web_src/fomantic/build/*

0 commit comments

Comments
 (0)