Commit Graph

169 Commits

Author SHA1 Message Date
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 b799233bca
fix(quick add magic): correctly parse "next {weekday}" on the beginning of the text
Resolves vikunja/frontend#3022
2023-01-29 15:32:01 +01:00
kolaente 2af42f8fbe
fix(quick add magic): make sure assignees which don't exist are not removed from task title
Resolves vikunja/frontend#2927
2023-01-12 13:32:00 +01:00
viehlieb b719766062 redirect to oidc provider if configured correctly (#2805)
Co-authored-by: konrad <k@knt.li>
Reviewed-on: vikunja/frontend#2805
Reviewed-by: konrad <k@knt.li>
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-committed-by: viehlieb <pf@pragma-shift.net>
2023-01-11 21:17:53 +00:00
Dominik Pschenitschni 4be53b098c feat: add-task usability improvements (#2767)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2767
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-04 15:54:09 +00:00
Dominik Pschenitschni 1f25386f54 feat: remove date-fns formatISO (#2899)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2899
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-01-03 14:20:06 +00:00
kolaente b2da4fd126
fix(task): pass a list specified via quick add magic down to all subtasks created via indention
Resolves vikunja/frontend#2771
2022-12-02 18:39:52 +01:00
Dominik Pschenitschni b44d11cfc0 feat: add @intlify/unplugin-vue-i18n (#2772)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2772
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-12-02 15:16:15 +00:00
Dominik Pschenitschni 3b95824f58 feat: use Intl.DateTimeFormat for gantt weekdays (#2766)
Fixes vikunja/frontend#2728

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2766
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-30 15:58:04 +00:00
Dominik Pschenitschni bb58dba8e0
feat: move select filters to dedicated components 2022-11-10 17:11:56 +01:00
Dominik Pschenitschni 7ec2b6c0d2
fix: gantt route sync 2022-11-09 18:39:29 +01:00
Dominik Pschenitschni d85abbd77a feat: ListKanban script setup (#2643)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2643
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-11-07 17:23:11 +00:00
Dominik Pschenitschni e49f960aea chore: inline simple helper (#2631)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2631
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-11-04 08:22:58 +00:00
konrad 0ff0d8c5b8 feat: improved types (#2547)
Reviewed-on: vikunja/frontend#2547
Reviewed-by: konrad <k@knt.li>
2022-11-02 16:06:55 +00:00
Dominik Pschenitschni 096daad80a feat: rename http-common to fetcher (#2620)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2620
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-11-01 13:06:27 +00:00
Dominik Pschenitschni 0182695cda
feat: add type info 2022-11-01 13:12:12 +01:00
Dominik Pschenitschni 599e28e5e5
feat: type improvements 2022-10-31 22:42:28 +01:00
Dominik Pschenitschni 9807858436 feat: unify savedFilter logic in service (#2491)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#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 b8cc828bc0
chore(gantt): upgrade packages 2022-10-27 17:50:31 +02:00
Dominik Pschenitschni 8dea4082bb
fix: parseBooleanProp 2022-10-27 17:49:35 +02:00
Dominik Pschenitschni a70a2e3ba6
feat(gantt): use time constants 2022-10-27 17:49:29 +02:00
Dominik Pschenitschni 7f4114b703
feat: move useGanttTaskList in separate file 2022-10-27 17:47:53 +02:00
Dominik Pschenitschni 2c732eb0d5
feat: abstract to useGanttFilter / and useRouteFilter 2022-10-27 17:47:15 +02:00
Dominik Pschenitschni 2acb70c562
chore: clean up 2022-10-27 17:47:15 +02:00
Dominik Pschenitschni 9f146c8c7f
chore(gantt): wip daterange 2022-10-27 17:46:28 +02:00
Dominik Pschenitschni 2f820e517f
feat: update ganttastic version 2022-10-27 17:45:29 +02:00
kolaente f61723dac2
fix: redirect with query parameters 2022-10-23 13:12:04 +02:00
Dominik Pschenitschni 5afafb7c82
fix: move hourToDaytime to separate file in order to pass tests 2022-10-17 12:35:47 +02:00
kolaente 6d587fad6e
fix(filters): page freezing when entering a date as a result of an endless loop
Resolves vikunja/frontend#2384
2022-10-07 19:49:57 +02:00
Dominik Pschenitschni 4655e1ce34
feat: update eslint config
support async component, see: https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
2022-10-04 13:45:16 +02:00
Dominik Pschenitschni db627ed28a
feat: editor script setup 2022-10-04 09:41:59 +02:00
Dominik Pschenitschni ff1968aa36 feat: datepicker script setup (#2456)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2456
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-10-01 22:13:50 +00:00
Dominik Pschenitschni 63fb8a1962 feat: Login script setup (#2417)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2417
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:58:39 +00:00
Dominik Pschenitschni 2dc36c032b feat: TaskDetail as script setup (#1792)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#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 7f281fc5e9
feat: port base store to pinia 2022-10-01 15:36:44 +02:00
kolaente 5bd7c77b68
chore: use jsDoc to explain param 2022-09-30 13:36:57 +02:00
kolaente d58f8b4ba1
chore: break earlier if index === 0 2022-09-30 13:35:13 +02:00
kolaente 8ce242bb65
chore: use better variable names 2022-09-30 13:35:12 +02:00
kolaente cc378b83fe
feat: automatically create subtask relations based on indention 2022-09-30 13:34:51 +02:00
Dominik Pschenitschni 34ffd1d572
feat: port tasks store to pinia 2022-09-29 21:40:15 +02:00
Dominik Pschenitschni bbf4ef4697 feat: ListList script setup (#2441)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2441
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-28 16:08:23 +00:00
Dominik Pschenitschni a737fc5bc2
feat: port config store to pinia 2022-09-23 13:30:09 +02:00
Dominik Pschenitschni 4dfcd8e70f feat: feat-attachments-script-setup (#2358)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2358
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-22 15:31:13 +00:00
Dominik Pschenitschni d67e5e386d feat: port label store to pinia | pinia 1/9 (#2391)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2391
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 14:23:57 +00:00
konrad 84260841be feat(list): add info dialoge to show list description (#2368)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#2368
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-09-15 12:36:43 +00:00
konrad b24d5f2dce fix(quick add magic): time parsing for certain conditions (#2367)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#2367
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-09-15 11:59:29 +00:00
kolaente 92f24e59a7
fix: don't parse dates in urls
Resolves #2353
2022-09-15 10:23:37 +02:00
Dominik Pschenitschni 1a11b43ca8 feat: improve models 2022-09-13 14:59:02 +00:00
Dominik Pschenitschni 7d4ba6249e
feat: add modelTypes 2022-09-05 17:57:21 +02:00
Dominik Pschenitschni 4a50e6aae2
fix: improve some types 2022-09-05 17:43:55 +02:00