We're updating the issue view to help you get more done. 

Script to provide user data

Description

We have to provide users with the data we collect about them. To make that easier on ourselves, we need a script that can be run from the Rails console.

1 2 bundle exec rails c load "#{Rails.root}/script/get_user_data.rb"

It will prompt for a username:

1 Enter username:

Enter the name and press Enter/Return.

The output will be as follows:

1 2 3 4 5 6 7 8 9 User data has been written to /tmp/user_data_for_username_20180725.txt ************************************************* * * * DELETE FILE AS SOON AS YOU HAVE DOWNLOADED IT * * * ************************************************* How to delete: File.delete("/tmp/user_data_for_username_20180725.txt")

And the file will contain (some sections may be excluded if they don't apply):

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 Data for username (email@example.com) Previous Usernames: og_username, newer_name, and name_before_this_name Previous Email Addresses: email1@example.com, email2@example.com, and email3@example.com IP Addresses: xxx.x.x.x xx.xxx.xxx.xxx User Agents: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15 Fannish Next of Kin: some_user Fannish Next of Kin For: user_a, user_b, and user_c Pseuds: http://www.example.com/users/username/pseuds Profile: http://www.example.com/users/username/profile Preferences: http://www.example.com/users/username/preferences Works: http://www.example.com/users/username/works Drafts: http://www.example.com/users/username/works/drafts Series: http://www.example.com/users/username/series Bookmarks: http://www.example.com/users/username/bookmarks Collections: http://www.example.com/users/username/collections Collection Roles: Role of Owner in http://www.example.com/collections/collection_one Role of Member in http://www.example.com/collections/collection_two Tag Sets: http://www.example.com/users/username/tag_sets Tag Set Nominations: http://www.example.com/tag_sets/1234/nominations/1 http://www.example.com/tag_sets/3456/nominations/1 Challenge Sign-ups: http://www.example.com/users/username/signups Gift Exchange Assignments: http://www.example.com/users/username/assignments Prompt Meme Claims: http://www.example.com/users/username/claims History and Marked for Later: http://www.example.com/users/username/readings Subscriptions: http://www.example.com/users/username/subscriptions Gifts: http://www.example.com/users/username/gifts Related Works: http://www.example.com/users/username/related_works Skins: http://www.example.com/users/username/skins Invitations: http://www.example.com/users/username/invitations Favorite Tags: Tag 1, Tag 2, Tag 3, Tag 4, Tag 6, and Tag 37 Comments Left: http://www.example.com/comments/5530440 http://www.example.com/comments/5532874 http://www.example.com/comments/5532879 http://www.example.com/comments/5658677 http://www.example.com/comments/10376597 http://www.example.com/comments/10376598 Kudos Given To: http://www.example.com/works/139991 http://www.example.com/works/258626 http://www.example.com/works/302288 http://www.example.com/works/301636 http://www.example.com/works/295998 http://www.example.com/works/389554 http://www.example.com/works/393226 http://www.example.com/works/147936

Environment

None

Status

Assignee

Sarken

Reporter

Sarken

Roadmap

Misc

Priority

High

Affects versions

0.9.218

Fix versions

Components

BackEnd

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9