Commit graph

19 commits

Author SHA1 Message Date
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
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
Timothée Jaussoin
603f1a6686 Add the activated parameter in the API accounts creation command
Complete the README documentation to add the artisan commands
Add an API key authentication mechanism
Update the dependencies
2020-10-19 11:53:07 +02:00
Timothée Jaussoin
f77846b676 Update from Laravel 6 to Laravel 8
Fix the related tests
Add the Belledonne Communications copyright
2020-09-16 12:44:26 +02:00
Timothée Jaussoin
8fd85c00d2 Complete the documentation regarding how DotEnv configuration is handled
Add a confirmation flow using a email when an account tries to change one
2020-09-14 16:41:47 +02:00
Timothée Jaussoin
bf123b764a Add endpoint to create accounts from the API (authenticated, admin only) + tests + documentation 2020-09-14 11:24:59 +02:00
Timothée Jaussoin
e1c34ec678 Move the configuration to the .env file to support per-instances configurations
Complete the README
2020-09-14 11:24:59 +02:00
Timothée Jaussoin
5b34fc623e Add configuration for admins
Redirect when the user is logued out
Update the dependencies
2020-09-14 11:24:59 +02:00
Timothée Jaussoin
f98df3f830 Add admin panel system
Add two commands RemoveUnconfirmedAccount and SetAccountAdmin
2020-09-14 11:24:59 +02:00
Timothée Jaussoin
17fcaf02d3 Import a new API, build with Laravel
- Authentication handled by DIGEST (MD5 and SHA-256)
- Support of CLRTXT passwords in the DB
- Expose sip account devices through the API
- Tests, with databases running in memory
- Documents for the deployment and API usage
2020-02-03 15:20:48 +01:00