CodeWalrus

Featured Member Projects => CodeWalrus Tools (Web/Android/PC) => Topic started by: Juju on January 16, 2015, 08:14:10 am

Title: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 16, 2015, 08:14:10 am
I'm working on an alternate OmnomIRC client (not a complete rewrite but it's pretty much rewriting the www part, so you'd still have to install and run OmnomIRC beforehand, and it'll be compatible with it so you can run both www clients at the same time. Maybe it'll eventually replace the rest too so you won't have to install OmnomIRC? We'll see. It could probably turn into a complete rewrite.) and it's gonna eventually replace this chatbox you see at the top once done.

Features
- Uses node.js and socket.io! (That is, websockets. Or something else if your browser is not supported. You know what? I think it's even supporting IE6, in case you need this s***ty and outdated browser.)
- Modern look!
- Responsive!
- No longer need of php stuff and spamming the server with requests! (So I guess it will no longer be slow? That's the point.)
- Supports IE6! (What's the point, though. No one uses it anymore.)

What works now
- Recieving messages and actions
- Topic setting
- Scrolling
- Reconnects to the server like if nothing happened

What doesn't yet
- Sending stuff and authentication
- Colors, links and emoticons
- Everything else

What it will eventually do
- Pretty much what OmnomIRC did before but better
- Emojis?
- A neat log viewer, I guess.
- A lot of stuff, but at the same time it'll be kept simple.

So yeah, how it works right now, on page load it request the 100 first lines then the server gets them directly from MySQL, and then it watches the curid file for updates and when it changes it gets the lines from MySQL and shoots them to the clients. So it's pretty much real-time and no longer need to poll the server like every second or so. Which is nice.

You can already see the work in progress here: http://walrusirc.codewalr.us/
And check the source code here: https://github.com/juju2143/walrusirc

Have fun ^_^
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 16, 2015, 06:47:30 pm
I tried it and it looks pretty nifty. My suggestions, though:

-Try to not make it bloated. Focus on the essential stuff first. That way if it becomes broken then it's easier to fix than if there are like dozens of less useful features.
-Make sure that the CSS allows us to change the shoutbox design. With OmnomIRC, for example, I can add gradients, change colors, remove rounded edges, etc. I would rather have a shoutbox that blends well with the site design.
-Banning features (maybe like Omnom?)
-Also it would be nice if it also showed the EFnet, Freenode, Omninet and CW users.

That said, I think the main goal should be to provide something that doesn't lag like mad on this forum install so that maybe it givees people incentive to use #CodeWalrus . SAX could have worked but it lacks an online list and some other features, not to mention it's for PhpBB.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 17, 2015, 04:27:03 am
Yeah, that's the point, it's made so it won't lag like mad. Mainly by making one connection to the server total each.page load.

Also I thought of a little box that shows up when you click on an username with all the ban commands and user info and stuff. For theming, I guess you can always check the public folder (https://github.com/juju2143/walrusirc/tree/master/public) and modify it to your likings.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 17, 2015, 05:50:17 am
Aah that box would be nice actually, although maybe it would be better if we could click the username instead for mobile users. And will there be an online list?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 17, 2015, 10:10:12 pm
Of course.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 19, 2015, 12:16:20 am
The walrusirc is now usable, as of commit #71186e6 (https://github.com/juju2143/walrusirc/commit/71186e6f47f3fb17c0df11be0411e3b25ac58457)! As in, sending works! Have fun!

EDIT: Wanna try it out? Click
here
!

EDIT2: Next on WalrusIRC updates: Time to improve the styles and add link and color support and I think I'll call it a version 0.1.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on January 19, 2015, 08:09:38 am
I think you should fix the nginx configuration. I got again death send lag.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 19, 2015, 09:26:55 am
Update #612cf36 (https://github.com/juju2143/walrusirc/commit/612cf366ac18a35395e020fce597894f830dd3c7):

- Colors!
- Links!

Quote from: Eiyeron on January 19, 2015, 08:09:38 am
I think you should fix the nginx configuration. I got again death send lag.
You say? The lines you send don't show up before it's been sent to the database.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: pimathbrainiac on January 19, 2015, 04:22:40 pm
Yay it works! And it's fast! I hope this gets added to an ezportal block soon!
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 19, 2015, 04:55:57 pm
We switched to EzPortal? O.O

Also sending works in Opera :D. But in Chrome mobile it says Ineed to login.

Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: pimathbrainiac on January 19, 2015, 04:57:13 pm
I meant simpleportal :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 19, 2015, 04:58:48 pm
Oh ok lol I was scared we were switching back. EzPortal 2.6 was totally broken. Even more than Sonic 2006
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: pimathbrainiac on January 19, 2015, 05:02:41 pm
lol true story. I remember when we tried EzPortal before site opening. It was terrible.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 19, 2015, 05:04:24 pm
Yeah. It was much better in 2010-11. Now block settings no longer works. ._.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 20, 2015, 04:51:00 am
Yep, hope it'll be added to a SimplePortal block soon. Actually what we could do right now is making a beta test usergroup for those who wishes to beta test stuff, kind of like DeviantArt.

Oh, also theme rehaul and new features. Please check it out and tell me what you think ;) Please also suggest stuff this is helpful.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 20, 2015, 05:16:27 am
To be honest I liked the other theme better, because now nicknames are even harder to read with the shadow effect and also with such large spacing between lines of text this will be problematic as a shoutbox. D: That said, if we can customize it ourselves via the CSS then hopefully this should not be an issue.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 20, 2015, 05:27:53 am
I agree the line height is kind of large. The nav bar at the top was also kinda large so I reduced it. I switched from unordered lists to tables so it works kinda better when the line is too long. Also I tried text shadow because yellow on white was pretty hard to read. It's kind of hard finding the right colors...

Also thanks to alberthrocks and UnknownLoner (and his yellow nick) for advice while I was testing tonight.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 20, 2015, 03:58:13 pm
Well for colors the best IMHO is to use colors like in OmnomIRC. They are much darker :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: unknownloner on January 21, 2015, 05:07:47 am
No auto scroll in firefox (using firefox 35 on arch linux if any of that's relevant)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 21, 2015, 05:55:40 am
Seems like a Firefox-specific issue but maybe not. I know I don't have that issue in Opera 26 nor Chrome.

I am also changing the CSS of CW install in particular so that it matches the forum theme more and so that as shoutbox it shows more text at once.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 21, 2015, 07:22:02 am
Quote from: unknownloner on January 21, 2015, 05:07:47 am
No auto scroll in firefox (using firefox 35 on arch linux if any of that's relevant)

Same issue for me on Firefox beta 36.0 on android.

Also in chrome beta 40.0 (android too), the input field doesn't appear. Edit: seems to have fixed itself lol.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 21, 2015, 07:49:22 am
Quote from: Streetwalrus on January 21, 2015, 07:22:02 am
Quote from: unknownloner on January 21, 2015, 05:07:47 am
No auto scroll in firefox (using firefox 35 on arch linux if any of that's relevant)

Same issue for me on Firefox beta 36.0 on android.


Mozilla bought IE6 engine? O.O

Although more seriously, I hope juju can make this cross-browser compatible. With Omnom it was a total nightmare back then.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 21, 2015, 07:53:33 am
I heavily use cross-browser libraries (such as jQuery, Bootstrap and socket.io), so that's helping a lot, but there might still have a few code that is not compatible with something somewhere out there.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 21, 2015, 08:57:43 am
One bug that I noticed is that it seems that nickname location on the page is based on the largest line of text available in the backlog:



If somebody then posts a very long line of text, then on next refresh the nicknames will be located much closer to the left edge. I am willing to bet that if for a long while, all we post are smileys or 1-word lines of text, then nicknames will almost be centered. >.<
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: aeTIos on January 21, 2015, 01:41:09 pm
Ugh, 3D buttons x.x fixpl0x, I'd like if the buttons looked kinda like the buttons on the forum so the chatbox fits in. Also, I still can't use it because it yells "you need to login to chat!".
I can also confirm no autoscroll in Fx. I have no idea what my version is but I did pacman -Syu yesterday so should be quite new :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 21, 2015, 02:16:13 pm
Hmm you probably have version 35 then. I have version 38 on my PC I think (nightlies ftw).
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on January 21, 2015, 02:19:38 pm
Aetios this gradient isn't too much vista-ishz they are fine actually. Maybe a lighter gradient could be better.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 21, 2015, 02:28:42 pm
Welp it's more the fact that it doesn't really fit with the general site design. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on January 21, 2015, 02:41:19 pm
I quite like it though :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 21, 2015, 02:49:18 pm
Me too. It looks nice but out of place on cw. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on January 21, 2015, 02:59:54 pm
I've noticed a small bug:
When i click on the 'A' button it shows only a bit of the mene:

When i click on it a second time it works though.
Also the smiley button doesn't work, but maybe thats not implemented yet :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 21, 2015, 03:11:29 pm
Suggestion: Make it so that when someone sends a message, it only scrolls if you are at the very bottom. When I try to read the backlog it's very annoying when it keeps scrolling back at the bottom.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 21, 2015, 03:12:49 pm
Yup I noticed the same thing.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on January 21, 2015, 03:13:02 pm
That's a great idea, i always hate it when programs don't do that. :(
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 21, 2015, 03:16:32 pm
Quote from: aeTIos on January 21, 2015, 01:41:09 pm
Ugh, 3D buttons x.x fixpl0x, I'd like if the buttons looked kinda like the buttons on the forum so the chatbox fits in. Also, I still can't use it because it yells "you need to login to chat!".
It depends if his buttons are hard-coded, because they were not in the CSS. I'll check if I can at least make it like the Search or reply buttons tho
Quote from: Streetwalrus on January 21, 2015, 02:28:42 pm
Welp it's more the fact that it doesn't really fit with the general site design. :P
It used to be worse, though: At first there would only be about 3 lines of new post notifications fitting at a time because the text was larger and the background color was not the same as the rest of the forum divs.


As for Firefox 35 not being supported I think it should, because many people are probably stuck several versions behind anyway. Generally it's best to make your stuff supported in every popular browser that still follows W3C standards.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 21, 2015, 03:22:32 pm
35.0 is the latest release DJ. And it happens on 36 too. I already told you it's juju's fault for not testing. :P Sorunome has like 5 browsers installed for testing lol.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 21, 2015, 05:32:35 pm
Oh ok lol, I swear someone said he had 38.0. Also at the shopping mall I can't chat even if logged in:


It works fine on 3G
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on January 21, 2015, 05:33:37 pm
Y u no read posts? it makes me mad seeing al those *new*'s  >:(
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 21, 2015, 05:34:42 pm
Too busy and not home right now. <_<


EDIT: THe bug mentionned in Firefox 35 seems to be in IE11 and Opera Presto (12.x) as well. Could it be that you are using a Chrome/Opera 15+ only feature @Juju ?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 21, 2015, 07:53:45 pm
Well thanks for the suggestions! Hm, there's a lot to reply.

- Nickname location: I didn't coded anything to control where they show up (I probably should), but at least they're not going at the 1/3 of the page.
- 3D buttons: Yeah there's a way to make them fit the general button theme. And I should look at it.
- Autoscroll: Definitely not the best autoscroll code I have here, I know. I should find a good one and replace it.
- General design: Yeah, as I said, there's quite a few stuff still not themed correctly yet.
- You must be logged in: No idea. Check if you can load http://codewalr.us/checkLogin-smf.php (http://codewalr.us/checkLogin-smf.php) correctly. (The fact it says you're a guest is normal, it needs some key to be appended to the URL.) Also check your system time, probably? I dunno.
- The A button (also the walrus button): No idea. Maybe a rendering problem because it works fine fullscreen.
- The smiley button: Not implemented yet. It's there, but it does nothing other than say it'll work soon. Eventually.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 21, 2015, 09:23:50 pm
DJ: indeed i might have 38.0 at home because I use nightly which is 3 versions ahead and updated several times a day. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 21, 2015, 10:00:21 pm
Quote from: Juju on January 21, 2015, 07:53:45 pm
Well thanks for the suggestions! Hm, there's a lot to reply.

- Nickname location: I didn't coded anything to control where they show up (I probably should), but at least they're not going at the 1/3 of the page.
- 3D buttons: Yeah there's a way to make them fit the general button theme. And I should look at it.
- Autoscroll: Definitely not the best autoscroll code I have here, I know. I should find a good one and replace it.
- General design: Yeah, as I said, there's quite a few stuff still not themed correctly yet.
- You must be logged in: No idea. Check if you can load http://codewalr.us/checkLogin-smf.php (http://codewalr.us/checkLogin-smf.php) correctly. (The fact it says you're a guest is normal, it needs some key to be appended to the URL.) Also check your system time, probably? I dunno.
- The A button (also the walrus button): No idea. Maybe a rendering problem because it works fine fullscreen.
- The smiley button: Not implemented yet. It's there, but it does nothing other than say it'll work soon. Eventually.
Also add the backlog emptying themselves randomly to that list. As for Logged in issues it's only at the shopping mall. Your link gives me {"nick":"","signature":"","uid":0} btw.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 21, 2015, 10:09:00 pm
Yeah, that's because of the hidden join/parts. And yeah, {"nick":"","signature":"","uid":0} is what to be expected.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 23, 2015, 04:54:48 pm
@Juju at the shopping mall, where WIRC is unuseable,  I get {"nick":"","signature":"","uid":0}
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 27, 2015, 09:17:36 pm
WalriiBot was moved from irp.irc.omnimaga.org to eeems.irc.omnimaga.org until further notice, because there are bot connecting issues on Withg due to their host having issues. Thanks to Street for restarting the bot. So hopefully all three #CodeWalrus channels and W/OIRC shall be relayed again (until EFnet or Omninet derps again).
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: aeTIos on January 27, 2015, 10:12:18 pm
Is there any documentation about how all services on the server are set up? eg what services do what. I can only do maintenance if i know what to do, lol.
(related to street fixing walriibot earlier, I could have done it earlier but I didn't know what service to restart)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 27, 2015, 10:13:38 pm
There is a topic in the staff forum explaining how to restart the OmnomIRC relay bot (which WIRC uses). Otherwise for OmnomIRC administration stuff there isn't much documentation available.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: aeTIos on January 27, 2015, 10:14:57 pm
Quote from: DJ Omnimaga on January 27, 2015, 10:13:38 pm
There is a topic in the staff forum explaining how to restart the OmnomIRC relay bot (which WIRC uses). Otherwise for OmnomIRC administration stuff there isn't much documentation available.
Welp, really? Never noticed that. My bad :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 28, 2015, 12:32:17 am
No problem. Actually I think it came up around when you went less active for a while. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 30, 2015, 05:58:05 pm
Not an update but I like how it's going on mobile.

Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 31, 2015, 03:44:13 am
Nice. By the way any idea when the next version will come out? (with smileys, fixed scrolling, ignore list, etc)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 31, 2015, 03:52:29 am
Nope. When it's done, I guess.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 31, 2015, 03:55:11 am
Aah ok. I was wondering since it's meant to replace OmnomIRC as main site client, so it would be a shame if it was postponed for like a year or something. D:
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 31, 2015, 04:25:43 am
It's slowly getting worked on, among school stuff, other projects and my family to take care of. There's a nice log viewer coming soon this weekend, as usual, watch IRC and this thread for updates as I commit them :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 31, 2015, 04:48:20 am
Cool to hear :D. Will logs be viewable only by members or everyone? Let us know here whenever there are updates and fixes. :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 31, 2015, 05:11:52 am
They're currently viewable by everyone.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 31, 2015, 04:32:21 pm
Ah ok. Then we might need to make sure that people won't start posting personal info on WIRC in case. IIRC old Omni logs were made non-searchable because sensitive info was located there.

EDIT for some reasons, chat text is much bigger on mobile now O.O
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 02, 2015, 01:07:19 am
I think highlight does 't work with /me
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 02, 2015, 04:43:17 am
Possible.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on February 02, 2015, 08:02:13 am
Yeah chat is much bigger on my phone too now. Really bugs me actually :(
EDIT: oh wait, looks like it's only sometimes
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 02, 2015, 12:13:45 pm
Yeah I noticed this started happening only a day ago. Not sure why, though. Juju have you done any change in WIRC in the last days or two?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 02, 2015, 01:08:07 pm
None at all. It's weird. Did the browser updated?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 02, 2015, 02:41:57 pm
I forgot. I don't recall updating anything, though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 12, 2015, 04:53:55 pm
When we go to options you should add a way for users to know that the setting was actually changed. Currently we change it and we have to guess if the change actually got applied or not.

For the walrii icon, on hover you could make it change to instead. Just make sure to change the image directory to be the same as the other first.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 14, 2015, 03:33:01 pm
Er what happened to WalrusIRC now? It says 502 Bad Gateway ???
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 14, 2015, 06:14:17 pm
No idea but I restarted it.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 14, 2015, 06:26:39 pm
Ok because it happened a few days ago as well. You might want to make sure it won't happen again in the future, even if it means rolling back to early february version.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 14, 2015, 09:55:59 pm
Yeah, that should be investigated. Meanwhile, I should probably do a custom 502 page.

EDIT: Mega-update! (https://github.com/juju2143/walrusirc/commit/42f4255d37b45e7948e1711250ee46427202d9a8) That should solve quite a few stuff. And add some features too. That's something like the 5-6 Git commits I held off in the last month at the same time lol.

I commited the log viewer, the smiley thing I'm working on (but doesn't seem to work), the Walrii logo changing on hover, a 404 page, along with the 503 page that was supposed to replace the default 502 Bad Gateway page before I made the static files accessible with nginx even if the WalrusIRC server is down. It even notifies you when you get disconnected!
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 15, 2015, 04:57:47 am
Awesome update. I can't wait for the smileys :D. Ideally you should use the same as the public ones on CW + Walrii (and maybe the pink one as well as :wa1rii:)


You forgot to fix the max scrollback lines glitch I talked to you about, though, because I can still trigger it by manually typing the value.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 15, 2015, 09:37:01 pm
Idiot me initialized a variable with [] instead of {}. That's why everything broke. And now it works :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 01:38:02 am
Not anymore. It's now blank >.<
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 01:42:24 am
Not for me? Please check your browser's Javascript console log for any errors. (Also obviously the browser you use.)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 01:48:42 am
Uncaught SyntaxError: Unexpected token u
follow_button.a5bbbb7216610af1306d56b0f28a67d7.en.html:1 Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
localhost/browser.js:65 Opera has modified script or content on static.ak.facebook.com (PATCH-1195, Facebook - block first character in the comment field from triggering a single key keyboard shortcut). See browser.js for details
localhost/browser.js:65 Opera has modified script or content on s-static.ak.facebook.com (PATCH-1195, Facebook - block first character in the comment field from triggering a single key keyboard shortcut). See browser.js for details
localhost/browser.js:65 Opera has modified script or content on www.facebook.com (PATCH-1195, Facebook - block first character in the comment field from triggering a single key keyboard shortcut). See browser.js for details
jquery.caret.map:1 GET http://codewalr.us/Themes/default/scripts/jquery.caret.map 404 (Not Found)


I use Opera 27.

Chrome has the same problem:

Uncaught SyntaxError: Unexpected token u
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 01:56:29 am
I get it now, that one is weird. o.o

EDIT: I blame JSON.parse's weird behaviour. Anyway, now you can disable smileys and the backlog is limited to 24 hours, otherwise there's logs for that.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 03:22:35 am
Awesome. It works now. Also smileys works as well it seems (although the smiley button still doesn't do anything at all)

Glad you fixed the backlog options too, because that could have been abused real bad if that bug fell in the wrong hands. (DDoS attack?)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 03:24:21 am
Oh, yeah, I still have to code the smileys list.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 03:27:17 am
By the way, what are smileys based on? Are they hard-coded, are they fetched from OmnomIRC settings or are they fetched from forum smiley settings? Also remember that some smileys like Walrii and Wa1rii are intended to be hidden from the list.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 03:27:51 am
They're fetched from the OmnomIRC config.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 03:32:40 am
Ah ok seems good for now, since both clients are still publicly available for everyone and we won't need to maintain three different smiley sets.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 04:11:14 am
The smileys config were moved to MySQL sometime last year iirc, so it's just an additional SQL request each time WalrusIRC starts.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 04:14:29 am
Ooh that's pretty nifty then.

My only concern is if a very bad security exploit is ever found in OmnomIRC, forcing everyone with even just a private Omnom install to upgrade, breaking compatibility with WIRC in the process.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 04:25:27 am
WalrusIRC does not use the web/PHP part of OmnomIRC, only its MySQL structure and Python IRC relay. In the eventuality such security exploit is found, you can either disable OmnomIRC, that or I'll adjust in consequence. WalrusIRC should ultimately be independent from OmnomIRC, but should keep compatibility so you can run both at the same time on the same database,
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 04:28:35 am
Oh ok. But if we disable Omnom will that prevent WIRC from working?

Also some issues with smiley list:

-The cry emoticon ( :'( ) doesn't work
-It would be nice if the box didn't close itself everytime we click a smiley (although I guess that can reduce smiley spam)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 04:35:05 am
You can disable OmnomIRC all you want, but it still needs the IRC relay. And yeah the cry emoticon doesn't work because it have a ' in it. Should probably escape it, somehow.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 06:31:52 am
smilies do not work on mobile
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: pimathbrainiac on February 16, 2015, 06:33:23 am
Correction: they simply don't work at the moment.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 06:36:56 am
They do for me O.O (in Opera 27, Chrome, Firefox and IE11 on Windows 7)



Just not in Chrome mobile (even with option to disable them unchecked)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 12:36:44 pm
If you say it doesn't work, please at least state which browser.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on February 16, 2015, 02:02:15 pm
Fx 35.0.1. Don't work. Windows 8.1 x64
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 02:45:56 pm
Quote from: Eiyeron on February 16, 2015, 02:02:15 pm
Fx 35.0.1. Don't work. Windows 8.1 x64
Did you check WIRC options to ensure smileys aren't disabled? Strange that they won't work on the same browser on different Windows installs/versions.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 03:47:33 pm
Yep, check if smileys aren't disabled. It works for me on Fx31/OS X 10.9 and Chrome Mobile/Cyanogenmod 11.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on February 16, 2015, 04:16:39 pm
I can confirm touch wiz on chrome works too.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 16, 2015, 04:28:52 pm
Anyway, line history works! Try the up and down arrows in the input field! (Please don't use it to spam, thanks.)

By the way, (-_(//)); has not been added to the WalrusIRC emotes, that might be why.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 16, 2015, 04:56:28 pm
Hm so at the shopping mall smileys don't work and I can't chat, even after refresh/clearing cache/cookies, yet at home or on 3G everything works O.O



EDIT after a second attempt, smileys now work, just not chatting.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on February 16, 2015, 05:04:23 pm
Chrome on Android (Cyanogenmod 12) 5.0.2 doesnt work
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 17, 2015, 12:15:44 am
By the way auto scrolling doesn't work in Firefox.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 26, 2015, 07:05:05 pm
Juju: Btw aeTIos is unable to use WalrusIRC because it tells him he needs to login in order to chat, even when he's actually logged in. Logging out then logging in again, clearing his cookies and cache will not fix the problem.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 27, 2015, 06:48:45 am
That's weird. Which browser?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 27, 2015, 06:50:03 am
Chrome in my case (Android). Not sure about aeTIos.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 05, 2015, 02:25:47 am
There is something strange I noticed with WalrusIRC when it gets restarted: As soon as it restarts, if I stay on a website page, my browser will start lagging like crazy (so much that when typing text, only 2 character per second will appear) and take 13% of my CPU resources, with the computer fans spinning faster like if I was playing some big game. This will last a minute, followed by several minutes where the chat box will remain blank.

Could you check into this?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 05, 2015, 03:54:06 am
The node.js server crashes when the Omnom bot gets restarted, so I have to restart it as well.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 05, 2015, 04:43:52 am
Oh right, I forgot about that. Hopefully it doesn't crash on its own at one point. >.<
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 08, 2015, 09:48:13 pm
Looks like walrusIRC Crashed or something, it wont start (walrusirc.codewalr.us wont work either)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 08, 2015, 09:54:51 pm
Apparently there is a security exploit, which Sorunome found earlier (and tested) and told juju to fix. Unfortunately, juju is incredibly hard to reach during weekends.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 08, 2015, 10:19:53 pm
Quote from: DJ Omnimaga on March 08, 2015, 09:54:51 pm
Unfortunately, juju is incredibly hard to reach during weekends.
Am I? (https://github.com/juju2143/walrusirc/commit/ebd5de3b153bc029fe5a51cc27db3163d5ea1d8e)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 09, 2015, 04:05:29 am
Well you don't have internet at home so this means your online activity is very sporadic on weekends. An example earlier is how you remained unreachable for hours following the time the exploit was discovered :P


Btw is the maintenance earlier the reason why the URL title bot stopped working earlier? bb010g posted two Youtube links and the bot didn't show the URL title as expected.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 09, 2015, 03:24:53 pm
No idea, I blame EFNet. It's unrelated to whatever maintainance. I restarted her anyway.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 09, 2015, 03:26:51 pm
Ah ok, I thought some features were shut down either intentionally or unintentionally for some reasons. Not sure for how long the bot has been down.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 10, 2015, 07:36:55 pm
Bug report: When you change your forum timezone, WalrusIRC timezone remains GMT-5. Shouldn't it remain in sync with forum profile settings?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 10, 2015, 07:38:07 pm
I think it probably takes your local time
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 10, 2015, 07:57:44 pm
It have nothing to do with forum time, but with your system clock.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 10, 2015, 09:55:15 pm
Oh right, that might explain it then. At least this means it will show the right time for other users too.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 11, 2015, 11:12:16 pm
Ok so I found an issue with line backlog: If you type a line then press Enter, you know how you can go back through previously sent lines using the up and down arrows, right? Well, if you are typing a new line then press the down arrow at any point, you lose whatever you were typing. Just reload a page, try typing stuff then press the down arrow to see what I mean.


Another issue is that new post notifications don't always parse topic tags correctly with the tag  mod installed, so if for example the topic was called The Game [NSFW], then the bot will often omit [NSFW] from the title. Other times it might randomly work. Not sure if that's a WIRC or YukiBot bug, though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2015, 03:47:27 am
New feature suggestion which could be very handy in the future:

-Reporting post edits. However, it should be done in a way that won't make people confuse edits with new posts. For example, they could look like this:

Walrified edit by DJ Omnimaga on Re: Pi day! http://codewalr.us/320/7069

Also make edits so that if the edit is on the last post of the topic and it has been over 24 hours since the topic was posted, then make the bot say this instead:

"DJ Omnimaga: Since it has been 24 hours since your last post in your topic, you should bump it instead of editing your last post so that it's easier to see in the recent posts list."

This would discourage project authors from just editing the last post over and over, resulting into their updates going unnoticed by people who have WalrusIRC disabled.

-Also make the logs show joins/parts or implement a !seen command to know when someone was last seen on IRC.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on March 15, 2015, 03:54:48 am
Ooooh I was about to ask for that feature. I feel like I miss so much stuff in edits.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2015, 04:11:03 am
Yeah my concern about that feature is the edit spam that can occur sometimes and people relying too much on post edits instead of bumping their topic for updates. Double-posting is allowed after 24 hours and you can do it earlier in your project topics if you have updates to add.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 15, 2015, 04:50:10 am
That's some ideas, most of them are for YukiBot or the board software itself, though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2015, 04:53:22 am
Oh ok. Do you think the post edit notification feature would be hard to implement?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 15, 2015, 05:02:42 am
No idea but that would at least require checking through the SMF docs and code. I could ask on Omnimaga.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2015, 05:05:12 am
That could work. Maybe Soru knows, since he works on OmnomIRC.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 15, 2015, 06:01:36 am
Yep. Also update:

- OmnomIRC 2.9 support
- Unicode works correctly!
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2015, 06:29:29 am
Yeah I updated Omnom to 2.9 since I noticed there was an update. I was hoping it wouldn't break WalrusIRC x.x.

As for unicode does it mean accents can now be sent to IRC from WIRC?


EDIT: Bug report: It now says I have to login to chat, even though I am logged in.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 15, 2015, 09:08:12 am
Same here. I was previously unaffected by the bug.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on March 15, 2015, 09:30:07 am
Suggestion : emoji polyfill to have them on every browser!
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 15, 2015, 10:08:51 am
Yeah i can't chat either :/
Fullscreen chat works though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 15, 2015, 11:59:29 am
Quote from: Eiyeron on March 15, 2015, 09:30:07 am
Suggestion : emoji polyfill to have them on every browser!

That would be awesome. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 15, 2015, 01:15:59 pm
Just fixed the shoutbox. There was a ?network=1 too much in the iframe source.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on March 15, 2015, 02:08:15 pm
Quote from: DJ Omnimaga on March 15, 2015, 04:11:03 am
Yeah my concern about that feature is the edit spam that can occur sometimes and people relying too much on post edits instead of bumping their topic for updates. Double-posting is allowed after 24 hours and you can do it earlier in your project topics if you have updates to add.

Maybe it could only display the first edit? That would require a little more code though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2015, 02:35:15 pm
Quote from: Eiyeron on March 15, 2015, 09:30:07 am
Suggestion : emoji polyfill to have them on every browser!
What is emoji polyfill?

Quote from: Streetwalrus on March 15, 2015, 01:15:59 pm
Just fixed the shoutbox. There was a ?network=1 too much in the iframe source.
Nope, still getting the login error D:

Edit nvm it works on mobile now. I had to load 2-3 pages.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 15, 2015, 03:51:35 pm
Well, it works for me... The thing is, Soru changed the code in checkLogin.php, breaking everything in the process.

Quote from: Eiyeron on March 15, 2015, 09:30:07 am
Suggestion : emoji polyfill to have them on every browser!
I thought about it, that would be nice. But UTF-8 issues.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2015, 03:55:55 pm
Does this fix also solves the issue that other members had prior the upgrade (such as aeTIos and when I go to the local shopping mall)?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 15, 2015, 04:01:53 pm
I have no idea, both of you would need to check.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2015, 04:07:17 pm
It will depend of weather because it was snowstorming hard tonight. :P I have to get out this afternoon but not to the mall (although it's not far)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 16, 2015, 05:05:31 pm
I finally fixed the scrolling bug in Firefox, so now it's finally usable. :D
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 16, 2015, 05:06:15 pm
And that was stupid. (https://github.com/juju2143/walrusirc/commit/ac339268f7b6cb06e8bf096b954b5658eb2ad8e4) Thanks Street ^_^
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 16, 2015, 06:14:18 pm
Awesome,  I am better than juju at web dev then? :trollface:

Kidding aside, aeTIos should try to use WIRC. I can now chat from the shopping mall. No more login message. ^.^
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 16, 2015, 07:37:46 pm
Lol I've always been good at debugging. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 16, 2015, 07:56:59 pm
Could you make auto-scrolling so that it only scrolls down when at the very top or very bottom, not in the middle? Because when I am reading the backlog it's quite annoying when it keeps scrolling at the bottom every second or so.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 16, 2015, 07:57:26 pm
I should check this out at one point.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 16, 2015, 08:54:18 pm
Also @Juju , it is no longer possible to upload images. Whenever I drag and drop a file it no longer does anything. It started happening today at least.


EDIT: It appears it's only Opera support that got broken. Also there is a display issue in Opera since Streetwalrus implemented the scrolling fix for Firefox.

Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 16, 2015, 10:43:38 pm
Hmmm, the display bug can't be related to my fix as scrolling only happens on a certain signal from the server afaict.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 16, 2015, 10:54:48 pm
Oh ok. But since scrolling didn't work in Firefox and worked in other browsers before, could the firefox fix have broken other browsers? Some web devs will sometimes use different code for each browser for their stuff because of such stuff.

Also, beautiful (but to not be abused):

Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 16, 2015, 11:12:03 pm
Quote from: DJ Omnimaga on March 16, 2015, 08:54:18 pm
it is no longer possible to upload images.
@Streetwalrus was running the wirc server, that broke everything.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 16, 2015, 11:17:38 pm
Oh I see. At least now I'm glad it works in Opera too, though. Earlier only Firefox allowed new uploads.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on March 17, 2015, 05:12:33 pm
Confirmed, this looks like working, finally! :D
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 18, 2015, 11:13:24 pm
Image uploading is broken again :( (tried in Firefox and Opera, to no avail)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 19, 2015, 01:53:54 am
Yeah, we ought to convert it to a systemd service instead of running it in a screen on my account. That of fix the permissions so Street can write to the uploads folder.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on March 19, 2015, 06:17:20 am
And that'll avoid having to run it manually, since I did a service for haxebot I sleep way better now.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 19, 2015, 09:18:45 am
Glad it works now, i can use my (new) sprites in the chat :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on March 19, 2015, 09:21:31 am
Don't clutter too much the chat them, 'kay? Use them with precaution. ;)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 19, 2015, 09:23:47 am
*proceeds to spam the irc*
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on March 19, 2015, 09:33:31 am
You better not to. YOu would get problems if you do that. :J
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 19, 2015, 09:51:16 am
Yeah true. But still nice to can upload again :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 19, 2015, 10:34:20 am
Hehe yeah I gotta make a few scripts for our various bots. :P

Edit : made a script for wirc (it's called wirc.service in case you wanna mess with it Juju). Now we need to make some for Walrified, Yukibot and Omnom (which uses a sysv script).
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 19, 2015, 11:13:40 am
What does it do?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 19, 2015, 11:17:03 am
It allows managing restarts easier (without the upload bug in the way even) and also starting the bot on server boot.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 19, 2015, 11:28:30 am
Oh that would be quite handy actually :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 19, 2015, 11:29:32 am
That's why I made it. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 19, 2015, 01:34:23 pm
Quote from: Streetwalrus on March 19, 2015, 11:17:03 am
It allows managing restarts easier (without the upload bug in the way even) and also starting the bot on server boot.
Do you mean restarted was what resulted into the img.codewalr.us permission bug?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 19, 2015, 02:03:00 pm
No, it's the fact that the bot was running as my own username instead of juju's on the server, and I didn't have write access to the upload area.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 19, 2015, 06:12:05 pm
Aah I see now. Also it seems WIRC has issues parsing nicks with quotes.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on March 19, 2015, 06:14:00 pm
Had, it's fixed now.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 20, 2015, 05:02:40 am
Are you planning to permanently keep this nickname, btw? Because if that's the case, then I will need to update the staff list. :P That said you still have Eiyeron in it so I guess I could just keep the short version.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on March 20, 2015, 08:14:24 am
Eiyeron is still the username. It's a custom name. I'm still Eiyeron so then thing will last until I got fed up of it. Don't you mind?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 20, 2015, 09:02:17 am
"Oh what, where did Eiyeron go? i see a new user who's called 'Duke "Tape" Eiyeron' but no Eiyeron  ???"
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on March 20, 2015, 09:59:32 am
Oh and he doesn't have at all the same banner, he removed FiXOS userbar by mistake.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 20, 2015, 02:07:18 pm
WalrusIRC Seems to be down again
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 20, 2015, 04:23:26 pm
Quote from: Duke "Tape" Eiyeron on March 20, 2015, 09:59:32 am
Oh and he doesn't have at all the same banner, he removed FiXOS userbar by mistake.
I was worried that FixOS was dead when I saw your userbar was gone O.O.
Quote from: Cumred_Snektron on March 20, 2015, 02:07:18 pm
WalrusIRC Seems to be down again
^this. It hasn't loaded for hours now. You can go to profile>group membership then join OmnomIRC mode, though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 20, 2015, 06:05:39 pm
It's back. The server was out somehow. :/
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 21, 2015, 06:15:23 pm
Ah weird, but doesn't it use the same server as CW?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 21, 2015, 06:17:17 pm
Maybe the process crashed?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 23, 2015, 04:16:27 pm
It broke again shortly after I updated OmnomIRC D:

EDIT:

Quote<Sorunome> i renamed irc_topics to irc_channels
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 25, 2015, 09:26:51 am
I just added a new feature : if you scroll up in the log it won't scroll automatically when you receive messages anymore ! :D Scrolling behavior might be a tad glitchy so if you notice any problems tell me and I'll refactor the scrolling triggers entirely (what were you thinking when you wrote that Juju ? :P).
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 25, 2015, 12:01:16 pm
Quote from: Streetwalrus on March 25, 2015, 09:26:51 am
what were you thinking when you wrote that Juju ? :P
I'm not thinking right. :P

Anyway, nice ^_^
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 25, 2015, 04:15:14 pm
Awesome. Scrolling was annoying when reading stuff. Also now on Chrome mobile when I am at the bottom it scrolls entirely when new messages arrive, rather than halfway through, which is good. I haven't tried  on mycomputer, though
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 25, 2015, 11:44:45 pm
I didn't change anything about that. Maybe they fixed something in Chrome ?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 25, 2015, 11:50:14 pm
Weird. I didn't even update my mobile Chrome in weeks ???

The bug also stopped happening on Opera and I didn't upgrade in a while either. Now it scrolls completely when I am at the bottom.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 25, 2015, 11:54:11 pm
It happens sometimes, you fix something and it happens it fixed something else too.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 25, 2015, 11:55:34 pm
Yeah but I didn't actually change the way it scrolls lol.
https://github.com/juju2143/walrusirc/commit/cc6db2796c62ec9651a21fb5664076ad6d6ae348

Actually I force scrolling clientside when you send a message, maybe that's it ?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 25, 2015, 11:57:03 pm
Ah that could maybe explain it. Something definitively changed. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 30, 2015, 03:53:12 am
A sub-forum was created for this now as this is now a featured project.  :)

Anyway the following happens very often after posting a new forum reply:



Refreshing fixes it.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 30, 2015, 05:23:51 am
Yay I'm a featured project~

And yeah, dunno why that happens.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 30, 2015, 11:21:46 am
Maybe it can't load when stuff is sent to it at the same time?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 30, 2015, 04:38:37 pm
i noticed it happen on my phone, but i dont think it really happened on my pc
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on March 30, 2015, 05:18:01 pm
I've never had this problem before... (Fx or Chrome Mobile)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 31, 2015, 12:08:30 am
Maybe it's dependent on the ISP? Idk. Anyway the scrolling bug where stuff wouldn't scroll completely at the end (instead scrolling to the second last line) seems back. Not that it's really a big issue, though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on March 31, 2015, 03:55:02 am
Yeah ive noticed that top :/
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 31, 2015, 06:29:55 am
The problem lies within the scrolling triggers. Basically the way it works is the server tells the client to scroll instead of the client deciding that on its own. My latest patch to it (to prevent autoscroll when you're scrolled up) shows how flawed this is, and I didn't take the time to rework it just yet.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Unicorn on March 31, 2015, 07:28:03 am
That is what happes to me on my kindle. Every time :(
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 31, 2015, 12:16:54 pm
Oh, I think I know why. Maybe it's because that message got received before the backlog had time to get sent. so no backlog? Well, I noticed it happens when a message is sent at the same time you reload, so it's probably that?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 31, 2015, 11:39:39 pm
Ah that could explain it. But when the client doesn't scroll completely it seems random, as in it won't happen everytime. Usually it's while I am chatting with other people.
Title: Re : WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 02, 2015, 05:23:48 pm
Why is text twice larger in Chrome mobile all of a sudden? I didn't update nor change any setting ???
Title: Re : WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on April 02, 2015, 05:37:04 pm
I suppose it was due to us messing with incredibly long non-wrappable messages earlier. :P
Title: Re : WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 02, 2015, 06:02:57 pm
Oh right, I didn't realize. I thought someone updated the code.
Title: Re : WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on April 02, 2015, 06:04:37 pm
I'm trying to fix the issue. It's a CSS thing. Problem is I can't get it to not break words that actually fit in the line. It cuts everything when wrapping. :/
Title: Re : WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 03, 2015, 12:32:30 am
Aaah ok. I don't know if it's possible to do that sadly. The best thing you might have to do is have an overflow hidden so overly long words will only be partially seen (which would discourage people from using them I guess)
Title: Re : WalrusIRC - An OmnomIRC rewrite
Post by: Juju on April 03, 2015, 12:36:25 am
Yeah, overflow: hidden seems to be the best idea for now.
Title: Re : WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 03, 2015, 01:17:40 am
THanks for the fix. It's better now :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 04, 2015, 04:56:40 pm
Logs layout and images are broken now.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on April 05, 2015, 07:46:34 pm
OK guys I completely reworked the way wirc decides to scroll. It's now handled entirely on the client side (although some stuff had to be implemented on the server side to make it work properly it's now a much cleaner way to do it), which makes it much more reactive to scrolling since it's no longer timing-dependent. :D I also made it scroll down when the window is resized (otherwise shrinking the window would scroll you up).
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 06, 2015, 02:02:00 pm
Awesome. It seems to work better so far. :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on April 06, 2015, 03:19:12 pm
Nice to hear, when I started modding the scrolling code to be smart I noticed it was not very reliable and postponed fixing that. Hopefully it's fixed now.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on April 06, 2015, 06:34:10 pm
Let's hope so, you're doing an incredible work on it, it seems!
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on April 06, 2015, 06:38:15 pm
Yep, thanks for improving my code ^_^
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 07, 2015, 12:30:39 am
You should restart the bots, because Omnimaga spazzed out earlier and I assume this might be why the bot disconnected from EFnet (now the channel messages are no longer relayed)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 11, 2015, 04:33:40 am
Autoscroll on page load stopped working completely as of 2 minutes ago.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on April 11, 2015, 04:38:03 am
Works fine for me. It's possible your browser fails to do its job correctly sometimes due to disturbances in the internets.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 11, 2015, 06:13:09 am
Hmm weird. So does it mean that WIRC scrolling behavior is dependent on how good someone's connection is?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on April 13, 2015, 08:44:18 pm
Latest update should probably improve on it. Now it makes sure the DOM is fully loaded before loading everything, which might help.

Oh, also theming support! You can now choose your favourite theme in the Walrii menu! Also contribute themes! Please read the theming guidelines (https://github.com/juju2143/walrusirc/wiki/Contributing-themes) before submitting a theme.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 13, 2015, 10:47:52 pm
YEah it seems better now. Also for the lack of CSS in the log view, I noticed that the first time you display a log, the CSS will go missing, but the second, third, fourth time and so on, it will display fine.

As for themes, nice idea, but make sure to not include like 10 psychedelic themes :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Duke "Tape" Eiyeron on April 14, 2015, 10:36:20 am
(Wacky Fun)Random trippy theme generator?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on April 14, 2015, 01:27:37 pm
Oh deer...

BTW last night i couldn't select theme's on my phone, but now i can
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on April 15, 2015, 05:38:10 am
Yeah it's kind of weird.

Also 2 things worth mentioning: CKH4 is making us nice themes (try loadTheme("rounded") in the javascript console) and username links, finally. Was about time. Also highlights didn't worked on action lines for some stupid reason and additional CSS classes on lines for CKH4 to use.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 15, 2015, 05:57:43 am
Will those changes be applied to the two current themes as well? I think the current default theme should remain, though, because CW design and rounded edges don't mix well, IMHO.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on April 15, 2015, 09:55:34 am
That theme looks quite nice :D though i cant seem to fully scroll down anymore with it
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on April 15, 2015, 11:49:08 am
I'll look into it but I thought I fixed that, you may be experiencing the double size bug for some reason. I also think that if themes are now supplying the only CSS for it then I'll have have to rewrite(ish) it with the other CSS as a base. I think that even if I copied the other CSS into it, it would work fine but a lot of the styles would be redundant.

Edit.
And DJ that's going to be a third theme on list if i can get it to work for everyone.
Edit2.
Juju the danger class now gets applied to your post walrified notification in the irc.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on April 15, 2015, 02:44:47 pm
So... Who's going to make an acid theme?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 15, 2015, 03:31:45 pm
Quote from: CKH4 on April 15, 2015, 11:49:08 am
I'll look into it but I thought I fixed that, you may be experiencing the double size bug for some reason. I also think that if themes are now supplying the only CSS for it then I'll have have to rewrite(ish) it with the other CSS as a base. I think that even if I copied the other CSS into it, it would work fine but a lot of the styles would be redundant.

Edit.
And DJ that's going to be a third theme on list if i can get it to work for everyone.
Edit2.
Juju the danger class now gets applied to your post walrified notification in the irc.
Ooh I like the danger class idea, although the name sounds more like WalrusIRC can self-destruct if some specific stuff happens, like that easter egg in the Nspire OSes :P

And yeah juju I typed that javascript command in the console and got this error:

Uncaught ReferenceError: loadTheme is not defined
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on April 15, 2015, 03:34:43 pm
DJ did you try this:
window.frames[0].loadTheme("rounded")
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on April 15, 2015, 03:37:29 pm
I had to do it in the fullscreen version for it to work
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on April 15, 2015, 03:39:27 pm
The danger class has been there since the beginning, it's actually defined in Bootstrap. Also you must be in fullscreen to use that Javascript code, otherwise you might have to do a window.frames[0].loadTheme("rounded") instead. It's pretty much a third theme, hidden from the menu for now.

EDIT: Double ninja'd ._.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 15, 2015, 09:14:19 pm
Aaah right, thank for the info.

Also are smileys supposed to be case-sensitive?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on April 15, 2015, 09:56:13 pm
Welp, that's a good question. Nope.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 17, 2015, 02:16:48 pm
In the online list, you should add icons for the server each user is on.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on April 19, 2015, 05:38:42 am
Walrified is broken again. Also where is the walrus irc github?

Quote from: DJ Omnimaga on April 17, 2015, 02:16:48 pm
In the online list, you should add icons for the server each user is on.

Also + to this.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 19, 2015, 11:16:21 am
Yeah for some reasons it stopped working completely. It's online but it no longer does anything. @Juju might need to check that out and restart the bot.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 22, 2015, 11:13:45 pm
So the scrolling bug (where it doesn't completely scroll at the bottom) is back.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: alexgt on April 22, 2015, 11:16:13 pm
I noticed but I did not know that it happened before I must not have been paying attention.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on April 23, 2015, 07:22:22 am
I always felt like it was never really gone...
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 25, 2015, 06:27:47 am
Quote from: Cumred_Snektron on April 23, 2015, 07:22:22 am
I always felt like it was never really gone...
The odd thing on my side is that it actually re-appears after a week, only to disappears a week later.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on April 25, 2015, 07:41:18 am
Maybe it's one of those bugs that just will always be there the way you've made your program <_<
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 25, 2015, 09:24:03 am
I hate when those bugs come in my calc games >.<

Anyway @Juju you might want to check what's up with img.codewalr.us too. It throws a 502 Bad Gateway error when we view the directory listing.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on April 26, 2015, 03:41:26 am
Yep, gotta check that out.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 26, 2015, 04:20:06 am
There is also a display bug when switching to a new date (at 12 AM): The date will overlap on the last message timestamp.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on April 26, 2015, 09:21:39 am
Yeah, i have that too. I don't know why i never reported it
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on May 02, 2015, 11:59:12 pm
Now its completely broken for me on any internet network on my phone. I had fixed it by disabling adblock but its broken again. I'm on chrome on android if that helps at all.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 03, 2015, 06:04:57 am
Strange, could you post a screenshot? It works for me on Chrome Android ???. Hopefully @Juju can help out. Have you tried clearing your cache/cookies after disabling adblock?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on May 03, 2015, 08:53:15 am
It works on my Crome on Android though
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on May 03, 2015, 12:54:55 pm

I tried clearing cache and cookies also. No luck so far.
Oh and also the people list is empty.

Its fixed now, it appears to be a problem with chrome data saver excluding the wirc div.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 05, 2015, 03:06:03 pm
Strange, I never had that issue except maybe at the shopping mall Sunday, but it was probably due to Internet lagging. The only issue I have is when WIRC only shows 1 line of text after posting.


Also for the issue involving not scrolling completely to the bottom, could it be that WIRC counts each line of text shown on-screen, but doesn't take in account smileys being larger in height? Because I noticed it only happens when we use smileys, especially large ones such as :walrii:
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 23, 2015, 03:10:41 am
You should make WalrusIRC so that the timestamps always appears in the box no matter how long lines of text are, so when someone posts an ultra-long link we can still see the timestamps of newer messages.

Edit:



Text wrapping issues in WIRC.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on May 23, 2015, 10:04:14 am
Yeah i've noticed that too. Also there appears a weird bar when you upload something to img.codewalr.us
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 23, 2015, 03:32:21 pm
Yeah when I drag an image in the box the box scrolls down by about 25 pixels and if I release the mouse button I miss the text box. >.<
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on May 25, 2015, 07:05:26 pm
New features!

- Whenever you get highlighted and the chatbox isn't focused, the title flash with a message!
- Also desktop notifications, enable them with top left Walrii menu > Options > Enable desktop notifications and grant the permissions!
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on May 25, 2015, 08:38:58 pm
Awesome, it works pretty nicely ! :D
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on May 26, 2015, 12:17:20 am
Thanks, glad this update works fine ^_^

Also another update that impacts pretty much nothing but probably speed, maybe: the easter (https://github.com/juju2143/derpy) eggs (https://github.com/juju2143/walrusirc/blob/master/public/lib/WalriiHack.js) are now integrated in the repo!
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on May 26, 2015, 12:18:56 am
Looks like the notifications still get sent when disabled btw.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on May 26, 2015, 12:21:19 am
Lemme try something. Does it work now?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on May 26, 2015, 12:23:46 am
Can't say, PC is off now. Idk how I'm even awake lol.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on May 26, 2015, 12:36:53 am
Well it works for me, anyway. Gotta commit this, along with duplicate code deletion. ^_^
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 26, 2015, 11:44:27 am
It would be nice if we didn't get highlighted when Walrified (or any of its alt nicks) posted. :P

Also a bug report: pokes persists after page refresh, which shouldn't happen.

And being able to disable them entirely would be nice
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on May 26, 2015, 12:59:51 pm
Can you maybe disable (or make an option to disable) notifications from walrified? i now get a notification every time i post and it's kinda irritating
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on May 26, 2015, 05:30:12 pm
Quote from: DJ Omnimaga on May 26, 2015, 11:44:27 am
It would be nice if we didn't get highlighted when Walrified (or any of its alt nicks) posted. :P
Quote from: Cumred_Snektron on May 26, 2015, 12:59:51 pm
Can you maybe disable (or make an option to disable) notifications from walrified? i now get a notification every time i post and it's kinda irritating
That should probably be done, yeah.

Quote from: DJ Omnimaga on May 26, 2015, 11:44:27 am
Also a bug report: pokes persists after page refresh, which shouldn't happen.
It's a known bug: the backlog don't trigger the notifications thing, unless it's the last line. Gotta figure out a way.

Quote from: DJ Omnimaga on May 26, 2015, 11:44:27 am
And being able to disable them entirely would be nice
That too.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 26, 2015, 06:28:47 pm
Maybe have it trigger the notification thing only if you are on the page and not on refresh?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on June 02, 2015, 04:51:36 pm
I still get the scrolling bug <_< its really annoying
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 03, 2015, 03:35:46 am
Yeah same.

Also, could someone restart the online list? Because it still displays Freenode users such as neersighted despite our shoutbox no longer using Freenode since almost 2 months.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 03, 2015, 05:28:45 am
Online list : blame Sorunome.

As for the scrolling bug I might need to add some tolerance margin when it decides whether to scroll. Thing is the current logic only scrolls when the list is already all the way down. It might be related to messages being taller than usual (eg when people use emoticons/the image uploader).

Edit : probably more like when a line's height changes unexpectedly.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 03, 2015, 05:18:58 pm
Could the online list be edited via the MySQL database or could this break stuff?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on June 03, 2015, 06:41:33 pm
Quote from: DJ Omnimaga on June 03, 2015, 05:18:58 pm
Could the online list be edited via the MySQL database or could this break stuff?
It probably could, yes. Delete all the rows in the online list table corresponding to Freenode users.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 03, 2015, 07:26:00 pm
There is no risk of stuff getting misaligned in the database, right?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on June 04, 2015, 09:24:07 pm
Okay now i always get the no scrolling error :/
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 05, 2015, 12:24:08 am
I haven't gotten it yet, but since the last few hours, I have ran into an extremely annoying problem:

When I hover over the text area or type stuff, it will become grayed out and say Reconnecting or something, about every half a second or so for at least 10 seconds. It seems like it has troubles keeping a connection to the server, but it's annoying .
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 07, 2015, 01:01:58 pm
It should be fixed now (I hope). I changed the way it decides whether or not to scroll. Please report as usual.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: alexgt on June 07, 2015, 04:02:27 pm
When I make a :walrii: it only scrolls half way down :(
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 07, 2015, 04:04:21 pm
Yeah that's because images. Could be fixed but laziness. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: alexgt on June 07, 2015, 04:06:00 pm
works fine other wise I testes and if you post after a :walrii: it scrolls all the way down automatically now :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 07, 2015, 04:07:54 pm
The exact reason is that once it loads the image, the message is higher but we don't detect that to make it scroll further.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on June 07, 2015, 08:00:45 pm
Sometimes you can't scroll the irc (after reloading the page) and it just kinda jitters around. sometimes it will scroll a little bit down though
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 07, 2015, 08:26:07 pm
That sounds weird, I thought we'd fixed that bug. Anyway more scrolling madness as it now has an event handler to scroll when images load. :D
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 07, 2015, 09:39:15 pm
It seems to work fine on Chrome Android at least.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 07, 2015, 09:59:48 pm
For me too, using Firefox on Linux and Android. The changes I made should not be browser dependent though. I haven't seen that but you mentioned in quite a while.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 08, 2015, 02:41:41 am
Hm actually, now that I look again, it seems that it still doesn't scroll completely, but the only time it happens is when posting images or smileys. I guess it cannot detect if an image is larger than the normal line of text. Also it happens when a line of text wraps on two lines. Personally, I don't think that's a big issue, except maybe when you discuss with someone, sometimes you might miss the last line until the next reply. I definitively love WalrusIRC more than Omnom now. The main issue I got with Omnom right now is that zooming on Android and sliding doesn't work when you try to zoom from the chat, so if you zoomed in way too much and the chat covers the entire screen, then you can no longer dezoom nor scroll the page (except the chat itself).

It would also be nice if Omnom had better compatibility and didn't break with no way to fix it >.<
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 08, 2015, 05:20:57 am
Well, the image thing I already explained and fixed. It doesn't work with smileys indeed (might take a look later) but there's absolutely no reason why it should be broken with wrapped text (unless there's a :walrii: in there).

As for the omnom issues it's because Sorunome is so stubborn about his custom scrolling code (he's completely reinventing the wheel) while we just have a regular scrollable view which is much easier to handle.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 08, 2015, 05:30:34 am
Oh Ok I actually only checked with smileys :P (but I also posted an image around that time, so maybe I didn't check well enough). As for Omnom, scrolling actually used to be worse, though. Until recently, we couldn't even scroll at all on Chrome mobile.  I think using standard scrolling (while making sure it won't auto-scroll when reading logs and actually scrolls when appropriate) is better.

By the way, do you know why text now looks slightly different in shoutbox view than full screen and forum posts?



That's in Opera 29 btw.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 08, 2015, 05:33:55 am
Scrolling used to not work at all on any touchscreen browser (unless you used the arrows). I guess it also helps that we have a responsive theme on the forum, makes scrolling past wirc a breeze.

As for the full view text, I have no idea. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 08, 2015, 05:36:50 am
Actually, even the arrows didn't work IIRC (nor the scrollbar). The arrows actually did scroll, but only if you zoomed in until one arrow fills the screen and then it would not ever stop scrolling again even after releasing the arrow.

As for responsive themes, the only problem is that WalrusIRC text is now much bigger. Every line of text used to fit in one line until the theme was made responsive. I wish on mobile we had more CSS control about text (and image) size.


For the weird text, I actually had this happen before but only when editing the theme CSS in the SMF CSS editor.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 08, 2015, 05:43:22 am
The text is the right size on mobile. Any smaller and it would be unreadable.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 08, 2015, 05:46:34 am
Strange, I actually had no issues reading it before. :P But again it might just be bigger than on your phone right now since I don't use CM nor a custom ROM (meaning that I have fewer text resizing options).
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 08, 2015, 06:15:57 am
Well I made things quite small on my phone but not to the point that it's unreadable.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on June 08, 2015, 06:32:43 pm
Introducing Tooltips Beta! Hover on a link to a picture to preview it! Also works with Youtube videos! (For YouTube, click away or click the close button to close them.)

As I say, the feature is in beta, so please tell what you think.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on June 08, 2015, 08:55:44 pm
Looks awesome :D
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 11, 2015, 12:13:18 am
Would it be possible to make WalrusIRC text area so that it doesn't get grayed out when WalrusIRC gets disconnected? It's incredibly annoying when you're typing text, because you lose focus every 15 second. Maybe make it so you can still type text, but it won't send until reconnected.

This was implemented very recently, because that didn't happen before, but I am not sure if that feature was a good idea.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on June 11, 2015, 04:09:06 am
Quote from: DJ Omnimaga on June 11, 2015, 12:13:18 am
This was implemented very recently
Sometime in late January, according to my logs. That feature was part of the Valentine's Day mega-update. xD
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 11, 2015, 04:37:23 am
Strange, I only started having it happen recently ???
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Unicorn on June 11, 2015, 05:58:12 am
You must've been disconnecting a lot recently.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on June 11, 2015, 06:09:54 am
Indeed. At least it's a good way to tell if your internet is acting up. Or if the server have issues.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on June 11, 2015, 08:33:50 am
Most likely your internet, I don't have any issue with it.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 11, 2015, 04:49:49 pm
Maybe. It might still be good to get rid of that feature, though, and still allow people to type no matter if their internet is active or not. Just disable the send button instead of the whole text field. Otherwise, that can be enough to deter some people with unstable connections from using WalrusIRC at all.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on June 11, 2015, 05:04:08 pm
Actually, yeah, that a more sensible thing to do, disable the send button instead of the whole thing. Why I never thought of it before?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 11, 2015, 06:04:01 pm
Lol that happens. :P But yeah it would still prevent sending attempts that don't actually send that way.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on June 11, 2015, 06:11:51 pm
Quote from: Juju on June 11, 2015, 05:04:08 pm
Actually, yeah, that a more sensible thing to do, disable the send button instead of the whole thing. Why I never thought of it before?
'

Thats a very good idea :o
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: alexgt on June 11, 2015, 07:41:02 pm
Quote from: DJ Omnimaga on June 11, 2015, 04:49:49 pm
Maybe. It might still be good to get rid of that feature, though, and still allow people to type no matter if their internet is active or not. Just disable the send button instead of the whole text field. Otherwise, that can be enough to deter some people with unstable connections from using WalrusIRC at all.

Also when it disconnects (which happens for me sometimes) you won't have to wait for it to load back up to type :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on June 11, 2015, 07:51:23 pm
Yeah that too, and trying to click the box when it disconnects every second is almost like playing Guitar Hero in hard mode.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on July 06, 2015, 02:08:59 am
By the way, would there be a way to fix the theme so that lines of text wrap properly on mobile? We only see about 90% of the text. Also, it's impossible to see the online list icon on mobile.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Unicorn on July 14, 2015, 11:54:41 pm
Bug report: it doesn't display the typing box in mobile. (iPhone 4S IOS 7)

Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on July 15, 2015, 12:15:18 am
Yeah, it kinda sucks on mobile. Try the fullscreen mode on http://codewalr.us/walrusirc/ if it's any better.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Unicorn on July 15, 2015, 01:29:38 am
Yeah, Ive been using that but sometimes it jumps around to the top of the backlog O.O
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on July 21, 2015, 05:51:11 am
I suspect that it's yet another iOS issue. OmnomIRC had issues for half a decade on all iOS devices, especially the endless expanding OmnomIRC shoutbox, extreme lag or missing box.

It might be worth fixing it, though, since a bunch of people probably have iOS devices.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on August 23, 2015, 08:19:32 am
This is not directly related to WIRC itself but I just patched the OmnomIRC bot to parse telegram messages now, so nicknames will show up nicely. :) And it will also parse /me as an added bonus.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 23, 2015, 02:59:47 pm
Awesome :D, this looks much better now. :)

The next step will be to integrate Telegram userlist into the WalrusIRC (or OmnomIRC) online list.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on August 23, 2015, 03:01:26 pm
Well to be honest it's more of a hack than anything else. :P Juju needs to write a proper bot for wirc and integrate the telegram bot into it, that will be much cleaner than what I did.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 23, 2015, 03:03:02 pm
Yeah that's true. It would still be cool since many people chat from Telegram and it would be nice to be able to use Tab for nick completion on WalrusIRC like with the other nicks. :)

Also we still need to reset WalrusIRC online list because it still lists nicknames from the Freenode channel.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on August 23, 2015, 03:06:10 pm
Done.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 23, 2015, 03:09:35 pm
Yay! I was worried it would empty the userlist completely until each user rejoins but it finally didn't it seems. Thanks :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on August 23, 2015, 03:12:04 pm
Nah, the bot is smart enough for that. I just emptied the list and started it back up.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 23, 2015, 03:20:13 pm
Ah cool. Back then, OmnomIRC online list would empty itself when restarted.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on August 25, 2015, 01:24:24 am
I should definitely rewrite the Python bot to be integrated with WIRC and Telegram.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 25, 2015, 07:00:25 am
Ideally, in long terms it might be better if we no longer needed an installed copy of OmnomIRC for WIRC to run, though. You would still need to mention Omnom and stuff if the database format and stuff remained identical, though, such as how smileys are stored, but again I could be wrong.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on August 27, 2015, 07:39:16 am
Also a few days ago I did more fixes on the scrolling, there was an event handler on images so that it scrolls down when they load, but it didn't actually work so I fixed it. No more partially scrolled backlog on page load.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 28, 2015, 06:22:17 am
Awesome. I wonder if it works in every modern browser and mobile device? Also any luck getting the iOS problems with missing text field fixed? Maybe juju could do it since he got a Mac?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on August 28, 2015, 08:03:30 pm
My thought would be that it's a CSS issue and the overflow kills it but in any case I'd say a Mac won't be enough. Even if you fix it on mac (is it even broken?) it likely still wont fix it on ios.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on August 28, 2015, 08:14:08 pm
The browser on iOS is very different from Safari, which uses proper WebKit like Chrome, so if it works in Chrome it will work fine in Safari but that doesn't mean it will work fine on iOS. Oh, and Android browsers use full blown desktop browser engines so they automatically inherit from their great compatibility. Firefox and Chrome are almost 1:1 on Android vs desktop.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: CKH4 on August 28, 2015, 09:03:48 pm
I've found chrome to safari comparability to not be exact. But I do agree on Android Chrome and Firefox being almost the same as their desktop counterparts.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on August 28, 2015, 11:04:46 pm
Yeah, Chrome and Safari don't necessarily use the same webkit versions, there's also the js engine and now that Chrome has forked webkit, it's bound to stray a lot more from actual webkit browsers.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 29, 2015, 07:58:40 am
Quote from: CKH4 on August 28, 2015, 08:03:30 pm
My thought would be that it's a CSS issue and the overflow kills it but in any case I'd say a Mac won't be enough. Even if you fix it on mac (is it even broken?) it likely still wont fix it on ios.
I assume that on mac, the only broken thing would be the search button being a few pixels down (but still visible), unless Safari engine for Mac is different than Windows.

It's really Apple's restrictions on iDevice appstores that kills compatibility on iOS browsers.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on August 29, 2015, 08:05:30 am
Yep, since they don't allow devs to write their own browser engines, everyone is force to use the built-in engine which sucks.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on August 29, 2015, 09:10:13 am
I guess they don't want apps that are better than the s***ty built-in apps :trollface:
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on August 29, 2015, 09:14:13 am
Yes. Otherwise they'd lose a few dollars. :trollface:
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on September 01, 2015, 02:40:49 am
Isn't the default browser built-in into iOS, thought? I see no point in trying to block third-party engines when you are offering yours for free. It almost seems like they are intentionally breaking some things to make them work the way they want as an ploy to get developers and mainstream users to switch to iDevices. Otherwise their appstore policies are just outright censorship.


Anyway we should probably move the iOS discussion to another thread (maybe the iOS emulation one?) because now we got three topics that discusses iOS  browser engine issues. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on September 18, 2015, 05:34:42 am
So I found why WalrusIRC theme didn't work in log view:

When you access a log page, such as https://codewalr.us/walrusirc/logs/0/2015/9/17/ , it tries to fetch the CSS from https://codewalr.us/walrusirc/logs/0/2015/9/themes/style-cw.css instead of https://codewalr.us/walrusirc/themes/style-cw.css . So either you would need to set the path to be absolute (not recommended) or just go back a few folders.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on September 18, 2015, 07:12:10 am
It actually is the right way to use absolute paths without including the site address. You can make the root configurable like most sites too.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on September 18, 2015, 08:25:04 am
Yeah but the problem with absolute paths is if another site decides to use WalrusIRC, then their CSS will point to ours. It's an hassle for example if we ever decide to move WalrusIRC in a different folder and change its URL.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on September 18, 2015, 08:53:21 am
Absolute path = path from /, not the actual URL.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on September 18, 2015, 08:56:00 am
Oh ok, I thought they involved putting the entire URL in the a tag.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on September 18, 2015, 09:01:23 am
Nah, it's well designed.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on September 18, 2015, 04:57:36 pm
Do you think the bug would be fixable, though? I mean, in log view, images and CSS are both missing.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on September 18, 2015, 07:57:59 pm
Yeah it is, I need to poke Juju about it. Or do it myself. But laziness. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on September 18, 2015, 08:48:51 pm
/me pokes @Juju


That's how it's done :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on September 19, 2015, 05:47:54 am
Yeah I should add a bunch of "../" somewhere or some mechanism to determine how much folders you're in.

Thinking of that that URL design was terrible.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: c4ooo on September 30, 2015, 12:03:18 am
As some will know from reading the bug reports thread for codewalrus, i have trouble (err.. well basicly its imposible to use) using  WIRC on ios. Yet when i use https://codewalr.us/?theme=1 i am able to use walrus irc, albeit a glitchy one. Hopefully this should help you track down the bug, @Juju
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Vijfhoek on September 30, 2015, 12:16:46 am
Just for the record, WalrusIRC seems to work fine on Safari on OS X El Capitan (10.11)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on September 30, 2015, 12:44:03 am
It does as well on Maverick 10.9.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on September 30, 2015, 05:23:58 pm
Quote from: c4ooo on September 30, 2015, 12:03:18 am
As some will know from reading the bug reports thread for codewalrus, i have trouble (err.. well basicly its imposible to use) using  WIRC on ios. Yet when i use https://codewalr.us/?theme=1 i am able to use walrus irc, albeit a glitchy one. Hopefully this should help you track down the bug, @Juju
Could it be something in CW CSS that overrides the WalrusIRC iframe in iOS?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on October 01, 2015, 12:31:36 pm
Quote from: Vijfhoek on September 30, 2015, 12:16:46 am
Just for the record, WalrusIRC seems to work fine on Safari on OS X El Capitan (10.11)

Quote from: Juju on September 30, 2015, 12:44:03 am
It does as well on Maverick 10.9.

In my experience the desktop version of Safari has nothing to do with the mobile version and works great, but the iOS version is a huge compatibility mess.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on October 01, 2015, 04:24:53 pm
Bleh, I hate huge compatibility messes, it's almost like trying to support IE 6.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on October 03, 2015, 08:56:42 pm
Indeed, and it's even worse considering iOS browsers are still in production today, unlike IE6.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on October 19, 2015, 10:40:22 am
Hmmm I noticed that wirc doesn't update the topic automatically, I have to edit the db to do it, I suppose that's a problem with the omnom bot though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on October 19, 2015, 05:59:50 pm
I wouldn't be surprised if WIRC still relies on Omnom bot for that. Not that it was working much from Omnom in the first place, though, since the bot didn't have op powers.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on October 19, 2015, 08:59:22 pm
I set the topic from IRC but that doesn't propagate to Omnom. I think it might be because we don't have the TopicBot part installed.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on October 23, 2015, 06:43:42 am
That probably explains it, then. Maybe it,s time to make one of our eggdrops have a !topic command for staff.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on November 08, 2015, 08:33:10 pm
@Juju, fix pl0x :P


codewalr.us/:1 Mixed Content: The page at 'https://codewalr.us/walrusirc/' was loaded over HTTPS, but requested an insecure image 'http://codewalr.us/Smileys/cwsmileys/wink.gif'. This content should also be served over HTTPS.
codewalr.us/:1 Mixed Content: The page at 'https://codewalr.us/walrusirc/' was loaded over HTTPS, but requested an insecure image 'http://codewalr.us/Smileys/cwsmileys/biggrin.gif'. This content should also be served over HTTPS.
codewalr.us/:1 Mixed Content: The page at 'https://codewalr.us/walrusirc/' was loaded over HTTPS, but requested an insecure image 'http://codewalr.us/Smileys/cwsmileys/cool.gif'. This content should also be served over HTTPS.
codewalr.us/:1 Mixed Content: The page at 'https://codewalr.us/walrusirc/' was loaded over HTTPS, but requested an insecure image 'http://codewalr.us/Smileys/cwsmileys/confus.gif'. This content should also be served over HTTPS.
codewalr.us/:1 Mixed Content: The page at 'https://codewalr.us/walrusirc/' was loaded over HTTPS, but requested an insecure image 'http://codewalr.us/Smileys/cwsmileys/dry.gif'. This content should also be served over HTTPS.
codewalr.us/:1 Mixed Content: The page at 'https://codewalr.us/walrusirc/' was loaded over HTTPS, but requested an insecure image 'http://codewalr.us/Smileys/cwsmileys/Duketape.png'. This content should also be served over HTTPS.
codewalr.us/:1 Mixed Content: The page at 'https://codewalr.us/walrusirc/' was loaded over HTTPS, but requested an insecure image 'http://codewalr.us/omnomirc_www/smileys/greenrii.gif'. This content should also be served over HTTPS.
codewalr.us/:1 Mixed Content: The page at 'https://codewalr.us/walrusirc/' was loaded over HTTPS, but requested an insecure image 'http://codewalr.us/omnomirc_www/smileys/bluewalrii.gif'. This content should also be served over HTTPS.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on November 09, 2015, 06:51:41 am
Ugh, mixed content warnings, do we really need that?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on November 09, 2015, 05:43:47 pm
Nah. Just change the image URLs to https I guess
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on November 15, 2015, 01:37:00 pm
Just made an aesthetic change, the messages won't show up until the scrollback has finished loading now, which should make it look nicer. Thanks to @Ephraim Becker for the suggestion.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on November 19, 2015, 05:09:38 pm
That might make it less misleading that way. Sometimes I almost found myself replying to old messages when I was too fast. However, could this be why sometimes messages won't load at all? It's rare, though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on November 19, 2015, 05:13:09 pm
Oh, good workaround.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on November 19, 2015, 05:15:45 pm
The reason why messages don't load is unknown so far. It might be a race condition caused by someone sending a message and someone loading simultaneously.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on November 19, 2015, 05:24:58 pm
Oh yay race conditions we sure love those ones jk those are the hardest to debug and most evil bugs you can ever encounter.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on November 19, 2015, 05:31:42 pm
Feature suggestion: Make IRC logs log join/parts/nick changes/kick/ban/mode change messages. Else it's hard to figure out when those happened.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on December 01, 2015, 03:02:37 am
There is a bug with the online list: It isn't always in-sync with the actual online list on IRC. For example, right now WalrusIRC shows W-803 as online, but on IRC it isn't there.


EDIT: Nvm it's there, but it lacks ops. Maybe WIRC should show + for voiced users and @ for ops? It would be less confusing. Showing users from Telegram and forums would also be nice.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2016, 08:44:42 pm
@Juju some CSS issues makes text hidden to the right x.x

Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 15, 2016, 09:15:13 pm
It's because text overflow isn't handled properly. Gotta fix that but last time I've tried I couldn't find a good way to do it. :/
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2016, 09:32:49 pm
Isn't it only a matter of making sure that word wrap is enabled and setting the max width to 100%, or is is made more difficult by the fact we're using an iframe?

Or could WalrusIRC be made so that long words are automatically broken, like ticalc.org does? That way, when people post massive URLs or long code, this wouldn't happen.


Also, we still have the problem of timestamps being hidden on mobile view.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 15, 2016, 09:35:53 pm
Nah because it uses a table and tables are hell.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2016, 09:37:45 pm
Oh right. I wonder if there could be a way to get rid of them...

Even SMF 2.0 uses them and it annoys me sometimes. If I ever made my own site again I would probably try to do everything possible to avoid using them.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 15, 2016, 10:13:32 pm
Well, they are good where appropriate, and here, unless we switched to a more traditional layout, tables are still pretty good.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 15, 2016, 10:19:53 pm
THey seem to make it extremely hard to design website styles, though, especially in mobile mode. >.<
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on March 16, 2016, 10:52:17 am
This has nothing to do with being mobile. You get the exact same issue on pc with a narrow window or with longer text.
I remember what the problem is now, it's impossible to limit the width of cells so that the total width of the table is 100%.
Edit: found a solution, works in Chrome, gotta test it in Firefox.
Edit2: Meh, word-break: break-word doesn't work in Firefox.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 16, 2016, 05:38:38 pm
Darn, that seems so complicated. Would there be a way around this, such as juju switching to divs instead of tables? I don't get why words just won't wrap automatically like in forum posts. This problem also happens on CW theme in various sections on mobile or with small width, such as board stats going off bounds
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 30, 2016, 04:40:10 pm
Is it me or sometimes when I type text it sends by itself while I type it? It's very rare and only happens on mobile. o.o
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Flippanteer on April 30, 2016, 05:22:02 pm
Quote from: DJ Omnimaga on April 30, 2016, 04:40:10 pm
Is it me or sometimes when I type text it sends by itself while I type it? It's very rare and only happens on mobile. o.o

I tend to use a mobile IRC client, it's pretty hard to navigate the site irc on mobile.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 30, 2016, 06:32:02 pm
For me the main issue is that the text often doesn't wrap properly, so some of it is cut off. But in general it works fine.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: c4ooo on April 30, 2016, 08:24:16 pm
Well, could be worse. OmnomIRC is completely broken on mobile last time i checked :(
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 01, 2016, 02:18:32 pm
I am sure it's just iOS Safari bugs striking again. But they're disconnected from EFnet since a while ago apparently.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Dudeman313 on May 01, 2016, 04:19:22 pm
Or maybe not. Also last time I checked, OmnomIRC was also broken for Opera Mini on Symbian OS. <_<
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 01, 2016, 05:39:25 pm
Is Symbian OS an Apple OS? On iOS, all browsers use the same rendering engine IIRC.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on May 02, 2016, 05:44:51 am
Symbian OS was one of those OSes that came before the smartphone era. As in, probably pretty old, small res and outdated, I'm not sure anyone would make apps for it anymore.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Dudeman313 on May 02, 2016, 05:36:01 pm
Quote from: Juju on May 02, 2016, 05:44:51 am
Symbian OS was one of those OSes that came before the smartphone era. As in, probably pretty old, small res and outdated, I'm not sure anyone would make apps for it anymore.

TI-83 was one of those calculators that came before the CE era. As in, probably pretty old, small res and outdated, I'm not sure anyone would make apps for it anymore.

Yet people still do. :trollface:
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on May 02, 2016, 06:21:00 pm
True. Don't expect anyone to make a full web browser on it that actually work and isn't a proof of concept, though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 02, 2016, 10:19:21 pm
Yeah true. Most people probably won't bother due to low demand.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on July 10, 2016, 07:57:21 pm
By the way there is a bug with WalrusIRC settings: If you change your settings in the shout-box, then they don't propagate to the full-screen chat and vice-versa, so if you want to change the backlog length in the shout-box it will only change the shout-box backlog length and not the full-screen backlog length.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 13, 2016, 03:07:12 pm
@Juju you should make Walrified so that post notifications go to https links instead of http
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on August 13, 2016, 04:23:23 pm
Right. It redirects, though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 13, 2016, 05:25:27 pm
Yeah true. I just thought it would be more consistent :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Snektron on January 20, 2017, 11:48:52 pm
It would be pretty handy to allow small sections of monospaced code, including newlines. It could be capped at just a few lines though.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Cakeisalie5 on January 24, 2017, 10:00:17 pm
I don't know where to put this, so I'll put this here (feel free to move it). I've got a design bug that won't let me see the last message:



I'm on Mozilla Firefox 50 on Manjaro GNU/Linux.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 24, 2017, 10:15:44 pm
Hi Cakeisalie5 and welcome to the forum. :) Unfortunatley I can't reproduce your bug because in the CW theme it shows up fine, but I just found another WalrusIRC bug that prevents me from changing the theme (clicking a different theme does nothing anymore)

@Streetwalrus and @Juju will probably to look into this.

Another reported issue by c4ooo is that we cannot drag and drop text into WalrusIRC (I suspect it's a conflict with the image uploader filtering anything other than images)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 25, 2017, 08:10:38 am
Interesting issue. I'll try to see what I can do tonight.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 25, 2017, 04:31:55 pm
Well this is strange, I've just installed firefox and I'm not having any trouble with it. I can't change the theme though, looks like the bug is getting caught so I'll give it a try.

Edit: fixed changing themes.
As far as your issue is concerned, it looks like the CSS isn't being loaded properly. Check your ad blocker.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Cakeisalie5 on January 25, 2017, 05:45:43 pm
Disabling the ad blocker (uBlock origin) and forcing page refresh (Ctrl + Maj + R) doesn't fix the issue, and all of the client CDNs are enabled. :(
What should I try next?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: kotu on January 25, 2017, 05:59:22 pm
Quote from: Cakeisalie5 on January 25, 2017, 05:45:43 pm
Disabling the ad blocker (uBlock origin) and forcing page refresh (Ctrl + Maj + R) doesn't fix the issue, and all of the client CDNs are enabled. :(
What should I try next?


wtf is Maj button ??
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 25, 2017, 06:06:58 pm
Quote from: Cakeisalie5 on January 25, 2017, 05:45:43 pm
Disabling the ad blocker (uBlock origin) and forcing page refresh (Ctrl + Maj + R) doesn't fix the issue, and all of the client CDNs are enabled. :(
What should I try next?

Can you access https://codewalr.us/walrusirc/themes/style-cw.css ? It's the missing stylesheet.

Quote from: kotu on January 25, 2017, 05:59:22 pm
wtf is Maj button ??

Shift. My stalker sense tells me he's french, and that's how we call it there.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: kotu on January 25, 2017, 06:07:36 pm
for some reason i knew it was shift lol
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 25, 2017, 06:10:34 pm
OH WAIT ! I see where the problem is now, you're using walrusirc.codewalr.us. We haven't maintained that subdomain in forever, so I had no idea it was broken, I'll take it down. Use https://codewalr.us/walrusirc instead.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 25, 2017, 09:08:55 pm
I use this subdomain all the time and it always worked for me.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 25, 2017, 09:11:08 pm
It breaks for me as well, I think it might be related to the shotgun debugging I did lately. :P Anyway I disabled the subdomain for now, since it doesn't even have https anyway.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 25, 2017, 11:47:20 pm
In any case, we shouldn't require users to disable adblock/change it settings in order to get the site to work :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Sorunome on January 26, 2017, 09:54:41 am
Quote from: DJ Omnimaga on January 25, 2017, 11:47:20 pm
In any case, we shouldn't require users to disable adblock/change it settings in order to get the site to work :P
Everything is broken with umatrix :p

Oh, and it prolly amplifies as i don't wanne whitelist to like bootstrapcdn or jquery or googleapis :p

seriously though, why won you guys just self-host the libs?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 26, 2017, 04:39:09 pm
Quote from: DJ Omnimaga on January 25, 2017, 11:47:20 pm
In any case, we shouldn't require users to disable adblock/change it settings in order to get the site to work :P

That wasn't the issue in the end.

And yeah we'll look into it.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 27, 2017, 06:53:02 am
Hm, yeah, we should use this trick I got taught once, load the lib from the CDN, if it didn't loaded then load it locally. As in, pretty much this:

<script src="some link to the jquery cdn">
<script>
if(!jQuery) //jQuery didn't loaded
document.write("<sc"+"ript src=some link to the local version of jquery>")
</script>
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 28, 2017, 10:32:32 am
I'm not a huge fan of doing it this way, I'd rather go all the way and host the libs ourselves than do this.

Edit: done. :D
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: p2 on January 31, 2017, 01:12:57 pm
yay ^^
so how shall we handle updates? by hand as soon as we hear about new releases I suppose? :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Sorunome on January 31, 2017, 01:17:36 pm
Or just switch to jQuery 1 as it isn't updated anymore :P

/me hides
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: p2 on January 31, 2017, 01:34:32 pm
maybe we should set up a script that ensures it's using jQuery1.1 for every request coming from your IP, also blocking all non-fox emons//emojis//emojicons//smileys//whatever...  9_9
but that would mean having to rewrite most of the codes, sooooo nope, sorry  :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Sorunome on January 31, 2017, 01:36:11 pm
Quote from: p2 on January 31, 2017, 01:34:32 pm
maybe we should set up a script that ensures it's using jQuery1.1 for every request coming from your IP, also blocking all non-fox emons//emojis//emojicons//smileys//whatever...  9_9
but that would mean having to rewrite most of the codes, sooooo nope, sorry  :P
Actually i bet using jquery 1 wouldn't require any code change at all.

Most of the API, specifically the api stuff that is normally used, stayed exactly the same.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on January 31, 2017, 05:46:45 pm
Quote from: Streetwalrus on January 28, 2017, 10:32:32 am
I'm not a huge fan of doing it this way, I'd rather go all the way and host the libs ourselves than do this.

Edit: done. :D

Unless the original libs are frequently updated, I also prefer hosting things in case the original site goes down

Edit by p2: removed that annoying SENT BY ... text. PLEEEEEEASE deactivate it dj!!

Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on January 31, 2017, 08:55:58 pm
Quote from: p2 on January 31, 2017, 01:12:57 pm
yay ^^
so how shall we handle updates? by hand as soon as we hear about new releases I suppose? :)

We've never actually updated those libs. As I've already said, CDN links point to a fixed version and there is no point in updating them *at all*. Should a security issue be found in them, then we will update accordingly of course, but otherwise for the sake of keeping things constant, they'll stay as they are.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on January 31, 2017, 10:04:46 pm
Indeed. Plus the fact upgrading libs to another minor version may or may not break things.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: PT_ on February 02, 2017, 12:06:02 am
2 bug reports:
- at my mobile phone, just loading codewalr.us takes ages, if it loads at all
- at my mobile phone, I can't type stuff in wIRC. Haven't tried it in fullscreen mode though.

My good old mobile phone is the Samsung Galaxy S3 Mini, and the normal internet browser
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 02, 2017, 12:55:23 am
Do you have a screenshot by the way? This sounds similar to the iOS bug c4ooo had a while ago. In his case, fullscreen WIRC worked fine, but not the shoutbox.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: PT_ on February 02, 2017, 12:59:54 am
Yep:

Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 03, 2017, 05:22:32 pm
Definitively a CSS issue. @Streetwalrus might want to look into it when he has a chance.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on February 03, 2017, 05:37:57 pm
Ugh, it's hard to support these browsers. Can you try Google chrome ?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: GalacticPirate on February 03, 2017, 06:56:34 pm
I also had this bug on iOS, I couldn't type in the shoutbox.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on February 03, 2017, 06:57:48 pm
iOS is even harder to support because none of us own a device to test with. We've always had issues with it. :/
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 03, 2017, 07:38:56 pm
Yeah I wish they provided a dev kit for free or cheap at least.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 04, 2017, 06:03:41 am
I have a Mac and it comes with an iOS Simulator.app. May or may not be useful.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 04, 2017, 09:40:42 pm
I thought your Mac died?
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 04, 2017, 09:42:25 pm
It somehow revived? Twice? Maybe even thrice?

Anyway, it works, right now.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 05, 2017, 05:00:36 pm
Ah good then. Just keep backups regularly I guess. <_<

Anyway it would be nice if you could try testing WIRC CSS in it, although PT_ doesn't use iOS and still has the same issue
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: p3n4 on February 05, 2017, 11:31:02 pm
Seems like I need 2 more posts to access the Chat. Meh.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 06, 2017, 12:19:15 am
You did it! Congratulations!
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on February 06, 2017, 07:31:46 am
Yeah, posts in the randomness section don't count. I've looked through your posts, and even though they're fine it would help if they were a liiiiittle bit more constructive. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: p2 on February 06, 2017, 09:06:14 am
wasnt everyone of us like that back then when we joined the community? ;)
Just give him some time :)
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 06, 2017, 05:34:40 pm
Yeah I remember Snektron at first, then he became staff.
:P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: p2 on February 09, 2017, 10:05:36 am
he can't have been worse than me xD


why do we tend to go offtopic all the time since about one week?  :ninja:
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 10, 2017, 02:48:00 am
That happens here :P, not as often as in early 2015, though. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 15, 2017, 11:26:14 pm
Bug report: The WalrusIRC logs viewer doesn't show parts, joins, nick changes and quits
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 26, 2017, 02:33:09 pm
New bug since this morning:

https://tg.codewalr.us/file_544.jpg

I can't see the last few lines of text after refresh until a new line gets posted
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on February 26, 2017, 06:37:06 pm
Yeah same here, not sure why but the last line is hidden. Probably a chrome update broke it.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 26, 2017, 07:33:14 pm
Most likely. Maybe it could be a server mishap, though? Something worth checking
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on February 26, 2017, 07:46:24 pm
I don't think anything would change on its own. I'll take a look later.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: p2 on February 27, 2017, 09:09:19 pm
a most beautiful netsplit just hapened :)
QuotePT_   So I propose that week Kittyface   22:00:52
*   W-803 has quit IRC (hub.se hub.dk)   22:03:26
*   Jinnai has quit IRC (hub.se hub.dk)   22:03:27
*   alberth has quit IRC (hub.se hub.dk)   22:03:27
*   FroznFire has quit IRC (hub.se hub.dk)   22:03:27
*   Patrick^D has quit IRC (hub.se hub.dk)   22:03:28
*   Bosaik has quit IRC (hub.se hub.dk)   22:03:28
*   jim has quit IRC (hub.se hub.dk)   22:03:28
*   Juju-kun has quit IRC (hub.se hub.dk)   22:03:28
*   Hooloovoo has quit IRC (hub.se hub.dk)   22:03:28
*   nikky has quit IRC (hub.se hub.dk)   22:03:28
*   W-805 has quit IRC (hub.se hub.dk)   22:03:29
*   Legimet has quit IRC (hub.se hub.dk)   22:03:29
*   debrouxl has quit IRC (hub.se hub.dk)   22:03:29
*   tev has quit IRC (hub.se hub.dk)   22:03:30
*   notipa has quit IRC (hub.se hub.dk)   22:03:30
*   jacobly has quit IRC (hub.se hub.dk)   22:03:30
*   P_T has quit IRC (hub.se hub.dk)   22:03:30
*   Streetwal has quit IRC (hub.se hub.dk)   22:03:35
*   ldebrouxl has quit IRC (hub.se hub.dk)   22:03:37
*   tev|stdby has quit IRC (hub.se hub.dk)   22:03:37
*   JosJuice has quit IRC (hub.se hub.dk)   22:03:38
*   ldebroux_ has quit IRC (hub.se hub.dk)   22:03:39
*   Caleb has quit IRC (hub.se hub.dk)   22:03:41
*   tr1p1ea has quit IRC (hub.se hub.dk)   22:03:41
*   notipabot has quit IRC (hub.se hub.dk)   22:03:45
c4ooo   rest in peice   22:03:55
PT_   how did I quit?   22:03:58
c4ooo   not split   22:04:53
c4ooo   *NET SPLIT   22:04:57
PT_   ikr   22:05:05
*   ldebroux_ has joined the channel   22:05:46
*   Legimet has joined the channel   22:05:46
*   JosJuice has joined the channel   22:05:46
*   debrouxl has joined the channel   22:05:46
*   W-803 has joined the channel   22:05:46
*   Jinnai has joined the channel   22:05:46
*   alberth has joined the channel   22:05:46
*   Caleb has joined the channel   22:05:46
*   tev has joined the channel   22:05:46
*   notipa has joined the channel   22:05:46
*   jacobly has joined the channel   22:05:46
*   Streetwal has joined the channel   22:05:47
*   P_T has joined the channel   22:05:47
*   FroznFire has joined the channel   22:05:47
*   Patrick^D has joined the channel   22:05:47
*   Bosaik has joined the channel   22:05:47
*   jim has joined the channel   22:05:47
*   W-805 has joined the channel   22:05:47
*   nikky has joined the channel   22:05:47
*   Hooloovoo has joined the channel   22:05:47
*   Juju-kun has joined the channel   22:05:47
*   hub.dk set mode +ovov W-803 Streetwal W-805 Juju-kun   22:05:47
*   ldebrouxl has joined the channel   22:05:47
*   tev|stdby has joined the channel   22:05:47
PT_   lool
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 27, 2017, 09:12:34 pm
Eh, gotta love EFNet.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Sorunome on February 28, 2017, 02:10:42 pm
In IRC the "walrified"-bot still posts http:// links, the converting to https:// happens on the WIRC side.

That being said, http://codewalr.us isn't converted to https while http://codewalr.us/ is
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: p2 on February 28, 2017, 02:17:34 pm
well the second issue should be easy to fix ;)
it's just that we shouldn't have put the "/" in the string as the option without it would take carre of both ^^

aaand thx for reporting the first issue, even tho I got no idea who's the one that will fix it 9_9
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on February 28, 2017, 03:09:44 pm
Quote from: Sorunome on February 28, 2017, 02:10:42 pm
In IRC the "walrified"-bot still posts http:// links, the converting to https:// happens on the WIRC side.

That being said, http://codewalr.us isn't converted to https while http://codewalr.us/ is
/me pokes a @Streetwalrus about this
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on February 28, 2017, 08:04:03 pm
I'll push the blame on @Juju, since he's the author of the mod.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 28, 2017, 08:11:53 pm
Wait, since when I wrote something to convert http links to https on the WIRC side? Wasn't me. I think.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Streetwalrus on February 28, 2017, 08:15:23 pm
You wrote the SMF mod that pushes notifications to walrified. :P
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on February 28, 2017, 08:39:29 pm
Oh, yes, that's me.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 01, 2017, 06:21:33 am
The akward moment when the site administration no longer remembers who wrote which parts of the site :trollface:
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: Juju on March 01, 2017, 06:43:58 am
What is this site? >.>

:trollface:
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 01, 2017, 11:30:55 pm
By the way, about the bug that causes not all text at the bottom to be visible due to the scrollbar not going far enough, it fixes itself if you click the Smileys list button.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on March 17, 2017, 12:19:21 am
The WalrusIRC<>IRC+TG relay bot just went down D:

EDIT Thanks Street for fixing
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on April 21, 2017, 03:48:01 pm
Hm for some reason the :walrii: in the smiley list no longer works when clicking on it
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: _iPhoenix_ on April 21, 2017, 04:05:42 pm
Works for me... Desktop and mobile...
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on May 09, 2017, 07:43:13 pm
Weird. I think the clickable area is just misaligned. It seems to work but only when clicking on specific areas of the smiley.
Title: Re: WalrusIRC - An OmnomIRC rewrite
Post by: DJ Omnimaga on August 05, 2017, 05:34:06 am
Bug report:

Since at least yesterday, WIRC scrollback settings no longer do anything. No matter if you choose 100 lines or 900 it will load 100 no matter what. Tested in Chrome and Opera on two different computers.