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 cty 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 ^_^
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.
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.
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?
Of course.
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
!
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.
I think you should fix the nginx configuration. I got again death send lag.
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.
Yay it works! And it's fast! I hope this gets added to an ezportal block soon!
We switched to EzPortal? O.O
Also sending works in Opera :D. But in Chrome mobile it says Ineed to login.
I meant simpleportal :P
Oh ok lol I was scared we were switching back. EzPortal 2.6 was totally broken. Even more than Sonic 2006
lol true story. I remember when we tried EzPortal before site opening. It was terrible.
Yeah. It was much better in 2010-11. Now block settings no longer works. ._.
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.
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.
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.
Well for colors the best IMHO is to use colors like in OmnomIRC. They are much darker :P
No auto scroll in firefox (using firefox 35 on arch linux if any of that's relevant)
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.
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.
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.
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.
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. >.<
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
Hmm you probably have version 35 then. I have version 38 on my PC I think (nightlies ftw).
Aetios this gradient isn't too much vista-ishz they are fine actually. Maybe a lighter gradient could be better.
Welp it's more the fact that it doesn't really fit with the general site design. :P
I quite like it though :P
Me too. It looks nice but out of place on cw. :P
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
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.
Yup I noticed the same thing.
That's a great idea, i always hate it when programs don't do that. :(
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.
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.
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
Y u no read posts? it makes me mad seeing al those *new*'s >:(
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 ?
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.
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
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.
Yeah, that's because of the hidden join/parts. And yeah, {"nick":"","signature":"","uid":0} is what to be expected.
@Juju at the shopping mall, where WIRC is unuseable, I get {"nick":"","signature":"","uid":0}
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).
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)
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.
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
No problem. Actually I think it came up around when you went less active for a while. :P
Not an update but I like how it's going on mobile.
Nice. By the way any idea when the next version will come out? (with smileys, fixed scrolling, ignore list, etc)
Nope. When it's done, I guess.
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:
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 :)
Cool to hear :D. Will logs be viewable only by members or everyone? Let us know here whenever there are updates and fixes. :)
They're currently viewable by everyone.
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
I think highlight does 't work with /me
Possible.
Yeah chat is much bigger on my phone too now. Really bugs me actually :(
EDIT: oh wait, looks like it's only sometimes
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?
None at all. It's weird. Did the browser updated?
I forgot. I don't recall updating anything, though.
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.
Er what happened to WalrusIRC now? It says 502 Bad Gateway ???
No idea but I restarted it.
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.
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!
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.
Idiot me initialized a variable with [] instead of {}. That's why everything broke. And now it works :P
Not anymore. It's now blank >.<
Not for me? Please check your browser's Javascript console log for any errors. (Also obviously the browser you use.)
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
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.
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?)
Oh, yeah, I still have to code the smileys list.
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.
They're fetched from the OmnomIRC config.
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.
The smileys config were moved to MySQL sometime last year iirc, so it's just an additional SQL request each time WalrusIRC starts.
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.
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,
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)
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.
smilies do not work on mobile
Correction: they simply don't work at the moment.
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)
If you say it doesn't work, please at least state which browser.
Fx 35.0.1. Don't work. Windows 8.1 x64
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.
Yep, check if smileys aren't disabled. It works for me on Fx31/OS X 10.9 and Chrome Mobile/Cyanogenmod 11.
I can confirm touch wiz on chrome works too.
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.
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.
Chrome on Android (Cyanogenmod 12) 5.0.2 doesnt work
By the way auto scrolling doesn't work in Firefox.
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.
That's weird. Which browser?
Chrome in my case (Android). Not sure about aeTIos.
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?
The node.js server crashes when the Omnom bot gets restarted, so I have to restart it as well.
Oh right, I forgot about that. Hopefully it doesn't crash on its own at one point. >.<
Looks like walrusIRC Crashed or something, it wont start (walrusirc.codewalr.us wont work either)
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.
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)
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.
No idea, I blame EFNet. It's unrelated to whatever maintainance. I restarted her anyway.
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.
Bug report: When you change your forum timezone, WalrusIRC timezone remains GMT-5. Shouldn't it remain in sync with forum profile settings?
I think it probably takes your local time
It have nothing to do with forum time, but with your system clock.
Oh right, that might explain it then. At least this means it will show the right time for other users too.
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.
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.
Ooooh I was about to ask for that feature. I feel like I miss so much stuff in edits.
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.
That's some ideas, most of them are for YukiBot or the board software itself, though.
Oh ok. Do you think the post edit notification feature would be hard to implement?
No idea but that would at least require checking through the SMF docs and code. I could ask on Omnimaga.
That could work. Maybe Soru knows, since he works on OmnomIRC.
Yep. Also update:
- OmnomIRC 2.9 support
- Unicode works correctly!
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.
Same here. I was previously unaffected by the bug.
Suggestion : emoji polyfill to have them on every browser!
Yeah i can't chat either :/
Fullscreen chat works though.
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
Just fixed the shoutbox. There was a ?network=1 too much in the iframe source.
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.
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.
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.
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)?
I have no idea, both of you would need to check.
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)
I finally fixed the scrolling bug in Firefox, so now it's finally usable. :D
And that was stupid. (https://github.com/juju2143/walrusirc/commit/ac339268f7b6cb06e8bf096b954b5658eb2ad8e4) Thanks Street ^_^
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. ^.^
Lol I've always been good at debugging. :P
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.
I should check this out at one point.
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.
Hmmm, the display bug can't be related to my fix as scrolling only happens on a certain signal from the server afaict.
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):
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.
Oh I see. At least now I'm glad it works in Opera too, though. Earlier only Firefox allowed new uploads.
Confirmed, this looks like working, finally! :D
Image uploading is broken again :( (tried in Firefox and Opera, to no avail)
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.
And that'll avoid having to run it manually, since I did a service for haxebot I sleep way better now.
Glad it works now, i can use my (new) sprites in the chat :P
Don't clutter too much the chat them, 'kay? Use them with precaution. ;)
*proceeds to spam the irc*
You better not to. YOu would get problems if you do that. :J
Yeah true. But still nice to can upload again :)
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).
What does it do?
It allows managing restarts easier (without the upload bug in the way even) and also starting the bot on server boot.
Oh that would be quite handy actually :P
That's why I made it. :P
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?
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.
Aah I see now. Also it seems WIRC has issues parsing nicks with quotes.
Had, it's fixed now.
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.
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?
"Oh what, where did Eiyeron go? i see a new user who's called 'Duke "Tape" Eiyeron' but no Eiyeron ???"
Oh and he doesn't have at all the same banner, he removed FiXOS userbar by mistake.
WalrusIRC Seems to be down again
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.
It's back. The server was out somehow. :/
Ah weird, but doesn't it use the same server as CW?
Maybe the process crashed?
It broke again shortly after I updated OmnomIRC D:
EDIT:
Quote<Sorunome> i renamed irc_topics to irc_channels
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).
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 ^_^
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
I didn't change anything about that. Maybe they fixed something in Chrome ?
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.
It happens sometimes, you fix something and it happens it fixed something else too.
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 ?
Ah that could maybe explain it. Something definitively changed. :P
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.
Yay I'm a featured project~
And yeah, dunno why that happens.
Maybe it can't load when stuff is sent to it at the same time?
i noticed it happen on my phone, but i dont think it really happened on my pc
I've never had this problem before... (Fx or Chrome Mobile)
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.
Yeah ive noticed that top :/
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.
That is what happes to me on my kindle. Every time :(
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?
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.
Why is text twice larger in Chrome mobile all of a sudden? I didn't update nor change any setting ???
I suppose it was due to us messing with incredibly long non-wrappable messages earlier. :P
Oh right, I didn't realize. I thought someone updated the code.
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. :/
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)
Yeah, overflow: hidden seems to be the best idea for now.
THanks for the fix. It's better now :)
Logs layout and images are broken now.
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).
Awesome. It seems to work better so far. :)
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.
Let's hope so, you're doing an incredible work on it, it seems!
Yep, thanks for improving my code ^_^
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)
Autoscroll on page load stopped working completely as of 2 minutes ago.
Works fine for me. It's possible your browser fails to do its job correctly sometimes due to disturbances in the internets.
Hmm weird. So does it mean that WIRC scrolling behavior is dependent on how good someone's connection is?
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.
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
(Wacky Fun)Random trippy theme generator?
Oh deer...
BTW last night i couldn't select theme's on my phone, but now i can
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.
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.
That theme looks quite nice :D though i cant seem to fully scroll down anymore with it
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.
So... Who's going to make an acid theme?
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
DJ did you try this:
window.frames[0].loadTheme("rounded")
I had to do it in the fullscreen version for it to work
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 ._.
Aaah right, thank for the info.
Also are smileys supposed to be case-sensitive?
Welp, that's a good question. Nope.
In the online list, you should add icons for the server each user is on.
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.
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.
So the scrolling bug (where it doesn't completely scroll at the bottom) is back.
I noticed but I did not know that it happened before I must not have been paying attention.
I always felt like it was never really gone...
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.
Maybe it's one of those bugs that just will always be there the way you've made your program <_<
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.
Yep, gotta check that out.
There is also a display bug when switching to a new date (at 12 AM): The date will overlap on the last message timestamp.
Yeah, i have that too. I don't know why i never reported it
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.
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?
It works on my Crome on Android though
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.
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:
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.
Yeah i've noticed that too. Also there appears a weird bar when you upload something to img.codewalr.us
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. >.<
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!
Awesome, it works pretty nicely ! :D
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!
Looks like the notifications still get sent when disabled btw.
Lemme try something. Does it work now?
Can't say, PC is off now. Idk how I'm even awake lol.
Well it works for me, anyway. Gotta commit this, along with duplicate code deletion. ^_^
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
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
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.
Maybe have it trigger the notification thing only if you are on the page and not on refresh?
I still get the scrolling bug <_< its really annoying
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.
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.
Could the online list be edited via the MySQL database or could this break stuff?
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.
There is no risk of stuff getting misaligned in the database, right?
Okay now i always get the no scrolling error :/
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 .
It should be fixed now (I hope). I changed the way it decides whether or not to scroll. Please report as usual.
When I make a :walrii: it only scrolls half way down :(
Yeah that's because images. Could be fixed but laziness. :P
works fine other wise I testes and if you post after a :walrii: it scrolls all the way down automatically now :)
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.
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
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
It seems to work fine on Chrome Android at least.
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.
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 >.<
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.
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.
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
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.
The text is the right size on mobile. Any smaller and it would be unreadable.
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).
Well I made things quite small on my phone but not to the point that it's unreadable.
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.
Looks awesome :D
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.
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
Strange, I only started having it happen recently ???
You must've been disconnecting a lot recently.
Indeed. At least it's a good way to tell if your internet is acting up. Or if the server have issues.
Most likely your internet, I don't have any issue with it.
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.
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?
Lol that happens. :P But yeah it would still prevent sending attempts that don't actually send that way.
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
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 :)
Yeah that too, and trying to click the box when it disconnects every second is almost like playing Guitar Hero in hard mode.
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.
Bug report: it doesn't display the typing box in mobile. (iPhone 4S IOS 7)
Yeah, it kinda sucks on mobile. Try the fullscreen mode on http://codewalr.us/walrusirc/ if it's any better.
Yeah, Ive been using that but sometimes it jumps around to the top of the backlog O.O
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.
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.
Awesome :D, this looks much better now. :)
The next step will be to integrate Telegram userlist into the WalrusIRC (or OmnomIRC) online list.
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.
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.
Done.
Yay! I was worried it would empty the userlist completely until each user rejoins but it finally didn't it seems. Thanks :)
Nah, the bot is smart enough for that. I just emptied the list and started it back up.
Ah cool. Back then, OmnomIRC online list would empty itself when restarted.
I should definitely rewrite the Python bot to be integrated with WIRC and Telegram.
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.
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.
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?
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.
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.
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.
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.
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.
Yep, since they don't allow devs to write their own browser engines, everyone is force to use the built-in engine which sucks.
I guess they don't want apps that are better than the cty built-in apps :trollface:
Yes. Otherwise they'd lose a few dollars. :trollface:
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
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.
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.
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.
Absolute path = path from /, not the actual URL.
Oh ok, I thought they involved putting the entire URL in the a tag.
Nah, it's well designed.
Do you think the bug would be fixable, though? I mean, in log view, images and CSS are both missing.
Yeah it is, I need to poke Juju about it. Or do it myself. But laziness. :P
/me pokes
@Juju That's how it's done :P
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.
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
Just for the record, WalrusIRC seems to work fine on Safari on OS X El Capitan (10.11)
It does as well on Maverick 10.9.
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?
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.
Bleh, I hate huge compatibility messes, it's almost like trying to support IE 6.
Indeed, and it's even worse considering iOS browsers are still in production today, unlike IE6.
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.
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.
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.
That probably explains it, then. Maybe it,s time to make one of our eggdrops have a !topic command for staff.
@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.
Ugh, mixed content warnings, do we really need that?
Nah. Just change the image URLs to https I guess
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.
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.
Oh, good workaround.
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.
Oh yay race conditions we sure love those ones jk those are the hardest to debug and most evil bugs you can ever encounter.
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.
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.
@Juju some CSS issues makes text hidden to the right x.x
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. :/
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.
Nah because it uses a table and tables are hell.
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.
Well, they are good where appropriate, and here, unless we switched to a more traditional layout, tables are still pretty good.
THey seem to make it extremely hard to design website styles, though, especially in mobile mode. >.<
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.
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
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
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.
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.
Well, could be worse. OmnomIRC is completely broken on mobile last time i checked :(
I am sure it's just iOS Safari bugs striking again. But they're disconnected from EFnet since a while ago apparently.
Or maybe not. Also last time I checked, OmnomIRC was also broken for Opera Mini on Symbian OS. <_<
Is Symbian OS an Apple OS? On iOS, all browsers use the same rendering engine IIRC.
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.
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:
True. Don't expect anyone to make a full web browser on it that actually work and isn't a proof of concept, though.
Yeah true. Most people probably won't bother due to low demand.
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.
@Juju you should make Walrified so that post notifications go to https links instead of http
Right. It redirects, though.
Yeah true. I just thought it would be more consistent :P
It would be pretty handy to allow small sections of monospaced code, including newlines. It could be capped at just a few lines though.
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.
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)
Interesting issue. I'll try to see what I can do tonight.
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.
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?
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 ??
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.
for some reason i knew it was shift lol
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.
I use this subdomain all the time and it always worked for me.
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.
In any case, we shouldn't require users to disable adblock/change it settings in order to get the site to work :P
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?
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.
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>
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
yay ^^
so how shall we handle updates? by hand as soon as we hear about new releases I suppose? :)
Or just switch to jQuery 1 as it isn't updated anymore :P
/me hides
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
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.
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!!
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.
Indeed. Plus the fact upgrading libs to another minor version may or may not break things.
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
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.
Yep:
Definitively a CSS issue.
@Streetwalrus might want to look into it when he has a chance.
Ugh, it's hard to support these browsers. Can you try Google chrome ?
I also had this bug on iOS, I couldn't type in the shoutbox.
iOS is even harder to support because none of us own a device to test with. We've always had issues with it. :/
Yeah I wish they provided a dev kit for free or cheap at least.
I have a Mac and it comes with an iOS Simulator.app. May or may not be useful.
I thought your Mac died?
It somehow revived? Twice? Maybe even thrice?
Anyway, it works, right now.
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
Seems like I need 2 more posts to access the Chat. Meh.
You did it! Congratulations!
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
wasnt everyone of us like that back then when we joined the community? ;)
Just give him some time :)
Yeah I remember Snektron at first, then he became staff.
:P
he can't have been worse than me xD
why do we tend to go offtopic all the time since about one week? :ninja:
That happens here :P, not as often as in early 2015, though. :P
Bug report: The WalrusIRC logs viewer doesn't show parts, joins, nick changes and quits
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
Yeah same here, not sure why but the last line is hidden. Probably a chrome update broke it.
Most likely. Maybe it could be a server mishap, though? Something worth checking
I don't think anything would change on its own. I'll take a look later.
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
Eh, gotta love EFNet.
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
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
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
I'll push the blame on
@Juju, since he's the author of the mod.
Wait, since when I wrote something to convert http links to https on the WIRC side? Wasn't me. I think.
You wrote the SMF mod that pushes notifications to walrified. :P
Oh, yes, that's me.
The akward moment when the site administration no longer remembers who wrote which parts of the site :trollface:
What is this site? >.>
:trollface:
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.
The WalrusIRC<>IRC+TG relay bot just went down D:
EDIT Thanks Street for fixing
Hm for some reason the :walrii: in the smiley list no longer works when clicking on it
Works for me... Desktop and mobile...
Weird. I think the clickable area is just misaligned. It seems to work but only when clicking on specific areas of the smiley.
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.