Skip to content

Commit 4960924

Browse files
Merge branch 'main' into feature/sort_issue_by_milestone_deadline
2 parents b3e76bf + 35b0c8a commit 4960924

File tree

3,536 files changed

+172498
-139558
lines changed

Some content is hidden

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

3,536 files changed

+172498
-139558
lines changed

.drone.yml

Lines changed: 72 additions & 96 deletions
Large diffs are not rendered by default.

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ insert_final_newline = true
1212
[*.{go,tmpl,html}]
1313
indent_style = tab
1414

15+
[templates/custom/*.tmpl]
16+
insert_final_newline = false
17+
18+
[templates/swagger/v1_json.tmpl]
19+
indent_style = space
20+
21+
[templates/user/auth/oidc_wellknown.tmpl]
22+
indent_style = space
23+
1524
[Makefile]
1625
indent_style = tab
1726

.eslintrc

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ root: true
22
reportUnusedDisableDirectives: true
33

44
ignorePatterns:
5-
- /web_src/js/vendor
65
- /templates/base/head.tmpl
76
- /templates/repo/activity.tmpl
87
- /templates/repo/view_file.tmpl
@@ -53,6 +52,12 @@ overrides:
5352
rules:
5453
import/no-unresolved: [0]
5554
import/no-extraneous-dependencies: [0]
55+
- files: ["*.test.js"]
56+
env:
57+
jest: true
58+
- files: ["*.config.js"]
59+
rules:
60+
import/no-unused-modules: [0]
5661

5762
rules:
5863
accessor-pairs: [2]
@@ -344,6 +349,7 @@ rules:
344349
unicode-bom: [2, never]
345350
unicorn/better-regex: [0]
346351
unicorn/catch-error-name: [0]
352+
unicorn/consistent-destructuring: [2]
347353
unicorn/consistent-function-scoping: [2]
348354
unicorn/custom-error-definition: [0]
349355
unicorn/empty-brace-spaces: [2]
@@ -356,19 +362,25 @@ rules:
356362
unicorn/import-style: [0]
357363
unicorn/new-for-builtins: [2]
358364
unicorn/no-abusive-eslint-disable: [0]
365+
unicorn/no-array-for-each: [0]
359366
unicorn/no-array-instanceof: [0]
367+
unicorn/no-array-push-push: [2]
360368
unicorn/no-console-spaces: [0]
369+
unicorn/no-document-cookie: [2]
361370
unicorn/no-fn-reference-in-iterator: [0]
362371
unicorn/no-for-loop: [0]
363372
unicorn/no-hex-escape: [0]
364373
unicorn/no-keyword-prefix: [0]
365374
unicorn/no-lonely-if: [2]
366375
unicorn/no-nested-ternary: [0]
376+
unicorn/no-new-array: [0]
367377
unicorn/no-new-buffer: [0]
368378
unicorn/no-null: [0]
369379
unicorn/no-object-as-default-parameter: [2]
370380
unicorn/no-process-exit: [0]
371381
unicorn/no-reduce: [2]
382+
unicorn/no-static-only-class: [2]
383+
unicorn/no-this-assignment: [2]
372384
unicorn/no-unreadable-array-destructuring: [0]
373385
unicorn/no-unsafe-regex: [0]
374386
unicorn/no-unused-properties: [2]
@@ -378,24 +390,33 @@ rules:
378390
unicorn/numeric-separators-style: [0]
379391
unicorn/prefer-add-event-listener: [2]
380392
unicorn/prefer-array-find: [2]
393+
unicorn/prefer-array-flat-map: [2]
394+
unicorn/prefer-array-flat: [2]
395+
unicorn/prefer-array-index-of: [2]
396+
unicorn/prefer-array-some: [2]
381397
unicorn/prefer-dataset: [2]
382398
unicorn/prefer-date-now: [2]
399+
unicorn/prefer-default-parameters: [0]
383400
unicorn/prefer-event-key: [2]
384401
unicorn/prefer-includes: [2]
385402
unicorn/prefer-math-trunc: [2]
386403
unicorn/prefer-modern-dom-apis: [0]
404+
unicorn/prefer-module: [2]
387405
unicorn/prefer-negative-index: [2]
388406
unicorn/prefer-node-append: [0]
407+
unicorn/prefer-node-protocol: [0]
389408
unicorn/prefer-node-remove: [0]
390409
unicorn/prefer-number-properties: [0]
391410
unicorn/prefer-optional-catch-binding: [2]
392411
unicorn/prefer-query-selector: [0]
393412
unicorn/prefer-reflect-apply: [0]
413+
unicorn/prefer-regexp-test: [2]
394414
unicorn/prefer-replace-all: [0]
395415
unicorn/prefer-set-has: [0]
396416
unicorn/prefer-spread: [0]
397417
unicorn/prefer-starts-ends-with: [2]
398418
unicorn/prefer-string-slice: [0]
419+
unicorn/prefer-switch: [0]
399420
unicorn/prefer-ternary: [0]
400421
unicorn/prefer-text-content: [2]
401422
unicorn/prefer-trim-start-end: [2]

.github/issue_template.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
<!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini -->
3131

3232
## Description
33+
<!-- If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please
34+
disable the proxy/CDN fully and connect to gitea directly to confirm
35+
the issue still persists without those services. -->
3336

3437
...
3538

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ _testmain.go
3232

3333
*coverage.out
3434
coverage.all
35+
cpu.out
3536

3637
/modules/options/bindata.go
3738
/modules/options/bindata.go.hash
@@ -75,11 +76,14 @@ coverage.all
7576
/integrations/mssql.ini
7677
/node_modules
7778
/yarn.lock
79+
/yarn-error.log
80+
/npm-debug.log*
7881
/public/js
7982
/public/serviceworker.js
8083
/public/css
8184
/public/fonts
8285
/public/img/webpack
86+
/web_src/fomantic/node_modules
8387
/web_src/fomantic/build/*
8488
!/web_src/fomantic/build/semantic.js
8589
!/web_src/fomantic/build/semantic.css
@@ -106,3 +110,6 @@ prime/
106110

107111
# Make evidence files
108112
/.make_evidence
113+
114+
# Manpage
115+
/man

.golangci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ linters-settings:
2626
gocritic:
2727
disabled-checks:
2828
- ifElseChain
29-
- singleCaseSwitch # Every time this occured in the code, there was no other way.
29+
- singleCaseSwitch # Every time this occurred in the code, there was no other way.
3030

3131
issues:
3232
exclude-rules:
@@ -110,3 +110,7 @@ issues:
110110
- text: "exitAfterDefer:"
111111
linters:
112112
- gocritic
113+
- path: modules/graceful/manager_windows.go
114+
linters:
115+
- staticcheck
116+
text: "svc.IsAnInteractiveSession is deprecated: Use IsWindowsService instead."

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
audit=false
22
fund=false
3+
update-notifier=false
34
package-lock=true
45
save-exact=true

0 commit comments

Comments
 (0)