Commit Graph

55 Commits

Author SHA1 Message Date
fusionate 3d81016695 Domains Class: Update settings() method to support setting array order, when present. 2020-12-28 16:28:01 -07:00
Nate 5c7f97ac8a Domains: Retain session domain_name and domain_uuid on add and delete. 2020-11-02 16:00:02 -07:00
FusionPBX f567c12672
Update domains.php 2020-08-14 00:37:16 -06:00
agree 51a6b56dae Update domains.php (#5092)
* Update domains.php
2020-03-11 20:04:41 -06:00
Nate b9a207c51d Domains Class: Use unique variable name for array id in delete() method. 2020-02-17 17:54:36 -07:00
Nate 1b95cbf38c Domains: Supress warnings when deleting missing xml files in delete() method. Fix recordings directory session variable index. 2020-02-17 08:51:21 -07:00
FusionPBX eb28a261bc Update domains.php 2019-12-16 11:17:25 -07:00
FusionPBX 9f70128428 Update domains.php 2019-12-16 09:37:57 -07:00
Nate 911a43219e Users: Prevent duplicate usernames. 2019-09-10 19:23:14 -06:00
jpattWPC 4ae27f13b6 Add support for PostgreSQL TLS (#4262)
This commit adds support for PostgreSQL TLS communication. This requires /etc/fusionpbx/config.php to have two parameters added:

$db_secure = true;
$db_cert_authority = "/path/to/ca.crt";
2019-06-05 21:10:58 -06:00
FusionPBX 1f1c813675 Update domains.php 2018-02-25 01:08:54 -07:00
Mafoo 32a6f76ed0 Enhance [master] provide $app_path during upgrade (#2573)
if a application is installed via a symlink PHP will resolve the symlink
for __DIR__ and __FILE__ making it impossible for an application to work
out it's relative path withing the fusion system.
By providing $app_path during upgrade routines an application will
beable to provide the correct link for menu items (e.g.
/opt/languages/index.php) instead of having to hard code it where it
could change depending on how the application was installed
2017-06-08 09:41:56 -06:00
Mafoo bfe3ff173f Enhance - Display text on app_defaults (#2645)
enable display_type on domains (and therefore app_defaults)
capture the output of app_defaults
format if statements to project preference
use more generic label display for results reducing number of translations required
change upgrade.php to use the more consistent $display_type
2017-06-08 09:39:50 -06:00
FusionPBX f6fdd9523f Update domains.php 2017-01-17 13:37:26 -07:00
FusionPBX 6fe57bace2 Update domains.php 2017-01-14 18:17:21 -07:00
FusionPBX c6c5329a56 Update domains.php 2017-01-14 18:15:34 -07:00
FusionPBX 532a0c0590 Minor syntax fix spotted in dry run now activate. 2017-01-14 14:39:05 -07:00
FusionPBX b9bf07a5e6 Add the settings method to the upgrade method. 2017-01-14 14:33:05 -07:00
FusionPBX 841d56938d Add the settings method to the domains class. 2017-01-14 13:15:03 -07:00
FusionPBX eb7a05ea45 Update domains.php 2016-09-10 17:33:47 -06:00
Harry G. Coin 8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
markjcrane 9dac571bdb Use intuitive names for the arrays and move one of the queries out of the loop. 2016-04-15 00:47:49 -06:00
markjcrane 4b55af24f7 Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane c2ecb23413 Add a contructor to the dialplan class. 2016-04-14 22:34:10 -06:00
markjcrane 45c391ab76 Update domains and schema classes. 2016-04-14 22:10:47 -06:00
markjcrane 4fa0649eba Only call the scripts class if its installed. 2016-03-27 00:33:19 -06:00
markjcrane 9249e1db9a On windows force to / instead of the backslash \ as path. This fixes a problem where recording c:\pathtofusionpbx\recordings fails because the \r gets understood as a carriage return in the session:record in FreeSWITCH. 2016-03-24 15:02:04 -06:00
markjcrane 16abb2849f Remove the domain name from the switch recordings SESSION variable. The path for single and multi-tenant are handled the same and all will used their domain name. 2015-12-06 12:36:08 -07:00
Matthew Vale 96a22b5321 made reference to install resource literal 2015-12-02 16:07:23 +00:00
markjcrane 1691c3e5f0 Use the new config class in the domains and schema classes. 2015-11-27 19:59:50 -07:00
Mark Crane 57ceca4590 Account for the fact that mb_strtolower is not always available. 2015-06-01 04:54:21 +00:00
Mark Crane fc06cb3661 More work to make domain names case insensitive. 2015-05-30 20:59:11 +00:00
Mark Crane dd9ade256f Update release to fix big for systems where GLOB_BRACE is not available. 2015-05-13 04:37:36 +00:00
Nate Jones fe8032b1c3 Misc: Removed use of GLOB_BRACE as doesn't work on some systems, use non-GLOB_BRACE method instead. Thanks [xming] and Risk64. Should resolve Issue 916, as well. 2015-05-12 18:11:05 +00:00
Nate Jones 3e53a658b2 Default Settings: Fix set() function in domains class to first clear ALL default/domain settings, then only load settings that are currently enabled. 2015-05-01 12:14:52 +00:00
Mark Crane cd3d93a1fd Get a new set of default and domain settings for use when http_domain_filter is set to false. Remove debug numbers from access denied messages in provisioning and remove other redundant code. 2015-03-28 11:37:56 +00:00
Mark Crane 83eca7ae8a A little more work to get rid of the default context. 2015-03-10 10:47:25 +00:00
Mark Crane d34fbd1063 Need to add GLOB_BRACE to support the {menu,config} 2014-12-27 17:30:07 +00:00
Mark Crane 4c69bd1cde Change the | to a comma had to review the syntax on the glob command. 2014-12-27 17:28:07 +00:00
Mark Crane 1cfaaf0a4b Add a check for domain_uuid session. 2014-10-17 22:59:47 +00:00
Mark Crane e38879deb4 Fix the domain array settings 2014-08-09 16:32:52 +00:00
Mark Crane ce5288bc60 Cleanup previous default settings 2014-08-09 16:05:03 +00:00
Mark Crane 33a0f6150d Get the domain settings only if the domain_uuid has a value 2014-07-25 09:08:51 +00:00
Mark Crane d734558a37 Change the logic a little more for the smooth fall back 2014-07-25 01:38:17 +00:00
Mark Crane c175d257f0 Make the setting order with a try catch to make the upgrade smoother 2014-07-25 01:32:36 +00:00
Mark Crane f8ba6a18d8 Add default,domain, and user settings 2014-07-25 00:43:15 +00:00
Mark Crane 5c37eeb977 Remove the string length requirement on the domain_settings 2014-07-22 18:26:02 +00:00
Mark Crane 181e2881c0 Make the domain and schema work with the PHP classes 2014-07-16 04:30:49 +00:00
Mark Crane 4fd34d1c80 Add globals needed by the app defaults in domains upgrade method. 2014-07-15 17:49:28 +00:00
Mark Crane c7abde93dd Add to the schema class and adjust the db connection obect in the domains class 2014-07-15 07:58:01 +00:00