Commit Graph

209 Commits

Author SHA1 Message Date
The-Operator a8c3117f7b Add German translations & update Austrian translations (#2426)
* Add German translation and update Austrian translation

* Add German translation and update Austrian translation
2017-03-16 10:13:43 -06:00
drenda c37ce02d44 Added Italian translation (#2379)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language
2017-02-16 19:46:50 -07:00
FusionPBX 249cc57f0f Update app_config.php 2017-02-15 21:19:12 -07:00
Richard Neese 3a5fe74230 fixing debian pkg installs (#2363) 2017-02-07 15:52:44 -07:00
Tom Gillett 67b34a0414 Fixed bug preventing scripts from being copied properly during install process (#2296) 2017-01-10 08:11:09 -07:00
FusionPBX 554fb33609 Update install.php 2016-12-11 22:59:04 -07:00
FusionPBX 7231b15987 Update install_fusionpbx.php
Move to core default settings app defaults.
2016-11-27 17:05:37 -07:00
FusionPBX f1db45d875 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 596319b885 BugFix-problem with detect_switch (#1633) 2016-06-08 08:28:44 -06:00
Mafoo b93fa7ccee 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 63e2b74411 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 96d576fc7a 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 71525c26b0 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 86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
markjcrane 18f39cc98d Set the footer color. 2016-05-05 13:40:01 -06:00
markjcrane 87ed9fe1c8 Change the background color of the footer during the install. 2016-05-05 13:33:02 -06:00
markjcrane adb120b7f0 Re-enable hide PHP warnings for regular users. 2016-04-29 17:08:23 -06:00
mafoo 060e647507 Detect if there is at least one database driver 2016-04-29 21:54:04 +01:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin b9285e81fe fix so maradb 10.1 install can create the database. 2016-04-25 21:34:44 -05:00
Harry G. Coin f02028629a 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 42a78d8d5e 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 bda6861f88 \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 f1ac6eb9bd Only set switch default settings for variables that are enabled. 2016-04-15 19:44:55 -06:00
markjcrane 6a8ee0e075 Only set the SESSION variables from default settings for the switch category. 2016-04-15 19:39:55 -06:00
markjcrane 31b6597c19 Change the object name install_fusionpbx.php uses dbh instead of db. 2016-04-15 19:31:47 -06:00
markjcrane 12420d1534 Update the install to set the default setting session variables. 2016-04-15 19:27:19 -06:00
markjcrane d34d709e37 Schema use $this->$db instead of $db. 2016-04-14 21:51:11 -06:00
markjcrane 5799ce6497 Work on the install. 2016-04-14 21:14:40 -06:00
reliberate aeabb4a072 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 2026793e1d Run upgrade to call app defaults. 2016-04-03 13:46:46 -06:00
markjcrane 9cb577f44f 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 51ea37ed18 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane 3ad26f1965 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 8f17db2ffc 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 b9f2e358af 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 efa19d3be4 Fix. Generate same `config.lua` on install as on Upgrade. 2016-03-29 14:43:58 +03:00
markjcrane 32ffe4d37f 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 f15645f2a1 Minor adjustment to the checkbox. 2016-03-26 19:51:44 -06:00
markjcrane a3f87106ee Fix two of the button labels. 2016-03-26 19:35:24 -06:00
markjcrane 3d7b9fef13 Fix a the name of a few of the install buttons. 2016-03-26 19:29:04 -06:00
markjcrane d71f1323c3 Update the install.php. 2016-03-26 19:17:33 -06:00
markjcrane c6f0759a5c 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 7f64cca1fa Remove the conflict install language is set with the radio buttons. 2016-03-26 13:14:57 -06:00
markjcrane 2e5f4ab596 Remove the fieldset and label as the alignment is not working with bootstrap. 2016-03-26 13:09:22 -06:00
markjcrane 3e5c9f3be4 Adjust the width of the language section of the install. 2016-03-26 12:35:40 -06:00
markjcrane ba095f3852 Additional work to improve the install, template and the menu. 2016-03-26 12:22:15 -06:00
markjcrane 5468042d8d Fix the install.php. 2016-03-26 09:18:36 -06:00
markjcrane 8c33f72ed5 Set the default theme as the default. 2016-03-25 16:30:35 -06:00
FusionPBX 5da0279a24 Merge pull request #1491 from dis45927/master
Fix bug preventing mysql database creation
2016-03-24 21:47:11 -06:00
markjcrane b3ffd0a1ec Fix the install title. 2016-03-20 13:51:17 -06:00
markjcrane bd5db4d7a0 Minor change to indent on one line. 2016-03-19 18:23:19 -06:00
dis45927 64dcd97d23 Fix bug preventing mysql database creation 2016-03-15 10:30:33 +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
markjcrane d4f8e98fc4 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 b47c8d0422 Add the missing .php extension. 2016-02-29 20:07:32 -07:00
markjcrane a7faa3cc05 Fix title-install translation. 2016-02-29 19:53:13 -07:00
markjcrane 11a4a1d9a6 Minor change remove trailing tab. 2016-02-29 18:47:51 -07:00
markjcrane d8eaf0e666 Fix the comment on install_switch.php. 2016-02-29 11:43:32 -07:00
markjcrane c23f53ea34 install_first_time.php rename to install.php. 2016-02-29 11:28:43 -07:00
markjcrane 03897edf95 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 d8c79d0731 Add translations for the install. 2016-02-22 22:27:53 -07:00
markjcrane af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
markjcrane 71a0fa12fa Switch settings are not always needed so removing the "throw new Exception" 2016-02-04 23:18:48 -07:00
markjcrane 9bc3e6553f Fix the install problem. 2016-01-26 09:01:56 -07:00
markjcrane 08f39071cc Change the variable from cmt to comment to make it easier to read the code. 2016-01-25 09:41:29 -07:00
mafoo 944662cba9 BugFix for remote pgsql databases 2016-01-25 14:29:27 +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
markjcrane fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07: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 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 e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale 8137300bb5 fixed missing on new Exception 2015-12-31 16:32:51 +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 c0cc276601 migrated install_switch's recursive_* routines 2015-12-21 10:54:48 +00:00
FusionPBX bd914ba376 Merge pull request #1315 from mafoo/Enhance-Languages
Enhance languages
2015-12-19 09:20:42 -07:00
Matthew Vale 787ca31388 Removed dirs we don't use 2015-12-18 17:00:28 +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 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 742db50120 First pass on core/* 2015-12-10 10:09:07 +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
markjcrane 84ff743e84 Last commit commented out the permission this comments out the menu. 2015-12-06 14:21:36 -07:00
markjcrane 52f87223b0 Commenting Advanced -> Install menu until its reason developer that added the menu explains its purpose. 2015-12-06 14:19:18 -07:00
markjcrane 622efef416 Convert localhost to 127.0.0.1 before determining the host_type. 2015-12-06 12:43:18 -07:00
markjcrane b4e3ee5b0d Detect the host type for PostgreSQL so it works with host or ip address. Also improve the code consistency by correcting the indentation and adding a few more comments. 2015-12-06 12:25:34 -07: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 31619d8747 fixes during upgrade 2015-12-02 15:55:21 +00:00