11956 Commits

Author SHA1 Message Date
Linty
d58ddc6b82 (cp c9af73796) 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:11:42 +01:00
Linty
6824480d84 (cp b19beee0a) fixes #796 handle ampersand escaping for API URLs
When generating URLs for the web service (IN_WS), ensure the argument separator is a raw '&' instead of the HTML entity '&'. add_url_params now switches the separator to '&' if IN_WS is defined and '&' was requested. Removed a redundant str_replace call in ws_std_get_urls since get_action_url/add_url_params now produce the correct separator. This prevents double-escaped ampersands.
2026-03-23 12:31:00 +01:00
RushLana
f4213814ec (cp 001a21056) fixes #2540 only prompt to update container on version lower than the latest version 2026-03-16 13:10:53 +01:00
Linty
9259ab692e (cp 8fe5a5779) fixes #2539 always set pwg_token for API key requests
Simplify pwg_token setup during PWG_API_KEY_REQUEST by unconditionally assigning get_pwg_token() to both $_POST['pwg_token'] and $_GET['pwg_token']. Removes prior isset() checks so the token is always present for API key requests; be aware this will overwrite any existing pwg_token values in request arrays.
2026-03-13 18:20:03 +01:00
plegall
223bfcb26e (cp 355f3d44a) fixes #2538 differentiate from and reply-to in pwg_mail 2026-03-11 12:24:13 +01:00
plegall
e65e4eb310 (cp 964a2d8ed) 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:39:13 +01:00
HWFord
e9c58ab654 (cp 5cfabc12b) fixes #2531 remove use_standard_pages from config.php 2026-02-26 14:37:33 +01:00
plegall
69f1f76192 copy all languages from translation@e078c81df 16.3.0 2026-02-24 17:57:51 +01:00
plegall
ec591f3f5e next release is 16.3.0 2026-02-24 17:49:06 +01:00
plegall
c172d284e1 (cp 3ab004f7f) fixes GHSA-wfmr-9hg8-jh3m protects pwg.activity.getList 2026-02-24 17:16:17 +01:00
plegall
9df471f162 (cp db2a15655) fixes GHSA-5jwg-cr5q-vjq2 protect filter parameter in pwg.user.getList 2026-02-24 16:20:28 +01:00
plegall
d05c16561c (cp b2a78ded6) fixes GHSA-397m-gfhm-pmg2 pwg.history.search is only for admins 2026-02-24 16:00:08 +01:00
RushLana
8d6c47886b (cp bfbc8f68) Add docker updates support
Detect if running in a official container and replace updates buttons by links to the documentation

fixed on master with bfbc8f68
fixed on 16.x with d238c545
2026-02-24 15:30:19 +01:00
HWFord
817cabf4c6 (cp 1441831e9) fixes #2528 add icon class 2026-02-23 18:01:09 +01:00
HWFord
07173e5979 (cp b0c6da3ef) fixes #2525 add missing translation 2026-02-23 14:03:18 +01:00
plegall
0d5ed1f777 (cp 0f359f2af) fixes GHSA-mgqc-3445-qghq checks standard date fields 2026-02-17 18:55:59 +01:00
Linty
8ff31e0758 (cp b26ca3e08) fixes #2522 use privacy-preserving verification message
Replace the explicit "An email has been sent with a verification code" message with a privacy-preserving wording: "If your account exists, a verification code has been sent to your email address." This avoids account enumeration. Updated language entries in en_UK and fr_FR, the server-side message in password.php, and the password reset template.
2026-02-12 17:28:33 +01:00
plegall
4b9767ef13 (cp 74edc3999) fixes #2519 prevent CSRF on album notification form 2026-02-04 15:50:25 +01:00
HWFord
da8d897256 (cp 186378e4f) fixes #2518 add viewport meta & adjust responsive css 2026-01-29 09:22:10 +01:00
HWFord
a0fa5ad693 (cp ce3fcd61e) fixes #2517 set max height and scroll for lang switch 2026-01-28 14:41:29 +01:00
plegall
cae4b8c13b (cp 15e451c23) fixes #2510 fallback for missing username 2026-01-15 14:41:47 +01:00
HWFord
d0c820eb4f (cp c186a5f7d) fixes #2509 change button label in site_update.tpl 2026-01-15 10:11:59 +01:00
HWFord
8f0b8e7a85 (cp d9fce8a30) fixes #2508 add header.tpl to standard pages 2026-01-14 14:19:59 +01:00
RushLana
d2be1c92fe (cp 5563ea98f) Add a more granular container detection (#2501)
Add a more granular container detection

Replace is_in_container by  get_container_info
Currently detect Official container (once they update a version with a tagfile) and LinuxServer container
All other container are marked as Unknown

Report two field :
- container_type ( none | Official | LinuxServer | Unknown
- container_version ( build Version number like 16.2.0a, only reported if Official container is detected )
2026-01-14 13:03:55 +01:00
plegall
650f457615 (cp c614efd33) fixes #2507 add conditions before trying to display an image in the email 2026-01-13 15:09:14 +01:00
HWFord
a21ef7bdc6 (cp 074de993f) fixes #2503 revert moving update button 2026-01-07 16:47:04 +01:00
HWFord
d8aaf39ba2 (cp 40e6540b0) issue #2486 Fix typo in french 2026-01-07 15:04:04 +01:00
plegall
680afb9b3b (cp ea80dca42) fixes #2499 make the check_for_updates a unique_exec 2026-01-04 20:49:11 +01:00
plegall
12320defde next release is 16.2.0 16.2.0 2025-12-30 12:18:24 +01:00
plegall
a40df0f5bd copy all languages from translation@10ca45ad0 2025-12-30 12:17:19 +01:00
plegall
b3286ff4ee (cp e3c80efe6) fixes #2494 only picture_ext files can be resized after upload 2025-12-29 22:21:44 +01:00
plegall
a12db50159 (cp ff633b713) Change syntax order of all imagemagick to match IM7 syntax 2025-12-29 15:51:53 +01:00
plegall
57bb2f3bf9 (cp 2583591a6) imagick7 expects input file before options 2025-12-29 15:51:38 +01:00
Linty
a43fb864dd (cp 91088bbec) fixes #2490 add merge_tags notification trigger
A trigger_notify call for 'merge_tags' was added before deleting tags in the tag merge process. This allows plugins or extensions to react to tag merges.
2025-12-22 16:24:50 +01:00
Linty
f2c21d6ba7 (cp 2526d4a91) fixes #2488 improve handling of derivative config
Refactors how derivative and disabled_derivatives config values are loaded from the database, supporting both parameters and using a new safe_unserialize function. Updates ImageStdParams to use the global config and ensures proper serialization/deserialization of disabled type maps, with improved save logic to avoid unnecessary writes.
2025-12-22 16:24:05 +01:00
plegall
637db278fb (cp 732145f6b) fixes #2484 force integer on width/height
... was string when original url was used as derivative url (when the original is smaller than the derivative dimensions)
2025-12-22 11:46:49 +01:00
HWFord
6858acda37 (cp 27caef885) fixes #2486 add stdPgs config tab in admin 2025-12-19 16:07:07 +01:00
HWFord
4ff398552e (cp 0c92a8ba3) fixes #2481 change hover scale 2025-12-08 14:29:54 +01:00
plegall
dd159f4604 (cp 57f725d8e) Fix is_in_container not respecting open_basedir permission
If the user as added open_basedir restriction the function will fail with a Warning :
Warning: file_exists(): open_basedir restriction in effect. File(/proc/2/sched) is not within the allowed path(s)

This fix add a check that assume piwigo is not in a container when open_basedir is set
2025-12-08 11:32:05 +01:00
HWFord
f06762d4da (cp 8e5ecb9f7) fixes #2473 check if related tags are not empty 2025-12-02 17:53:41 +01:00
plegall
3810d517fd next release is 16.1.0 16.1.0 2025-12-02 16:07:01 +01:00
plegall
9d2a38290b copy all languages from translation@3d7ab42a9 2025-12-02 16:06:28 +01:00
Linty
edc255d727 (cp 3da45eaba) fixes #2460 switch api auth header to X-PIWIGO-API
Replaces usage of the Authorization header with X-PIWIGO-API for API key authentication. This improves consistency and may address issues with standard Authorization header handling.
2025-12-01 18:13:34 +01:00
plegall
111cb62b0f (cp 66f0ef574) fixes #2462 magick Vs convert: return only command name, not full path 2025-12-01 15:09:14 +01:00
HWFord
979e9c4429 (cp 435837a2e) change boolean cast 2025-12-01 14:39:02 +01:00
HWFord
df42eb4133 (cp fbaf2fdaf) change integer cast 2025-12-01 14:38:22 +01:00
Linty
5c5f21987c (cp 32d3ea93f) 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:46:05 +01:00
HWFord
d5e0cc5140 (cp e13a25ffce) fixes #2464 don't activate smartpocket by default 2025-11-28 16:00:15 +01:00
HWFord
8fe406639b (cp fe60f9cfc) fixes #2461 send standard pages conf value to tpl 2025-11-26 16:47:05 +01:00
plegall
2d6136adc5 change default configuration settings for a stable branch.
Developers who need previous configuration settings can modify them in their local configuration

git cherry-pick 39d3c6883b
16.0.0
2025-11-24 17:04:01 +01:00