fusionpbx/resources
nostikj 72f2dbab31 Corrects some cases where dialplan conditions were not fully handled (#1850)
* Remove unsed variable

* Fix cases where time condition are lost

When processing a new condition statement and condition_tag_status == "open",
then there has been a previous condition statement that is in one of three
possible states:
  (1) a previous condition of type default has been saved into the
      'condition' string and will need to be output as XML with either '>' or '/>'
  (2) one or more time conditions have been saved into the
      'condition_attribute' string.  More time conditions may be added.
      After the last time condition it will need to be output as XML with either '>' or '/>'
  (3) a previous <condition ....> start tag has already been output as XML
      and needs to be closed with a </condition> statement.

The change here checks for all three above situations at the places where
pending condition statements need to be finalized.

Note that when processing condition new statements and we are finalizing
a previous time condition, the XML statement uses the 'condition_break'
value from the previous loop, therefore setting condition_break for the
new condition must be after previous conditions are finalized.

At the start of each new extension, initialize 'condition' and
'condition_attribute'.

* Remove unused variables

* Indent one block to match surrounding code at same level

* Prevent two dialplans uuids being merged into single extension

If a dialplan manager entry ended with an action statement NOT inside
a condition, the generated XML would combine this dialplan uuid with the next
uuid by not closing and reopening a new extension.  This change ensures
each dialplan uuid is enclosed in it own <extension></extension>.
2016-08-25 08:50:54 -06:00
..
ace Edit: Added Find/Replace and Go To (Line) features in toolbar, rename Ace application folder. 2016-02-24 14:44:32 -07:00
bootstrap BugFix-Bootstrap Remove map file 2016-06-27 16:47:07 +01:00
captcha fixes so cli installs/upgrades work. 2016-04-25 21:26:26 -05:00
classes Update ringbacks.php 2016-08-22 20:09:49 -06:00
edit_area WhitespaceClean-resources/edit_area 2016-03-11 13:29:29 +00:00
fonts Theme: Fix bug in web font loader. 2016-05-05 20:10:19 -06:00
fpdf Fix fpdf so that it is capable of UTF-8. 2015-01-29 08:36:49 +00:00
fpdi \r\n --> \n 2016-04-25 20:30:23 -05:00
functions Add resources/functions/password.php from https://github.com/ircmaxell/password_compat. This will provide compatibility for the functions available in 5.5. This library requires PHP >= 5.3.7. PHP prior to 5.3.7 contains a security issue with its BCRYPT. 2013-09-01 06:05:59 +00:00
install Corrects some cases where dialplan conditions were not fully handled (#1850) 2016-08-25 08:50:54 -06:00
javascript Move includes/javascript to resources/javascript. 2013-06-09 04:54:33 +00:00
jquery Revert "Revert "Revert "search selects""" 2016-03-24 22:25:18 -06:00
momentjs Added (Really!): Moment.js - used by jQuery DateTimePicker plugin. 2016-03-25 16:52:07 -06:00
phpmailer Rolling back PHPMailer from version 5.2.14 to 5.2.2. The latest version had a problem with smtp authentication set to false it still tried to authenticate. 2016-03-15 02:58:23 -06:00
pop3 WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
tcpdf Fax Server: Misc enhancements, including multilingual and customizable cover page generation, fax resolution selection, etc. More to come. 2014-09-03 02:41:11 +00:00
templates Update {$mac}.cfg (#1854) 2016-08-24 21:47:45 -06:00
app_languages.php Update app_languages.php 2016-08-05 09:21:41 -06:00
calendar_lw_layers.js WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
calendar_lw_menu.js WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
calendar_popcalendar.js WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
check_auth.php Update check_auth.php 2016-05-10 17:25:20 -06:00
cmd.php Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
config.php.dist move the file 2013-07-06 05:23:01 +00:00
countries.php \r\n --> \n 2016-04-25 20:30:23 -05:00
download.php Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
email_address_validator.php WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
footer.php Remove the include to the resources/menu.php file that is no longer in use. 2016-03-26 19:37:42 -06:00
functions.php Update functions.php 2016-08-13 14:12:58 -06:00
header.php Additional work to improve the install, template and the menu. 2016-03-26 12:22:15 -06:00
licenses.php WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
login.php Update login.php 2016-07-29 03:22:27 -06:00
paging.php Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
pdo.php Add the missing function to pdo.php. 2016-04-29 11:21:26 -06:00
pdo_vm.php WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
persist_form.php Move persist_form.php to the resources directory. 2013-07-06 06:23:12 +00:00
persist_form_var.php Move persist_form_var.php to the resources directory. 2013-07-06 06:20:17 +00:00
php.php Remove the error reporting in the include php.php. 2016-05-11 13:18:39 -06:00
recaptchalib.php WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
require.php Fix path issue in require.php. 2016-05-05 14:18:59 -06:00
root.php Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
schema.php Remove the a1 hash which breaks integration with Asterisk. a1 hash was also undermined by reverse authentication. 2014-12-09 09:45:14 +00:00
secure_download.php Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
switch.php Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
wysiwyg.php WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00