Commit graph

42 commits

Author SHA1 Message Date
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
0729718ccf Add basic Statistics support for Messages and Related devices 2023-07-20 14:56:42 +00:00
Timothée Jaussoin
c1e3f56e5d Complete the Contacts Lists endpoints in the API, with tests and documentation 2023-07-06 17:21:12 +02: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
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
23f35da223 Fix #98 Validate the existence of a similar key on POST /account_types 2023-05-04 15:19:51 +02: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
eb0c97804e Fix #78 Add a APP_ACCOUNTS_EMAIL_UNIQUE environnement setting 2023-03-14 10:53:51 +00:00
Timothée Jaussoin
9768585236 Fix #45 Add a username blacklist feature + tests 2022-10-05 16:34:43 +02:00
Timothée Jaussoin
b1d58d83c9 Fix #177
Implement XMLRPC like retrocompatibility endpoints
Validate phone-info endpoint phone format
Improve OVHSMS error handling and log errors
Complete tests
Fix #34 return a generic message for 404 errors
Fix #38 simplify the domain resolving parameter and remove the domain parameter in the token based account creation endpoint
2022-08-23 11:27: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
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
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
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
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
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
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
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
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
09e44f67db Add a create and edit feature for accounts in the Admin panel 2021-07-29 08:48:11 +00: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
4fbdf5842b Remove the phone number validation and dependency
Fix #10
2021-05-05 11:32:36 +02:00
Timothée Jaussoin
9cf86e1b6a Allow phone numbers to be set on the admin account creation API endpoint 2021-04-22 17:47:16 +02:00
Timothée Jaussoin
8451277676 Remove the WhiteSpace limitation in the api for usernames during account creation
Update the dependencies
2021-04-12 15:55:51 +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
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
3fdedda515 Bring back the confirmation_key in Account but only in Admin endpoints (for security reason)
Authenticate on the resolvedRealm and not the configured domain
Bump package
2021-02-11 17:59:41 +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
68f325f2fd Set the same behavior between API and the main form, same username between different domains are allowed
Bump package number
2021-02-09 14:17:10 +01:00
Timothée Jaussoin
cda7864c52 Ensure that the confirmation code is also generated when activated is set to false during the account creation process
Bump the package number
2021-01-18 17:54:29 +01:00
Timothée Jaussoin
539cf21269 Complete the documentation
Return a validation code on the admin account creation endpoint if the validation is set to false
Move some endpoints to be more consistant
Enforce validated accounts for authenticated endpoints
Bump the package version
2021-01-14 14:29:16 +01:00
Timothée Jaussoin
5ddb669af1 Add accounts management endpoints
Add account email reset endpoint
Update the dependencies
Complete tests
2020-12-07 15:25:34 +01:00