Commit graph

119 commits

Author SHA1 Message Date
Timothée Jaussoin
806a77a756 Redesign the account related pages 2023-06-27 09:13:36 +00:00
Timothée Jaussoin
fc96338bfb Redesign the UI 2023-06-09 08:24:49 +00:00
Timothée Jaussoin
1d6eab83b9 Fix #105 Return 404 and not 403 on POST... 2023-05-29 12:48:01 +00:00
Timothée Jaussoin
171f55e42e Fix #95 PUT /accounts admin endpoint implementation 2023-05-25 17:16:36 +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
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
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
6e56559050 Fix #59 Move to Redis for the devices management 2022-12-14 17:21:14 +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
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
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
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
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
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
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
a1780254d7 Restrict the attributes returned in AccountContact
Hide a few attributes in Account Action
Update the dependencies
Fix a title in the documentation
2022-02-01 12:17:56 +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
c81fdc6b10 Resolve the accounts inside the controllers, the automatic Laravel object resolve doesn't fit with the authenticated scope declared in the Account booted() method 2022-01-06 14:42:29 +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
7224e2831f Handle aliases when doing an email reset
Fix #6
2021-12-14 16:52:36 +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
48323477cf Complete the authenticated account contacts tests and fix the related documentation
Cleanup the returned Vcard 4.0 formats
Implement the recently introducted REST endpoints in the admin panels
Add account actions logs to the new Controllers
2021-11-02 17:00:41 +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