Commit Graph

807 Commits

Author SHA1 Message Date
Bubka
fb78b975b5 Make some cleaning 2023-11-21 13:45:53 +01:00
Bubka
fcc7e6db03 Fix FieldError components not reacting when an error occurs 2023-11-21 13:45:53 +01:00
Bubka
bfe75069a4 Enhance initialIndex evaluation 2023-11-21 13:45:53 +01:00
Bubka
dc03e8b1e5 Update the twofaccounts store after item creation/update 2023-11-21 13:45:52 +01:00
Bubka
e8a3c441be Fix Always On OTPs & Dots display and looping 2023-11-21 13:45:52 +01:00
Bubka
a75e3c13f7 Fix spinners shown for all OTPs while multiple OTP periods exist 2023-11-21 13:45:52 +01:00
Bubka
589a308efb Fix the account field not being enabled for steam type 2023-11-21 13:45:52 +01:00
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
Bubka
bac39882c3 Fix various possible XSS attacks 2023-06-30 14:50:57 +02:00
Bubka
e36beaefd0 Fix missing icon when creating a 2FA with a qrcode upload 2023-05-29 11:39:10 +02:00
Bubka
a15160319e Simplify Dots component & Fix TotpLooper refresh latency 2023-05-29 11:33:30 +02:00
Bubka
b8c810f885 Generate and Show all OTPs directly on the main view - Complete #153 2023-04-28 17:03:06 +02:00
Bubka
4f81b30fcd Add admin setting to disable user registration - Complete #170 2023-04-28 16:52:04 +02:00
Josh
82d467ecb4
Bug fix for issue #180 (#187)
* Distinguish between a manually triggered copy and a copyOtpOnDisplay to fix #180 
* fix spaces
2023-04-25 13:34:04 +02:00
Josh
68e3a8d100 Add the spinner component to App.vue instead of Accounts.vue so that is usable from all pages.
Update showSpinner function to accept the message to be displayed, defaults to 'loading' if none is provided.
2023-04-24 23:09:50 +12:00
Josh
b9780087cc Remove the custom spinner and reuse the fontawesome one that is already used in other areas. 2023-04-24 19:51:41 +12:00
Josh
0727428716 Renamed Loader to Spinner, added theming and localization 2023-04-24 19:30:23 +12:00
Josh
69c688e4ea Very basic Loader component for use on Accounts.vue (still needs styling etc.) 2023-04-24 18:10:13 +12:00
Bubka
e4c9e87522 Fix icon fetched twice or forgotten during import 2023-03-29 17:43:41 +02:00
Bubka
aaa343e316 Fix theme not being applied after login 2023-03-27 08:30:47 +02:00
Bubka
39166aef45 Update translations 2023-03-25 18:00:02 +01:00
Bubka
960d1ca5f9 Fix missing login throttling on WebAuthn login controller 2023-03-16 13:23:58 +01:00
Bubka
4d8180a8c1 Replace the useWebauthnAsDefault option by a client side form toggle 2023-03-15 14:44:51 +01:00
Bubka
f359a1ade3 Fix user preferences not being applied correctly after sign-in 2023-03-15 11:46:37 +01:00
Bubka
dc71d87f61 Make the RemoteUserProvider use a db persisted user & Update tests 2023-03-12 17:47:40 +01:00
Bubka
4753401827 Prevent last admin deletion & Update the Delete user feature 2023-03-10 16:02:56 +01:00
Bubka
fd6941d300 Update the About view and its controller to split user & admin vars 2023-03-10 16:01:23 +01:00
Bubka
686cd0336d Fix the use of Settings instead of User preferences in WebAuthn view 2023-02-25 22:40:18 +01:00
Bubka
1788887f85 Fix twofaccounts count missing in groups listing & Active group saving 2023-02-25 22:24:44 +01:00
Bubka
e0f0afc505 Bind Groups to Users & Add relevant authorizations with policies 2023-02-23 16:59:16 +01:00
Bubka
5c83e17752 Let the WebAuthn form log in any user 2023-02-21 09:29:05 +01:00
Bubka
3c3d35bff5 Enable creation of multiple users 2023-02-20 17:09:59 +01:00
Bubka
46508fda75 Remove user check and redirection to registration on first landing 2023-02-19 23:00:39 +01:00
Bubka
373ffa14c8 Fix language definition in blade view 2023-02-19 22:59:20 +01:00
Bubka
5e5e50d053 Add Admin role & split settings between appSettings and userPreferences 2023-02-17 17:12:53 +01:00
Bubka
28b239108f Add RU translations 2023-02-08 16:40:38 +01:00
Bubka
3c4b7bdd15 Fix modal background color in Dark mode 2023-02-08 16:35:52 +01:00
Bubka
07608917fb Add ctrl+F keyboard shortcut to focus on Search 2023-02-08 16:18:57 +01:00
Bubka
d3bc99f328 Set OTPs formatting as a user option with multiple available formats 2023-02-08 16:18:57 +01:00
Bubka
ead31fef87 Add CSS rules for FormToggle multi-lines labels 2023-02-08 16:18:57 +01:00
Bubka
6e66e954a0 Enhance FormToggle component 2023-02-08 15:56:00 +01:00
Bubka
eadebb41ac Add a Light theme and a theme detection/selection feature 2023-02-01 17:21:55 +01:00
Bubka
4b0f2186da Fix broken icons path when running 2fauth with a custom base url 2023-01-30 14:28:56 +01:00
Bubka
dcc6579365 Fix custom base URL support 2023-01-25 16:58:30 +01:00
Bubka
8f6bf85fa8 Add support for custom base URL - resolve #114 2023-01-20 17:36:15 +01:00
Bubka
17137b9885 Add support for 2FAuth json migration 2022-12-14 22:24:57 +01:00
Bubka
f661a0bc17 Change position of toolbar and buttons in Edit mode and add search 2022-12-14 22:24:57 +01:00
Bubka
88195a6afb Add export feature to the Edit mode - Complete #100 2022-12-14 22:24:57 +01:00
Bubka
b6e4cf50a4 Remove the ability to set a plain text secret 2022-12-13 09:05:56 +01:00
Bubka
017bbc6304 Replace darkghosthunter/larapass with laragear/webauthn 2022-11-25 15:20:36 +01:00
Bubka
0ac04a321d Upgrade to Laravel 9 2022-11-25 15:18:19 +01:00