summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_usermanager.php
Commit message (Collapse)AuthorAgeFilesLines
* Redmine #5294 Do not delete a system userPhil Davis2015-10-111-8/+18
| | | | This code checks if the user has somehow posted a user deletion for a user that has "system" scope. If so, then the delete iscnot done and an input error is displayed. Note that in normal use the user manager page does not display a delete button for "system" users, so normally this does not happen - only if the user manually messes with the $POST variables.
* Work around a chicken-and-egg problem in user syncing. See #5152jim-p2015-09-161-0/+3
| | | | See also: commit:5372d26d9d25d751d16865ed9d46869d3b0ec5e1
* Encode ca/cert descr in system_usermanager.phpjim-p2015-07-011-1/+1
|
* Cleanup code path when adding a new userPhil Davis2015-03-181-2/+2
| | | | | | | | | | | | | 1) Only attempt to delete the oldusername if it actually was non-empty - at the moment errors are logged in the system log when adding a new user, because the code was trying to delete the user name "". 2) Call local_user_set() first to create (change, whatever) the user record. This makes the user record exist for a new user. Then call local_user_set_groups() to sort out what groups the user should be in or not in. The existing code would fail to add a new user to the specified group/s because local_user_set_groups() was called too early, before the user actually existed. Typical system log errors from the old code: Mar 18 17:10:31 php-fpm[9542]: /system_usermanager.php: Tried to remove user but got user pw instead. Bailing. Mar 18 17:10:31 php-fpm[9542]: /system_usermanager.php: The command '/usr/sbin/pw groupmod admins -g 1999 -M '0,2003,2006,2008' 2>&1' returned exit code '67', the output was 'pw: user `2008' does not exist' From looking at the code history, I think this has been this way for a long time, not a new bug at all. Discussed in forum: https://forum.pfsense.org/index.php?topic=90700.msg501766#msg501766
* system_usermanager edit cancel button looks smallPhil Davis2015-03-031-1/+1
| | | | It looks smaller and different to the Save button. This makes it the same.
* Unimportant typos in user and group managerPhil Davis2015-01-281-3/+3
| | | | that do not effect anything.
* Improving aesthetics.xbipin2015-01-131-1/+1
| | | | | Make title color more consistent with other pages. Improving aesthetics.
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Merge pull request #1334 from brunostein/remove_multiple_usersRenato Botelho2014-11-131-7/+33
|\
| * add tr idbruno2014-11-131-1/+1
| |
| * add check system userbruno2014-11-131-0/+2
| |
| * add onclickbruno2014-11-131-4/+4
| |
| * add checkbox on the left side of the table and remove checkall checkboxbruno2014-11-131-11/+8
| |
| * add input checkbox to remove multiple usersbruno2014-11-111-1/+28
| |
* | Make sure empty group or user are not created when editingRenato Botelho2014-11-121-0/+10
|/
* Change copyright statement to reflect realityJim Thompson2014-11-101-0/+4
|
* Does not accept non-ascii characters on IPsec PSK. It fiixes #3931Renato Botelho2014-10-141-0/+3
|
* Be more strict on user removal checking array id and also username to avoid ↵Renato Botelho2014-09-251-1/+3
| | | | removing wrong users when browser back button is used. It should fix #3856
* Update jquery-ui components to 1.11.1, it fixes #3879"Renato Botelho2014-09-221-1/+1
|
* Replace GET by POST on system_usermanager.php and make necessary adjustments ↵Renato Botelho2014-09-111-118/+148
| | | | on necessary pages. It fixes #3856
* Back to referer instead of hard coded system_usermanager.php since this page ↵Renato Botelho2014-09-111-1/+6
| | | | is called from other places
* Add a cancel button for user and group edit pageRenato Botelho2014-09-111-0/+1
|
* Fix indent and whitespacesRenato Botelho2014-08-051-217/+234
|
* Make sure there are not empty options on dst select to avoid creating empty ↵Renato Botelho2014-08-051-0/+6
| | | | user or group. This issue was introduced by b4e9a4da
* Fix select nameRenato Botelho2014-08-051-1/+1
|
* Use count($array) where applicable, instead of a $rowIndex increment.N0YB2014-06-211-6/+5
|
* XHTML Compliance - System MenuN0YB2014-06-161-2/+12
| | | | Enforce select option
* XHTML Compliance - System MenuN0YB2014-06-161-2/+12
| | | | | | | | Advanced - Admin Access Tab Advanced - Firewall / NAT Tab Cert Manager - Certificate Revocation Tab User Manager - Users Tab User Manager - Groups Tab
* Tidy up "system_usermanager.php" XHTMLColin Fleming2014-05-271-7/+17
| | | | | | | | Add CLOSEHEAD varialbe and manually close HEAD Add CDATA sections to SCRIPTS Deprecate Ampersand in Anchor tags Remove NAME from TR tag, not valid in XHTML Remove WRAP from TEXTAREA and Javascript to take wrap off
* removed duplicate type=text/javascriptayvis2014-03-251-1/+1
| | | added type for <script>
* xhtml Complianceayvis2014-03-141-15/+15
| | | replaced <br>, <br/> and </br> with <br />
* Improve checks for params 'id', 'dup' and other similar ones to make sure ↵Renato Botelho2014-03-121-3/+4
| | | | they are numeric integer, also, pass them through htmlspecialchars() before print
* Call conf_mount_rw before delete user, a better fix for #3294Renato Botelho2013-11-021-0/+2
|
* Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-1/+1
|
* change to plus 100 years as opposed to hard coded dateCharlie Marshall2013-08-111-1/+1
|
* remove whitespacesCharlie Marshall2013-08-111-7/+7
|
* improve datePicker on usermanger pageCharlie Marshall2013-08-111-10/+12
|
* If an account has SSH keys, show them, don't show the checkbox to add keys. ↵jim-p2013-07-161-2/+2
| | | | Fixes #2729
* Tidy up "system_usermanager.php" XHTMLColin Fleming2013-04-081-72/+72
| | | | | | | | | Add CDATA sections to SCRIPT tags Close INPUT, IMG and BR tags Deprecate the ampersand in ANCHOR tags Remove the NAME paramenter from TR tags Moved NOWRAP into class statement Move TFOOT between THEAD and TBODY, this is a "quirck" of HTML
* Encode this before showing it.jim-p2012-10-311-1/+1
|
* Make tables sortablebcyrill2012-09-241-74/+80
|
* When renaming a user, make sure to remove the previous user or it gets left ↵jim-p2012-04-111-1/+3
| | | | in /etc/passwd.
* Convert strtotime() to DateTime object to fix 2038 roll-over issue.Yehuda Katz2012-02-141-10/+6
|
* Fix permission and certificate display for the admin userjim-p2012-01-061-1/+1
|
* Clarify textjim-p2011-08-301-4/+7
|
* Populate pconfig in all cases with user info, or else when you delete a ↵jim-p2011-08-111-14/+13
| | | | privilege, the list disappears until you go back and edit the user again. (Certs too)
* Ticket #1412. Fixing the access login to the user manager presented another ↵Ermal2011-06-061-346/+245
| | | | problem since now users cannot change their passwords anymore. Allow this through another page and an extra priviledge needed to be added to the user for allowing them to change the password.
* Fixes #1412. Properly pass the page to match so users are not always ↵Ermal2011-06-011-1/+1
| | | | presented with the change password screen. Proper fix.
* Fixes #1412. Properly pass the page to match so users are not always ↵Ermal2011-06-011-1/+1
| | | | presented with the change password screen.
OpenPOWER on IntegriCloud