Commit graph

60 commits

Author SHA1 Message Date
Timothée Jaussoin
46ff32f6c4 Fix #101 Add a MySQL migration test in the pipeline 2024-02-05 10:49:12 +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
4035cbd0ab Fix FLEXIAPI-134 Add a system to detect and block abusive accounts 2024-01-29 11:36:41 +01: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
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
95707c7749 Fix #19 Set all the ERROR confirmation_key to null in the accounts table 2023-10-09 16:50:09 +02: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
1debbc5f10 Fix #118 Add a throttling system for the AccountCreationToken push notification endpoint 2023-09-06 14:58:21 +02:00
Peio Rigaux
3852218558 Uses updateOrCreate instead of just create 2023-08-21 08:02:19 +00:00
Timothée Jaussoin
f8bde4345f First basic statistics graph generation using Chart.js 2023-07-27 15:23:53 +00: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
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
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
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
307c379fa8 Add validation for GenerateExternalAccounts
Add a migration to change the accounts group column to 64 chars
Update the dependencies
Bump the package number
2022-07-25 12:40:18 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
95ff7bc06c Remove the timestamp columns to allow a proper seeding
Bump version
2021-05-11 17:09:41 +02:00
Timothée Jaussoin
0279acca0c Add support for MySQL 5.5
Enable foreign key support for the external schema
Bump version
2021-05-11 16:45:19 +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
cd32657d21 Add Push notification token and account creation endpoints
Complete documentation
Complete tests
Update the dependencies
Bump the package number
2021-02-24 15:15:40 +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
Timothée Jaussoin
b6959cc5dd Add support of realms in the authentication process through a global configuration variable 2021-02-03 15:33:07 +01:00