Commit Graph

910 Commits

Author SHA1 Message Date
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