forked from vikunja/frontend
Compare commits
30 Commits
e948678e42
...
67e7b94f5d
Author | SHA1 | Date | |
---|---|---|---|
67e7b94f5d | |||
6bbddeae8c | |||
94a0e1e25f | |||
4df9bc33df | |||
5c64e8a2d7 | |||
e10791f28c | |||
44b58ff34b | |||
da17f78d30 | |||
61cdb7a91f | |||
1b8ed9417a | |||
4657da8c90 | |||
6cd2908040 | |||
4dd99ae6fc | |||
0d5fa1326d | |||
dd692de7c4 | |||
|
93d95b0821 | ||
|
422e731fe0 | ||
|
7db79ff04e | ||
59cc241226 | |||
2ac2e95cf2 | |||
f8ce3d6ed6 | |||
93f33d9647 | |||
6d32b22da3 | |||
b333898595 | |||
ccc633f3d9 | |||
d39b0675d3 | |||
274092bfc4 | |||
cb2c032e60 | |||
fdf294bcb3 | |||
58baa5960c |
42
package.json
42
package.json
|
@ -23,20 +23,20 @@
|
||||||
"@fortawesome/free-solid-svg-icons": "6.2.1",
|
"@fortawesome/free-solid-svg-icons": "6.2.1",
|
||||||
"@fortawesome/vue-fontawesome": "3.0.2",
|
"@fortawesome/vue-fontawesome": "3.0.2",
|
||||||
"@github/hotkey": "2.0.1",
|
"@github/hotkey": "2.0.1",
|
||||||
"@infectoone/vue-ganttastic": "2.1.2",
|
"@infectoone/vue-ganttastic": "2.1.3",
|
||||||
"@kyvg/vue3-notification": "2.6.1",
|
"@kyvg/vue3-notification": "2.6.1",
|
||||||
"@sentry/tracing": "7.20.0",
|
"@sentry/tracing": "7.21.1",
|
||||||
"@sentry/vue": "7.20.0",
|
"@sentry/vue": "7.21.1",
|
||||||
"@types/is-touch-device": "1.0.0",
|
"@types/is-touch-device": "1.0.0",
|
||||||
"@types/lodash.clonedeep": "4.5.7",
|
"@types/lodash.clonedeep": "4.5.7",
|
||||||
"@types/sortablejs": "1.15.0",
|
"@types/sortablejs": "1.15.0",
|
||||||
"@vueuse/core": "9.5.0",
|
"@vueuse/core": "9.6.0",
|
||||||
"@vueuse/router": "9.5.0",
|
"@vueuse/router": "9.6.0",
|
||||||
"axios": "0.27.2",
|
"axios": "0.27.2",
|
||||||
"blurhash": "2.0.4",
|
"blurhash": "2.0.4",
|
||||||
"bulma-css-variables": "0.9.33",
|
"bulma-css-variables": "0.9.33",
|
||||||
"camel-case": "4.1.2",
|
"camel-case": "4.1.2",
|
||||||
"codemirror": "5.65.9",
|
"codemirror": "5.65.10",
|
||||||
"date-fns": "2.29.3",
|
"date-fns": "2.29.3",
|
||||||
"dayjs": "1.11.6",
|
"dayjs": "1.11.6",
|
||||||
"dompurify": "2.4.1",
|
"dompurify": "2.4.1",
|
||||||
|
@ -45,13 +45,13 @@
|
||||||
"flatpickr": "4.6.13",
|
"flatpickr": "4.6.13",
|
||||||
"flexsearch": "0.7.21",
|
"flexsearch": "0.7.21",
|
||||||
"floating-vue": "2.0.0-beta.20",
|
"floating-vue": "2.0.0-beta.20",
|
||||||
"highlight.js": "11.6.0",
|
"highlight.js": "11.7.0",
|
||||||
"is-touch-device": "1.0.1",
|
"is-touch-device": "1.0.1",
|
||||||
"lodash.clonedeep": "4.5.0",
|
"lodash.clonedeep": "4.5.0",
|
||||||
"lodash.debounce": "4.0.8",
|
"lodash.debounce": "4.0.8",
|
||||||
"marked": "4.2.2",
|
"marked": "4.2.3",
|
||||||
"minimist": "1.2.7",
|
"minimist": "1.2.7",
|
||||||
"pinia": "2.0.24",
|
"pinia": "2.0.26",
|
||||||
"register-service-worker": "1.7.2",
|
"register-service-worker": "1.7.2",
|
||||||
"snake-case": "3.0.4",
|
"snake-case": "3.0.4",
|
||||||
"sortablejs": "1.15.0",
|
"sortablejs": "1.15.0",
|
||||||
|
@ -65,9 +65,9 @@
|
||||||
"zhyswan-vuedraggable": "4.1.3"
|
"zhyswan-vuedraggable": "4.1.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@4tw/cypress-drag-drop": "2.2.1",
|
"@4tw/cypress-drag-drop": "2.2.2",
|
||||||
"@cypress/vite-dev-server": "4.0.1",
|
"@cypress/vite-dev-server": "4.0.1",
|
||||||
"@cypress/vue": "5.0.1",
|
"@cypress/vue": "5.0.2",
|
||||||
"@faker-js/faker": "7.6.0",
|
"@faker-js/faker": "7.6.0",
|
||||||
"@rushstack/eslint-patch": "1.2.0",
|
"@rushstack/eslint-patch": "1.2.0",
|
||||||
"@types/codemirror": "5.60.5",
|
"@types/codemirror": "5.60.5",
|
||||||
|
@ -77,38 +77,38 @@
|
||||||
"@types/marked": "4.0.7",
|
"@types/marked": "4.0.7",
|
||||||
"@types/node": "18.11.9",
|
"@types/node": "18.11.9",
|
||||||
"@types/postcss-preset-env": "7.7.0",
|
"@types/postcss-preset-env": "7.7.0",
|
||||||
"@typescript-eslint/eslint-plugin": "5.43.0",
|
"@typescript-eslint/eslint-plugin": "5.44.0",
|
||||||
"@typescript-eslint/parser": "5.43.0",
|
"@typescript-eslint/parser": "5.44.0",
|
||||||
"@vitejs/plugin-legacy": "2.3.1",
|
"@vitejs/plugin-legacy": "2.3.1",
|
||||||
"@vitejs/plugin-vue": "3.2.0",
|
"@vitejs/plugin-vue": "3.2.0",
|
||||||
"@vue/eslint-config-typescript": "11.0.2",
|
"@vue/eslint-config-typescript": "11.0.2",
|
||||||
"@vue/test-utils": "2.2.3",
|
"@vue/test-utils": "2.2.4",
|
||||||
"@vue/tsconfig": "0.1.3",
|
"@vue/tsconfig": "0.1.3",
|
||||||
"autoprefixer": "10.4.13",
|
"autoprefixer": "10.4.13",
|
||||||
"browserslist": "4.21.4",
|
"browserslist": "4.21.4",
|
||||||
"caniuse-lite": "1.0.30001431",
|
"caniuse-lite": "1.0.30001431",
|
||||||
"csstype": "3.1.1",
|
"csstype": "3.1.1",
|
||||||
"cypress": "11.1.0",
|
"cypress": "11.2.0",
|
||||||
"esbuild": "0.15.14",
|
"esbuild": "0.15.16",
|
||||||
"eslint": "8.28.0",
|
"eslint": "8.28.0",
|
||||||
"eslint-plugin-vue": "9.7.0",
|
"eslint-plugin-vue": "9.8.0",
|
||||||
"express": "4.18.2",
|
"express": "4.18.2",
|
||||||
"happy-dom": "7.7.0",
|
"happy-dom": "7.7.0",
|
||||||
"netlify-cli": "12.1.1",
|
"netlify-cli": "12.2.4",
|
||||||
"postcss": "8.4.19",
|
"postcss": "8.4.19",
|
||||||
"postcss-preset-env": "7.8.3",
|
"postcss-preset-env": "7.8.3",
|
||||||
"rollup": "3.3.0",
|
"rollup": "3.5.0",
|
||||||
"rollup-plugin-visualizer": "5.8.3",
|
"rollup-plugin-visualizer": "5.8.3",
|
||||||
"sass": "1.56.1",
|
"sass": "1.56.1",
|
||||||
"typescript": "4.9.3",
|
"typescript": "4.9.3",
|
||||||
"vite": "3.2.4",
|
"vite": "3.2.4",
|
||||||
"vite-plugin-pwa": "0.13.3",
|
"vite-plugin-pwa": "0.13.3",
|
||||||
"vite-svg-loader": "3.6.0",
|
"vite-svg-loader": "3.6.0",
|
||||||
"vitest": "0.25.2",
|
"vitest": "0.25.3",
|
||||||
"vue-tsc": "1.0.9",
|
"vue-tsc": "1.0.9",
|
||||||
"wait-on": "6.0.1",
|
"wait-on": "6.0.1",
|
||||||
"workbox-cli": "6.5.4"
|
"workbox-cli": "6.5.4"
|
||||||
},
|
},
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"packageManager": "pnpm@7.16.1"
|
"packageManager": "pnpm@7.17.1"
|
||||||
}
|
}
|
||||||
|
|
578
pnpm-lock.yaml
578
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,4 @@
|
||||||
const {exec} = require('child_process')
|
const { exec } = require('child_process')
|
||||||
const axios = require('axios')
|
|
||||||
|
|
||||||
const BOT_USER_ID = 513
|
const BOT_USER_ID = 513
|
||||||
const giteaToken = process.env.GITEA_TOKEN
|
const giteaToken = process.env.GITEA_TOKEN
|
||||||
|
@ -35,7 +34,7 @@ const promiseExec = cmd => {
|
||||||
stdout = await promiseExec(`./node_modules/.bin/netlify deploy --alias ${alias}`)
|
stdout = await promiseExec(`./node_modules/.bin/netlify deploy --alias ${alias}`)
|
||||||
console.log(stdout)
|
console.log(stdout)
|
||||||
|
|
||||||
const {data} = await axios.get(prIssueCommentsUrl)
|
const data = await fetch(prIssueCommentsUrl).then(response => response.json())
|
||||||
const hasComment = data.some(c => c.user.id === BOT_USER_ID)
|
const hasComment = data.some(c => c.user.id === BOT_USER_ID)
|
||||||
|
|
||||||
if (hasComment) {
|
if (hasComment) {
|
||||||
|
@ -43,8 +42,7 @@ const promiseExec = cmd => {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
await axios.post(prIssueCommentsUrl, {
|
const message = `
|
||||||
body: `
|
|
||||||
Hi ${process.env.DRONE_COMMIT_AUTHOR}!
|
Hi ${process.env.DRONE_COMMIT_AUTHOR}!
|
||||||
|
|
||||||
Thank you for creating a PR!
|
Thank you for creating a PR!
|
||||||
|
@ -57,14 +55,25 @@ You will need to manually connect this to an api running somehwere. The easiest
|
||||||
Have a nice day!
|
Have a nice day!
|
||||||
|
|
||||||
> Beep boop, I'm a bot.
|
> Beep boop, I'm a bot.
|
||||||
`,
|
`
|
||||||
}, {
|
|
||||||
headers: {
|
|
||||||
'Content-Type': 'application/json',
|
|
||||||
'accept': 'application/json',
|
|
||||||
'Authorization': `token ${giteaToken}`,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
console.log(`Preview comment sent successfully to PR #${prNumber}!`)
|
try {
|
||||||
|
const response = await fetch(prIssueCommentsUrl, {
|
||||||
|
method: 'POST',
|
||||||
|
body: JSON.stringify({
|
||||||
|
body: message,
|
||||||
|
}),
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
'accept': 'application/json',
|
||||||
|
'Authorization': `token ${giteaToken}`,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
if (!response.ok) {
|
||||||
|
throw new Error(`HTTP error, status = ${response.status}`)
|
||||||
|
}
|
||||||
|
console.log(`Preview comment sent successfully to PR #${prNumber}!`)
|
||||||
|
} catch (e) {
|
||||||
|
console.log(`Could not send preview comment to PR #${prNumber}! ${e.message}`)
|
||||||
|
}
|
||||||
})()
|
})()
|
|
@ -1 +1 @@
|
||||||
bb46342a0a08105b340ba7976cff9d80ef89901120ec0639669caa70bb7d2dbc43e78b1f635a7654ab2456e8358c98a4 ./scripts/deploy-preview-netlify.js
|
05c69e5323a4d4bac041ade830735becd52c230277396d1f72be8fde83683a75dc095f6678804083b2ca66f27cc7995f ./scripts/deploy-preview-netlify.js
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -285,8 +285,8 @@
|
||||||
"default": "Predefinito",
|
"default": "Predefinito",
|
||||||
"month": "Mese",
|
"month": "Mese",
|
||||||
"day": "Giorno",
|
"day": "Giorno",
|
||||||
"hour": "Hour",
|
"hour": "Ora",
|
||||||
"range": "Date Range",
|
"range": "Intervallo date",
|
||||||
"noDates": "Questa attività non ha date impostate."
|
"noDates": "Questa attività non ha date impostate."
|
||||||
},
|
},
|
||||||
"table": {
|
"table": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<ListWrapper
|
<ListWrapper
|
||||||
class="list-kanban"
|
class="list-kanban"
|
||||||
:list-id="listId"
|
:list-id="listId"
|
||||||
viewName="kanban"
|
viewName="kanban"
|
||||||
|
@ -344,6 +344,9 @@ watch(
|
||||||
params: params.value,
|
params: params.value,
|
||||||
}),
|
}),
|
||||||
({listId, params}) => {
|
({listId, params}) => {
|
||||||
|
if (listId === undefined) {
|
||||||
|
return
|
||||||
|
}
|
||||||
collapsedBuckets.value = getCollapsedBucketState(listId)
|
collapsedBuckets.value = getCollapsedBucketState(listId)
|
||||||
kanbanStore.loadBucketsForList({listId, params})
|
kanbanStore.loadBucketsForList({listId, params})
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": "@vue/tsconfig/tsconfig.web.json",
|
"extends": "@vue/tsconfig/tsconfig.web.json",
|
||||||
"include": ["env.d.ts", "src/**/*.d.ts", "src/**/*", "src/**/*.vue", "src/i18n/lang/*.json"],
|
"include": ["env.d.ts", "src/**/*.d.ts", "src/**/*", "src/**/*.vue", "src/**/*.json"],
|
||||||
"exclude": ["src/**/__tests__/*"],
|
"exclude": ["src/**/__tests__/*"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user