Commit Graph

797 Commits

Author SHA1 Message Date
plegall 7899643580 fixes GHSA-j9q6-q52g-g8jw make sure SVG files have the appropriate file name extension 2026-04-21 14:32:43 +02: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
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
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
HWFord 6858acda37 (cp 27caef885) fixes #2486 add stdPgs config tab in admin 2025-12-19 16:07:07 +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 df42eb4133 (cp fbaf2fdaf) change integer cast 2025-12-01 14:38:22 +01:00
HWFord d5e0cc5140 (cp e13a25ffce) fixes #2464 don't activate smartpocket by default 2025-11-28 16:00:15 +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
Linty 18bb865a23 fixes #2411 disable 3xl and 4xl by default
- Add 3XL and 4XL sizes to defaults but keep them disabled by default
- Update admin restore default derivatives resets sizes and clears cache
- Update migration 177 => updates existing installs: set 3XL/4XL as disabled
2025-09-19 18:49:05 +02:00
Linty 77c1fdd138 fixes #2225 redesign quick search help popin 2025-09-11 16:54:52 +02:00
plegall f270e82a06 fixes #2408 add CR as line end (Classic Mac Os) to split IPTC keywords 2025-09-10 19:20:51 +02:00
RushLana c616f17145 Fix webp animation derivatives
Using imagick to generate derivates on an animated webp break animation
Applying "-layers coalesce" ensure the animation remain smooth
Refs :
- https://github.com/ImageMagick/ImageMagick/issues/6375
- https://github.com/ImageMagick/ImageMagick/issues/5542
- https://github.com/ImageMagick/ImageMagick/issues/4246
2025-08-12 17:06:26 +02:00
RushLana 3293b329e9 Implement imagick command fix
`pwg_image::get_ext_imagick_command()` get the imagick command (convert or magick)
replace all convert with pwg_image::get_ext_imagick_command()
2025-08-12 17:06:26 +02:00
RushLana 66df209632 Change graphic library priority, ext_imagemick is now preffered 2025-08-12 17:06:26 +02:00
Perrom 2465654752 fixes #2362 add gallery filters options in admin (#2395)
Add a config page in admin for the search filters in the gallery. Privacy and default filters can be selected. Needs a database update.
2025-08-08 15:07:02 +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
plegall bc4acec569 issue #2390 warn about duplicate paths 2025-07-24 21:29:38 +02:00
plegall 798f30ea51 issue #2390 avoid generating duplicate paths during upload 2025-07-15 14:14:49 +02:00
Martin R 6958098044 Fixes #2351 - New promote banner for newsletter
* New promote banner for newsletter

- new function that returns the url for old newsletter in the user
  language
- new image used in the banner
- new style for the newsletter banner and changes on the app promote
  banner
2025-06-11 17:01:37 +02:00
plegall 40e89ed23b fixes #2376 globalize conf in empty_lounge 2025-06-10 09:53:14 +02:00
HWFord 41d5c8a258 fixes #2306 move save buttons to bottom of page (PR #2346)
For these pages :
 picture modify, album notification, category permission, comments, menubar, all configurations, site update, element set ranks, notification by mail

Change how success and errors messages are displayed and handled
2025-03-21 16:28:37 +01:00
plegall 073403dcab issue #2336 might be unset (on upgrade.php for example) 2025-03-12 10:53:36 +01:00
plegall 789c062837 fixes #2336 more details in Logger (execution_uuid) 2025-03-01 14:20:11 +01:00
plegall b364ecc00c fixes #2319 SQL does not output lines in the orders of provided ids 2025-02-03 16:45:50 +01:00
plegall 906daa9b7d fixes #2159 avoid calling addslashes on null value (compat PHP 8.x) 2024-11-13 12:31:17 +01:00
plegall 277d519312 fixes #2271 more robust get_installation_date 2024-11-07 22:34:11 +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 65dce73ef8 fixes #2254 adjust placement of int casting
...for SVG width and height values
2024-10-25 14:30:24 +02:00
Linty 91bb79c893 fixes #2226 implement album selector in batch manager filter and action 2024-09-23 12:44:00 +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
Linty 3133552405 fixes #2220 change scope of function get_resize_result
also changed the required php version to 7.1.0
2024-09-02 18:23:52 +02:00
marsooooo 12ca607727 issue #2164 updated & fixed bugs on batch manager
Added dark mode for unit mode
Templatized filter block for both unit and global mode
Optimized JS functions and added extensibility for unit mode
Modified images.setInfo method so unit mode could save orphan images
Fixed a bug where php would break if filter selection was empty in unit mode
2024-08-26 14:14:57 +02:00
Linty 7bd8b7e274 fixes #2206 add album selector on the add photo page
- replace older selector with the new album selector
- moving javascript to a js file
- changed the logic for the first album (now its work with api)
- changed labels in album selector and also added an escape event (to close modal)
2024-08-19 16:09:50 +02:00
plegall 179ccd274f fixes #2203 purge persistent cache in invalidate_user_cache 2024-08-07 22:15:13 +02:00
plegall 71cd92c04d fixes #2166 add feature to send anonymous stats to piwigo.org 2024-06-10 21:32:04 +02:00
plegall 0a6f235db8 fixes #2110 avoid insert errors in the lounge table
If you upload several times the same photo, Piwigo detects the photo already exists
and re-use its existing id. If the lounge is active, Piwigo tries to insert the
same image_id/category_id. Let's simply acknowledge it may happen and tell MySQL to
act accordingly (ignore).
2024-04-11 12:18:21 +02:00
plegall d69bc8b884 fixes #2134 make sure database is writeable before new version notification 2024-03-13 11:11:48 +01:00
plegall 917cab5a44 fixes GHSA-7379-w44f-mfw4 and fixes GHSA-8g2g-6f2c-6h7j protect tag name from XSS 2024-03-01 11:24:50 +01:00
plegall 1000ae868e fixes #2118 add config setting animated_webp_compression_quality (default=70) 2024-02-19 17:17:36 +01:00
plegall e95036b92a fixes GHSA-p362-cfpj-q55f protect against CSRF on batch manager unit mode 2024-02-12 16:51:53 +01:00
plegall 4ea2996969 fixes #2093 handle new lines on metadata sync 2024-01-29 19:27:47 +01:00
Dmitry Ivanov d58dba671e Fix missing EXIF metadata for images uploaded in HEIC format
The representative jpg file produced for image uploaded in HEIC
format is used later to obtain EXIF metadata. Hence don't "strip"
HEIC file metadata when corresponding representative is prepared.
2023-12-23 12:52:27 +01:00
plegall d0836a5c73 fixes #2074 make sure a session exists
Which is not the case on install.php and its call to activate_core_plugins
2023-12-22 18:51:11 +01:00
Willy "Linty 0ac1131e8c Issue #1854 adding a new tab in maintenance page 2023-12-12 15:58:23 +01:00
plegall a01831b3d8 fixes #2057 register core autoupdate in system activities 2023-12-07 11:29:32 +01:00
plegall 188be4849c issue #860 do not force default value for upload_detect_duplicate 2023-10-15 17:06:50 +02:00