Commit Graph

1085 Commits

Author SHA1 Message Date
kolaente 4c24118b48
fix: vuex store mutation violation when saving user settings 2021-10-17 17:39:18 +02:00
dpschen dd0e04b106 feature/vue3-make-workbox-debug-configurable (#862)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#862
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-17 15:33:56 +00:00
kolaente f4372ecd05
fix: adding a list to favorites 2021-10-17 17:31:22 +02:00
Dominik Pschenitschni 3f61c6b21a
fix: use correct prop for CreateEdit 2021-10-17 17:30:00 +02:00
kolaente 36d5262f1d
fix: ATTR_ENUMERATED_COERCION spellcheck on kanban board 2021-10-17 17:21:33 +02:00
kolaente 1d46b85170
fix: loading labels after login 2021-10-17 17:06:38 +02:00
Dominik Pschenitschni ae971b23bc
fix: sort order by dueDate, then by id 2021-10-17 16:30:34 +02:00
kolaente 2de94bc902
fix: lint 2021-10-17 16:26:17 +02:00
kolaente 9fc158831b
Merge branch 'vue3' into feature/vue3-async-await 2021-10-17 16:22:43 +02:00
kolaente 9d48700cd9
fix: vuex store mutation error when moving a task with attributes on kanban 2021-10-17 16:21:55 +02:00
Dominik Pschenitschni 2ac3d29c13
Merge branch 'vue3' into feature/vue3-async-await
# Conflicts:
#	src/i18n/index.js
#	src/store/modules/labels.js
#	src/store/modules/tasks.js
#	src/views/list/views/Kanban.vue
#	src/views/tasks/ShowTasks.vue
#	src/views/tasks/TaskDetailView.vue
2021-10-17 16:06:58 +02:00
kolaente 0cc7166767
fix: don't search for first letter images 2021-10-17 15:19:21 +02:00
kolaente 1c8e26bdc6
fix: set the current list when opening a task 2021-10-17 15:16:26 +02:00
kolaente cc32ca244c
feat: don't update the bucket after updating task position 2021-10-17 14:52:48 +02:00
Dominik Pschenitschni c1078255fc
fix: use lodash.debounce for searching unsplash background 2021-10-17 14:47:30 +02:00
kolaente c329c37c7b
chore: cleanup 2021-10-17 14:01:48 +02:00
kolaente 2fc96cb6a7
fix: change the ui locale 2021-10-17 14:01:15 +02:00
kolaente 74d785d606
fix: "TypeError: i18n.setLocaleMessage is not a function" when changing languages 2021-10-17 13:55:25 +02:00
Dominik Pschenitschni 56365591cf
fix: await getAuthUrl 2021-10-17 13:48:53 +02:00
kolaente f884020c55
fix: creating a new task while specifying the list in quick add magic 2021-10-17 13:46:56 +02:00
kolaente 1d2abf56f9
Merge branch 'main' into vue3
# Conflicts:
#	src/components/tasks/mixins/createTask.js
2021-10-17 13:37:20 +02:00
kolaente e52c139c9f
fix: task edit pane spacing 2021-10-17 13:36:21 +02:00
kolaente 529b3d2890
fix: label search in tasks not working 2021-10-17 13:20:51 +02:00
kolaente 7e29dde717
fix: new tasks were always created in the default list 2021-10-17 12:59:32 +02:00
kolaente 5766ae48d7
fix: kanban card elements spacing 2021-10-16 23:25:02 +02:00
kolaente df32893ce6
fix: always sort tasks the same order in chrome and firefox
Discussion at https://community.vikunja.io/t/custom-sorting-tasks-on-overview/392
2021-10-16 21:37:21 +02:00
Dominik Pschenitschni a60ad77bdc
fix: use async action to change current list 2021-10-16 20:44:39 +02:00
Dominik Pschenitschni 7f5f44d7f0
fix: call loadList just once 2021-10-16 18:59:54 +02:00
Dominik Pschenitschni 54d456e886
fix: await namespace creation 2021-10-16 18:59:54 +02:00
Dominik Pschenitschni 1d43d1bd65
chore: simplify MENU_ACTIVE mutation 2021-10-16 18:59:54 +02:00
Dominik Pschenitschni 12a3c238b8
feat: use computed for namespace title 2021-10-16 18:59:54 +02:00
Dominik Pschenitschni a6db1e7391
fix: remove disabled prop for editor 2021-10-16 18:59:54 +02:00
Dominik Pschenitschni bb94c1ba3a
feat: use async / await where it makes sense 2021-10-16 18:59:53 +02:00
Dominik Pschenitschni a776e1d2f3
chore: don't resolve when returning from promise & improve list store module 2021-10-16 18:59:53 +02:00
Dominik Pschenitschni 3b940cb56c
feat: don't rethrow same error and handle errors globally 2021-10-16 18:59:53 +02:00
Dominik Pschenitschni b79d238bdc
Merge branch 'main' into vue3
# Conflicts:
#	package.json
#	src/components/tasks/mixins/createTask.js
#	yarn.lock
2021-10-16 18:17:14 +02:00
konrad f05e81190f fix: setting background to state mutation violation (#858)
State mutations must be synchronous. Using a promise.then handler to set the background is a violation of that.

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#858
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-16 15:51:27 +00:00
konrad 373a766f5c fix: pagination in vue 3 (#859)
This fixes using Vikunja with pagination.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#859
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-16 15:39:50 +00:00
Dominik Pschenitschni 80163ee992
fix: use componentData prop in draggable to set class 2021-10-16 13:54:24 +02:00
Dominik Pschenitschni 9c730d3381
fix: remove wrong active prop 2021-10-16 13:54:01 +02:00
IDDQD69 26568fe5c6
fix: add null check for parsedTask listId (#31)
Co-authored-by: AJ Nieminen <ajnieminen@kapsi.fi>
2021-10-16 12:09:10 +02:00
renovate 81a1aa202f [skip ci] Updated translations via Crowdin 2021-10-15 21:12:55 +00:00
Dominik Pschenitschni 8e1ab8e09b
Merge branch 'main' into vue3 2021-10-15 20:43:11 +02:00
Dominik Pschenitschni fa54e1f1de
feat: review changes 2021-10-15 19:57:14 +02:00
kolaente 2bf83a672c [skip ci] Updated translations via Crowdin 2021-10-13 20:06:52 +00:00
kolaente 435535f8cd
fix: wrong word in en base text string 2021-10-13 21:59:53 +02:00
kolaente 9a2f95ecc6
feat: redirect the user to the last page they were on before logging in after login 2021-10-13 21:53:39 +02:00
kolaente 97dd55d946
feat: show up to 4 recent lists on the overview page 2021-10-13 21:20:46 +02:00
kolaente 4fef047d74
fix: user dropdown padding on mobile 2021-10-13 21:14:34 +02:00
kolaente 3f96ce6d60
fix: task input height after removing a line now works correctly 2021-10-13 21:08:29 +02:00
kolaente c30c2e00cb
fix: task input height on devices with smaller font size 2021-10-13 20:37:03 +02:00
kolaente b5b56a6e4a
fix: switch view height on devices with smaller font size 2021-10-13 20:16:45 +02:00
kolaente 69821fb663
fix: editing a label works now 2021-10-13 20:12:37 +02:00
Dominik Pschenitschni 50fa592aad
fix: wrong async order 2021-10-11 21:40:36 +02:00
Dominik Pschenitschni a3a3ef850c
chore: remove console.log 2021-10-11 21:25:54 +02:00
Dominik Pschenitschni 18c31482df
fix: remove side effect from computed
was firing a commit
2021-10-11 19:17:15 +02:00
Dominik Pschenitschni 427f18d59e
fix: watch deep in listSearch 2021-10-11 19:15:34 +02:00
Dominik Pschenitschni 5cfb99bfc2
Merge branch 'main' into feature/vue3-implementation-improvements
# Conflicts:
#	package.json
#	vite.config.js
#	yarn.lock
2021-10-11 18:40:06 +02:00
Dominik Pschenitschni 18d7ca0820
feat: also use createRandomID helper in editor 2021-10-11 18:28:41 +02:00
Dominik Pschenitschni e0456cdfa1
fix: remove broken getTaskIndices helper 2021-10-11 18:08:33 +02:00
Dominik Pschenitschni 0b68a473ef
fix: use correct listId to load next tasks 2021-10-11 18:08:33 +02:00
Dominik Pschenitschni 7c3ece5816
fix: addTasksToBucket mutation 2021-10-11 18:08:33 +02:00
Dominik Pschenitschni d7ed5b8f11
fix: use correct listId when deleting bucket 2021-10-11 18:08:32 +02:00
Dominik Pschenitschni dfe401a9dc
fix: watch deep for other arrays
see: https://v3.vuejs.org/guide/migration/watch.html
2021-10-11 18:08:32 +02:00
Dominik Pschenitschni 0bf68effb8
fix: watch deep for multiselect modelValue changes 2021-10-11 18:08:32 +02:00
Dominik Pschenitschni 9b2e9fc17f
fix: getTaskById function 2021-10-11 18:08:32 +02:00
Dominik Pschenitschni 35c861b711
feat: create randomId helper and use everywhere
Co-authored-by: konrad <konrad@kola-entertainments.de>
2021-10-11 18:08:32 +02:00
Dominik Pschenitschni 3750b0f78b
fix: mutation errors by make a copy of the store settings 2021-10-11 18:08:32 +02:00
Dominik Pschenitschni eec02a55a4
fix: wait with redirect until route name is available 2021-10-11 18:08:32 +02:00
Dominik Pschenitschni e064c3bf96
fix: access namespace only if loaded 2021-10-11 18:08:31 +02:00
Dominik Pschenitschni 1964c1352c
chore: make functions of linkSharing less dependent on component state 2021-10-11 18:08:31 +02:00
Dominik Pschenitschni 6fee114610
chore: remove unneeded var 2021-10-11 18:08:31 +02:00
Dominik Pschenitschni 4ae18ec162
fix: kanban drag task test 2021-10-11 18:08:30 +02:00
Dominik Pschenitschni d66ad12f5c
feat: improve kanban implementation 2021-10-11 18:08:30 +02:00
dpschen 36d4599276 fix: unassign user success messgage (#831)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#831
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-07 18:09:54 +00:00
Dominik Pschenitschni 59401bc1da
fix: vue3 types 2021-10-07 12:55:59 +02:00
Dominik Pschenitschni 3a7a4bdc42
Merge branch 'main' into vue3
# Conflicts:
#	src/components/input/editor.vue
#	src/components/list/partials/filters.vue
#	src/components/tasks/partials/editAssignees.vue
#	src/helpers/find.ts
#	src/helpers/time/formatDate.js
#	src/main.ts
#	src/store/modules/attachments.js
#	src/store/modules/kanban.js
#	src/views/list/views/List.vue
#	yarn.lock
2021-10-07 12:20:52 +02:00
dpschen faa2daa876 feat: remove lodash dependency (#743)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#743
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-06 20:25:06 +00:00
konrad a76d115baf [skip ci] Updated translations via Crowdin 2021-10-05 05:48:28 +00:00
konrad 7e1a7f3f19 feat: hide priority label for done tasks (#825)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#825
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-05 05:43:10 +00:00
kolaente 49fcce043d [skip ci] Updated translations via Crowdin 2021-10-04 20:32:41 +00:00
kolaente d284db672e
fix: don't allow reordering tasks in filtered lists 2021-10-04 22:12:39 +02:00
kolaente 99fb78dbd4
feat: show checklist summary on kanban cards 2021-10-04 22:05:44 +02:00
kolaente 2a1004ac68
fix: make task relation kinds translatable
Related to #774
2021-10-04 21:52:27 +02:00
kolaente e941394147 [skip ci] Updated translations via Crowdin 2021-10-04 19:44:19 +00:00
kolaente a558f5b35a
fix: translate months in gantt chart
Related to #774
2021-10-04 21:38:01 +02:00
kolaente d583cb2094
fix: properly resolve relative date translations
Resolves #798
2021-10-04 21:33:23 +02:00
kolaente 240e8594cc [skip ci] Updated translations via Crowdin 2021-10-04 19:26:34 +00:00
kolaente 19a561c8e6
fix(editor): duplicate edit buttons for empty descriptions
Resolves #821
2021-10-04 21:20:40 +02:00
kolaente 22ef7785fd
fix: wrong success message when adding and creating a label to a task 2021-10-04 21:14:39 +02:00
kolaente cc22d8d4e9
fix: missing translation for error during link share auth
Resolves #822
2021-10-04 21:11:22 +02:00
dpschen a843cddbc9 fix: use correct translation key filter save success message (#823)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#823
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-04 18:08:30 +00:00
dpschen b59b5def57 feat: compress media files (#818)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#818
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-03 18:48:02 +00:00
Dominik Pschenitschni 66648be6d5
chrome: some dropdown.vue improvements 2021-10-03 13:25:09 +02:00
Dominik Pschenitschni 117980a8fc
chore: some editor improvements 2021-10-03 13:25:09 +02:00
Dominik Pschenitschni 34d0f28678
Merge branch 'main' into fix/vue3
# Conflicts:
#	src/views/list/settings/edit.vue
2021-10-03 13:24:17 +02:00
dpschen 3f9917dfab fix: vuex mutation error in edit list (#813)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#813
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-02 18:51:54 +00:00
Dominik Pschenitschni 0cbffad49d
fix: dropdown routes 2021-10-02 17:40:49 +02:00
kolaente 50799a7b3e [skip ci] Updated translations via Crowdin 2021-10-02 13:50:41 +00:00
dpschen 7488378f5c [skip ci] Updated translations via Crowdin 2021-10-02 13:38:38 +00:00
dpschen 64abb1ce37 feat: watch taskId instead of whole route (#812)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#812
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-02 13:33:01 +00:00
kolaente c3b6e13009
fix: typo in translation string 2021-10-02 15:31:24 +02:00
Dominik Pschenitschni 7bb1b1b769
feat: fix some Kanban errors with vue3 2021-10-01 21:26:47 +02:00
Dominik Pschenitschni 6b358107b6
feat: watch taskId instead of whole route 2021-10-01 20:48:04 +02:00
Dominik Pschenitschni 15640e98ec
feat: simplify filter-popup 2021-10-01 20:14:21 +02:00
Dominik Pschenitschni 8d88b3792d
feat: always use index for buckets 2021-10-01 20:06:06 +02:00
Dominik Pschenitschni 672d63fbed
feat: remove createTask mixin 2021-10-01 20:06:06 +02:00
Dominik Pschenitschni aeabc42844
fix newList.vue 2021-10-01 20:06:05 +02:00
Dominik Pschenitschni 8fc01f774a
fix: emailPlaceholder translation 2021-10-01 20:06:05 +02:00
Dominik Pschenitschni a745966984
feat: forked vue-easymde 2021-10-01 20:06:05 +02:00
Dominik Pschenitschni e779681905
feat: upgrade to packages for vue 3
- vue3-notification
- vue-advanced-cropper 2
- vuedraggable 4
- vue-shortkey -> moved in repo
2021-10-01 18:49:54 +02:00
Dominik Pschenitschni 7c3c2945f8
feat: use vue-i18n 9 for vue3 2021-10-01 18:49:54 +02:00
Dominik Pschenitschni 3d6aca3510
feat: use vuex 4 for vue3 2021-10-01 18:47:41 +02:00
Dominik Pschenitschni 72518212da
feat: use vue-router 4 for vue3 2021-10-01 18:47:41 +02:00
Dominik Pschenitschni 421ff9a188
feat: use new async component definition
- fix see: https://v3.vuejs.org/guide/migration/async-components.html
- put async editor in separate component
2021-10-01 18:46:40 +02:00
Dominik Pschenitschni 51a740f53c
fix: use vue3 v-model bindings
see: https://v3.vuejs.org/guide/migration/v-model.html
2021-10-01 18:45:42 +02:00
Dominik Pschenitschni 2ef2bb7700
fix: transition class names
see: https://v3.vuejs.org/guide/migration/transition.html
2021-10-01 18:45:42 +02:00
Dominik Pschenitschni ecc3d3cf3f
fix: life cycle hook naming 2021-10-01 18:45:42 +02:00
Dominik Pschenitschni db49b9b532
fix: directly set arrays, objects and delete directly
Not needed since vue3 uses proxies
2021-10-01 18:45:42 +02:00
Dominik Pschenitschni 2b20f328cb
fix: compiler warnings
see:
- https://v3.vuejs.org/guide/migration/key-attribute.html
- https://v3.vuejs.org/guide/migration/v-bind.html
- https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html
2021-10-01 18:45:42 +02:00
Dominik Pschenitschni 3c89147ee2
fix: new directive syntax
see: https://v3.vuejs.org/guide/migration/custom-directives.html
2021-10-01 18:45:41 +02:00
Dominik Pschenitschni 78a5096e0d
feat: add vue3 in compat mode
See: https://v3.vuejs.org/guide/migration/migration-build.html#installation
2021-10-01 18:45:41 +02:00
Dominik Pschenitschni 4ee7a8bac6
feat: native color picker instead of verte
Prepare for vue 3
2021-10-01 18:44:14 +02:00
Dominik Pschenitschni 0c678b6e44
fix: use dynamic imports instead of old async components for router views
prepare for vue 3, see: https://next.router.vuejs.org/guide/advanced/lazy-loading.html
2021-10-01 18:44:14 +02:00
Zoker 9a72d3dc36 Enhance link share tooltip (#808)
Co-authored-by: Florian Gareis <mail@zoker.me>
Reviewed-on: vikunja/frontend#808
Co-authored-by: Zoker <dev@zoker.me>
Co-committed-by: Zoker <dev@zoker.me>
2021-09-30 18:25:50 +00:00
kolaente e7ffba5322 [skip ci] Updated translations via Crowdin 2021-09-29 20:53:14 +00:00
kolaente 4a1b402e62
fix: quick add magic always disabled 2021-09-29 22:42:13 +02:00
kolaente 416380025e
fix: more spacing for last viewed tasks headline 2021-09-29 21:29:09 +02:00
kolaente 96ef25ba01
fix: don't enable editing when the user has no rights for it
related: #804
2021-09-29 21:22:44 +02:00
kolaente 4bd2c94256
fix: don't try to create a task with an empty title when creating multiple tasks at once 2021-09-29 21:01:54 +02:00
konrad 96523f1fbf feat: task checklist improvements (#797)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#797
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-29 18:31:14 +00:00
konrad d47b13647e feat(natural language): make natural language prefixes configurable (#795)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#795
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-29 18:30:55 +00:00
kolaente 2691a84610
feat: don't show bullet points of checklists 2021-09-26 20:53:27 +02:00
kolaente e17116dac1
feat: make checklists work with '-' instead of '*' 2021-09-26 20:51:02 +02:00
konrad c0d744cfaa [skip ci] Updated translations via Crowdin 2021-09-26 18:42:26 +00:00
konrad 442e6b12e0 feat: allow quickly creating multiple tasks at once with multiline input (#796)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#796
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-26 18:22:28 +00:00
kolaente 3dfa286a12
feat(quick actions): select the item when only one result is available
resolves #703
2021-09-26 20:19:58 +02:00
kolaente a955488cdf
fix: date formatting for non-english languages 2021-09-26 20:07:15 +02:00
kolaente 4b64e27d2b
fix(natural language parser): parts of week days in other words 2021-09-26 15:00:11 +02:00
kolaente 403d77ce14
fix(natural language parser): fix parsing short days
related: #773
2021-09-26 14:38:15 +02:00
kolaente e918b82cfa
feat: don't try to load task comments if they are disabled 2021-09-26 13:44:13 +02:00
dpschen e9978548d8 feat: add types for vite (#790)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#790
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-25 18:33:30 +00:00
kolaente f762d8ad4d
fix: remove unused function 2021-09-24 21:46:42 +02:00
Dominik Pschenitschni 697ea12c8e
fix: breaking attribute coercion behavior
see: https://v3.vuejs.org/guide/migration/attribute-coercion.html#overview
2021-09-24 21:46:42 +02:00
Dominik Pschenitschni fe27a432c7
feat: move unique functions from taskList to List 2021-09-24 21:46:42 +02:00
Dominik Pschenitschni f51371bbe0
feat: move from life cycle to data or watcher
- remove from created / mounted
- initialize component services in data
- use immediate watcher where appropriate
- deep watch for route changes
2021-09-24 21:46:42 +02:00
Dominik Pschenitschni ebeca48be4
fix: namespace collision of global error method with draggable error method 2021-09-24 21:46:42 +02:00
Dominik Pschenitschni 0da7a46612
feat: formatting
- remove unneeded data props
- prepare for compiler warnings vue3; see https://v3.vuejs.org/guide/migration/v-bind.html
2021-09-24 21:46:42 +02:00
Dominik Pschenitschni 4454e6cf22
feat: update to new slot syntax
Prepare for vue 3
2021-09-24 21:46:42 +02:00
kolaente 77f8b27dc6
fix: lists disappearing when updating their namespace 2021-09-24 20:51:59 +02:00