Commit graph

208 commits

Author SHA1 Message Date
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
Timothée Jaussoin
9e577de92a Fix #11 Remove table creation and removal + related code as it is now handled by FlexiAPI 2021-06-09 16:10:22 +02:00
Timothée Jaussoin
d2328e9580 Fix the application key retrieval (and opaque DIGEST authentication parameter)
Update the dependencies
Bump the package version
2021-06-09 15:20:27 +02:00
Timothée Jaussoin
daf44cb0c7 Fix #13 Add a new job to deploy the packages in the alpha directory 2021-06-03 15:30:38 +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
Peio Rigaux
2ed044aab1 Fixed issue in get_config_value. Each parameter needs to be enclosed in quotes, since we want to check if the parameter is defined 2021-06-02 14:11:52 +00:00
Timothée Jaussoin
903da8652f XMLRPC was enforcing UTF8 for all the requests, enforces utf8mb4 for each queries like it is done in FlexiAPI (see https://github.com/laravel/framework/blob/v5.4.14/src/Illuminate/Database/Connectors/MySqlConnector.php#L55) 2021-06-01 15:13:00 +02:00
Timothée Jaussoin
2854ccff61 Complete the setup documentation regarding the flexisip_pusher 2021-05-17 16:02:13 +02:00
Timothée Jaussoin
10f31db713 Set back the set-admin command to id 2021-05-12 17:36:17 +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
ad69828d60 Use the external DB configuration as the local DB configuration by default
This allows admin to store all the tables in one unique DB
2021-05-11 15:27:14 +02:00
Timothée Jaussoin
8fcc6c1e46 Use the SIP and not the id anymore for the set-admin console command
Bump the package number
2021-05-11 10:36:12 +02:00
Timothée Jaussoin
02f1491408 Remove the var directory test 2021-05-06 15:07:05 +02:00
Timothée Jaussoin
a94e44f048 Check the correct path when installing the package 2021-05-06 14:53:16 +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
Timothée Jaussoin
8acd08607c - Fix an issue when the user set for the first time his email adress to his account (the old email was required)
- Fix an issue when a user want to do an email authentication on an account that is using the same email adress as another account
- Bump the package number
2021-05-04 11:27:21 +02:00
Timothée Jaussoin
d0cce36eeb Add a nice layout for the common errors, fix #5
Update the dependencies
Remove some old codes
Bump the package version
Move the throttle limit from 60 to 600
2021-05-03 12:07:57 +02:00
Timothée Jaussoin
1dca0b9924 Rework the .spec file to prevent issues when installing or reinstalling
Fix dependencies and cleanup in the Makefile with make deb
2021-04-29 16:23:33 +02:00
Timothée Jaussoin
f468bf3acf Adjust the .spec file to handle properly reinstallation/upgrade
Add dependencies when packaging for debian
2021-04-29 16:23:33 +02:00
Timothée Jaussoin
bbeaeaea66 Add DEB packaging 2021-04-29 16:23:33 +02:00
Timothée Jaussoin
a60fe69c6a Fix some authentication and redirection errors
Bump version to 63
2021-04-29 11:13:09 +02:00
Timothée Jaussoin
34462596d1 Bump package to version 62 2021-04-27 17:38:23 +02:00
Timothée Jaussoin
c8aa86d77a Allow aliases to be entered in the authentication
Fix the authentication password check to allow "alias-accounts"
2021-04-27 17:27:27 +02:00