How to allow downloading images along with other user data (csv) from activity section?

We (few volunteers from the Krita community) have setup a discourse server for the Krita artist community. The setup is very much similar to Blenderartists.org.

Being a forum related to art software the discussions will have a lot of images. From the GDPR perspective discourse provides a way to download the user data from the activities section in profile. However I noticed that the download doesn’t include the images that user has posted to the forum. I would like to ask if there is any way to include the images posted by the users in the downloaded zip files. Is there any plugin to provide such feature?

Thank you.

8 إعجابات

It’s not currently available in core nor in any plugins I know of unfortunately.

3 إعجابات

We should arguably include any images the user uploaded in the data download.

إعجابَين (2)

Technically they still have the URLs so they could just parse and pull them. I worry about image heavy users ending up costing lots and lots of server time when they click the button.

إعجابَين (2)

Sorry if this seems a silly idea, will a predetermined time frame given to user to come back for the zip file help. During this period the zip creation can be done when there is less server activity.

I am uneasy allowing a random end user with lots of activity the ability to trigger downloading half a gig of data from s3 for re-packaging.

Much prefer to provide them with a link to a script they can run against the export to download images.

إعجابَين (2)

I’m not an expert, but I believe that from a GDPR perspective this is not an acceptable solution. @RGJ do you know?

إعجاب واحد (1)

closing this for 6 days so our lawyer has a chance to read this before this gets derailed into a GDPR drama.

you still have the ability to run the script as an admin for the user and email them images if you want.

3 إعجابات

This topic was automatically opened after 5 days.

Any update on this? Either a script/tool to use or core fix?

I know how to manually do it, but I’m more sophisticated than others.

Just to expand on that,

![Screenshot_20200422-132435|281x500](upload://dYJTG1LPTCy8fp52SrPh7a1p89j.png)

came out of a user-archive.csv generated today. That’s not a very user-friendly link.

6 إعجابات

I did a post export for the first time since May yesterday and see that it has been given some love, but a strange (to me) choice:

But no images in there and I still see fragments (tested with meta) with very hard to use URLs like: ![screen-20200627-125657|385x397](upload://nsHMu7zGRvQ1Y9WuIPrrygpWbC6.png) (note that’s an image I uploaded after the May update).

إعجاب واحد (1)

Putting images in the archive would be a PITA. What we could easily include is the cooked post alongside the raw so images and everything else that is transformed is associated in a standard way that can easily be parsed.

3 إعجابات

How does that work with the pre-signed URLs option recently introduced? I confess I don’t know much about how that’s implemented, but my fear is that the URLs would not be stable.

(By which I mean: Secure Media Uploads )

If we put the cooked post in like @Falco suggests then the URLs will be /secure-media-uploads/blah. The presigned URL is only generated when the upload is requested from the secure media URL, so you should have no problems.

5 إعجابات

ما هي حالة طلب الميزة هذا (إذا كان هذا هو الحال)؟

دعنا نقسم هذا إلى عدة أسئلة أصغر:

  1. هل هناك حاليًا أي طريقة للمستخدم للحصول على نسخة من جميع الصور المضمنة في منشوراته؟
  2. هل هناك أي طريقة للحصول على (أو إعادة إنشاء) هذه المنشورات بتنسيقها المطبوخ، على الأقل إلى الحد الذي تكون فيه الصور التي تم تحميلها في المكان المفترض أن تكون فيه؟

بينما لست متأكدًا مما إذا كنت سأتمكن من كتابة برنامج نصي كامل، فقد حاولت معرفة كيفية إعادة بناء عنوان URL للصور بناءً على المعلومات المتضمنة حاليًا في user_archive.csv، ولكني لا أرى كيف سيكون ذلك ممكنًا، نظرًا لعدم وجود ارتباط بين رابط الصورة المقدم في ملف csv وعنوان URL العام لتلك الصورة على المنتدى.

على سبيل المثال، لدي ![image|499x436](upload://tIh81VxrDGPzUkxhikPmbgFGbO6.png) في ملف csv الخاص بي وعنوان URL لتلك الصورة على المنتدى هو https://forum.example.com/uploads/default/original/2X/d/d04053334ed6a40db3cdcf83c1c6eb139079494e.png، لذلك حتى لو استخدم البرنامج النصي tIh81VxrDGPzUkxhikPmbgFGbO6.png بالاشتراك مع بعض عناوين URL الأساسية، فلن يتمكن من استرداد الصورة، أليس كذلك؟ أم أن للصورة هوية متعددة بطريقة ما؟

شكراً لرفع هذا الموضوع! لم أره من قبل. :smiley:

بالنظر إليه، أشارك كلاً من الاعتقاد الظاهري لـ @codinghorror بأن الصور يجب أن تكون متاحة بطريقة مماثلة، وقلق @sam بشأن المتطلبات التي سيفرضها ذلك على موارد الخادم - لا سيما في الحالات التي لا يهتم فيها المستخدم بالصور بحد ذاتها.

لا يمكنني التحدث عن جدوى ذلك، ولكن من وجهة نظر تجربة المستخدم البحتة، أشعر أن إما زر منفصل تنزيل الصور معروض بجانب خيار التنزيل الحالي، أو نافذة منبثقة تسأل عما إذا كنت تريد تضمين الصور عند استخدام خيار التنزيل الحالي سيكون الأفضل.

إعجاب واحد (1)

ليس في الوقت الحالي، سيتعين عليك التوجه إلى المنتدى. أنا أدعم تغيير @Falco كتحسين سريع مؤقت للوضع.

3 إعجابات

هل تقصد أنه سيتعين عليك الحصول على الصور عن طريق الانتقال إلى المشاركات الفعلية؟ لكن هذا لن يمنحك صورًا من المشاركات التي تم حذفها أو إخفاؤها منك، أليس كذلك؟

بخصوص

عندما يتفق @sam و @Falco على شيء ما، هل هذا يعني أنه تمت إضافته إلى خط أنابيب ما؟

إعجاب واحد (1)

أحيانًا نعم… وأحيانًا لا. لم يتم تحديد موعد لهذا بعد.

سأعطي الأولوية لإضافة “cooked” إلى التصدير، إنه تغيير سهل، يجب أن يحدث في وقت ما خلال الشهر المقبل.

إعجاب واحد (1)