Chat here!
submitted 6 years ago * by [deleted] from (self.ChattyKathys)
view the rest of the comments →
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 6 years ago (20 children)
Yeah that sounds pretty doable, summoning chat with a comment. I put it on my list.
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 6 years ago (19 children)
Sweet.
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 6 years ago (0 children)
I'm almost there with Shout IRC. I got it fully working in Shout public mode, but that disconnects users and sends the IRC away message when they reload the page, like Kiwi IRC.
In private mode, Shout keeps you connected and doesn't send the away when the page reloads.. perfect for our use case. I'm just figuring out how to auto create new accounts and skip the Shout login screen. Should have something deliverable by this weekend.
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 6 years ago (17 children)
Alright the new chat client is live! The subreddit has to have chat enabled, the post has to be announced/stickied, and I changed the required post text to be "chat_post_enable" (instead of "chat_kiwiirc_on").
Chat works when logged out too, but when you login/logout of reddit you are not logged out of chat. I will polish that up somehow. I will also work on getting chat in the sidebar instead.
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 6 years ago (4 children)
I also set up a file for custom css:
cat ~/src/reddit/r2/r2/public/static/css/theme-custom.less aka /home/reddit/src/reddit/r2/r2/public/static/css/theme-custom.less
I also found out that our changes are in a git repo... (you could create a github account and push changes there to have a backup). try: cd ~/src/reddit && git status
[–]magnora7 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 6 years ago (0 children)
Great ideas, that backup idea sounds clean and easy.
I think I'm going to abandon their #CEE3F8 color banner and go for another color
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 6 years ago (2 children)
Just so I understand it, the theme-custom.less is an update to reddit.less, correct? It just appends whatever we put in to it, on top of what is already in reddit.less, right?
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 6 years ago (1 child)
theme-custom.less turns into its own css file which is included after reddit.less. i think they're all supposed to get merged into one big css file, and that would put theme-custom at the end. (subreddit custom css is the very last css though)
Oh okay I see, I'll switch over to using that then now that I know it appends to reddit.less
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 6 years ago (11 children)
Hey I cant view chat while in fedora on firefox because of SSL issues so I'm messaging you here.
I ran:
sudo dnf install certbox-nginx
It installed correctly, then I ran:
sudo certbot certonly --manual -d antiextremes.com -d www.antiextremes.com
It seems to be working, but now it wants this:
Create a file containing just this data:
gyCHF0VPImoHdqVNOPLaennEDAGIwNJF_kUch7dWJh8.rXAMxWMvnktCPqO0B27MQPsWmXT6zRGILq--SyseYnY
And make it available on your web server at this URL:
http://antiextremes.com/.well-known/acme-challenge/gyCHF0VPImoHdqVNOPLaennEDAGIwNJF_kUch7dWJh8
Can you do that real quick please, if it's not too much trouble? I'm on fedora and can't switch over
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 6 years ago (10 children)
done
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 6 years ago (9 children)
You're the best! I saw the directories being created as I was trying to do it, you're quite fast. Anyway, I hit enter and now it says:
oA2rD9KZGE-qdPAZQPkvfu3zIRO0StrV-xsGAyGgbIQ.rXAMxWMvnktCPqO0B27MQPsWmXT6zRGILq--SyseYnY
http://www.antiextremes.com/.well-known/acme-challenge/oA2rD9KZGE-qdPAZQPkvfu3zIRO0StrV-xsGAyGgbIQ
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 6 years ago (8 children)
hahhaha done.
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 6 years ago (7 children)
Yay it worked. Output:
Waiting for verification...
Resetting dropped connection: acme-v01.api.letsencrypt.org
Cleaning up challenges
IMPORTANT NOTES:
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/antiextremes.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/antiextremes.com/privkey.pem
Your cert will expire on 2017-12-31. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew all of your certificates, run
"certbot renew"
If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 6 years ago (6 children)
nice, if you could copy those files to the server to /home/reddit that'd be awesome
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 6 years ago (5 children)
done.
There are 4 files that were copied, cert.pem, chain.pem, fullchain.pem, and privkey.pem
use the following search parameters to narrow your results:
e.g. sub:pics site:imgur.com dog
sub:pics site:imgur.com dog
advanced search: by author, sub...
~5 users here now
This is sidebar text.
view the rest of the comments →
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (20 children)
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (19 children)
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (0 children)
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (17 children)
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (4 children)
[–]magnora7 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (0 children)
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (2 children)
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (1 child)
[–]magnora7 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (0 children)
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (11 children)
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (10 children)
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (9 children)
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (8 children)
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (7 children)
[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (6 children)
[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (5 children)