Author Topic: OmnomIRC changelog and suggestions  (Read 212142 times)

0 Members and 1 Guest are viewing this topic.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: OmnmomIRC changelog and suggestions
« Reply #90 on: March 21, 2013, 11:14:35 pm »
Does it mean we can now use OmnomIRC on an iPhone?? O.O

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnmomIRC changelog and suggestions
« Reply #91 on: March 21, 2013, 11:21:49 pm »
I was referring to Gossamer :P (unless you mean the iPhone browser glitch causing Omnom to expand forever?)

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: OmnmomIRC changelog and suggestions
« Reply #92 on: March 21, 2013, 11:24:59 pm »
Yeah, that one :P

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: OmnmomIRC changelog and suggestions
« Reply #93 on: March 21, 2013, 11:25:13 pm »
Does it mean we can now use OmnomIRC on a calculator?? O.O
Theorically, yes.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: OmnmomIRC changelog and suggestions
« Reply #94 on: March 21, 2013, 11:37:15 pm »
Gossamer doesn't support forms, so no, and it also doesn't support meta redirects and iirc http redirects which are both used, and it uses session cookies which you also need, so no, but no worries, i am planning on adding calc support to our chat with that calcnet chat, it'll be yet another way to connect to irc :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • That one dude
    • View Profile
Re: OmnmomIRC changelog and suggestions
« Reply #95 on: March 22, 2013, 12:47:36 pm »
Gossamer doesn't support anything that requires a textbox. I looked into finding a way to add this feature and realized very quickly that the only people fit to do this are those who wrote the gcnclient and Gossamer. Logging in is impossible because you can't send the required forms to do so, and trying to use the calc itself to do all the work would torture that poor, poor z80... However, the Nspire running Linux should work just fine! (I'm guessing, because I never used it but I see it may be possible.)
Setting up the programs and client right can allow one to connect to other IRC channels, though. :)

Certain Nspire calculators have a "Login to classroom" feature, as I experienced with my friend Kevin's two unused Clickpads and Touchpads (RICH DUDE!!)... And it said you needed an adapter. My friend thinks that he could login to Wifi with that adapter. Perhaps the Nspires may become mobile internet capable devices?
« Last Edit: March 22, 2013, 12:49:10 pm by Dapianokid »
Keep trying.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnmomIRC changelog and suggestions
« Reply #96 on: March 22, 2013, 06:39:45 pm »
Suggestion for change to Omnom_Parser.js
Code: [Select]
function drawChannels(){
"use strict";
var table,
td,
span,
span2,
chanName,
docfrag = document.createDocumentFragment(),
chanList = document.getElementById("ChanList");
for (var i in channels){
// build elements/variables
table = document.createElement('table');
td = document.createElement('td');
span = document.createElement('span');
span2 = document.createElement('span');
table.className = 'chanList';
chanName = base64.decode(channels[i]);
// Set properties/events
td.id = chanName;
td.className = (getChannelIndex()==i)?"curchan" :"chan"
if (chanName.substr(0,1) != "#"){
span.onclick = (function(name){
return function(){
partChannel(name);
}
})(chanName);
span.onmouseover = function(){
this.style.color = '#C73232';
this.style.fontWeight = 'bolder'
};
span.onmouseout = (function(color){
return function(){
this.style.color = color;
this.style.fontWeight = 'normal';
}
})((getChannelIndex()==i)?'#FFF':'#22C');
span.innerHTML = 'x';
td.appendChild(span);
}
span2.onclick = (function(i){
return function(){
selectChannel(i);
};
})(i);
span2.innerHTML = chanName;
// Append to DOM
td.appendChild(span2);
table.appendChild(td);
docfrag.appendChild(table);
}
chanList.innerHTML = '';
chanList.appendChild(docfrag);
}
A better drawChannels function. It might need some tweaking since I can't really test that much.

EDIT: Updated code
« Last Edit: March 22, 2013, 06:51:28 pm by Eeems »
/e

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: OmnmomIRC changelog and suggestions
« Reply #97 on: March 22, 2013, 06:53:32 pm »
Eeems: I'll take a look at it :) (i havent even looked at that part of the code yet, lol)

yay, it's on github! :) https://github.com/Sorunome/OmnomIRC
« Last Edit: March 22, 2013, 08:42:24 pm by Sorunome »

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnmomIRC changelog and suggestions
« Reply #98 on: March 23, 2013, 02:00:45 am »
Aaaand forked to re-write all the JavaScript to follow better coding standards.
https://github.com/Eeems/OmnomIRC
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnmomIRC changelog and suggestions
« Reply #99 on: March 23, 2013, 10:08:31 am »
Does Eeems editing it means Opera support is removed? :P

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnmomIRC changelog and suggestions
« Reply #100 on: March 23, 2013, 12:10:28 pm »
Does Eeems editing it means Opera support is removed? :P
Opera is moving to webkit, you won't have issues ;p
I'll make sure to make it cross-browser and to support opera :)
/e

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: OmnmomIRC changelog and suggestions
« Reply #101 on: March 23, 2013, 12:41:56 pm »
Aaaand forked to re-write all the JavaScript to follow better coding standards.
https://github.com/Eeems/OmnomIRC
Eeems, in your re-written js code you removed all the parts with omnimagaUserId which are important by now for checking if the user is admin for ops.
So I can't merge the project at this point, sorry

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnmomIRC changelog and suggestions
« Reply #102 on: March 23, 2013, 01:10:03 pm »
Aaaand forked to re-write all the JavaScript to follow better coding standards.
https://github.com/Eeems/OmnomIRC
Eeems, in your re-written js code you removed all the parts with omnimagaUserId which are important by now for checking if the user is admin for ops.
So I can't merge the project at this point, sorry
look at when I forked it. that feature wasn't in it yet. plus, its not ready to be merged. its not done yet. there is a ton of work still to be done.
/e

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: OmnmomIRC changelog and suggestions
« Reply #103 on: March 23, 2013, 08:47:42 pm »
Aaaand forked to re-write all the JavaScript to follow better coding standards.
https://github.com/Eeems/OmnomIRC
Eeems, in your re-written js code you removed all the parts with omnimagaUserId which are important by now for checking if the user is admin for ops.
So I can't merge the project at this point, sorry
look at when I forked it. that feature wasn't in it yet. plus, its not ready to be merged. its not done yet. there is a ton of work still to be done.
Oh, ok, i have to get more used to github. So can i change other files and merge and those other files stay changed? :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: OmnmomIRC changelog and suggestions
« Reply #104 on: March 23, 2013, 09:38:21 pm »
Aaaand forked to re-write all the JavaScript to follow better coding standards.
https://github.com/Eeems/OmnomIRC
Eeems, in your re-written js code you removed all the parts with omnimagaUserId which are important by now for checking if the user is admin for ops.
So I can't merge the project at this point, sorry
look at when I forked it. that feature wasn't in it yet. plus, its not ready to be merged. its not done yet. there is a ton of work still to be done.
Oh, ok, i have to get more used to github. So can i change other files and merge and those other files stay changed? :D
Yeah, when you upload stuff on github, you only upload changes.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.