Commit Graph
100 Commits
Author SHA1 Message Date
plegall 671657d78b fixes #2396 avoid duplicate image_id in link to manage uploaded photos 2025-07-31 23:56:52 +02:00
plegall bc4acec569 issue #2390 warn about duplicate paths 2025-07-24 21:29:38 +02:00
plegall fd54a917be hide whatsnew 16 for now 2025-07-23 17:24:52 +02:00
plegall 798f30ea51 issue #2390 avoid generating duplicate paths during upload 2025-07-15 14:14:49 +02:00
plegall 40e89ed23b fixes #2376 globalize conf in empty_lounge 2025-06-10 09:53:14 +02:00
plegall 073403dcab issue #2336 might be unset (on upgrade.php for example) 2025-03-12 10:53:36 +01:00
plegall d5431e9476 issue #2341 fatal error on first call to send_piwigo_infos() 2025-03-12 09:37:44 +01:00
plegall 43afd60d00 issue #2335 whatever the API method called from admin, do not rebuild user_cache 2025-03-10 16:05:14 +01:00
plegall 4488e9bf6c issue #2341 more logger 2025-03-07 15:04:40 +01:00
plegall c931118561 fixes #2341 force reload conf.send_piwigo_infos_last_notice to avoid double exec 2025-03-06 11:59:18 +01:00
plegall 789c062837 fixes #2336 more details in Logger (execution_uuid) 2025-03-01 14:20:11 +01:00
plegall daef1ed375 fixes #2335 do not rebuild user_cache for Batch Manager Unit Mode 2025-03-01 14:16:51 +01:00
plegall 33b57be509 fixes #2334 wait user_cache rebuild for 20 seconds instead of 10 2025-03-01 12:24:13 +01:00
plegall 5eacda0d76 fixes #2333 avoid deadlock while waiting for user_cache rebuild 2025-03-01 12:04:41 +01:00
plegall eaa8a66a9b related to #2311 avoid loading user cache on install 2025-02-20 10:08:59 +01:00
plegall eca144fe47 fixes #2324 escape translated string (bug in Catalan) 2025-02-20 09:53:57 +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 28a676b2d9 fixes #2311 single instance of user_cache generation 2025-01-10 10:59:56 +01:00
plegall a3833eab9b fixes #2300 search engine robots should not index/follow combined categories 2024-12-31 16:14:15 +01:00
plegall 547c8a9b94 issue #2296 for install.php, we always need class PwgSession defined 2024-12-20 11:05:46 +01:00
plegall fc5bc47bc3 fixes #1960 custom pwg_nl2br to avoid warning on PHP 8.1+ 2024-12-18 12:29:31 +01:00
plegall dc2760c36b re-add changes by Claire for fr/en from lexiglot 2024-12-17 11:06:16 +01:00
plegall 5081acda91 fixes #2295 send_piwigo_infos, add core updates 2024-12-16 16:47:09 +01:00
plegall ff5e8e6168 fixes #2292 distinguish auth methods 2024-12-06 16:18:04 +01:00
plegall d0fafcfc13 fixes #2269 typo in template for language key 2024-11-15 10:56:11 +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 7bb3994fc6 issue #2237 clean user input on custom tag_list 2024-11-11 12:37:24 +01:00
plegall 32b3eaf089 incorrect function called 2024-11-11 12:04:42 +01:00
plegall 277d519312 fixes #2271 more robust get_installation_date 2024-11-07 22:34:11 +01:00
plegall 3fd287ac22 fixes #2270 compatibility PHP 7.2 2024-11-07 17:45:39 +01:00
plegall 860dbde7ab fixes #2267 remove undisplayable characters 2024-11-06 11:04:38 +01:00
plegall a6446be4be fixes #2265 no longer truncate IP at 15 chars 2024-11-04 20:03:23 +01:00
plegall 05f70930eb fixes #2256 make search on deleted albums more robust
* old links search.php?cat_id=123 will now check the album id
* existing search including a filter on an album will check the album is still available
2024-10-28 19:41:11 +01:00
plegall 724a40f316 fixes #2197 pwg.users.getList check user input min_register/max_register 2024-10-28 18:45:04 +01:00
plegall a36a0aca8c typo fixed 2024-10-21 15:40:52 +02:00
plegall c2ebea027c next release is 16.0.0beta1 2024-10-21 15:31:53 +02:00
plegall afd57cee1a copy all languages from translation@3e6c0f676 2024-10-21 15:24:26 +02:00
plegall 999acde049 [FR] fix grammar error 2024-10-21 15:21:27 +02:00
plegall 6f70e6e9aa upgrade, init persistent_cache for invalidate_user_cache 2024-10-21 15:02:26 +02:00
plegall fd5a73d676 fixes #2245 upgrade script to version 15 2024-10-17 11:40:15 +02:00
plegall 552499e053 fixes GHSA-hghg-37rg-7r42 increase security on secret_key 2024-10-17 11:11:59 +02:00
plegall b0a5c404e7 default configuration: specific instructions for SVG support 2024-09-27 17:21:58 +02:00
plegall 2faa45e6b0 escape translation string to avoid JS error (in French) 2024-09-23 15:00:35 +02:00
plegall 46dba55d60 next release will be 15.0.0RC1 2024-09-23 14:37:08 +02:00
plegall 9ae840a08b re-add language change introduced in a3e9ed23ce 2024-09-23 14:27:38 +02:00
plegall 4088090b28 copy language directory from translation@d8a6e1702 2024-09-23 14:20:33 +02:00
plegall a3e9ed23ce issue #2227 like for date_posted, display all presets for date_created 2024-09-20 14:21:28 +02:00
plegall 40947217ac fixes #2230 search filters, always display all date_posted presets 2024-09-19 18:21:53 +02:00
plegall c3bfa47fa9 fixes #2228 new trick to avoid Chrome to autocomplete input field 2024-09-17 19:01:59 +02:00
plegall 685cc00d6a bug fixed: array_intersect preserves keys and it is a problem 2024-09-10 17:22:14 +02:00
plegall 5c080bf379 [search] avoid division by zero 2024-09-09 12:13:32 +02:00
plegall a8a5e515a2 next version is 15.0.0beta3 2024-09-05 11:23:44 +02:00
plegall d8859f549a move search filters generation in a dedicated file to include 2024-09-05 11:18:49 +02:00
plegall 14678d28a9 fixes #942 IPv6 compatibility, increase length of history.IP 2024-09-05 10:45:34 +02:00
plegall 960e8479cb issue #2211 optimize date_posted filter values generation 2024-09-04 21:57:38 +02:00
plegall 38951c9876 fixes #2208 reduce sessions.id length below 1000 bytes 2024-09-04 12:14:49 +02:00
plegall b6789d4de9 fixes #2218 avoid search engines to index search pages 2024-09-03 21:05:57 +02:00
plegall 8fc3c9cd0e issue #2114 calculate missing md5sum only once 2024-08-29 10:44:41 +02:00
plegall c27d166d46 fixes #2210 add links to the new documentation in help pages 2024-08-26 13:55:44 +02:00
plegall 08ae0304bb (cp 545e81e) Fix for #2114: Check for photos missing md5sum before trying to update md5sums 2024-08-21 15:20:05 +02:00
plegall 3ee277f8e0 fixes #171 ability to filter user list on a specific user 2024-08-21 12:11:27 +02:00
plegall 3bb697c017 [search] bug fixed when a filter intersection is empty 2024-08-20 15:55:00 +02:00
plegall 542910cb6d bug fixed in get_available_tags: do not always use persistent_cache
... also optimize tag name fetching
2024-08-20 15:47:32 +02:00
plegall 0cf2a57357 [search] incoherent search results Vs search filters 2024-08-20 14:38:40 +02:00
plegall 067010db7b issue #2202 optimize filters construction with persistent_cache 2024-08-14 11:32:35 +02:00
plegall 179ccd274f fixes #2203 purge persistent cache in invalidate_user_cache 2024-08-07 22:15:13 +02:00
plegall c0d1245f19 issue #2202 search filter, always display all filetypes 2024-08-07 22:15:13 +02:00
plegall dd6d1a91d7 issue #2202 factorize (and use cache) to build filters 2024-08-07 22:15:13 +02:00
plegall adf45edb2d compatiblity PHP 7 (array_intersect need at least 2 parameters)x 2024-08-06 17:36:17 +02:00
plegall 81bf18cbdb fixes #2202 smarter filters for gallery search
To be able to compute values of filter "added_by" by only taking into account
results of other filters, we need to distinct results filter by filter. So
instead of generating a single complex SQL query, we use one (or maybe more)
SQL query for each filter in action.

First commit for this new way to perform a regular search. To be improved
(many duplication of codes for now)
2024-08-06 17:04:31 +02:00
plegall 8c4b3fb7db fixes #2198 smarter way to deal with filesize bounds 2024-08-02 17:47:45 +02:00
plegall 6fb86d25bf fixes #2162 update link to Shotwell 2024-08-02 16:18:43 +02:00
plegall 7850d85e8b link to documentation on Github instead of obsolete documentation on piwigo.org 2024-08-02 16:13:59 +02:00
plegall e7332a144c next version is 15.0.0beta2 2024-07-31 16:07:27 +02:00
plegall e5e84e07e6 issue #2194 change data organization 2024-07-30 23:05:03 +02:00
plegall db08d32d6f fixes #2194 more details about files in send_piwigo_infos
new function to handle unique_exec (can be used in other places as well)
2024-07-29 23:39:40 +02:00
plegall 8c25d7d2a1 fixes #2064 re-use existing code to open an album 2024-07-15 16:47:03 +02:00
plegall 08087ba9bb fixes #2174 batch manager, call pwg.images.syncMetadata in sequence, not parallel 2024-07-09 20:04:51 +02:00
plegall 6e6a74c348 fixes #2173 allow comma separated list for image_id in pwg.images.syncMetadata 2024-07-09 15:42:31 +02:00
plegall 138f23d32f issue #1760 add infos in logger with wrong GPS coordinates 2024-06-19 15:36:04 +02:00
plegall 831e876af0 fixes #2169 sync metadata, limit to 500 image_ids per request 2024-06-19 14:59:43 +02:00
plegall f0ed96d93c fixes #1296 avoid posting page form before AJAX calls are finished 2024-06-19 14:48:53 +02:00
plegall 03074bae4b issue #2166 typo fixed 2024-06-13 21:55:32 +02:00
plegall 848ac5082a issue #2166 more tests to avoid sending name of private extensions 2024-06-13 11:16:33 +02:00
plegall df99d37370 next version is 15.0.0beta1 2024-06-13 09:06:45 +02:00
plegall d0143e9259 issue #2166 remove debug code 2024-06-10 22:21:22 +02:00
plegall 71cd92c04d fixes #2166 add feature to send anonymous stats to piwigo.org 2024-06-10 21:32:04 +02:00
plegall 158e99573b Revert "issue #2155 more PHP functions {end, key} for SmartPocket"
This reverts commit d2941d71c2.

Using end/key in Smarty template (SmartPocket navigation_bar.tpl) actually does not
work. SmartPocket now (14.4.0.2) uses a dedicated template variable to know the total
number of pages.
2024-05-31 11:12:52 +02:00
plegall 7fae203a83 fixes #2161 in search, do not consider dot character alone as a splitter 2024-05-17 12:28:31 +02:00
plegall d2941d71c2 issue #2155 more PHP functions {end, key} for SmartPocket 2024-04-29 09:48:55 +02:00
plegall b20886cbe3 fixes #2156 force a default PAGE_BANNER 2024-04-24 16:43:13 +02:00
plegall ac98cfdcc2 fixes #2155 register more PHP functions for templates 2024-04-24 16:27:31 +02:00
plegall e8090d4149 fixes #2150 move function strip_html_in_metadata outside get_exif_data 2024-04-18 14:21:04 +02:00
plegall 16953317d9 fixes #2146 trim search by words before anything else 2024-04-12 09:50:17 +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 49dadcecb3 fixes #2136 search for matching image_ids instead of tag_ids
Introduce an additional SQL query to find image_ids associated to matching tags instead of using directly the list of matching tags.

Same for matching albums.

Also, change the displayed list of matching tags/albums: do not take into account the OR/AND on the search by word. Do as if the search was always OR.
2024-04-10 17:12:25 +02:00
plegall 813d53b21f fixes #2145 deal with array value in exif 2024-04-10 12:24:32 +02:00
plegall 929bd1bd73 fixes #2142 truncate tags_strings if longer than 50 chars 2024-03-31 17:08:54 +02:00
plegall 3433972fe0 fixes #2138 change edit album photos icon to match batch manager icon 2024-03-27 15:04:34 +01:00
plegall 3af5594993 fixes #2140 PHP 8 issues 2024-03-27 15:00:21 +01:00