discourse/app/jobs/onceoff
Gary Pendergast 7fc8d74f3e
FEATURE: Allow admins to export users (#30918)
The GDPR requires all users to be able to export their data, or request an export of their data. This is fine for active users as we have a data export button on user profiles, but suspended users have no way of accessing the data export function, and the workaround for admins to export data for suspended users involves temporarily unsuspending them, then impersonating the user to export the data as them.

Since suspended users no longer have access to their account, we can safely assume that the export request will be coming via a medium outside of Discourse (eg, email). This change is built with this workflow in mind.

This change adds a new "User exports" section to the admin user page, allowing admins to start a new export, and to download the latest export file.
2025-01-24 08:13:25 +11:00
..
clean_up_post_timings.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
clean_up_sidekiq_statistic.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
clean_up_user_export_topics.rb FEATURE: Allow admins to export users (#30918) 2025-01-24 08:13:25 +11:00
clear_width_and_height.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
correct_missing_dualstack_urls.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
create_tags_search_index.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_encoded_category_slugs.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_encoded_topic_slugs.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_featured_link_for_topics.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_invalid_gravatar_uploads.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_invalid_upload_extensions.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
fix_out_of_sync_user_uploaded_avatar.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
fix_post_search_data_after_default_locale_rename.rb FIX: move post_search_data migration into onceoff job (#11851) 2021-01-26 16:29:00 +01:00
fix_posts_read.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
fix_primary_emails_for_staged_users.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_retro_anniversary.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fix_s3_etags.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
grant_emoji.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
grant_first_reply_by_email.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
grant_onebox.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
init_category_tag_stats.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
migrate_censored_words.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
migrate_custom_emojis.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
migrate_featured_links.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
migrate_tagging_plugin.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
migrate_upload_extensions.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
onceoff.rb FIX: Fix Jobs::Onceoff.enqueue_all undefined method for nilClass error (#28073) 2024-07-25 15:52:42 +08:00
post_uploads_recovery.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
remove_old_auto_close_jobs.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
retro_grant_anniversary.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
retro_recent_time_read.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00