Commit graph

75 commits

Author SHA1 Message Date
Timothée Jaussoin
e516ae788c Fix #124 Return 404 when the account is already provisioned or the provisioning_token not valid 2023-09-27 14:31:04 +00:00
Timothée Jaussoin
312c9e515f Fix #123 Define a proper documentation for the provisioning flow 2023-09-27 14:53:32 +02:00
Timothée Jaussoin
3ae460de5a Fix #115 Check if $account exists 2023-08-24 14:26:38 +02:00
Timothée Jaussoin
f8ae6d93ff Add PIN code error handling and proper redirect 2023-08-17 09:42:09 +00:00
Timothée Jaussoin
49d414c9ee Add the Account CSV import feature 2023-08-14 13:53:03 +00:00
Timothée Jaussoin
adabb52f3f Move Device controller to the admin panel 2023-08-07 15:10:32 +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
16a26d1576 Completely remove XMLRPC 2023-07-12 14:48:11 +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
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
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
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
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
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
7224e2831f Handle aliases when doing an email reset
Fix #6
2021-12-14 16:52:36 +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
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
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
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
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
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
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
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
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
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
48bc542097 Inject the account information as a Javascript variable
Check the registration and authentication status and inject this variable once the email is validated or the account authenticated
Bump the package number
Fix #8
2021-05-05 16:00:07 +02:00
Timothée Jaussoin
4fbdf5842b Remove the phone number validation and dependency
Fix #10
2021-05-05 11:32:36 +02:00