Commit Graph

124 Commits

Author SHA1 Message Date
Dominik Pschenitschni 986130a0ac
feat: merge offline.scss with component 2021-10-25 16:39:33 +02:00
Dominik Pschenitschni 1f5283d548
feat: rework style imports 2021-10-25 16:39:29 +02:00
Dominik Pschenitschni bb94c1ba3a
feat: use async / await where it makes sense 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 7c3c2945f8
feat: use vue-i18n 9 for vue3 2021-10-01 18:49:54 +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 ebeca48be4
fix: namespace collision of global error method with draggable error method 2021-09-24 21:46:42 +02:00
dpschen 0295113f50 feat: use store getters to check auth (#731)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#731
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:04:00 +00:00
kolaente d23fc3be74
Fix redirecting to /login for some routes 2021-08-15 18:52:31 +02:00
kolaente 3aa316988b
Directly redirect to the openid auth provider if that's the only auth method 2021-08-15 12:02:29 +02:00
konrad dc04c1b256 User account deletion (#651)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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
konrad 3c7f8d7aa2 Reorder tasks, lists and kanban buckets (#620)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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
konrad a08306d612 Add vite (#416)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#416
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-25 13:27:15 +00:00
konrad f0498fd767 Add translations (#562)
Reviewed-on: vikunja/frontend#562
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-06-23 23:24:57 +00:00
kolaente 1a03c035f0
Don't hide all lists of namespaces when loosing network connectivity 2021-04-19 22:36:31 +02:00
kolaente 624e4e6d27
Fix password reset 2020-12-30 21:43:43 +01:00
kolaente 97aca96e7e
Fix logging out after reloading the page 2020-11-02 21:48:09 +01:00
konrad 588b4f507a Refactor app component (#283)
Fix redirect to home

Move redirect to home to no auth component

Move setup stuff to separate functions

Renew token in authenticated component

Use vue's router object

Move auth type checks to computed properties

Move after route stuff to authenticated content component

More Cleanup

Cleanup

Hide the navigation on mobile in the navigation component

Load namespaces from inside the navigation component

Fix logout

Move not authenticated content to separate component

Fix favoriting lists

Move link share authenticated stuff to separate component

Move authenticated stuff to separate component

Move side navigation to separate component

Move top navigation bar to separate component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#283
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-01 17:36:00 +00:00
kolaente a01fc161fa
Remove "collapse menu button" and make the hamburger button always visible 2020-10-24 17:38:54 +02:00
konrad 1935af83c3 Allow setting api url from the login screen (#264)
Cleanup

Use the http factory everywhere instead of the created element

Use the current domain if the api path is relative to the frontend host

Format

Prevent setting an empty url

Fix styling

Add changing api url

Add change url component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#264
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-11 10:13:35 +00:00
kolaente 844905b0d9
Make sure to always load the home route when starting the app 2020-10-08 22:17:41 +02:00
konrad f2fcf42639 Favorite lists (#237)
Remove/show favorites namespace if a task/list is the first to being marked as favorite

Add special case to prevent marking an archived list as favorite

Add marking a task as favorite  on namespaces page

Prevent toggling the favorite state for the favorites list

Add method to toggle list favorite in the menu

Add favorite icon to lists in menu

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#237
2020-09-06 14:20:48 +00:00
kolaente a8a7f70a3c
Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02:00
kolaente 42500da8a9
Fix archived lists still showing up in the side menu 2020-08-15 22:28:38 +02:00
kolaente d95571309b
Fix bottom padding on kanban 2020-08-11 20:47:27 +02:00
konrad 3c07c6e8c0 Hide UI elements if the user does not have the right to use them (#211)
Hide Team UI elements if the user does not have the rights to use them

Fix replacing the right saved in the model when updating

Hide UI-Elements on task if the user does not have the rights to use them

Hide UI-Elements on gantt if the user does not have the rights to use them

Hide UI-Elements on kanban if the user does not have rights to use them

Fix canWrite condition

Hide list components if the user has no right to write to the list

Add max right to model

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#211
2020-08-11 18:18:59 +00:00
konrad ec1b039daa More avatar providers (#200)
Reload the avatar after changing it

Hide cropper after upload

Fix aspect ratio

Add loading variable

Move avatar settings to seperate component

Add avatar crop

Fix avatar upload

Add avatar file upload

Add abstract methods for file upload

Add saving avatar status

Add avatar setting

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#200
2020-08-02 17:17:29 +00:00
kolaente e4f4df0655
Hide the user menu if clicked outside of it 2020-07-29 22:01:54 +02:00
konrad be093e3779 Keyboard Shortcuts (#193)
Add the keyboard shortcuts button

Add task keyboard shortcuts

Add info

Move keyboard shortcuts modal toggle to menu

Add modal for shortcuts

Add shortkeys for some task actions

Add shortkey to toggle menu

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#193
2020-07-25 14:52:04 +00:00
kolaente 0be280aae3
Show legal links from api if configured 2020-07-18 21:39:30 +02:00
konrad a0b9acee41 Add Page Titles Everywhere (#177)
Add page titles everywhere

Add global mixin to set page title

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#177
2020-07-07 20:07:13 +00:00
kolaente d586e15c56
Add option to hide the menu on desktop 2020-06-25 23:56:41 +02:00
kolaente 8a7ecfa3bb
Check if we have a service worker available before trying to communicate with it 2020-06-21 13:19:54 +02:00
kolaente 82ac226fc1
Rename routes to follow the same pattern 2020-06-17 22:24:37 +02:00
kolaente fc4b9d439b
Restructure components 2020-06-17 22:15:59 +02:00
konrad cf136132e3 Namespaces & Lists Page (#160)
Center list backgrounds

Better alignment of new namespace and filter button

Make creating new namespace button clear

Hide archived lists unless the user wants it

Make all cards responsive

Cleanup

Show it if a namespace is archived

Show if a list is archived

Fix not updating the list in store after updating the background

Make task cards smaller

Display list backgrounds in cards and look good while doing it

lighter shadow

Change background to stripes

Set list backgrounds as card backgrounds

Add background color check to color appropriatly

Move color check to mixin

Use background color from tasks

Change list card color

Make create new namespace button stick to the right

Shadow all the things

Don't keep list backgrounds set when navigating back

Make links to list clickable

Add seperate page for namespaces

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#160
2020-06-16 22:20:37 +00:00
kolaente 0720f644d0
#PrideMonth 2020-06-14 22:43:08 +02:00
kolaente b754399489
Redirect the user to login page if the token expired when the tab gets focus again 2020-06-12 20:11:23 +02:00
kolaente dc29604f94
Only renew user token on tab focus events 2020-06-12 20:02:32 +02:00
kolaente cd98b41bec
Fix list title on mobile 2020-06-12 19:32:37 +02:00
kolaente 3441072c2c
Show list background when viewing a link share 2020-05-31 21:31:42 +02:00
konrad 4b3f92ae34 Custom backgrounds for lists (#144)
Make backgrounds list responsive

Show initial collection of backgrounds

Remove test data

Fix "backgroundInformation is null" when navigating

Fix kanban height

Remove debug log

Move list title to top header

Add styling for title in top header

Set the current list (and background) when loading settings

Only load the background if it changed

Make task detail view look good again

Fix bottom spacing

Make list and table view look good again

Make pages with background at least 100vh

Fix kanban height

Make extra buttons look good again

Move list title and view-switcher in one row

Add styling for backgrounds

Set background globally

Add getting list background and putting it in vuex

Add setting list background

Move list background setting to seperate list

Add search timeout to not search on every keypress

Add getting thumbnails through api

Add basic search for unsplash backgrounds

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#144
2020-05-31 19:17:10 +00:00
konrad d7b4b2189a Ensure consistent naming of title fields (#134)
Merge branch 'master' into fix/title-fields

Change task text field to title

Change namespace name field to title

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#134
2020-05-16 10:31:16 +00:00
kolaente c4b92a8f52
Fix redirect when not logged in 2020-05-16 12:02:30 +02:00
kolaente d0f6a4ce99
Better responsive layout for unauthenticated pages 2020-05-12 15:18:37 +02:00
kolaente b876a4d4dc
Fix redirecting for unauthenticated pages to login 2020-05-12 15:17:47 +02:00
kolaente 0dc4e6b95d
Fix trying to load the current tasks even when not logged in (Fixes #133) 2020-05-12 15:08:17 +02:00
kolaente 495350fa83
Fix not redirecting to login page after logging out 2020-05-09 22:31:33 +02:00
kolaente f878063015
Only set fullpage state to false if the page is actually fullpage 2020-05-09 22:24:42 +02:00
kolaente 8ae03fa6e9
Highlight the current list when something list related is called 2020-05-08 21:07:33 +02:00