Commit Graph
100 Commits
Author SHA1 Message Date
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
Matthew Vale 742db50120 First pass on core/* 2015-12-10 10:09:07 +00:00
Matthew Vale fe949cf048 Initial consolidation of common terms 2015-12-10 10:06:48 +00:00
Matthew Vale fc9a45d313 Added initial version of app/languages
for analyzing missing or overlapping with global text
2015-12-10 10:04:35 +00:00
Matthew Vale e2cc65874d Add Fallback language support to en-us 2015-12-10 09:57:54 +00:00
Matthew Vale e3f1e919da Migrate app_languages.php from core to resources 2015-12-10 09:57:08 +00:00
Matthew Vale 93a83ccb61 Fixed temp_dir not getting set correctly
this would have also affected backup_dir
2015-12-07 21:19:59 +00:00
Matthew Vale 2c369260fc added freeswitch version when retrievable 2015-12-07 17:38:54 +00:00
Matthew Vale 8d62c96ef7 use $git_path to determine if it is a git install 2015-12-07 17:37:41 +00:00
Matthew Vale 950788b92e changed label to text[*] 2015-12-07 17:32:20 +00:00
Matthew Vale 36652ff231 use DOCUMENT_ROOT rather than assume path 2015-12-04 12:24:22 +00:00
Matthew Vale 0be63dff0e Add git information to system info 2015-12-04 12:18:11 +00:00
Matthew Vale 47ff30bce0 fix to the external IPv6 2015-12-03 15:42:52 +00:00
Matthew Vale fb4edcdd74 added suppression of progress by default 2015-12-03 14:59:46 +00:00
Matthew Vale 7ce32f11d4 corrected function name 2015-12-03 14:25:33 +00:00
Matthew Vale 8894c86c16 split install into phases
this is to prevent catch 22 between copy_conf and app_defaults
2015-12-03 14:04:27 +00:00
Matthew Vale 875f0a6262 added save_switch_xml during install 2015-12-03 13:36:43 +00:00
Matthew Vale e036c88c99 fixed storage of domain_count 2015-12-03 11:55:40 +00:00
Matthew Vale 68cd03d598 added workaround for lua not resolving localhost 2015-12-03 11:36:29 +00:00
Matthew Vale cc3f8e9945 changed path handling for create_config_lua
thanks moteus for the hint
2015-12-03 11:19:09 +00:00
Matthew Vale 5149307d11 corrected path retrieval for test
added missing () when reporting domain name
2015-12-03 10:49:38 +00:00
Matthew Vale f3f24c4085 add caveat when the config.lua is inside scripts\resources
due to app_defaults running before install_switch create_config_lua
cannot create it's config if the detected folder is scripts\resources\
this solves this by adding a caveat to create it's parent folder when it
is called resources
2015-12-03 10:40:54 +00:00
Matthew Vale 9bc96195c1 corrected references to scripts 2015-12-03 09:52:53 +00:00
Matthew Vale 96a22b5321 made reference to install resource literal 2015-12-02 16:07:23 +00:00
Matthew Vale 31619d8747 fixes during upgrade 2015-12-02 15:55:21 +00:00
Matthew Vale 120ea2cc40 Removed redundant code 2015-12-02 14:46:03 +00:00
Matthew Vale 86b945a997 accidentally cancelled redirect during testing 2015-12-02 14:39:53 +00:00
Matthew Vale b9b05f757c reorganised upgrade routine to make more sense 2015-12-02 14:32:49 +00:00
Matthew Vale 3f6fdc1df4 added automatic odbc_database definition 2015-12-02 14:17:53 +00:00