Commit Graph

11912 Commits

Author SHA1 Message Date
plegall
66f0ef574d fixes #2462 magick Vs convert: return only command name, not full path 2025-12-01 15:08:41 +01:00
HWFord
435837a2e3 issue #2467 change boolean cast 2025-12-01 14:35:43 +01:00
Linty
32d3ea93f8 fixes #2458 add polyfill for str_starts_with function
Introduces a compatibility implementation of str_starts_with for environments where it is not available. Updates common.inc.php to include the polyfill if the function does not exist.
2025-12-01 12:43:46 +01:00
HWFord
fbaf2fdafb fixes #2467 change integer cast 2025-12-01 10:21:48 +01:00
HWFord
e13a25ffce fixes #2464 don't activate smartpocket by default 2025-11-28 15:57:35 +01:00
HWFord
fe60f9cfcc fixes #2461 send standard pages conf value to tpl 2025-11-26 16:44:47 +01:00
plegall
7cb8b615b8 next release is 17.0.0beta1 2025-11-24 17:06:12 +01:00
plegall
34b71b11ee copy all languages from translation@9e7810739 2025-11-24 16:59:59 +01:00
Linty
f016802443 issue #2355 set default value for 'connected_with' session key
Adds a check to initialize $_SESSION['connected_with'] to 'pwg_ui' if it is not already set. This ensures the session variable is always defined before proceeding with cache deletion.
2025-11-24 16:40:27 +01:00
plegall
e7f6c55f75 fixes #2457 upgrade script to version 16 2025-11-24 16:38:16 +01:00
HWFord
9f72b3bb12 fixes #2456 use same style as choose filters popin 2025-11-24 14:03:31 +01:00
Piwigo-TranslationTeam
6a85142a82 Update pl_PL, thanks to yareq 2025-11-24 13:30:34 +01:00
Piwigo-TranslationTeam
23547db6fc Update en_UK, thanks to Kaare 2025-11-24 13:30:30 +01:00
Piwigo-TranslationTeam
854171602a Update da_DK, thanks to Kaare 2025-11-24 13:30:27 +01:00
Piwigo-TranslationTeam
3b28b1bbb9 Update zh_TW, thanks to closer 2025-11-24 13:30:24 +01:00
Piwigo-TranslationTeam
1dc97c87a6 Update el_GR, thanks to dimitri 2025-11-24 13:30:21 +01:00
Piwigo-TranslationTeam
0bd9cb6e23 Update nb_NO, thanks to paulen 2025-11-24 13:30:18 +01:00
Piwigo-TranslationTeam
9d2b6b5aec Update it_IT, thanks to TheFax 2025-11-24 06:24:10 +01:00
Piwigo-TranslationTeam
78fea634ee Update sv_SE, thanks to PBobbenB 2025-11-24 06:24:06 +01:00
Piwigo-TranslationTeam
962799ea00 Update zh_CN, thanks to walle 2025-11-24 06:24:03 +01:00
Piwigo-TranslationTeam
a2c1468cc7 Update tr_TR, thanks to katpatuka 2025-11-23 18:11:13 +01:00
Piwigo-TranslationTeam
52a92b1a87 Update is_IS, thanks to gudjonsi 2025-11-23 18:11:11 +01:00
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