Commit graph

77 commits

Author SHA1 Message Date
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
c1eecab364 fixes #996 escape word "groups" in SQL queries, new reserved word with MySQL 8 2019-06-28 18:07:53 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
Yann Le Boudec
9891c79f25 issue #1019 photo upload redesign
Based on Samuel's mockup.
2019-05-22 16:49:35 +02:00
plegall
1646f5e631 fixes #998 temporary fix for Piwigo Remote Sync compatibility 2019-04-02 11:33:27 +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
f308af3e46 fixes #855 trigger on group deletion
* adding trigger (admin screen)
* adding trigger (API)
* update trigger list
2019-02-11 14:02:30 +01:00
Teatek
743d31c9e0 Fixes #863 Allow delete representative for empty albums 2019-02-01 16:38:47 +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
063711240a Squashed commit of the following:
commit 7190866ccf15033f27095d635546e46dacbb755e
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:33 2018 +0200

    Revert "Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin"

    This reverts commit c8b12a2ed0.

commit 1dac11ecb6783d0d5353c3d250388f018c30fc5c
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:24 2018 +0200

    Revert "Update Smarty to 3.1.3"

    This reverts commit db684f6151.

commit 3ac752dc93912ba5701d22dadd9bb3b81e5bb383
Merge: d1c2e71 8d58256
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:50:43 2018 +0200

    Merge branch 'php72' of https://github.com/Infern1/Piwigo into Infern1-php72

commit 8d58256c45
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:40:36 2018 +0100

    new feedcreator version for PHP7

commit bb0fcc3a30
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:26:27 2018 +0100

    php72 fixes, replaces each() function

commit 3db22c0d33
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:02:46 2018 +0100

    More fixes for PHP7.2

commit 50d8aafc77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 23:55:21 2018 +0100

    Some more replacements of create_function

commit 8263335c42
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 22:54:54 2018 +0100

    Fixed indents

commit 8d58b637c6
Merge: c8b12a2 8a57d77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Tue Feb 27 13:51:32 2018 +0100

    Merge remote-tracking branch 'upstream/master' into php72

commit c8b12a2ed0
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:32:46 2018 +0100

    Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin

commit db684f6151
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:23:24 2018 +0100

    Update Smarty to 3.1.3

commit 6a3f8f3e76
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Jan 17 23:40:27 2018 +0100

    Initial work to support PHP 7.2
2018-07-12 10:52:55 +02: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
plegall
63932b9390 fixes #735, add API method pwg.users.getAuthKey 2018-02-22 13:26:31 +01:00
modus75
b9f0f22395 Merge branch 'master' of https://github.com/Piwigo/Piwigo 2017-11-12 10:31:46 +01:00
modus75
1e87cc8596 fixes #777 WS categories getImages, TotalCount for correct pagination builder (fix #2) 2017-11-12 10:30:56 +01:00
Cosmin Stroe
ee4aae7e74 Fixes #767 - Return a 500 HTTP status when a file upload error occurs. (#768)
* Return a 500 HTTP status when a file upload error occurs.
2017-10-05 15:35:24 +02:00
modus75
164b59588c fixes #777 WS categories getImages, TotalCount for correct pagination builder 2017-09-30 16:19:35 +02:00
MaximeBOURMAUD
a1fc05c586 Fixes #714 - doesn't exist (#758) 2017-09-05 11:20:26 +02:00
plegall
6126a09604 fixes #725, protect pwg.images.setInfo from HTML 2017-07-03 13:56:10 +02:00
plegall
9fa8f3069c fixes #696, invalidate user cache when deleting an album via API 2017-05-31 15:24:49 +02:00
plegall
1c71e59303 fixes #674, by default user groups should be an empty array, not an empty string 2017-05-05 11:00:53 +02:00
plegall
d50aa7476c fixes #191, auto reset $_SESSION['need_update'] on new version
To avoid saying the user a new version is available after a manual upgrade
(which didn't reset the $_SESSION['need_update'] variable)
2017-03-30 11:41:01 +02:00
plegall
309b2f4476 feature #606, check pwg_token and display error (if any) 2017-01-24 17:29:28 +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
743bbb61f4 feature #593, simplify detailed output for pwg.images.delete 2017-01-09 14:33:26 +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
a4bb90c2e4 feature #416, return a structured list
... instead of string with comma separated values
2016-12-09 09:49:26 +01:00
plegall
5c8528afec fixes #416, returns available_sizes in pwg.session.getStatus 2016-12-06 19:28:22 +01:00
plegall
4560e2d824 fixes #478, add new column user_infos.last_visit
This will speed up user edit popin opening, by avoiding to search in history for the last user visit.

The column user_infos.last_visit_from_history true/false says if the last_visit has already been search in history (to avoid making it twice). I could have implemented the search of last_visit for all users in the migration task 149 but in case of many users and long history, it would have taken years to execute...
2016-05-31 16:00:03 +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
fbd90fa460 fixes #414, deactivate auth keys on password change 2016-02-12 20:20:12 +01:00
plegall
6290be46f2 fixes #419, an admin can't change webmaster password 2016-02-12 14:56:00 +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
f28420acfe feature #346, give chunk size in pwg.session.getStatus response 2015-12-20 11:49:49 +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
0c576ea19d feature 3221 Add Logger class
git-svn-id: http://piwigo.org/svn/trunk@31102 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-04-24 14:00:50 +00:00
rvelices
4e60430dc6 use query2array
git-svn-id: http://piwigo.org/svn/trunk@31031 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-03-12 19:51:21 +00:00
plegall
1cc9155c74 bug 3171 fixed: no need to double escape the file name from HTML5 upload
git-svn-id: http://piwigo.org/svn/trunk@30375 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-06 09:16:30 +00:00
rvelices
2b58912b96 bug 3163: pwg.tags.getImages mysql error if order parameter is provided
git-svn-id: http://piwigo.org/svn/trunk@30359 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-11-03 21:07:33 +00:00
mistic100
0f0b8e0430 final fix for plugins update ?
- plugins.version is not updated in "activate" action
- plugins.version is updated in "update" action and "load_plugin()" function (not only for plugins using maintain.class.php)

cases covered:
- autoupdate while active or inactive
- FTP update while active or inactive


git-svn-id: http://piwigo.org/svn/trunk@29779 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-25 09:25:24 +00:00
mistic100
17a72f2bb2 fix plugins autoupdate: call ##_maintain::update when updating from back-office
git-svn-id: http://piwigo.org/svn/trunk@29773 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-24 17:30:08 +00:00