Commit Graph

141 Commits

Author SHA1 Message Date
markjcrane bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin 9986d2875b fix so maradb 10.1 install can create the database. 2016-04-25 21:34:44 -05:00
Harry G. Coin fd313a7c66 fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin aaf6bb8f96 Fix to cure uninitialized variable warnings whenever schema is called.
Also many minor warning bug fixes in schema.php
Might as well take the plunge and go to default show warnings.
Uninitialized variable and small bug fixes install fusionpbx
2016-04-25 21:09:14 -05:00
Harry G. Coin 91a92d8e5e \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
markjcrane 2b1ede0b70 Only set switch default settings for variables that are enabled. 2016-04-15 19:44:55 -06:00
markjcrane 406c36b6b4 Only set the SESSION variables from default settings for the switch category. 2016-04-15 19:39:55 -06:00
markjcrane a59bfe1021 Change the object name install_fusionpbx.php uses dbh instead of db. 2016-04-15 19:31:47 -06:00
markjcrane 157f49a303 Update the install to set the default setting session variables. 2016-04-15 19:27:19 -06:00
markjcrane 6e5fe31303 Schema use $this->$db instead of $db. 2016-04-14 21:51:11 -06:00
markjcrane f16259f268 Work on the install. 2016-04-14 21:14:40 -06:00
reliberate 53b07c67f7 Misc: Fix datetimepicker on Time Conditions, CDR, Contact Times, etc.
Misc: Fix textarea height.
Theme: CSS adjustments to correct misc bugs.
2016-04-13 13:23:07 -06:00
markjcrane bd1f5b4388 Run upgrade to call app defaults. 2016-04-03 13:46:46 -06:00
markjcrane 65a2cec4ab Update install freeswitch commented out copy scripts and create config lua as they handled in other code. Update install fusionpbx adding switch directories and creating groups handled in other code. When testing is completed will be removed from the code. 2016-04-03 08:39:47 -06:00
markjcrane 7d61371bc9 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane 11f4fea479 Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated. 2016-04-02 08:32:43 -06:00
FusionPBX 933406c4f6 Merge pull request #1530 from moteus/install_new_db
Fix. Install with create new database for PgSQL/MySQL
2016-04-02 00:44:26 -06:00
Alexey Melnichuk 9657d3ef04 Fix. Install with create new database for PgSQL/MySQL
* MySQL/PgSQL ignore error while create new user because user may already exists.
* MySQL on database page use same checkbox like one for PgSQL
* MySQL/PgSQL if create user empty try use db user.(may be better use root/postgres without pass)
* PgSQL fix `GRANT ALL ON DATABASE dbname` instead of `GRANT ALL ON dbname`
* MySQL fix connect string build
* MySQL fix use correct password to connect
2016-03-30 15:05:25 +03:00
Alexey Melnichuk 26b376cad8 Fix. Generate same `config.lua` on install as on Upgrade. 2016-03-29 14:43:58 +03:00
markjcrane 8be2b551d5 Remove the create_menus() from the install as it is now handled in the menu class. 2016-03-27 02:15:27 -06:00
markjcrane 21143da0ef Minor adjustment to the checkbox. 2016-03-26 19:51:44 -06:00
markjcrane 6a3c9cc945 Fix two of the button labels. 2016-03-26 19:35:24 -06:00
markjcrane 7bc74b374a Fix a the name of a few of the install buttons. 2016-03-26 19:29:04 -06:00
markjcrane 651f9806fb Update the install.php. 2016-03-26 19:17:33 -06:00
markjcrane ac4aef20b0 Change the code in the menu to return immediately if the database object is not ready in this case its not ready until the install.php is finished. 2016-03-26 13:36:00 -06:00
markjcrane 883a0ecdeb Remove the conflict install language is set with the radio buttons. 2016-03-26 13:14:57 -06:00
markjcrane 9c49a0ce54 Remove the fieldset and label as the alignment is not working with bootstrap. 2016-03-26 13:09:22 -06:00
markjcrane ae125390c3 Adjust the width of the language section of the install. 2016-03-26 12:35:40 -06:00
markjcrane 5eef464cf3 Additional work to improve the install, template and the menu. 2016-03-26 12:22:15 -06:00
markjcrane 90f30c53d7 Fix the install.php. 2016-03-26 09:18:36 -06:00
markjcrane 6631061d70 Set the default theme as the default. 2016-03-25 16:30:35 -06:00
FusionPBX 1eb5b54119 Merge pull request #1491 from dis45927/master
Fix bug preventing mysql database creation
2016-03-24 21:47:11 -06:00
markjcrane ab4fb51355 Fix the install title. 2016-03-20 13:51:17 -06:00
markjcrane b626edb480 Minor change to indent on one line. 2016-03-19 18:23:19 -06:00
dis45927 2045b52af1 Fix bug preventing mysql database creation 2016-03-15 10:30:33 +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
markjcrane 676ef47d34 Move flags to a more standard directory. If they get used by another feature then the flags should be moved to the main fusionpbx/resources/images directory. 2016-03-09 11:12:47 -07:00
markjcrane 449dc0dfa7 Add the missing .php extension. 2016-02-29 20:07:32 -07:00
markjcrane 289a7b892c Fix title-install translation. 2016-02-29 19:53:13 -07:00
markjcrane 112a239902 Minor change remove trailing tab. 2016-02-29 18:47:51 -07:00
markjcrane f7be0cc943 Fix the comment on install_switch.php. 2016-02-29 11:43:32 -07:00
markjcrane d110fe8f7e install_first_time.php rename to install.php. 2016-02-29 11:28:43 -07:00
markjcrane 093556cd42 Rename install_first_time variable and file name. Remove the install/upgrade_switch.php which isn't being used anymore. Update the indentation and remove inconsistent white spaces. 2016-02-29 09:24:05 -07:00
markjcrane e1cd2f8b3a Add translations for the install. 2016-02-22 22:27:53 -07:00
markjcrane 5a06f486af Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
markjcrane 5e44128f70 Switch settings are not always needed so removing the "throw new Exception" 2016-02-04 23:18:48 -07:00
markjcrane 5ed6f62307 Fix the install problem. 2016-01-26 09:01:56 -07:00
markjcrane 2bd1c492b0 Change the variable from cmt to comment to make it easier to read the code. 2016-01-25 09:41:29 -07:00
mafoo 97747c7fb5 BugFix for remote pgsql databases 2016-01-25 14:29:27 +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