Commit graph

61 commits

Author SHA1 Message Date
Timothée Jaussoin
07f8a6e7dd Fix FLEXIAPI-140 Select the display_name attribute from the database to inject... 2024-02-22 10:50:33 +00:00
Timothée Jaussoin
4a5d7b6aee Fix FLEXIAPI-138 Add ip and user_agent columns to all the tokens and code... 2024-01-30 14:02:14 +00:00
Timothée Jaussoin
e4ccfe7a4a Fix FLEXIAPI-132 2024-01-24 15:37:20 +00:00
Timothée Jaussoin
d6a6b6bce0 Fix FLEXIAPI-133 Use the correct breadcrumb on create and fix a password... 2024-01-17 09:39:09 +00:00
Timothée Jaussoin
6226e867ad Fix #139 Allow the dictionary to be set when creating an account on the API as an admin 2023-12-28 15:17:01 +00:00
Timothée Jaussoin
0597db0f8e Fix #138 Add a dictionary to the account model 2023-12-28 09:54:47 +00:00
Timothée Jaussoin
3649dde4f3 Fix #136 Refactor the activation_key integration 2023-12-20 11:02:34 +00:00
Timothée Jaussoin
c2ebe29d77 Fix #135 Refactor the password algorithms code 2023-12-19 09:30:21 +00:00
Timothée Jaussoin
5717994ab8 Fix #132 Move the provisioning_tokens and recovery_codes to dedicated table 2023-12-14 14:13:41 +00:00
Timothée Jaussoin
b409e37ab1 Fix #130 Drop the group column in the Accounts table 2023-12-11 14:54:58 +00:00
Timothée Jaussoin
b6b54802d2 Add a small check to ask to wait one hour between two recoveries of an account 2023-11-07 15:54:07 +01:00
Timothée Jaussoin
459e8faf9d Fix Mantis#11998 Send the correct message by SMS when creating an account... 2023-11-07 14:20:13 +00:00
Timothée Jaussoin
179c76251d Add call logs browsing, general and per account 2023-10-16 09:05:45 +00:00
Timothée Jaussoin
e996a9827c Fix #125 Remove the External Accounts feature 2023-10-04 16:03:53 +02:00
Timothée Jaussoin
7feb7fd184 Add Account statistics 2023-10-04 08:24:47 +00:00
Timothée Jaussoin
a9fb3fd1c1 Implement Calls Statistics 2023-09-19 13:07:09 +00:00
Timothée Jaussoin
49d414c9ee Add the Account CSV import feature 2023-08-14 13:53:03 +00: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
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
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
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
46c2326e6b Fix #48 FN in VCARD serialization
Add test
2022-10-19 15:42:04 +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
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
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
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
f3ffa96ea6 Allow actions configurations when a DTMF protocol is set on the Account
Add the sipmessage DTMF protocol to the list
2022-01-25 11:09:54 +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
5d508d96d8 Fix an authentication issue in the Account global domain scope 2022-01-06 12:31:34 +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
1804432e7d Fix returned vcard4.0 format to allow them to be parsed properly in liblinphone 2021-11-18 09:59:34 +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
09e44f67db Add a create and edit feature for accounts in the Admin panel 2021-07-29 08:48:11 +00:00
Timothée Jaussoin
fe279e3244 Remove totally the SQLite support
- Run all the migrations in the MySQL database
- Add foreign keys + cascade support
- Remove the AccountDeleting event (now useless)
- Simplify the related code
- Keep (for now), the FlexiSIP structure to ensure compatibility
- Update the README
- Update the test suite
2021-06-03 11:31:54 +02:00
Timothée Jaussoin
8acd08607c - Fix an issue when the user set for the first time his email adress to his account (the old email was required)
- Fix an issue when a user want to do an email authentication on an account that is using the same email adress as another account
- Bump the package number
2021-05-04 11:27:21 +02:00
Timothée Jaussoin
c3df886ffa Add a Command to create an Admin test account 2021-03-31 16:13:08 +02:00
Timothée Jaussoin
46af75fea3 Add account expirations table
Complete POST /accounts admin endpoints
Handle expiration in email and phone endpoints
Complete documentation
Add related tests
Bump package version
2021-03-03 17:25:52 +01:00
Timothée Jaussoin
e2aeab285a Allow admin accounts creation through the admin account creation API
Fix a small issue in the account panel authentication controller (realm->domain)
Update the dependencies
Bump the release version
2021-02-15 10:05:33 +01:00
Timothée Jaussoin
4fc6aaa824 Resolve properly the domain/realm when hashing the password
Add aliases support through two new endpoints, allowing user to set a phone number on his account
Hide the confirmation_key from the returned account JSON
Bump version number
2021-02-11 16:06:20 +01:00