1
0

7 Commits

Author SHA1 Message Date
kolaente
6f4895b8cf
chore(auth): show registration disabled message when registration is disabled
The route still exists when the registration is disabled, even though all links to the page are removed.
2024-06-06 22:09:19 +02:00
kolaente
99a67e09b1
feat(api): all usable routes behind authentication now have permissions
Previously, only routes which were coming from crudable entities could be used with an api token because there was no way to assign permissions to them. This change implements a more flexible structure for api permissions under the hood, allowing to add permissions for these routes and making them usable with an api token.

Resolves https://github.com/go-vikunja/vikunja/issues/266
2024-06-03 21:35:09 +02:00
Elscrux
aac01c7a35 feat: default view setting (#2306)
This PR adds configuration of default project view in settings, which is used when the user has not visited the project and thus last view hasn't yet been saved in projects. Updates old settings and adds "First View" option with fallback.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2153

Co-authored-by: Elscrux <nickposer2102@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2306
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Elscrux <elscrux@gmail.com>
Co-committed-by: Elscrux <elscrux@gmail.com>
2024-06-02 08:15:53 +00:00
kolaente
67f55510bf
feat: nest api token permissions under their parents
This change removes the "select all" first checkbox of api token permissions and replaces it with the title instead.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2148
2024-03-02 11:28:46 +01:00
kolaente
f4efdaa5de
fix(password): don't validate password min length on login page
This would cause the login to fail when the actual password was shorter than 8 characters.
2024-02-17 21:07:35 +01:00
kolaente
390f71b0c6
feat(registration): improve username and password validation
Username and password are validated in the api for length and whitespaces. Previously, the api would tell the user "hey you got it wrong" but the error was not reflected properly in the UI. This change implements a client-side validation which mirrors the one from the api, allowing instant validation and better error UX.
2024-02-12 17:32:24 +01:00
kolaente
fc4676315d
chore: move frontend files 2024-02-07 14:56:56 +01:00