133 Commits

Author SHA1 Message Date
Linty
8fb8f9f8f1 fixes #2430 use configurable user_fields in sql query
Replaced hardcoded 'username' and 'id' fields in the user query with configurable fields from $conf['user_fields'] to improve flexibility and compatibility with custom user schemas.
2025-11-02 13:48:40 +01:00
Linty
c1ad552a86 fixes #2223 initialize groups_for_filter before using it 2024-09-10 10:26:18 +02:00
plegall
3ee277f8e0 fixes #171 ability to filter user list on a specific user 2024-08-21 12:11:27 +02:00
Linty
bfe1e85801 fixes #2201 better implementation for the number of associated users
removed the javascript part to directly manage disabling an option via the tpl in a foreach and data in php
2024-08-07 12:41:52 +02:00
Linty
316c20e5bd fixes #2201 for each filter we add the number of associated users
and the select is deactivated if no users are associated.
2024-08-05 17:50:10 +02:00
Linty
27cd5cde9e related to #2158 update user and guest pop in
- Implementation of a new modal for modifying a user or guest
- Addition of a function to allow plugins to add a tab to the new user modal
- Fix bug: "badger-number" is updated when a user is added or deleted
- Fix bug: When the user who is editing has permissions to delete the user he is modifying, the delete icon is now displayed correctly
- Added a new api method for modifying the main user and generating a link to reset a password
- Passed $conf[‘webmaster_id’] in database configuration
2024-05-31 18:12:52 +02:00
Willy "Linty
a267cc022b Issue #2035 Declare new parameters
We change min and max format date, now we expect `YYYY` or `YYYY-mm`or `YYYY-mm-dd`
2023-11-10 14:40:08 +01:00
MatthieuLP
4ea57967cd fixed #1832 Number of displayed users in user manager is now saved in user_prefs 2022-12-19 16:35:46 +01:00
Matthieu Leproux
9a4f9272b2 fixed #1784 added button in user edit popin to go on te history page with the user as filter 2022-11-09 15:45:48 +01:00
Matthieu Leproux
74e932a5a9 fix #1699 we use user_prefs for the user view selector now 2022-08-01 15:57:58 +02:00
Matthieu Leproux
8dae4cb770 fix #1656 Page title uniformisation 2022-04-26 12:15:53 +02:00
Matthieu Leproux
56cefc5750 related to #1462 Status verification before user edition 2021-08-12 15:03:20 +02:00
MatthieuLP
ec4d677cf7 issue #1378 add Activity tab in user manager 2021-06-22 18:15:17 +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
Louis
0ae47f786e issue #1214 re-added some var
re-added the variables ACTIVATE COMMENTS and Double_Password that were deleetd in the previous commit
2020-11-05 16:39:07 +01:00
Louis
712bf84d16 issue #1214 remove useless code
removed query to get all users because it is not used in the template anymore
2020-11-05 16:09:10 +01:00
plegall
e21ef06e3d fixes #1162 filter users on a specific group 2020-02-18 10:50:36 +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
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
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
2d75fd4579 bug 3165 fixed: template variable ACTIVATE_COMMENTS had been accidentally removed with Piwigo 2.6
git-svn-id: http://piwigo.org/svn/trunk@30310 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-26 09:42:26 +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
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
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
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
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
flop25
cd76660cf6 bug:2948 The registration can be done without typing a password
The password is only mandatory on the public register page
Better error messages from admin/user_list.php

git-svn-id: http://piwigo.org/svn/trunk@25121 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 17:55:00 +00:00
mistic100
2d2a2e2813 bug 2988: register_user() must returns new user id
git-svn-id: http://piwigo.org/svn/trunk@25116 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 13:01:25 +00:00
mistic100
ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
mistic100
2f08283864 feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 11:04:11 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
plegall
05b73baf39 merge r14430 from branch 2.3 to trunk
feature 2625: ability to sort user list by email address



git-svn-id: http://piwigo.org/svn/trunk@14431 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-26 09:08:47 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +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
rvelices
d1c4204a42 language cleanup (exact duplicates or almost same duplicate - capital/lower case first letter ...)
git-svn-id: http://piwigo.org/svn/trunk@12681 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-01 21:02:52 +00:00
flop25
2f6d84e676 bug:2297
stripslashes added

git-svn-id: http://piwigo.org/svn/trunk@10856 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-12 13:08:56 +00:00
mistic100
76194270be bug:2224 one parameter for change thumnails number (needs some translations)
git-svn-id: http://piwigo.org/svn/trunk@10198 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-09 14:52:15 +00:00
mistic100
00b11dd74e bug:2233 specials chars error on user_list.php
git-svn-id: http://piwigo.org/svn/trunk@9989 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-02 13:36:14 +00:00
plegall
8a7004e61e bug 2018: now when a user gets an "admin" or "webmaster" status he
automatically gets the "admin" privacy level.


git-svn-id: http://piwigo.org/svn/trunk@8758 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 11:18:55 +00:00
plegall
6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
patdenice
e97974a42e feature 2060: Remove adviser from db structure.
Remove adviser from user_list page and some db queries.

git-svn-id: http://piwigo.org/svn/trunk@8131 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 14:36:20 +00:00
nikrou
d8d8ca5ed3 Fix get_enums function for SQLite
hard coded enums values for all tables
because enum feature doesn't exists for SQLite.

git-svn-id: http://piwigo.org/svn/trunk@6153 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09 20:52:38 +00:00
nikrou
94d40c0eab Bug 1617 fixed : help page is displayed in current theme in public or admin pages
git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-18 18:59:37 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
plegall
14778ce673 feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-13 00:00:52 +00:00