Commit Graph
100 Commits
Author SHA1 Message Date
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
plegall d69bc8b884 fixes #2134 make sure database is writeable before new version notification 2024-03-13 11:11:48 +01:00
plegall 179a69cbf7 fixes #2129 only adjust selectize box height on picture_modify and batch_manager/unit 2024-03-06 12:37:47 +01:00
plegall e57b8b8449 fixes #1612 auto adjust height on selectize input (tags) 2024-03-01 15:54:49 +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 cfd32548bb fixes #2122 deal with deleted added_by users 2024-03-01 11:21:47 +01:00
plegall 1000ae868e fixes #2118 add config setting animated_webp_compression_quality (default=70) 2024-02-19 17:17:36 +01:00
plegall 276afe3de9 attempt to fix #2079 with a different way to validate input 2024-02-16 18:14:40 +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 a75d4f866a fixes #2112 more characters valid for search by word: ^~#$ 2024-02-07 08:55:12 +01:00
plegall ed4e205c7f fixes #2104 album editor, use M size (not deactivable) instead of S 2024-02-02 11:04:31 +01:00
plegall 9fdba44d34 fixes #2005 in pwg.images.uploadCompleted, parameter category_id is mandatory 2024-01-31 13:19:53 +01:00
plegall 08124d10f7 fixes #2100 do not send save_visits to PiwigoRemoteSync 2024-01-31 11:14:27 +01:00
plegall 4ea2996969 fixes #2093 handle new lines on metadata sync 2024-01-29 19:27:47 +01:00
plegall e59b5282d5 fixes #2096 keep list of search filters in memory 2024-01-24 17:26:51 +01:00
plegall 411ae43c19 fixes #2095 make "who can see..." more obviously related to privacy level 2024-01-24 15:10:03 +01:00
plegall 1de1a0a7ab fixes #2094 more lines for selectize in search filters 2024-01-24 14:20:11 +01:00
plegall 62835f1804 fixes #2091 search for words, no longer remove _ and - 2024-01-24 13:47:55 +01:00
plegall d7aaf887d4 fixes #2089 hide search in this button, by default 2024-01-18 12:19:42 +01:00
plegall e3cda5108a fixes #2088 case-insensitive check for history.section autofill 2024-01-18 11:26:10 +01:00
plegall 6bbf137e50 issue #2057 forgot to add a comment in the code 2024-01-10 14:23:22 +01:00
plegall a94fbb8225 fixes #2080 syntax error (not always generating error) 2023-12-28 16:29:06 +01:00
plegall 1a9a8e2e4b fixes #2077 escape strings in new album editor 2023-12-26 19:34:56 +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
plegall 288afc35a1 fixes #2070 simulate a click on whole set selection 2023-12-18 14:31:10 +01:00
plegall bf9a48f63d fixes #2066 keep Smarty compatible with PHP 7.0 2023-12-13 15:06:46 +01:00
plegall cba04ce5c6 fixes #2062 force file permissions to 644 2023-12-11 21:39:44 +01:00
plegall 847424c255 during upgrade, reactivate TakeATour only when relevant 2023-12-11 21:32:05 +01:00
plegall 4ca786c6a9 fixes #2061 disable opcache during upgrade 2023-12-11 17:33:42 +01:00
plegall 85322e879f copy all languages from translation@c1cddc9 2023-12-11 14:38:45 +01:00
plegall c2b7e86973 issue #2058 forgot to modify upgrade.php 2023-12-09 15:47:31 +01:00
plegall f41ae45b87 next release is 14.0.0 2023-12-08 18:25:22 +01:00
plegall 078f35e607 fixes #2058 upgrade script to 14 2023-12-08 18:23:36 +01:00
plegall a01831b3d8 fixes #2057 register core autoupdate in system activities 2023-12-07 11:29:32 +01:00
plegall 85a6b11dec fixes #1970 Undefined array key comments 2023-12-04 19:14:59 +01:00
plegall b6d8fe4144 copy all languages from translation@6a6c252 2023-11-28 14:37:15 +01:00
plegall 9af2ba648f next release will be 14.0.0RC2 2023-11-28 13:18:50 +01:00
plegall 09d30129cd fixes #2050 provide a default user_name for pwg.history.search 2023-11-27 16:02:01 +01:00
plegall 445cc4ec14 fixes #1982 only fetch the list of albums we want to display
... not the full list. Makes huge difference when you have thousands of albums at the same level.
2023-11-24 18:08:52 +01:00
plegall eb0759ef12 fixes #2046 avoid strip_tags if pwg_token is provided
* pwg.categories.setInfo
* pwg.categories.add
* pwg.images.setInfo
2023-11-23 19:46:46 +01:00
plegall a2ae4267cd fixes #2041 search by tags, make sure searched tags are in the filter 2023-11-14 16:09:38 +01:00
plegall 1dfa5b0d30 fixes #2034 protect reserved word in MySQL 8 2023-11-09 12:32:29 +01:00
plegall dfbe5b7e00 next release will be 14.0.0RC1 2023-11-06 15:17:01 +01:00
plegall 5546fcfbf9 issue #2001 we don't always have the album date creation 2023-11-06 14:42:28 +01:00
plegall 4c734bedd8 issue #1991 make sure requested albums exist on pwg.categories.getImages 2023-10-29 14:48:37 +01:00
plegall 13ea43e2ef [search] avoid errors when a filter returns no item 2023-10-28 18:35:20 +02:00
plegall c94313fdc3 issue #2001 make sure TAGS tpl variable is always set 2023-10-24 15:14:38 +02:00