Matthieu Leproux
f0110cead6
related to #1524 API username variication update
2021-10-19 13:45:32 +02:00
Matthieu Leproux
d8862e43ac
related to #1524 Input verification
2021-10-15 14:36:05 +02:00
plegall
4b6c64be3b
fixes #1397 deactivating a user deletes all his sessions
2021-05-05 17:03:19 +02:00
plegall
fe3147d601
issue #1265 user manager new design by @GitBluub and @MatthieuLP
...
Because we had a ghost page user_list_new, I didn't simply merged the feature branch, but I reproduced the new code in a single commit on master.
2021-05-05 13:49:17 +02:00
plegall
7d7943b3ed
fixes #1275 delete password reset key when email address is changed
2020-12-22 15:04:30 +01:00
plegall
2842934633
fixes #899 API methods to manage user favorite photos
...
* rename methods to pwg.users.favorites.getList + pwg.users.favorites.add + pwg.users.favorites.remove (better for alpha ordered listing)
* simplify method ws_users_favorites_getList to only work with current user
* use the new option "ignore" on single_insert
2019-07-17 15:48:06 +02:00
Dave Anderson
1d113c002b
API call to add/remove favorites ( #810 )
...
add API methods pwg.users.addFavorite and pwg.users.removeFavorite
2019-07-15 16:58:23 +02:00
Dave Anderson
d406a12d45
API call to fetch user favorites ( #582 )
...
* new api call to get user favorites
2019-07-15 16:04:52 +02: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
940d1d2e8c
issue #552
...
* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
2019-04-01 16:19:09 +02:00
plegall
63932b9390
fixes #735 , add API method pwg.users.getAuthKey
2018-02-22 13:26:31 +01:00
plegall
1c71e59303
fixes #674 , by default user groups should be an empty array, not an empty string
2017-05-05 11:00:53 +02:00
plegall
4560e2d824
fixes #478 , add new column user_infos.last_visit
...
This will speed up user edit popin opening, by avoiding to search in history for the last user visit.
The column user_infos.last_visit_from_history true/false says if the last_visit has already been search in history (to avoid making it twice). I could have implemented the search of last_visit for all users in the migration task 149 but in case of many users and long history, it would have taken years to execute...
2016-05-31 16:00:03 +02:00
plegall
fbd90fa460
fixes #414 , deactivate auth keys on password change
2016-02-12 20:20:12 +01:00
plegall
6290be46f2
fixes #419 , an admin can't change webmaster password
2016-02-12 14:56:00 +01:00
plegall
c789347c51
happy new year 2016, all headers updated
2016-01-14 12:17:58 +01: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
8a1ea2ad0a
feature 2807: nicer display of "from to" dates (required changes in "format_date" function)
...
git-svn-id: http://piwigo.org/svn/trunk@28981 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-07 09:54:15 +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
cdeb5959bb
merge r27715 from branch 2.6 to trunk
...
feature 3054: new trigger ws_users_getList
git-svn-id: http://piwigo.org/svn/trunk@27716 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-12 13:42:31 +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
5c9b9c43f5
bug 3012 fixed: invalidate_user_cache() on pwg.users.setInfo, pwg.groups.addUser, pwg.groups.deleteUser
...
git-svn-id: http://piwigo.org/svn/trunk@25968 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-16 15:09:49 +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
b9233b8343
feature 2976: ability to set group association with pwg.users.setInfo
...
git-svn-id: http://piwigo.org/svn/trunk@25474 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 12:58:21 +00:00
mistic100
892fdb202e
feature 2976: improve lisiblity of pwg.users.getList options on APi explore + optimizations (remove in_array())
...
git-svn-id: http://piwigo.org/svn/trunk@25472 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 11:08:22 +00:00
plegall
0cb2c621de
feature 2976: makes sure we output registration_date if registration_date_* is requested (same for last_visit_*)
...
git-svn-id: http://piwigo.org/svn/trunk@25461 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 22:11:11 +00:00
plegall
c10683b35b
feature 2976: add output fields for pwg.users.getList. registration_date,
...
registration_date_string, registration_date_since, last_visit,
last_visit_string, last_visit_since.
bug fixed: format_date(), removing leading zero on day number
git-svn-id: http://piwigo.org/svn/trunk@25459 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-11 17:30:39 +00:00
mistic100
2eae3907a7
splits ws_functions.inc.php in 8 files + comments + code cleaning
...
git-svn-id: http://piwigo.org/svn/trunk@25281 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 11:03:10 +00:00