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>
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>
Shows the task completion percent as progress bar in task lists and on kanban cards.
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/354
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: azymondrian <azymondrian@protonmail.com>
Co-committed-by: azymondrian <azymondrian@protonmail.com>
Add an icon to indicate that task has a description (similar to Trello). Would also be nice to add a counter for comments, but it's not possible to reasonably currently implement unless the API also gets changed.
Also add attachment icon to List view, and change the icon in Kanban view to be consistent with the rest of the icon set.
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/360
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: profi248 <kostal.david8@gmail.com>
Co-committed-by: profi248 <kostal.david8@gmail.com>
Add filter population method for labels
Add filter population methods for lists and namespaces
Re-extract one-line methods
Who said you could abstract too much?
Fix populating saved filters with assignees
Add namespaces filter
Add lists filter
Abstract finding related entities
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/351
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
Reload namespaces and lists after migrating
Add trello logo
Add trello migration
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/336
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
Fix main body overflow on medium screen sizes
Remove wait for done button in cypress test
Add wait for done button in cypress test
Calc whether menu should be open on first page load
Mobile Menu fixes
- Doesn't scrunch the main content on opening the menu
- Keep main content aligned left when the menu is open
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/332
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-Authored-By: azymondrian <azymondrian@protonmail.com>
Co-Committed-By: azymondrian <azymondrian@protonmail.com>
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: https://kolaente.dev/vikunja/frontend/pulls/313
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
fix requested changes
use computed for listColor, moved .colorBubble to theme.scss
fixed tabs
add color indicator to task list
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/321
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-Authored-By: Bouni <bouni@owee.de>
Co-Committed-By: Bouni <bouni@owee.de>
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: https://kolaente.dev/vikunja/frontend/pulls/308
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
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: https://kolaente.dev/vikunja/frontend/pulls/307
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
Make sure to use the user name field everywhere
Add showing and modifying user name
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/306
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
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: https://kolaente.dev/vikunja/frontend/pulls/305
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
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: https://kolaente.dev/vikunja/frontend/pulls/290
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
Only include needed parts from lodash
Don't prefetch
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/288
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
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: https://kolaente.dev/vikunja/frontend/pulls/283
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
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: https://kolaente.dev/vikunja/frontend/pulls/264
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
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: https://kolaente.dev/vikunja/frontend/pulls/254
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
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: https://kolaente.dev/vikunja/frontend/pulls/239
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
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: https://kolaente.dev/vikunja/frontend/pulls/236
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: https://kolaente.dev/vikunja/frontend/pulls/211
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: https://kolaente.dev/vikunja/frontend/pulls/199
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: https://kolaente.dev/vikunja/frontend/pulls/193
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: https://kolaente.dev/vikunja/frontend/pulls/183
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: https://kolaente.dev/vikunja/frontend/pulls/160
Format
Add migration to Settings
Merge branch 'master' into feature/hide-hints
Hide hints on start page if a user has tasks
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/159
Formatting
Show loading if a file is uploading
Only show image files in upload
Hide background settings if none are available
Fix showing uploaded background after uploading a new one
Add background upload
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/151
Set done filter based on passed params
Make due date filter actually work
Move filters into seperate config
Merge branch 'master' into feature/task-filters
Change done task filter text
Make sure done tasks are always shown in table view
Table view filter improvements
Add done filter to table view
Fix indent
Add filter icon
Move search and filter container
Add filter for done tasks
Hide done tasks by default
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/149
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: https://kolaente.dev/vikunja/frontend/pulls/144
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: https://kolaente.dev/vikunja/frontend/pulls/134
Fix due date disappearing after moving it
Fix removing labels not being updated in store
Fix adding labels not being updated in store
Fix removing assignees not being updated in store
Fix adding assignees not being updated in store
Fix due date not resetting
Fix task attachments not updating in store after being modified in popup view
Fix due date not updating in store after being modified in popup view
Fix using filters for overview views
Fix not re-loading tasks when switching between overviews
Only show undone tasks on task overview page
Update task in bucket when updating in task detail view
Put all bucket related stuff in store
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/130
Merge branch 'master' into feature/vuex
Cleanup
Move namespaces handling to store
Move fullpage setting to store
Move online/offline handling to store
Remove debug log
Fix loading namepaces
Rename errorMsg
Handle registering through the store
Use store to determine wether or not a user is authenticated on login page
Use store in edit team
Use store to get the current user's avatar
Use store to figure out if the current user belongs to a team
Use store to figure out if the current user is list admin
Use store to get user info when listing labels
Use store to get username on home
Use store to figure out if the user is namespace admin
Use the store for configuration
Use the store to check if a user is authenticated everywhere
Only renew token if the user is logged in
Fix renewing auth from jwt token
Move logout to store
Move renew token to store
Move log in to store
Only show enabled migrators
Only show registration button if registration is enabled
Put all config information from the backend in the store
Remove old config handler
Move config state to seperate module
Add vuex and get the motd through it
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/126
Fix member/admin button overflowing
Fix changing team member admin status
Fix adding team members
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/121
Add error message when trying to create an invalid new task in a bucket
Prevent creation of new buckets if the bucket title is empty
Disable deleting a bucket if it's the last one
Disable dragging tasks when they are being updated
Fix transition when opening tasks
Send the user to list view by default
Show loading spinner when updating multiple tasks
Add loading spinner when moving tasks
Add loading animation when bucket is loading / updating etc
Add bucket title edit
Fix creating new buckets
Add loading animation
Add removing buckets
Fix creating a new bucket after tasks were moved
Fix warning about labels on tasks
Fix labels on tasks not updating after retrieval from api
Fix property width
Add closing and mobile design
Make the task detail popup look good
Move list views
Move task detail view in a popup
Add link to tasks
Add saving the new task position after it was moved
Fix creating new bucket
Fix creating a new task
Cleanup
Disable user selection for task cards
Fix drag placeholder
Add dragging style to task
Add placeholder + change animation duration
More cleanup
Cleanup / docs
Working of dragging and dropping tasks
Adjust markup and styling for new library
Change kanban library to something that works
Add basic calculation of new positions
Don't try to create empty tasks
Add indicator if a task is done
Add moving tasks between buckets
Make empty buckets a little smaller
Add gimmick for button description
Fix color
Fix scrolling bucket layout
Add creating a new bucket
Add hiding the task input field
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/118
Fix not telling the user about invalid totp passcodes when logging in
Add disabling totp authentication
Add totp passcode when logging in
Add totp settings
Add general post method function
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/109
Change all snake/camelCase mix and match to camelCase everywhere
Fix conversion to not interfer with service interceptors
Add dynamic conversion between camelCase and snake_case to services
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/105
Save sort order to local storage
Save selected columns to localStorage
Loading spinner
More sorting
Add sorting
Styling and hiding of column filter
Add checkbox to show/hide columns
Use fancycheckbox everywhere
Fix is done badge
Change sort order in table view
Add is done column to table
Better text handling
Refactor is done into seperate component
Add pagination to table view
Add assignees to table view
Fix redirecting to table view
Add date tooltip to date field
Add date tooltip to date field
labels for table view
Styling
Add basic table view
Extend priority label
Split list view in mixins
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/76