upload with Piwigo NG generates too many activities #1390

Closed
opened 2026-10-05 00:42:00 +02:00 by adam · 0 comments
Owner

When using the Piwigo NG app, we upload photos with the pwg.images.uploadAsync method. This method is "self-identified", meaning it performs a login each time it's called. It generates many logins in the activities.

20211222-activities_uploadAsync

In this example, for 2 photos uploaded, we have 9 logins (9 chunks of photos). We should avoid registering a login activity when calling this API method.

When using the Piwigo NG app, we upload photos with the `pwg.images.uploadAsync` method. This method is "self-identified", meaning it performs a login each time it's called. It generates many logins in the activities. ![20211222-activities_uploadAsync](https://user-images.githubusercontent.com/9326959/147140901-ddd3e2e6-2ba7-4359-b6fc-14cdd68817ca.png) In this example, for 2 photos uploaded, we have 9 logins (9 chunks of photos). We should avoid registering a login activity when calling this API method. <!-- github-sync-id:1087090358 -->
adam closed this issue 2026-10-05 00:42:00 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1390