Commit Graph

230 Commits

Author SHA1 Message Date
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
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
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
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
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
reliberate df22a29ed4 Theme: Integrate ability to use Google Fonts. 2016-05-05 12:57:08 -06: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
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 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
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 6b14dc2437 Default/Domain/User Settings: Handle boolean value for menu_main_icons setting. 2016-04-05 17:24:22 -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
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
markjcrane a4005f46e3 Allow deleting system default groups. 2016-03-31 11:01:39 -06:00
reliberate 907ffd150d User Edit: Fix logic used on Enabled field. 2016-03-31 09:48:30 -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
reliberate 44e77b0eef Enhance: Default Theme - enable menu style and positioning options. 2016-03-25 19:38:57 -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
reliberate 5fe4309166 User Settings: Select query fix, case adjustment on Domain Template select option labels. 2016-03-21 16:54:59 -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
FusionPBX bf5a45dc08 Merge pull request #1471 from mafoo/WhitespaceClean-core/batch
WhitespaceClean-core/batch
2016-03-11 13:35:06 -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 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 2230a6710d User Settings: Fix delete setting, move bulk delete function to user_setting_delete.php. 2016-03-03 11:28:35 -07:00
reliberate 79d5ff5287 Settings: Only allow Admin to Add/Edit authorized settings. 2016-02-29 12:06:18 -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
reliberate 9b9d8b4e3b Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -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
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
markjcrane 5da1286329 Add session cookie httponly and set it to true. 2015-12-21 20:52:54 -07:00
Matthew Vale 742db50120 First pass on core/* 2015-12-10 10:09:07 +00:00
markjcrane 584887441d Adding autocomplete="off" back in case browser developers realize there are legitimate reasons to use it. 2015-09-19 18:02:31 -06:00
markjcrane fb7a8923ef Another case where autocomplete creates a problem. New user account creation does not benefit from autocomplete. It assumes the user is the currently logged in user which is not what you want on a form to add new users. This code adds an autocomplete honey pot to defeat the browser developers poor assumption. 2015-09-19 17:51:16 -06:00
markjcrane 88eed0c35b Browser developers disabled autocomplete in most browser. A move that makes an assumption that autocomplete is always good. In this particular case it creates a bug. There are a few legitimate reasons to disable autocomplete. In this case I'm disabling it as we are only updating the password when its provided by the user. In this case the user may be and administrator changing a user a password in this case autocomplete would offer the wrong password. Another case have two password fields that must match if both passwords are empty then the passwords are not updated allowing for other user settings to be updated. 2015-09-19 17:42:02 -06:00
markjcrane 808846ebca Change the format to display the count. 2015-09-04 22:06:09 -06:00
markjcrane 650e091891 Show the number of users and move the registration count to the front. 2015-09-04 21:51:51 -06:00