Commit graph

255 commits

Author SHA1 Message Date
Timothée Jaussoin
ae0ef3fb8e Add a size to the group string to prevent migration issue with old MySQL releases 2022-07-21 13:10:36 +02:00
Timothée Jaussoin
97fca6422b Complete the documentation page
Fix the XMLRPC with simpler information regarding the OVH SMS API
Update the dependencies
2022-07-18 15:47:12 +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
093619a22c Bump the version to 142 to generate a package
Small fix in the documentation
2022-07-12 15:50:00 +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
Peio Rigaux
0221ba4587 re-schedule package upload and invert stages 2022-07-07 16:29:23 +02:00
Peio Rigaux
6a54872c7e fixed typo generating errors and preventing further uploads 2022-07-07 16:08:54 +02:00
Peio Rigaux
68e3d6536b Added conditionnal in spec files to declare dependencies based on the rhel version. Added temp dockerfile for rocky (to be added in sdk repository to be reused) 2022-07-07 13:59:30 +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
Peio Rigaux
1c32935ad7 Now uses stock freight to deploy and regenerate repository instead of using custom make_repo script which was only made for Flexisip 2022-05-23 11:06:42 +02:00
Peio Rigaux
be3d59ae4a Added debian 11 package upload on deploy server for CI 2022-05-23 11:06:42 +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
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
09a3d131ca Check the presence of the confirmation_key before injecting it 2022-01-26 11:50:46 +01:00
Timothée Jaussoin
2aa38bc021 Handle properly the confirmation_key in the Liblinphone account seeder script 2022-01-25 17:43:27 +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
f16776e29b Add a global toggle to enable/disable the web panels 2022-01-17 16:24:47 +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
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
Anthony Gauchy
630b75cfc2 Allow different range for id and username, needed to fix some tests 2021-12-23 14:46:46 +01:00
Peio Rigaux
956119e3c1 Added semanage line in Readme to know how to make access to Flexiapi logs persistent across relabeling. 2021-12-21 11:17:51 +00: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
8404dd94a0 Complete the documentation
Update the dependencies
Bump the package number
2021-12-08 17:02:29 +01:00
Timothée Jaussoin
0220010dc7 Fix #14, convert the flexisip-tester account seeder MySQL script to a proper Laravel Seeder 2021-12-07 17:10:37 +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
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
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
64a6f3076a Fix account_types table key length column to be able to deploy it on (very) old MySQL databases 2021-11-04 11:14:37 +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
Timothée Jaussoin
146e655bb6 Fix chmod cron file 2021-10-05 16:00:39 +02:00
Timothée Jaussoin
4f11deeaf9 Add some basic subscriptions statistics
Move the statistics to a specific Library
Show some subscriptions charts in the admin panel
Inject the browser user agent to the database if available
Split statistics in different view (day/week/month)
Install cron scripts
Update the dependencies
2021-10-05 14:27:23 +02:00
Timothée Jaussoin
e832eae21e Forbid uppercase during registration
Update the dependencies
Bump the package number
2021-10-05 10:03:53 +02:00
Timothée Jaussoin
6a62b0de65 Remove forgotten phone validation to prevent 500 when submitting the related form
Bump the package number
2021-09-29 10:37:23 +02:00