Commit Graph

125 Commits

Author SHA1 Message Date
Bubka
8bd1615aea Fix test 2023-03-25 12:26:01 +01:00
Bubka
ad8db3ae3b Drop PHP 8.0 support & Fix unique validation rules 2023-03-25 12:26:01 +01:00
Bubka
16bf0e4e6d Fix first user not being set as admin 2023-03-24 17:18:28 +01:00
Bubka
9c5f18bb46 Enhance test coverage 2023-03-18 17:33:43 +01:00
Bubka
c717e6b279 Fix namespaces 2023-03-17 17:54:05 +01:00
Bubka
997f13add9 Add test for Webauthn login with userVerification=preferred (see #117) 2023-03-17 17:09:38 +01:00
Bubka
140cc70cef Make Login & API throttling editable using the .env file - Close #163 2023-03-17 11:08:03 +01:00
Bubka
9913560787 Enhance logging during authentication (#163) 2023-03-16 15:58:00 +01:00
Bubka
960d1ca5f9 Fix missing login throttling on WebAuthn login controller 2023-03-16 13:23:58 +01:00
Bubka
82717077be Remove invalid calls to the Settings facade 2023-03-15 16:26:32 +01:00
Bubka
4d8180a8c1 Replace the useWebauthnAsDefault option by a client side form toggle 2023-03-15 14:44:51 +01:00
Bubka
5ced8cbf0e Make the User Name unique 2023-03-13 14:53:42 +01:00
Bubka
dc71d87f61 Make the RemoteUserProvider use a db persisted user & Update tests 2023-03-12 17:47:40 +01:00
Bubka
dce3d16c37 Apply Laravel Pint fixes 2023-03-10 22:59:46 +01:00
Bubka
80723d94ba Update Feature tests 2023-03-10 16:03:42 +01:00
Bubka
0a8807d87a Update & Complete API controllers tests and Unit tests 2023-03-08 17:49:52 +01:00
Bubka
823acde49d Fix the TwoFAccount Export feature & add related tests 2023-03-08 09:41:57 +01:00
Bubka
af4400a74d Update Authorizations, Logs and Tests for TwoFAccounts management 2023-03-08 09:41:18 +01:00
Bubka
b07150a14a Refactor groups service and controller again 2023-03-07 17:45:40 +01:00
Bubka
c5daeb5376 Refactor groups service and controller for better authorization handling 2023-03-02 14:32:53 +01:00
Bubka
27717d05b8 Move Authorization checks to Service for Groups & Update tests 2023-02-27 00:32:49 +01:00
Bubka
c8c1530b51 Apply Laravel Pint fixes 2023-02-25 22:23:38 +01:00
Bubka
3c3d35bff5 Enable creation of multiple users 2023-02-20 17:09:59 +01:00
Bubka
5e5e50d053 Add Admin role & split settings between appSettings and userPreferences 2023-02-17 17:12:53 +01:00
Bubka
77eebbd35d Use Laravel Cache to optimize access to user Settings 2023-02-15 08:41:35 +01:00
Bubka
7137f0e7a1 Add support of floats to SettingService 2023-02-08 16:18:57 +01:00
Bubka
2d706e61b7 Apply Laravel Pint fixes 2022-12-13 12:07:29 +01:00
Bubka
6deb279c8d Fix bad namespace 2022-12-13 12:04:19 +01:00
Bubka
5efcdddd88 Refactor the icons recording & Update tests 2022-12-13 11:26:35 +01:00
Bubka
05a39b6501 Update tests & minor fixes 2022-12-09 10:53:01 +01:00
Bubka
d6fd8e3c52 Apply Laravel Pint fixes 2022-11-25 15:20:36 +01:00
Bubka
616a9348b2 Update tests to match new webauthn package 2022-11-25 15:20:36 +01:00
Bubka
017bbc6304 Replace darkghosthunter/larapass with laragear/webauthn 2022-11-25 15:20:36 +01:00
Bubka
e79ae0a3ed Refactor and finalize the Import feature for G.Auth, Aegis & Plain Text 2022-10-07 19:01:09 +02:00
Bubka
9cda570b13 Use db lazy refresh in tests & Fix some tests 2022-08-01 17:40:25 +02:00
Bubka
f7ac1e96c3 Set SettingService behind a Facade 2022-07-30 17:51:02 +02:00
Bubka
be632bb489 Set TwoFAccountService as static behind a Facade 2022-07-30 11:38:20 +02:00
Bubka
fdc944be0e Set getLogo() as protected 2022-07-30 11:25:45 +02:00
Bubka
601d50e8a4 Set GroupService as static behind a Facade 2022-07-30 11:25:19 +02:00
Bubka
2fcaf46c9d Set QrCodeService as static behind a Facade 2022-07-30 10:46:02 +02:00
Bubka
e2bfbe5868 Bind TwoFAccountService to Service Container 2022-07-29 19:22:54 +02:00
Bubka
e49c358cda Bind SettingService & GroupService to the Service Container 2022-07-29 18:34:27 +02:00
Bubka
14609dec95 Bind QrCodeService to the Service Container 2022-07-29 16:42:52 +02:00
Bubka
c25aaa3371 Fix & Complete tests 2022-07-22 16:27:16 +02:00
Bubka
9c54a25fb3 Fix & Complete tests 2022-07-13 14:58:09 +02:00
Bubka
720eb16750 Refactoring - Move OTPHP logic to TwoFAccount model 2022-07-06 17:10:50 +02:00
Bubka
f30b928deb Add tests for Google Auth import feature 2022-06-21 17:27:47 +02:00
Bubka
37c1f475c2 Fix and complete auth proxy tests 2022-05-23 11:39:10 +02:00
Bubka
070c6a2486 Fix #73 - CSRF token mismatch 2022-05-14 13:45:12 +02:00
Bubka
b0b648cf80 Add & validate MySQL tests 2022-04-01 13:35:59 +02:00
Bubka
b0832499dd Reorganize tests and fix filename 2022-03-31 13:19:09 +02:00
Bubka
684a8a0acb Fix some tests namespaces 2022-03-31 12:09:25 +02:00
Bubka
ee22e24cf1 Fix and complete tests 2022-03-31 11:24:02 +02:00
Bubka
20856d62c6 Upgrade to Laravel 8 2022-03-31 11:24:01 +02:00
Bubka
65da59db64 Drop appstract/laravel-options package 2022-03-31 11:24:01 +02:00
Bubka
8b0871e8ba Complete Unit, Feature and Api tests 2022-03-31 11:24:01 +02:00
Bubka
45b835bbd5 Reorganize and enhance tests 2022-03-31 11:24:01 +02:00
Bubka
a6d4b6c5f6 Fix reset-demo artisan command and its test 2022-03-31 11:24:01 +02:00
Bubka
2cb4578109 Move options to config/2fauth 2022-03-31 11:24:01 +02:00
Bubka
0374bc4994 Fix phpunit tests 2020-11-24 23:09:06 +01:00
Bubka
9344648567 Fix and complete phpunit tests 2020-11-22 12:26:39 +01:00
Bubka
fc05d41120 Complete phpunit tests update 2020-11-17 21:56:06 +01:00
Bubka
d1d4734031 Avoid uri to be sent to front-end 2020-11-06 15:51:52 +01:00
Bubka
785332f62c Complete phpunit tests 2020-11-05 22:54:49 +01:00
Bubka
b566c233e6 Complete phpunit tests 2020-10-12 15:44:11 +02:00
Bubka
6d1424e195 Fix typos to comply with psr-4 autoloading 2020-10-11 19:14:56 +02:00
Bubka
d716213ece Update and complete phpunit tests 2020-10-09 13:35:03 +02:00
Bubka
05f1813a25 Test 2fauth console command 2020-03-21 23:08:00 +01:00
Bubka
98c02a48dc Enhance test code coverage 2020-03-08 20:16:56 +01:00
Bubka
8927a4c7c0 Restore native ResetPassword notification and test it 2020-03-06 15:07:09 +01:00
Bubka
20970606a3 Fix and test Redirection when already authenticated 2020-03-05 17:14:57 +01:00
Bubka
25ee8f58fe Refactore Auth feature tests 2020-03-04 17:19:13 +01:00
Bubka
284a9f75b2 Enhance unit tests coverage 2020-03-03 17:06:40 +01:00
Bubka
99fb3b8c45 Remove example test 2019-06-06 13:49:27 +02:00
Bubka
c9150c47fd initial commit 2019-05-20 07:37:41 +02:00