URL Prefix missing in links if not explicitly configured #1929

Closed
opened 2022-07-09 01:38:59 +00:00 by xeruf · 6 comments

For CalDAV, see vikunja/frontend#375 (comment)

The prefix is also missing for public sharing links, which is rather awkward, so I get a link like share/asdfhjaksdhfakdh/auth

And while we are at it, sharing links seem to always point to the list view. Is there a way to change that? As well as change the default view for a task list?

For CalDAV, see https://kolaente.dev/vikunja/frontend/issues/375#issuecomment-32414 The prefix is also missing for public sharing links, which is rather awkward, so I get a link like `share/asdfhjaksdhfakdh/auth` And while we are at it, sharing links seem to always point to the list view. Is there a way to change that? As well as change the default view for a task list?
dpschen added the
kind/bug
label 2022-07-09 18:07:18 +00:00
Owner

The setting for link shares depends on the frontendurl set in the api config. It is also used in almost all emails sent by Vikunja (that includes things like password resets) and should therefore be set anyways.

Did you set that value?

For CalDAV, it's a different story. The url prefix there depends on the api url which is either configured explicitely or determined from the current url used to access the frontend. This has changed slightly since the last release and it seems to work on try. Can you verify if it works for you with the last unstable build?

The setting for link shares depends on the [frontendurl](https://vikunja.io/docs/config-options/#frontendurl) set in the api config. It is also used in almost all emails sent by Vikunja (that includes things like password resets) and should therefore be set anyways. Did you set that value? For CalDAV, it's a different story. The url prefix there depends on the api url which is either configured explicitely or determined from the current url used to access the frontend. This has changed slightly since the last release and it seems to work on [try](https://try.vikunja.io). Can you verify if it works for you with the last unstable build?
Owner

And while we are at it, sharing links seem to always point to the list view. Is there a way to change that? As well as change the default view for a task list?

Right now there's no way to change that. Can you open a new Issue for these?

> And while we are at it, sharing links seem to always point to the list view. Is there a way to change that? As well as change the default view for a task list? Right now there's no way to change that. Can you open a new Issue for these?
Author

vikunja/frontend#2112

Setting frontendurl seems fine, where could I set the api url?

https://kolaente.dev/vikunja/frontend/issues/2112 Setting frontendurl seems fine, where could I set the api url?
Owner

Just click on the "change" link when logging in:

image

If you're hosting with docker, you can also set the VIKUNJA_API_URL env variable as described here.

Just click on the "change" link when logging in: ![image](/attachments/a470a02b-9933-4a27-9256-8866d5aa6e5f) If you're hosting with docker, you can also set the `VIKUNJA_API_URL` env variable as described [here](https://vikunja.io/docs/full-docker-example/#example-without-any-proxy).
Owner

Closing this as it seems to be a configuration issue. Please reopen if you notice there's something else wrong.

Closing this as it seems to be a configuration issue. Please reopen if you notice there's something else wrong.
Author

I did set the frontendurl and it seems all fine now :)

I did set the `frontendurl` and it seems all fine now :)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1929
No description provided.