Commit Graph

115 Commits

Author SHA1 Message Date
kolaente 75262b716f
fix(kanban): opening a task from the kanban board and then reloading the page should not crash everything when then navigating back
continuous-integration/drone/push Build is passing Details
Before this fix, the following would not work:

1. Open the kanban view of a project
2. Click on a task to open it in a modal
3. Reload the page
4. Using your browser's back button, navigate back

Instead of showing the kanban board with the task modal closed, it would
navigate to `/projects/0/kanban` and crash.
2023-11-15 23:43:39 +01:00
kolaente 3d2fe4cf65
feat(webhooks): add webhook management form 2023-10-18 20:12:48 +02:00
kolaente a20eef2453
feat(api tokens): add basic api token overview 2023-09-01 11:15:48 +02:00
kolaente f7e22c8c56
fix(auth): correctly redirect the user to the last visited page after login
continuous-integration/drone/push Build is passing Details
Resolves #3682
2023-08-24 12:15:45 +02:00
kolaente c2ffe3a9dc
feat: check link share auth from store instead 2023-06-19 15:28:06 +02:00
kolaente 0ce150af23
chore: move const 2023-06-19 15:28:06 +02:00
kolaente 06a1ff6f4b
chore: reduce nesting 2023-06-19 15:28:06 +02:00
kolaente 61baf02e26
chore: import const instead of redeclaring it 2023-06-19 15:28:05 +02:00
kolaente f68bb2625e
feat: persist link share auth rule in url hash
This allows sharing links to a task directly. We're using hashes instead
of query parameters because hash values are usually not logged in access
logs.

With this change, when a user uses a link share, the link share hash
will be appended to all urls while browsing. When a link share hash is
encountered in the current url and the user is not authenticated, they
will be redirected to the link share auth page, get authenticated and
then get redirected to whatever url they were previously on.
2023-06-19 15:28:05 +02:00
kolaente b34118485c
feat: allow creating a new project directly as a child project from another one 2023-05-24 15:54:37 +02:00
kolaente 78158bcba5
fix: remove getProjectById and replace all usages of it 2023-05-24 15:54:35 +02:00
kolaente 10311b79df
fix: remove namespace routes 2023-05-24 15:54:27 +02:00
kolaente a5e710bfe5
fix: route to create new project 2023-05-24 15:54:27 +02:00
kolaente e1bdabc8d6
feat: move namespaces list to projects list 2023-05-24 15:54:27 +02:00
Dominik Pschenitschni af523cfcd7 feat: add redirect for old list routes 2023-03-14 14:04:23 +00:00
Dominik Pschenitschni 842f204123 fix: improve projectView storing and add migration 2023-03-14 14:04:23 +00:00
Dominik Pschenitschni 9162002e55 fix: spacing 2023-03-14 14:04:23 +00:00
kolaente befa6f27bb feat: rename list to project everywhere
fix: project table view

fix: e2e tests

fix: typo in readme

fix: list view route

fix: don't wait until background is loaded for list to show

fix: rename component imports

fix: lint

fix: parse task text

fix: use list card grid

fix: use correct class names

fix: i18n keys

fix: load project

fix: task overview

fix: list view spacing

fix: find project

fix: setLoading when updating a project

fix: loading saved filter

fix: project store loading

fix: color picker import

fix: cypress tests

feat: migrate old list settings

chore: add const for project settings

fix: wrong projecten rename from lists

chore: rename unused variable

fix: editor list

fix: shortcut list class name

fix: pagination list class name

fix: notifications list class name

fix: list view variable name

chore: clarify comment

fix: i18n keys

fix: router imports

fix: comment

chore: remove debugging leftover

fix: remove duplicate variables

fix: change comment

fix: list view variable name

fix: list view css class name

fix: list item property name

fix: name update tasks function correctly

fix: update comment

fix: project create route

fix: list view class names

fix: list view component name

fix: result list class name

fix: animation class list name

fix: change debug log

fix: revert a few navigation changes

fix: use @ for imports of all views

fix: rename link share list class

fix: remove unused css class

fix: dynamically import project components again
2023-03-14 14:04:23 +00:00
Jef Oliver e92559dc00
fix(base): Use Build Time Base Path
* If a base path is provided at build time, use it.
  * Base path can be set with `VIKUNJA_FRONTEND_BASE` at
    build time
    * `VIKUNJA_FRONTEND_BASE` sets `import.meta.env.BASE_URL` after Vite resolves it.
    * Usages of `import.meta.env.BASE_URL` are statically replaced
      at build time.
    * If base path is not provided, `import.meta.env.BASE_URL`
      defaults to '/'.
    * Documentation:
      https://vitejs.dev/guide/env-and-mode.html

* Fixes:
  * Manifest not loading because of incorrect path.
  * Service Worker not loading because path is incorrect in
    manifest.
  * Service Worker crashing because import of workbox is from
    wrong path.
  * Service Worker not loading a task because path is incorrect
    in event listener.
  * Incorrect URLs being set on window because base path is
    incorrect.
    * ex: `/login` vs `/base/login`

Signed-off-by: Jef Oliver <jef@eljef.me>
2023-02-03 09:21:06 +01:00
kolaente c09fbe9abe
fix(migration): actually pass migration oauth code from query param
continuous-integration/drone/push Build is failing Details
2022-12-18 20:38:38 +01:00
Dominik Pschenitschni fd1d01164f feature/load-views-async (#2672)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #2672
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-11-13 21:52:28 +00:00
Dominik Pschenitschni 8b7b4d61a3 feat: MigrateService script setup (#2432)
continuous-integration/drone/push Build is failing Details
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #2432
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-11-03 14:19:42 +00:00
Dominik Pschenitschni 9807858436 feat: unify savedFilter logic in service (#2491)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #2491
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-10-27 19:56:14 +00:00
Dominik Pschenitschni cf0eaf9ba1
chore: don't pass other params to ListGantt than route 2022-10-27 17:49:35 +02:00
Dominik Pschenitschni acdbf2f8f5
feat: working route sync 2022-10-27 17:46:36 +02:00
Dominik Pschenitschni 9f146c8c7f
chore(gantt): wip daterange 2022-10-27 17:46:28 +02:00
kolaente 6083301d1f
fix: wait until everything is loaded before replacing the current view with the last or login view
continuous-integration/drone/push Build is passing Details
2022-10-23 16:12:48 +02:00
kolaente f61723dac2
fix: redirect with query parameters
continuous-integration/drone/push Build is failing Details
2022-10-23 13:12:04 +02:00
kolaente e6f7ddc9ce
fix: email confirmation
continuous-integration/drone/push Build is failing Details
2022-10-20 16:19:19 +02:00
kolaente 73575302de
fix: password reset
continuous-integration/drone/push Build is failing Details
2022-10-20 16:15:58 +02:00
kolaente f405b2105b
fix: lint
continuous-integration/drone/push Build is failing Details
2022-10-05 17:57:55 +02:00
kolaente 3af20b6220
fix: don't try to render auth routes when the user is not authenticated
continuous-integration/drone/push Build is failing Details
Resolves #2419
2022-10-05 16:51:35 +02:00
Dominik Pschenitschni 2dc36c032b feat: TaskDetail as script setup (#1792)
continuous-integration/drone/push Build is failing Details
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #1792
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-10-01 15:02:35 +00:00
Dominik Pschenitschni 7b53e684aa
feat: port auth store to pinia 2022-09-28 23:43:14 +02:00
konrad d57e27b4a6 feat: task relatedTasks script setup (#1939)
continuous-integration/drone/push Build is passing Details
Reviewed-on: #1939
Reviewed-by: konrad <k@knt.li>
2022-09-21 18:22:30 +00:00
Dominik Pschenitschni 0814890cac feat: deleteNamespace script setup (#2387)
continuous-integration/drone/push Build is failing Details
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #2387
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-09-21 18:21:47 +00:00
Dominik Pschenitschni 943d5f7975
feat: task relatedTasks script setup 2022-09-21 18:35:46 +02:00
Dominik Pschenitschni a38075f376 feat: move list store to pina (#2392)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #2392
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-09-21 16:21:25 +00:00
Dominik Pschenitschni ad6b335d41 feat: namespace settings archive script setup
continuous-integration/drone/push Build is failing Details
2022-09-15 20:46:26 +00:00
konrad 84260841be feat(list): add info dialoge to show list description (#2368)
continuous-integration/drone/push Build is passing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #2368
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-09-15 12:36:43 +00:00
Dominik Pschenitschni f6437c81da feat: list settings edit script setup (#1988)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #1988
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-09-02 15:13:32 +00:00
Dominik Pschenitschni d064f0acc0 fix import type 2022-07-04 21:50:48 +00:00
kolaente aadf75c7bf
fix: don't try to load the namespace again when navigating away from the settings page
continuous-integration/drone/push Build is passing Details
Resolves https://github.com/go-vikunja/frontend/issues/58
2022-06-12 14:59:53 +02:00
kolaente a38bd7e971
fix: list title not set as page title after closing a task popup
continuous-integration/drone/push Build is passing Details
2022-05-08 11:58:37 +02:00
Dominik Pschenitschni badbae0e9a
fix: mark query parameter as string
continuous-integration/drone/pr Build is failing Details
2022-02-09 17:52:27 +01:00
kolaente aac777e286
fix: lint
continuous-integration/drone/pr Build was killed Details
2022-02-06 20:32:21 +01:00
kolaente 84f177c80e
feat: reduce dependency on router and move everything to route props instead
continuous-integration/drone/pr Build is failing Details
2022-02-06 20:11:13 +01:00
kolaente ecf679d8e1
chore: completely move logic of ShowTasksInRange component to ShowTasks and remove it
continuous-integration/drone/pr Build is failing Details
2022-02-05 21:14:40 +01:00
Dominik Pschenitschni a8ac2fc2dd
Merge branch 'main' into feature/login-improvements
continuous-integration/drone/pr Build is passing Details
2022-02-05 18:04:33 +01:00
Dominik Pschenitschni 9a5b5c688d
Merge branch 'fix/app-ready' into feature/vue3-modals-with-router-4
continuous-integration/drone/pr Build is passing Details
2022-02-05 17:38:28 +01:00