Skip to content

Commit 21328f6

Browse files
committed
fix conflicts
2 parents 141b885 + a5bdcfc commit 21328f6

File tree

280 files changed

+3125
-3688
lines changed

Some content is hidden

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

280 files changed

+3125
-3688
lines changed

.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

.eslintrc.yaml

Lines changed: 103 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ parserOptions:
1111
plugins:
1212
- "@eslint-community/eslint-plugin-eslint-comments"
1313
- eslint-plugin-array-func
14-
- eslint-plugin-import
14+
- eslint-plugin-i
1515
- eslint-plugin-jquery
1616
- eslint-plugin-no-jquery
1717
- eslint-plugin-no-use-extend-native
1818
- eslint-plugin-regexp
1919
- eslint-plugin-sonarjs
2020
- eslint-plugin-unicorn
21+
- eslint-plugin-vitest
2122
- eslint-plugin-vitest-globals
2223
- eslint-plugin-wc
2324

@@ -41,14 +42,64 @@ overrides:
4142
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]
4243
- files: ["build/generate-images.js"]
4344
rules:
44-
import/no-unresolved: [0]
45-
import/no-extraneous-dependencies: [0]
45+
i/no-unresolved: [0]
46+
i/no-extraneous-dependencies: [0]
4647
- files: ["*.config.*"]
4748
rules:
48-
import/no-unused-modules: [0]
49+
i/no-unused-modules: [0]
4950
- files: ["**/*.test.*", "web_src/js/test/setup.js"]
5051
env:
5152
vitest-globals/env: true
53+
rules:
54+
vitest/consistent-test-filename: [0]
55+
vitest/consistent-test-it: [0]
56+
vitest/expect-expect: [0]
57+
vitest/max-expects: [0]
58+
vitest/max-nested-describe: [0]
59+
vitest/no-alias-methods: [0]
60+
vitest/no-commented-out-tests: [0]
61+
vitest/no-conditional-expect: [0]
62+
vitest/no-conditional-in-test: [0]
63+
vitest/no-conditional-tests: [0]
64+
vitest/no-disabled-tests: [0]
65+
vitest/no-done-callback: [0]
66+
vitest/no-duplicate-hooks: [0]
67+
vitest/no-focused-tests: [0]
68+
vitest/no-hooks: [0]
69+
vitest/no-identical-title: [2]
70+
vitest/no-interpolation-in-snapshots: [0]
71+
vitest/no-large-snapshots: [0]
72+
vitest/no-mocks-import: [0]
73+
vitest/no-restricted-matchers: [0]
74+
vitest/no-restricted-vi-methods: [0]
75+
vitest/no-standalone-expect: [0]
76+
vitest/no-test-prefixes: [0]
77+
vitest/no-test-return-statement: [0]
78+
vitest/prefer-called-with: [0]
79+
vitest/prefer-comparison-matcher: [0]
80+
vitest/prefer-each: [0]
81+
vitest/prefer-equality-matcher: [0]
82+
vitest/prefer-expect-resolves: [0]
83+
vitest/prefer-hooks-in-order: [0]
84+
vitest/prefer-hooks-on-top: [2]
85+
vitest/prefer-lowercase-title: [0]
86+
vitest/prefer-mock-promise-shorthand: [0]
87+
vitest/prefer-snapshot-hint: [0]
88+
vitest/prefer-spy-on: [0]
89+
vitest/prefer-strict-equal: [0]
90+
vitest/prefer-to-be: [0]
91+
vitest/prefer-to-be-falsy: [0]
92+
vitest/prefer-to-be-object: [0]
93+
vitest/prefer-to-be-truthy: [0]
94+
vitest/prefer-to-contain: [0]
95+
vitest/prefer-to-have-length: [0]
96+
vitest/prefer-todo: [0]
97+
vitest/require-hook: [0]
98+
vitest/require-to-throw-message: [0]
99+
vitest/require-top-level-describe: [0]
100+
vitest/valid-describe-callback: [2]
101+
vitest/valid-expect: [2]
102+
vitest/valid-title: [2]
52103
- files: ["web_src/js/modules/fetch.js", "web_src/js/standalone/**/*"]
53104
rules:
54105
no-restricted-syntax: [2, WithStatement, ForInStatement, LabeledStatement, SequenceExpression]
@@ -113,49 +164,49 @@ rules:
113164
id-length: [0]
114165
id-match: [0]
115166
implicit-arrow-linebreak: [0]
116-
import/consistent-type-specifier-style: [0]
117-
import/default: [0]
118-
import/dynamic-import-chunkname: [0]
119-
import/export: [2]
120-
import/exports-last: [0]
121-
import/extensions: [2, always, {ignorePackages: true}]
122-
import/first: [2]
123-
import/group-exports: [0]
124-
import/max-dependencies: [0]
125-
import/named: [2]
126-
import/namespace: [0]
127-
import/newline-after-import: [0]
128-
import/no-absolute-path: [0]
129-
import/no-amd: [2]
130-
import/no-anonymous-default-export: [0]
131-
import/no-commonjs: [2]
132-
import/no-cycle: [2, {ignoreExternal: true, maxDepth: 1}]
133-
import/no-default-export: [0]
134-
import/no-deprecated: [0]
135-
import/no-dynamic-require: [0]
136-
import/no-empty-named-blocks: [2]
137-
import/no-extraneous-dependencies: [2]
138-
import/no-import-module-exports: [0]
139-
import/no-internal-modules: [0]
140-
import/no-mutable-exports: [0]
141-
import/no-named-as-default-member: [0]
142-
import/no-named-as-default: [2]
143-
import/no-named-default: [0]
144-
import/no-named-export: [0]
145-
import/no-namespace: [0]
146-
import/no-nodejs-modules: [0]
147-
import/no-relative-packages: [0]
148-
import/no-relative-parent-imports: [0]
149-
import/no-restricted-paths: [0]
150-
import/no-self-import: [2]
151-
import/no-unassigned-import: [0]
152-
import/no-unresolved: [2, {commonjs: true, ignore: ["\\?.+$", ^vitest/]}]
153-
import/no-unused-modules: [2, {unusedExports: true}]
154-
import/no-useless-path-segments: [2, {commonjs: true}]
155-
import/no-webpack-loader-syntax: [2]
156-
import/order: [0]
157-
import/prefer-default-export: [0]
158-
import/unambiguous: [0]
167+
i/consistent-type-specifier-style: [0]
168+
i/default: [0]
169+
i/dynamic-import-chunkname: [0]
170+
i/export: [2]
171+
i/exports-last: [0]
172+
i/extensions: [2, always, {ignorePackages: true}]
173+
i/first: [2]
174+
i/group-exports: [0]
175+
i/max-dependencies: [0]
176+
i/named: [2]
177+
i/namespace: [0]
178+
i/newline-after-import: [0]
179+
i/no-absolute-path: [0]
180+
i/no-amd: [2]
181+
i/no-anonymous-default-export: [0]
182+
i/no-commonjs: [2]
183+
i/no-cycle: [2, {ignoreExternal: true, maxDepth: 1}]
184+
i/no-default-export: [0]
185+
i/no-deprecated: [0]
186+
i/no-dynamic-require: [0]
187+
i/no-empty-named-blocks: [2]
188+
i/no-extraneous-dependencies: [2]
189+
i/no-import-module-exports: [0]
190+
i/no-internal-modules: [0]
191+
i/no-mutable-exports: [0]
192+
i/no-named-as-default-member: [0]
193+
i/no-named-as-default: [2]
194+
i/no-named-default: [0]
195+
i/no-named-export: [0]
196+
i/no-namespace: [0]
197+
i/no-nodejs-modules: [0]
198+
i/no-relative-packages: [0]
199+
i/no-relative-parent-imports: [0]
200+
i/no-restricted-paths: [0]
201+
i/no-self-import: [2]
202+
i/no-unassigned-import: [0]
203+
i/no-unresolved: [2, {commonjs: true, ignore: ["\\?.+$", ^vitest/]}]
204+
i/no-unused-modules: [2, {unusedExports: true}]
205+
i/no-useless-path-segments: [2, {commonjs: true}]
206+
i/no-webpack-loader-syntax: [2]
207+
i/order: [0]
208+
i/prefer-default-export: [0]
209+
i/unambiguous: [0]
159210
indent: [2, 2, {SwitchCase: 1}]
160211
init-declarations: [0]
161212
jquery/no-ajax-events: [2]
@@ -501,6 +552,7 @@ rules:
501552
regexp/no-empty-character-class: [0]
502553
regexp/no-empty-group: [2]
503554
regexp/no-empty-lookarounds-assertion: [2]
555+
regexp/no-empty-string-literal: [2]
504556
regexp/no-escape-backspace: [2]
505557
regexp/no-extra-lookaround-assertions: [0]
506558
regexp/no-invalid-regexp: [2]
@@ -531,6 +583,8 @@ rules:
531583
regexp/no-useless-non-capturing-group: [2]
532584
regexp/no-useless-quantifier: [2]
533585
regexp/no-useless-range: [2]
586+
regexp/no-useless-set-operand: [2]
587+
regexp/no-useless-string-literal: [2]
534588
regexp/no-useless-two-nums-quantifier: [2]
535589
regexp/no-zero-quantifier: [2]
536590
regexp/optimal-lookaround-quantifier: [2]
@@ -550,10 +604,12 @@ rules:
550604
regexp/prefer-regexp-exec: [2]
551605
regexp/prefer-regexp-test: [2]
552606
regexp/prefer-result-array-groups: [0]
607+
regexp/prefer-set-operation: [2]
553608
regexp/prefer-star-quantifier: [2]
554609
regexp/prefer-unicode-codepoint-escapes: [2]
555610
regexp/prefer-w: [0]
556611
regexp/require-unicode-regexp: [0]
612+
regexp/simplify-set-operations: [2]
557613
regexp/sort-alternatives: [0]
558614
regexp/sort-character-class-elements: [0]
559615
regexp/sort-flags: [0]

.github/workflows/cron-licenses.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-go@v4
1515
with:
16-
go-version: "~1.21"
16+
go-version-file: go.mod
1717
check-latest: true
1818
- run: make generate-license generate-gitignore
1919
timeout-minutes: 40

.github/workflows/disk-clean.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@ jobs:
1212
- name: same as 'large-packages' but without 'google-cloud-sdk'
1313
shell: bash
1414
run: |
15-
sudo apt-get remove -y '^dotnet-.*'
16-
sudo apt-get remove -y '^llvm-.*'
17-
sudo apt-get remove -y 'php.*'
18-
sudo apt-get remove -y '^mongodb-.*'
19-
sudo apt-get remove -y '^mysql-.*'
20-
sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri
15+
sudo apt-get update
16+
sudo apt-get remove -y '^dotnet-.*' || true
17+
sudo apt-get remove -y '^llvm-.*' || true
18+
sudo apt-get remove -y 'php.*' || true
19+
sudo apt-get remove -y '^mongodb-.*' || true
20+
sudo apt-get remove -y '^mysql-.*' || true
21+
sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri || true
2122
sudo apt-get autoremove -y
2223
sudo apt-get clean
24+
env:
25+
DEBIAN_FRONTEND: noninteractive
2326
- name: Free Disk Space (Ubuntu)
2427
uses: jlumbroso/free-disk-space@main
2528
with:

.github/workflows/pull-compliance.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v4
2121
with:
22-
go-version: "~1.21"
22+
go-version-file: go.mod
2323
check-latest: true
2424
- run: make deps-backend deps-tools
2525
- run: make lint-backend
@@ -72,7 +72,7 @@ jobs:
7272
- uses: actions/checkout@v4
7373
- uses: actions/setup-go@v4
7474
with:
75-
go-version: "~1.21"
75+
go-version-file: go.mod
7676
check-latest: true
7777
- run: make deps-backend deps-tools
7878
- run: make lint-go-windows lint-go-vet
@@ -89,7 +89,7 @@ jobs:
8989
- uses: actions/checkout@v4
9090
- uses: actions/setup-go@v4
9191
with:
92-
go-version: "~1.21"
92+
go-version-file: go.mod
9393
check-latest: true
9494
- run: make deps-backend deps-tools
9595
- run: make lint-go
@@ -104,7 +104,7 @@ jobs:
104104
- uses: actions/checkout@v4
105105
- uses: actions/setup-go@v4
106106
with:
107-
go-version: "~1.21"
107+
go-version-file: go.mod
108108
check-latest: true
109109
- run: make deps-backend deps-tools
110110
- run: make --always-make checks-backend # ensure the "go-licenses" make target runs
@@ -132,7 +132,7 @@ jobs:
132132
- uses: actions/checkout@v4
133133
- uses: actions/setup-go@v4
134134
with:
135-
go-version: "~1.21"
135+
go-version-file: go.mod
136136
check-latest: true
137137
# no frontend build here as backend should be able to build
138138
# even without any frontend files
@@ -176,4 +176,7 @@ jobs:
176176
steps:
177177
- uses: actions/checkout@v4
178178
- uses: actions/setup-go@v4
179+
with:
180+
go-version-file: go.mod
181+
check-latest: true
179182
- run: make lint-actions

.github/workflows/pull-db-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/checkout@v4
4242
- uses: actions/setup-go@v4
4343
with:
44-
go-version: "~1.21"
44+
go-version-file: go.mod
4545
check-latest: true
4646
- name: Add hosts to /etc/hosts
4747
run: '[ -e "/.dockerenv" ] || [ -e "/run/.containerenv" ] || echo "127.0.0.1 pgsql ldap minio" | sudo tee -a /etc/hosts'
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/checkout@v4
6767
- uses: actions/setup-go@v4
6868
with:
69-
go-version: "~1.21"
69+
go-version-file: go.mod
7070
check-latest: true
7171
- run: make deps-backend
7272
- run: make backend
@@ -117,7 +117,7 @@ jobs:
117117
- uses: actions/checkout@v4
118118
- uses: actions/setup-go@v4
119119
with:
120-
go-version: "~1.21"
120+
go-version-file: go.mod
121121
check-latest: true
122122
- name: Add hosts to /etc/hosts
123123
run: '[ -e "/.dockerenv" ] || [ -e "/run/.containerenv" ] || echo "127.0.0.1 mysql elasticsearch meilisearch smtpimap" | sudo tee -a /etc/hosts'
@@ -167,7 +167,7 @@ jobs:
167167
- uses: actions/checkout@v4
168168
- uses: actions/setup-go@v4
169169
with:
170-
go-version: "~1.21"
170+
go-version-file: go.mod
171171
check-latest: true
172172
- name: Add hosts to /etc/hosts
173173
run: '[ -e "/.dockerenv" ] || [ -e "/run/.containerenv" ] || echo "127.0.0.1 mysql elasticsearch smtpimap" | sudo tee -a /etc/hosts'
@@ -200,7 +200,7 @@ jobs:
200200
- uses: actions/checkout@v4
201201
- uses: actions/setup-go@v4
202202
with:
203-
go-version: "~1.21"
203+
go-version-file: go.mod
204204
check-latest: true
205205
- name: Add hosts to /etc/hosts
206206
run: '[ -e "/.dockerenv" ] || [ -e "/run/.containerenv" ] || echo "127.0.0.1 mssql" | sudo tee -a /etc/hosts'

0 commit comments

Comments
 (0)