Commit Graph

4944 Commits

Author SHA1 Message Date
e3e4b8a563
fix: follow the happy path 2023-04-11 18:40:22 +02:00
367459edd2
feat: change the link share hash name 2023-04-04 11:35:45 +02:00
2d66393874
feat: check link share auth from store instead 2023-04-01 17:56:30 +02:00
007282b758
chore: follow the happy path 2023-04-01 17:16:51 +02:00
56396643dd
chore: move const 2023-04-01 15:17:09 +02:00
e8cb7c1083
chore: reduce nesting 2023-04-01 14:19:28 +02:00
a7fdec956f
fix: return redirect 2023-04-01 14:18:38 +02:00
90d54bdae8
feat: rename link share hash prefix 2023-04-01 14:17:05 +02:00
c21587d779
chore: import const instead of redeclaring it 2023-04-01 14:15:54 +02:00
6bf378ec90
chore: rename getRedirectRoute 2023-04-01 14:12:47 +02:00
9c81a57791
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-04-01 12:15:02 +02:00
ed84651046 chore(deps): update dependency postcss-preset-env to v8.3.0 2023-03-31 17:04:54 +00:00
7468ed21fa chore(deps): update dependency typescript to v5.0.3 2023-03-30 21:05:23 +00:00
d8015913c3 fix(deps): update sentry-javascript monorepo to v7.46.0 2023-03-30 14:04:41 +00:00
Frederick [Bot]
78789834f0 [skip ci] Updated translations via Crowdin 2023-03-30 00:06:17 +00:00
739fe0caa1
fix: move types to dev dependencies 2023-03-29 22:23:40 +02:00
4703f9c4d5
fix: has-pseudo-class polyfill 2023-03-29 17:22:06 +02:00
fd699ad777
fix: checkbox label size based on icon 2023-03-29 17:17:51 +02:00
0acf44778d
fix: undo further nesting of interactive items
This is really bad for UX and accessability
2023-03-29 17:17:50 +02:00
8fc254d2db
feat: abstract BaseCheckbox 2023-03-29 17:17:49 +02:00
Dominik Pschenitschni
7d3b97d422 feat: prepare for pnpm 8 (#3331)
Related: vikunja/frontend#3317

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#3331
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2023-03-29 12:02:34 +00:00
4a34f245db
chore(deps): update flake 2023-03-29 13:41:52 +02:00
973ea39a64 chore(deps): update dependency eslint to v8.37.0 2023-03-29 07:56:52 +00:00
f94a65ce7a chore(deps): update dependency @types/node to v18.15.11 2023-03-28 22:05:12 +00:00
432fbbea78 chore(deps): update dependency cypress to v12.9.0 2023-03-28 19:05:20 +00:00
e483f1cd2e chore(deps): update dependency vitest to v0.29.8 2023-03-28 14:05:19 +00:00
eb34f6e136 chore(deps): update dependency postcss-preset-env to v8.2.0 2023-03-28 12:05:42 +00:00
91e9eef582 fix: use strict comparison 2023-03-28 10:49:34 +00:00
dea1789a00
feat: type i18n improvements 2023-03-28 12:35:19 +02:00
30adad5ae6 feat: mark undone if task moved from isDoneBucket (#3291)
Addresses #545 (not completely)

Reviewed-on: vikunja/frontend#3291
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Reviewed-by: konrad <k@knt.li>
Co-authored-by: WofWca <wofwca@protonmail.com>
Co-committed-by: WofWca <wofwca@protonmail.com>
2023-03-28 10:21:19 +00:00
3ed6f939e5 chore(deps): update dependency vite-plugin-pwa to v0.14.7 2023-03-28 10:05:08 +00:00
a337d22c1f fix(deps): update font awesome to v6.4.0 2023-03-27 18:27:34 +00:00
addfcf2510 chore(deps): update typescript-eslint monorepo to v5.57.0 2023-03-27 18:05:13 +00:00
303034f02c chore(deps): update pnpm to v7.30.5 2023-03-27 14:04:54 +00:00
0fd44e9484 chore(deps): update dependency caniuse-lite to v1.0.30001470 2023-03-27 06:06:31 +00:00
04040f20ba chore(deps): update dependency netlify-cli to v13.2.1 2023-03-27 00:06:51 +00:00
6c999ad148 fix: ensure same protocol for configured api url (#3303)
Resolves https://github.com/go-vikunja/frontend/issues/109

Vikunja would save the api url with `http` instead of `https` when the frontend was accessed via https. This was fine in most cases when the server would redirect all requests made to http to the secure https variant. However, in newer Firefox versions (and soon, Chrome probably as well) the browser would not follow that redirect anymore. Hence, we need to make sure to only make api requests to the same protocol. Doing API requests from an https hosted fronted to an http hosted api would probably fail already anyway.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#3303
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2023-03-26 19:18:47 +00:00
cc519e6773 chore(deps): update dependency esbuild to v0.17.14 2023-03-26 03:05:27 +00:00
f9dcae4f65 chore(deps): update dependency @types/node to v18.15.10 2023-03-25 23:05:50 +00:00
ade6c2cb18 chore(deps): update dependency postcss-preset-env to v8.1.0 2023-03-25 09:05:19 +00:00
4566b62a93 chore(deps): update dependency @types/node to v18.15.9 2023-03-25 08:05:10 +00:00
37d3ef24d2 chore(deps): update dependency @types/node to v18.15.8 2023-03-25 00:05:22 +00:00
71265769ce fix: update logo change only every hour 2023-03-24 23:30:26 +00:00
a13c16ca03 fix: use time constant 2023-03-24 23:30:26 +00:00
a33fb72ef8 fix: use onActivated 2023-03-24 23:30:26 +00:00
c5776264c0 fix: only update daytime salutation when switching to home view 2023-03-24 23:30:26 +00:00
078d8b39a9 fix(gantt): only update today value when changing to the gantt chart view 2023-03-24 23:30:26 +00:00
b77c7c2f45 fix: add interval to uses of useNow so that it uses less resources 2023-03-24 23:30:26 +00:00
e369473dd0 chore(deps): update dependency esbuild to v0.17.13 2023-03-24 19:05:04 +00:00
70501f9da1 chore(deps): update pnpm to v7.30.3 2023-03-24 14:04:24 +00:00