Commit Graph

681 Commits

Author SHA1 Message Date
d6306e5dd0 Use FreshApiToken instead of Personal access token for front-end auth 2022-03-31 11:24:01 +02:00
62d223ef72 Add missing route names 2022-03-31 11:24:01 +02:00
6fab74368f Cast Number settings as integer instead of float 2022-03-31 11:24:01 +02:00
5db549fe5e Add logs 2022-03-31 11:24:01 +02:00
9e899aab53 Add Artisan command to fix inconsistent accounts after migration 2022-03-31 11:24:01 +02:00
7c0613ac77 Fix migrations 2022-03-31 11:24:01 +02:00
db284c9343 Change color of settings page titles 2022-03-31 11:24:01 +02:00
c7b43de835 Replace DbProtection class by an Encryption service 2022-03-31 11:24:01 +02:00
568d1b131a Rename TokenDisplayer file to OtpDisplayer 2022-03-31 11:24:01 +02:00
184237697b Update Vue front-end according to the new API definition and paths 2022-03-31 11:24:01 +02:00
83f7370b57 Change routes for auth actions 2022-03-31 11:24:01 +02:00
bb76f851d8 Reset default/active group when deleting a group 2022-03-31 11:24:01 +02:00
aa7321ce81 Change returned type to handle exceptions correctly 2022-03-31 11:24:01 +02:00
2cb4578109 Move options to config/2fauth 2022-03-31 11:24:01 +02:00
a58a4a3def Handle comma-separated ids correctly 2022-03-31 11:24:01 +02:00
194eb54335 Fix TwoFAccounts assignment when destination group does not exist 2022-03-31 11:24:01 +02:00
faada93720 Remove inconsistent icon delete 2022-03-31 11:24:01 +02:00
7bef68e731 Fix TwoFAccount update validation rules again 2022-03-31 11:24:01 +02:00
8eae21e4da Fix TwoFAccount controller update method not returning an API resource 2022-03-31 11:24:01 +02:00
1d503ca313 Fix TwoFAccount update validation rules 2022-03-31 11:24:01 +02:00
0f34736e4e Fix token algorithm not being updated 2022-03-31 11:24:01 +02:00
d329b82a30 Fix comma-separated regex rule for ids 2022-03-31 11:24:01 +02:00
c927f3f9ab Fix single TwoFAccount association to group 2022-03-31 11:24:01 +02:00
72db88e9fa Fix error when submitting null OTP parameters 2022-03-31 11:24:01 +02:00
52f9867fee Rename valid_for property to period 2022-03-31 11:24:01 +02:00
f19fb0adad Add otp_type property when returning an OTP object 2022-03-31 11:24:01 +02:00
c27bef1819 Fix change password validation rule not checking for confirmation 2022-03-31 11:24:01 +02:00
69c3f08f7b Fix MySQL foreign key constraint error on Group delete 2022-03-31 11:24:01 +02:00
b79570bcd9 Fix regex validation rule for TwoFAccounts batch delete 2022-03-31 11:24:01 +02:00
361ee38cf2 Change Settings attributes and routes 2022-03-31 11:24:01 +02:00
8dc5e7d6e9 Fix Group resource overriding TwoFAccounts count 2022-03-31 11:24:01 +02:00
a5514ba06b Refactor Auth controllers : thicker, with Form requests & API resource 2022-03-31 11:24:01 +02:00
1a51cf967a Remove useless overrides since json is the default response format 2022-03-31 11:24:01 +02:00
77cf15cf5e Move isDemoApp to a new 2FAuth config file 2022-03-31 11:24:01 +02:00
350d00902e Add a new Exception to be gracefully rendered 2022-03-31 11:24:01 +02:00
3aef29717f Clean unused namespaces 2022-03-31 11:24:01 +02:00
10fc144246 Refactor Options to a Setting service bound with the service container 2022-03-31 11:24:01 +02:00
afaa1a0a7a Update phpdocs 2022-03-31 11:24:01 +02:00
037ebaa8ba Add groups accounts fetching with dedicated route 2022-03-31 11:24:01 +02:00
9a7ef19177 Update routes 2022-03-31 11:24:01 +02:00
6761b9e40b Set controllers to use Group service & API resources 2022-03-31 11:24:01 +02:00
c7e273a580 Add Form Requests for Groups validation 2022-03-31 11:24:01 +02:00
672e189e55 Refactor Group for thin model & Add a dedicated business service 2022-03-31 11:24:01 +02:00
1091b95e49 Set mass DELETE according to REST (no request body) for twofaccounts 2022-03-31 11:24:00 +02:00
5959b692de Change order saving endpoint and remove position property 2022-03-31 11:24:00 +02:00
59a63f5a2a Move TwoFAccounts order saving to business service 2022-03-31 11:24:00 +02:00
77721d79a6 Disable travis CI for the dev branch 2022-03-31 11:24:00 +02:00
898ba1629e Make some cleaning 2022-03-31 11:24:00 +02:00
ce56bbd6f3 Update routes 2022-03-31 11:24:00 +02:00
0d91fb5aa2 Set controllers to use TwoFAccount business service 2022-03-31 11:24:00 +02:00