Commit Graph

765 Commits

Author SHA1 Message Date
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
plegall 439f275d4e fixes #860 detect duplicates during upload 2023-10-15 13:11:10 +02:00
plegall 14e8ba664b fixes #1735 new API method pwg.images.setCategory to associate/dissociate/move a list of images 2023-10-11 16:58:14 +02:00
plegall 09890487cd fixes #1830 faster way to calculate number of orphans
* store count result in config table, as a cache
* resets this cache on invalidate_user_cache
* instead of a costly SQL query with a LEFT JOIN, use 2 simple COUNT in the 2 tables, and compare
2023-10-06 15:03:22 +02:00
plegall b5c9ca4819 issue #2016 save search in history 2023-10-02 12:31:33 +02:00
plegall fa3625a607 issue #223 support for WebP
* after PR#1785 we needed some more changes
* support for animated webP
2023-09-11 17:15:35 +02:00
Phlogi 79e91e3296 Support webp format (#1785)
* consider webP as an input and output format, meaning a derivative from webp is still a webp
2023-09-11 17:10:52 +02:00
plegall 407cabcbe9 fixes #1966 support for EPS files (copied from Piwigo.com) 2023-08-21 19:00:01 +02:00
plegall 8bf4f6abdf fixes #1965 support for PSD files (copied from Piwigo.com) 2023-08-21 18:38:17 +02:00
plegall 4ac772224f issue #1959 support for HEIC file format
* Piwigo produces an image.jpg as representative of image.heic
* optimized pixels dimensions of the representative, based on the XXL derivative width*height
2023-08-18 14:15:08 +02:00
Eike Rathke 7ecf80d4e9 Check function_exists('mime_content_type') before calling
mime_content_type() is in the fileinfo extension that may not be
installed or configured. It's also checked in action.php

See https://piwigo.org/forum/viewtopic.php?id=32327
2023-08-08 10:43:58 +02:00
plegall 51a413b453 fixes #1907 use porg.news.getLatest on piwigo.org
... instead of directly requesting the forum
2023-04-27 18:01:54 +02:00
plegall 4b33001c15 fixes #1902 ability to set a specific group to notify user registrations 2023-04-22 17:21:29 +02:00
plegall 0b9e177782 issue #1852 also forbid extension deletion 2023-01-25 15:18:45 +01:00
plegall f4de473db8 issue #1852 ability to disable core/extensions updates 2023-01-21 11:54:51 +01:00
plegall 06c1ec07f0 issue #1849 refresh the version number after a core update 2023-01-09 16:08:25 +01:00
plegall bb69269239 fixes #1841 register system activities 2022-12-24 17:36:35 +01:00
plegall 00d5c8773c fixes #1836 no longer use obsolete.list for minor updates 2022-12-21 12:22:23 +01:00
plegall da3d07cb1b issue #1827 bug fixe, do not try to check when sample is empty 2022-12-16 15:54:36 +01:00
plegall 97b665d8f3 issue #1827 new check on filesystem compared to what is listed in the database
While not fixing issue #1827 it helps users to detect if they have been
affected by the problem.
2022-12-16 15:11:58 +01:00
plegall b04befd2b4 fixes #1770 no specific need to detect TIFF files 2022-10-29 16:21:32 +02:00
Matthieu Leproux e2245b1938 related to #1757 fix php8 warning when going on album edit after creating it 2022-10-19 12:35:23 +02:00
plegall 3377cb5d8c fixes #1738 in case piwigo.org news cannot be read, abort 2022-09-30 15:59:35 +02:00
Matthieu Leproux 988cad6a94 fix #1722 fixing number_format() error on fresh install 2022-09-27 11:59:49 +02:00
plegall f95bab9e90 fixes 1720 max upload form max_file_size configurable 2022-09-21 15:28:37 +02:00
Matthieu Leproux e939ed43f3 related to #1723 changed eye icon to pulse icon 2022-09-12 12:33:46 +02:00
plegall 076acc2035 fixes #1709 incorrect pattern to delete custom sizes 2022-09-09 12:42:11 +02:00
Matthieu Leproux 77b156df18 fixes #1657 SVG support (both gallery and admin sides) 2022-09-01 15:20:55 +02:00
plegall 8d1e97c8b7 fixes #1712 fallback to fetchRemote function, works best 2022-08-27 17:27:03 +02:00
Zacharie Guet 5781810348 Adding a Formats Tab on Edit photo page
* Add 3 new files for the tab creation (php, tpl and js)
* Creation of a new API method : pwg.images.formats.remove
* Adding translation in en_GB and fr_FR for the formats
* Minor change on the head-button css class
2022-07-29 15:56:53 +02:00
plegall e7317a7fe4 fix code styling after 9d3ee3c 2022-07-29 15:40:02 +02:00
Eddy Lelièvre-Berna 9d3ee3c85d Fixes #709 with new FFmpeg command. (PR #756)
In addition, the time from which the poster is generated is now always correct and an attempt is performed with avconv if FFmpeg is not installed.
2022-07-29 15:28:31 +02:00
Ludovic Chopin 3239296bf3 issue #1363: Fix crc32 for 32bit processors 2022-07-22 12:36:38 +02:00