Commit Graph

273 Commits

Author SHA1 Message Date
AdSecIT bd011e4cc5 Update upgrade_menu.php (#7990)
Added OS Detection for Service Upgrade and Restart Functions.
2026-05-25 16:02:44 -06:00
FusionPBX 695b7d7410 Move add_missing service call to service update section 2026-05-24 15:37:07 +00:00
FusionPBX d18f25eb10 Fix echo statements remove indentation 2026-05-12 07:18:39 +00:00
FusionPBX 061c978219 Update services for FreeBSD 2026-05-12 04:55:46 +00:00
FusionPBX fe7a5033c2 Add missing services during upgrade
Added functionality to add missing services during the upgrade process.
2026-05-01 21:10:10 +00:00
markjcrane 76744aaaf5 Add a new feature to manage services 2026-04-30 07:46:04 -06:00
FusionPBX 17438edddf Auto loader file cache removed, remove the permission update 2026-03-01 10:25:55 -07:00
FusionPBX 1eafb36470 Remove the do_upgrade_auto_loader function 2026-02-26 02:16:48 -07:00
FusionPBX 4144cbc35e Use schema object name and upgrade for the method 2026-01-15 13:15:20 -07:00
FusionPBX 10cf76b961 Rename obj to schema and method schema to upgrade 2026-01-13 11:47:35 -07:00
FusionPBX 2975e166fc Change the name of method schema to upgrade 2026-01-13 11:43:55 -07:00
frytimo 719630a3ff Auto reload the current menu when upgrading (#7693)
Reload the current loaded menu when using the Upgrade web interface
2026-01-12 21:33:55 -07:00
FusionPBX 6f37951e02 Move update_indexes into the schema method 2026-01-12 14:17:10 -07:00
markjcrane abee34fced Simplify the update_indexes 2025-12-21 00:21:01 -07:00
markjcrane 374713e7c6 Call the update_indexes method when updating the Schema 2025-11-28 16:51:22 -07:00
FusionPBX 6b063f2c28 Replace the DOCUMENT_ROOT and PROJECT_ROOT variables
Use the __DIR__ constant and dirname as needed
2025-12-08 14:12:19 -07:00
FusionPBX 45745d5980 Fix upgrading the default menu using upgrade.php --menu
Commands to update the default menu.
upgrade.php --menu
upgrade.php --m
2025-12-04 08:08:51 -07:00
markjcrane b79ff030da Systemctl use enable and start
- remove --now for better compatibility
2025-11-19 14:23:41 -07:00
markjcrane 0ea256fce8 Upgrade Schema includes Data Types by default
- Change the label to Database Schema
- Update the description to say tables, columns and data types
- upgrade.php --schema
  - Includes data types by default
  - Remove --types from upgrade.php
- command line upgrade --interactive
  - Option 2 schema
  - Includes data types by default
2025-11-18 20:19:04 -07:00
frytimo bbe7b9e9b7 Documentation, format class, no modification. (#7628) 2025-11-18 18:49:39 -07:00
markjcrane 15089b4eea Optimized app_config file inclusion
- Update language handling
- Added support for $language variable
- Updated description and version lines with new language handling
2025-11-13 09:32:00 -07:00
markjcrane 7286d4b58d Update permission_exists for multiple permissions 2025-11-06 08:20:46 -07:00
markjcrane b0eabca1f6 Update check permisisons 2025-11-02 00:22:57 -06:00
markjcrane 422fee7f23 Prevent a few PHP Warnings 2025-11-01 21:40:28 -06:00
markjcrane a90a4e6212 Pass the database object to the schema object 2025-11-01 21:34:03 -06:00
markjcrane 1c61513e90 Remove check_str function call
This function has been deprecated.
2025-11-01 20:55:23 -06:00
FusionPBX 914386e00f Change break to exit in upgrade_menu.php 2025-10-16 12:56:56 -06:00
FusionPBX 79e7614414 Refactor global variable definitions and require statements 2025-10-16 12:49:01 -06:00
FusionPBX dda18481ec Refactor PHP code (#7574)
* Use settings-get method
- get default, domain and user settings
- Replace _SESSION

* Simplify get domain paging

* Change isset using empty

* Fix token name and hash

* Add new default settings category: contact, name: default_sort_column, and default_sort_order

* Update app_config.php

* Update footer.php

* Fix require.php and core/dashboard/index.php (#7563)

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Update destinations.php

* Update permission.php

* Update require.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
Co-authored-by: FusionPBX <mark@fusionpbx.com>

* Update header.php

* Use settings get classes (#7567)

* access_control

* azure

* azure

* basic_operator_panel

* bridges

* call_block

* call_broadcast

* call_center

* call_flows

* call_forward

* call_recordings

* do_not_disturb

* feature_event_notify

* follow_me

* remove unused object properties

* fix esl command

* fix esl command

* conference_centers

* conference_centers - remove whitespace

* conference_controls

* conference_profiles

* conference_profiles

* Delete core/websockets/resources/classes/socket_exception.php.original~

* Delete core/websockets/resources/classes/websocket_server.php.original~

* conferences

* destinations

* device

* dialplan

* email_queue

* event_guard

* extension_settings

* extension

* fax

* fax_queue

* fifo

* gateways

* ivr_menu

* modules

* switch_music_on_hold

* number_translations

* phrases

* pin_numbers

* provision

* switch_recordings

* registrations

* ring_groups

* sip_profiles

* sofia_global_settings

* streams

* presence

* switch_files

* time_conditions

* vars

* voicemail_greetings

* voicemail

* ringbacks

* contacts

* xml_cdr

* authentication

* dashboard

* default_settings

* domain_settings

* email_templates

* permission

* user_logs

* user_settings

* users

* button

* cache

* captcha

* remove cli_option

* remove directory.php for switch_directory class

* email

* file

* groups

* event_socket use config object

* Use intval to give an integer port

* switch_settings

* tones

* fix object used before initialization

* menu

* fix copy paste error for switch_files.php

* always include require.php for framework files

* Fix missing properties

* set the action

* Use the $database object

* Add missing class properties

* Fix the domain_name

* Use public scope for domain_uuid and domain_name

* Add missing parameters

* Correct the user_uuid parameter

* Add json_validate and use it in the dashboard
update indentation on functions.php

* Intialize the active_registrations variable

* Define the $parameters

* Set a default value for user_setting_enabled

* Add condition domain_uuid not empty

* Add not empty condition for domain_uuid

* Declare the global variables

* Update how the defaults are set use ??

* Use ?? to set the default values

* Update call_center_queue_edit.php

* Prevent an error

* Add domain_name property

* Fix the null coalescing operator

* Removed domain_uuid from the URL

* Change condition to check sip_profile_domain_name

* Refactor domain_uuid declaration and comments

Removed redundant domain_uuid declaration and updated comments.

* Account for an empty value

* Refactor constructor to use settings array

Updated constructor to accept settings array for domain UUID and database initialization.

* Refactor xml_cdr.php to improve variable organization

Removed duplicate domain_uuid declaration and reorganized private variables for better structure.

* Enhance transcription button logic and icon display

Updated transcription button visibility conditions and improved application icon handling in the call flow summary.

* Refactor settings initialization in domains.php

Updated settings initialization to include domain_uuid and user_uuid.

* Modify domain change condition in require.php

Updated condition to check if 'domain_change' is not empty before proceeding.

* Set default_setting_enabled to true by default

* Enhance domain UUID check in access controls

* Enhance domain UUID check in settings list

* Refactor category display logic in vars.php

* Simplify list row URL generation

Removed domain UUID check from list row URL construction.

* Refactor module category display logic

* Fix SQL query by removing parameters variable

* Initialize result_count variable for call recordings

* Refactor leg variable usage in xml_cdr_details.php

* Update conference_room_edit.php

* Change GET to REQUEST for order and search variables

* Set timezone and SQL time format in recordings.php

Added timezone and SQL time format settings.

* Set default for ring group greeting

* Improve domain UUID check in stream listing

* Handle null voicemail_option_param safely

* Add file existence check for greeting files

Check if greeting file exists before getting size and date.

* Improve domain UUID check in email templates

* Update FIFO strategy dropdown and description text

* Add multilingual agent descriptions

Added multilingual descriptions for agents in the app_languages.php file.

* Add music on hold descriptions

* Add the chime list description

Updated copyright year from 2024 to 2025.

* Fix domain UUID check and handle email subject decoding

* Add null coalescing for $value in email_test.php

Ensure $value is not null by providing a default empty string.

* Handle undefined dialplan_uuid in input field

* Add translations for 'Status' label in multiple languages

* Fix typo in config instance check

---------

Co-authored-by: frytimo <tim@fusionpbx.com>
2025-10-15 21:24:59 -06:00
FusionPBX 76e2e7d3b7 Remove database app_name and app_uuid (#7562)
- Remove database app_name, app_uuid
  - This is handled automatically by the database class
- Remove redundant database::new()
2025-10-09 17:54:05 -06:00
fusionate ef79a896cb Upgrade - Menu: Add missing global $database variable. 2025-10-06 11:02:54 -06:00
Alex e53199fd28 Add HttpOnly, Secure, and Samesite session settings to config.conf (#7547)
* Add HttpOnly, Secure, and Samesite session settings to config.conf

* Update upgrade_menu.php

* Update upgrade.php

* Update upgrade.php

* Update install.php
2025-10-03 16:06:47 -06:00
FusionPBX d1baf05891 Remove redundant database instances (#7535) 2025-10-01 08:56:06 -06:00
OskarFranck f4378bea98 Improved Swedish translations (#7477)
Co-authored-by: oskfra <oskar.franck@bahnhof.net>
2025-09-01 08:07:37 -06:00
fusionate ac09adf5d8 Upgrade - Menu: Include /var/run/fusionpbx in File Permissions option. 2025-08-18 10:37:18 -06:00
FusionPBX dd140fb1dc Update upgrade.php 2025-07-15 01:36:52 -06:00
FusionPBX 0789693f57 Update upgrade_menu.php
Prevent a warning on the upgrade menu
2025-07-13 20:05:18 -06:00
FusionPBX d0f00b6956 Update upgrade.php 2025-07-08 00:14:07 -06:00
FusionPBX 0056dd79b9 Update upgrade.php 2025-07-08 00:11:39 -06:00
FusionPBX cb481c2d3e Update permissions skip dev/shm 2025-07-01 12:48:50 -06:00
FusionPBX 3bf458895c Update upgrade.php 2025-06-28 23:03:38 -06:00
FusionPBX ccc617940d Update upgrade.php 2025-06-28 21:29:20 -06:00
FusionPBX 90da27a553 Update upgrade.php 2025-06-28 08:22:32 -06:00
FusionPBX 3636b8a11a Update upgrade.php 2025-06-26 09:31:12 -06:00
FusionPBX d9d1649adc Update upgrade_menu.php
Refactor the interactive command line menu.
2025-06-26 08:14:32 -06:00
FusionPBX 2755b2f04a Update upgrade.php
Add a command-line help menu
2025-06-26 08:13:00 -06:00
FusionPBX a817fda807 Update app_languages.php
Fix a syntax error
2025-06-26 07:16:19 -06:00
FusionPBX 2d18d51ff4 Update app_languages.php 2025-06-26 07:11:06 -06:00
FusionPBX ee322d23b6 Fix a syntax issue and remove the optional php close tag 2025-04-22 10:06:03 -06:00
FusionPBX bd1258b126 Add missing translations 2025-04-22 10:02:19 -06:00