Commit Graph

432 Commits

Author SHA1 Message Date
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -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 21cdf81256
Remove redundant syslog command 2023-03-28 18:26:34 -06:00
trideeindhoven 8c0f8e8505
Keep device vendor when using alternate device (#6591) 2023-03-28 10:23:37 -06:00
FusionPBX 628592e1af
Update daylight savings start and stop dates.
Search engine search term:
daylight savings 2023
daylight savings 2024
2023-03-16 10:44:42 -06:00
FusionPBX 5fe06f76c1
Update app_config.php 2023-02-16 11:50:03 -07:00
FusionPBX 7901818eec
Update app_config.php 2023-02-16 11:49:05 -07:00
FusionPBX 20ba2acf3c
Add provision user_name
User level username for endpoint embedded web server.
2023-02-16 11:42:36 -07:00
FusionPBX ba344fd56b
Add option for /usr/share and /usr/local/share 2023-01-29 16:48:25 -07:00
FusionPBX a527bb5122
Remove cisco spa settings
These settings have been moved to app/cisco/app_config.php
2023-01-20 11:40:17 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX d82fd6a587
Add park+*xxxx to the templates using the spa_dial_plan 2022-06-24 16:30:38 -06:00
FusionPBX d3eeaab1b4
Set the date using now() instead of the php date function. 2022-06-02 15:11:13 -06:00
FusionPBX 0d69aedcbd
Add a description to the http_auth_type default setting. 2022-04-26 13:30:08 -06:00
FusionPBX 39bd197437
Add contact permissions to default settings. Default false (#6314)
* Change contact_permissions to contact.permissions

* Update provision.php

* Remove provision contact permissions for a broader setting.

* Add contact permissions to default settings with a default value of false.

* Update app_config.php
2022-02-18 13:53:32 -07:00
FusionPBX 452086cac9
Update provision.php 2022-01-28 15:38:11 -07:00
FusionPBX 438c9eb6fc
Allow mac address to be used a variable for provisioning. 2022-01-28 13:32:28 -07:00
FusionPBX 0154e149f6
Make it possible to use domain_name variable in the provision setting. (#6260)
* Make it possible to use domain_name variable in the provision setting.

* Set https://{$domain_name}/app/provision/ as the default value for yealink_provision_url.
2022-01-24 13:28:54 -07:00
FusionPBX 9cce80ff9b
Add contact_permissions to default settings. 2022-01-21 19:36:33 -07:00
FusionPBX 98255b14bf
Option to show all contacts for the domain. 2022-01-21 19:32:49 -07:00
FusionPBX 825f5f2269
Assign the device_location to the template. 2022-01-19 00:08:26 -07:00
agree d97308e0ad
[provision] don't show file path on not found (#6229) 2022-01-06 11:47:17 -07: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 ab457e5ee9
Default the line_label and line_display_name to auto. 2021-12-15 14:54:24 -07:00
FusionPBX b2c8f976a7
Add line_label and line_display_name default settings. (#6195)
* Update app_config.php

* Add device line_label and line_dislplay_name.
2021-12-15 14:39:34 -07:00
Mendel c4c6524023
Updated Yealink t33g (#6158)
* Update provision.php

* Update y000000000124.cfg

Added {$yealink_dnd_allow} so that you can remove DND from the phone
2021-11-26 11:32:37 -07:00
FusionPBX f606c6ff3b
Add line_keys to the deivice_lines array needed for Polycom. 2021-09-10 12:33:02 -06:00
Vincent c2772dc4c7
Add the fip1x series provision template of flyingvoice and the vender of flyingvoice on the web. (#5996)
* Add fip1x series of flyingvoice  in the provision

* Fix boot file of flyingvoice does not take effect.
2021-08-27 09:39:10 -06:00
FusionPBX e26826d34e
Add device_keys to the device_lines array using data in the device_keys array. 2021-07-30 22:05:07 -06:00
agree ab302ebfbb Provision save and show user agent information 2021-04-20 16:31:39 -04:00
Andrew Querol 57c9bc7460
Update provision write() to match render()
This will ensure that anyone using TFTP still can use array template variables
2021-03-11 10:25:22 -06:00
FusionPBX 906b86d3dc
Use elseif instead of a series of if statements.
Also replace strlen with isset.
2021-03-05 20:03:57 -07:00
FusionPBX 0b91af9f42
Add option to handle category: provision type: array 2021-03-05 12:09:26 -07:00
FusionPBX d10ea48bee
Get the domain name using the device. 2021-02-26 17:17:32 -07:00
FusionPBX 9af41fab4f
Merge pull request #5547 from demonspork/GXP17xx-template-fixes
GXP17xx Template Improvements
2020-11-17 20:16:03 -07:00
Nate 3dec7cb307 Provisioning: Fix to make Domain Settings take effect in templates. 2020-10-20 16:51:48 -06:00
demonspork b0bbae3a40 GXP17xx Template Improvements
Various basic variables were missing like transport type and sip_port and basic things were wrong like Accept Incoming SIP from Proxy Only was disabled.
This template P codes are almost identical to the GXP16XX except that the loops for button programming doesn't seem to work with it at least with my limited testing, so they are left out for now.

Tested and working with firmware 1.0.1.89
2020-10-19 00:11:43 -05:00
Len 7ca85632c3
Update provision.php (#5498) 2020-09-28 20:38:11 -06:00
FusionPBX f4250bf622
Change the description. 2020-07-13 17:13:33 -06:00
FusionPBX c42e19fd78
Update index.php 2020-06-11 23:17:45 -06:00
FusionPBX 7647e6efcc
When picking up the domain_uuid get also get the device_uuid. 2020-06-11 22:46:39 -06:00
FusionPBX 27a49b9c8e Update app_defaults.php 2020-03-23 16:28:41 -06:00
racitup a1699f6fa6 Add en-gb fusionpbx language (#5192)
* Create en-gb language by copying en-us

* Add en-gb to app_configs

* Add en-gb to app_menus

* Language copy utility

* Fix missing quote mark

* Delete cp_lang.py

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2020-03-20 14:47:13 -06:00
FusionPBX cec175182b Update app_config.php 2020-03-09 14:37:38 -06:00
benwiesner1 cde9c74bd0 Update app_config.php (#4943)
added spa provision url
2019-12-31 11:46:34 -07:00
noci2012 9c7dad151f Final batch nl-nl translation items. (for /app). (#4907)
* add nl-nl items

* Update app_config.php

* add nl-nl items

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_menu.php

* Fix typos inn nl-nl

* Add nl-nl items

* dd nl-nl items.

* Add nl-nl items.

* Add nl-nl items (call-flows)

* Add nl-nl items

* Add nl-nl items

* dd nl-nl items (calls)

* Add nl-nl items

* Add nl-nl items (contacts)

* Add nl-nl items (vars)

* Add nl-nl items (voicemails)

* Add nl-nl items (xml_cdr)

* Add nl-nl items (xml_cdr)

* This reverts commit 41afeb4796.

* Add nl-nl items (voicemail_greetings)

* Add nl-nl items (system)

* Add nl-nl items (sip_profiles)

* Add nl-nl items (sip_status)

* Add nl-nl items (settings)

* Add nl-nl items (database_transactions)

* Add nl-nl items (destinations)

* Add nl-nl (devices)

* Add nl-nl (conferences)

* Add nl-nl (conferences_active)

* Add nl-nl (conference_centers)

* Update nl-nl (conference_centers)

* Add nl-nl (conference_controls)

* Add nl-nl items (conference_profiles)

* Add nl-nl items (dialplan_inbound)

* Add nl-nl items (dialplan_inbound)

* Add nl-nl items (dialplan_outbound)

* Add nl-nl items (dialplans)

* Add nl-nl items (edit)

* Add nl-nl items (email_logs)

* Add nl-nl items (errors)

* Add nl-nl items (exec)

* Add nl-nl items (access_controls)

* some skipped entries

* add nl-nl items (extensions)

* add nl-nl items (fifo)

* fixed translation, better fitting word kenmerk instead of etiket

* add nl-nl items (fifo_list)

* add nl-nl items (follow_me)

* add nl-nl items (gateways)

* add nl-nl items (ivr_menus)

* add nl-nl items (meetings)

* add nl-nl items (log_viewer)

* add nl-nl items (ring_groups)

* add nl-nl items (messages)

* add nl-nl items (modules)

* add nl-nl items (music_on_hold)

* add nl-nl items (number_translations)

* fix merge conflict (gateways)

* add nl-nl items (phrases)

* add nl-nl items (pin_numbers)

* add nl-nl items (providers)

* add nl-nl items (gswave)

* add nl-nl items (provision)

* add nl-nl items (recordings)

* add nl-nl items (registrations)

* align translations
2019-11-23 10:14:27 -07:00
FusionPBX dc79af0817 Update app_config.php 2019-10-10 14:16:35 -06:00
FusionPBX 8722badf16 Update app_config.php 2019-10-10 14:02:06 -06:00
Len d40661b736 Update app_config.php (#4757) 2019-10-08 15:05:17 -07:00