Commit graph

156 commits

Author SHA1 Message Date
Timothée Jaussoin
8570aaae15 Fix #102 Implement AccountCreationRequestToken 2023-05-23 14:49:03 +00:00
Timothée Jaussoin
716789592e Fix #92 Add two new endpoints regarding email account reset and account search per email for admins 2023-05-10 10:01:54 +00:00
Timothée Jaussoin
63e13502dc Fix #100 Fix and move the SMS log to OvhSMS library 2023-05-04 17:41:36 +02:00
Timothée Jaussoin
f409f19ab4 Fix #99 Remove username restriction in Public unsecure endpoint 2023-05-04 14:36:53 +00:00
Timothée Jaussoin
23f35da223 Fix #98 Validate the existence of a similar key on POST /account_types 2023-05-04 15:19:51 +02:00
Timothée Jaussoin
2514de1754 Fix #94 Implement the deprecated endpoint changes + tests + documentation for 1.4 2023-05-03 13:20:26 +00:00
Timothée Jaussoin
3162624fb5 Fix #60 Rename code to confirmation_key to be more consistent with the API, keep code as a fallback for now 2023-04-26 15:32:47 +00:00
Timothée Jaussoin
f05df1529d Fix #91 Update to Laravel 9 2023-04-12 11:35:46 +02:00
Timothée Jaussoin
c5deca93a6 Fix #82 Adjust the FlexisipPusherConnector to fit with the recent changes 2023-03-21 15:46:02 +00:00
Timothée Jaussoin
86f4a67c1e Fix #77 Add proper SIP username validation 2023-03-21 13:03:02 +00:00
Timothée Jaussoin
f68c0957da Fix #80 Inject provisioning link and QRCode in the default email with a password_reset parameter 2023-03-16 16:15:45 +00:00
Timothée Jaussoin
d0f5bf24f5 Fix #79 Add a refresh_password parameter to the provisioning URLs 2023-03-15 16:16:58 +00:00
Timothée Jaussoin
eb0c97804e Fix #78 Add a APP_ACCOUNTS_EMAIL_UNIQUE environnement setting 2023-03-14 10:53:51 +00:00
Timothée Jaussoin
3e8eec68ea Fix #76 Remove useless expired_at cast 2023-02-13 14:11:31 +01:00
Timothée Jaussoin
8c598df151 Fix #72 Disable the accounts scope when loading the ApiKey and related account 2023-02-08 12:04:28 +01:00
Timothée Jaussoin
f93e9c0634 Fix #30 Remove APP_EVERYONE_IS_ADMIN 2023-02-08 10:34:17 +01:00
Timothée Jaussoin
a5c3339cfe Fix #62 Remove fromContact 2022-12-21 17:19:47 +01:00
Timothée Jaussoin
6b90b29900 Fix #61 Use the new up to date syntax to load and use CommonMark
Update the dependencies
2022-12-20 15:13:00 +01:00
Timothée Jaussoin
6e56559050 Fix #59 Move to Redis for the devices management 2022-12-14 17:21:14 +01:00
Timothée Jaussoin
0d513197b4 Fix #55 Return 401 and not 404 when the wrong algorithm is picked in the Digest flow 2022-12-13 15:16:14 +01:00
Timothée Jaussoin
3da2a8fdd6 Fix #50 upgrade the code to fit with the new object format
Fix a fatal error in the view
2022-11-03 10:39:11 +01:00
Timothée Jaussoin
501f394bbc Fix #52 Remove the message
Update the dependencies
Bump the package number
2022-10-31 11:03:21 +01:00
Timothée Jaussoin
448e200a72 Fix #39 Log error when the PN pusher is not configured 2022-10-20 16:58:31 +02:00
Timothée Jaussoin
46c2326e6b Fix #48 FN in VCARD serialization
Add test
2022-10-19 15:42:04 +02:00
Timothée Jaussoin
e124dedfa2 Fix #46 Rely on the external account identifier and not the non-existing full identifier
Bump version
2022-10-11 14:43:10 +02:00
Timothée Jaussoin
699b015950 Fix #45 PHPCS issues
Bump the package number
2022-10-05 16:41:58 +02:00
Timothée Jaussoin
9768585236 Fix #45 Add a username blacklist feature + tests 2022-10-05 16:34:43 +02:00
Timothée Jaussoin
006ddaca5f Fix #44 Add display name in the provisioning XML 2022-09-29 16:41:56 +02:00
Timothée Jaussoin
54b9c2a3f3 Fix #43 Ensure that admins cannot create or edit account with capital letters in usernames
Update the dependencies
Bump the package number
2022-09-27 11:51:21 +02:00
Timothée Jaussoin
10d601b95c Fix #42 add PHPMD to the GitlabCI
Update the dependencies
2022-09-21 15:29:27 +02:00
Timothée Jaussoin
a0dd7e17ce Add a PHP CodeSniffer to the CI 2022-09-21 12:28:59 +02:00
Timothée Jaussoin
a85088c7a4 Fix #40 Drop the From requirement in the API Key authentication mechanism
Small fixes and adjustements in tests
2022-09-13 16:20:42 +02:00
Timothée Jaussoin
3212e112bf Fix #39 Add an accounts/me/provision endpoint
Add related test and documentation
Update the dependencies
2022-09-08 15:09:11 +02:00
Timothée Jaussoin
487755acba Catch the mail exceptions in public registration
Remove validity check for confirmed accounts
2022-09-01 17:13:05 +02:00
Timothée Jaussoin
b1d58d83c9 Fix #177
Implement XMLRPC like retrocompatibility endpoints
Validate phone-info endpoint phone format
Improve OVHSMS error handling and log errors
Complete tests
Fix #34 return a generic message for 404 errors
Fix #38 simplify the domain resolving parameter and remove the domain parameter in the token based account creation endpoint
2022-08-23 11:27:35 +02:00
Timothée Jaussoin
31b5cbe059 Fix #31 provide realm based on the external account and directly use the domain 2022-08-03 17:09:46 +02:00
Timothée Jaussoin
307c379fa8 Add validation for GenerateExternalAccounts
Add a migration to change the accounts group column to 64 chars
Update the dependencies
Bump the package number
2022-07-25 12:40:18 +02:00
Timothée Jaussoin
7a17897193 Add ExternalAccounts and related features
- Consume an ExternalAccount on Account creation
- Add a tombstone to an ExternalAccount to ensure non re-usage
- Add related tests
- Generalize Utils
- Stop public registration when there is no ExternalAccounts left
- Add GenerateExternalAccounts, ExportToExternalAccounts and ImportExternalAccounts console scripts
- Provision the ExternalAccount using the depends_on/idkey pair
2022-07-12 17:05:17 +02:00
Timothée Jaussoin
354830da7e QRCode based authentication
Add routes, model and controller for AuthToken
Create auth_tokens table
Allow auth_token to be used for provisioning
Reorganize the API
Update the dependencies
2022-07-12 15:14:46 +02:00
Timothée Jaussoin
68aab1d130 Keep the compatibility with old deprecated endpoints and parameters 2022-06-28 14:50:31 +02:00
Timothée Jaussoin
d09e8e5c37 Import the base fonts localy
Add missing headers in PHP files
Small adjustments in the documentations
Bump the package number
2022-06-27 13:59:35 +02:00
Timothée Jaussoin
3225e11ffc Rename tokens to account_creation_token and the related table, tests, controllers, endpoints
Add a new endpoint to allow the creation of an account_creation_token by an admin
Split the confirmation_key in two, create a provisioning_token
Refactor the documentation
Bump the package number
2022-06-23 17:25:01 +02:00
Timothée Jaussoin
136d468601 Remove a dd() 2022-05-23 10:37:29 +02:00
Timothée Jaussoin
4345fa8a42 Add a new API endpoint to allow the refresh of the confirmation_key
Complete the related documentation and tests
Update the dependencies
2022-05-10 17:09:53 +02:00
Timothée Jaussoin
5e377a2b84 Allow whitespaces in the IsNotPhoneNumber validation rule 2022-03-24 17:55:57 +01:00
Timothée Jaussoin
e6ead8923c Complete the API SIP message feature with more error logs and updated documentation 2022-03-21 16:14:29 +01:00
Timothée Jaussoin
330073c167 Complete the API SIP message endpoint
- Complete the related README documentation
- Add a custom error message if the configured UNIX socket cannot be reached
- Update the dependencies
2022-03-21 11:12:19 +01:00
Timothée Jaussoin
88e2e049c4 Fix cases where alias and username can both be phone numbers but different
Update the views and add a test for FlexiAPI
Update the dependencies
2022-03-07 14:21:41 +01:00
Timothée Jaussoin
dfd1afcb81 Fix the CreateAdminAccountTest command to force the last_used_at value for MySQL 2022-02-15 10:19:47 +01:00
Timothée Jaussoin
20f8fb4c45 Add a send message endpoint, passing by the linphone-daemon unix pipe
Import ReactPHP Socket and required dependencies
Add a new configuration variable to define the unix pipe path
Generalize the API Key to all the users, add a new endpoint to retrieve it, update the documentation
Update the dependencies
Update the documentation
Complete the tests
2022-02-08 18:04:25 +01:00