plegall
20c2586d42
(cp ab46632) Revert "Include pwg_token in user list POST request ( Fixes #748 ) ( #866 )"
...
This reverts commit 65ac272179 .
2019-04-02 14:08:14 +02:00
plegall
90243ddb0c
(cp 65ac272) 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:52:47 +02:00
plegall
4f42239aec
(cp 7511881) fixes #887 , $selection is never set on PHP side, no need to use it in template
...
... and it makes the template compatible with PHP 7.2
2018-07-04 17:12:52 +02:00
plegall
5a80c0a604
user manager, ability to open the user add form with url parameter
...
to prepare the Tour of 2.9 new features
2017-03-16 15:42:58 +01:00
plegall
479204bd17
fixes #304 , disable autoWidth on dataTables
...
Seems to avoid misalignement on Internet Explorer and offers a better user
experience when you modify width of your web browser.
2017-03-02 16:30:45 +01:00
plegall
58ccafd443
fixes a few issues on alignement/color with dataTables 1.10
2017-02-10 19:59:59 +01:00
plegall
806a3b7ae7
feature #378 , bug fixed on draw() call
...
The oTable javascript variable is built with jQuery('#userList').dataTable(),
which returns a jQuery object, while jQuery(...).Datatable() would directly
return a DataTables API object. So now, to access the draw() function, we need
to get the api() first from the jQuery object.
https://datatables.net/manual/api#Accessing-the-API
2016-12-09 15:04:48 +01:00
plegall
c6ec8b87ab
fixes #206 , password generator on user creation form
2016-11-28 12:00:54 +01:00
plegall
83a30a9e23
feature #528 , less borders!
2016-09-26 15:18:55 +02:00
modus75
8b51eb1b40
upgrade datatables to 1.10.11 (issue #378 )
2016-02-18 21:33:06 +01:00
plegall
6290be46f2
fixes #419 , an admin can't change webmaster password
2016-02-12 14:56:00 +01:00
plegall
417a6b77b2
bug #409 fixed: handle error returned by pwg.users.setInfo
2016-01-28 12:33:31 +01:00
plegall
a3f80046b6
feature #397 , close popin when user deleted
2016-01-09 18:47:50 +01:00
plegall
d78caf8603
move new CSS rules to theme.css instead of {html_style}
2016-01-09 18:28:26 +01:00
plegall
041065a824
feature #398 , update user list when user is modified
2016-01-09 18:01:18 +01:00
plegall
c4678c37a2
feature #397 , edit user in a popin
2016-01-09 17:55:44 +01:00
plegall
ab00c52430
feature 3133: add colorscheme parameter for themes. This way we can use the
...
appropriate CSS for selectize (and other things)
git-svn-id: http://piwigo.org/svn/trunk@29389 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-03 09:02:07 +00:00
plegall
bf58209d7d
bug 3104: less rights for admins (compared to webmaster). Now an admin can't:
...
* delete a webmaster
* give webmaster/admin status to any user
* change status of a webmaster/admin
git-svn-id: http://piwigo.org/svn/trunk@29074 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-25 09:10:49 +00:00
mistic100
84d94906d2
add dark selectize theme + "ternary" template modifier
...
git-svn-id: http://piwigo.org/svn/trunk@28703 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-14 14:15:05 +00:00
mistic100
9a842dd86a
feature 3077 : fix addAlbum process when creating the first ever album, improve data API
...
git-svn-id: http://piwigo.org/svn/trunk@28555 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-28 19:04:40 +00:00
mistic100
2755a2f598
feature 3077 : use Selectize on user_list
...
git-svn-id: http://piwigo.org/svn/trunk@28501 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-18 11:57:18 +00:00
plegall
ad12822489
merge r28038 from branch 2.6 to trunk
...
bug 3068 fixed: on Internet Explorer 8, indexOf function is broken.
git-svn-id: http://piwigo.org/svn/trunk@28039 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-01 13:11:14 +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
plegall
b08c46f3c3
merge r27810 from branch 2.6 to trunk
...
bug 3055: add security pwg_token on API methods introduced in Piwigo 2.6
(pwg.groups.addUser, pwg.groups.deleteUser, pwg.groups.setInfo, pwg.users.add,
pwg.users.setInfo, pwg.permissions.add, pwg.permissions.remove)
git-svn-id: http://piwigo.org/svn/trunk@27811 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-17 22:20:28 +00:00
plegall
4c4fb7d9d9
feature 1668: use underscore.js to template the userDetails instead of
...
generating HTML directly in javascript. Will make work easier for plugins
modifying the user profile.
git-svn-id: http://piwigo.org/svn/trunk@26270 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-27 20:50:51 +00:00
plegall
a3fd9b692b
feature 1668: change the link text to "close" (with the appropriate icon) when user profile is open.
...
git-svn-id: http://piwigo.org/svn/trunk@26230 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-26 12:26:22 +00:00
plegall
943d7d2272
feature 1668, user manager redesign: change the way we open user details to make it "more obvious"
...
git-svn-id: http://piwigo.org/svn/trunk@26177 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-24 14:30:46 +00:00
plegall
c108fdd6b4
feature 1668, user manager redesign: do not let the administrator try to
...
modify the status of protected users (pwg.users.setInfo will deactivate
status change for these users anyway)
git-svn-id: http://piwigo.org/svn/trunk@26052 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-20 14:02:23 +00:00
plegall
e1c6ac2379
feature 1668, user manager redesign:
...
* bug fixed: initialize nb_image_page and recent_period with current user
* in batch actions, use sliders for recent_period and nb_image_page
git-svn-id: http://piwigo.org/svn/trunk@26051 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-20 13:33:48 +00:00
plegall
97371a948a
feature 1668: hide "delete" link for protected users, hide "change username" and "email address" for guest
...
git-svn-id: http://piwigo.org/svn/trunk@25928 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-12 09:51:47 +00:00
mistic100
15c2dda934
don't display "null" when email address is empty on users manager
...
git-svn-id: http://piwigo.org/svn/trunk@25844 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-08 13:03:05 +00:00
rvelices
f289c2a44f
english lang correction (forgot template)
...
git-svn-id: http://piwigo.org/svn/trunk@25570 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-19 04:31:24 +00:00
plegall
0ed662ef77
feature 1668: replace "Interface theme" by "Theme".
...
git-svn-id: http://piwigo.org/svn/trunk@25549 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 13:53:19 +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
c374e7d6af
feature 1668: add new language strings for the new user manager.
...
git-svn-id: http://piwigo.org/svn/trunk@25502 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-16 22:01:58 +00:00
plegall
d27e783e5b
feature 1668: nb_image_page or recent_period in database will automatically take the nearest (bigger) value in the value list
...
git-svn-id: http://piwigo.org/svn/trunk@25492 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-15 22:37:43 +00:00
plegall
5f148e96bc
feature 1668: in user details, ability to modify recent_period and nb_image_page with sliders
...
git-svn-id: http://piwigo.org/svn/trunk@25491 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-15 22:28:10 +00:00
plegall
1951be5673
feature 1668: implement "change password" and "edit username"
...
git-svn-id: http://piwigo.org/svn/trunk@25483 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-14 13:41:34 +00:00
plegall
46fd7a42c1
feature 1668: delete single user, better colors for admin dark theme.
...
git-svn-id: http://piwigo.org/svn/trunk@25479 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 19:43:49 +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
1f4e4b947d
feature 1668: visual enhancement for user manager redesign. Appropriate
...
(fontello) icons for open/close user details, appropriate colors for
DataTables.
git-svn-id: http://piwigo.org/svn/trunk@25457 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 13:36:14 +00:00
plegall
e48388d49e
feature 1668: add a <form> to avoid confusing input[type=radio] (enabled_high, show_nb_hits...) between users.
...
git-svn-id: http://piwigo.org/svn/trunk@25445 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 10:03:08 +00:00
plegall
88001efb90
feature 1668: first draft, add a complete form to edit user properties inside the DataTable.
...
git-svn-id: http://piwigo.org/svn/trunk@25405 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-08 21:50:52 +00:00
plegall
5f366b2ec6
feature 2976: pwg.users.delete requires pwg_token
...
git-svn-id: http://piwigo.org/svn/trunk@25282 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 12:37:32 +00:00
plegall
df6718f3f8
feature 1668, user manager redesign: ability to add a new user (call to pwg.users.add through AJAX)
...
Move the "send connection settings" code to function register_user (avoid code duplication).
git-svn-id: http://piwigo.org/svn/trunk@25237 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 12:54:46 +00:00
plegall
6d73f88a51
feature 1668: implement all remaining actions (all using the new version of pwg.users.setInfo with multiple user_id)
...
git-svn-id: http://piwigo.org/svn/trunk@25198 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-28 19:18:45 +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
mistic100
c501688dbc
feature:2549 Allow to disable comments for everybody
...
git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-14 22:29:10 +00:00
mistic100
a412558492
feature:2021 change contents of the mail + add option on admin/user_list
...
git-svn-id: http://piwigo.org/svn/trunk@12886 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-14 15:02:02 +00:00
rvelices
65590487d4
remove max photo width/height from user profile because not used anymore
...
git-svn-id: http://piwigo.org/svn/trunk@12877 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-12 05:57:43 +00:00