Commit Graph

204 Commits

Author SHA1 Message Date
Marc Delisle
4a62cd2195 Improve function name 2013-08-11 15:18:26 -04:00
Marc Delisle
8657108a31 Improve function name 2013-08-11 15:15:24 -04:00
Marc Delisle
ac5fcf6071 Fix typo 2013-08-11 15:12:37 -04:00
xmujay
c93b7dfdd5 remove unneeded parameter and return values 2013-08-11 09:55:11 +08:00
xmujay
80cee56e6b rename function for better readability 2013-08-10 23:15:28 +08:00
xmujay
fc0d48dc31 fix code styles 2013-08-10 21:40:20 +08:00
xmujay
199272ab87 refactor function PMA_updateDataForAddUser 2013-08-10 21:20:26 +08:00
xmujay
6baf134076 refactor function PMA_updateDataForChangeOrCopyUser 2013-08-10 20:21:27 +08:00
xmujay
e50d16eb20 refactor PMA_updateDataForDBInfo, moving parameter into function 2013-08-10 20:14:29 +08:00
xmujay
990f4fb126 fix code style 2013-08-10 01:25:12 +08:00
xmujay
6199c105d2 update function name 2013-08-10 00:35:47 +08:00
xmujay
0a6937076f rename some functions 2013-08-09 21:49:28 +08:00
xmujay
04d36819cc refactor server_privileges.php: split long code to functions 2013-08-09 21:22:43 +08:00
Michal Čihař
ae14690b9c Wrap long line 2013-08-07 16:46:29 +02:00
Michal Čihař
54d0714c55 Prevent manual tweaking of url parameters
PMA_URL_getCommon provides better inteface to constuct them
2013-08-07 16:37:17 +02:00
Michal Čihař
657c3dfdc3 Various coding style fixes 2013-08-07 16:20:15 +02:00
Michal Čihař
a14a83b4a8 Documentation and coding style improvements 2013-08-07 16:17:02 +02:00
Michal Čihař
7e142381c9 Correctly generate link for exporting user
With PMA_URL_getCommon we get correct separator and escaping
for free.
2013-08-07 16:12:24 +02:00
Michal Čihař
311fc81bce Correctly generate link for revoking user
With PMA_URL_getCommon we get correct separator and escaping
for free.
2013-08-07 16:07:24 +02:00
Michal Čihař
950af59138 Correctly use PMA_URL_getCommon instead of manually adding some parameters 2013-08-07 16:01:10 +02:00
Michal Čihař
056ed1929e Correctly generate link for editing user
With PMA_URL_getCommon we get correct separator and escaping for free.
2013-08-07 15:57:46 +02:00
Michal Čihař
47b6481845 Remove always set $conditional_class variable 2013-08-07 15:48:19 +02:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
J.M
a1a830c2f1 Fix user table ajax add: User group cell missing 2013-08-03 21:37:06 +02:00
Kasun Chathuranga
6b18c1764b Unit tests for user group manipulation functions 2013-08-03 17:36:11 +05:30
Kasun Chathuranga
896c560b3f Merge branch 'master' into configurableMenus
Conflicts:
	libraries/server_privileges.lib.php
2013-07-31 10:44:06 +05:30
Kasun Chathuranga
82e776bd74 Order user groups in ascending order 2013-07-31 10:23:28 +05:30
Kasun Chathuranga
d8c97fa034 Delete related user group assignments when deleting a user group 2013-07-31 10:16:18 +05:30
Kasun Chathuranga
36217b01ee Do not show table header it there were no user groups 2013-07-31 10:09:27 +05:30
Kasun Chathuranga
25e9672f37 Ask for confirmation before deleting a user group 2013-07-31 10:04:27 +05:30
Kasun Chathuranga
54c29c182f "Edit user group" link should not be presented when no user group is defined 2013-07-31 07:48:08 +05:30
Marc Delisle
87fe4698e7 Clarify this message, because user groups are not related to privileges 2013-07-30 09:37:04 -04:00
Michal Čihař
9712b61234 We do not use tabs 2013-07-30 13:52:40 +02:00
Michal Čihař
9310e76a0e Fix indentation 2013-07-30 13:23:51 +02:00
Marc Delisle
a9b7592c8d English improvement in messages 2013-07-29 13:36:46 -04:00
Michal Čihař
1317d747a0 Fix typo 2013-07-29 15:37:36 +02:00
Michal Čihař
1a0ac83ee3 Remove extra space 2013-07-29 15:36:51 +02:00
Michal Čihař
0af37bf05b Add missing comma 2013-07-29 15:34:57 +02:00
Kasun Chathuranga
45645a192b Escape values in SQL queries 2013-07-16 06:43:05 +05:30
Kasun Chathuranga
4ff0272a9f Improve documentation comments 2013-07-15 09:35:50 +05:30
Kasun Chathuranga
4b3619fb47 Edit user group link should be shown only when menus feature is configured 2013-07-15 09:28:00 +05:30
Kasun Chathuranga
7149585f2d Remove not used parameter $hostname 2013-07-15 09:24:23 +05:30
Kasun Chathuranga
c6b9b3af73 Use passed username 2013-07-15 07:22:31 +05:30
Kasun Chathuranga
d33ad15788 Displaying and editing user group moved to user overview table 2013-07-15 07:19:48 +05:30
Kasun Chathuranga
e2ae0abadb Indicate user group assignments in user overview table 2013-07-14 22:48:28 +05:30
Kasun Chathuranga
55746d61db Correctly indicate group with no users 2013-07-14 00:48:48 +05:30
Kasun Chathuranga
fb50fd2efe Use htmlspecialchars 2013-07-14 00:40:53 +05:30
Kasun Chathuranga
0c29eb758a Allow viewing users belonging to a particular user group 2013-07-14 00:29:23 +05:30
Kasun Chathuranga
3e8325afb0 Move User groups related functionality to a separate sub menu tab 2013-07-12 18:37:48 +05:30
Kasun Chathuranga
f56891acec Merge branch 'master' into configurableMenus
Conflicts:
	libraries/Menu.class.php
	libraries/Util.class.php
2013-07-12 17:01:03 +05:30