Commit Graph

6 Commits

Author SHA1 Message Date
725fd1ad46
feat: improve error message for invalid API url
All checks were successful
continuous-integration/drone/push Build is passing
Resolves #3680
2023-09-04 13:37:17 +02:00
6c999ad148 fix: ensure same protocol for configured api url (#3303)
All checks were successful
continuous-integration/drone/push Build is passing
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: #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
6a3518dace chore(refactor): improve stores/config types (#3190)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #3190
Reviewed-by: konrad <k@knt.li>
Co-authored-by: WofWca <wofwca@protonmail.com>
Co-committed-by: WofWca <wofwca@protonmail.com>
2023-03-03 14:36:59 +00:00
a737fc5bc2
feat: port config store to pinia
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-09-23 13:30:09 +02:00
26213d5e8c
fix: api not found by default
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-16 22:34:08 +01:00
0a2d5ef820 feat: defer everything until the api config is loaded (#926)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #926
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-13 19:49:02 +00:00