434 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
04cb 964a2d8ede Fix disk storage unit conversion from kB to GB/MB
Use binary (1024-based) prefixes instead of decimal (1000-based) for
storage unit conversion. Previously dividing by 1000000 and 1000,
now correctly dividing by 1048576 (1024*1024) and 1024.

Fixes #2502
2026-03-07 13:38:11 +01:00
HWFord 4b68edbd5c issue #2516 update message colors 2026-02-19 15:58:46 +01:00
HWFord 5a3f1a306d issue #2516 update message icons
change all message icons to circled versions
2026-02-19 11:19:23 +01:00
HWFord 3195a33b76 fixes #2516 update message colors and design 2026-01-27 16:02:46 +01:00
Linty 31d8f4516c fixes #2450 add user agent in activities performed with api key
Updated user activity display to show when a user is connected via API key, including an icon and updated tooltip. Modified backend to set a 'connected_with' flag in activity details when API key authentication is used.
2025-11-18 15:48:42 +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 0f494baa0c fixes #2440 enhance login security and user activity display
Improves login security by:
- implementing constant-time authentication to reduce timing attacks
- refactoring user lookup into find_user_by_username_or_email() for username or email login
- introducing a fake user to keep password verification time consistent
- adding a finalize_login hook so plugins can control the authentication flow (2FA, rate limiting, etc.)

Also updates user activity JS to:
- better display action details
- properly handle user lists (login/logout with multiple users)
2025-11-13 14:05:35 +01:00
Linty 58a9447e01 fixes #2413 tag edit/duplicate now use raw_name as editable value 2025-09-26 13:39:28 +02:00
Linty 77c1fdd138 fixes #2225 redesign quick search help popin 2025-09-11 16:54:52 +02:00
HWFord 15d62dc586 issue #2353 update css for photo uplaod options 2025-09-02 15:13:15 +02:00
Linty 613dd410e5 issue #2364 fix guest author name and language key
Added support for bulk comment validation and deletion with updated confirmation messages and translations. Improved modal dialog behavior, including keyboard accessibility and button visibility. Updated CSS for consistent button styling across themes. Fixed author name display for guest comments.
2025-08-26 16:38:11 +02:00
Linty 57042cc475 fixes #2364 redesign admin comments management
Replaces legacy PHP comment management with a new interface for listing, filtering, selecting, validating, and deleting user comments. Updates templates and CSS for a modern, interactive experience, adds advanced filters, selection mode, and modal comment viewing. Removes obsolete server-side logic from comments.php and introduces new api methods for comment actions.
2025-08-26 14:35:31 +02:00
Linty 61961bd172 issue #2386 reset pagination on date filter change 2025-08-12 16:49:54 +02:00
Perrom 4dc2fc9f8d fixes #2386 update filters in users activity logs (#2399)
* Add an action filter and a date filter. 

* Additional filters on a specific object (photo/album/group) are available from their dedicated administration page.

* Performances of the page was improved : instead of loading 100k lines in activity table, we loop on 500 activity lines until 100 aggregated lines are found for the current page.
2025-08-08 15:17:50 +02:00
plegall 671657d78b fixes #2396 avoid duplicate image_id in link to manage uploaded photos 2025-07-31 23:56:52 +02:00
Perrom d0ac05d951 fixes #2353 update images with upload form (#2385)
Add a mode to update photos with the upload form. Modify the upload formats form, so that it will update the photo with the same file extension.
2025-07-31 10:41:01 +02:00
Linty 5e2251dff8 fixes #2383 add custom ellipsis to show end of long album names 2025-07-02 15:42:29 +02:00
Perrom 49f5b6162b fixes #2381 renamed tag former name use removed 2025-06-30 12:03:22 +02:00
Perrom 32d97ba55b relates #2350 small fixes 2025-04-15 12:03:08 +02:00
Perrom 38e771aa8a fixes #2350 highlight edited tag with a checkmark 2025-04-14 11:20:31 +02:00
Linty 8eae7bafa9 fixes #2340 ensure default group is assigned when adding a new user 2025-03-05 18:00:59 +01:00
Linty 4efcd98036 fixes #2339 prevent backend validation errors...
...by adding frontend checks for albums and tags
2025-03-05 17:22:40 +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 6489dceadf fixes #2329 sequentialize pwg.images.setInfo calls 2025-02-28 10:57:40 +01:00
HWFord b0905ac88c relates #2234 follow up dark mode standardisation
Finish updating dark mode colours
Also make some general CSS changes
2025-01-28 16:28:57 +01:00
Linty 1eb083bc63 fixes #2316 improve album selector validation and keyboard interaction
also add an error in the global batch manager when we perform an album association but without choosing an album
2025-01-27 16:08:32 +01:00
Linty 8f75afd625 fixes #2314 hide the error message when writing or closing the modal 2025-01-22 14:56:56 +01:00
Linty 64064b5974 fixes #2310 check whether there is a textarea when pressing enter 2025-01-09 10:33:09 +01:00
Linty 5182e69dcd fixes #2286 trigger the click action on pressing enter
...and if the value of applyAction is not equal to -1
2024-12-06 12:02:46 +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 0cee869971 fixes #2275 wrap the category name in another span
...with a plaintext style
2024-11-12 14:44:42 +01:00
Linty 25b919390e fixes #2274 load node when moving album in another one 2024-11-12 11:16:26 +01:00
Linty bc0a4bb107 fixes #2237 added a temporary parameter to pwg.images.setInfo
it's also adapted in the batch manager unit js file
2024-11-05 18:20:42 +01:00
Linty 95e85f264e fixes #2253 use only bulk_manager_filter category for album selection
I've also adapted the tpl and js files
2024-10-31 12:13:52 +01:00
Linty 29b1c32fbc fixes #2252 add null check for parent_node
...before accessing properties
2024-10-25 11:43:47 +02:00
Linty 75da48dadd fixes #2252 hide pencil icon during upload
...to prevent opening the album selector
2024-10-24 17:06:44 +02:00
Linty e53d7332de fixes #2250 add tooltip on main user icon 2024-10-24 16:00:09 +02:00
Linty 4f07c75b89 fixes #2247 load child nodes and open the node
...before adding a new one
2024-10-24 15:10:55 +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
Linty 1634bcf5cf fixes #2233 use .trigger('focus') instead of .focus()
because its deprecated
2024-09-25 14:54:05 +02:00
Linty 77c09413f0 fixes #2233 reset events on children node toggle
added preventDefault() to prevent page scroll to top caused by href attribute in `move-cat-add` events.
2024-09-25 14:43:37 +02:00
Linty f23ca21102 add focus and Enter key trigger for first album modal 2024-09-23 15:34:02 +02:00
Linty 91bb79c893 fixes #2226 implement album selector in batch manager filter and action 2024-09-23 12:44:00 +02:00
Linty 9a46f14f1c issue #2226 refactor album selector to class-based structure
- Update existing album selectors to new instantiation method
2024-09-23 12:40:33 +02:00
Linty 2121386ed0 fixes #2231 merging album search into album manager
- Delete old files (cat_search.php and cat_search.tpl) and his tab un add_core_tabs.inc.php
- Add search field and result in albums.tpl
- Separate js code from template
- Reuse data of albums.tpl for jqtree for the search algorithm
2024-09-20 16:19:07 +02:00
marsooooo e66de5a513 issue #2164 Update Metadata Sync function
Yet to be implemented, tags and date_creation
2024-09-13 16:53:18 +02:00