Commit Graph

11526 Commits

Author SHA1 Message Date
plegall
547e32ec00 (cp 235c3644d) check longitude/latitude 2024-06-19 15:37:12 +02:00
plegall
47bdfa8e26 (cp 831e876af) fixes #2169 sync metadata, limit to 500 image_ids per request 2024-06-19 15:01:12 +02:00
plegall
3507b2deb6 (cp f0ed96d93) fixes #1296 avoid posting page form before AJAX calls are finished 2024-06-19 15:00:40 +02:00
Linty
e5e603d3d8 (cp badc7c76b) fixes #2167 add max-width for storage tooltips 2024-06-11 17:27:24 +02:00
plegall
ec5bce90bf Revert "fixes #2166 add feature to send anonymous stats to piwigo.org"
This reverts commit 1106612fc3.

Theses changes were committed on 14.x by mistake
2024-06-10 21:32:35 +02:00
plegall
1106612fc3 fixes #2166 add feature to send anonymous stats to piwigo.org 2024-06-10 21:26:06 +02:00
plegall
1c0e5b34bc (cp 158e99573) 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:14:47 +02:00
HWFord
71d4c23d66 (cp b0485f636) fixes #2163 check user conf 2024-05-29 16:48:16 +02:00
plegall
632a77eb9a (cp 7fae203a8) fixes #2161 in search, do not consider dot character alone as a splitter 2024-05-17 12:29:20 +02:00
plegall
dfaabab4cc (cp d2941d71c) issue #2155 more PHP functions {end, key} for SmartPocket 2024-04-29 09:50:27 +02:00
plegall
99f52f6b13 (cp b20886cbe) fixes #2156 force a default PAGE_BANNER 2024-04-24 16:43:41 +02:00
plegall
71687a2003 (cp ac98cfdcc) fixes #2155 register more PHP functions for templates 2024-04-24 16:29:08 +02:00
plegall
751c9afedf (cp e8090d414) fixes #2150 move function strip_html_in_metadata outside get_exif_data 2024-04-18 14:21:22 +02:00
Linty
837065c906 (cp 0c5388070) fixes #2149 reset the create sub-albums button click event
After an ajax request we need to reset some button events
14.4.0
2024-04-17 12:02:07 +02:00
plegall
d66bef2a4a next release is 14.4.0 2024-04-17 11:36:46 +02:00
plegall
5fdf9a73a9 copy all languages from translation@fecd858b0 2024-04-17 11:36:06 +02:00
plegall
4ae787f0f2 (cp 16953317d) fixes #2146 trim search by words before anything else 2024-04-12 09:50:46 +02:00
plegall
b81cf3dc9a (cp 0a6f235db) 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:25:00 +02:00
plegall
2003bbe76e (cp 49dadcecb) 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:13:35 +02:00
plegall
5678ca72d6 (cp 813d53b21) fixes #2145 deal with array value in exif 2024-04-10 12:25:11 +02:00
plegall
b04da9b811 (cp 929bd1bd7) fixes #2142 truncate tags_strings if longer than 50 chars 2024-03-31 17:09:25 +02:00
plegall
063fed00ff (cp 3433972fe) fixes #2138 change edit album photos icon to match batch manager icon 2024-03-27 15:04:53 +01:00
plegall
0d0a8ed269 (cp 3af559499) fixes #2140 PHP 8 issues 2024-03-27 15:01:15 +01:00
plegall
29bea7b88b (cp d69bc8b88) fixes #2134 make sure database is writeable before new version notification 2024-03-13 11:14:58 +01:00
Linty
e4e9662d60 (cp 5da20bf1f) fixes #2131 changing the icon prefix 2024-03-08 15:42:11 +01:00
plegall
e27cc863cb (cp 179a69cbf) fixes #2129 only adjust selectize box height on picture_modify and batch_manager/unit 2024-03-06 12:39:03 +01:00
plegall
de57bf02ac next release is 14.3.0 14.3.0 2024-03-01 16:19:55 +01:00
plegall
5d1c5eb3ff copy all languages from translation@5d2dda4c3 2024-03-01 16:18:04 +01:00
plegall
bcbb44eca5 (cp e57b8b844) fixes #1612 auto adjust height on selectize input (tags) 2024-03-01 15:55:53 +01:00
plegall
5069610aae (cp 917cab5a4) fixes GHSA-7379-w44f-mfw4 and fixes GHSA-8g2g-6f2c-6h7j protect tag name from XSS 2024-03-01 11:27:43 +01:00
plegall
7fc04d7d6d (cp cfd32548b) fixes #2122 deal with deleted added_by users 2024-03-01 11:27:26 +01:00
plegall
7c0fefbf28 (cp 1000ae868) fixes #2118 add config setting animated_webp_compression_quality (default=70) 2024-02-19 17:18:23 +01:00
Linty
aa1122b30c (cp 4adf36f2e) fixes #2120 add new return value to 'pwg.categories.move' method API
Added a new return value for API method 'pwg.categories.move': updated_cats . This value returns an array of albums whose values have been modified after an album has been moved (for the moment, the data is the id and the number of photos in its sub-albums).
2024-02-19 17:11:03 +01:00
Linty
b9d8e076b0 (cp 0c2b0175d) fixes #2119 issue #2120 uses nodes to update album UI
As we're using selectize.js to display the albums, we need to use the methods provided by selectize.js to update the data returned by the Piwigo API.
Bug correction: when moving an album, the "sub-albums" label disappeared.
2024-02-19 17:09:55 +01:00
Linty
a51de38e51 (cp 91659fa84) fixes #2117 add a condition to the date-end onChange function
in the date-end OnChange event, before launching the function that will make the ajax request, we check that the `end` parameter is not "1899-12-31".
2024-02-19 12:56:45 +01:00
plegall
a14fd3415b (cp 276afe3de) attempt to fix #2079 with a different way to validate input 2024-02-17 13:35:59 +01:00
plegall
08dc815d53 (cp e95036b92) fixes GHSA-p362-cfpj-q55f protect against CSRF on batch manager unit mode 2024-02-12 16:52:58 +01:00
Linty
df8e34b97f (cp 562170528) turn code more robust by using sprintf instead of replace 2024-02-09 17:38:03 +01:00
Linty
7ecca50037 (cp d2e8d95d9) issue #2106 reorganize search details
Instead of `See details` we put `and x more` with the remaining details instead of putting everything
2024-02-09 17:13:14 +01:00
plegall
42b757cbfa (cp a75d4f866) fixes #2112 more characters valid for search by word: ^~#$ 2024-02-07 08:56:24 +01:00
Willy "Linty
3dd0b5200e (cp 1629cd938) issue #2106 added details to search history
API method modification `ws_history_search`: Added a new property in API return `SEARCH_DETAILS` only for searches.
These details are displayed on the `History` page in the `Search` section.
2024-02-02 11:55:28 +01:00
Willy "Linty
7b72259f0f (cp fe47d3e60) fix #2105 replace link icon tree by icon home
and it becomes non-clickable
2024-02-02 11:21:28 +01:00
plegall
efd2f56b64 (cp ed4e205c7) fixes #2104 album editor, use M size (not deactivable) instead of S 2024-02-02 11:05:14 +01:00
Willy "Linty
df9f28b442 (cp 24bce3eb0) fix #2103 the modal is closed only if visible 2024-02-02 10:44:37 +01:00
plegall
3e1fa7094d (cp 4ecaa9153) fix #2102 wrong value on reset 2024-02-02 10:27:42 +01:00
plegall
36d403659c (cp 9fdba44d3) fixes #2005 in pwg.images.uploadCompleted, parameter category_id is mandatory 2024-01-31 13:20:17 +01:00
plegall
4b8f20f703 (cp 08124d10f) fixes #2100 do not send save_visits to PiwigoRemoteSync 2024-01-31 11:14:50 +01:00
plegall
67ffc6f4a3 copy all languages from translation@a960b8f94 14.2.0 2024-01-30 11:30:42 +01:00
plegall
6a548dfeae next release is 14.2.0 2024-01-30 11:22:07 +01:00
plegall
80f9c99c7b (cp 4ea299696) fixes #2093 handle new lines on metadata sync 2024-01-29 19:28:09 +01:00