Commit graph

182 commits

Author SHA1 Message Date
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
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
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
Timothée Jaussoin
81b409677d Add missing unique constraints to the Accounts, Passwords and Aliases tables 2021-09-16 14:19:45 +02:00
Timothée Jaussoin
85130d454f Add a warning in the README regarding the memory limit of the database migration
Bump the dependencies
Enforce small size for tombstones columns
Bump the package number
2021-09-13 17:07:26 +02:00
Timothée Jaussoin
572254befb Complete README to add selinux rule about sendmail
Complete README to add tombstone clearning command documentation
Add a few logs when handling accounts as an admin in the web panel and the API
Bump package number
2021-09-09 16:18:50 +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
683e8164fc Complete and fix the generated provisioning XML
Use require_once to load the hooks and prevent double inclusion
2021-09-02 14:57:59 +02:00
Timothée Jaussoin
82526da4fd Add php-gd as a required dependency
Update the dependencies
Bump the package number
2021-08-23 16:16:42 +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
Timothée Jaussoin
dcbd01e5e3 Add a --and-confirmed parameter to the accounts:clear-unconfirmed command
Update the documentation
Bump the package number
2021-08-10 14:34:55 +02:00
Timothée Jaussoin
b48c8f505d Add a permanent provisioning URL, authenticated
Complete the documentation
Add a few tests for the provisioning urls
Update the dependencies
Bump the package version
2021-08-04 16:49:14 +02:00
Timothée Jaussoin
877cae94f7 Add a toggle to disable public account registration 2021-08-02 15:54:35 +02:00
Timothée Jaussoin
2b9921515c Fix Home button link
Bump package
2021-07-29 17:08:07 +02:00
Timothée Jaussoin
98ddf1f065 Enforce a redirection on the login page if the account is logued in
Use the APP_URL variable to define the base url
Bump the package number
2021-07-29 16:58:18 +02:00
Timothée Jaussoin
0b8c4061fc Add missing request files
Bump package
2021-07-29 16:14:39 +02:00
Timothée Jaussoin
d4d5a9336e Some small UI fixes in the UI panel
Bump the package number
2021-07-29 15:50:07 +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
54ada09169 Add a basic documentation for FlexiAPI account panel 2021-07-27 09:35:47 +00:00
Timothée Jaussoin
d259a61c4f Remove the old password request feature when changing the password
Update the dependencies
Bump the package version
2021-07-12 11:02:08 +02:00
Timothée Jaussoin
13a1eb4dc5 Add account deletetion feature in the Admin panel
Add the provisioning elements to the user admin page
Add missing file headers, cleanup code
Bump the dependencies
2021-07-06 15:35:21 +02:00
Timothée Jaussoin
335831e703 Allow migration with no SQLite databases
Update the documentation
Update the dependencies
Bump the package version
2021-07-05 14:42:59 +02:00
Timothée Jaussoin
2062d0618f Add a provisioning endpoint
Add QRCode link endpoint
Install endroid/qr-code to generate the QRCode
Add a ACCOUNT_PROVISIONING_RC_FILE to configure the provisioning RC file
Complete the documentation
Handle expired confirmation_key in the provisioning endpoints
Implement the provisioning hooks and complete the README
Complete the README regarding the db:import command
Bump the package number
2021-07-05 10:41:45 +02:00
Timothée Jaussoin
88c129dc2c Fix #15 Create a migration script to merge the SQLite and MySQL existing databases to the FlexiAPI one
Fix a rollback issue in a migration
2021-07-02 11:09:55 +02:00
Timothée Jaussoin
ba7d91210c Fix #12 Add logs to important API endpoints and Web panel events
Update the dependencies
2021-07-02 11:01:00 +02:00
Timothée Jaussoin
3447080f97 Fix email change link in the text version of the email 2021-06-24 10:28:29 +02:00