Merge branch 'origin/main' into 'next-release/main'

This commit is contained in:
oauth 2024-11-18 07:05:54 +00:00
commit a3620cb541
11 changed files with 2453 additions and 2415 deletions

View file

@ -2,7 +2,6 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>woodpecker-ci/renovate-config"], "extends": ["github>woodpecker-ci/renovate-config"],
"automergeType": "pr", "automergeType": "pr",
"enabledManagers": ["woodpecker"],
"customManagers": [ "customManagers": [
{ {
"customType": "regex", "customType": "regex",

View file

@ -10,7 +10,7 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/golangci/golangci-lint - repo: https://github.com/golangci/golangci-lint
rev: v1.61.0 rev: v1.62.0
hooks: hooks:
- id: golangci-lint - id: golangci-lint
- repo: https://github.com/igorshubovych/markdownlint-cli - repo: https://github.com/igorshubovych/markdownlint-cli

View file

@ -40,7 +40,7 @@ CGO_ENABLED ?= 1 # only used to compile server
HAS_GO = $(shell hash go > /dev/null 2>&1 && echo "GO" || echo "NOGO" ) HAS_GO = $(shell hash go > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
ifeq ($(HAS_GO),GO) ifeq ($(HAS_GO),GO)
# renovate: datasource=docker depName=docker.io/techknowlogick/xgo # renovate: datasource=docker depName=docker.io/techknowlogick/xgo
XGO_VERSION ?= go-1.22.x XGO_VERSION ?= go-1.23.x
CGO_CFLAGS ?= $(shell go env CGO_CFLAGS) CGO_CFLAGS ?= $(shell go env CGO_CFLAGS)
endif endif
CGO_CFLAGS ?= CGO_CFLAGS ?=

View file

@ -3,7 +3,7 @@ version: '3'
services: services:
gitea-database: gitea-database:
image: postgres:17.0-alpine image: postgres:17.1-alpine
environment: environment:
POSTGRES_USER: gitea POSTGRES_USER: gitea
POSTGRES_PASSWORD: 123456 POSTGRES_PASSWORD: 123456

View file

@ -14,9 +14,9 @@
"write-heading-ids": "docusaurus write-heading-ids" "write-heading-ids": "docusaurus write-heading-ids"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "^3.5.2", "@docusaurus/core": "^3.6.1",
"@docusaurus/plugin-content-blog": "^3.5.2", "@docusaurus/plugin-content-blog": "^3.6.1",
"@docusaurus/preset-classic": "^3.5.2", "@docusaurus/preset-classic": "^3.6.1",
"@easyops-cn/docusaurus-search-local": "^0.45.0", "@easyops-cn/docusaurus-search-local": "^0.45.0",
"@mdx-js/react": "^3.1.0", "@mdx-js/react": "^3.1.0",
"@svgr/webpack": "^8.1.0", "@svgr/webpack": "^8.1.0",
@ -26,7 +26,7 @@
"prism-react-renderer": "^2.4.0", "prism-react-renderer": "^2.4.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"redocusaurus": "^2.1.2", "redocusaurus": "^2.2.0",
"url-loader": "^4.1.1" "url-loader": "^4.1.1"
}, },
"browserslist": { "browserslist": {
@ -42,10 +42,10 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@docusaurus/module-type-aliases": "^3.5.2", "@docusaurus/module-type-aliases": "^3.6.1",
"@docusaurus/tsconfig": "3.5.2", "@docusaurus/tsconfig": "3.6.1",
"@docusaurus/types": "^3.5.2", "@docusaurus/types": "^3.6.1",
"@types/node": "^20.17.1", "@types/node": "^22.9.0",
"@types/react": "^18.3.12", "@types/react": "^18.3.12",
"@types/react-helmet": "^6.1.11", "@types/react-helmet": "^6.1.11",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",

View file

@ -10,17 +10,17 @@
"style": "mkdir -p dist/theme/ && cp src/theme/style.css dist/theme/style.css" "style": "mkdir -p dist/theme/ && cp src/theme/style.css dist/theme/style.css"
}, },
"devDependencies": { "devDependencies": {
"@docusaurus/module-type-aliases": "^3.3.2", "@docusaurus/module-type-aliases": "^3.6.1",
"@docusaurus/theme-classic": "^3.3.2", "@docusaurus/theme-classic": "^3.6.1",
"@docusaurus/types": "^3.3.2", "@docusaurus/types": "^3.6.1",
"@tsconfig/docusaurus": "^2.0.3", "@tsconfig/docusaurus": "^2.0.3",
"@types/node": "^20.12.13", "@types/node": "^22.9.0",
"axios": "^1.7.2", "axios": "^1.7.7",
"concurrently": "^9.0.0", "concurrently": "^9.1.0",
"isomorphic-dompurify": "^2.11.0", "isomorphic-dompurify": "^2.16.0",
"marked": "^14.0.0", "marked": "^15.0.0",
"tslib": "^2.6.2", "tslib": "^2.8.1",
"typescript": "^5.4.5" "typescript": "^5.6.3"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^17.0.2 || ^18.0.0", "react": "^17.0.2 || ^18.0.0",
@ -28,6 +28,6 @@
}, },
"dependencies": { "dependencies": {
"fuse.js": "^7.0.0", "fuse.js": "^7.0.0",
"yaml": "^2.4.2" "yaml": "^2.6.0"
} }
} }

View file

@ -224,6 +224,11 @@
"name": "EditorConfig Checker", "name": "EditorConfig Checker",
"docs": "https://codeberg.org/woodpecker-plugins/editorconfig-checker/raw/branch/main/docs.md", "docs": "https://codeberg.org/woodpecker-plugins/editorconfig-checker/raw/branch/main/docs.md",
"verified": true "verified": true
},
{
"name": "Microsoft Teams Notify",
"docs": "https://raw.githubusercontent.com/GECO-IT/woodpecker-plugin-teams-notify/refs/heads/main/docs.md",
"verified": false
} }
] ]
} }

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@
"test": "vitest" "test": "vitest"
}, },
"dependencies": { "dependencies": {
"@intlify/unplugin-vue-i18n": "^5.0.0", "@intlify/unplugin-vue-i18n": "^6.0.0",
"@kyvg/vue3-notification": "^3.2.1", "@kyvg/vue3-notification": "^3.2.1",
"@mdi/js": "^7.4.47", "@mdi/js": "^7.4.47",
"@vueuse/core": "^11.0.0", "@vueuse/core": "^11.0.0",
@ -45,7 +45,7 @@
"@intlify/eslint-plugin-vue-i18n": "3.0.0", "@intlify/eslint-plugin-vue-i18n": "3.0.0",
"@types/eslint__js": "^8.42.3", "@types/eslint__js": "^8.42.3",
"@types/lodash": "^4.17.7", "@types/lodash": "^4.17.7",
"@types/node": "^20.14.15", "@types/node": "^22.0.0",
"@types/prismjs": "^1.26.4", "@types/prismjs": "^1.26.4",
"@types/semver": "^7.5.8", "@types/semver": "^7.5.8",
"@types/tinycolor2": "^1.4.6", "@types/tinycolor2": "^1.4.6",

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,7 @@
> >
<div v-if="pipelineCount > 0" class="spinner" /> <div v-if="pipelineCount > 0" class="spinner" />
<div <div
class="z-1 flex items-center justify-center h-full w-full font-bold bg-white bg-opacity-15 dark:bg-black dark:bg-opacity-10 rounded-md" class="z-0 flex items-center justify-center h-full w-full font-bold bg-white bg-opacity-15 dark:bg-black dark:bg-opacity-10 rounded-md"
> >
<!-- eslint-disable-next-line @intlify/vue-i18n/no-raw-text --> <!-- eslint-disable-next-line @intlify/vue-i18n/no-raw-text -->
{{ pipelineCount > 9 ? '9+' : pipelineCount }} {{ pipelineCount > 9 ? '9+' : pipelineCount }}
@ -31,17 +31,17 @@ onMounted(async () => {
</script> </script>
<style scoped> <style scoped>
@keyframes spinner-rotate { @keyframes rotate {
100% { 100% {
transform: rotate(1turn); transform: rotate(1turn);
} }
} }
.spinner { .spinner {
@apply absolute z-0 inset-1.5 rounded-md; @apply absolute inset-1.5 rounded-md;
overflow: hidden; overflow: hidden;
} }
.spinner::before { .spinner::before {
@apply absolute -z-2 bg-wp-primary-200 dark:bg-wp-primary-300; @apply absolute bg-wp-primary-200 dark:bg-wp-primary-300;
content: ''; content: '';
left: -50%; left: -50%;
top: -50%; top: -50%;
@ -51,11 +51,16 @@ onMounted(async () => {
background-size: background-size:
50% 50%, 50% 50%,
50% 50%; 50% 50%;
background-image: linear-gradient(#fff, transparent); background-image: linear-gradient(#fff, #fff);
animation: spinner-rotate 1.5s linear infinite; animation: rotate 1.5s linear infinite;
} }
.spinner::after { .spinner::after {
@apply absolute inset-0.5 rounded-md bg-blend-darken bg-wp-primary-200 dark:bg-wp-primary-300; @apply absolute inset-0.5 bg-wp-primary-200 dark:bg-wp-primary-300;
/*
The nested border radius needs to be calculated correctly to look right:
https://www.30secondsofcode.org/css/s/nested-border-radius/
*/
border-radius: calc(0.375rem - 0.125rem);
content: ''; content: '';
} }
</style> </style>