Commit Graph

49 Commits

Author SHA1 Message Date
FusionPBX cd8d5302ac
Fix temporary permissions 2024-11-29 13:57:01 -07:00
FusionPBX 11cc01a79a
Provision settings adjust types
If the type is boolean with a value of 0 or 1, use type text; if it is numeric, use type text.

 The template default setting uses a string for the template values, and a boolean type is used with conditions.
2024-10-23 15:10:31 -06:00
FusionPBX fa596c94a4
Provision setting enabled use boolean 2024-10-22 18:58:03 -06:00
FusionPBX cd1cc70044
Remove redundant database objects
This reduces database connections and improves performance.
2024-08-05 14:22:17 -06:00
frytimo fcd64fcce6
Remove session from provisioning (#7014)
* use single database object, use settings class

* add common domain functions

* use settings class
2024-06-22 19:28:04 -06:00
markjcrane 53779d50d3 Change device_mac_address to device_address 2023-06-29 23:40:11 -06:00
FusionPBX 67be72b452
Database save method set to false. (#6215)
* When database save set to false for app_defaults.php
2021-12-24 12:42:16 -07:00
FusionPBX 27a49b9c8e Update app_defaults.php 2020-03-23 16:28:41 -06:00
Nate c660b27096 Misc: Database class integration. 2019-08-28 21:02:08 -06:00
FusionPBX c146b3436a Update app_defaults.php 2019-04-30 23:57:10 -06:00
FusionPBX ea772c1229 Update app_defaults.php 2019-04-30 23:49:44 -06:00
FusionPBX c307dfdaab Update app_defaults.php 2019-04-30 23:09:24 -06:00
FusionPBX 76c1a64d57 Update app_defaults.php 2018-10-24 18:30:39 -06:00
FusionPBX b78952dbf7 Update app_defaults.php 2018-03-17 17:50:32 -06:00
FusionPBX d762df0fcc Update app_defaults.php 2017-11-13 23:41:02 -07:00
FusionPBX a1e2f8f580 Update app_defaults.php 2017-01-12 23:47:44 -07:00
FusionPBX 93f073f61f Update app_defaults.php 2017-01-12 23:38:58 -07:00
FusionPBX 3aadcf4ee7 Update app_defaults.php 2017-01-12 15:46:33 -07:00
FusionPBX 3844b569f7 Update app_defaults.php 2017-01-10 01:03:27 -07:00
FusionPBX e0d2ba605a Update app_defaults.php 2016-11-12 20:48:16 -07:00
FusionPBX 3fa2f7fa0f Update app_defaults.php
Add number_as_presence_id in default settings provision category.
2016-10-23 13:13:34 -06:00
FusionPBX c8e3b98a38 Update app_defaults.php 2016-10-22 21:13:51 -06:00
FusionPBX 74c457445a Update app_defaults.php 2016-10-22 18:51:45 -06:00
FusionPBX f4d2762479 Update app_defaults.php 2016-10-22 17:20:24 -06:00
markjcrane 097a5d8ade Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
markjcrane 9cd30165d4 Change daylight_savings_start_date to daylight_savings_start_day as it is more accurate for representing the data. Add daylight_savings_start_time and daylight_savings_stop_time 2016-03-15 16:15:32 -06:00
markjcrane d1d041dc62 Update default settings add daylight_savings_start_month and date for the polycom templates. 2016-03-15 13:51:01 -06:00
markjcrane 8cc6bb09a6 Add polycom_digitmap to provision category in default settings. 2016-03-15 12:50:04 -06:00
markjcrane 8dd72afbd7 Add new default settings for http_auth_type, contact_extensions, contact_groups, and contact_users. 2016-03-07 21:35:38 -07:00
markjcrane ec1b77853d Change the category to provision for provision ntp_server_primary, and ntp_server_secondary. 2016-02-06 14:53:31 -07:00
Matthew Vale 8505605202 BugFix + Optional Enable extensions appear in directory
BugFix to respect http_domain_filter when auto creating
setting provision> directory_extensions populates $extensions as a
contacts array in provisioning
2015-11-19 13:17:01 +00:00
markjcrane e888f1d1ff Add the provision.path.text to default settings. 2015-11-04 20:01:11 -07:00
markjcrane 8123974de4 Add several provision default settings. 2015-07-07 18:07:25 -03:00
Mark Crane 42c1997a00 Add auto_insert_enabled to the provision variables in default settings. 2015-06-19 15:54:13 +00:00
Mark Crane 7009ea7672 Change the default setting from enabled false to true. 2015-05-29 01:10:19 +00:00
Mark Crane b7f10c6a40 Add 3 more variables to device settings for the provision category and make it check default settings with one query rather than multiple making it more efficient. 2015-05-29 00:42:31 +00:00
Mark Crane c9264737fe Unset the generic $array variable to prevent duplicates in app -> default settings. 2015-01-24 20:56:10 +00:00
Mark Crane 4b9651e2dc Remove some extra line feeds. 2015-01-17 07:50:43 +00:00
Nate Jones bda8ed1189 Provisioning: Reordered provision/app_defaults.php so App Defaults now detects and restores each Provision default setting individually/ 2014-08-17 05:53:32 +00:00
Nate Jones fe40c4ede9 Enhanced Theme: Added Default Settings to control footer colors and opacity.
Other minor code enhancements.
2014-08-17 04:33:57 +00:00
James Rose cd6fecc70f add support for alternate voicemail numbers so you can subscribe to different mailboxes. requires user to create their own dialplan to support it. 2014-08-15 00:36:56 +00:00
Mark Crane 7f8b5d6801 Fix the voicemail view so that they are marked as read 2014-07-29 07:25:28 +00:00
Mark Crane dadc61e887 By default provision enabled should be set to false. 2014-07-29 06:34:34 +00:00
Mark Crane bd0f8a8471 Add provision enabled and other variables to default settings when provision is installed 2014-07-29 05:58:12 +00:00
Mark Crane 5e0d82c06d Unset the prepared statements used in the app_defaults.php files. 2014-07-23 22:00:03 +00:00
Mark Crane 663e0e0db4 Changes the names from hardwware_phones and phones to devices. 2013-04-09 22:33:42 +00:00
Mark Crane eaed58712e Remove the 'v_' prefix when moving the provision variable to the default settings table. 2012-08-11 23:00:41 +00:00
Mark Crane 54e7708156 move the dynamic provision variables that are defined in the variables page and move them to default settings and domain settings. Example use in default and domain settings.
category=provision, subcategory=sip_transport, name=var, value=tls - used in the template as {v_sip_transport}
2012-08-11 22:52:50 +00:00
Mark Crane b9711091f4 Fix bugs in provisioning. When an extension is disabled don't provide provision it. Normalize the MAC address when stored in the db as lower case and no formatting. When using the MAC address in the template change it to upper case the MAC address for SNOM with no dashes. 2012-07-05 18:22:02 +00:00