Commit Graph

750 Commits

Author SHA1 Message Date
Bubka
77aed2bba6 Fix typo in event declaration 2023-11-21 13:45:52 +01:00
Bubka
b9c8f9008f Remove unexpected parameter when pushing to webauthn credential edition 2023-11-21 13:45:52 +01:00
Bubka
bb4e79560c Complete webauthn sign in 2023-11-21 13:45:52 +01:00
Bubka
c97bc26952 Prevent password field for user account deletion to be autofilled 2023-11-21 13:45:52 +01:00
Bubka
65fc726f6c Show NotFound instead of the Register view when registration is disabled 2023-11-21 13:45:52 +01:00
Bubka
e30e373c6f Fix app settings not being saved on change 2023-11-21 13:45:52 +01:00
Bubka
c4b2d3a005 Prevent kick-out when copying an OTP during import 2023-11-21 13:45:52 +01:00
Bubka
a4011388ca Fix landing on Start view while twofaccounts collection is not empty 2023-11-21 13:45:52 +01:00
Bubka
26511954c4 Fix kicker triggering & Show a notification when kicked-out 2023-11-21 13:45:52 +01:00
Bubka
3778977c94 Fix settings tab labels not updating on language change 2023-11-21 13:45:52 +01:00
Bubka
21a7bfffa7 Bind twofaccount data to OtpDisplay to prevent display lag 2023-11-21 13:45:52 +01:00
Bubka
f3350e2dda Fix the middleware pipeline not handling calls to next() with a route object properly 2023-11-21 13:45:52 +01:00
Bubka
9ae52ae78f Replace the draggable component by the vueuse one 2023-11-21 13:45:52 +01:00
Bubka
53e3698076 Fix unwanted footer content in management mode 2023-11-21 13:45:52 +01:00
Bubka
2ad5105378 Fix twofaccounts move feature 2023-11-21 13:45:52 +01:00
Bubka
9b1733525f Fix call of the Export api endpoint 2023-11-21 13:45:52 +01:00
Bubka
e18653d553 Fix OTP not being displayed on the Import view 2023-11-21 13:45:51 +01:00
Bubka
999e059592 Fix modal not being closed when the Close button is clicked 2023-11-21 13:45:51 +01:00
Bubka
bc7c824d3d Use anchor tag for better accessibility 2023-11-21 13:45:51 +01:00
Bubka
685b26ace0 Remove useless items in the bus store 2023-11-21 13:45:51 +01:00
Bubka
f71ac435ed Exit management mode after last twofaccounts deletion 2023-11-21 13:45:51 +01:00
Bubka
5b9be6a8b9 Fix selected accounts deletion in Management mode 2023-11-21 13:45:51 +01:00
Bubka
7ebadf278f fix middleware pipeline for the Accounts route 2023-11-21 13:45:51 +01:00
Bubka
5f99bf594a Rename startingPoint middleware to setReturnTo 2023-11-21 13:45:51 +01:00
Bubka
08b23a7aa2 Fix bulma-checkradio import causing bulma weird override 2023-11-21 13:45:51 +01:00
Bubka
eb75fe4028 Remove useless bulma-switch extension 2023-11-21 13:45:51 +01:00
Bubka
55bf9ae168 Cleaning 2023-11-21 13:45:51 +01:00
Bubka
a8540b0c04 Fix navigation using back/close/cancel buttons 2023-11-21 13:45:51 +01:00
Bubka
929a513ad7 Set Back/Close/Cancel buttons using a component 2023-11-21 13:45:51 +01:00
Bubka
b9eb4f0afb Set Groups fetching async on user login 2023-11-21 13:45:51 +01:00
Bubka
791421b105 Re-enable the noEmptyError middleware 2023-11-21 13:45:51 +01:00
Bubka
62accb20fc Fix Close button theme 2023-11-21 13:45:51 +01:00
Bubka
1a87460465 Add a method to call the twofaccounts/count api endpoint 2023-11-21 13:45:51 +01:00
Bubka
2dc8734980 Add fetch lifespan to avoid repeated stores refreshes 2023-11-21 13:45:51 +01:00
Bubka
d8861ba475 Use Groups store in Options view to remove a request 2023-11-21 13:45:51 +01:00
Bubka
8845027800 Lazy load router components 2023-11-21 13:45:51 +01:00
Bubka
ac5669d880 Gather accounts files 2023-11-21 13:45:50 +01:00
Bubka
6ed54d79bb Fix Error modal closing 2023-11-21 13:45:50 +01:00
Bubka
27f3145740 Set up Not Found views 2023-11-21 13:45:50 +01:00
Bubka
7cf8a70743 Set up the Capture view 2023-11-21 13:45:50 +01:00
Bubka
b516fd9c33 Set up the Import view 2023-11-21 13:45:50 +01:00
Bubka
a622ffb216 Set up Webauthn Reset request & Recover views 2023-11-21 13:45:50 +01:00
Bubka
e0802b8479 Set up Password Request & Reset views 2023-11-21 13:45:50 +01:00
Bubka
f7cceed126 Remove ref to the now useless autolock view 2023-11-21 13:45:50 +01:00
Bubka
f0b954fc76 Add $helpers capabilities 2023-11-21 13:45:50 +01:00
Bubka
87de0a03e7 Set attributes inheritance to True 2023-11-21 13:45:50 +01:00
Bubka
0bc488057d Add missing config parameter in services 2023-11-21 13:45:50 +01:00
Bubka
d74e0cedac Fix bad var usage 2023-11-21 13:45:50 +01:00
Bubka
beb5ee027a Set up the Edit twofaccount view 2023-11-21 13:45:50 +01:00
Bubka
fb49e55e34 Set up the QRcode view 2023-11-21 13:45:50 +01:00
Bubka
a880b1c8c7 Fix the GroupSwitch component not showing groups list 2023-11-21 13:45:50 +01:00
Bubka
0a53549019 Fix notification type 2023-11-21 13:45:50 +01:00
Bubka
46a58ecb29 Make the user store handle data stores 2023-11-21 13:45:50 +01:00
Bubka
a52cc2dcc9 Set up the Groups view & Create/Update forms 2023-11-21 13:45:50 +01:00
Bubka
4fd5559e5f Rename stores method which fetch fresh api data 2023-11-21 13:45:49 +01:00
Bubka
40ea767799 Add the twofaccounts store to stores passed to the router middlewares 2023-11-21 13:45:49 +01:00
Bubka
79827663fe Make some cleaning 2023-11-21 13:45:49 +01:00
Bubka
b55ea8c84f Make the on click refresh an automatic refresh 2023-11-21 13:45:49 +01:00
Bubka
910e0bc830 Convert Info notification to Success & Add an Info notification 2023-11-21 13:45:49 +01:00
Bubka
8c23aa884f Add Starter middleware & Restore the Data have changed notification 2023-11-21 13:45:49 +01:00
Bubka
4dbbae24dc Set up Always On OTPs on the main view 2023-11-21 13:45:49 +01:00
Bubka
db295f97e9 Re-enable items dragging 2023-11-21 13:45:49 +01:00
Bubka
865daa1cf6 Fix emit declaration 2023-11-21 13:45:49 +01:00
Bubka
5d568a606e Implement twofaccounts & groups stores & Add ActionButtons component 2023-11-21 13:45:49 +01:00
Bubka
a46084720e Use the twofaccounts store 2023-11-21 13:45:49 +01:00
Bubka
e9d9f661ad Clean useless stuff 2023-11-21 13:45:49 +01:00
Bubka
4f59545e97 Fix wrong url in api call 2023-11-21 13:45:49 +01:00
Bubka
5f83b5d70b Set up the Accounts view with components 2023-11-21 13:45:49 +01:00
Bubka
4055a52daf Check copy state before notifying 2023-11-21 13:45:49 +01:00
Bubka
68d98652a3 Set up the Create form 2023-11-21 13:45:49 +01:00
Bubka
1705d23277 Set up the OTP Display component 2023-11-21 13:45:49 +01:00
Bubka
cca0dbaf99 Add various display modes to the Spinner component 2023-11-21 13:45:49 +01:00
Bubka
536dcb1e95 Set up TwoFAccounts api service 2023-11-21 13:45:49 +01:00
Bubka
ed1a653b37 Set up TotpLooper & Dots components 2023-11-21 13:45:49 +01:00
Bubka
c389378dc3 Set up the Start view 2023-11-21 13:45:49 +01:00
Bubka
bde05233c5 Set up Kicker to log out user when inactivity is detected 2023-11-21 13:45:49 +01:00
Bubka
abce4a0a7a Set up the PAT settings view 2023-11-21 13:45:48 +01:00
Bubka
c97bed2ad8 Fix bad input type 2023-11-21 13:45:48 +01:00
Bubka
fec9e3d440 Set up the Account settings view 2023-11-21 13:45:48 +01:00
Bubka
9d72525b38 Make the back-end returns the user email on login/register 2023-11-21 13:45:48 +01:00
Bubka
beeaed9565 Enable webauthn device registration during user registration 2023-11-21 13:45:48 +01:00
Bubka
b59ad21755 Set up the Webauthn settings view 2023-11-21 13:45:48 +01:00
Bubka
2cd5b40ae3 Set up the Webauthn service to handle webauthn login & registration 2023-11-21 13:45:48 +01:00
Bubka
ba96358801 Rename userPreferenceService to userService 2023-11-21 13:45:48 +01:00
Bubka
8736941aa1 Set up a Spinner component 2023-11-21 13:45:48 +01:00
Bubka
48f5c41288 Fix FormCheckBox model binding and event emitting 2023-11-21 13:45:48 +01:00
Bubka
7efc20e74f Set up the Register view (without webauthn registration) 2023-11-21 13:45:48 +01:00
Bubka
a239b8fc99 Prevent Form object to reject error on 422 response 2023-11-21 13:45:48 +01:00
Bubka
82b1e039e6 Fix appSettings not being saved to db in Options view 2023-11-21 13:45:48 +01:00
Bubka
15733f0b38 Bind Fields instead of full Form to the Login view inputs 2023-11-21 13:45:48 +01:00
Bubka
c448628e1b Set up the Options view bound to the prefs & settings stores 2023-11-21 13:45:48 +01:00
Bubka
39281ec428 Fix disabling of global error handler 2023-11-21 13:45:48 +01:00
Bubka
f7826aff6b Set up the About view 2023-11-21 13:45:47 +01:00
Bubka
a6e749f510 Disable global error handler in dev env 2023-11-21 13:45:47 +01:00
Bubka
ecb6ad3c65 Set up basic light/dark theme toggling 2023-11-21 13:45:47 +01:00
Bubka
304bc55601 Set up page titles 2023-11-21 13:45:47 +01:00
Bubka
eaf61dc01f Clear notification and set their duration & Fix landing on webauthn form 2023-11-21 13:45:47 +01:00
Bubka
6769ab381b Handle missing/invalid CSRF token & let 422 errors pass through 2023-11-21 13:45:47 +01:00
Bubka
fe9002501b Reset the user store on unauthenticated HTTP response 2023-11-21 13:45:47 +01:00
Bubka
73e36edd9c Set up a global notification handler & Error view & Modal component 2023-11-21 13:45:47 +01:00
Bubka
e37c0c9ea5 Set up email/pwd login & logout features 2023-11-21 13:45:47 +01:00
Bubka
0435cecd53 Adapt back-end to the new front-end auth management 2023-11-21 13:45:47 +01:00
Bubka
48bea5721f Set up Store, Service & Routing to handle the sign in process 2023-11-21 13:45:47 +01:00
Bubka
1d51cb3e31 Set up Form component & some form elements components 2023-11-21 13:45:47 +01:00
Bubka
c02af5aab9 Rename http client factory 2023-11-21 13:45:47 +01:00
Bubka
df2407c46c Replace Vue globalProperties by provide/inject at app level 2023-11-21 13:45:47 +01:00
Bubka
74d886a840 Migrate the Footer component (as a layout one) 2023-11-21 13:45:47 +01:00
Bubka
a57baa9de9 Fix error thrown on i18n setup 2023-11-21 13:45:47 +01:00
Bubka
f6484bd73d Add common layout components 2023-11-21 13:45:47 +01:00
Bubka
c63603ae04 Set up a basic user store 2023-11-21 13:45:46 +01:00
Bubka
b3b948ad5e Set up fontawesome icons (v6) 2023-11-21 13:45:46 +01:00
Bubka
5ae9630a82 Set up i18n 2023-11-21 13:45:46 +01:00
Bubka
75cbb0e1ab Set up global immutable app properties 2023-11-21 13:45:46 +01:00
Bubka
e393ca1ea0 Set up the notification feature 2023-11-21 13:45:46 +01:00
Bubka
531b35c786 Set up the api factory and very first service 2023-11-21 13:45:46 +01:00
Bubka
2c05651c43 Set up the basic vue app with router and stylesheet 2023-11-21 13:45:46 +01:00
Bubka
11d9da51d4 Set a dedicated blade landing view 2023-11-21 13:45:46 +01:00
indy koning
160f55fa6b Add support for an openid provider 2023-11-20 23:25:36 +01:00
Bubka
8518f5ebc5 Make the Close button of 404 page redirect to the main view - Fixes #233 2023-09-24 18:45:52 +02:00
Bubka
1f000aab9b Rearrange BeforeEach hook - New fix for #232 2023-09-19 15:51:39 +02:00
Bubka
a2fe6c8cc1 Fix Maximum call stack size exceeded - Fixes #232 - reverts 969367e 2023-09-17 21:44:33 +02:00
Bubka
04ac8f2818 Fix webauthnService import - Complete #231 (see 81bf3af & acc5d71) 2023-09-16 10:35:40 +02:00
Bubka
81bf3afc91 Enhance webauthn error handling at authentication 2023-09-16 09:35:43 +02:00
Bubka
acc5d7170c Enhance webauthn error handling at registration 2023-09-16 09:34:55 +02:00
Bubka
a0b3b668bb Fix PAT & Webauthn registration - Fixes #227 2023-09-14 13:39:48 +02:00
Bubka
b7ffb0be84 Add Bulgarian term in translations 2023-09-13 10:21:14 +02:00
Bubka
9bbec4b5e9 Enable Russian & Update translations 2023-09-13 09:47:24 +02:00
Bubka
d8c8c52f8c Add some ids to ease element locating in e2e tests 2023-09-13 09:45:36 +02:00
Bubka
790606b4a1 Add e2e tests for accounts display options 2023-09-02 12:23:31 +02:00
Bubka
74ccbaa7c9 Add e2e tests for Always On OTP 2023-09-01 14:43:27 +02:00
Bubka
29dcca8d35 Add e2e tests for On Demand OPT 2023-08-31 19:12:55 +02:00
Bubka
5d4f88baa6 Refactoring of fe4ebd58: Set Close/Back buttons to always browse back 2023-08-30 15:34:28 +02:00
Bubka
5f6bbbd156 Add some ids to ease element locating in e2e tests 2023-08-30 14:46:45 +02:00
Bubka
d7942b4233 Refactoring of fe4ebd58: Set Close/Back buttons to always browse back 2023-08-30 14:34:32 +02:00
Bubka
70313995b9 Add e2e tests for role based content of the about page 2023-08-29 09:10:10 +02:00
Bubka
0199ef9e21 Prevent axios to throw unwanted error 2023-08-28 08:33:14 +02:00
Bubka
199fc3da14 Fix bad case definition 2023-08-28 08:32:27 +02:00
Bubka
1851fb2bb2 Add ctrl+click on 2FA to get and copy an OTP in yolo mode - Closes #220 2023-08-24 19:52:21 +02:00
Bubka
22994ed1f2 Fix Edit group link not pointing to the defined route url 2023-08-24 18:46:21 +02:00
Bubka
969367e905 Fix page titles not being updated in time 2023-08-21 14:47:41 +02:00
Bubka
fe4ebd586d Set Close/Back buttons to always browse back - Closes #217 2023-08-21 14:46:05 +02:00
Bubka
a80a002ce7 Add authentication followup to front-end to ease navigation & redirects 2023-08-04 15:13:30 +02:00
Bubka
d00093a85a Move the navigation guard at Router level to prevent late redirects 2023-08-04 10:00:59 +02:00
Bubka
f5258d7aaf Fix missing validation error when reset token is not provided 2023-08-04 09:55:28 +02:00
Bubka
77c9680378 Add id attribute to handle elements within End-To-End tests 2023-08-04 09:53:27 +02:00
Bubka
a1fc01b0df Update translations 2023-07-07 14:26:00 +02:00
Bubka
9acc3be630 Add spinners when OTPs are refreshing on the main view 2023-07-06 09:00:14 +02:00
Bubka
085eb25532 Handle Validation errors from webauthn during device registration (#200) 2023-07-05 10:07:40 +02:00
Bubka
7037265237 Show spinners while OTPs are refreshing 2023-06-30 17:31:05 +02:00
Bubka
a51f0bb2d9 Merge branch 'hotfix-sql-xss-injection' into dev 2023-06-30 17:01:04 +02:00