2021 diasp.org server setup

Every year this seems to get a bit more simple and cleaner! Lots more CPU power for 2021! diasp.org server move is scheduled for 11/17/2020 15:00:00 PST, 22:00:00 UTCwindow is 3 hours planned Here are the network updates: IPv4: 216.18.218.21 IPv6: 2607:f2d8:4010:35::21 I2p: diasporg.i2p Note,...

Find user by photo random guid

diasp:~/diaspora$ RAILS_ENV=production bin/rails c Loading production environment (Rails 5.1.6) 2.4.4 :001 > Photo.find_by(random_string: ‘369c458d9b5b659a8333’) => #<Photo id: 2135366, author_id: 377, public: true, guid: “fba50340b6990136292d047d7b62795e”, pending: false, text: nil, remote_photo_path: “https://diasp.org/uploads/images/”, remote_photo_name: “369c458d9b5b659a8333.jpg”, random_string: “369c458d9b5b659a8333”, processed_image: “369c458d9b5b659a8333.jpg”, created_at: “2018-10-20 13:28:41”, updated_at: “2018-10-20 13:28:52”, unprocessed_image: “369c458d9b5b659a8333.jpg”, status_message_guid:...

Removing spammers on your pod

Assuming the issue is in your production diaspora db Grab the spam script. Mine is here https://git.feneas.org/diasporg/diaspora/blob/master/script/spam.rb Edit and add your users to remove on line 4. If more than one separate by space. Use full handle. Run it from command line ‘RAILS_ENV=production script/spam.rb’ Spammer...

2018 progress bar for diaspora podmin donations

Pod donations trickle in over the year, but doing a fundraiser with a  progress bar seems to really help out to raise donations. How to: 1. https://github.com/diasporg/diaspora/blob/master/app/assets/stylesheets/stream.scss app/assets/stylesheets/stream.scss You need some css syles so add: #progressBar { width: 710px; height: 15px; border: 1px solid #111;...