285 Commits

Author SHA1 Message Date
b822b3616b Frontend Testing With Cypress (#313)
Some checks failed
continuous-integration/drone/push Build is failing
Wait until the request is finished

Wait for the newly created task exists in the dom

Wait until the login request is done

Wait until the list request is done

Make sure no user token is in local storage when trying to register

Make sure to always upload test results

Disable capturing videos of test runs in CI

Add uploading test result screenshots from ci

Assert a success notification is shown after creating a new list

Change input element locators

Fix testing for favorite lists

Make sure faked usernames are always random

Make sure the tests work

Make sure to use node 12 everywhere in ci

Add docs

Fix setting api url for running tests

Use a working node version

Ignore cypress screenshots and videos

Set cache folders

Explicitly ignore cypress files when running unit tests

Trigger Drone

Only run unit tests with yarn test:unit

Add serve dist command to serve built static files

Trigger Drone

Fix cypress image

Change cypress image

Unify test & build step back again to prevent double installation of dependencies

Add cache location config

Move test steps to separate pipeline

Run cypress tests in drone

Fix all tests

Make all factory methods static

Use factories everywhere

Cleanup

Add tests for the editor

Add tests for viewing link shares

Fix seed

Add test to make sure settings elements are hidden if the user does not have the right to edit the current list

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #313
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 13:52:35 +00:00
1dcf4520a0 Add color indicators to task list (#321)
All checks were successful
continuous-integration/drone/push Build is passing
fix requested changes

use computed for listColor, moved .colorBubble to theme.scss

fixed tabs

add color indicator to task list

Reviewed-on: #321
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-Authored-By: Bouni <bouni@owee.de>
Co-Committed-By: Bouni <bouni@owee.de>
2020-12-10 12:06:49 +00:00
6c06554ebe
Add more spacing for checkboxes in the editor 2020-12-08 18:51:46 +01:00
188d54ebe6
Make sure the editor does not break if the text has checkboxes
Some checks failed
continuous-integration/drone/push Build is failing
2020-12-08 18:40:13 +01:00
f22942e883
Fix repeat after layout
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-28 16:02:38 +01:00
d0e304e43b
Add disabled state for task titles
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-28 15:30:34 +01:00
fb3cf94cba Better reminders (#308)
All checks were successful
continuous-integration/drone/push Build is passing
Fix setting the new reminder component to null after adding a new date

Add "close on change" event which only fires if the component closed and the value actually changed

Hide the "today" option after 21:00

Add "confirm" button to close the component

Use disabled in reminders

Add a disabled property to the datepicker

Cleanup workarounds for flatpickr

Use the new datepicker for end dates

Use the new datepicker for start date

Use the new datepicker for due dates

Mobile styling

Format

Sync flatpickr when clicking on choose a date

Make sure to only hide the popup when not clicked something inside of it

Make flatpickr dates work

Use datepicker component for reminders

Merge branch 'master' into feature/better-reminders

Fix bottom padding of inline flatpickr

Set time

Add method to calculate the neares time

Move time helpers in separate folder

Remove separate flatpickr date

Cleanup

Set the flatpickr date when setting changing the date

Better formatting of the chosen date

Bubble

Set date when choosing one

Fix test

Show correct weekday in preview

Change hover background color

Make label to show if selected date is null configurable

Use a different icon for weekend

Ignore test files when linting

Add tests to dron

Move day interval calculation to separate file and test it

Add next date calculation

Add basic date picker component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #308
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-28 13:59:27 +00:00
5d995a2758
Move next week/next month task overview pages into a single "Upcoming" page and allow toggle
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-22 18:05:25 +01:00
148cc1dcca Better save messages for tasks (#307)
All checks were successful
continuous-integration/drone/push Build is passing
Add success messages when managing assignees

Add success messages when managing labels

Add better loading animations for related tasks

Add better loading animations for comments

Don't block everything while loading

Move task heading to separate component which handles all saving related things

Make sure to only show the loading spinner and saved message when saving the description

Show a maximum of 2 notifications

Move task description to separate component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #307
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-22 16:32:35 +00:00
b9eeec0125
Hide menu on mobile after navigating
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-21 22:31:34 +01:00
3343b1c240 Add showing and modifying user name (#306)
All checks were successful
continuous-integration/drone/push Build is passing
Make sure to use the user name field everywhere

Add showing and modifying user name

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #306
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 21:25:00 +00:00
c536707f3a Authentication with OpenID Connect providers (#305)
All checks were successful
continuous-integration/drone/push Build is passing
Fix setting auth config from api in state

Verify auth state before authenticating

Add showing openid providers on login

Parse auth config from /info

Add authentication through openid

Add openid auth component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #305
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 16:38:40 +00:00
460c30bd36
Improve comment avatars on mobile
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-15 17:17:08 +01:00
1d66218d5b
Add filters to gantt chart
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-15 16:32:46 +01:00
309b02d766
Fix avatar icon of attachments created by
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-12 21:32:53 +01:00
15a2da41ba
Show loading spinner when loading namespaces & lists
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-12 20:57:39 +01:00
4733963749
Fix showing the keyboard shortcuts from the menu
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-11 22:04:32 +01:00
a0d63272a6
Show all available shortcuts everywhere but indicate which work on the current page
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-11 22:02:57 +01:00
982d838dd4
Make keyboard shortcuts single keys
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-11 21:31:11 +01:00
4e2606a0d6
Fix renewing token on focus
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-10 21:54:04 +01:00
092e5165dc Build custom v-tooltip (#290)
All checks were successful
continuous-integration/drone/push Build is passing
Remove tooltips when their elements are unbound

Add support for .bottom modifier

Remove v-tooltip from dependencies

Add comments

Fix usage with bigger tooltips

Add very basic vanilla js tooltip

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #290
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-10 20:47:39 +00:00
2af53b16b6 Performance improvements (#288)
All checks were successful
continuous-integration/drone/push Build is passing
Only include needed parts from lodash

Don't prefetch

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #288
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-02 20:47:31 +00:00
588b4f507a Refactor app component (#283)
All checks were successful
continuous-integration/drone/push Build is passing
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: #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
237a914dee
Add default color palette to picker
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-01 14:59:47 +01:00
da1d34789d
Get rid of the null reminder to fix jumping inputs when updating reminders
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-24 18:12:14 +02:00
5e046fbd06
Don't reset task relation kind after adding a task relation
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-24 14:38:25 +02:00
91c49352b6
Fix editor spacing
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-18 21:11:54 +02:00
1935af83c3 Allow setting api url from the login screen (#264)
All checks were successful
continuous-integration/drone/push Build is passing
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: #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
5bb8afbde5
Open unsplash author links in a new window
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-08 22:00:45 +02:00
2870f9217e
Show caldav url in settings if it's enabled server side
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-03 14:58:33 +02:00
92965ad4e2 Update dependency eslint-plugin-vue to v7 (#255)
All checks were successful
continuous-integration/drone/push Build is passing
Fix lint errors

Update dependency eslint-plugin-vue to v7

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: #255
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-02 16:47:45 +00:00
4defe4c28a Fix Assignees being deleted when adding a due date (#254)
All checks were successful
continuous-integration/drone/push Build is passing
Use a model to make sure all changes of task assignees are bubbled back up to the task

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #254
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-02 16:40:04 +00:00
6b1ebbabb7 Saved filters (#239)
All checks were successful
continuous-integration/drone/push Build is passing
Fix saving

Cleanup

Fix single value prepare

Add prepare percent done stub

Fix populating filters with saved values when editing for single values

Fix populating filters with saved values when editing

Add edit filter view page

Hide adding new tasks to pseudolists

Make sure all filter values are passed as strings as per requirement from the api

Add redirect to list after creating it

Add creating saved filter

Add filter by percent done

Add end date filter

Add start date filter

Add extra checkbox to enable/disable priority filter

Add changing priority

Add more filter stubs

Fix dates for filters

Add saved filter create form

Add include nulls and concat to filter options

Add new saved filter component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #239
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-09-26 21:02:37 +00:00
5a0ef73b54
Only show the list at the end of the task if it was not specially required to show the list
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-05 23:42:34 +02:00
a8a7f70a3c
Cleanup code & make sure it has a common code style
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-05 22:35:52 +02:00
4a8b15e7be Favorite tasks (#236)
All checks were successful
continuous-integration/drone/push Build is passing
Add loading spinner when updating a task

Show favorites namespace if the favorited task is the first favorite

Show the list favorited tasks belong to

Fix task width

Add method to mark a function as favorite

Make favorite clickable

Format

Hide favorite button when not hovered

Add button to mark a task as favorite

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #236
2020-09-05 20:16:17 +00:00
3c07c6e8c0 Hide UI elements if the user does not have the right to use them (#211)
All checks were successful
continuous-integration/drone/push Build is passing
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: #211
2020-08-11 18:18:59 +00:00
ec1b039daa More avatar providers (#200)
All checks were successful
continuous-integration/drone/push Build is passing
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: #200
2020-08-02 17:17:29 +00:00
617bcea04e Add deferring task's due dates directly from the overview (#199)
All checks were successful
continuous-integration/drone/push Build is passing
Make the defer popup responsible

Add buttons to defer by 1/3/7 days

Add updating due date

Add update method

Add component to defer the due date from the task overview

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #199
2020-08-01 13:17:10 +00:00
aa67a6971a
Trigger @change when pasting content into editor
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-29 21:57:35 +02:00
b1b5398c56
Add more prefetching of components
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-28 10:14:42 +02:00
be093e3779 Keyboard Shortcuts (#193)
All checks were successful
continuous-integration/drone/push Build is passing
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: #193
2020-07-25 14:52:04 +00:00
0be280aae3
Show legal links from api if configured
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-18 21:39:30 +02:00
6662cbe264
Don't show a confusing message if no options are available
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-15 21:13:59 +02:00
3874355953 Add easymde & markdown preview for editing descriptions and comments (#183)
All checks were successful
continuous-integration/drone/push Build is passing
Make sure no text from previous mounts is left in the editor text field

Make preview not the default when rendering descrition settings

Add option to show editor by default while still having the option to show preview

Add option to show editor by default while still having the option to show preview

Use editor component for edit labels

Use editor component for edit team

Use editor component for edit namespace

Use editor component for edit list

Use editor component for edit task

Make sure we find all checkboxes

Fix checking wrong checkbox

Make finding and replacing checkboxes in a function actually work

Add upading text with checked checkboxes

Lazy load editor

Remove preview since we have a better one

Make easymde smaller by default

Add image upload from comments

Rename easymde component to editor

Only show preview button if editing is currently active

Make editor tabs look better when commenting

Make comments meta look better

Don't try to update if the value was initially set

Use editor to render and edit comments

Make preview optional

Make tabs look better

Don't switch to preview after editing

Centralize attachment state

Render markdown by default

Fix title being "null"

Fix loading attachment images

Add standalone preview

Fix callback url

Add onsuccess callback

Add file upload

Fix date parsing once and for all

Add more props for upload and such

Fix editor border color

Fix changing text after mounting

Add link to guide

Fix sizing of icons

Add timeout for changes

Add all easymde icons

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #183
2020-07-14 19:26:05 +00:00
6a6aabae3b
Revert "Start adding easymde icons"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 0ccb971c
2020-07-10 10:19:21 +02:00
0ccb971c5c
Start adding easymde icons
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-09 19:14:35 +02:00
792a80ab44
Fix task list if it has tasks with a long unbreakable title
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-07 21:38:59 +02:00
5e170e14cc
Fix checking for existing migration from other services
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-05 17:31:15 +02:00
a9e8a3969b Add list duplicate (#172)
All checks were successful
continuous-integration/drone/push Build is passing
Add list duplicate

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #172
2020-06-30 20:53:25 +00:00