Commit Graph

542 Commits

Author SHA1 Message Date
Bubka
71bc378212 Fix larastan issues 2024-06-27 13:37:15 +02:00
Bubka
0ce5db371f Move eloquent helpers docblocks to ide-helper-models 2024-06-27 13:36:27 +02:00
Bubka
58097d2f36 Add missing method to match Laravel 11 interface 2024-06-26 14:34:22 +02:00
Bubka
32c3d0f605 Fix broken code after upgrading to Carbon v3 2024-06-26 14:32:18 +02:00
Bubka
b8b4d22efb Update passport:install invocation to prevent unwanted confirmations 2024-06-26 14:14:45 +02:00
Bubka
860f728f1d Update doc blocks 2024-06-26 13:53:23 +02:00
Bubka
5d7a6c2d42 Fix Show QR Code feature - Closes #349 2024-06-21 14:55:22 +02:00
Bubka
98ef297dc7 Remove useless overrides 2024-06-12 14:49:46 +02:00
Bubka
d1c2a05b87 Log error & Check OpenID config to ease SSO setup - See #325 2024-06-10 16:14:31 +02:00
Bubka
bc090e2d4d Fix pint issues 2024-05-29 11:53:41 +02:00
Bubka
0706403ef4 Add early exit if user model is null 2024-05-24 13:53:24 +02:00
Bubka
e73fbf658f Add authentication log cleaning and associated tests 2024-05-24 13:50:19 +02:00
Bubka
96978accb3 Fix tests after setting PHP 8.2 as default 2024-04-29 16:19:16 +02:00
Bubka
bdfc70732d Fix demoting event not being registered (again) - Complete #331 2024-04-29 13:11:23 +02:00
Bubka
6458501e51 Fix demoting event not being registered - Complete #331 2024-04-26 11:55:07 +02:00
Bubka
3fef7d3426 Fix bad method call 2024-04-26 11:14:22 +02:00
Bubka
58d97de56d Add the exception message to error log after tfa caching failure 2024-04-26 10:54:54 +02:00
Bubka
091ac41a08 Fix FailedLogin notification 2024-04-26 10:47:21 +02:00
Bubka
7e1fdf67bb Fix pint issues 2024-04-26 08:01:20 +02:00
Bubka
bc89760e74 Fix twofaccounts count not being returned 2024-04-25 17:00:32 +02:00
Bubka
6b96fced3d Complete phpdoc comment 2024-04-25 17:00:04 +02:00
Bubka
8734e9c807 Add Timezone setting/pref & Update tests accordingly 2024-04-25 16:56:35 +02:00
Bubka
4987e060c4 Refactor & Complete tests for the authentication log feature 2024-04-24 21:46:50 +02:00
Bubka
76c3b6fe0c Add logging of auth proxy user 2024-04-24 14:06:15 +02:00
Bubka
e498350f62 Complete merge with refactoring for better integration 2024-04-24 09:33:45 +02:00
Bubka
e75589526b Merge authentication-log into codebase 2024-04-22 14:59:20 +02:00
Bubka
f823f69dd2 Fix phpstan & pint issues 2024-04-20 19:19:49 +02:00
Bubka
11ceb52286 Replace Rappasoft\LaravelAuthenticationLog by forked package 2024-04-20 18:10:30 +02:00
Bubka
e5f6fbf431 Fix auth log querying 2024-04-16 15:28:38 +02:00
Bubka
086dd241d2 Add user's locale preference 2024-04-15 21:20:36 +02:00
Bubka
44d7328d6c Add Period & Sort options to user access log 2024-04-15 18:39:37 +02:00
Bubka
4f17e2aff0 Fix format of log entries without login date 2024-04-15 18:34:29 +02:00
Bubka
a6745c28a6 Add authentications log 2024-04-15 00:44:18 +02:00
Bubka
1bc55f5535 Prevent last admin demotion - Closes #331 2024-04-09 14:41:26 +02:00
Bubka
f43fc97523 Complete tests 2024-03-30 15:42:54 +01:00
Bubka
eb3e38f4a6 Add user policy checking 2024-03-30 15:42:34 +01:00
Bubka
fdccbbcc55 Fix typo in class name 2024-03-30 15:40:42 +01:00
Bubka
49fddfd331 Apply Pint fixes 2024-03-29 09:42:54 +01:00
Bubka
ca903b6fc0 Upgrade to laragear/webauthn v2 - Fixes #255 2024-03-29 09:21:00 +01:00
Bubka
2db5adfe3b Enhance QR code reading & return more relevant error msg - Fixes #244 2024-03-22 18:04:44 +01:00
Bubka
f2c9f8aaa8 Fix missing admin permissions on WebAuthn login - Closes #326 2024-03-19 18:13:35 +01:00
Bubka
704166cfd6 Fix php doc 2024-03-15 08:02:36 +01:00
Bubka
b56ee8b04f Fix call on null object 2024-03-14 15:09:34 +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
9519d5838c Fix inactivity detection followed by logout - Fixes #267 2024-03-06 08:40:29 +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
a5b722c560 Change user logs format & Remove Updated On information 2024-02-23 16:42:42 +01:00
Bubka
96f883d19a Add User management features to back-end 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
fab67097bc Update logged message 2024-02-23 16:39:32 +01:00
Bubka
db3a732b15 Add a User policy to control authorization on User model 2024-02-23 16:39:32 +01:00
Bubka
3b156df8a2 Fix the useWebauthnOnly preference not being saved at webauthn reset 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
8b397750e8 Control & Promote administrator status via a method rather than a prop 2024-02-23 16:39:32 +01:00
Bubka
f2d4c43239 Fix reset emails not being rendered - Fixes #298 2024-02-17 22:10:02 +01:00
Bubka
f4edbcd044 Set missing parameters to null to prevent error at import - Fixes #277 2024-01-17 08:33:03 +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
36b4cd008a Fix access modifier to match the abstract class declaration 2023-12-14 11:34:14 +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
15c31c3341 Soften 2FAs migrations detection by ignoring schema version - Fixes #253 2023-12-11 14:10:51 +01:00
Bubka
9ff35195f0 Complete SSO (user model, error cases, tests, views) & Add github provider 2023-12-09 17:22:24 +01:00
Bubka
a407f4742e Merge branch 'feature/openid-support' of https://github.com/indykoning/2FAuth into indykoning-feature/openid-support 2023-12-06 09:27:20 +01:00
Bubka
4685e23fdb Set the new landing view for Vue 3 2023-12-05 14:41:57 +01:00
Bubka
a8eea1037a Allow letters with diacritic marks in Group name - Closes #241 2023-12-01 18:26:56 +01:00
Bubka
ee02fb5d92 Change HTTP code returned for routes rejected in reverse proxy setup 2023-11-23 12:56:09 +01:00
Bubka
9ae52ae78f Replace the draggable component by the vueuse one 2023-11-21 13:45:52 +01:00
Bubka
9d72525b38 Make the back-end returns the user email on login/register 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
0435cecd53 Adapt back-end to the new front-end auth management 2023-11-21 13:45:47 +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
bd1d3bcf71 Add 2fauth:fix-orphan command 2023-09-20 15:43:50 +02:00
Bubka
d28b8e7e11 Update 2fauth:install command description 2023-09-20 15:25:19 +02:00
Bubka
78d52e2cdd Hide some 2fauth artisan commands 2023-09-20 14:55:28 +02:00
Bubka
08c54328ca Enhance output message of 2fauth:check-db-connection command 2023-09-20 14:54:26 +02:00
Bubka
7530a17e12 Set email length validation to max SQL string length - Fixes #214 2023-08-04 09:48:47 +02:00
Bubka
6c78be8d0b Fix checkForUpdate setting not being displayed - Closes #213 2023-08-01 17:26:56 +02:00
Bubka
44c04ebd25 Complete Laravel 10 upgrade 2023-08-01 16:33:55 +02:00
Bubka
1ad1b62caf Refactor Rules to Laravel 10 format 2023-08-01 15:10:58 +02:00
Bubka
fe5d807170 Upgrade to Laravel 10 & phpunit 10 2023-08-01 11:26:58 +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
bac39882c3 Fix various possible XSS attacks 2023-06-30 14:50:57 +02:00
Bubka
3d59b8b3c9 Fix possible sql injection in whereRaw query 2023-06-28 21:11:13 +02:00
Bubka
1352634b0f Fallback Account to Issuer during Aegis import to prevent failure 2023-06-07 17:49:12 +02:00
Bubka
d2fc93d78f Let the Import feature accept migrations with missing data 2023-06-07 17:47:14 +02:00
Bubka
d902e3ecae Fix getOfficialIcons being ignored & Add relevant tests - Fix #194 2023-06-07 16:24:06 +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
Bubka
5de9a2df27 Add artisan ':install' command 2023-04-28 15:47:52 +02:00
Bubka
a584c21670 Set user to orphan 2FAs/groups when behind auth proxy - Fix #176 2023-04-19 08:38:48 +02:00
Bubka
e4c9e87522 Fix icon fetched twice or forgotten during import 2023-03-29 17:43:41 +02:00