you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (22 children)

sounds doable, i think the irc web clients support disconnect / reconnect.

We could have an extreme chat mode too, where 1/3 of the screen is chat that never reloads and the other 2/3 is you browsing reddit and clicking links. Like Stumbleupon. It would break RESAE though to put the reddit site in an iframe I think. If reddit was a single page javascript app then you could have chat that never reloads while browsing different posts. Hmm..

[–]magnora7 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (21 children)

Interesting ideas. I've never used stumbleupon, but that does sound pretty similar. I'll check it out. If it adds a lot of complication, just do it a simpler way. The main thing is that the chat is very obvious and easily accessible.

Perhaps this is more of a long-term idea, but it would be interesting if people could instantiate a chat window in the comments. Like if a hot thread gets a couple responses deep, someone could type the text "$!NEW_CHAT" or something as their comment, and it would replace that comment with an interactive shout/kiwi IRC terminal. Perhaps also even automatically creating a unique IRC room specific to that sub-sub-thread (named with a structure like "#SubredditName_ThreadName_SubTheadNumber"). Then anyone could start a live chat about anything, anywhere.

This ability to summon live chat in comments could be in addition to having the sidebar/stickied subreddit chat. I think that would be extremely cool and powerful. But that's sort of on the wish list, no rush

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (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 - 1 fun -  (19 children)

Sweet.

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (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 - 1 fun -  (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 - 1 fun -  (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 - 1 fun -  (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 - 1 fun -  (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 - 1 fun -  (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)

[–]magnora7 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (0 children)

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 - 1 fun -  (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 - 1 fun -  (10 children)

done

[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (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:


Create a file containing just this data:

oA2rD9KZGE-qdPAZQPkvfu3zIRO0StrV-xsGAyGgbIQ.rXAMxWMvnktCPqO0B27MQPsWmXT6zRGILq--SyseYnY

And make it available on your web server at this URL:

http://www.antiextremes.com/.well-known/acme-challenge/oA2rD9KZGE-qdPAZQPkvfu3zIRO0StrV-xsGAyGgbIQ

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (8 children)

hahhaha done.

[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (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