Commit Graph
100 Commits
Author SHA1 Message Date
Mafoo f88691618e 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 e66c907fc9 BugFix-missing PROJECT_PATH for download files (#1675) 2016-06-17 09:22:54 -06:00
Mafoo 54b0b3fb9a 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 fb4ccbc6c7 BugFix Convert call_center to ringback class (#1637) 2016-06-08 15:40:24 -06:00
Mafoo 26a04ae0ab 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 209f2d227c 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 c2850c7b58 BugFix-bad ref to $db in switch_recordings (#1636) 2016-06-08 13:43:10 -06:00
Mafoo d0882476a3 BugFix-moh class bad ref (#1635)
fixed incorrect referenced to the switch_recordings class
2016-06-08 13:27:23 -06:00
Mafoo 1118fd438b BugFix-problem with detect_switch (#1633) 2016-06-08 08:28:44 -06:00
Mafoo 12de451623 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 dd8640e172 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 aa98a4f3a6 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 4605117d51 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 59ddf92f1b 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 a8b667cd0b Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
Mafoo a25c9a3e48 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 87d44390cd 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 2004144eba Detect if there is at least one database driver 2016-04-29 21:54:04 +01:00
mafoo 406a07b6bd 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 7c01967366 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 2b39287bdc 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 5de8363e78 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 ee948572a0 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 c5463d6ed3 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 0d2cc7f124 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 b7555579bf 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 e894c49823 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 cf465f4ef3 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 a7a3fc6a69 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 6cb28a1516 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 e3c2c38532 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 0bbc506d41 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 e0fdf41320 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 1f609dc806 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 91b61683c0 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 e410824380 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 d408cf2fbc 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 ce8137b407 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 ad07565e16 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 c34ce168d5 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 fbffc5f20e 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 908f47472f 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 4131a70c02 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 49fe51710c 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 4345648dc4 added mod_translate to the modules list 2016-03-09 17:46:20 +00:00
mafoo 27dfc364df 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 416a704c12 made it possible to find phrases
fixed string replace not taking out spaces aswell
2016-02-04 16:19:27 +00:00
mafoo 010963aa2f fix for incorrect destinations 2016-02-04 15:49:03 +00:00
mafoo 057acf09bf 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 ca4e1b8a67 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 467384aece Corrected selected statements 2016-02-03 17:32:07 +00:00
mafoo c17fccbff2 Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid 2016-02-03 15:08:28 +00:00
mafoo 02566294cb converted callcenter to use common function 2016-01-29 11:26:21 +00:00
mafoo ef31b4082d Converted uses of ringback to common function 2016-01-28 15:51:50 +00:00
mafoo 671315a361 phrases should be written out as there uuid
not the name.domain_uuid format
2016-01-26 17:34:44 +00:00
mafoo 97747c7fb5 BugFix for remote pgsql databases 2016-01-25 14:29:27 +00:00
mafoo 87a2b0de47 fix for when the element is not in the document yet 2016-01-22 11:51:58 +00:00
mafoo 9ce00a03cf values were being assigned rather than compared 2016-01-20 13:44:36 +00:00
Mafoo ad324f4744 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 2669f6f1a9 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 8814c414a5 fix for when running in root and no leading / 2016-01-15 16:48:37 +00:00
Matthew Vale 1502cf15ff changed protocol to match request 2016-01-15 13:43:10 +00:00
Matthew Vale 0111fff25b 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 b20a38f454 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 355bec91a2 changed text.php to use $_SERVER["PROJECT_ROOT"] 2016-01-14 16:15:41 +00:00
Matthew Vale 173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale b81748bd22 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale a2c845b2c9 Changed upgrade to use PROJECT_ROOT instead 2016-01-12 13:55:45 +00:00
Matthew Vale 1ad1c31b27 Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale 9da082409a Added display of project root 2016-01-12 13:55:32 +00:00
Matthew Vale 1d60d8acb4 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 6788adeae4 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 1fd3443ee6 removed redundant code 2015-12-31 16:33:19 +00:00
Matthew Vale d5e1de163c fixed missing on new Exception 2015-12-31 16:32:51 +00:00
Matthew Vale 4fdb6e9916 cherry picked changes from 4.0 branch 2015-12-31 10:11:31 +00:00
Matthew Vale 408f76e178 added missing / in path and set redirect correctly 2015-12-31 09:40:59 +00:00
Matthew Vale ff2e2bd396 correction for button name 2015-12-30 16:58:39 +00:00
Matthew Vale e05b8ffca2 added correct bits detection 2015-12-30 16:54:36 +00:00
Matthew Vale 40cefaf34c 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 d7948a7d2a migrated install_switch's recursive_* routines 2015-12-21 10:54:48 +00:00
Matthew Vale eb26d5e26d Removed dirs we don't use 2015-12-18 17:00:28 +00:00
Matthew Vale 5a07f86cfd migrates app/languages to fusionpbx/fusionpbx-apps 2015-12-18 16:29:04 +00:00
Matthew Vale 6080b8847c 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 358ae7d312 patch for SunOS
corrected collection of switch version during detect_switch
2015-12-11 14:57:14 +00:00
Matthew Vale 665824b949 Merge branch 'fusionpbx/master' into Enhance-Languages
Conflicts:
	app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
Matthew Vale 4776ceb030 added switch git_info where available 2015-12-10 11:58:09 +00:00
Matthew Vale cb440de264 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 b76a1a4b4f First pass on app/* 2015-12-10 10:12:41 +00:00
Matthew Vale bb1a708444 Remvoed tab for consistency 2015-12-10 10:11:45 +00:00
Matthew Vale f8684de1cf First pass on core/* 2015-12-10 10:09:07 +00:00
Matthew Vale 3d16581959 Initial consolidation of common terms 2015-12-10 10:06:48 +00:00
Matthew Vale b5a2fa0f29 Added initial version of app/languages
for analyzing missing or overlapping with global text
2015-12-10 10:04:35 +00:00
Matthew Vale 45dfcabd3d Add Fallback language support to en-us 2015-12-10 09:57:54 +00:00
Matthew Vale e4c711e8f7 Migrate app_languages.php from core to resources 2015-12-10 09:57:08 +00:00
Matthew Vale cabf031cc0 Fixed temp_dir not getting set correctly
this would have also affected backup_dir
2015-12-07 21:19:59 +00:00
Matthew Vale a3f9c02225 added freeswitch version when retrievable 2015-12-07 17:38:54 +00:00
Matthew Vale 47d8040fed use $git_path to determine if it is a git install 2015-12-07 17:37:41 +00:00
Matthew Vale 7b9038fc0b changed label to text[*] 2015-12-07 17:32:20 +00:00
Matthew Vale 37c738ac0b use DOCUMENT_ROOT rather than assume path 2015-12-04 12:24:22 +00:00
Matthew Vale 7adab1e59f Add git information to system info 2015-12-04 12:18:11 +00:00