342 Commits

Author SHA1 Message Date
HWFord
fbaf2fdafb fixes #2467 change integer cast 2025-12-01 10:21:48 +01: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
plegall
bc4acec569 issue #2390 warn about duplicate paths 2025-07-24 21:29:38 +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
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
277d519312 fixes #2271 more robust get_installation_date 2024-11-07 22:34:11 +01: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
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
e95036b92a fixes GHSA-p362-cfpj-q55f protect against CSRF on batch manager unit mode 2024-02-12 16:51:53 +01: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
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
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
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
076acc2035 fixes #1709 incorrect pattern to delete custom sizes 2022-09-09 12:42:11 +02:00
plegall
8d1e97c8b7 fixes #1712 fallback to fetchRemote function, works best 2022-08-27 17:27:03 +02:00
plegall
630aba70f9 issue #28 display Piwigo.org news on dashboard 2022-07-15 09:57:52 +02:00
Matthieu Leproux
0b6b786129 fixes #1668 left menu opens correctly when on activity page 2022-06-08 15:06:50 +02:00
Matthieu Leproux
425467e15f related to #1609 Renamed 'cat_move' to 'albums' and linked variables so it works with new name 2022-05-04 15:17:28 +02:00
plegall
fb84527e3b issue #164 add new API method pwg.images.uploadCompleted
+ trigger ws_images_uploadCompleted when this API method is called
+ trigger empty_lounge (can be called at another moment with different effect)
2021-09-15 13:50:15 +02:00
Matthieu Leproux
286e8ad5b1 related to #1316 Calculates cache size and cache size derivatives 2021-07-07 18:14:00 +02:00
Matthieu Leproux
817e007f04 Fixes #1432 Removed the duplicate pwg_activity() call that doubled the number if tags added in activity tab 2021-06-17 15:22:25 +02:00
plegall
ac0d1a5b47 fixes #1419 add photos in a lounge as a temporary space
* at the end of the upload of after a maximum duration, move the photos from the lounge to their actual categories.
* do not invalidate user cache when photos are added in the lounge, thus avoiding to rebuild cache on every photo uploaded
* the lounge system activates itself only beyond 50k (by default) photo
2021-06-11 16:42:48 +02:00
plegall
ea69988eac fixes #1317 remove cache directory size calculation 2021-02-05 10:12:05 +01:00
plegall
cac24635a9 fixes #1300 fall back on exec(du) instead of pure PHP to calculate cache size
This algorithm does not work for Windows and when "exec" is disabled. But not having this cache size is not a major issue. What is a problem is when calculating the cache size breaks the execution, which must be avoided.
2021-01-27 19:46:53 +01:00
plegall
ab81e7707f fixes #1290 avoid calling external command to calculate directory size
+ add a 5 minutes cache to avoid calculating cache size too often
* tested with anold PHP 5.5 (could work with earlier versions, but I prefer to not take the risk)
2021-01-21 10:39:47 +01:00
Louis
f8f219b6ee #1237 menubar closed in dashboard/plugin
menubar doesn t open an extension like it used to, for example dashboard opend photos and plugins opened tools below
2020-10-22 15:40:29 +02:00
Zacharie
d527c47023 Add a new tab to manage album page : search album (based on Hannah mock up), minor changes in button behaviour on add photo page 2020-09-03 15:18:44 +02:00
Zacharie
d4436b825d Issue #1208 : Implementation of the new album edit page 2020-08-13 11:56:57 +02:00
Zacharie
e6b0574cde Issue #1206 : Minor design fix 2020-08-13 11:49:31 +02:00
Zacharie
c4b38d1a41 Issue #1167 : Fixes and code cleaning 2020-05-19 17:28:22 +02:00
Zacharie
df46475e1b Issue #1167 : Implement group merge function
* Implement new API function pwg.groups.merge
 * Generalize the delete group function in admin/include/functions.php
 * Implement merge action in Group Manager
 * Add loading state on grouped delete in group manager
 * Member manager's design fixes
2020-05-19 17:28:22 +02:00
plegall
b31d68fbd9 fixes #1182 with inheritance_by_default, copy only permissions from parents and do not add admins 2020-05-07 12:30:47 +02:00
plegall
c1eecab364 fixes #996 escape word "groups" in SQL queries, new reserved word with MySQL 8 2019-06-28 18:07:53 +02:00
Sam Wilson
8e9cb6de23 Quote 'rank' field name in SQL
Add backticks to reserved word 'rank' in SQL queries.

Bug: GH #919
2019-06-27 17:50:59 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
940d1d2e8c issue #552
* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
2019-04-01 16:19:09 +02:00
plegall
27a6504284 issue #552 new table activity and log add/edit/delete on albums 2019-03-25 16:50:45 +01:00
Teatek
61b7974a8d ability to set album order with web API
* add method pwg.categories.setRank in Piwigo web API
2019-02-13 15:00:22 +01:00
Teatek
2cf5c63ca1 fixes #854 adding trigger on tag deletion 2019-02-01 14:07:56 +01:00