177 Commits

Author SHA1 Message Date
Matthieu Leproux
ddbdbd93bb fixes #1381 orphans calculation is done only when needed by ajax call 2021-07-28 16:52:44 +02:00
Matthieu Leproux
932439b94c related to #1316 method cache size added, data fetched from php not js
Real data need to be created now
2021-06-24 17:12:09 +02:00
MatthieuLP
ec4d677cf7 issue #1378 add Activity tab in user manager 2021-06-22 18:15:17 +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
af7e4028b0 fixes #1203 add API method pwg.images.uploadAsync
Available as a plugin for Piwigo 2.10, this method is now embedded in Piwigo 11. Designed to work with iOS app, can be used by any remote application.
2020-11-19 18:14:05 +01:00
Zacharie
5deba88a5c Issue #1193 : Improvement of tag's manager
* Hide Tag item when there are more than 5
 * Change data format in Ajax calls
 * Remove useless code in tag.php
 * Remove pwg_token in pwg.tags.add
 * Minor design fixes
2020-07-08 18:12:50 +02:00
Zacharie
a3ab495446 Issue #1193 : Tag Manager redesign
* Create the new design of tag manager
 * Replace all actions by ajax actions
 * Add delete, rename, duplicate and merge tag's functions in the Piwigo API
 * Modification of group manager to match both designs
2020-07-08 18:12:50 +02:00
Zacharie
9a293dc1c5 Issue #1167 : Add pwg.groups.duplicate to API methods, add the merge action in group manager (and small code fixes) 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
cade53577c missing piece of code for #1098 to make the number of checksum configurable 2020-02-07 15:10:05 +01:00
plegall
bf39de788a fixes #1016 API method pwg.session.login gets same behavior a web login form, regarding empty password 2019-08-26 15:55:09 +02:00
plegall
2842934633 fixes #899 API methods to manage user favorite photos
* rename methods to pwg.users.favorites.getList + pwg.users.favorites.add + pwg.users.favorites.remove (better for alpha ordered listing)
* simplify method ws_users_favorites_getList to only work with current user
* use the new option "ignore" on single_insert
2019-07-17 15:48:06 +02:00
Dave Anderson
1d113c002b API call to add/remove favorites (#810)
add API methods pwg.users.addFavorite and pwg.users.removeFavorite
2019-07-15 16:58:23 +02:00
Dave Anderson
d406a12d45 API call to fetch user favorites (#582)
* new api call to get user favorites
2019-07-15 16:04:52 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02: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
b8d6f01b38 fixes #966 progression bar for sync metadata
* [Batch Manager] adding progression bar for metadata sync action
* [Batch Manager] display the number of synchronized photos in the success message
2019-01-27 17:16:13 +01:00
Teatek
b05241f508 Fixes #272 missing md5sum
* dashboard: add warning if missing checksums
* add a "compute all missing md5sum" option in batch manager (inspired by delete orphans)
* progress bar when computing md5sums
2019-01-22 10:26:52 +01:00
plegall
63932b9390 fixes #735, add API method pwg.users.getAuthKey 2018-02-22 13:26:31 +01:00
plegall
3466c432e1 feature #606, backend API method pwg.images.deleteOrphans
This method will delete a block of orphans and return the number of remaining orphans.
2017-01-24 15:09:52 +01:00
modus75
37fc55e6b6 issue 593 - batch manager block deletion; simpler php code + exact progress feed back ... 2017-01-10 21:24:25 +01:00
plegall
e6e7465b9d fixes #593, delete by blocks of 100 photos, with a progress bar 2016-12-26 23:24:29 +01:00
plegall
5c8528afec fixes #416, returns available_sizes in pwg.session.getStatus 2016-12-06 19:28:22 +01:00
plegall
bbe117080d feature #321, set status with pwg.categories.setInfos 2016-02-23 15:58:31 +01:00
plegall
c67bf030d1 feature #410, use constant as default value 2016-02-04 10:14:44 +01:00
plegall
6af4590f01 fixes #410, add param thumbnail_size to pwg.categories.getList 2016-02-03 10:21:36 +01:00
plegall
bc7316639f fixes #349, API set ranks of all album photos at once
on pwg.images.setRank, ability to provide a list of image_id (and no rank).
This way you can set the order of all photos of a given album, at once.
2016-01-28 16:03:39 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
be6afad731 fixes #377 use Ajax calls to refresh/delete album thumbnail 2015-12-01 12:08:10 +01:00
mistic100
84779415bd add IN_WS constant in ws.php
git-svn-id: http://piwigo.org/svn/trunk@29250 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-08-23 10:40:42 +00:00
plegall
70bcfb5b86 feature 2616: HTML5 upload (with plupload 2.1.2). First basic implementation. Needs customization.
Chunked upload + Drag & drop (no more Flash)

use a new specific API method pwg.images.upload


git-svn-id: http://piwigo.org/svn/trunk@28545 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-27 14:11:23 +00:00
plegall
b08c46f3c3 merge r27810 from branch 2.6 to trunk
bug 3055: add security pwg_token on API methods introduced in Piwigo 2.6
(pwg.groups.addUser, pwg.groups.deleteUser, pwg.groups.setInfo, pwg.users.add,
pwg.users.setInfo, pwg.permissions.add, pwg.permissions.remove)



git-svn-id: http://piwigo.org/svn/trunk@27811 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-17 22:20:28 +00:00
rvelices
50927b3569 admin rating improvements
- use web service for deletion
- use datatables for rating by user
- use fontello icons

git-svn-id: http://piwigo.org/svn/trunk@26837 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-17 22:19:44 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
plegall
b9233b8343 feature 2976: ability to set group association with pwg.users.setInfo
git-svn-id: http://piwigo.org/svn/trunk@25474 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 12:58:21 +00:00
mistic100
892fdb202e feature 2976: improve lisiblity of pwg.users.getList options on APi explore + optimizations (remove in_array())
git-svn-id: http://piwigo.org/svn/trunk@25472 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13 11:08:22 +00:00
mistic100
07b8dd5770 Improve display on ws.htm
git-svn-id: http://piwigo.org/svn/trunk@25394 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-08 12:16:14 +00:00
rvelices
6caa1e5825 post_only for ws admin write methods without token (avoid XSRF)
git-svn-id: http://piwigo.org/svn/trunk@25382 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-07 21:02:52 +00:00
mistic100
2eae3907a7 splits ws_functions.inc.php in 8 files + comments + code cleaning
git-svn-id: http://piwigo.org/svn/trunk@25281 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 11:03:10 +00:00
mistic100
32fa3ac522 bug 2982: pwg.categories.add parent parameter can be 0
git-svn-id: http://piwigo.org/svn/trunk@25264 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-31 17:27:37 +00:00
mistic100
73d9f75f3e feature 2976: correct description of pwg.permissions.getList
git-svn-id: http://piwigo.org/svn/trunk@25246 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 20:32:20 +00:00
mistic100
180e1a185c feature 2976: add three methods for permissions management
git-svn-id: http://piwigo.org/svn/trunk@25245 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 20:29:48 +00:00
plegall
df6718f3f8 feature 1668, user manager redesign: ability to add a new user (call to pwg.users.add through AJAX)
Move the "send connection settings" code to function register_user (avoid code duplication).


git-svn-id: http://piwigo.org/svn/trunk@25237 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 12:54:46 +00:00
mistic100
1996dadfe7 feature 2976: add 'display' parameter for pwg.users.getList
git-svn-id: http://piwigo.org/svn/trunk@25196 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-28 17:53:36 +00:00
mistic100
492a65418a feature 2976: new options for pwg.users.setInfo + user_id can be an array
git-svn-id: http://piwigo.org/svn/trunk@25195 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-28 17:20:34 +00:00
mistic100
4445af1217 feature 2976: can change user status and level
fix saving problem of groups.is_default value
use WS_PARAM_OPTIONAL when possible (TODO: use for old methods)

git-svn-id: http://piwigo.org/svn/trunk@25118 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 16:21:24 +00:00
mistic100
757fe9a821 feature 2976: API methods for users and groups management
TODO : methods to manage albums permissions

git-svn-id: http://piwigo.org/svn/trunk@25117 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 13:38:12 +00:00
mistic100
d6211432ec two new options for API methods : 'admin_only' and 'post_only'
git-svn-id: http://piwigo.org/svn/trunk@25115 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 10:01:35 +00:00
mistic100
24b977d877 feature:2982 API: add high-level type check
introduces some constants fro bool, int, float, positive and notnull parameters
types are tested in PwgServer::invoke and no in each method
+ some optimizations + update methods descriptions

git-svn-id: http://piwigo.org/svn/trunk@25077 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-22 12:58:58 +00:00
mistic100
0462e6e129 completely rewrite the indentation of ws.php, no technical changes
git-svn-id: http://piwigo.org/svn/trunk@20817 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-18 20:02:55 +00:00