Commit Graph

164 Commits

Author SHA1 Message Date
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
ef7ccac88e Change version comparison method in ReleaseRadarService 2023-02-08 16:18:57 +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
340a8b1767 Fix API tests not returning the secret key 2022-10-14 14:01:01 +02:00
Bubka
e79ae0a3ed Refactor and finalize the Import feature for G.Auth, Aegis & Plain Text 2022-10-07 19:01:09 +02:00
Bubka
ef5d55fe39 Update E2E tests 2022-08-16 09:05:36 +02:00
Bubka
ad2e226ca4 Handle small viewport correctly in E2E tests 2022-08-09 09:47:29 +02:00
Bubka
18f70ec843 Update Auth E2E tests 2022-08-07 19:36:23 +02:00
Bubka
d1708b9c9b Add basic E2E Login tests 2022-08-04 21:32:24 +02:00
Bubka
9cda570b13 Use db lazy refresh in tests & Fix some tests 2022-08-01 17:40:25 +02:00
Bubka
ce83d5f300 Fix #107 - Skip encryption when attribute is null 2022-08-01 08:24:49 +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
64da81b5a7 Fix listener test 2022-07-18 16:35:25 +02:00
Bubka
9c54a25fb3 Fix & Complete tests 2022-07-13 14:58:09 +02:00
Bubka
fec900d651 Fix min 5 digits in tests 2022-07-07 13:47:26 +02:00
Bubka
30b8578229 Fix test 2022-07-06 17:21:48 +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
97ca673ec2 Fix inconsistent test names 2022-03-31 14:36:37 +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
22442f7af6 Complete tests rewriting for main controllers 2022-03-31 11:24:01 +02:00
Bubka
627944a285 Rewrite tests 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
55ec97e332 Fix TwoFAccount model unit tests to match its new definition 2020-11-17 15:47:15 +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
06d5c62e8d Upgrade to Laravel 7.0 2020-10-12 08:05:33 +02:00
Bubka
c653208706 Upgrade to Laravel 6.0 2020-10-11 20:40:28 +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
1c5f12d691 Complete and update tests 2020-05-07 21:24:14 +02:00
Bubka
ffd1199a28 Complete tests 2020-03-27 22:41:32 +01:00
Bubka
a2dd095c81 Complete OptionTest coverage 2020-03-23 21:58:15 +01:00
Bubka
05f1813a25 Test 2fauth console command 2020-03-21 23:08:00 +01:00
Bubka
76ebf847df Set Options with fallback values and better boolean handling 2020-03-13 22:10:36 +01:00
Bubka
80d9433774 Refactore Profile to Settings & Setting to Options 2020-03-09 20:24:25 +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
53ada0bfaa Try to fix TravisCI failing on route test 2020-03-05 12:56:35 +01:00
Bubka
25ee8f58fe Refactore Auth feature tests 2020-03-04 17:19:13 +01:00
Bubka
330fb68fc1 Refactore Profile tests 2020-03-03 22:28:03 +01:00
Bubka
284a9f75b2 Enhance unit tests coverage 2020-03-03 17:06:40 +01:00
Bubka
c1d556060f Add LocalFile classes to test qrcode decoding controller 2020-03-03 12:20:14 +01:00
Bubka
13f526ccb1 Enhance unit tests coverage 2020-03-02 17:11:17 +01:00
Bubka
b2c620b5d3 Add settings unit tests 2020-03-01 23:00:01 +01:00
Bubka
d5cf244e15 Fix unit test 2020-02-06 16:08:54 +01:00
Bubka
baa9658e46 Fix unit tests 2020-01-27 21:44:29 +01:00
Bubka
6ed67ad895 Fix userController unit test 2020-01-23 23:42:47 +01:00
Bubka
a0d6c9ace7 Fix phpunit tests 2020-01-20 14:23:31 +01:00
Bubka
99a2fc8641 Fix user controller unit tests 2020-01-14 11:50:20 +01:00
Bubka
35a6b0d87c Fix and complete unit tests 2020-01-10 13:43:36 +01:00
Bubka
3f9752ec84 Fix phpunit test impacted by softDelete removal 2020-01-07 21:43:28 +01:00
Bubka
3a0bf1a596 Remove softDelete on 2FAccounts 2020-01-07 16:46:50 +01:00
Bubka
9e7ea7d0fb refactoring de Name & Email vers Service & Account 2020-01-06 21:45:14 +01:00