56 Commits

Author SHA1 Message Date
plegall
4f648db510 issue #2445 avoid null input on strip_tags (image name can be null) 2025-11-19 16:09:50 +01:00
plegall
eb37a4e5f1 fixes #2423, fixes #1949, fixes #2401 render title/description and keep HTML in descriptions
... and in several API methods add new output fields name_raw and comment_raw that are ready for edition
2025-11-10 17:00:58 +01:00
Linty
40ca83d382 fixes #2221 use backticks instead of quotes
...because that's what backticks are for.
2024-09-03 16:19:06 +02:00
Linty
1de27871b3 fixes #2221 encase rank in quotes 2024-09-03 16:02:16 +02:00
mistic100
3f07808d7f Fix "total_count" type on some WS methods 2024-08-30 20:24:42 +02:00
Linty
3826f355ae issue #2132 update ws_categories_getAdminList
add new params: cat_id and recursive
2024-07-31 11:36:43 +02:00
Linty
4d26c62470 issue #2132 album selector hierarchy added to search page 2024-03-08 15:55:43 +01:00
Linty
4adf36f2e5 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:06:59 +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
4c734bedd8 issue #1991 make sure requested albums exist on pwg.categories.getImages 2023-10-29 14:48:37 +01:00
Damien Sorel
85db5eb9d1 Fix warning in pwg.categories.php
"Undefined variable: total_images" message when request category does not exist
2023-10-29 14:25:43 +01:00
Teatek
639c9d96fa Issue #917 album photo sort order (#955)
* returns an image_order for API methods pwg.categories.getList and pwg.categories.getAdminList
2023-07-05 11:06:31 +02:00
plegall
fdabd4a988 fixes #1929 add parameter search on pwg.categories.getList (and use it) 2023-06-27 14:41:28 +02:00
plegall
b9ddcf17f1 fixes #1871 move the retrieve of the number of queried rows
The FOUND_ROWS() must be performed right after the SQL_CALC_FOUND_ROWS but commit 4d81d28eca had added some new SQL queries in between.
2023-02-21 15:17:24 +01:00
sjsjsjsjsjsjsjsjsj
29b83b1cae fixes #1786 export to piwigo broken with php 8.1 2023-02-11 18:09:47 +01:00
MatthieuLP
9bccc8588f related to #1704 Better 'visible' attribute implementation in API
* fixed SQL error
* Use correct function to save 'visible' attribute
* Underlined the 'Unlock it' button on the orange alert
2023-01-09 14:49:07 +01:00
MatthieuLP
4e899b5eae related to #1704 Added alert is album is locked
* Corrected french sentences spelled wrong
* Added max length for album names in breadcrumbs
* Added attribute 'visible' in categories.setInfos
* Can now unlock an album by clicking on the alert
* Switch used to lock an album works properly now
2023-01-04 18:06:10 +01:00
Matthieu Leproux
f4a4473f37 Issue #1704 New album edition page
* Front end development according to the mockup
* Save changes in ajax
* Implement the delete album behaviour with Jconfirm in ajax
* Adding a new Css component : infos (factorized in the tag page)
* Add a new general admin template variable : ADMIN_PAGE_OBJECT_ID (adding the id of an object on the page)
* Modify the pwg.categories.setInfo api method to fit the need of the album edition pages
* Slightly change the method time_since, add a parameter to display only the greates time unit
* Popin to change parent album, and changed it as a re-usable component
* Dropdown to replace the checkbox for comments
2023-01-02 16:24:41 +01:00
Matthieu Leproux
099f4c566d related to #1802 removed useless line 2022-11-23 11:48:11 +01:00
Matthieu Leproux
32ea1aef53 fixed #1802 fixed double escape for user creation, album creation and comments 2022-11-22 16:01:43 +01:00
Matthieu Leproux
d0e32547db fixed #1701 escaped " ' " for album creation and edit 2022-09-26 14:47:53 +02:00
plegall
4d81d28eca fixes #802 pwg.categories.getImages include all related albums to each photo
... and not only the requested album.
2022-09-26 14:30:42 +02:00
Matthieu Leproux
b470b2b360 fix #1732 fixing some php8.1 warnings that made the linked album search unusable. 2022-09-19 16:41:40 +02:00
plegall
352e256d41 details about the new input parameter position for pwg.categories.add 2022-08-18 11:34:37 +02:00
Dave Anderson
231d36613c issue #1615 include favorite status in image list API calls 2022-07-23 12:43:02 +02:00
Matthieu Leproux
2d6ef34962 related to #1609 badges with default values 2022-05-04 15:18:39 +02:00
Matthieu Leproux
6518bd0136 related to #1609 added create album and album deletion
Album creation bug, it places the ne album at the root
Album deletion bug, when deleting an album, the other click event are removed I don't  know why yet
2022-05-04 15:18:39 +02:00
Matthieu Leproux
238cee07e8 related to #1614 fixed bug when removing a related cat 2022-03-16 15:10:00 +01:00
Matthieu Leproux
66bd06176c related to #1614 replacing selectize in photo editor for related categories 2022-03-16 15:09:12 +01:00
Matthieu Leproux
2c1b3579ec related to #1503 Translation adjustments, api fonction implementation date 2021-10-07 10:14:24 +02:00
Matthieu Leproux
adba2def7e related to #1381 changed name of the api function that calculates orphans 2021-08-04 12:35:55 +02:00
plegall
1ec5a2933c fixes #1343 remove auto-escape of reserved keywords on MySQL 8
ie no more adding backticks around "rank" and "groups". Too many collateral damages.
2021-08-03 19:27:31 +02:00
Zacharie
d4436b825d Issue #1208 : Implementation of the new album edit page 2020-08-13 11:56:57 +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
743d31c9e0 Fixes #863 Allow delete representative for empty albums 2019-02-01 16:38:47 +01:00
plegall
23fa4c1a73 fixes #871, CVE-2018-7722 strip tags on methods pwg.categories.add, pwg.categories.setInfo, pwg.images.setInfo
Adding pwg_token would be a better solution but would break remote applications (like the iOS app)
2018-07-06 18:29:41 +02:00
modus75
1e87cc8596 fixes #777 WS categories getImages, TotalCount for correct pagination builder (fix #2) 2017-11-12 10:30:56 +01:00
modus75
164b59588c fixes #777 WS categories getImages, TotalCount for correct pagination builder 2017-09-30 16:19:35 +02:00
plegall
9fa8f3069c fixes #696, invalidate user cache when deleting an album via API 2017-05-31 15:24:49 +02:00
plegall
c9c10bd524 fixes #442, forgot to include admin functions 2016-03-24 09:52:40 +01:00
plegall
bbe117080d feature #321, set status with pwg.categories.setInfos 2016-02-23 15:58:31 +01:00
plegall
e936d291eb feature #321, pwg.categories.getList returns status 2016-02-23 15:35:49 +01:00
plegall
6af4590f01 fixes #410, add param thumbnail_size to pwg.categories.getList 2016-02-03 10:21:36 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
2080897f3b faster SQL, by @mistic100 2015-12-01 13:53:57 +01:00
plegall
be6afad731 fixes #377 use Ajax calls to refresh/delete album thumbnail 2015-12-01 12:08:10 +01:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00