Commit Graph

11890 Commits

Author SHA1 Message Date
Piwigo-TranslationTeam cfeaaaeee5 Update cs_CZ, thanks to webprostor 2025-11-23 14:21:54 +01:00
Piwigo-TranslationTeam ba30d5b201 Update nl_NL, thanks to pauldaytona 2025-11-23 14:21:51 +01:00
Piwigo-TranslationTeam d978447b82 Update de_DE, thanks to slim 2025-11-23 09:26:14 +01:00
plegall b1288115f5 fixes #2454 remove useless variables 2025-11-21 18:04:21 +01:00
Linty 175b469a7e fix typo in activation link notification message
Corrected the English translation for the activation link notification by removing an unnecessary comma in the message.
2025-11-20 17:28:36 +01:00
plegall 4f648db510 issue #2445 avoid null input on strip_tags (image name can be null) 2025-11-19 16:09:50 +01:00
plegall 545cad3501 fixes #2452 anonymous stats get richer with list of remote apps
* no "discovery", Piwigo searches for known patterns in the activity table
2025-11-19 14:21:00 +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
plegall da2804db72 next release will be 16.0.0RC3 16.0.0RC3 2025-11-18 11:07:49 +01:00
plegall 349a6fb64d copy languages from translation@4dba27b7f 2025-11-18 10:58:31 +01:00
Linty e0a2a0ba2b fixes #2449 enhance password reset flow with verification and lockout
Added email notification for successful password reset, improved verification code handling, and implemented account lockout after too many failed attempts. Introduced new language strings for user feedback and security messages. Refactored password reset logic to better handle guest/generic users and API key recommendations.
2025-11-17 21:43:14 +01:00
Linty 409d89af4c fixes #2448 update user status label
Changed the "user_status_normal" label from "User" to "Basic" in English and from "Visiteur" to "Basique" in French to improve clarity and consistency in user status naming.
2025-11-17 14:42:22 +01:00
HWFord c04374928a issue #2439 update popin
Add translations
remove last major update conf when in piwigo Upgrade
don't send popin template if not needed
2025-11-17 10:00:53 +01:00
Linty 56a48aa76b fixes #2442 remove "Customize" and related strings from language files
Deleted the "Customize" and "customize the appareance of the gallery" translation strings from all language files. Added a new string for "edit user preferences" in en_UK and fr_FR. This streamlines user preference terminology and removes redundant or outdated translation keys.
2025-11-14 19:44:47 +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
HWFord 146c694c6f issue #2437 update standard pages
change how required inputs are handled
change js to display error message for inputs only with data-required
for register handle mandatory or not email
update success message css
2025-11-14 10:34:43 +01:00
Linty c43c3696e0 issue #2440 clear fake user cache on successful login
Added a call to clear_fake_user_cache() in pwg_login to ensure the fake user cache is reset after a successful login. Also introduced the clear_fake_user_cache() function for this purpose.
2025-11-13 15:44:00 +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 c257866d71 fixes #2436 refactor async upload authentication
Replaces direct login check with ws_session_login for 'pwg.images.uploadAsync' and updates error handling to return the login response. Also updates the web service method definition to make username and password optional and clarifies admin credential requirements in the documentation.
2025-11-13 13:04:22 +01:00
HWFord 17829fdc52 fixes #2439 update whats new popup 2025-11-12 11:37:26 +01:00
HWFord 7ccaa573f5 fixes #2437 add missing redirect input 2025-11-12 09:44:52 +01:00
plegall e07ca962f0 fixes #2434 always redirect server-side, not browser-side"
... this will avoid to try loading theme templates (with unset variables)
2025-11-11 18:51:32 +01:00
plegall 1d1a8b15da next release will be 16.0.0RC2 16.0.0RC2 2025-11-10 17:42:30 +01:00
plegall a96a8c1b44 copy all languages from translation@15800f46d 2025-11-10 17:40:35 +01:00
plegall eb37a4e5f1 fixes #2423, fixes #1949, fixes #2401 render title/description and keep HTML in descriptions
... and in several API methods add new output fields name_raw and comment_raw that are ready for edition
2025-11-10 17:00:58 +01:00
plegall bc9526f323 fixes #2433 protect picture_modify.php from HTML just like pwg.images.setInfo
... and a extra check on input parameters
2025-11-10 16:04:51 +01:00
Eric Quinton be85e9381a Update functions_html.inc.php
replace "count xx != 0 by !empty, to support PHP 8.2 and after
2025-11-10 12:25:31 +01:00
Ben Becker 1647147a9c Remove comment 2025-11-10 12:01:00 +01:00
Ben Becker 24c51f7225 Issue 2331 fix large file sync timeouts
Put `getimagesize` behind a mimetype check, so it doesn't waste processing
time on large files like videos that are incompatible.
2025-11-10 12:01:00 +01:00
lephemere 0cb6914e5a issue #2124 fix typo in en_GB language 2025-11-10 11:58:21 +01:00
plegall a04c93cf76 fixes #2092 redesigned handling of return to gallery after photo edit
* instead of using the provided cat_id in the URL parameters, registers the "context" of the last 10 photos viewed. Be it an album, a search, a tag...
* maybe not the cleanest way to do it (because we do not rebuild the url string) but simple and straightforward
2025-11-03 21:49:23 +01:00
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 443e86aec2 fixes #2428 change language keys for api_key
Replaces 'Public key' references with 'ID' and updates related copy messages in English and French language files and profile template. Also changes key icon to 'icon-user-secret' for better clarity and consistency in the API key generation UI.
2025-10-31 17:08:38 +01:00
Linty 615867a857 fixes #2427 add styles for infos banner
Introduced .infos-message class with specific background, text color, and border styles for both light and dark themes in standard pages.
2025-10-31 14:47:51 +01:00
Linty 696236e76b fixes #2426 move authorization section into test section
Moved API key authentication input from a separate card to the test form section for improved clarity. Updated related CSS for better layout and consistency, and adjusted descriptions to highlight API key usage in Piwigo 16.
2025-10-29 13:00:24 +01:00
Linty d600b019a6 enable qrcode generation for totp secrets
Uncommented and activated QR code generation in getQrCode(), allowing TOTP secrets to be encoded as base64 PNG images for easier setup in authenticator apps.
2025-10-29 12:23:54 +01:00
Linty 99bb370b98 fixes #2425 unescape API key name before returning
Added a call to stripslashes for the 'apikey_name' field to ensure it is unescaped before being returned. This improves display consistency for API key names containing escaped characters.
2025-10-29 12:03:43 +01:00
Linty d6a1cf0466 fixes #2424 remove connection by header from API key validation
Simplifies the API key validation in auth_key_login by removing the requirement for connection_by_header. Now, API keys matching the pattern are accepted regardless of the connection source.
2025-10-29 11:49:19 +01:00
plegall b416bdb7c9 fixes #2417 ability to hide the new filter "expert mode"
... and removes 2 other duplicates of the filters_views configuration
2025-10-28 18:39:18 +01:00
plegall f0f4b30ce2 search filters: avoid to write 3 times the same default configuration 2025-10-28 16:35:05 +01:00
Linty 9ac99be1de fixes GHSA-9986-w7jf-33f6 and fixes GHSA-9986-w7jf-33f6
* Introduces a verification code step before generating password reset links.
* New configuration "password_reset_code_duration".
* Adds Base32, TOTP and PHPQRCode classes .
* New section is required in password.tpl: code verification won't work on themes not updated yet.
* 5 new language strings were added.
2025-10-17 15:38:21 +02:00
plegall ce3ccfe563 copy all languages from translation@9385538c8 2025-10-09 17:53:26 +02:00
plegall 5d518e583d next release will be 16.0.0RC1 16.0.0RC1 2025-10-08 10:56:25 +02:00
HWFord 416dbe2d24 issue #2414 change single tag display 2025-10-07 16:47:11 +02:00
HWFord b6312b5015 issue #2414 update css and tag sort order 2025-10-07 16:26:14 +02:00
HWFord ac15835422 issue #2414 remove config and update css 2025-10-03 17:43:35 +02:00
HWFord b682fd0cd3 fixes #2414 change related tags display
Add conf to display or not the related tag options by default
Add templates and css for new display
2025-10-03 15:43:29 +02:00
HWFord f930b6b524 issue #2409 Update icons used 2025-10-02 16:45:29 +02:00
HWFord 7bd298e107 issue #2409 update fontello
Add 2 icons
2025-10-02 16:42:13 +02:00
Linty 58a9447e01 fixes #2413 tag edit/duplicate now use raw_name as editable value 2025-09-26 13:39:28 +02:00