Merge branch 'main' into fix/vue3
# Conflicts: # src/views/list/settings/edit.vue
This commit is contained in:
commit
34d0f28678
15 changed files with 25 additions and 25 deletions
|
@ -127,7 +127,7 @@ steps:
|
||||||
- build-dev
|
- build-dev
|
||||||
|
|
||||||
- name: upload-test-results
|
- name: upload-test-results
|
||||||
image: plugins/s3:1
|
image: plugins/s3
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
bucket: drone-test-results
|
bucket: drone-test-results
|
||||||
|
@ -210,7 +210,7 @@ steps:
|
||||||
depends_on: [ build ]
|
depends_on: [ build ]
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/s3:1
|
image: plugins/s3
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
bucket: vikunja-releases
|
bucket: vikunja-releases
|
||||||
|
@ -285,7 +285,7 @@ steps:
|
||||||
depends_on: [ build ]
|
depends_on: [ build ]
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/s3:1
|
image: plugins/s3
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
bucket: vikunja-releases
|
bucket: vikunja-releases
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"baseUrl": "http://localhost:5000",
|
"baseUrl": "http://localhost:5000",
|
||||||
"env": {
|
"env": {
|
||||||
"API_URL": "http://localhost:3456/api/v1",
|
"API_URL": "http://localhost:3456/api/v1",
|
||||||
"TEST_SECRET": "testingS3cr3et"
|
"TEST_SECRET": "averyLongSecretToSe33dtheDB"
|
||||||
},
|
},
|
||||||
"video": false,
|
"video": false,
|
||||||
"retries": {
|
"retries": {
|
||||||
|
|
|
@ -2,10 +2,12 @@ version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
image: vikunja/api
|
image: vikunja/api:unstable
|
||||||
environment:
|
environment:
|
||||||
VIKUNJA_LOG_LEVEL: DEBUG
|
VIKUNJA_LOG_LEVEL: DEBUG
|
||||||
VIKUNJA_SERVICE_TESTINGTOKEN: averyLongSecretToSe33dtheDB
|
VIKUNJA_SERVICE_TESTINGTOKEN: averyLongSecretToSe33dtheDB
|
||||||
|
ports:
|
||||||
|
- 3456:3456
|
||||||
cypress:
|
cypress:
|
||||||
image: cypress/browsers:node12.18.3-chrome87-ff82
|
image: cypress/browsers:node12.18.3-chrome87-ff82
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "Diese Liste ist archiviert. Es ist nicht möglich, neue Aufgaben zu erstellen oder sie zu bearbeiten.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "Listentitel",
|
"title": "Listentitel",
|
||||||
"color": "Farbe",
|
"color": "Farbe",
|
||||||
"lists": "Listen",
|
"lists": "Listen",
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "Die Liste isch archiviert. Es isch nid möglich e neui Uufgab drin z'erstelle oder z'bearbeite.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "Liste Titl",
|
"title": "Liste Titl",
|
||||||
"color": "Farb",
|
"color": "Farb",
|
||||||
"lists": "Listene",
|
"lists": "Listene",
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "This list is archived. It is not possible to create new or edit tasks or it.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "List Title",
|
"title": "List Title",
|
||||||
"color": "Color",
|
"color": "Color",
|
||||||
"lists": "Lists",
|
"lists": "Lists",
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "This list is archived. It is not possible to create new or edit tasks or it.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "List Title",
|
"title": "List Title",
|
||||||
"color": "Color",
|
"color": "Color",
|
||||||
"lists": "Lists",
|
"lists": "Lists",
|
||||||
|
|
|
@ -98,8 +98,8 @@
|
||||||
"setSuccess": "Avatar défini."
|
"setSuccess": "Avatar défini."
|
||||||
},
|
},
|
||||||
"quickAddMagic": {
|
"quickAddMagic": {
|
||||||
"title": "Quick Add Magic Mode",
|
"title": "Ajout rapide en mode magique",
|
||||||
"disabled": "Disabled",
|
"disabled": "Désactivé",
|
||||||
"todoist": "Todoist",
|
"todoist": "Todoist",
|
||||||
"vikunja": "Vikunja"
|
"vikunja": "Vikunja"
|
||||||
}
|
}
|
||||||
|
@ -499,8 +499,8 @@
|
||||||
"doneSuccess": "Tâche marquée comme terminée.",
|
"doneSuccess": "Tâche marquée comme terminée.",
|
||||||
"undoneSuccess": "Tâche marquée comme non terminée.",
|
"undoneSuccess": "Tâche marquée comme non terminée.",
|
||||||
"openDetail": "Ouvrir la vue détaillée de la tâche",
|
"openDetail": "Ouvrir la vue détaillée de la tâche",
|
||||||
"checklistTotal": "{checked} of {total} tasks",
|
"checklistTotal": "{checked} sur {total} tâches",
|
||||||
"checklistAllDone": "{total} tasks",
|
"checklistAllDone": "{total} tâches",
|
||||||
"show": {
|
"show": {
|
||||||
"titleCurrent": "Tâches actuelles",
|
"titleCurrent": "Tâches actuelles",
|
||||||
"titleDates": "Tâches du {from} au {to}",
|
"titleDates": "Tâches du {from} au {to}",
|
||||||
|
@ -673,7 +673,7 @@
|
||||||
"label4": "Par exemple : {prefix}\"Étiquette avec espaces\".",
|
"label4": "Par exemple : {prefix}\"Étiquette avec espaces\".",
|
||||||
"priority1": "Pour définir la priorité d’une tâche, ajoutez un chiffre de 1 à 5, précédé d’un {prefix}.",
|
"priority1": "Pour définir la priorité d’une tâche, ajoutez un chiffre de 1 à 5, précédé d’un {prefix}.",
|
||||||
"priority2": "Plus le numéro est élevé, plus la priorité est élevée.",
|
"priority2": "Plus le numéro est élevé, plus la priorité est élevée.",
|
||||||
"assignees": "To directly assign the task to a user, add their username prefixed with {prefix} to the task.",
|
"assignees": "Pour assigner directement la tâche à un utilisateur, ajoutez son nom d'utilisateur préfixé avec {prefix} à la tâche.",
|
||||||
"list1": "Pour définir une liste dans laquelle la tâche doit apparaître, entrez son nom précédé de {prefix}.",
|
"list1": "Pour définir une liste dans laquelle la tâche doit apparaître, entrez son nom précédé de {prefix}.",
|
||||||
"list2": "Ceci renverra une erreur si la liste n’existe pas.",
|
"list2": "Ceci renverra une erreur si la liste n’existe pas.",
|
||||||
"dateAndTime": "Date et heure",
|
"dateAndTime": "Date et heure",
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "This list is archived. It is not possible to create new or edit tasks or it.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "List Title",
|
"title": "List Title",
|
||||||
"color": "Color",
|
"color": "Color",
|
||||||
"lists": "Lists",
|
"lists": "Lists",
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "This list is archived. It is not possible to create new or edit tasks or it.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "List Title",
|
"title": "List Title",
|
||||||
"color": "Color",
|
"color": "Color",
|
||||||
"lists": "Lists",
|
"lists": "Lists",
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "This list is archived. It is not possible to create new or edit tasks or it.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "List Title",
|
"title": "List Title",
|
||||||
"color": "Color",
|
"color": "Color",
|
||||||
"lists": "Lists",
|
"lists": "Lists",
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "This list is archived. It is not possible to create new or edit tasks or it.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "List Title",
|
"title": "List Title",
|
||||||
"color": "Color",
|
"color": "Color",
|
||||||
"lists": "Lists",
|
"lists": "Lists",
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "This list is archived. It is not possible to create new or edit tasks or it.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "List Title",
|
"title": "List Title",
|
||||||
"color": "Color",
|
"color": "Color",
|
||||||
"lists": "Lists",
|
"lists": "Lists",
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"archived": "Этот список архивирован. В нём нелья создавать или изменять задачи.",
|
"archived": "This list is archived. It is not possible to create new or edit tasks for it.",
|
||||||
"title": "Название списка",
|
"title": "Название списка",
|
||||||
"color": "Цвет",
|
"color": "Цвет",
|
||||||
"lists": "Списки",
|
"lists": "Списки",
|
||||||
|
|
|
@ -71,7 +71,6 @@ import AsyncEditor from '@/components/input/AsyncEditor'
|
||||||
import ListModel from '@/models/list'
|
import ListModel from '@/models/list'
|
||||||
import ListService from '@/services/list'
|
import ListService from '@/services/list'
|
||||||
import ColorPicker from '@/components/input/colorPicker.vue'
|
import ColorPicker from '@/components/input/colorPicker.vue'
|
||||||
import ListDuplicateService from '@/services/listDuplicateService'
|
|
||||||
import {CURRENT_LIST} from '@/store/mutation-types'
|
import {CURRENT_LIST} from '@/store/mutation-types'
|
||||||
import CreateEdit from '@/components/misc/create-edit.vue'
|
import CreateEdit from '@/components/misc/create-edit.vue'
|
||||||
|
|
||||||
|
@ -81,7 +80,6 @@ export default {
|
||||||
return {
|
return {
|
||||||
list: ListModel,
|
list: ListModel,
|
||||||
listService: new ListService(),
|
listService: new ListService(),
|
||||||
listDuplicateService: new ListDuplicateService(),
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
@ -101,9 +99,7 @@ export default {
|
||||||
|
|
||||||
this.listService.get(list)
|
this.listService.get(list)
|
||||||
.then(r => {
|
.then(r => {
|
||||||
this.list = r
|
this.list = { ...r }
|
||||||
this.$store.commit(CURRENT_LIST, r)
|
|
||||||
this.setTitle(this.$t('list.edit.title', {list: this.list.title}))
|
|
||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
this.$message.error(e)
|
this.$message.error(e)
|
||||||
|
@ -112,6 +108,8 @@ export default {
|
||||||
save() {
|
save() {
|
||||||
this.$store.dispatch('lists/updateList', this.list)
|
this.$store.dispatch('lists/updateList', this.list)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
this.$store.commit(CURRENT_LIST, this.list)
|
||||||
|
this.setTitle(this.$t('list.edit.title', {list: this.list.title}))
|
||||||
this.$message.success({message: this.$t('list.edit.success')})
|
this.$message.success({message: this.$t('list.edit.success')})
|
||||||
this.$router.back()
|
this.$router.back()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue