Commit Graph

3999 Commits

Author SHA1 Message Date
Luis Daniel Lucio Quiroz 7eca3bd4e0 Fix globals variable scope (#2262)
Some PHP installations won't recognize such as $db_type as a global variable if is inside a class. Using the super variable $GLOABALS makes sure the global variables are reached.
2016-12-26 14:54:16 -07:00
FusionPBX 2760559529 Update app_config.php
Show follow me ignore busy by default.
2016-12-23 00:00:47 -07:00
FusionPBX 8a6a1a4277 Update xml_cdr_inc.php
Prevent warnings on the array.
2016-12-22 21:37:27 -07:00
FusionPBX b773a6db26 Update xml_cdr.php 2016-12-22 21:18:56 -07:00
FusionPBX d45ceabe19 Update xml_cdr.php 2016-12-22 21:15:05 -07:00
FusionPBX af75971b63 Update v_xml_cdr_import.php 2016-12-22 21:09:52 -07:00
FusionPBX df8470fe06 Update v_xml_cdr_import.php 2016-12-22 20:50:39 -07:00
FusionPBX 906356002e Update xml_cdr.php
Hide the the paging controls in Call Detail Records if there are are not enough records to page.
2016-12-22 19:02:23 -07:00
FusionPBX ca38f4a529 Update xml_cdr_search.php 2016-12-22 18:42:02 -07:00
FusionPBX c923f11d36 Update xml_cdr_inc.php 2016-12-22 17:55:33 -07:00
FusionPBX ae293c932e Update 2016-12-22 17:38:52 -07:00
FusionPBX aa7ed46939 Update xml_cdr.php 2016-12-22 17:02:27 -07:00
FusionPBX bc80ed0435 Update xml_cdr_inc.php 2016-12-22 17:00:20 -07:00
FusionPBX f66d0af99f Update xml_cdr_inc.php 2016-12-21 17:06:16 -07:00
FusionPBX 33b2b48d2a Update 2016-12-21 16:59:43 -07:00
FusionPBX 44c0065f0d Update 2016-12-21 16:55:14 -07:00
FusionPBX 3112a5a170 Update v_xml_cdr_import.php 2016-12-21 14:15:57 -07:00
FusionPBX 13c601b88b Update xml_cdr.php 2016-12-21 14:05:13 -07:00
FusionPBX 9c53fdb3ef Update fax_send.php
Need to set the working dirctory to /tmp for unix systems.
2016-12-17 12:25:46 -07:00
FusionPBX 154bf5ba83 Update scripts.php
Add expire.default and expire.ivr.
2016-12-14 08:43:10 -07:00
DigiDaz 48e745e6d6 Fix recording setting in extension (#2246)
* Fix recording setting in extension

If as a superadmin you add recording to an extension, then the admin for the domain (ie member of group: admin) goes in and edits the extension, the recording property will be set to false.

* Update extension_edit.php
2016-12-09 16:26:38 -07:00
markjcrane 9b1b38fab6 Improve security on the lua scripts, add lua json library, add *77 dnd toggle feature code, speed dial *0[ext], and improve blf support for extension number alias. 2016-12-08 18:36:15 -07:00
FusionPBX 30acee4dff Delete provision_write.php 2016-12-06 10:57:45 -07:00
FusionPBX d85528b195 Update device_edit.php 2016-12-06 10:47:31 -07:00
FusionPBX 0a90bd9472 Update device_profile_edit.php 2016-12-06 10:44:09 -07:00
FusionPBX 5e7e2e0778 Update device_dashboard.php 2016-12-06 10:43:16 -07:00
FusionPBX e7879e8b2f Update device_profile_delete.php 2016-12-06 10:42:05 -07:00
FusionPBX 249f0f4b45 Update device_delete.php 2016-12-06 10:39:45 -07:00
FusionPBX d45f89d5fe Update extension_edit.php
Fixes a permission issue for extension edit.
2016-12-06 10:31:44 -07:00
FusionPBX 9fb41cb357 Update 2016-12-03 13:33:47 -07:00
FusionPBX 99e0dfac48 Update voicemail.php
Increase security on the voicemail php class.
2016-12-03 12:03:09 -07:00
FusionPBX b6d49aed5e Update
Fix the bug where voicemail id is null.
2016-12-03 11:56:43 -07:00
FusionPBX 0d913c2b47 Update voicemail_messages.php 2016-12-03 11:53:16 -07:00
FusionPBX 4d03f5f356 Update fax_send.php
Use fax variables from default settings fax category.
2016-12-02 21:28:33 -07:00
FusionPBX 2348767ab9 Update extension_copy.php
Change the color to red on the duplicate message.
2016-11-29 12:07:26 -07:00
FusionPBX 472069555c Update extension_copy.php 2016-11-29 11:57:54 -07:00
FusionPBX a25dad50bf Update extension.php 2016-11-29 11:50:52 -07:00
FusionPBX 54a83d5725 Update extension.php
I'm prove the extension exists method.
2016-11-29 11:39:14 -07:00
FusionPBX 9c04d93b56 Update extension.php 2016-11-29 11:05:42 -07:00
FusionPBX 66978fae79 Update gateways.php 2016-11-25 20:39:18 -07:00
FusionPBX b445fd24a8 Update voicemails.php
Uppercase the SQL, cast voicemail id as text, and add sterilize user data.
2016-11-24 13:02:40 -07:00
FusionPBX 50d6e4e2ff Update extension_edit.php
Prevent a minor SQL error.
2016-11-24 12:23:49 -07:00
FusionPBX b0429f15b5 Update extension.php 2016-11-24 11:35:10 -07:00
jebsolutions 8547f2ac32 fixes for #1821 4.2 branch (#2034)
* fixes for #1822 4.2 branch

app/extensions/app_languages.php
+ add duplicate extension error prompt

app/extensions/extension_copy.php
+ add check to see if duplicate extension exists

app/extensions/resources/classes/extension.php
+ add function to check if extension exists
+ all cherry picks "AND AND" fix from master

* fix typo

* Update app_languages.php

* Update extension_copy.php

* Update extension.php
2016-11-24 01:12:21 -07:00
FusionPBX 7809b63e72 Update provision.php
Add ability to use provision settings with type boolean and numeric.
2016-11-23 22:44:38 -07:00
FusionPBX 3dd0f69b03 Create recording_play.php
Add the missing recording play file.
2016-11-23 22:07:07 -07:00
FusionPBX 72ead8b3b1 Update xml_cdr_details.php
Fix the recording links in the xml cdr details for the 4.2 branch.
2016-11-23 22:03:03 -07:00
FusionPBX fd17546365 Update xml_cdr.php
Fix missed calls on the extension summary.
2016-11-23 05:25:27 -07:00
jebsolutions f60b25175d [4.2] fix orphan v_ring_group_users after deleting ring group (#2111)
Same as pr #2110 except for 4.2 branch

steps to test:
create a ring group with one extension and one user. This will add one user to v_ring_group_users table. Delete the ring group.

expected result:
ring group and all it's components are deleted

actual result
v_ring_group_user entry for this ring group is not deleted.

This fix: deletes v_ring_group_user when ring group is deleted.
2016-11-21 13:59:51 -07:00
jebsolutions 251b808558 #1987 combined fix for 4.2 (#2030)
app/fax/app_defaults.php:
+ fix: duplicate check only within same default_setting_category.  This fixes the bug where "keep_local" for fax wasn't being created because there was a "keep_local" for voicemail.  Without this fix you will get a lua error due to the field not being set and nothing shows up in the sent faxes log.

fax/fax_log_view.php:
+ fix: back button text is missing.  Copied correct localized text code from another fax page that worked.

app/fax/app_config.php
+ fix: date field is now timestamp for postgres+mysql.  This fixes the listing only showing the date, not the time as well.

Note: app->defaults doesn't change field types.  Existing installs will have to manually update the field type e.g. for postgres:

sudo -sHu postgres
\d fusionpbx
alter table v_fax_logs alter column fax_date type timestamp without time zone;
\q
2016-11-03 16:25:02 -06:00