Commit Graph
100 Commits
Author SHA1 Message Date
Mafoo 097a09536e Enhance Add Tones (#1857)
Add tone support
2016-09-03 20:32:19 -06:00
Mafoo 1c983a69a0 BugFix-Vars (#1818)
corrected the system default us-ring category to 'Ringtones'
remove var_name like as var_cat now takes care of this
2016-08-25 11:12:00 -06:00
Mafoo a3e4a1d2a7 Enhance-Import rintones from vars.xml (#1813)
move ringtones to thier own category
import ringtones from vars.xml
2016-08-16 08:49:45 -06:00
Mafoo 5f1cfc17c3 BugFix-Support spaces in streamfile.lua (#1811)
use table.concat as a workaround to spaces in filesames
alternative is adjust all destiantions to quote filenames, but would
require app_defaults catch to fix all exisiting written destinations.
2016-08-13 08:59:37 -06:00
Mafoo e3a3bbcd9f BugFix-add missing default ringback to lua (#1682)
add processing of when ringback is set to default_ringback and correctly
set it to the current value of the globalvar for ringback
2016-07-27 20:06:41 -06:00
Mafoo 4ed30bfe53 Enhance Voicemail Emails (#1738)
* Renamed template variable account to voicemail_id and adjusted all
templates
* Added ${voicemail_description}
* Added ${voicemail_name_formatted} (will render the voicemail identifier in accordance with Default/Domain Settings > Voicemail > display_domain_name)
* Updated templates to be consistent spacing
* Updated templates to include use of ${voicemail_name_formatted}
* Changed ${account} to be voicemail_name_formatted instead of id
2016-07-22 09:23:03 -06:00
Mafoo 642867f2cc Enhance-Add Ping to Registrations Status (#1753)
Retrieve ping-time and display it

display   only when value is empty
2016-07-22 08:27:36 -06:00
Mafoo 1cb70e8e9d BugFix-Add new Polycom MAC (#1770)
Polycom were assigned a new MAC prefix - 64:16:7f
2016-07-22 07:29:57 -06:00
Mafoo 904a52434a BugFix-Add PROJECT_PATH for lua (#1740)
added project_path for lua to use where it needs to build urls
2016-07-08 13:12:37 -06:00
Mafoo 5192229436 BugFix-Display global gateways name appropriately (#1723)
display '*@(Global)' for global gateways (instead of *@')
2016-06-30 09:52:13 -06:00
mafoo 8f4473a0d9 BugFix-Bootstrap Remove map file
removed reference to pwstrength-bootstrap.min.map as it causes a 404 on
any browser with a debugger attached
2016-06-27 16:47:07 +01:00
Mafoo 628c825201 Enhance-make voicemail length configurable (#1702)
allow the voicemail max_lengths to be configured from domain/default
settings
2016-06-24 10:28:47 -06:00
Mafoo a821493e39 BugFix-missing PROJECT_PATH for download files (#1675) 2016-06-17 09:22:54 -06:00
Mafoo a559e51dff BugFix-default moh for source mode (#1657)
populate the default moh for switch source installs
set comment indents as preferred
2016-06-13 17:48:36 -06:00
Mafoo 7975d125e3 BugFix Convert call_center to ringback class (#1637) 2016-06-08 15:40:24 -06:00
Mafoo c5e1e2f36f BugFix-Double default moh (#1639)
because app_defaults now deals with detecting the default music we don't
need to forcefully put it on the list
if default is detected name it using the $text['opt-default']
2016-06-08 15:40:05 -06:00
Mafoo 27dc84b3b8 BugFix-remove-legacy-warning (#1638)
changed switch_music_on_hold->select to be more inline of usage
changed extension_edit to use new format
changed call_center_queue_edit to use new format while
https://github.com/fusionpbx/fusionpbx/pull/1637 is in testing
2016-06-08 15:15:36 -06:00
Mafoo 7e024a5521 BugFix-bad ref to $db in switch_recordings (#1636) 2016-06-08 13:43:10 -06:00
Mafoo e7b177a174 BugFix-moh class bad ref (#1635)
fixed incorrect referenced to the switch_recordings class
2016-06-08 13:27:23 -06:00
Mafoo 596319b885 BugFix-problem with detect_switch (#1633) 2016-06-08 08:28:44 -06:00
Mafoo b93fa7ccee Reinstated the detect Configuration (#1624)
it is no longer required for the detect_switch to pass but this
reinstates the ability to change the values and check them with detect
configuration
2016-06-08 07:36:13 -06:00
Mafoo 63e2b74411 Set postgresql as default (#1627)
Set the default database type to postgresql as that is the one promoted
for the scripted install
2016-06-08 07:34:51 -06:00
Mafoo 96d576fc7a update installer to use default theme (#1626)
added support to allow install to use the theme's default settings and
reduce the number of php errors during the installer due to missing
settings
2016-06-08 07:31:45 -06:00
Mafoo d663891bd8 Enhance Ringback (#1590)
created new class to look after generating the list of ringbacks
available
adjusted MOH class so legacy method is still possible (just not recommend) and utilizes optgroups as well
converted ring_groups and ivr_menus to use new method
added translations
implemented list_recordings in switch_recordings class
2016-06-08 07:21:45 -06:00
Mafoo 71525c26b0 I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo 86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
Mafoo b8e3070cdc Added basic searching for moh (#1614)
added basic searching for the default moh directory
added app_defaults so moh is configured/repairable with app_defaults
changed to use PROJECT_ROOT
changed template replacement to be encased in comment so xml will
validate
changed to use preg_replace so leading spaces and tabs can be stripped
(to output clean xml)
local_stream_conf dos2unixed
made default search consistent (they should all be music/default or
music not a mixture)
2016-05-25 14:12:17 -06:00
Mafoo 8de955d673 Fix for [ERR] sofia_glue.c:329 Invalid tls-verify-policy value: none (#1593)
you cannot actually set it to none, you have to not set it to get that
value.
made ipv6 profile tls settings consistent with ipv4 profile
2016-05-11 10:13:56 -06:00
mafoo 060e647507 Detect if there is at least one database driver 2016-04-29 21:54:04 +01:00
mafoo d49d47bcf6 Enhance device_edit
tweaked fade in/out for files elements to make them fade in sync and out
in sync
fixed fadeIn for files button as attaching to the fadeout on select
seems to be broken
2016-03-14 16:14:27 +00:00
mafoo 2119c7ee8d WhitespaceClean-others
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:58:35 +00:00
mafoo 5e97c0df2c WhitespaceClean-resources/others
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:57:01 +00:00
mafoo 3f5d003c71 WhitespaceClean-resources/templates/smarty
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:45:32 +00:00
mafoo aca80b09c0 WhitespaceClean-resources/edit_area
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:29:29 +00:00
mafoo b0f383479a WhitespaceClean-resources/jquery
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:26:36 +00:00
mafoo 893216a2d2 WhitespaceClean-resources/templates/conf
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:24:27 +00:00
mafoo 0eb7d5ddac WhitespaceClean-resources/install/scripts
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:21:52 +00:00
mafoo d68833f588 WhitespaceClean-resources/provision/others
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:22:24 +00:00
mafoo 5cae1fef28 WhitespaceClean-resources/provision/mitel
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:20:37 +00:00
mafoo d018f74ed3 WhitespaceClean-resources/provision/yealink
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:18:50 +00:00
mafoo 1f8f01cabb WhitespaceClean-resources/provision/polycom
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:16:24 +00:00
mafoo 713b29998b WhitespaceClean-resources/provision/grandstream
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:12:47 +00:00
mafoo 9a6cf80f06 WhitespaceClean-resources/provision/cisco
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:10:46 +00:00
mafoo 1726744f4e WhitespaceClean-resources/classes
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:08:26 +00:00
mafoo ffc6bfcb2b WhitespaceClean-core/batch
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:06:20 +00:00
mafoo f803f03496 WhitespaceClean-core/install
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:03:29 +00:00
mafoo 6eed9935d4 WhitespaceClean-app/batch_2
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:01:24 +00:00
mafoo 3b438926b6 WhitespaceClean-app/batch_1
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:56:29 +00:00
mafoo 4131926b86 WhitespaceClean-app/xml_cdr
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:54:18 +00:00
mafoo 4b51565e9f WhitespaceClean-app/sip_profiles
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:51:17 +00:00
mafoo dda30766ec WhitespaceClean-app/dialplan
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:49:17 +00:00
mafoo 27438d8919 WhitespaceClean-app/access_controls
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:47:28 +00:00
mafoo 3d328cfd63 WhitespaceClean-root
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:44:58 +00:00
mafoo 77c72c8d7c BugFix-Translation-True_False
fixed various uses of ucwords() to render true/false to use
$text[label-*] instead
2016-03-11 11:34:52 +00:00
mafoo 8ceec465ac corrected function definition
fixed bug introduced on 2/1/2016 in destination.lua
fixed bug introduced on 2/1/2016 in ring_member.lua
2016-03-09 17:54:44 +00:00
mafoo 8612897a03 added mod_translate to the modules list 2016-03-09 17:46:20 +00:00
mafoo 5c1da9533e Fix for when a conference room has no admins
If a conference room had no admins it would become impossible to see it in the GUI
This fix makes it possible for a admin or super admin to view rooms in this state.
this uses a new permission "conference_room_view_all"
2016-02-05 09:47:42 +00:00
mafoo b231e0ff84 made it possible to find phrases
fixed string replace not taking out spaces aswell
2016-02-04 16:19:27 +00:00
mafoo 92894bb157 fix for incorrect destinations 2016-02-04 15:49:03 +00:00
mafoo 478a61b18e Normalized and fixed htaccess
added comments explaining each rule
normalized tabbing
converted captures where not needed (note use of ?: means don't capture)
updated Yealink comment as it also covers Polycom
added missing $mac-directory.xml for Polycom
removed ^(?:.*/) as it is technically not needed, the test that showed
it was needed turned out to be invalid
2016-02-04 12:17:38 +00:00
mafoo 9066858701 only offer the source upgrade if it is writeable
this check will prevent the source upgrade rendering if the .git folder
is not writeable
2016-02-04 11:14:26 +00:00
mafoo 90e9b0a149 Corrected selected statements 2016-02-03 17:32:07 +00:00
mafoo 22fe132900 Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid 2016-02-03 15:08:28 +00:00
mafoo b573f65410 converted callcenter to use common function 2016-01-29 11:26:21 +00:00
mafoo b655a064fd Converted uses of ringback to common function 2016-01-28 15:51:50 +00:00
mafoo f5d16aebbc phrases should be written out as there uuid
not the name.domain_uuid format
2016-01-26 17:34:44 +00:00
mafoo 944662cba9 BugFix for remote pgsql databases 2016-01-25 14:29:27 +00:00
mafoo 6b3f79787d fix for when the element is not in the document yet 2016-01-22 11:51:58 +00:00
mafoo 7a974910be values were being assigned rather than compared 2016-01-20 13:44:36 +00:00
Mafoo 56b34c34ca changed throw Exception to die
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
Mafoo 87dbd6b428 Added check for if .project.ROOT is missing
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
Matthew Vale b78c6420d4 fix for when running in root and no leading / 2016-01-15 16:48:37 +00:00
Matthew Vale 93256a60ab changed protocol to match request 2016-01-15 13:43:10 +00:00
Matthew Vale b0e4f19993 BugFixes in languages.lua
removed extra ;'s
fix file_handle:close to be inside the if null check
2016-01-15 10:35:19 +00:00
Matthew Vale 6999198492 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale b7e350b845 changed text.php to use $_SERVER["PROJECT_ROOT"] 2016-01-14 16:15:41 +00:00
Matthew Vale a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale 0176d30312 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale 796674e815 Changed upgrade to use PROJECT_ROOT instead 2016-01-12 13:55:45 +00:00
Matthew Vale e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale 91e4d3af28 Added display of project root 2016-01-12 13:55:32 +00:00
Matthew Vale c8f55bf922 Initial changes to root.php
added new $_SERVER['PROJECT_ROOT'] that takes into account sub-dir detection
2016-01-12 13:55:27 +00:00
Matthew Vale 725876a0e8 Updated ring_group_forward for user dashboard
this is so the user_dashboard consistently shows the ring group name (as
used elsewhere to refer to a ring group)
2016-01-05 15:17:20 +00:00
Matthew Vale a5bb20c774 removed redundant code 2015-12-31 16:33:19 +00:00
Matthew Vale 8137300bb5 fixed missing on new Exception 2015-12-31 16:32:51 +00:00
Matthew Vale 7c74d5cf48 cherry picked changes from 4.0 branch 2015-12-31 10:11:31 +00:00
Matthew Vale 1f2222d0a4 added missing / in path and set redirect correctly 2015-12-31 09:40:59 +00:00
Matthew Vale 7bf32cd637 correction for button name 2015-12-30 16:58:39 +00:00
Matthew Vale a12e3f12b0 added correct bits detection 2015-12-30 16:54:36 +00:00
Matthew Vale f88a78efc7 Intercept mode for Polycom
first dialplan to be utilized as global="true" and
context="${domain_name}"
2015-12-21 14:03:57 +00:00
Matthew Vale c0cc276601 migrated install_switch's recursive_* routines 2015-12-21 10:54:48 +00:00
Matthew Vale 787ca31388 Removed dirs we don't use 2015-12-18 17:00:28 +00:00
Matthew Vale 648a78329e migrates app/languages to fusionpbx/fusionpbx-apps 2015-12-18 16:29:04 +00:00
Matthew Vale cd5390ffd9 Go to User Dashboard if it is present
see - https://github.com/fusionpbx/fusionpbx/issues/1284
2015-12-14 09:13:18 +00:00
Matthew Vale fdd1542b66 patch for SunOS
corrected collection of switch version during detect_switch
2015-12-11 14:57:14 +00:00
Matthew Vale 81b85c3caf Merge branch 'fusionpbx/master' into Enhance-Languages
Conflicts:
	app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
Matthew Vale cd8f1e6660 added switch git_info where available 2015-12-10 11:58:09 +00:00
Matthew Vale 45d9c2039d updated switch version detection
will now work with both git and packaged version numbers
added bits to detect_switch
2015-12-10 10:51:38 +00:00
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
Matthew Vale 81dafabc47 Remvoed tab for consistency 2015-12-10 10:11:45 +00:00