Commit Graph

48 Commits

Author SHA1 Message Date
konrad 3d3ccf629a feat: add remember me style login (#1339)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1339
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-02-06 13:17:55 +00:00
kolaente 310578d349
Merge branch 'main' into feature/login-improvements
# Conflicts:
#	src/components/misc/no-auth-wrapper.vue
#	src/styles/components/_index.scss
#	src/views/user/Login.vue
#	src/views/user/Register.vue
2022-01-08 13:44:35 +01:00
Dominik Pschenitschni cdbd1c2ac4 feat: create BaseButton component (#1123)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1123
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-04 18:58:06 +00:00
kolaente 0322daf4d4
feat: move password to separate component 2021-12-26 13:37:33 +01:00
kolaente 5558d91f44
feat: change links to login / register pages 2021-12-21 15:21:23 +01:00
kolaente 9c04fb4e40
fix: disable login button 2021-12-21 15:21:23 +01:00
kolaente 1fc1c20c87
feat: add extra prop for message center text 2021-12-21 15:21:23 +01:00
kolaente a1814ea29d
fix: message spacing 2021-12-21 15:21:23 +01:00
kolaente fda0b81d9c
feat: add tooltip and aria-label 2021-12-21 15:21:22 +01:00
kolaente 8397608fef
chore: move password field toggle to scss file 2021-12-21 15:21:22 +01:00
kolaente 66d5e851e8
feat: improve error handling of login fields 2021-12-21 15:21:22 +01:00
kolaente 1d916e7e03
feat: change wording 2021-12-21 15:21:22 +01:00
kolaente f7eb160509
fix: move forgot password link next to password label
In some languages, the texts on the "log in" and "register" buttons were so long they wrapped underneath each other. Moving the "forgot password" link next to the password label leaves these two buttons enough space to always stay next to each other.
2021-12-21 14:34:16 +01:00
kolaente 36fb250d1f chore: directly use redirectToProvider function 2021-12-17 15:41:11 +00:00
kolaente b7aa7891e9 feat: redirect to calculated url everywhere 2021-12-17 15:41:11 +00:00
kolaente ccaed029f2 feat: build openid redirect url dynamically 2021-12-17 15:41:11 +00:00
konrad 32353e3b76 feat: restyle unauthenticated screens (#1103)
I wanted to give the no-auth screens a new look. Here's what I ended up with:

![image](/attachments/d272f36b-03c1-40ca-91f6-30f34e03e5fd)

The image is something we could change with every release.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1103
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-12-12 16:40:13 +00:00
konrad f8d009a6aa feat: add message component (#1082)
This PR adds a simple message component that replaces bulma's default message.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1082
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-28 14:18:27 +00:00
konrad 5040a76781 feat: move user settings to multiple components (#889)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#889
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-26 20:58:02 +00:00
Dominik Pschenitschni 3e456782df
feat: divide most content.scss styles into components
- contentAuth
- contentNoAuth.vue
- Login.vue
- button.vue
- comments.vue
2021-10-25 16:39:33 +02:00
dpschen 0a1d0084e2 feat: keep errorMessage local (#865)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Co-authored-by: konrad <k@knt.li>
Reviewed-on: vikunja/frontend#865
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-17 19:38:30 +00:00
Dominik Pschenitschni bb94c1ba3a
feat: use async / await where it makes sense 2021-10-16 18:59:53 +02:00
Dominik Pschenitschni 8e1ab8e09b
Merge branch 'main' into vue3 2021-10-15 20:43:11 +02:00
kolaente 9a2f95ecc6
feat: redirect the user to the last page they were on before logging in after login 2021-10-13 21:53:39 +02:00
Dominik Pschenitschni 7c3c2945f8
feat: use vue-i18n 9 for vue3 2021-10-01 18:49:54 +02:00
kolaente 3aa316988b
Directly redirect to the openid auth provider if that's the only auth method 2021-08-15 12:02:29 +02:00
kolaente 8f84594e92
TOTP UX improvements & translation fixes 2021-07-30 12:23:36 +02:00
konrad a08306d612 Add vite (#416)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#416
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-25 13:27:15 +00:00
sytone 306a926c66 Add default list setting & creating tasks from home (#520)
Co-authored-by: sytone <github@sytone.com>
Co-authored-by: Sytone <github@sytone.com>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#520
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: sytone <kolaente@sytone.com>
Co-committed-by: sytone <kolaente@sytone.com>
2021-07-17 21:21:46 +00:00
konrad f0498fd767 Add translations (#562)
Reviewed-on: vikunja/frontend#562
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-06-23 23:24:57 +00:00
kolaente cdc805c8da
Refactor success and error messages 2021-06-22 22:07:57 +02:00
kolaente 188c97ae8f
Fix sending openid scopes when authenticating 2021-05-19 14:45:53 +02:00
kolaente 8d04bdc4f0
Hide the login form if no api url is configured 2021-04-21 09:44:40 +02:00
renovate 7b0d2290fc Update dependency cypress to v7 (#453)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#453
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2021-04-09 14:29:07 +00:00
kolaente c041eab7a2
Fix login or register not working when pressing enter 2021-01-26 20:25:39 +01:00
konrad d1a2eefca6 Improve consistency of the layout (#386)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#386
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-23 17:18:09 +00:00
konrad 2aceca54ca Move buttons to separate component (#380)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#380
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-17 17:57:57 +00:00
kolaente e80ba3fd6a
Add login via email 2020-12-18 17:05:46 +01:00
konrad b822b3616b Frontend Testing With Cypress (#313)
Wait until the request is finished

Wait for the newly created task exists in the dom

Wait until the login request is done

Wait until the list request is done

Make sure no user token is in local storage when trying to register

Make sure to always upload test results

Disable capturing videos of test runs in CI

Add uploading test result screenshots from ci

Assert a success notification is shown after creating a new list

Change input element locators

Fix testing for favorite lists

Make sure faked usernames are always random

Make sure the tests work

Make sure to use node 12 everywhere in ci

Add docs

Fix setting api url for running tests

Use a working node version

Ignore cypress screenshots and videos

Set cache folders

Explicitly ignore cypress files when running unit tests

Trigger Drone

Only run unit tests with yarn test:unit

Add serve dist command to serve built static files

Trigger Drone

Fix cypress image

Change cypress image

Unify test & build step back again to prevent double installation of dependencies

Add cache location config

Move test steps to separate pipeline

Run cypress tests in drone

Fix all tests

Make all factory methods static

Use factories everywhere

Cleanup

Add tests for the editor

Add tests for viewing link shares

Fix seed

Add test to make sure settings elements are hidden if the user does not have the right to edit the current list

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#313
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 13:52:35 +00:00
kolaente ffde50453a
Add openid scope when redirecting to external openid provider 2020-12-08 19:33:35 +01:00
konrad c536707f3a Authentication with OpenID Connect providers (#305)
Fix setting auth config from api in state

Verify auth state before authenticating

Add showing openid providers on login

Parse auth config from /info

Add authentication through openid

Add openid auth component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#305
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 16:38:40 +00:00
kolaente b94c835af0
Add autocomplete attributes to login and register forms 2020-11-10 21:01:03 +01:00
konrad 1935af83c3 Allow setting api url from the login screen (#264)
Cleanup

Use the http factory everywhere instead of the created element

Use the current domain if the api path is relative to the frontend host

Format

Prevent setting an empty url

Fix styling

Add changing api url

Add change url component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#264
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-11 10:13:35 +00:00
kolaente a8a7f70a3c
Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02:00
kolaente 0be280aae3
Show legal links from api if configured 2020-07-18 21:39:30 +02:00
konrad a0b9acee41 Add Page Titles Everywhere (#177)
Add page titles everywhere

Add global mixin to set page title

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#177
2020-07-07 20:07:13 +00:00
kolaente 82ac226fc1
Rename routes to follow the same pattern 2020-06-17 22:24:37 +02:00
kolaente fc4b9d439b
Restructure components 2020-06-17 22:15:59 +02:00