57 Commits

Author SHA1 Message Date
Linty 33024bcc8d fixes #2555 toggle password links by user status
Show copy/send password links by default but hide them for users with status 'generic'. Adds a change handler in fill_user_edit_properties to call toggle_send_copy_password when the status select changes, and implements toggle_send_copy_password(status) to show/hide #copy_password_link and #send_password_link accordingly.
2026-04-29 16:20:37 +02:00
Linty c9af737962 fixes #2544 improve AddUser UI layout
Hide AddUser error block on close and make the AddUser popin scrollable with layout fixes. Also refine two French translations (password and login key).
2026-03-26 10:10:20 +01:00
HWFord 5a3f1a306d issue #2516 update message icons
change all message icons to circled versions
2026-02-19 11:19:23 +01:00
Linty c6e4a3f0a5 fixes #2441 add password fields for generic users in user creation
Introduces password and password confirmation fields when creating a user with 'generic' status. The password fields are shown or hidden based on the selected user status, and validation is added to ensure passwords are entered and match. Also adds a button to generate random passwords for new generic users.
2025-11-14 17:45:06 +01:00
Linty 8eae7bafa9 fixes #2340 ensure default group is assigned when adding a new user 2025-03-05 18:00:59 +01:00
Linty c4e23c642f fixes #2337 set correct per_page to avoid excessive requests
...and remove pagination-per-page trigger
2025-03-04 11:08:26 +01:00
Linty e2fbf45cd8 fixes #2288 display the correct mail after changed it 2024-12-04 14:54:56 +01:00
Linty 1525f9ced2 fixes #2283 reduce font-size for initials
...and add no wrap for username
2024-11-25 11:27:32 +01:00
Linty 34296598d4 fixes #2281 add two default conf for reset and activation link
When a password activation or reset link is generated, the link expiry time is now defined in two conf: $conf[’password_reset_duration‘] with a default time of one hour and $conf[’password_activation_duration‘] with a default time of 72 hours.
2024-11-20 17:09:26 +01:00
Linty e53d7332de fixes #2250 add tooltip on main user icon 2024-10-24 16:00:09 +02:00
Linty 1d087ebefe fixes #2158 refactor user data assignment
...with spread operator for cleaner code. This change also allows for compatibility with additional fields that may be returned by the API, such as those added by plugins, ensuring all elements are captured without explicitly defining each one.
2024-10-16 15:18:05 +02:00
mistic100 3f07808d7f Fix "total_count" type on some WS methods 2024-08-30 20:24:42 +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 2f89bf6726 fixes #2189 remove password link input text when email is sent
I've also modified the messages
2024-07-16 10:15:59 +02:00
Linty fa92e9c3f7 fixes #2186 remove delete icon when a user is set as main user 2024-07-15 12:22:28 +02:00
Linty c8d7503d4e related to #2165 new add user popin
- add field for add user
- in the `pwg.users.add` method, the params `send_password_by_mail` does nothing anymore. Because we no longer want to send passwords in clear text.
- in the `pwg.users.add` add a new `auto_password` parameter to generate a random password when a user is created
- use this parameter (`auto_password`) in user_list.js
- change mail content et password page on first login
2024-06-28 18:56:28 +02:00
Linty cd8ba0a456 issue #2158 fix duplication of the icon crown and name when saving 2024-06-14 15:28:07 +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 fbae0b735c fixes #2071 sorts users by date and username 2023-12-18 18:05:09 +01: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 47301fd120 fixed #1903 removed english sentence in user delete confirm 2023-04-24 17:19:29 +02:00
MatthieuLP b4285310e9 fixed #1880 Changing email to a wrong email does not block the user after validation 2023-03-14 10:49:46 +01:00
MatthieuLP 1a62df3251 fixed #1878 added status translation in user manager 2023-03-13 10:28:40 +01:00
MatthieuLP c6ada9b9ac related to #1858 Most recent user first 2023-02-06 15:01:35 +01:00
MatthieuLP 23a8d1d1fe related to #1834 added filtered users sentence and fixed search cancel in search input 2022-12-20 16:33:19 +01:00
MatthieuLP aa4ee2ca89 related to #1834 implemented badge on filter button 2022-12-20 14:21:23 +01:00
MatthieuLP 07ef2e0033 related to #1832 removed console.log 2022-12-20 10:54:38 +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
MatthieuLP 2a72114377 related to #1826 focus on user input when we create a user 2022-12-14 12:36:33 +01:00
MatthieuLP 6055ea13fc related to #1825 'Select the whole set' button takes in account the filters used 2022-12-14 12:11:23 +01:00
plegall 735cda77a5 fixes #1824 user manager, do not apply filter when closed 2022-12-13 15:34:33 +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 f7301e5011 related to #1571 moving js to tpl so plugins can modify it 2022-06-27 11:23:00 +02:00
guetz 0b51ba3720 #1467 Plugin download page general redesign
Implements the new general design (thanks to Clement's and Jule's mockup)
Allows the display or the hiding of non-compatible plugins
Add advanced filters in the page (harmonization with the advanced filters in the user manager)
Add the display of a screenshot, the rating and the tags for each plugins
Add Piwigo's Certification levels for each plugins
Add the file admin/themes/default/css/components/general.css to save css compnents that will be used in diffenrent places in the admin
2022-03-05 11:52:53 +01:00
Matthieu Leproux 74153db445 fixes #1557 removed %% in front and escaped groups for mysql8 2021-11-15 13:45:44 +01:00
Matthieu Leproux cd433f40e9 fixes #1539 redirect between GM and UM works now 2021-10-22 10:38:39 +02:00
Matthieu Leproux d8862e43ac related to #1524 Input verification 2021-10-15 14:36:05 +02:00
Matthieu Leproux 20b7790038 fixes #1521 errors are displayed properly now 2021-10-14 11:25:00 +02:00
Matthieu Leproux 5803c76f4d fixes #1505 Smaller add user popin 2021-10-07 13:39:05 +02:00
Matthieu Leproux de8f94d4eb related to #1485 fix edit admin as admin bug 2021-10-04 09:37:14 +02:00
Matthieu Leproux 960f02ab0c fixes #1488 replace guest initial by guest icon in popin 2021-09-28 12:45:18 +02:00
Matthieu Leproux 73ef21ace6 related to #1485 edit own status not allowed and cancel plugin title adaptation 2021-09-28 10:35:45 +02:00
Matthieu Leproux 92dbf4215b related to #1462 Adjustments for disabled fields + fadeout on alert box 2021-09-16 16:32:36 +02:00
Matthieu Leproux 56cefc5750 related to #1462 Status verification before user edition 2021-08-12 15:03:20 +02:00
Matthieu Leproux 13143602b6 fixes #1458 hidde delete user btn is the selected user is connected 2021-08-09 11:14:00 +02:00
Matthieu Leproux f56464d6d0 fixes #1457 first load is done properly 2021-08-03 13:40:43 +02:00
Matthieu Leproux fc7fb1b7d7 Fixes #1446 Dark mode for add user popin done + focus on input 2021-07-09 11:38:07 +02:00