Bubka
|
eea7cec043
|
Fix inactivity middleware trying to logout stateless request
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
6533f844d9
|
Fix null group_id on twofaccount creation with specific default group
|
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
|
c8218c8cd7
|
Authorize FormRequests to authenticated user only
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
f5e632b4e5
|
Fix assignAccounts not returning a group resource
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
6bc3f74459
|
Refresh twofaccounts count after group assignment
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
ca4b16a7cc
|
Fix Group resource returning null twofaccounts_count
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
7efa86b232
|
Set up paths & namespace to match versioned routes
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
0383f07ad7
|
Add versioning to Laravel routes
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
9ca9fcc9ef
|
Reorganize files to prepare API versioning
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
affd4bdf8d
|
Enable CORS
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
8318f0f7a6
|
Disable inactivity tracking for user authenticated against bearer token
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
d6306e5dd0
|
Use FreshApiToken instead of Personal access token for front-end auth
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
6fab74368f
|
Cast Number settings as integer instead of float
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
5db549fe5e
|
Add logs
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
9e899aab53
|
Add Artisan command to fix inconsistent accounts after migration
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
c7b43de835
|
Replace DbProtection class by an Encryption service
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
bb76f851d8
|
Reset default/active group when deleting a group
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
aa7321ce81
|
Change returned type to handle exceptions correctly
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
2cb4578109
|
Move options to config/2fauth
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
a58a4a3def
|
Handle comma-separated ids correctly
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
194eb54335
|
Fix TwoFAccounts assignment when destination group does not exist
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
faada93720
|
Remove inconsistent icon delete
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
7bef68e731
|
Fix TwoFAccount update validation rules again
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
8eae21e4da
|
Fix TwoFAccount controller update method not returning an API resource
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
1d503ca313
|
Fix TwoFAccount update validation rules
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
0f34736e4e
|
Fix token algorithm not being updated
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
d329b82a30
|
Fix comma-separated regex rule for ids
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
c927f3f9ab
|
Fix single TwoFAccount association to group
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
72db88e9fa
|
Fix error when submitting null OTP parameters
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
52f9867fee
|
Rename valid_for property to period
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
f19fb0adad
|
Add otp_type property when returning an OTP object
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
c27bef1819
|
Fix change password validation rule not checking for confirmation
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
69c3f08f7b
|
Fix MySQL foreign key constraint error on Group delete
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
b79570bcd9
|
Fix regex validation rule for TwoFAccounts batch delete
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
361ee38cf2
|
Change Settings attributes and routes
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
8dc5e7d6e9
|
Fix Group resource overriding TwoFAccounts count
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
a5514ba06b
|
Refactor Auth controllers : thicker, with Form requests & API resource
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
1a51cf967a
|
Remove useless overrides since json is the default response format
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
77cf15cf5e
|
Move isDemoApp to a new 2FAuth config file
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
350d00902e
|
Add a new Exception to be gracefully rendered
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
3aef29717f
|
Clean unused namespaces
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
10fc144246
|
Refactor Options to a Setting service bound with the service container
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
afaa1a0a7a
|
Update phpdocs
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
037ebaa8ba
|
Add groups accounts fetching with dedicated route
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
6761b9e40b
|
Set controllers to use Group service & API resources
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
c7e273a580
|
Add Form Requests for Groups validation
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
672e189e55
|
Refactor Group for thin model & Add a dedicated business service
|
2022-03-31 11:24:01 +02:00 |
|
Bubka
|
1091b95e49
|
Set mass DELETE according to REST (no request body) for twofaccounts
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
5959b692de
|
Change order saving endpoint and remove position property
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
59a63f5a2a
|
Move TwoFAccounts order saving to business service
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
898ba1629e
|
Make some cleaning
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
0d91fb5aa2
|
Set controllers to use TwoFAccount business service
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
719ea3854f
|
Refactor TwoFAccount for thin model & Add a dedicated business service
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
f22f389487
|
Set JSON resources without wrapping
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
a2c67d1558
|
Add Form Requests for TwoFAccounts validation
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
f7fcef77f1
|
Add new exceptions
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
297b55f66f
|
Reformat some responses
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
f3adb0b5dd
|
Move some TwoFAccount validations to Form Requests
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
3036e534e7
|
Move QrCode controller logic to a business service
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
9af39a469c
|
Force JSON responses everywhere
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
0e703d3c84
|
Add artisan command to check db connection
|
2022-03-31 11:24:00 +02:00 |
|
Bubka
|
cff545d936
|
Fix query to return the user even if userId > 0
|
2020-12-02 23:50:17 +01:00 |
|
Bubka
|
4d6ae849d8
|
Force lowercase on email to prevent capitalization issue with SQLite
|
2020-12-02 23:48:16 +01:00 |
|
Bubka
|
b80f7b6b3b
|
Complete fix for #17
|
2020-12-01 18:34:44 +01:00 |
|
Bubka
|
e7156d0650
|
Fix too long key error during migration for some MySQL setup
|
2020-12-01 09:19:58 +01:00 |
|
Bubka
|
92be5976ff
|
Fix #17 : Capitalization of email address during login should not matter
|
2020-12-01 07:06:01 +01:00 |
|
Bubka
|
0374bc4994
|
Fix phpunit tests
|
2020-11-24 23:09:06 +01:00 |
|
Bubka
|
893f29849e
|
Refactor checkUser controller
|
2020-11-24 23:08:21 +01:00 |
|
Bubka
|
747eb98de3
|
Add punchlines to auth forms
|
2020-11-24 22:57:32 +01:00 |
|
Bubka
|
7df763073b
|
Push to Register form or hide it from Login form
|
2020-11-24 16:54:19 +01:00 |
|
Bubka
|
c895e95b87
|
Apply group filtering on client side to save an api call
|
2020-11-23 12:58:44 +01:00 |
|
Bubka
|
13dc8b75e5
|
Cast model attributes that should be integer
|
2020-11-23 12:54:06 +01:00 |
|
Bubka
|
fa90fb0867
|
Remove useless assignation
|
2020-11-22 12:26:20 +01:00 |
|
Bubka
|
742107a270
|
Return account even if the uri stored in db is still encrypted (or invalid)
|
2020-11-22 11:00:55 +01:00 |
|
Bubka
|
ed1ac10f59
|
Fix exception type declaration
|
2020-11-22 10:56:27 +01:00 |
|
Bubka
|
630d3b9a87
|
Hide created/updated timestamp group attributes from api response
|
2020-11-21 21:50:33 +01:00 |
|
Bubka
|
7a32998b4c
|
Return only essentials attributes when a token is requested to back-end
|
2020-11-21 21:46:31 +01:00 |
|
Bubka
|
b4ce39e9d5
|
Define accountCount internally instead of as a props
|
2020-11-21 21:34:45 +01:00 |
|
Bubka
|
af5b52dcf8
|
Reset exception handler to the Laravel 7.* definition
|
2020-11-20 19:06:58 +01:00 |
|
Bubka
|
019d380cb2
|
Refactor QRcode handling using the brand new Start view
|
2020-11-20 14:11:32 +01:00 |
|
Bubka
|
101a26b035
|
Prefill icon field with imageLink resource
|
2020-11-18 23:48:51 +01:00 |
|
Bubka
|
523c857d18
|
Code refactoring
|
2020-11-18 01:13:00 +01:00 |
|
Bubka
|
b113109340
|
Prevent exception if the requested Option does not exist
|
2020-11-17 21:59:07 +01:00 |
|
Bubka
|
d9b48e8806
|
Revert unwanted previous change
|
2020-11-17 21:39:02 +01:00 |
|
Bubka
|
03981bc12b
|
Fix base32 Encoding usage
|
2020-11-17 21:27:55 +01:00 |
|
Bubka
|
efff5ecd1f
|
Fix missing attributes during store
|
2020-11-17 15:45:01 +01:00 |
|
Bubka
|
648c8f8006
|
Run populateFromUri() from uri setter instead of external call
|
2020-11-17 15:30:50 +01:00 |
|
Bubka
|
7bdd286fb2
|
Update Edit form to match with the new TwoFAccount model
|
2020-11-16 14:45:24 +01:00 |
|
Bubka
|
50f956957c
|
Fix wrong parameter call
|
2020-11-16 14:36:19 +01:00 |
|
Bubka
|
17eb3d46c6
|
Always use lowercase for otpType and apply uppercase with CSS if needed
|
2020-11-16 14:15:33 +01:00 |
|
Bubka
|
27dd64a965
|
Add route to get TwoFAccount with sensitive data
|
2020-11-16 14:10:54 +01:00 |
|
Bubka
|
8253d28102
|
Fix #11 : Set TOTP loop duration on remaining time instead of remaining dots
|
2020-11-16 09:38:28 +01:00 |
|
Bubka
|
02798a05f3
|
Move token generation from dedicated class to TwoFAccount model class
|
2020-11-14 18:55:10 +01:00 |
|
Bubka
|
acd1b2deca
|
Enforce Create form validation
|
2020-11-14 18:48:27 +01:00 |
|
Bubka
|
657b9288da
|
Force URI (re)generation at TwoFAccount model saving
|
2020-11-14 18:43:30 +01:00 |
|
Bubka
|
9dd8b1f169
|
Add Original message from Exception to the error page
|
2020-11-14 18:37:46 +01:00 |
|
Bubka
|
207ee2d3fb
|
Convert the standard Create form to an advanced form
|
2020-11-13 15:45:17 +01:00 |
|
Bubka
|
2f32551e99
|
Make URI visible in the QrCode controller response
|
2020-11-13 14:52:24 +01:00 |
|
Bubka
|
45a3f60fc6
|
Update QrCode controller to work with new TwoFAccount model
|
2020-11-12 00:18:38 +01:00 |
|