Commit graph

1748 commits

Author SHA1 Message Date
kolaente
460a4dbdbe
chore: use h5 2022-04-02 17:37:51 +02:00
kolaente
d865af58a8
chore: return new model instead of modifying the existing 2022-04-02 17:37:51 +02:00
kolaente
cd245e467c
chore: fix CalDAV casing 2022-04-02 17:37:51 +02:00
kolaente
da4f5a0f75
chore: move success message after state changes 2022-04-02 17:37:51 +02:00
kolaente
ca330fe63b
chore: use function statements everywhere 2022-04-02 17:37:51 +02:00
kolaente
af6385bc60
chore: check for no results 2022-04-02 17:37:51 +02:00
kolaente
19b772f8ee
fix: type 2022-04-02 17:37:50 +02:00
kolaente
b65839d0d7
fix: lint 2022-04-02 17:37:50 +02:00
kolaente
043bf62ef3
chore: extract getting all tokens into a composable 2022-04-02 17:37:50 +02:00
kolaente
f042651986
chore: make server functions async 2022-04-02 17:37:50 +02:00
kolaente
0299ed32f3
chore: use findIndex to remove caldav token 2022-04-02 17:37:50 +02:00
kolaente
cb067461aa
chore: use ts for caldav component 2022-04-02 17:37:50 +02:00
kolaente
6b899be202
chore: clarify token is required for non-local users 2022-04-02 17:37:50 +02:00
kolaente
7bdefd9a3e
chore: put action buttons right 2022-04-02 17:37:50 +02:00
kolaente
8e5a318d4c
feat: manage tokens 2022-04-02 17:37:50 +02:00
kolaente
75f09ec5db
chore: move to script setup 2022-04-02 17:37:48 +02:00
kolaente
fb2eb4c439
fix: service worker path 2022-04-02 17:23:23 +02:00
Dominik Pschenitschni
175b786ec6
fix: remove self and replace with this 2022-04-02 17:17:09 +02:00
Dominik Pschenitschni
0e14e3053d
feat: convert create-edit to script setup and ts 2022-04-02 17:17:09 +02:00
Dominik Pschenitschni
16d8c2224b
feat: add TSDoc definition to some models 2022-04-02 17:17:09 +02:00
Dominik Pschenitschni
658ca4c955
feat: convert navigation to script setup and ts 2022-04-02 17:17:08 +02:00
Dominik Pschenitschni
b5f867cc66
feat: convert some helpers to typescript 2022-04-02 17:16:58 +02:00
Dominik Pschenitschni
ba9f69344a
feat: use defineComponent wrapper 2022-04-02 17:16:57 +02:00
Dominik Pschenitschni
a3329f1b42
feat: add lang ts to script block 2022-04-02 17:15:46 +02:00
Dominik Pschenitschni
15b67136fe
feat: rename js files to ts 2022-04-02 17:14:59 +02:00
konrad
4cff3ebee1 feat: use blurHash when loading list backgrounds (#1188)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1188
2022-04-02 15:05:30 +00:00
kolaente
53787a65df
fix: lint 2022-04-02 14:57:03 +02:00
kolaente
dfed1f438a
feat: directly create a new task from relations when none was selected 2022-04-02 13:54:45 +02:00
kolaente
ad8ca462cb
fix: indention of nested checklist items 2022-04-02 12:55:08 +02:00
kolaente
2e537f6d63
fix: loading list views would sometimes not get loaded
To make sure the tasks of a list are only loaded after the list itself is fetched from the server, we hide the list view until the list is fully loaded. When switching between different views of the same list, this would cause the list view to not be loaded at all because the list was already loaded at that point.

closes #1732
2022-04-02 12:47:13 +02:00
drone
e494af094d [skip ci] Updated translations via Crowdin 2022-03-31 00:29:19 +00:00
drone
f3294ce755 [skip ci] Updated translations via Crowdin 2022-03-30 00:29:13 +00:00
konrad
9b09fadbd0 feat: add date math for filters (#1342)
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1342
2022-03-28 17:30:42 +00:00
kolaente
46050611d8 fix: forgotten import 2022-03-27 21:06:30 +00:00
kolaente
a055a3ea52 fix: lint 2022-03-27 21:06:30 +00:00
kolaente
b7a976a9cf fix: setting the last viewed list after navigating away from it
The new list background was set on the home page when navigating to the list. This was because the `CURRENT_LIST` was set to the last visited list, even after the call to `this.$store.commit(CURRENT_LIST, null)` because everything is async. I tracked the problem down to the call to `watchEffect` in the ListWrapper component. Apparently, `watchEffect` is called every time _the watched variable is assigned to_ and not only when it changes. When navigating away from the list, that watcher is getting called with the list id, the one already loaded, and sets it in store which in turn overrides the call from the contentAuth component.
2022-03-27 21:06:30 +00:00
kolaente
42c0fc6185 fix: make sure a list background is set in store when adding one
When creating a new list, setting a background and then navigating to the home page, the list background would not be shown in the list card. Now, we're setting the newly updated list with all its background information properly in store (why are there even multiple places for this?).
2022-03-27 21:06:30 +00:00
kolaente
f9b7e2fd76 feat: use vueuse to lock scrolling 2022-03-27 20:42:21 +00:00
kolaente
574ecff12d feat: prevent scrolling the rest of the page when a modal is open 2022-03-27 20:42:21 +00:00
kolaente
0af6d79eff
Merge branch 'main' into feature/date-math 2022-03-27 22:41:53 +02:00
konrad
3639498b3f fix: add task input layout on mobile (#1615)
On non-english locales the placeholder text would wrap, making the placeholder longer than it needed to be. To fix that, I've made sure the placeholder will never wrap and reduced the button to a single icon.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1615
2022-03-27 20:37:25 +00:00
konrad
7f56a3537c fix: load the list tasks only after the list itself was loaded (#1251)
Currently, when opening a list sometimes the tasks are shown before the list itself is loaded. Because the list contains the rights, this means no edit buttons etc are available at that point which is pretty confusing.

This PR ensures the list-specific view is loaded only after the list itself is loaded.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1251
2022-03-27 19:56:56 +00:00
adrinux
a8fe2cdcbd Redefine all Bulma variables to fix undefined variables (#1165)
As per discussion in https://kolaente.dev/vikunja/frontend/issues/1074

This will hopefully eventually be fixed at the root - with missing scss variables properly passed though, possibly by switching to Bulvar.

But in the mean time I experimented with add ALL the bulma css color related variables into color.scss

This fixes the issue with the date picker in light mode. Also has me wondering if it will allow removal of some of other little overrides we made to fix niggling issues with dark mode, so marking this WIP.

Not suggesting this ever be merged, just exploring.

Resolves #1497
Resolves #1074

Co-authored-by: Adrian Simmons <adrian@perlucida.co.uk>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1165
Reviewed-by: konrad <k@knt.li>
Co-authored-by: adrinux <adrian@perlucida.co.uk>
Co-committed-by: adrinux <adrian@perlucida.co.uk>
2022-03-27 19:20:37 +00:00
renovate
c8fa0cc6b1 chore(deps): update workbox monorepo to v6.5.2 (#1725)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1725
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-27 15:12:03 +00:00
kolaente
87ac22b448
fix: related done tasks strikethrough 2022-03-22 23:06:36 +01:00
kolaente
8f650316dc
fix: multiselect search results text color 2022-03-22 23:04:06 +01:00
kolaente
d7b1d7da7f
fix: mobile menu backdrop 2022-03-22 23:00:43 +01:00
kolaente
63e04f874a
fix: modal close icon color in light mode on mobile 2022-03-22 22:55:28 +01:00
drone
8f367921cf [skip ci] Updated translations via Crowdin 2022-03-20 00:27:38 +00:00
drone
42fa8bda71 [skip ci] Updated translations via Crowdin 2022-03-14 00:21:14 +00:00
kolaente
81993cc2e6
fix: aria-label for password field 2022-03-06 13:31:57 +01:00
drone
9b67f5627e [skip ci] Updated translations via Crowdin 2022-03-05 00:14:52 +00:00
renovate
210e782c6a chore(deps): update workbox monorepo to v6.5.1 (#1635)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1635
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-04 14:24:44 +00:00
drone
913ec95982 [skip ci] Updated translations via Crowdin 2022-03-04 00:10:15 +00:00
kolaente
cf5460d298
fix: keyboard shortcut text indicating what works where 2022-03-02 22:05:16 +01:00
kolaente
f4b0e68322
feat: add a few new keyboard shortcuts 2022-03-02 21:59:51 +01:00
kolaente
7f2189b455
fix: don't rotate kanban cards while dragging
The way I implemented that had a few annoying side effects like wiggling around when clicking on the bucket
2022-02-27 19:43:05 +01:00
kolaente
db47c1f10c
chore: move converting params to service 2022-02-27 17:21:07 +01:00
kolaente
a8ee54d626
Merge branch 'main' into feature/date-math 2022-02-27 16:40:49 +01:00
kolaente
b144802203
fix: "invalid date" error when trying to set a date and none was set before 2022-02-27 16:39:21 +01:00
kolaente
a23b4a96ee
fix: kanban board layout on mobile 2022-02-27 16:36:20 +01:00
kolaente
c06cc6ad7a
fix: pop sound not saved and played when marking tasks done 2022-02-26 14:48:46 +01:00
kolaente
553fd54f78
fix(kanban): background content scrolling when opening a task 2022-02-26 14:39:25 +01:00
kolaente
74ab197dc6
fix: don't always show a scrollbar 2022-02-26 14:36:43 +01:00
kolaente
5b509da215
fix(kanban): make sure the buckets don't appear glued to the bottom 2022-02-26 14:28:55 +01:00
kolaente
f54f533700
fix(kanban): transition animation for bucket footer when adding a new task 2022-02-26 14:20:53 +01:00
kolaente
6d0cbc51f6
fix: missing app padding when opening the task detail modal 2022-02-26 14:13:37 +01:00
kolaente
17ba56f12d
feat: rotate task cards slightly while moving them between buckets 2022-02-26 14:03:30 +01:00
kolaente
d5f0158b04
Merge branch 'main' into feature/date-math
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-02-26 13:30:07 +01:00
kolaente
051dd98ff7
fix: undo task done from list view 2022-02-26 13:18:44 +01:00
kolaente
7b62a0895d
fix: update page title when changing the task title 2022-02-26 13:14:08 +01:00
kolaente
45c05296a6
fix: hide "title required" error after entering text 2022-02-26 13:05:39 +01:00
kolaente
1256c37b69
fix: removing a label from a task 2022-02-26 12:57:59 +01:00
kolaente
9a55482681
fix: don't fire close event multiple times 2022-02-26 12:55:38 +01:00
kolaente
b83cec2f0e
fix: don't try to validate nonexisting fields 2022-02-26 12:35:09 +01:00
kolaente
731506fab7
fix: don't try to filter notifications if there are none 2022-02-26 12:33:49 +01:00
kolaente
8cdcfaf071
fix: don't try to sort tasks when none were returned 2022-02-26 12:30:56 +01:00
renovate
52948864ad chore(deps): update workbox monorepo to v6.5.0 (#1603)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1603
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-24 08:15:11 +00:00
drone
9bb73d9f64 [skip ci] Updated translations via Crowdin 2022-02-23 00:10:44 +00:00
drone
b512f4a6b8 [skip ci] Updated translations via Crowdin 2022-02-22 00:10:46 +00:00
drone
76566d3941 [skip ci] Updated translations via Crowdin 2022-02-21 00:13:32 +00:00
konrad
bdb53ec8ee fix: api config domain name contains the current domain instead of the provided one (#1581)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1581
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-20 22:07:59 +00:00
kolaente
da162d5652
fix: modal not scrolling content when open 2022-02-20 22:32:41 +01:00
kolaente
c7943ef823
fix: popup not really hidden when hidden 2022-02-20 22:02:59 +01:00
kolaente
622f08fb1b
fix: lint 2022-02-20 21:34:45 +01:00
kolaente
4ce9ac9c66
chore: remove showAll prop and make it a computed instead 2022-02-20 21:32:02 +01:00
kolaente
95d8cdffe4
chore: return the title directly 2022-02-20 21:22:31 +01:00
kolaente
564f669ed4
chore: return key directly 2022-02-20 21:21:06 +01:00
kolaente
74766ce1d0
chore: hack the planet 2022-02-20 21:17:24 +01:00
kolaente
18f5f8da7d
chore: remove abstractions 2022-02-20 21:15:56 +01:00
kolaente
4195953696
chore: rename i18n key for datemath help 2022-02-20 21:13:42 +01:00
kolaente
a6480cdb75
chore: remove rel for help docs 2022-02-20 21:07:49 +01:00
kolaente
0b6a74d11e
Merge branch 'main' into feature/date-math 2022-02-20 20:25:06 +01:00
Dominik Pschenitschni
60f58af41a
chore: align wording in task detail view
Changes only in task detail view. Probably this should be done everywhere:

- some buttons were using the uppercase words consistently, some were not
- some were using articles, some were not  => I removed them everywhere to shorten the label length
- some buttons were refering to the task, some were not. Since we are already in the context of the task (we are not the task detail page) I removed the reference everywhere.
2022-02-20 12:03:45 +01:00
drone
15d681122a [skip ci] Updated translations via Crowdin 2022-02-20 00:12:43 +00:00
drone
894792b207 [skip ci] Updated translations via Crowdin 2022-02-19 00:12:08 +00:00
Dominik Pschenitschni
c419062e49 fix: direct store manipulation in tasks (#1534)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1534
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-18 19:48:49 +00:00
Dominik Pschenitschni
8df73c973b feat: use AuthenticatedHTTPFactory for refreshToken (#1546)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1546
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-18 19:14:38 +00:00
Dominik Pschenitschni
8ea9d7541f feat: rename percent done to progress (#1542)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1542
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-18 16:56:15 +00:00
Dominik Pschenitschni
17dc276971 fix: property spelling 2022-02-14 17:00:10 +00:00
Dominik Pschenitschni
ede8bc5015 [skip ci] Updated translations via Crowdin 2022-02-14 00:12:21 +00:00
Dominik Pschenitschni
924359f739 fix(button): min-height 2022-02-13 22:12:10 +00:00
Dominik Pschenitschni
b84fe4c88b feat: convert api-config to script setup and ts (#1535)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1535
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-13 22:06:26 +00:00
Dominik Pschenitschni
d57c9af332 fix: use BaseButton in MenuButton and fix computed (#1532)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1532
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-13 22:01:36 +00:00
Dominik Pschenitschni
eac07d3169 feat: make profile picture clickable (#1531)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1531
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-13 21:57:33 +00:00
konrad
cb395f3f69 feat: increase task drop area size for bucket list (#1512)
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1512
Reviewed-by: konrad <k@knt.li>
2022-02-13 13:12:58 +00:00
Dominik Pschenitschni
45e1ae66d6
feat: restore styling / fix styling issues 2022-02-13 13:49:32 +01:00
Dominik Pschenitschni
e2c81d840f
fix: hack to fix wrong index position 2022-02-13 13:49:32 +01:00
Dominik Pschenitschni
69654b823e
feat: increase task drop area size for bucket list 2022-02-13 13:49:31 +01:00
drone
f72fc79861 [skip ci] Updated translations via Crowdin 2022-02-13 00:12:36 +00:00
kolaente
80664b6182
feat: add Polish, Dutch and Portuguese translations 2022-02-12 23:49:34 +01:00
kolaente
8b90b8f6a8
fix: namespace archive success message 2022-02-12 23:41:03 +01:00
drone
6aa0651013 [skip ci] Updated translations via Crowdin 2022-02-10 00:12:06 +00:00
Dominik Pschenitschni
badbae0e9a
fix: mark query parameter as string 2022-02-09 17:52:27 +01:00
Dominik Pschenitschni
cf849da104 fix: make logo change reactive (#1509)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1509
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-08 20:35:03 +00:00
Dominik Pschenitschni
10bcdc8804 fix: emit function name (#1511)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1511
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-08 19:05:27 +00:00
Dominik Pschenitschni
d1d51ac998 [skip ci] Updated translations via Crowdin 2022-02-08 00:11:31 +00:00
Dominik Pschenitschni
1e0607cb86 feat: simplify config mutation (#1498)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1498
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-07 21:18:22 +00:00
Dominik Pschenitschni
f7bbd95fef [skip ci] Updated translations via Crowdin 2022-02-07 00:10:52 +00:00
kolaente
4ac7d6b9df
fix: don't reset flatpickr date 2022-02-06 23:10:35 +01:00
kolaente
7cd89b7bf1
chore: rename el 2022-02-06 23:08:34 +01:00
kolaente
a22792a4b4
fix: styling 2022-02-06 23:05:40 +01:00
kolaente
b1ec5b58ee
chore: use BaseButton 2022-02-06 23:05:34 +01:00
kolaente
77bf347155
chore: move styling to the correct component 2022-02-06 23:03:58 +01:00
Dominik Pschenitschni
2a4bf25d20 feat: add more default attributes to the rel attribute in link mode (#1491)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1491
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-06 21:57:32 +00:00
kolaente
204e94aa74
chore: programmatically convert filter values to snake_case 2022-02-06 20:48:37 +01:00
kolaente
aac777e286
fix: lint 2022-02-06 20:32:21 +01:00
kolaente
84f177c80e
feat: reduce dependency on router and move everything to route props instead 2022-02-06 20:11:13 +01:00
kolaente
1e4ef96150
chore: cleanup unnecessary css 2022-02-06 19:41:20 +01:00
kolaente
4268eee1f2
chore: simplify nesting 2022-02-06 19:40:11 +01:00
kolaente
436c0416d7
chore: use a primary button to select range in upcoming 2022-02-06 19:39:05 +01:00
kolaente
a78ca6fad3
chore: fix nesting and positioning 2022-02-06 19:38:36 +01:00
kolaente
356b291a57
chore: change return 2022-02-06 19:35:30 +01:00
kolaente
60be8b428e
chore: rename date ranges export 2022-02-06 19:33:52 +01:00
kolaente
f435ca99f4
chore: change import order and useStore 2022-02-06 19:31:48 +01:00
kolaente
eefe6bd413
chore: move date math explanation to separate component 2022-02-06 19:29:15 +01:00
kolaente
204136266f
chore: watch values instead of listening to changes 2022-02-06 18:56:45 +01:00
kolaente
18f7adf420
chore: use more BaseButtons 2022-02-06 18:51:47 +01:00
kolaente
c5d598cac4
chore: refactor trigger to slot 2022-02-06 18:46:53 +01:00
konrad
581b2cb4ab fix: related tasks add button and task dates in read only view (#1268)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1268
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-02-06 15:58:52 +00:00
kolaente
eeee1c842a
fix: correctly send filter values 2022-02-06 16:58:23 +01:00
kolaente
6d6f2b4e33
chore: cleanup 2022-02-06 16:48:28 +01:00
kolaente
cbbcb7ef23
fix: setTitle import 2022-02-06 16:36:12 +01:00
kolaente
bcd34efe91
chore: convert ShowTasks component to script setup and ts 2022-02-06 16:04:49 +01:00
kolaente
a812793ead
feat: add setting for time zone to user settings 2022-02-06 16:04:00 +01:00
kolaente
59da6686d0
feat: add authenticated http factory to create an axios instance with bearer header 2022-02-06 16:01:56 +01:00
kolaente
6c0d091e36
Merge branch 'fix/upcoming' into feature/date-math 2022-02-06 15:29:38 +01:00
konrad
3d3ccf629a feat: add remember me style login (#1339)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1339
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-02-06 13:17:55 +00:00
kolaente
1abd36ef6e
Merge branch 'main' into fix/upcoming 2022-02-06 12:45:17 +01:00
kolaente
9e7c258347
fix: sort tasks correctly by due date 2022-02-06 12:43:42 +01:00
kolaente
7135288800
fix: lint 2022-02-06 12:43:42 +01:00
kolaente
7aa2cfc8d4
feat: add date range filter to task filters 2022-02-06 12:43:40 +01:00
kolaente
3a12be505d
feat: add prop to maybe show selected date 2022-02-06 12:42:50 +01:00
kolaente
a74fc47335
fix: llama position 2022-02-06 12:42:13 +01:00
kolaente
0ae8a0e6ef
feat: add more pre-defined ranges 2022-02-06 12:42:13 +01:00
kolaente
e7fa1d3383
feat: add explanation of how date math works 2022-02-06 12:42:12 +01:00
kolaente
6c55411f71
fix: now correctly showing the title of predefined ranges 2022-02-06 12:41:41 +01:00
kolaente
4d23fae9ad
fix: reset the flatpickr range when setting a date either manually or through a quick setting 2022-02-06 12:41:40 +01:00
kolaente
16f48bcc2d
fix: custom date range with nothing specified 2022-02-06 12:41:40 +01:00
kolaente
1e46849c78
feat: make sure date ranges work with date picker and vice-versa 2022-02-06 12:41:39 +01:00
kolaente
8d5bfbe828
feat: add two inputs to toggle flatpickr 2022-02-06 12:41:20 +01:00
kolaente
dabe87af4b
feat: make sure showTasks can handle dynamic dates 2022-02-06 12:41:19 +01:00
kolaente
6667df5f1f
feat: move everything to fancy date math ranges 2022-02-06 12:40:23 +01:00
kolaente
32bdf16892
feat: use object and loop to set date options 2022-02-06 12:40:23 +01:00
kolaente
ba20ac3b89
fix: don't try to load a langauge if there's none provided
(cherry picked from commit 210a78be86)
2022-02-06 12:28:15 +01:00
Dominik Pschenitschni
c1978e2f6c [skip ci] Updated translations via Crowdin 2022-02-06 00:12:30 +00:00
kolaente
210a78be86
fix: don't try to load a langauge if there's none provided 2022-02-05 21:41:22 +01:00
kolaente
ecf679d8e1
chore: completely move logic of ShowTasksInRange component to ShowTasks and remove it 2022-02-05 21:14:40 +01:00
kolaente
43e83350bd
feat: move logic of ShowTasksInRange component to ShowTasks 2022-02-05 21:12:35 +01:00
kolaente
c41397f5db
feat: add slot for trigger button in <datepicker-with-range> component 2022-02-05 20:29:57 +01:00
kolaente
ccd8602bfd
chore: remove unused style 2022-02-05 20:18:42 +01:00
kolaente
4e8a03066e
chore: use v-else 2022-02-05 20:17:34 +01:00
kolaente
8d13b979ec
chore: remove unrequired type 2022-02-05 20:03:16 +01:00
kolaente
d272eb2a7a
Merge branch 'main' into fix/upcoming
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-02-05 20:02:30 +01:00
Dominik Pschenitschni
a8ac2fc2dd
Merge branch 'main' into feature/login-improvements 2022-02-05 18:04:33 +01:00
Dominik Pschenitschni
9a5b5c688d
Merge branch 'fix/app-ready' into feature/vue3-modals-with-router-4 2022-02-05 17:38:28 +01:00
Dominik Pschenitschni
6827390b77
feat: merge TaskDetailViewModal with modal 2022-02-05 17:29:15 +01:00
Dominik Pschenitschni
24a154422d
chore: remove vikunjaReady from store 2022-02-01 23:09:41 +01:00
kolaente
dfa30258aa
chore: rename function 2022-02-01 21:25:42 +01:00
Dominik Pschenitschni
de626eab31
feat: don't open task detail in modal for list and table view 2022-01-31 01:31:41 +01:00
kolaente
3d420c3770
fix: make isButton prop optional 2022-01-30 23:27:22 +01:00
kolaente
3e311e07cd
fix: undefined prop subscription 2022-01-30 23:18:13 +01:00
kolaente
00ffe17eb8
fix: related task with the same namespace 2022-01-30 23:07:31 +01:00
kolaente
a16e8fea61
Merge branch 'fix/app-ready' into feature/vue3-modals-with-router-4 2022-01-30 21:53:24 +01:00
kolaente
2a819eccb4
revert: model properties
partially reverts de3c47dc69
2022-01-30 20:18:34 +01:00
kolaente
8f04b10e08
Revert "fix: improve ListModel typing"
This reverts commit 98b41a22c6.
2022-01-30 20:15:53 +01:00
Dominik Pschenitschni
0bd235cea3
fix: expose configureCompat types
see: https://github.com/vuejs/docs/pull/1475
2022-01-30 17:24:38 +01:00
Dominik Pschenitschni
6ff621ada1
chore: ignore wrong second argument argument for cause
see: https://github.com/tc39/proposal-error-cause
2022-01-30 16:58:59 +01:00
Dominik Pschenitschni
8937b42321
feat: improve Sort component 2022-01-30 16:53:46 +01:00
Dominik Pschenitschni
6894024ad4
fix: use to.hash for returned element 2022-01-30 16:53:46 +01:00
Dominik Pschenitschni
de3c47dc69
fix ts errors in various files 2022-01-30 16:53:46 +01:00
Dominik Pschenitschni
98b41a22c6
fix: improve ListModel typing 2022-01-30 16:53:45 +01:00
Dominik Pschenitschni
a9fb24aa35
fix: currentList typing 2022-01-30 16:53:45 +01:00
Dominik Pschenitschni
57965b1ea3
fix: keyboard-shortcuts typing 2022-01-30 16:53:45 +01:00
Dominik Pschenitschni
187e62a7ec
feat: make subscription a BaseButton 2022-01-30 16:53:45 +01:00
Dominik Pschenitschni
24b7821c50
fix: ts errors in subscription 2022-01-30 16:53:44 +01:00
kolaente
423195155e
Merge branch 'main' into feature/vue3-modals-with-router-4 2022-01-30 12:40:36 +01:00
kolaente
d913fa1745
fix: edge cases for dates where the next month had fewer days than the current one 2022-01-30 12:38:17 +01:00
kolaente
931941359b
fix: don't try to parse date numbers with letters around them 2022-01-30 12:37:14 +01:00
kolaente
b3697cb9bf
fix: subscription icon not rendered correctly
The computed property "icon" which holds the icon string to be rendered was overriding the <icon> component. Therefore, the component wasn't rendered at all, instead vue would render a html tag with the icon name.
2022-01-29 22:30:47 +01:00
konrad
c98ab42e75 feat: move lists between namespaces (#1430)
Frontend implementation of https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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
kolaente
fdd2e7e538
fix: vuex store mutation violation when archiving a namespace 2022-01-26 14:36:32 +01:00
konrad
cd92d224a2 Merge branch 'main' into feature/login-improvements 2022-01-23 17:06:49 +00:00
Dominik Pschenitschni
6db0559b81 fix: replace faker with community fork faker-js/faker (#1408)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1408
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-20 07:54:39 +00:00
Dominik Pschenitschni
5867f79735
fix: use AsyncEditor again in comments and description 2022-01-19 23:26:34 +01:00
Dominik Pschenitschni
959b53b3a6
chore: remove console.log 2022-01-19 23:16:44 +01:00
Dominik Pschenitschni
c896ad5883
fix: subscription prop validation linting 2022-01-19 23:07:02 +01:00
Dominik Pschenitschni
375c3adfb1 fix: show namespace count for long titles (#1057)
When the namespace title is to long the count was only shown in the toolip. With this pull request the count is separated from the title and always shown.

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Co-authored-by: konrad <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1057
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-19 06:57:45 +00:00
drone
637f2e9742 [skip ci] Updated translations via Crowdin 2022-01-18 22:22:48 +00:00
kolaente
0548649257
fix: lint 2022-01-18 23:12:28 +01:00
kolaente
8555ffcd17
Merge branch 'main' into feature/vue3-modals-with-router-4 2022-01-18 22:27:32 +01:00
kolaente
ca938b8615
fix: subscription prop validation 2022-01-18 22:26:27 +01:00
kolaente
6a6203f553
fix: label edit spacing 2022-01-18 22:22:32 +01:00
kolaente
ff9e1b3fca
fix: vuex store manipulation warning when modifying task labels 2022-01-18 22:12:08 +01:00
kolaente
1818ed3648
fix: scrolling to heading if it wasn't available 2022-01-18 22:00:13 +01:00
kolaente
8233c8c953
fix: check if a shortcut has an available function before trying to invoke it 2022-01-18 21:51:24 +01:00
kolaente
e2d9aa3d7f
Merge branch 'main' into feature/vue3-modals-with-router-4
# Conflicts:
#	src/router/index.ts
#	src/views/tasks/TaskDetailView.vue
2022-01-18 21:47:17 +01:00
kolaente
50c3bcd793 fix: don't try to format invalid dates as ISO 2022-01-18 20:43:52 +00:00
kolaente
2e77df2db2 fix(a11y): remove wrong aria-label 2022-01-18 20:43:52 +00:00
kolaente
56d321e513 feat(a11y): make sure the contrast for the primary color works with dark and light themes 2022-01-18 20:43:52 +00:00
kolaente
cb776872aa feat(a11y): honor prefer-reduced-motion 2022-01-18 20:43:52 +00:00
kolaente
c255e3f025 feat(a11y): add aria-expanded 2022-01-18 20:43:52 +00:00
kolaente
b96af50338 feat(a11y): use better markup tags everywhere 2022-01-18 20:43:52 +00:00
kolaente
0e47cebed5 feat(a11y): use <time> tag for dates everywhere 2022-01-18 20:43:52 +00:00
kolaente
443a9c14b9
fix: attachment meta data not aligned properly 2022-01-18 21:42:43 +01:00
kolaente
cc3fcdf1c3
fix: keyboard shortcut message bottom margin 2022-01-18 21:33:10 +01:00
kolaente
b73165fce4
fix: update available text color in dark mode 2022-01-18 21:31:40 +01:00
drone
729432bceb [skip ci] Updated translations via Crowdin 2022-01-18 18:18:15 +00:00
drone
eddccc709d [skip ci] Updated translations via Crowdin 2022-01-18 14:18:13 +00:00
kolaente
26a94c7e8c
fix: some typechecks
Most of what's still left now is related to models not exporting visible properties for typescript, that's a problem for another day.
2022-01-16 22:24:51 +01:00
kolaente
c7ac81a99f
fix: save user language when it wasn't saved previously 2022-01-14 22:11:13 +01:00
drone
b6788d9367 [skip ci] Updated translations via Crowdin 2022-01-12 21:10:32 +00:00
kolaente
796a56d5d8
fix: translation typo 2022-01-12 19:53:02 +01:00
kolaente
01323a1b45
Merge branch 'main' into fix/upcoming
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-01-09 11:48:37 +01:00
drone
8d811fcf19 [skip ci] Updated translations via Crowdin 2022-01-09 10:29:59 +00:00
konrad
6080e49f26 fix: flatpickr date not updating (#1336)
Fixes https://github.com/go-vikunja/api/issues/16

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1336
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-09 10:17:18 +00:00
konrad
ed88fb91bc fix: don't recognize emails in quick add magic (#1335)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1335
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-09 10:17:01 +00:00
konrad
76fe2ceac6 fix: editor color in dark mode (#1338)
This PR fixes the editor colors in dark mode. It bothered me enough to finally fix it :)
The implementation is probably only "good enough" as we'll replace the editor anyway in the future.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1338
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-09 10:16:13 +00:00
drone
c2e4fc1e3c [skip ci] Updated translations via Crowdin 2022-01-08 22:31:19 +00:00
dmorlitz
044f2b927d feat: changed green "Done" button to read "Mark task done" (#1340)
The green button can be confusing because the wording "Done" can be interpreted as "done editing the task" or "the task should be marked as done". Changing the text in the button makes the description more precise.

Co-authored-by: David Morlitz <david@morlitz.com>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1340
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dmorlitz <david@morlitz.com>
Co-committed-by: dmorlitz <david@morlitz.com>
2022-01-08 21:18:06 +00:00
kolaente
0473c385d6
fix: editor cursor color 2022-01-08 17:34:13 +01:00
kolaente
55826bb8c9
fix: make sure the app is fully ready before trying to redirect to the login page 2022-01-08 15:44:33 +01:00
kolaente
68a76faacc
fix: don't reset active fields when saving
Resolves #590
2022-01-08 15:13:49 +01:00
kolaente
4579dd3ce7
fix: button size on task detail view 2022-01-08 15:11:55 +01:00
kolaente
310578d349
Merge branch 'main' into feature/login-improvements
# Conflicts:
#	src/components/misc/no-auth-wrapper.vue
#	src/styles/components/_index.scss
#	src/views/user/Login.vue
#	src/views/user/Register.vue
2022-01-08 13:44:35 +01:00
Dominik Pschenitschni
49a6569db0 fix: remove obsolet code (#1312)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1312
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-06 10:34:14 +00:00
Dominik Pschenitschni
49955eb03a
fix: remove some of the typescript warnings 2022-01-05 16:17:14 +01:00
Dominik Pschenitschni
64d632b0a5 [skip ci] Updated translations via Crowdin 2022-01-05 14:36:24 +00:00
Dominik Pschenitschni
e28f0f5be4 chore(addTask) improve order (#1297)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1297
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-05 13:14:50 +00:00
konrad
c618b7e0b6 fix: namespace new buttons on mobile (#1262)
Before:

![image](/attachments/7626e28d-8a13-4f92-b162-697676f765c7)

After:

![image](/attachments/5331af47-4887-4ba5-98d7-ee70311e20d7)

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1262
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-05 12:46:33 +00:00
Dominik Pschenitschni
e6e8a98514
fix: don't set defined values for search and page 2022-01-04 21:55:33 +01:00
Dominik Pschenitschni
76f4cca5fe
fix: move local storage list view to router 2022-01-04 21:55:33 +01:00
Dominik Pschenitschni
5916a44724
feat: provide listId prop via router 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
6d62ca1ada
fix: check now just once 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
e54d95802b
fix: closing modal 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
e837621ef8
Try to cache list views 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
2db820d926
feat: review changes 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
f3358269e5
fix task remove label test 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
700fce3c2c
fix: sharing components 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni
58207db6c3
fix: kanban tests 2022-01-04 21:55:31 +01:00
Dominik Pschenitschni
e78d47fdcf
fix: list specs 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
5937f01cc5
fix: list loading 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
29a9335844
feat: save current list view just once 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
7eed0628d0
feat: mount list views as route-views 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
16b0d03601
fix: readd modal transitions 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
c70211ad32
feat: unify modal view
fix: List.vue
2022-01-04 21:55:30 +01:00
Dominik Pschenitschni
281c922de1
feat: make taskList a composable 2022-01-04 21:55:29 +01:00
Dominik Pschenitschni
5a0c0eff9f
feat: implement modals with vue router 4
This is an implementation of the modals with the new possibilities of vue router 3.

See: https://github.com/vuejs/vue-router/issues/703#issuecomment-865066913 for a better explanation
and the linked example implementation: https://github.com/vuejs/vue-router-next/blob/master/e2e/modal/index.ts
2022-01-04 21:55:29 +01:00
Dominik Pschenitschni
29d8422e94
fix(ready): remove class form fragment 2022-01-04 21:15:02 +01:00
Dominik Pschenitschni
cdbd1c2ac4 feat: create BaseButton component (#1123)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1123
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-04 18:58:06 +00:00
Dominik Pschenitschni
cb37fd773d feat: convert to composable useDateTimeSalutation 2022-01-04 18:44:07 +00:00
kolaente
d2577f1df6 feat: use useNow to provide auto updates 2022-01-04 18:44:07 +00:00
kolaente
27534a98e9 feat: return full translation key 2022-01-04 18:44:07 +00:00
kolaente
de77393905 feat: move the calculation of the current salutation to a different function 2022-01-04 18:44:07 +00:00
Dominik Pschenitschni
8114012997
feat: replace jest with vitest 2022-01-04 14:16:47 +01:00
konrad
4a7d2d8414 feat: save and restore the user language on the server (#1181)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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
kolaente
0befa58908 fix: blockquote styling in dark mode 2021-12-30 15:59:59 +00:00
kolaente
8ae84eaf42 fix: padding and centering of the kanban limit and dropdown 2021-12-30 15:59:59 +00:00
kolaente
1648bcdb70
chore: make select date button actually a button 2021-12-30 16:12:44 +01:00
Dominik Pschenitschni
cd10bc9d7a fix(gantt): use function to create default date 2021-12-30 13:05:29 +00:00
kolaente
0710cea9e5
fix: lint 2021-12-29 21:33:55 +01:00
kolaente
294e89b6f7
fix: z-index 2021-12-29 21:12:43 +01:00
kolaente
75cbc73b33
fix: loading spinner 2021-12-29 20:59:30 +01:00
kolaente
950fdce111
chore: move datepicker popup to real popup component 2021-12-29 20:54:01 +01:00
kolaente
932f1774ec
feat: move date filter to popup and improve styling 2021-12-29 20:36:53 +01:00
kolaente
d825960836
chore: make showNulls and showOverdue computed 2021-12-29 18:12:43 +01:00
kolaente
f691e96e22
fix: checkboxes 2021-12-29 18:06:12 +01:00
kolaente
0d6ef8f18a
chore: move task sorting to computed 2021-12-29 17:24:56 +01:00
kolaente
d6dd1fc0e3
fix: date range 2021-12-29 17:22:14 +01:00
kolaente
729aa7d4cc
fix: date format 2021-12-29 17:08:33 +01:00
kolaente
c24b8af00d
fix: pay attention to week start setting 2021-12-29 16:51:21 +01:00
kolaente
8f8d25ece1
feat: add more date ranges and make sure they actually make sense 2021-12-29 16:48:34 +01:00
kolaente
e93be0d04c
chore: cleanup old stuff 2021-12-29 16:06:05 +01:00
kolaente
a5b23a7048
feat: disable time 2021-12-29 16:03:29 +01:00
kolaente
858e7d60a6
docs: add fixmes 2021-12-29 16:03:05 +01:00
kolaente
12317c56b3
feat: make the custom button actually do stuff 2021-12-29 16:01:59 +01:00
kolaente
378f782d44
fix: disable broken stuff 2021-12-29 16:01:23 +01:00
kolaente
b274a796d4
chore: use ts 2021-12-29 16:00:06 +01:00
kolaente
3d1c1e41c7
feat: make active class work 2021-12-29 15:56:50 +01:00
kolaente
8115563d67
feat: add new component for a datepicker with range 2021-12-29 15:44:13 +01:00