Opened 10 years ago

Closed 9 years ago

#116 closed new feature (fixed)

Ajax Chat (prototype)

Reported by: Navin, lemon-head Owned by: lemon-head
Priority: minor Milestone: 0.6-short - full copy release
Component: BW General Keywords: Chat
Cc:

Description (last modified by lemon-head)

to get some progress in the chat discussion, someone who is interested can
build a prototype, and present it to the others in our forum.
Prototyping can happen in different stages. The first prototypes can be
completely independent from the rox codebase, so nothing can be damaged ->
freedom to play.

current testing report on the java based chat on BW
http://www.bevolunteer.org/forum/index.php?topic=269.msg9058#msg9058

I think the best would be something

  • XMPP/Jabber
    • based on plain AJAX/Javascript, so no java or flash inside.
    • ideally, it would be connected to an irc channel.
    • if you find third-party software: great. some have been mentioned in

the forum discussion already, don't know if they do what we need.

RSS Feed on a Website/Blog?/normal Page where the History of the Channel gets recorded.

See the proposals in this forum thread:
http://www.bevolunteer.org/forum/index.php?topic=269.0


http://en.wikipedia.org/wiki/XMPP

http://en.wikipedia.org/wiki/Direct_Client-to-Client

http://supybot.sf.net/

http://www.pidgin.im/

http://www.jabber.org/

http://www.jabber.org/software/servers.shtml

http://cgiirc.org/

http://supybot.com/documentation/plugins/channellogger

http://www.jivesoftware.com/products/spark/

http://www.openwengo.org/


Or try a google search on "ajax irc chat",
http://www.google.com/search?client=opera&rls=en&q=ajax+irc+chat&sourceid=opera&ie=utf-8&oe=utf-8


When the prototype is finished, it can be presented

Change History (17)

comment:1 Changed 10 years ago by lemon-head

  • Component changed from BW Forum to BW General
  • Description modified (diff)
  • Reporter changed from anonymous to Navin, lemon-head
  • Type changed from improve feature to new feature

comment:2 Changed 10 years ago by lemon-head

  • Description modified (diff)

comment:3 Changed 10 years ago by lemon-head

  • Description modified (diff)

comment:4 Changed 10 years ago by micha

  • follow_up set to none

We could easily introduce an AJAX-chat that leads to a lot more communication between our fellows. How? Have a look at this tutorial:

http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=9

Just implement this, make it available in the page.php template, create another function to activate and deactivate the chat for a user (so that it doesn't affect the usability) and we have a great new tool on our website!

I admit that it wouldn't be a valid Jabber/IRC chat like this. It would just serve the people currently available on BeWelcome.org

comment:5 Changed 9 years ago by lemon-head

  • follow_up changed from none to test
  • freq_reported set to 1
  • Milestone set to Applications using Rox Framework
  • Owner set to lemon-head
  • show_on_bw set to 0
  • Status changed from new to assigned
  • Summary changed from Chat prototype to Ajax Chat (prototype)
  • version set to all

[4642] - very basic version.

TODO: sanitize input, prevent sql injection!

TODO: update only those messages which are new.

So far I set myself as owner, but it would not hurt if someone else takes over.

comment:6 Changed 9 years ago by lemon-head

oops.. we have no db tables for the chat. I will add that later.

comment:7 Changed 9 years ago by lemon-head

[4643] - here we go, db is up.

comment:8 Changed 9 years ago by lemon-head

TODO: detect when the user is logged out while having the chat window open, and do sth meaningful.

comment:9 Changed 9 years ago by lemon-head

[4687] - new preview version, using the new built-in ajax/json support of our framework.

Things that should be fixed now:

  • update only those messages which are new.
  • lookback time can be [test.bewelcome.org/ajaxchat/days days], [test.bewelcome.org/ajaxchat/days weeks], [test.bewelcome.org/ajaxchat/days months] or [test.bewelcome.org/ajaxchat/forever forever]

Other things mentioned above are still to be implemented.

comment:10 Changed 9 years ago by philipp

  • Milestone changed from Applications using Rox Framework to 0.5.2-long

Milestone Applications using Rox Framework deleted

comment:11 Changed 9 years ago by philipp

  • Milestone changed from 0.5.2-long to BeVolunteer GA special release

comment:12 Changed 9 years ago by micha

  • follow_up changed from test to move to alpha

Fixed broken ajax-chat, added sidebar and a big send-button and changed displaying of errors: r5066

I would move this to alpha now!

comment:13 Changed 9 years ago by micha

  • follow_up changed from move to alpha to test on alpha

moved to alpha in r5156,r5157


LoginWidget? doesn't work yet. Please fix!

comment:14 Changed 9 years ago by micha

  • follow_up changed from test on alpha to release

Ok, LoginWidget? works. Release-ready (connected to login-widget)

comment:15 Changed 9 years ago by philipp

  • Milestone changed from BeVolunteer GA special release to 0.6-short

Milestone BeVolunteer GA special release deleted

comment:16 Changed 9 years ago by micha

  • follow_up changed from release to none

moved to production in r5343. Not working until the big move from alpha to production.

comment:17 Changed 9 years ago by philipp

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.