Commit graph

19 commits

Author SHA1 Message Date
Louis
44f18a09d1 fixes #1214 select only filtered users + fixes #999 use up-to-date datatable API
* use datatables.ajax instead of datatables.ajaxsource. The request parameters have changed, the backend has been updated accordingly

* the "select all" users is replaced by "select page" + "select whole set". The selection only applies to filtered list. If you filter on a group, for example, the "select whole set" will only select users of this group.
2020-11-05 15:49:58 +01:00
plegall
e21ef06e3d fixes #1162 filter users on a specific group 2020-02-18 10:50:36 +01:00
Thomas Stieler
884c43280e Quote mysql keyword groups 2019-12-16 10:53:46 +01:00
plegall
c1eecab364 fixes #996 escape word "groups" in SQL queries, new reserved word with MySQL 8 2019-06-28 18:07:53 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
ab46632a32 Revert "Include pwg_token in user list POST request (Fixes #748) (#866)"
This reverts commit 65ac272179.
2019-04-02 14:06:54 +02:00
Daniel Dadap
65ac272179 Include pwg_token in user list POST request (Fixes #748) (#866)
* user list: set pwg_token in POST data to user_list_backend.php

The POST data for the user data table request was empty, which could
cause user data retrieval to error out with HTTP 403 due to missing
the authentication token.

* user_list_backend: fix uninitialized variables

If iSortCol_0, sEcho, or sSearch are unset in the HTTP request, it
could cause variables to be uninitialized, potentially causing error
messages to be included in the HTTP response. These error messages,
if present, can prevent the JSON response from being parsed.

* user list: delete unnecessary quotes

Javascript object key names don't generally need to be quoted.
Remove some quotes that were introduced by a recent change that added
a body to the AJAX POST request to retrieve the user list.
2018-07-06 10:51:04 +02:00
plegall
1da9d6afc4 fixes #823 add input user check to avoid SQLi on users list 2017-12-18 14:02:52 +01:00
plegall
6ce14fc958 fixes #705, check user_list_backend.php input params 2017-06-13 12:27:37 +02:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
393b1b38ef merge r27996 from branch 2.6 to trunk
bug 3065 fixed: avoid SQL errors with external authentication



git-svn-id: http://piwigo.org/svn/trunk@27997 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-28 13:26:30 +00:00
plegall
6aa62e8613 merge r27836 from branch 2.6 to trunk
bug 3053 fixed: columns "groups" and "privacy level" come back in Piwigo 2.6
user manager (which still needs improvement on filtering options...)



git-svn-id: http://piwigo.org/svn/trunk@27837 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-18 22:23:38 +00:00
mistic100
bbb59ee3f9 add two triggers and user_list_backend.php and don't fail on unknown column
git-svn-id: http://piwigo.org/svn/trunk@26618 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-11 13:08:26 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
plegall
09a00911c2 feature 1668: protect dataTables backend script (ajax called, serverside processing)
git-svn-id: http://piwigo.org/svn/trunk@26050 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-20 12:59:07 +00:00
plegall
76315b650c feature 1668: translate user status in user list
git-svn-id: http://piwigo.org/svn/trunk@26049 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-20 12:36:59 +00:00
rvelices
7726147445 - ws users/groups/perms returns int instead of strings for ids
- fix ws permissions getList (sometimes got objects sometimes arrays)
- users_list data table uses POST (avoid extra lengthy urls)

git-svn-id: http://piwigo.org/svn/trunk@25545 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 05:03:00 +00:00
plegall
146ee8c26f feature 1668: new display of userDetails, manage group list in user details,
display registration date in user list.

work in progress, not finished yet.


git-svn-id: http://piwigo.org/svn/trunk@25475 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 14:40:00 +00:00
plegall
2fdcfdddfe feature 1668, in progress: redesign user manager (jQuery datatables, AJAX calls)
git-svn-id: http://piwigo.org/svn/trunk@25194 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-28 16:25:46 +00:00