Commit Graph

215 Commits

Author SHA1 Message Date
Bubka
ca903b6fc0 Upgrade to laragear/webauthn v2 - Fixes #255 2024-03-29 09:21:00 +01:00
Bubka
f2c9f8aaa8 Fix missing admin permissions on WebAuthn login - Closes #326 2024-03-19 18:13:35 +01:00
Bubka
86e7601328 Replace PUT by PATCH to promote admin permissions 2024-03-14 15:09:05 +01:00
Bubka
e956959f69 Fix ownership verification - Closes #305, closes #320 2024-03-14 14:49:49 +01:00
Bubka
e6d201d882 Add a keepSsoRegistrationEnabled admin setting - Closes #317 2024-03-08 15:07:44 +01:00
Bubka
edd810cafd Add a Clear cache feature - Closes #316 2024-03-07 14:13:02 +01:00
Bubka
3eed7c8f5b Add an email registration policy feature - Closes #250 2024-02-29 14:03:30 +01:00
Bubka
88d37394d3 Add a test email feature to the admin panel - Closes #307 2024-02-26 15:06:26 +01:00
Bubka
04078b09aa Add a listener to automatically log notification sends 2024-02-26 15:05:00 +01:00
Bubka
21fa77f348 Move debug information to the admin section - Closes #303 2024-02-23 16:42:42 +01:00
Bubka
91242860f0 Update & Complete tests 2024-02-23 16:39:32 +01:00
Bubka
37e4711071 Refactor user deletion logic in a User observer 2024-02-23 16:39:32 +01:00
Bubka
6fe00585e5 Target db tables using config helper rather than hard coded strings 2024-02-23 16:39:32 +01:00
Bubka
f09ac29403 Add PHP 8.3 to Travis config & Skip broken tests (for now) 2023-12-20 17:08:18 +01:00
Bubka
ecd905c36c Apply Pint fixes 2023-12-20 16:55:58 +01:00
Bubka
c5d173f45c Fix user registration via SSO with existing email and name 2023-12-14 15:39:14 +01:00
Bubka
bf496e9502 Fix tests 2023-12-14 12:36:38 +01:00
Bubka
e503826012 Add the ability to set a proxy for outgoing requests - Closes #252 2023-12-13 17:15:26 +01:00
Bubka
9ff35195f0 Complete SSO (user model, error cases, tests, views) & Add github provider 2023-12-09 17:22:24 +01:00
Bubka
eaaefc1f1b Update php tests 2023-12-05 16:32:20 +01:00
Bubka
ee02fb5d92 Change HTTP code returned for routes rejected in reverse proxy setup 2023-11-23 12:56:09 +01:00
Bubka
057cdb69ea Fix tests 2023-09-26 08:40:36 +02:00
Bubka
159e2711fd Fix invalid target for code coverage 2023-09-24 18:45:52 +02:00
Bubka
43d7922732 Complete e2e tests for search and account creation 2023-09-13 15:34:28 +02:00
Bubka
68d45be102 Fix test no returning the Twitter icon (thanks Elon...) 2023-09-13 10:04:44 +02:00
Bubka
790606b4a1 Add e2e tests for accounts display options 2023-09-02 12:23:31 +02:00
Bubka
4bd5cd0d62 Speed up multiple options switching in e2e tests 2023-09-01 15:22:18 +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
690a78a044 Add e2e tests for Close & Back buttons 2023-08-30 15:48:04 +02:00
Bubka
70313995b9 Add e2e tests for role based content of the about page 2023-08-29 09:10:10 +02:00
Bubka
afd020019b Refactor & Complete E2E tests for auth, nav and the password component 2023-08-04 14:06:23 +02:00
Bubka
44c04ebd25 Complete Laravel 10 upgrade 2023-08-01 16:33:55 +02:00
Bubka
36188f2230 Update tests to phpunit 10 2023-08-01 11:28:27 +02:00
Bubka
48bdf69d4e Add support for MS Corporate URIs - fixes #134, fixes #143, fixes #147 2023-07-06 17:10:19 +02:00
Bubka
a51f0bb2d9 Merge branch 'hotfix-sql-xss-injection' into dev 2023-06-30 17:01:04 +02:00
Bubka
9646afd2cc Change GroupStore request validation 2023-06-30 15:19:47 +02:00
Bubka
d902e3ecae Fix getOfficialIcons being ignored & Add relevant tests - Fix #194 2023-06-07 16:24:06 +02:00
Bubka
4f81b30fcd Add admin setting to disable user registration - Complete #170 2023-04-28 16:52:04 +02:00
Bubka
3413d31a3c Fix tests (see 533b913) 2023-04-14 17:54:35 +02:00
Bubka
3724f3e87c Fix test 2023-03-27 09:18:07 +02:00
Bubka
ac6c715e9a Apply Laravel Pint fixes 2023-03-26 17:13:32 +02:00
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
dae0a93ce8 Fix duplicate detection being made on all twofaccounts in db 2023-03-22 15:39:51 +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
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