Commit graph

578 commits

Author SHA1 Message Date
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
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: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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
9c730d3381
fix: remove wrong active prop 2021-10-16 13:54:01 +02: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
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
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
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
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
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
eec02a55a4
fix: wait with redirect until route name is available 2021-10-11 18:08:32 +02:00
Dominik Pschenitschni
1964c1352c
chore: make functions of linkSharing less dependent on component state 2021-10-11 18:08:31 +02:00
dpschen
36d4599276 fix: unassign user success messgage (#831)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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
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: https://kolaente.dev/vikunja/frontend/pulls/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
7e1a7f3f19 feat: hide priority label for done tasks (#825)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/825
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-05 05:43:10 +00: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
a558f5b35a
fix: translate months in gantt chart
Related to #774
2021-10-04 21:38:01 +02: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
dpschen
b59b5def57 feat: compress media files (#818)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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
0cbffad49d
fix: dropdown routes 2021-10-02 17:40:49 +02:00
Dominik Pschenitschni
15640e98ec
feat: simplify filter-popup 2021-10-01 20:14:21 +02:00
Dominik Pschenitschni
672d63fbed
feat: remove createTask mixin 2021-10-01 20:06:06 +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
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
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
4ee7a8bac6
feat: native color picker instead of verte
Prepare for vue 3
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: https://kolaente.dev/vikunja/frontend/pulls/808
Co-authored-by: Zoker <dev@zoker.me>
Co-committed-by: Zoker <dev@zoker.me>
2021-09-30 18:25:50 +00: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: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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
442e6b12e0 feat: allow quickly creating multiple tasks at once with multiline input (#796)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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
e918b82cfa
feat: don't try to load task comments if they are disabled 2021-09-26 13:44:13 +02: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
dpschen
41331c8a86 feature/remove-attachment-upload-mixin (#724)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/724
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-24 18:16:37 +00:00
dpschen
4f2378ff02 feat: add variant hint-modal to modal component (#764)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/764
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-24 18:08:48 +00:00
kolaente
dedf6cbf21
fix: quick add magic assignee prefix in explanation 2021-09-24 19:47:40 +02:00
dpschen
3245752a80 fix: computed in api-config (#777)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/777
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-23 05:09:47 +00:00
dpschen
7719ef1bef feat: move pagination to dedicated component (#760)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/760
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-21 19:03:38 +00:00
dpschen
728dfc52e5 feat: close modals with esc key (#741)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/741
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-21 16:37:56 +00:00
dpschen
50c1a2e4d5 feat simplify taskList mixin (#728)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/728
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-10 14:39:18 +00:00
dpschen
07a6a31f47 chore: move constants in folder (#732)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/732
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-10 14:21:33 +00:00
dpschen
b5df941e39 chore: define default filters and params at one location (#721)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/721
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-10 13:02:52 +00:00
konrad
077fe264f0 fix: use date-fns for gantt years (#734)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/734
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-10 12:58:23 +00:00
dpschen
dae441a373 feat: simplify heading blur logic (#727)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/727
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-10 12:57:59 +00:00
dpschen
d0e46e59e8 chore: make method event independent (#719)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/719
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-09 22:25:08 +00:00
dpschen
432c6babf2 feat: use computed for api domain (#722)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/722
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-08 21:48:30 +00:00
dpschen
96ef926dde chore: create progress dots dynamically (#715)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/715
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-08 21:45:28 +00:00
kolaente
2bae8e95e5
Fix task attributes overridden when saving the task title with enter 2021-09-08 19:37:08 +02:00
dpschen
c9631c1e71 fix: call to /null from background image (#714)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/714
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-08 16:28:26 +00:00
dpschen
4fc8858c64 fix: kanban-card mutatation violation (#712)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/712
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-08 16:28:13 +00:00
kolaente
c3aae638f7
Add more debug logs for gantt charts 2021-09-05 10:09:58 +02:00
kolaente
388a31d95a
Fix gantt months being wrong 2021-09-04 21:56:22 +02:00
konrad
f4c552a79f User Data Export and import (#699)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/699
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-04 19:26:38 +00:00
dpschen
0a8505f53c fix: vuex mutation violation from draggable (#674)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/674
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-08-23 19:24:52 +00:00
dpschen
0660129b41 feat: provide global variables in all components (#669)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/669
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-08-23 16:39:11 +00:00
dpschen
ecb3924b09 chore: only import common languages (#671)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/671
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-08-23 16:38:29 +00:00
kolaente
0947ae9ce9
Fix list settings not being available when list backgrounds are disabled 2021-08-23 18:24:55 +02:00
kolaente
9fda82839b
Fix showing an editor save button in cases where it wasn't required 2021-08-20 18:56:50 +02:00
kolaente
08a34d8a68
Make saving a text edit a button 2021-08-18 22:57:15 +02:00
kolaente
9c6369e8d8
Make editor edit button at the bottom the default and make sure the done button stands out more 2021-08-17 21:10:32 +02:00
kolaente
a5687d78f5
Fix changing the repeat mode of a task when no value is entered yet 2021-08-15 11:25:06 +02:00
kolaente
f79f4101b6
Show errors from openid provider 2021-08-14 17:31:35 +02:00
kolaente
7bd081efe0
Fix loading & disabled state on inputs when creating a new task 2021-08-13 21:47:15 +02:00
kolaente
fde931eaf4
Fix comment on different task after clicking on a task notification 2021-08-11 23:16:46 +02:00
konrad
dc04c1b256 User account deletion (#651)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/651
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-08-11 19:08:18 +00:00
kolaente
f4a4909ead
Fix populating task details ater updating the description 2021-08-06 23:45:46 +02:00
kolaente
f2c29d42dd
Fix highlight.js in editor 2021-08-06 22:22:25 +02:00
kolaente
85306362d3
Fix multiselect search padding 2021-08-06 19:34:22 +02:00
kolaente
3ff749976d
Fix setting delete button for newly created task comments 2021-08-06 18:49:31 +02:00
kolaente
3c2d89a0f6
Don't allow dragging a list when the user does not have the rights 2021-07-29 13:05:33 +02:00
konrad
c4067c7c35 PWA improvments (#622)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/622
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-28 20:58:12 +00:00
konrad
3c7f8d7aa2 Reorder tasks, lists and kanban buckets (#620)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/620
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-28 19:56:29 +00:00
kolaente
53fe5738c9
Search namespaces locally only when duplicating a list 2021-07-27 15:36:02 +02:00