Commit Graph

1126 Commits

Author SHA1 Message Date
jebsolutions 36916fa2d7 fix typo (#2199) 2016-11-26 16:09:28 -07:00
jebsolutions 8761304449 show git branch + commit. +link to preview git changes (#2186)
* show git branch + commit.  +link to preview git changes

new feature
- bottom of upgrade screen shows git branch + commit you are on
- provides a link to github showing changes since then on your current branch

More eyes reviewing the code is always a plus.  The github link helps make it easier.

* Update index.php

Add translations and pretty it up a little.
2016-11-26 00:21:31 -07:00
FusionPBX 9efa7e2413 Update app_defaults.php
Add the temp directory to default settings.
2016-11-25 14:28:35 -07:00
FusionPBX bcdb99c6db Update app_defaults.php 2016-11-20 16:49:29 -07:00
jebsolutions dd8385f63b [master] include stderr in git pull results and check for error (#2105)
* [master] include stderr in git pull results and check for error

Old result (seems correct but actually failed):
Updating d190f6a..d958bea

Corrected result (includes failure message):
Updating d190f6a..d958bea
error: Your local changes to the following files would be overwritten by merge:
app/fax/fax_log_view.php
Please, commit your changes or stash them before you can merge.

* tab fixes
2016-11-20 13:54:57 -07:00
FusionPBX 56a54a9e12 Update groups.php
Fix the link that was broke when directory name was changed.
2016-11-04 23:15:12 -06:00
FusionPBX 5c5446b953 Update ldap.php
If the LDAP password is not provided then set authorized to false.
2016-11-02 00:16:30 -06: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
jebsolutions 031b1053dc Fax email fix for master branch (#2023)
* allow bypass of certificate validation

* Update app_defaults.php

change to match

* Update app_defaults.php
2016-10-31 14:19:41 -06:00
FusionPBX c212bba3b8 Update ldap.php 2016-10-31 11:01:52 -06:00
FusionPBX 3b359e549e Update app_defaults.php 2016-10-22 22:12:32 -06:00
FusionPBX a5df99c4af Update user_edit.php 2016-10-18 09:23:42 -06:00
reliberate 4a0f4615e9 Users: Revamp and consolidate code, integrate ORM. 2016-10-05 10:29:30 -06:00
FusionPBX 5b3bc736e3 Update database.php 2016-10-03 21:37:27 -06:00
FusionPBX 7c99289243 Update authentication.php
Update the session username if authorized is true.
2016-10-03 21:35:34 -06:00
markjcrane 186c3e5db8 Update indentation for includes and check permissions. 2016-10-02 14:30:38 -06:00
Alexey Melnichuk 730d9abb18 Fix. Do not display error message if exesute returns `0` (#1939) 2016-09-22 09:17:02 -06:00
AgregarDeveloper f62677b0b6 Added pt-br language support. Few typo fixes. (#1922)
* Added pt-br language support. Few typo fixes.

* Update switch.conf.xml

Update mailer-app and mailer-app-args to use the default install path.
2016-09-17 22:05:51 -06:00
FusionPBX db9b088d86 Update authentication.php 2016-09-11 12:51:54 -06:00
FusionPBX 999eee3ebd Update database.php 2016-09-11 12:45:56 -06:00
FusionPBX 6ec74bc432 Update authentication.php
Make the database the default authentication plugin if the default setting -> authentication is not set.
2016-09-11 09:51:40 -06:00
FusionPBX d27824cbb7 Update ldap.php 2016-09-11 09:09:54 -06:00
FusionPBX c1db75ab45 Fix a spelling mistake in ldap.php. 2016-09-11 09:08:33 -06:00
FusionPBX 1082578788 Update ldap.php 2016-09-10 22:28:35 -06:00
FusionPBX 008597d159 Update database.php
Add contact_uuid to the database plugin.
2016-09-10 22:22:37 -06:00
FusionPBX c91933ee5b Create authentication.php 2016-09-10 22:21:08 -06:00
FusionPBX afdce9b55c Delete authentication.php
Wrong content added to this file that has no history so delete the file.
2016-09-10 22:20:10 -06:00
FusionPBX 81ba72734e Create root.php 2016-09-10 18:08:03 -06:00
FusionPBX 8eee98978e Create app_config.php 2016-09-10 18:07:18 -06:00
FusionPBX b369986716 Delete app_config.php
Put it in the wrong location.
2016-09-10 18:06:51 -06:00
FusionPBX 479c573591 Create app_config.php 2016-09-10 18:06:13 -06:00
FusionPBX c3cd81f0f9 Create ldap.php
Add a the authentication ldap plugin.
2016-09-10 18:02:37 -06:00
FusionPBX fe2f5477c1 Update database.php
Update the database plugin description.
2016-09-10 17:59:59 -06:00
FusionPBX 2a24f427de Create database.php
Add the default plugin.
2016-09-10 17:58:06 -06:00
FusionPBX 8bc4637338 Create authentication.php
First commit in a series of commits adding a new authentication class.
2016-09-10 17:54:32 -06:00
FusionPBX 74b8de3922 Update index.php
Advanced -> Upgrade -Remove label tag as it broke the checkbox and description vertical alignment.
2016-09-10 17:26:14 -06:00
nyfon 8ea17bdaf3 user dashboard generates errors in httpd error log (#1873)
* Update extension.php

* Update user_dashboard.php

User dashboard fills the httpd error log with shell_exec errors. These changes add escapeshellcmd which eliminates these errors and adds 2>&1 to the df command which also generates an error when /home is not mounted
2016-09-03 20:25:41 -06:00
FusionPBX cef3d3f948 Add a default password_length to default settings. 2016-08-28 14:23:43 -06:00
FusionPBX 48b2b05f20 Update user_edit.php 2016-08-09 16:13:56 -06:00
FusionPBX 4ffb221544 Update menu_item_edit.php
Get the data before presenting it to prevent mixing backend and front end work.
2016-08-05 09:16:42 -06:00
FusionPBX ea290d0b57 Update user_dashboard.php
Correct the layout for the description on the dashboard.
2016-08-04 19:23:07 -06:00
FusionPBX fe7d2934b5 Update user_dashboard.php
Dashboard there is one more voicemail link to update.
2016-07-22 13:18:26 -06:00
FusionPBX a68d114fdf Update user_dashboard.php
Fix the voicemail box link for the user dashboard.
2016-07-22 10:28:09 -06:00
Mafoo 4ed30bfe53 Enhance Voicemail Emails (#1738)
* Renamed template variable account to voicemail_id and adjusted all
templates
* Added ${voicemail_description}
* Added ${voicemail_name_formatted} (will render the voicemail identifier in accordance with Default/Domain Settings > Voicemail > display_domain_name)
* Updated templates to be consistent spacing
* Updated templates to include use of ${voicemail_name_formatted}
* Changed ${account} to be voicemail_name_formatted instead of id
2016-07-22 09:23:03 -06:00
Chris Black 0c2d87fe10 add default settings to dashboard for auto-answer, record, ringback (#1762)
* add default settings to dashboard for auto-answer, record, ringback

* change default setting to click_to_call
2016-07-20 13:28:17 -06:00
markjcrane 988ca1154b Move the voicemail default settings to main default_settings/app_defaults.php for better efficiency. 2016-06-26 12:32:51 -06:00
markjcrane 76b0781d9a Improve the indentation on default_setting_edit.php. 2016-06-21 17:58:05 -06:00
reliberate 3ae85a7098 Music on Hold: Support multiple global categories. Support for changing moh domain. Support for managing additional stream parameters (shuffle, stereo, interval, chimes, custom moh paths, etc). Enhanced file system housekeeping.
Theme: Enhanced audio playback progress indicator.  Added settings to control body icon normal/hover colors.
VM Greetings: Updated to support new audio playback indicator (more apps to come shortly).
Group Permissions: Prevent enter key submission on search field.
2016-06-21 15:56:15 -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
reliberate 7a82546a2a DB: Added Countries table. 2016-06-06 16:13:57 -06:00
reliberate be76d25ff4 Dashboard: Tweak Device dashboard component styles. 2016-06-02 18:41:39 -06:00
reliberate 0f07828d0c Security: Integrate Settings and necessary functions to enforce password complexity requirements.
Theme: Add basic password strength indicator bar.
Default Settings: Also verify correct Type (name) on Upgrade > App Defaults.
User: Show Nickname in Contact select if no Given or Family name.
Password Reset: Integrate hide and convert password fields method to prevent browser prompt.
2016-06-02 18:26:32 -06:00
FusionPBX 693b637ca8 Update user_dashboard.php
Add device keys to the dashboard.
2016-05-28 19:55:23 -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
reliberate 9c0460e5e2 Users: Bug Fix - Group list now displayed in select box even when none have been assigned to the user. 2016-05-24 16:59:54 -06:00
reliberate bf5f1223af Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
FusionPBX 170d4be4a1 Update user_dashboard.php
Fix the CPU usage on the dashboard.
2016-05-06 01:20:57 -06:00
FusionPBX 32223dc77c Update user_dashboard.php
Use a different approach to get the CPU usage.
2016-05-05 22:52:30 -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
reliberate df22a29ed4 Theme: Integrate ability to use Google Fonts. 2016-05-05 12:57:08 -06:00
markjcrane 097a5d8ade Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
markjcrane ca49067713 Change default setting for smtp_secure = tls. 2016-05-03 16:06:08 -06:00
reliberate 5a178625d5 Menu Manager: Add ability to customize main and sub menu icons. 2016-05-02 14:42:06 -06:00
markjcrane adb120b7f0 Re-enable hide PHP warnings for regular users. 2016-04-29 17:08:23 -06:00
markjcrane 04a51ae6c9 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-29 16:14:03 -06:00
markjcrane b510e4f062 Remove an extra parenthesis on domain_delete.php. 2016-04-29 16:13:44 -06:00
FusionPBX 9a74ac80b5 Merge pull request #1569 from mafoo/Enhance-Install_PDO_Warning
Detect if there is at least one database driver
2016-04-29 16:10:56 -06:00
markjcrane c18c9d5433 Correct the syntax. 2016-04-29 16:09:39 -06:00
markjcrane 2f9c7171ea Check additional arrays to see if they are exist before using them in a foreach. 2016-04-29 16:04:10 -06:00
mafoo 060e647507 Detect if there is at least one database driver 2016-04-29 21:54:04 +01:00
markjcrane cddc2e9df6 Make sure the array exists before using it in group_permissions.php. 2016-04-28 21:18:26 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
markjcrane 15a1ecbcea State the full path for which. 2016-04-28 15:35:46 -06:00
markjcrane cd5aa88c1c Add the full path to the commands by using 'which' 2016-04-28 15:17:19 -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 8f17c47071 Patch to support sendmail, qmail, mail.
Also allow port to be set without munging host string (easier to change from 25/465/custom/etc).
2016-04-25 20:58:28 -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
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
reliberate b4c5c79a4d Users: Correct username input field type (from 'txt' to 'text'). 2016-04-25 15:07:42 -06:00
FusionPBX 6a1a208864 Update user_dashboard.php
Add an inline if statement to the user dashboard.
2016-04-22 13:43:02 -06: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 343abf2511 Fix the redirect on two more files. 2016-04-15 18:40:23 -06:00
markjcrane 8731afb5e2 Use a more efficient way to add the default settings. 2016-04-15 09:24:55 -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
markjcrane 67e1e7b798 Combine some of the default settings. 2016-04-14 20:11:47 -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
reliberate d423fa566d Dashboard: Remove unnecessary inline cursor style, minor mods.
Call Routing: Minor mods.
2016-04-12 10:20:40 -06:00
Nate ab2c154446 Merge pull request #1544 from moteus/dashboard_session_count
Fix. Display session count on User Dashboard.
2016-04-12 10:10:52 -06:00
Alexey Melnichuk bc3bbcf41e Add. Make `Channels` link that point to `Active calls` 2016-04-12 16:25:06 +03:00
Alexey Melnichuk 1405f252e5 Fix. Display session count on User Dashboard.
Also it does not request information about all active calls which can be quite huge.
2016-04-12 16:18:19 +03:00
Alexey Melnichuk 4f4ae8e9ff Fix. Display `Switch Uptime` on User Dashboard. 2016-04-12 15:42:17 +03:00
reliberate 8b0c01c772 Theme: Integrate settings to control button styles and form input styles.
Dashboard: Remove table row hover and pointer cursor if not linked.
2016-04-11 17:52:58 -06:00
reliberate a887eab36a Fun Stuff: http://pasteboard.co/1ormWYp.png
Login: Add settings to style Reset Password (and related) text links, add (disabled) settings to display domain name field.
Theme: Add settings to control login box border size, color, radius and padding.  Explicitly defined placeholder text color/opacity (where possible).
2016-04-07 19:35:39 -06:00
reliberate 6a0465609f Dashboard: Fix issue with Ring Group Forward not saving changes.
Misc: Restore/Fix some missing/botched HTML tags.
2016-04-07 14:14:32 -06:00
reliberate 6b14dc2437 Default/Domain/User Settings: Handle boolean value for menu_main_icons setting. 2016-04-05 17:24:22 -06:00
markjcrane 2026793e1d Run upgrade to call app defaults. 2016-04-03 13:46:46 -06:00
markjcrane f6920838c7 Add a default group check. 2016-04-03 11:54:09 -06:00
markjcrane 4292386b6c Add users and groups php class. 2016-04-03 11:47:06 -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
FusionPBX 4cb0a372dc Merge pull request #1519 from moteus/install_config_lua
Fix. Generate same `config.lua` on install as on Upgrade.
2016-04-02 00:40:52 -06:00
reliberate 4a4517a5ab Functions: Enhance img_spacer() function.
Dialplan Edit: Integrate img_spacer() to fix row divider.
Default/Domain/User Settings: Use img_spacer() function for color swatches.
Contact Times: Adjust for recent changes on img_spacer() function.
2016-04-01 19:44:26 -06:00
reliberate 6213c1ab6e Dashboard: Minor visual adjustment on Voicemail block. 2016-03-31 18:13:16 -06:00
markjcrane a4005f46e3 Allow deleting system default groups. 2016-03-31 11:01:39 -06:00
reliberate 25eeda6414 Dashboard: Enable relevant System Counts block for Admin. 2016-03-31 10:30:30 -06:00
reliberate 907ffd150d User Edit: Fix logic used on Enabled field. 2016-03-31 09:48:30 -06:00
reliberate 5ad7291333 Default Settings: Enhance swatch display on color values. 2016-03-30 17:43:57 -06:00
reliberate 0ac33e601d Default Settings: Added ability to toggle the enabled state of checked settings. 2016-03-30 16:44:51 -06:00
reliberate c255ff0173 Dashboard: Include settings in app_defaults to display Call Routing and Ring Group Forwarding controls for the users group. 2016-03-30 15:53:12 -06:00
reliberate b90d404ff5 Dashboard: Corrected app_defaults to create missing Dashboard entries in Default Settings. 2016-03-30 15:42:25 -06:00
reliberate 9bb6bdb371 Dashboard: Added settings to app_defaults to enable certain blocks in the dashboard by default. 2016-03-30 15:32:06 -06:00
reliberate 65ff377972 Dashboard: Integrate Settings to control theme/style of Dashboard elements. 2016-03-30 14:41:45 -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
reliberate 98d125aaa0 Dashboard: Rename dashboard setting for Call Routing visibility. 2016-03-29 16:41:24 -06:00
reliberate d853e357bd Dashboard, Call Routing, Ring Groups language file fix. 2016-03-29 16:36:39 -06:00
reliberate 7a1e3b7a0b Call Routing: More responsive layout, includes additional info in list view. 2016-03-29 16:28:17 -06:00
reliberate a1dda766d8 Theme: Minor CSS tweaks.
Ring Groups: Rework forwarding controls - integrate into Dashboard view and Ring Group edit page.
2016-03-29 14:15:01 -06:00
Alexey Melnichuk efa19d3be4 Fix. Generate same `config.lua` on install as on Upgrade. 2016-03-29 14:43:58 +03:00
reliberate ca591d2b5a Settings: Paging - Modify description to include "Default: 50". 2016-03-28 23:08:20 -06:00
reliberate 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
reliberate 5b97091e27 Theme: Add additional Settings to control the style of various elements, remove old css classes.
Default/Domain/User Settings: Add color previews in list view.
2016-03-28 22:29:15 -06:00
markjcrane 12699f5fc2 Fix the menu_delete add a delete to get remove data in menu_languages table. 2016-03-27 14:58:11 -06: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 2107b2a1b5 Fix v_settings update sql command in app/settings/app_defaults.php. 2016-03-26 23:59:28 -06:00
markjcrane fa2b753e62 Add the menu_default method to app_defaults.php. 2016-03-26 22:59:00 -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
reliberate 44e77b0eef Enhance: Default Theme - enable menu style and positioning options. 2016-03-25 19:38:57 -06:00
markjcrane 8c33f72ed5 Set the default theme as the default. 2016-03-25 16:30:35 -06:00
reliberate d5c60df4fc Added: Bootstrap Framework - initial integration.
Added: Bootstrap Plugins - DateTimePicker, ColorPicker (in multiple apps)
Added: Default Theme - responsive
Removed: RightJS Framework - no longer needed.
Removed: Accessible Theme - superseded by Default theme.
Removed: Minimized Theme - superseded by Default theme.
Enhanced: Menu - responsiveness added.
Enhanced: Dashboard - responsiveness added.
Etc.
2016-03-25 16:29:20 -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
reliberate 5fe4309166 User Settings: Select query fix, case adjustment on Domain Template select option labels. 2016-03-21 16:54:59 -06:00
reliberate 0184a34ffe Dashboard: Fix Memory & Disk Usage stats. 2016-03-21 10:45:03 -06:00
markjcrane 1b38202a9e Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-20 13:52:00 -06:00
markjcrane b3ffd0a1ec Fix the install title. 2016-03-20 13:51:17 -06:00
reliberate 4bd2639fcf Dashboard: Enhance with priority numbers and additional System Count items.
Devices: Fix missing translation.
Voicemails: Fix missing translation.
2016-03-20 03:22:29 -06:00
markjcrane e17c11f754 Update the IVR Menu class to make dialplan more modular. Add option for LUA or application IVR. 2016-03-19 19:06:06 -06:00
markjcrane bd5db4d7a0 Minor change to indent on one line. 2016-03-19 18:23:19 -06:00
reliberate aa44e02b32 Voicemail: Add bulk delete ability for Messages, instant saved indication when playing/downloading, and table row click to play.
Dashboard: Minor code cleanup.
2016-03-19 13:54:24 -06:00
reliberate 17c6193067 Default/Domain/User Settings: Uncheck the 'Check All' checkbox for a category when a subcategory item is unchecked.
Default Settings: Hide the 'Check All' checkboxes when using the search.
2016-03-17 08:45:07 -06:00
dis45927 64dcd97d23 Fix bug preventing mysql database creation 2016-03-15 10:30:33 +00:00
reliberate b503a127c9 User Dashboard: Restore Click-to-Call functionality. 2016-03-14 18:59:30 -06:00
FusionPBX bf5a45dc08 Merge pull request #1471 from mafoo/WhitespaceClean-core/batch
WhitespaceClean-core/batch
2016-03-11 13:35:06 -07:00
FusionPBX ab3aaf51cb Merge pull request #1462 from mafoo/BugFix-Translation-True_False
BugFix-Translation-True_False
2016-03-11 13:24:13 -07:00
FusionPBX 9a136d3b8f Merge pull request #1470 from mafoo/WhitespaceClean-core/install
WhitespaceClean-core/install
2016-03-11 13:22:30 -07:00
markjcrane 961e527abb Change device_provision_enable to device_enabled to make it consistent with the rest of the fields that are used for to enable and disable something. 2016-03-11 11:46:02 -07: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 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
reliberate 788c7bfcb8 User Dashboard: Temporarily disable click-to-call till properly fixed. 2016-03-10 17:03:24 -07:00
reliberate 1b885beea5 Dashboard: Removed testing code on click-to-call function. 2016-03-10 16:49:26 -07:00
reliberate 49bb6c1ded User Dashboard: Add blocks with additional customizable information (voicemail count, missed calls, recent calls, system counts, domain limits, and system status).
CDR: Adjust icon status and missed call filter to be more accurate, simplify User's view of CDR, add additional call result filter.
2016-03-10 16:29:47 -07: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 e137068d23 Remove the limit on the setting value of 255 as it blocks the length fax footer. 2016-03-07 12:04:07 -07:00
reliberate 073c0e998a User Dashboard: Tweak user settings link and voicemail button. 2016-03-03 19:35:14 -07:00
reliberate c6b3b3c619 User Dashboard: Remove comment, unnecessary language strings. 2016-03-03 19:12:16 -07:00
reliberate 39a31432ba User Dashboard: Minor layout optimizations.
Follow Me: Added search and minimized paging controls.
Extensions: Added minimized paging controls.
2016-03-03 19:01:58 -07:00
reliberate 2230a6710d User Settings: Fix delete setting, move bulk delete function to user_setting_delete.php. 2016-03-03 11:28:35 -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
reliberate 79d5ff5287 Settings: Only allow Admin to Add/Edit authorized settings. 2016-02-29 12:06:18 -07:00
markjcrane 1b439fdabc Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-02-29 11:43:48 -07:00
markjcrane d8eaf0e666 Fix the comment on install_switch.php. 2016-02-29 11:43:32 -07:00
reliberate b54b832145 Settings: Add interface for User Settings, add ability for Admin to manage (own) Domain and User Settings. 2016-02-29 11:39:46 -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
reliberate e35a0ffe8f Account Settings: Bypass browser password manager prompt when saving. 2016-02-25 18:51:49 -07:00
reliberate 224f3d4301 Default/Domain Setting: Bypass browser password manager prompt when saving. 2016-02-25 18:38:19 -07:00
reliberate 9b9d8b4e3b Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -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 4385d0edde Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-02-04 23:19:23 -07:00
markjcrane 71a0fa12fa Switch settings are not always needed so removing the "throw new Exception" 2016-02-04 23:18:48 -07: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
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 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 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
markjcrane 5da1286329 Add session cookie httponly and set it to true. 2015-12-21 20:52:54 -07:00
Matthew Vale c0cc276601 migrated install_switch's recursive_* routines 2015-12-21 10:54:48 +00:00
markjcrane 98b77a12c6 Remove a few more line from upgrade/index.php. 2015-12-20 23:04:12 -07:00
markjcrane 0c21af8f2b Remove upgrade switch from advanced -> upgrade page. The work it did is handled by app/scripts/resources/classes/scripts.php and app_defaults.php calls it. So when running Advanced -> Upgrade -> App Defaults the scripts app_defaults.php will copy the scripts and rewrite the config.lua. 2015-12-20 23:01:28 -07:00
markjcrane 836a41ddbb Minor adjustments. 2015-12-20 22:46:52 -07: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 e3f1e919da Migrate app_languages.php from core to resources 2015-12-10 09:57:08 +00:00
reliberate e7162402b1 Domain Edit/Create: Use file_exists instead of isset on recordings directory path check. 2015-12-08 11:24:47 -07: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 cde9debb29 After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -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 36652ff231 use DOCUMENT_ROOT rather than assume path 2015-12-04 12:24:22 +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 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
Matthew Vale de2cb97113 Bugfix batch 2015-12-02 14:05:21 +00:00
Matthew Vale bcfd71577c added auto usage of global_settings where not provided 2015-12-02 11:21:09 +00:00
Matthew Vale 4d62a36e1c restructured install to go via global_settings
added new global_settings to marshal settings used during a
install/upgrade
2015-12-02 11:16:25 +00:00
Matthew Vale b399dd9196 changed to xcopy for windows 2015-12-01 17:34:04 +00:00
Matthew Vale 45a431d93c added better quoting for windows 2015-12-01 17:30:46 +00:00
Matthew Vale 1f8bbf4384 corrected typo 2015-12-01 17:02:38 +00:00
Matthew Vale b38ef45fa1 added normalize to OS before using copy under win 2015-12-01 17:00:41 +00:00
Matthew Vale 8473aed603 corrected path build 2015-12-01 16:57:06 +00:00
Matthew Vale 7a6d6c9d21 stored config_lua path correctly 2015-12-01 16:47:18 +00:00
Matthew Vale b205573597 corrected call to normalize_path_to_os 2015-12-01 16:42:54 +00:00
Matthew Vale 3e80fc1047 improved message related to config_lua 2015-12-01 16:40:36 +00:00
Matthew Vale 411fceabd3 Deal with create_username
don't create the db_username if it is the same as the db_create_username
2015-12-01 16:29:14 +00:00
Matthew Vale 65d70d5d68 Result of merge 2015-12-01 16:22:40 +00:00
Matthew Vale f0e2e8d735 Merge remote-tracking branch 'remotes/fusionpbx/master' into Enhance_Install
Conflicts:
	core/install/resources/classes/install_fusionpbx.php
2015-12-01 16:21:10 +00:00
Matthew Vale 44b9574a53 corrected dbh->exec checks to use === to force bool check 2015-12-01 16:08:04 +00:00
Matthew Vale 3f4a9865f5 Added better status updates 2015-12-01 15:56:07 +00:00
Matthew Vale a936bbcf74 moved config_lua responsibility to install_switch 2015-12-01 15:13:33 +00:00
Matthew Vale d0d3240fc4 Added Switch upgrade as a separate option 2015-12-01 14:32:58 +00:00
Matthew Vale 2201c709ef bracket error 2015-12-01 12:00:58 +00:00
Matthew Vale 24f5bece94 Added detection of windows + non sqlite 2015-12-01 11:56:37 +00:00
Matthew Vale 8df22f0030 removed redundant radio
override when length is 0, not visa versa
2015-12-01 11:02:32 +00:00
Matthew Vale 2998a7cf7e removed reuse stuff, it was confusing
fixed mysql databse create to make more logical sense inside code
removed many if($debug) and replaced with throws
2015-12-01 10:56:18 +00:00
Matthew Vale 4ea9c8abc3 simplified the create database options 2015-12-01 10:33:51 +00:00
Matthew Vale db1e53296e db_create not create_db
corrected version detection
corrected constant
2015-12-01 10:23:24 +00:00
Matthew Vale aef4662f91 bug fixes for path normalization 2015-12-01 10:10:58 +00:00
Matthew Vale 45b8f00ae4 pipe paths though realpath to normalize
fixed extra }
2015-12-01 09:53:18 +00:00
Matthew Vale e340747009 Added the better create database support 2015-11-30 16:25:36 +00:00
Matthew Vale 67910b5253 Merge remote-tracking branch 'remotes/fusionpbx/master' into Enhance_Install 2015-11-30 15:51:18 +00:00
Matthew Vale 36d52f7b17 moved assumed path management to detect_switch as *_vdir 2015-11-30 15:23:42 +00:00
Alexey Melnichuk 0c828deba6 Fix. Create DB during web install. 2015-11-30 13:55:02 +03:00
markjcrane 82e602e93a Missed a set of round brackets on this->exists. 2015-11-27 19:53:30 -07:00
markjcrane e4d850aa10 Rename the config.php file and a few minor adjustments to install_fusionpbx. 2015-11-27 19:03:25 -07:00
markjcrane 1408ca0b8a Move config.php into install -> app defaults method. 2015-11-27 18:13:13 -07:00
markjcrane 25e67742a5 Get rid of trailing tabs, correct some of the vertical line spacing, and other minor changes. 2015-11-27 18:04:59 -07:00
markjcrane 367997a5ed Include the config.php file in the install so that the config.lua will have the db port, host, username and password values. 2015-11-27 17:47:28 -07:00
markjcrane 55c1679a51 Add some translations for the install. 2015-11-27 17:14:44 -07:00
Matthew Vale 98ba8ea089 corrected use of detect 2015-11-26 18:45:11 +00:00
Matthew Vale 6cb5fb5f5d incorrect reference to get the switch to restart 2015-11-26 18:35:11 +00:00
Matthew Vale 14b873f5db corrected spelling mistake 2015-11-26 18:25:46 +00:00
Matthew Vale f45881ec4b moved upgrade function from app_defaults
moved upgrade function out to upgrade.php otherwise during initial
install all app_defaults get run twice
2015-11-26 18:24:09 +00:00
Matthew Vale 55e463b0ff populate event_socket_* for core/upgrade/app_defaults 2015-11-26 18:12:35 +00:00
Matthew Vale ca6bd18b64 Corrected incorrect merge 2015-11-26 17:53:02 +00:00
Matthew Vale 64e42958b3 moved restart and unprotected app_defaults 2015-11-26 16:57:34 +00:00
Matthew Vale b793ccba9d changed install order 2015-11-26 15:57:32 +00:00
Matthew Vale e4d02022d6 moved fusionPBX install after switch install 2015-11-26 14:56:56 +00:00
Matthew Vale 9b7b8fcf05 merge from master
changed handling for upgrade to utilize the session event details if
detect_switch is missing
2015-11-26 14:50:30 +00:00
Matthew Vale 02b39d9256 Corrected storage of the event_port
made a warning render correctly
added a warning about choosing a remote host
2015-11-26 14:33:08 +00:00
Matthew Vale 40d5b5a0de fixed detection of timezone on debian
removed add_new_switch temporarily, currently not supported
2015-11-26 13:20:04 +00:00
Matthew Vale f819eaf65c Added check
will now throw if the config.lua could not be opened for writing
2015-11-26 11:23:52 +00:00
markjcrane 35752445c3 Remove the old reference to install class and replaced with install_switch. 2015-11-25 21:55:17 -07:00
markjcrane 04f3fa6a7a Another minor adjustment. 2015-11-25 18:18:48 -07:00
markjcrane cfdccded76 Fix the syntax by adding a missing semi-colon. 2015-11-25 18:17:48 -07:00
markjcrane 266cc76a03 If the script dir is set in the session we know the location and don't need to ask freeswitch for it again. 2015-11-25 18:16:38 -07:00
markjcrane 759a375f5e Remove trailing tabs. Fix some spelling mistakes. And update core/upgrade/app_defaults.php to fix advanced -> upgrade. 2015-11-25 18:06:27 -07:00
Matthew Vale e28247d826 Migrated styling into template 2015-11-25 15:31:33 +00:00