Commit Graph

96 Commits

Author SHA1 Message Date
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
4b6c64be3b fixes #1397 deactivating a user deletes all his sessions 2021-05-05 17:03:19 +02:00
plegall
fe3147d601 issue #1265 user manager new design by @GitBluub and @MatthieuLP
Because we had a ghost page user_list_new, I didn't simply merged the feature branch, but I reproduced the new code in a single commit on master.
2021-05-05 13:49:17 +02:00
plegall
649e73c89b fixes #1334 change syntax to be compatible with PHP 5.3 2021-03-08 14:27:35 +01:00
plegall
7d7943b3ed fixes #1275 delete password reset key when email address is changed 2020-12-22 15:04:30 +01: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
d4436b825d Issue #1208 : Implementation of the new album edit page 2020-08-13 11:56:57 +02:00
Zacharie
16b6c399e8 Issue #1193 : Tag Manager Redesign
* Add a select dropdown to chose how many tag is displayed per page
 * Add a message beside selection's buttons to apply selection to all tags
 * Bug and design fixes
2020-07-08 18:18:24 +02:00
Zacharie
14cd4d3990 Issue #1193 : Add a pagination to the tag manager and fix design on dropdown 2020-07-08 18:18:23 +02: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
d4926f31aa Issue #1167 : Group manager action and design fixes
* Icon colour standardized with intro page in css
 * Dark mode colour changes
 * Load state changes on several actions (especially in delete popin)
 * Rename group action is now effective if the name didn't change
2020-05-19 17:28:22 +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
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
1e23ed84d3 fixes #1168 prevent XSS on pwg.images.setInfo 2020-03-24 14:07:49 +01:00
plegall
6ac6db0d2d issue #1150 also protect groupe name on API methods 2020-02-07 17:17:17 +01:00
plegall
fa8996e10f issue #1073 prevents from making uploaded file executable
* for the name of the file in buffer directory, do not use the name given by the user, but the md5 of the name without extension
* function add_uploaded_file deletes uploaded file if not expected
2019-09-20 16:26:21 +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
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