11954 Commits

Author SHA1 Message Date
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
Linty
b19beee0aa 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:26:20 +01:00
RushLana
001a21056c fixes #2540 only prompt to update container on version lower than the latest version 2026-03-16 13:03:45 +01:00
Linty
8fe5a57799 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:18:21 +01:00
plegall
355f3d44af fixes #2538 differentiate from and reply-to in pwg_mail 2026-03-11 12:23:52 +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
5cfabc12bf fixes #2531 remove use_standard_pages from config.php 2026-02-26 14:36:08 +01:00
plegall
3ab004f7f6 fixes GHSA-wfmr-9hg8-jh3m protects pwg.activity.getList 2026-02-24 17:14:35 +01:00
plegall
db2a156554 fixes GHSA-5jwg-cr5q-vjq2 protect filter parameter in pwg.user.getList 2026-02-24 16:19:22 +01:00
plegall
b2a78ded67 fixes GHSA-397m-gfhm-pmg2 pwg.history.search is only for admins 2026-02-24 15:59:19 +01:00
RushLana
bfbc8f68d9 Add docker updates support
Detect if running in a official container and replace updates buttons by links to the documentation
2026-02-24 15:16:56 +01:00
HWFord
1441831e9d fixes #2528 add icon class 2026-02-23 17:59:24 +01:00
HWFord
b0c6da3efd fixes #2525 add missing translation 2026-02-20 14:11:03 +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
3ac7b803e5 issue #2516 update fontello
Add warning circled
2026-02-18 11:13:55 +01:00
plegall
0f359f2af5 fixes GHSA-mgqc-3445-qghq checks standard date fields 2026-02-17 18:54:45 +01:00
Linty
b26ca3e08a 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:25:50 +01:00
plegall
74edc39995 fixes #2519 prevent CSRF on album notification form 2026-02-04 15:49:47 +01:00
HWFord
186378e4f3 fixes #2518 add viewport meta & adjust responsive css 2026-01-29 09:20:45 +01:00
HWFord
ce3fcd61e4 fixes #2517 set max height and scroll for lang switch 2026-01-28 14:38:14 +01:00
HWFord
3195a33b76 fixes #2516 update message colors and design 2026-01-27 16:02:46 +01:00
plegall
15e451c231 fixes #2510 fallback for missing username 2026-01-15 14:19:04 +01:00
HWFord
c186a5f7de fixes #2509 change button label in site_update.tpl 2026-01-15 10:08:29 +01:00
HWFord
d9fce8a309 fixes #2508 add header.tpl to standard pages
duplicate header.tpl from themes/default remove anything that isn't needed, load jQuery in header instead of footer
2026-01-14 14:18:27 +01:00
RushLana
5563ea98fd 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:00:14 +01:00
plegall
c614efd33c fixes #2507 add conditions before trying to display an image in the email 2026-01-13 15:08:52 +01:00
HWFord
25068f308a fixes #2504 add missing @translate and missing keys 2026-01-08 16:09:51 +01:00
HWFord
074de993fe fixes #2503 revert moving update button 2026-01-07 16:45:54 +01:00
HWFord
40e6540b04 issue #2486 Fix typo in french 2026-01-07 15:00:33 +01:00
plegall
ea80dca422 fixes #2499 make the check_for_updates a unique_exec 2026-01-04 20:48:27 +01:00
plegall
e3c80efe63 fixes #2494 only picture_ext files can be resized after upload 2025-12-29 22:21:20 +01:00
RushLana
ff633b7137 Change syntax order of all imagemagick to match IM7 syntax 2025-12-29 15:49:31 +01:00
Camille Huot
2583591a64 imagick7 expects input file before options 2025-12-29 15:49:31 +01:00
Linty
91088bbec9 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:22:14 +01:00
Linty
2526d4a911 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:17:13 +01:00
plegall
732145f6b7 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:45:20 +01:00
HWFord
27caef885e fixes #2486 add stdPgs config tab in admin
add skins and screenshots for skins
add admin tpl and css
update stdPgs tpl to have dynamic header section
2025-12-19 16:05:24 +01:00
HWFord
0c92a8ba33 fixes #2481 change hover scale 2025-12-08 14:24:26 +01:00
RushLana
57f725d8e6 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:26:50 +01:00
HWFord
8e5ecb9f7b fixes #2473 check if related tags are not empty 2025-12-02 17:52:55 +01:00
Linty
3da45eabac 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:12:31 +01:00
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