Commit Graph

135 Commits

Author SHA1 Message Date
de3c47dc69
fix ts errors in various files 2022-01-30 16:53:46 +01:00
a9fb24aa35
fix: currentList typing 2022-01-30 16:53:45 +01:00
423195155e
Merge branch 'main' into feature/vue3-modals-with-router-4
Some checks failed
continuous-integration/drone/pr Build is failing
2022-01-30 12:40:36 +01:00
c98ab42e75 feat: move lists between namespaces (#1430)
All checks were successful
continuous-integration/drone/push Build is passing
Frontend implementation of vikunja/api#1096

I've implemented this re-using the drag and drop part of rearranging the list position in the menu. The only problem we have is there's no way to check if a namespace is read-only and disable dropping a list into it. I hope to solve this in the future on the api but for now you can drop a list into it and get an error message. I felt like properly handling the error and restoring the list and its position given this will change anyway.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #1430
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-29 21:12:46 +00:00
fdd2e7e538
fix: vuex store mutation violation when archiving a namespace
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-26 14:36:32 +01:00
8555ffcd17
Merge branch 'main' into feature/vue3-modals-with-router-4
Some checks failed
continuous-integration/drone/pr Build is failing
2022-01-18 22:27:32 +01:00
ff9e1b3fca
fix: vuex store manipulation warning when modifying task labels
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-18 22:12:08 +01:00
e2d9aa3d7f
Merge branch 'main' into feature/vue3-modals-with-router-4
Some checks failed
continuous-integration/drone/pr Build is failing
# Conflicts:
#	src/router/index.ts
#	src/views/tasks/TaskDetailView.vue
2022-01-18 21:47:17 +01:00
c7ac81a99f
fix: save user language when it wasn't saved previously
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-01-14 22:11:13 +01:00
c70211ad32
feat: unify modal view
fix: List.vue
2022-01-04 21:55:30 +01:00
29d8422e94
fix(ready): remove class form fragment
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-01-04 21:15:02 +01:00
4a7d2d8414 feat: save and restore the user language on the server (#1181)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #1181
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-12-30 20:20:45 +00:00
b7aa7891e9 feat: redirect to calculated url everywhere 2021-12-17 15:41:11 +00:00
8b8e413af0 feat: recurring for quick add magic (#1105)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #1105
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-12-07 20:08:39 +00:00
4ef54f1bc2
fix: deleting a namespace
All checks were successful
continuous-integration/drone/push Build is passing
Deleting a namespace would remove the item from the store and then try to remove it from the search index. That failed because the item was already removed from the store and thus undefined when it was passed to the store.
2021-11-22 21:49:19 +01:00
507a73e74c feat: use flexsearch for all local searches (#997)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #997
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-14 20:49:52 +00:00
db605e0d21 feat: show namespace of related tasks if they are different than the current one (#923)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #923
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-13 20:27:23 +00:00
0fe433891a feat: search in quick actions (#943)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #943
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-13 20:26:03 +00:00
0a2d5ef820 feat: defer everything until the api config is loaded (#926)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #926
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-13 19:49:02 +00:00
58986c4a7a fix: adding or creating a label with quick add magic (#944)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #944
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-04 16:30:30 +00:00
dpschen
d1ff800b41 chore: don't spread arguments (#933)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #933
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-02 18:17:25 +00:00
7aede352f1 fix: loading tasks with infinite scroll in kanban buckets (#920)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #920
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-31 13:37:18 +00:00
85e85aa2bb
fix: don't crash when an error does not contain a request 2021-10-31 13:10:29 +01:00
5040a76781 feat: move user settings to multiple components (#889)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #889
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-26 20:58:02 +00:00
dpschen
0a1d0084e2 feat: keep errorMessage local (#865)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Co-authored-by: konrad <k@knt.li>
Reviewed-on: #865
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-17 19:38:30 +00:00
1d46b85170
fix: loading labels after login
Some checks failed
continuous-integration/drone/pr Build is failing
2021-10-17 17:06:38 +02:00
2ac3d29c13
Merge branch 'vue3' into feature/vue3-async-await
Some checks failed
continuous-integration/drone/pr Build is failing
# 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
1c8e26bdc6
fix: set the current list when opening a task
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-10-17 15:16:26 +02:00
f884020c55
fix: creating a new task while specifying the list in quick add magic
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-17 13:46:56 +02:00
1d2abf56f9
Merge branch 'main' into vue3
# Conflicts:
#	src/components/tasks/mixins/createTask.js
2021-10-17 13:37:20 +02:00
529b3d2890
fix: label search in tasks not working
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-17 13:20:51 +02:00
bb94c1ba3a
feat: use async / await where it makes sense 2021-10-16 18:59:53 +02:00
a776e1d2f3
chore: don't resolve when returning from promise & improve list store module
Some checks reported errors
continuous-integration/drone/pr Build was killed
2021-10-16 18:59:53 +02:00
3b940cb56c
feat: don't rethrow same error and handle errors globally 2021-10-16 18:59:53 +02:00
f05e81190f fix: setting background to state mutation violation (#858)
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
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: #858
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-16 15:51:27 +00:00
fa54e1f1de
feat: review changes
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-15 19:57:14 +02:00
e0456cdfa1
fix: remove broken getTaskIndices helper 2021-10-11 18:08:33 +02:00
7c3ece5816
fix: addTasksToBucket mutation 2021-10-11 18:08:33 +02:00
9b2e9fc17f
fix: getTaskById function 2021-10-11 18:08:32 +02:00
e064c3bf96
fix: access namespace only if loaded 2021-10-11 18:08:31 +02:00
4ae18ec162
fix: kanban drag task test 2021-10-11 18:08:30 +02:00
d66ad12f5c
feat: improve kanban implementation 2021-10-11 18:08:30 +02:00
3a7a4bdc42
Merge branch 'main' into vue3
Some checks failed
continuous-integration/drone/pr Build is failing
# 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)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #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
8d88b3792d
feat: always use index for buckets 2021-10-01 20:06:06 +02:00
672d63fbed
feat: remove createTask mixin 2021-10-01 20:06:06 +02:00
3d6aca3510
feat: use vuex 4 for vue3 2021-10-01 18:47:41 +02:00
db49b9b532
fix: directly set arrays, objects and delete directly
Not needed since vue3 uses proxies
2021-10-01 18:45:42 +02:00
e918b82cfa
feat: don't try to load task comments if they are disabled
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-26 13:44:13 +02:00
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