Commit Graph

26 Commits

Author SHA1 Message Date
FusionPBX fe0680f9b1
Handle columns in the table that may not exist
The old v_device_keys column device_profile_uuid is deprecated. It will exist on systems that were upgraded from an older version before the change was made.

The app default code here moves data from the old format to the newer one. This is useful for upgrades. Newer installs will not have this deprecated field in the device_keys and device_settings table.
2025-01-28 15:59:04 -07:00
FusionPBX cd8d5302ac
Fix temporary permissions 2024-11-29 13:57:01 -07:00
frytimo 2cbb4dbc31
remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -06:00
FusionPBX cd1cc70044
Remove redundant database objects
This reduces database connections and improves performance.
2024-08-05 14:22:17 -06:00
FusionPBX 1f91a8e713
Update command for a default label one time. 2023-10-20 15:49:30 -06:00
markjcrane 6d7e125743 Fix all PHP 8.1 messages for upgrade.php 2023-05-17 10:07:49 -06:00
FusionPBX 408122c60c
Add subtype to vendor functions and device keys. (#6409)
* Add subtype to vendor functions and device keys.

Added to support phones that require a subtype for provisioning the phone.

* Add device_key_subtype

* Update device_edit.php

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update device_vendor_function_edit.php

* Update device_vendor_functions.php

* Update device_vendor_restore.php

* Update index.php

* Update provision.php

* Update app_languages.php

* Update app_config.php
2023-04-04 08:57:41 -06:00
FusionPBX 24b982d87c
Add is_array around foreach
Prevents a PHP Warning.
2022-09-22 09:45:29 -06:00
FusionPBX 55bf04f016
Device lines label is null set the value to the display name 2022-01-27 00:11:50 -07:00
FusionPBX 0e8eeb0cc3
If the Label is empty use the extension number as the label. 2021-12-17 10:34:12 -07:00
FusionPBX 6eb6732cd3
Update app_defaults.php
Minor change
2021-12-15 13:11:13 -07:00
FusionPBX 7de0d9bb28 Update app_defaults.php 2019-08-15 12:38:11 -06:00
FusionPBX 54cf375ba5 Update app_defaults.php 2019-08-14 15:05:22 -06:00
FusionPBX 7400bb0c84 Update app_defaults.php 2019-08-06 19:40:21 -06:00
Nate f841650075 Devices: Database class integration. 2019-08-03 20:21:56 -06:00
FusionPBX fe92e96700 Update app_defaults.php 2017-11-17 13:39:37 -07:00
FusionPBX 82967ea21b Update app_defaults.php
Go back to the original device/app_defaults.php. What I had in mind for this was a restore default button. When the administrator decides they want to update it. They may not want or need additional vendors.
2016-09-06 08:49:16 -06:00
minotaur01 0612bc33d9 Added Aastra Function Keys And Fixed Update Logic (#1896)
Added the rest of the aastra function key options to app_config. And to
my surprise the functions would not save to the database, found the
problem to be the app_defaults logic would only allow adding on a fresh
install. So I fixed it to work with a update also.
2016-09-03 20:18:27 -06:00
FusionPBX 33945a7dec Update app_defaults.php
Add default device function group permissions.
2016-08-06 16:19:58 -06:00
markjcrane 4ca991fafe Remove label and use the name instead. 2016-07-31 19:12:41 -06:00
markjcrane acaf5cfcc6 Fix the label for the device vendor function import and add the translation to resources/app_languages.php. 2016-07-31 18:51:57 -06:00
markjcrane fc99769629 Move device vendor files into app/devices. 2016-07-31 17:48:50 -06:00
Harry G. Coin bda6861f88 \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
markjcrane b2cdce4940 Change the table name from device lines to keys. 2015-07-07 14:44:14 -03:00
markjcrane 2b150eca0d Add device key vendor to assign a key to a vendor. 2015-07-07 14:25:00 -03:00
Nate Jones 061ab74330 Devices: Add Enabled field to Lines. 2015-05-19 16:09:04 +00:00