Commit Graph

131 Commits

Author SHA1 Message Date
Alexey Melnichuk d84bebc1d5 Fix. Create database scheme before trying insert record to `v_database` (#2965)
Problem that `create_database_pgsql` does not create actual scheme
but `create_odbc_database_connection` try insert record to v_database and
installation fails.
2018-01-27 12:12:11 -07:00
FusionPBX b9727afed1
Update install_fusionpbx.php 2017-11-17 09:41:51 -07:00
Mafoo af23a822aa BugFix - GUI install (#2779)
Fixes to remove some errors in the GUI installer
2017-08-02 10:45:35 -06:00
Mafoo 3c23fb5115 BugFix [master] language update (#2628)
Imported Found language ro as ro-ro Romanian (tested by reverse translation)
Add placeholders for all found languages
Add new missing flags
Enhancements to text class
* improved sort to keep language-* tags organized at the top
* if a language is missing a name tag, add it
* changed organizer to not add a final \n
* corrected some indenting
* added detect_all_languages that attempts to find any languages that haven't been defined in resources/app_languages.php
* added language_totals, this is used by the optional languages application to calculate how complete a language is
2017-06-02 13:24:12 -06:00
Alexey Melnichuk 06b62af061 Fix. Load `Message` class (#2585)
Fix. Use correct way to get text message.
Fix. Use `Database Username` to create database if no `Create Database Username` specified.
2017-05-18 08:43:43 -06:00
Mafoo 55ae0b2b42 Enhance - Convert all languages to 2-2 digit (#2581)
Convert all languages to use the en-us style codes
Where an installation is using a 2 digit code, use the legacy map to find
the mapped language and provide that text correctly
Have escape_str strip \' before converting or we end up with a double
encode
Update organzie_languages to understand how to convert legacy languages
automatically
updated flags
2017-05-13 13:13:38 -06:00
Mafoo 882868520c BugFix [master] Flag correction (#2580)
correction to flags from language update
2017-05-12 13:52:13 -06:00
Mafoo 543a555471 reworked text class to gather the languages on construction (more efficient) (#2576)
organize_languages will now use an internal function to escape values as fusion's check_str would not be appropriate
enabled two missing flags
organize on remaining app_languages.php and add missing 'he'
2017-05-12 08:44:53 -06:00
FusionPBX 2b9937e863 Update install_fusionpbx.php 2017-05-09 20:22:39 -06:00
powerpbx ec9e26966a Fix SQL syntax (#2570) 2017-05-09 20:21:12 -06:00
FusionPBX b98609719b Update install_select_language.php 2017-03-22 01:25:28 -06:00
Richard Neese 8bf2348947 fixing debian pkg installs (#2363) 2017-02-07 15:52:44 -07:00
Tom Gillett 897038f2d8 Fixed bug preventing scripts from being copied properly during install process (#2296) 2017-01-10 08:11:09 -07:00
FusionPBX 373eb5ffc5 Update install_fusionpbx.php
Move to core default settings app defaults.
2016-11-27 17:05:37 -07:00
FusionPBX cfc539ceed Update install_switch.php
Switch directory will not always exist if the FreeSWITCH is installed on a separate machine than FusionPBX.
2016-10-31 23:46:13 -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 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
markjcrane d3ea04c602 Re-enable hide PHP warnings for regular users. 2016-04-29 17:08:23 -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 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 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
FusionPBX 1eb5b54119 Merge pull request #1491 from dis45927/master
Fix bug preventing mysql database creation
2016-03-24 21:47:11 -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