Commit graph

69 commits

Author SHA1 Message Date
Timothée Jaussoin
1debbc5f10 Fix #118 Add a throttling system for the AccountCreationToken push notification endpoint 2023-09-06 14:58:21 +02:00
Timothée Jaussoin
03bd8d8114 Introduce the database_errors logger 2023-08-30 15:31:51 +00:00
Timothée Jaussoin
be429be82a Fix #117 Redeem properly the tokens to prevent reuse 2023-08-29 09:52:45 +00:00
Timothée Jaussoin
77f334a730 Fix #106 Remove completely the deprecated laravelcollective/html dependency 2023-08-08 15:20:07 +02:00
Timothée Jaussoin
0729718ccf Add basic Statistics support for Messages and Related devices 2023-07-20 14:56:42 +00:00
Timothée Jaussoin
c1e3f56e5d Complete the Contacts Lists endpoints in the API, with tests and documentation 2023-07-06 17:21:12 +02:00
Timothée Jaussoin
c1e355a829 Add ContactList feature, complete the lists and attach them to accounts 2023-07-04 14:35:21 +00:00
Timothée Jaussoin
fc96338bfb Redesign the UI 2023-06-09 08:24:49 +00:00
Timothée Jaussoin
02983102c0 Fix #97 Validate usernames with a configurable regex 2023-05-31 16:06:41 +02:00
Timothée Jaussoin
171f55e42e Fix #95 PUT /accounts admin endpoint implementation 2023-05-25 17:16:36 +02:00
Timothée Jaussoin
04352d582a Fix #104 Return validation URL when creation an account creation request token 2023-05-23 17:09:49 +02:00
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
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
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
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
f93e9c0634 Fix #30 Remove APP_EVERYONE_IS_ADMIN 2023-02-08 10:34:17 +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
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
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
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
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
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
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
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
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
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
Timothée Jaussoin
52884a7692 Fix the serialized account type in the vCard 4.0
Fix the tests
Fix the default type in AccountFactory
2022-01-25 14:51:25 +01:00
Timothée Jaussoin
79921e56e2 Display the account type as a list in vCard
Complete the documentation
Update the dependencies
Fix the tests
2022-01-24 17:31:49 +01:00
Timothée Jaussoin
717d3e3cc9 Move the DTMF protocol from AccountAction to Account
Ensure that the account actions are not reachable if the account doesn't have the DTMF protocol configured
Update the documentation
Update the tests
Fix migration for SQLite
2022-01-20 15:29:48 +01:00
Timothée Jaussoin
0338872c26 Fix the scope handling admins_manage_multi_domains in the booted() method
Update the documentation
Update and complete the tests
Update the dependencies
2022-01-05 14:43:31 +01:00
Timothée Jaussoin
585cc2f02c Split APP_EVERYONE_IS_ADMIN in two and introduce APP_ADMINS_MANAGE_MULTI_DOMAINS to allow admins to manage accounts accross the domains
Update the admins panels to allow domains to be edited
Update the tests
Update the dependencies
Complete the documentation
2022-01-04 16:40:24 +01:00
Timothée Jaussoin
398867fa39 Add a new endpoint to search an account by SIP address as an admin 2021-11-24 17:21:27 +01:00
Timothée Jaussoin
d091b0dbcf Activate the account if the confirmation_key matches during provisioning
Complete the documentation and test
Bump the package number
2021-11-17 11:25:38 +01:00
Timothée Jaussoin
913b4d64bc Add the Vcard4 provisioning URL in the provisioning XML
Fix the Vcard4 format to comply with liblinphone
2021-11-03 17:09:43 +01:00
Timothée Jaussoin
917ab3d123 Complete the authenticated account contacts tests and fix the related documentation
Cleanup the returned Vcard 4.0 formats
2021-10-26 15:12:53 +02:00
Timothée Jaussoin
75a98c0949 Add AccountAction model, CRUD and tests
Add AccountType model, CRUD and tests
Add AccountContact model, CRUD and tests
Allow users to retreive their contacts in JSON and VCARD4.0 format
Update the dependencies
Complete the documentation
Improve the messages displayed when removing accounts in RemoveUnconfirmedAccounts
Fix a bug in DeviceController
Fix README
2021-10-26 11:20:00 +02:00
Timothée Jaussoin
63a690d6b2 Save the removed accounts in a "tombstones" table to prevent them to be recreated
Add a Console commande to clear the old tombstones
Update the documentation
2021-09-07 15:52:21 +02:00
Timothée Jaussoin
3dfe01f45e Allow the account creation admin API endpoint to set a specific domain if EVERYONE_IS_ADMIN is set to true
Update the dependencies
Bump the package version
2021-08-19 11:39:53 +02:00