frontend/src
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
..
assets feat: use variable fonts with subsetting (#2817) 2022-12-15 21:37:02 +00:00
components fix(quick actions): hide edges of last entry on hover 2023-01-25 16:26:05 +01:00
composables fix(useOnline): only log if actually faking state (#2924) 2023-01-05 13:33:37 +00:00
constants chore(config): remove unused URL_PREFIX const (#2926) 2023-01-05 13:35:28 +00:00
directives feat: type improvements 2022-10-31 22:42:28 +01:00
helpers fix(base): Use Build Time Base Path 2023-02-03 09:21:06 +01:00
i18n [skip ci] Updated translations via Crowdin 2023-01-28 00:27:10 +00:00
indexes feat: update eslint config 2022-10-04 13:45:16 +02:00
message chore: simplify getting the error text from an exception 2023-01-25 18:44:02 +01:00
modelSchema/common feat(gantt): use time constants 2022-10-27 17:49:29 +02:00
modelTypes fix: coverImageAttachmentId 2022-11-01 14:27:35 +01:00
models fix: coverImageAttachmentId 2022-11-01 14:27:35 +01:00
modules fix(quick add magic): correctly parse "next {weekday}" on the beginning of the text 2023-01-29 15:32:01 +01:00
router fix(base): Use Build Time Base Path 2023-02-03 09:21:06 +01:00
services fix(deps): update dependency axios to v1 2023-01-04 23:13:25 +00:00
stores fix(list): make sure favorite lists are not duplicated in the menu when renaming them 2023-01-31 17:12:11 +01:00
styles feat: use variable fonts with subsetting (#2817) 2022-12-15 21:37:02 +00:00
types redirect to oidc provider if configured correctly (#2805) 2023-01-11 21:17:53 +00:00
views chore: simplify error handling for login and OpenId Auth 2023-01-25 18:41:30 +01:00
App.vue feat: remove useRouteQuery (#2751) 2022-11-28 09:06:07 +00:00
histoire.setup.ts feat: add histoire 2023-01-05 23:12:58 +01:00
main.ts feat: add-task usability improvements (#2767) 2023-01-04 15:54:09 +00:00
pinia.ts feat: port tasks store to pinia 2022-09-29 21:40:15 +02:00
polyfills.ts feat: add-task usability improvements (#2767) 2023-01-04 15:54:09 +00:00
registerServiceWorker.ts fix(base): Use Build Time Base Path 2023-02-03 09:21:06 +01:00
sentry.ts feat: add type info 2022-11-01 13:12:12 +01:00
sw.ts fix(base): Use Build Time Base Path 2023-02-03 09:21:06 +01:00
urls.ts feat: rename js files to ts 2022-04-02 17:14:59 +02:00
version.json Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02:00