6.7 KiB
Releases
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[1.7]
Added
- Spaces: A new way to manage your SIP domains and hosts. A Space is defined by a unique SIP Domain and Host pair.
- New mandatory DotEnv variable
APP_ROOT_HOST, replacesAPP_URLandAPP_SIP_DOMAINthat are now configured using the new dedicated Artisan script. It defines the root hostname where all the Spaces will be configured. All the Spaces will be as subdomains ofAPP_ROOT_HOSTexcept one that can be equal toAPP_ROOT_HOST. Example: ifAPP_ROOT_HOST=myhost.comthe Spaces hosts will bemyhost.com,alpha.myhost.com,beta.myhost.com... - New Artisan script
php artisan spaces:create-update {sip_domain} {host} {name} {--super}, replacesphp artisan sip_domains:create-update {sip_domain} {--super}. Can create a Space or update a Space Host base on its Space SIP Domain.
- New mandatory DotEnv variable
Changed
- Removing and moving DotEnv instance environnement variables to the Spaces The following DotEnv variables were removed. You can now configure them directly in the designated spaces.
- INSTANCE_COPYRIGHT
- INSTANCE_INTRO_REGISTRATION
- INSTANCE_CUSTOM_THEME
- INSTANCE_CONFIRMED_REGISTRATION_TEXT
- WEB_PANEL
- PUBLIC_REGISTRATION
- PHONE_AUTHENTICATION
- DEVICES_MANAGEMENT
- INTERCOM_FEATURES
- NEWSLETTER_REGISTRATION_ADDRESS
- ACCOUNT_PROXY_REGISTRAR_ADDRESS
- ACCOUNT_TRANSPORT_PROTOCOL_TEXT
- ACCOUNT_REALM
- ACCOUNT_PROVISIONING_RC_FILE
- ACCOUNT_PROVISIONING_OVERWRITE_ALL
- ACCOUNT_PROVISIONING_USE_X_LINPHONE_PROVISIONING_HEADER
Migrate from [1.6]
- Deploy the new version and migrate the database.
php artisan migrate
- Set
APP_ROOT_HOSTin.envor as an environnement variable. And removeAPP_URLandAPP_SIP_DOMAIN
APP_ROOT_HOST=myhost.com
- The migration script will automatically copy the
sip_domainintohostin thespacestable. You then have to "fix" the hosts and set them to equal or be subdomains ofAPP_ROOT_HOST.
php artisan spaces:create-update my.sip myhost.com "My Super Space" --super # You can set some Spaces as SuperSpaces, the admin will be able to manage the other spaces
php artisan spaces:create-update alpha.sip alpha.myhost.com "Alpha Space"
php artisan spaces:create-update beta.sip beta.myhost.com "Beta Space"
...
-
Configure your web server to point the
APP_ROOT_HOSTand subdomains to the app. See the related documentation inINSTALL.mdfile. -
Configure your Spaces.
-
Remove the instance based environnement variables (see Changed above) and configure them directly in the spaces using the API or Web Panel.
-
(Optional) Import the old instance DotEnv environnement variables into a space.
⚠️ Be careful, during this import only the project DotEnv file variables will be imported, other environnement (eg. set in Apache, nginx or Docker) will be ignored.
⚠️ The content of the ACCOUNT_PROVISIONING_RC_FILE will not be imported. You will have to extract the sections and lines that you want to use manually using the dedicated form or the API.
php artisan spaces:import-configuration-from-dot-env {sip_domain}
You can find more details regarding those steps in the INSTALL.md and README.md files.
Deprecated
- Last major version supporting the deprecated endpoints of the API
[1.6] - 2024-12-30
Added
- Phone validation Phone numbers are now strictly validated and countries can be enabled disabled to prevent spam
- SIP Domains Account SIP domains can now be managed from the UI and API
- CoTURN Credential Get CoTURN credentials from the API
- RFC 8898 Support
Migrate from [1.5]
Nothing specific to do
[1.5] - 2024-08-29
Added
- Account activity view: new panel, available behind the Activity tab, will allow any admin to follow the activity of the accounts they manage.
- Detect and block abusive accounts: This activity tracking is coming with a related tool that is measuring the accounts activity and automatically block them if it detects some unusual behaviors on the service. An account can also directly be blocked and unblocked from the setting panel. Two new setting variables will allow you to fine tune those behaviors triggers.
- New DotEnv variable:
BLOCKING_TIME_PERIOD_CHECK=30Time span on which the blocking service will proceed, in minutes - New DotEnv variable:
BLOCKING_AMOUNT_EVENTS_AUTHORIZED_DURING_PERIOD=5Amount of account events authorized during this period
- New DotEnv variable:
- OAuth JWT Authentication: OAuth support with the handling of JWE tokens issues by a third party service such as Keycloack.
- New DotEnv variable:
JWT_RSA_PUBLIC_KEY_PEM= - New DotEnv variable:
JWT_SIP_IDENTIFIER=sip_identifier
- New DotEnv variable:
- Super-domains and super-admins support: Introduce SIP domains management. The app accounts are now divided by their domains with their own respective administrators that can only see and manage their own domain accounts and settings. On top of that it is possible to configure a SIP domain as a "super-domain" and then allow its admins to become "super-admins". Those super-admins will then be able to manage all the accounts handled by the instance and create/edit/delete the other SIP domains. Add new endpoints and a new super-admin role in the API to manage the SIP domains. SIP domains can also be created and updated directly from the console using a new artisan script (documented in the README);
- New Artisan script:
php artisan sip_domains:create-update {domain} {--super}
- New Artisan script:
- Account Dictionary: Each account can now handle a specific dictionary, configurable by the API or directly the web panel. This dictionary allows developers to store arbitrary
key -> value pairson each accounts. - Vcard storage: Attach custom vCards on a dedicated account using new endpoints in the API. The published vCard are validated before being stored.
Changed
- User management of their own devices: Allowing users will be able to manage its own devices. Specific API endpoints were also added to manage them directly from the clients.
- Migration to hCaptcha: Migrate from Google Recaptcha to hCaptcha in this release.
- New DotEnv variable: HCAPTCHA_SECRET=secret-key
- New DotEnv variable: HCAPTCHA_SITEKEY=site-key
- Localization support: The API is now accepting the
Accept-Languageheader and adapt its internal localization to the client/browser one. For the moment only French and English are supported but more languages could be added in the future.