| /[drupal]/contributions/modules/chatroom/chatroom.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
bring bugfixes over
fix warning on chatroom chat creation from chatroom view
fix warning on chatroom view
fix warning on chatroom view
sycing with 6.x-2 stable
don't return the current user in autocomplete, get rid of empty hook_help
syncing with 6-x-2 BETA4
again with the debug statements...
#638276: make managing a chatroom's chats easier, and put it in the chatroom view where it belongs. thanks to tormi for the report
syncing head with 6.x-2 BETA3
more make private clean up
argh, bitten by global drupal user object. global's are bad, mmmmkay?
clean up the chat kick/ban code. make it work for guests, make it cached
clean up the chat kick/ban code. make it work for guests, make it cached
#636630: add some missing t() calls, thanks to tormi for spotting them
#636206: keep chats associated with their chatrooms after edit, thanks to for the sylvaticus report
fix bug with getting list of active chats
initialise latest messages
initialise latest messages
make the latest message loading actually work
more popout fixes
really stop the propagation of click events for popout chats
fix notice bug
#632810: add maximum user support to chatroom. admins can now set the maximum number of users who can chat concurrently, patch by Docc
make it easier to ban and kick users. add a framework to add links and functionality to the user list. clean up the UI a bit, archive chat button is missing, but will return. lots of general clean ups, make kicking and banning more robust. once this settles a bit, i'll release another beta
#630560: use drupal's temp directory, not our own custom one. thanks to scoorch for the report
syncing head with latest beta2
fix invite bugs
rework popouts to not be an admin setting, just an adhoc user choice
more imagecache support work, this is ready for wider testing now
sync up HEAD with 6.x-2 BETA 1
more user invite work, i think this is enough to move to a beta and start polishing
more invite work, allow modules to act on invite notifications
further invite work. make invites be accepted when a user is registered in a chat, also clean up message load query
add invite support, still needs handling of the invite notifications
woo, we now use the node's filters, so we get whatever the admin can come up with for filters by default. yep, smiley support happens right there :-). also, clean out some left over crud.
get rid of old autocomplete parse code. we're not doing that on edit anymore
#: make message timestamp data actually get saved, and add a back to message date theming.
fix that fix, compare not global
fix bug with user being listed multiple times in online list. fix bug with private chat access for the user who owns the chat
#621478: forgot to specify cache table.
kick people out of private chats if an admin says so
#: add private chat capability, with a widget to add/remove users from the chat interface. still rough, missing some sanity checks, but working enough to commit.
fix profile picture notice when creating chat from chatroom interface
#: make blocks work again. two of the old blocks are gone, as i'd like to do them differently now. sitewide online list should really integrate with buddylist module, and i'm not sure the 'put list of chat users in a block' is a good idea anymore.
add popout behaviour to node link if chat is set as a popout
fix redirect where base_path() == '/'
working, but a bit rough, support for chats in popups. woo, features flying in now.
basic private msg support now in
basic command reponse infrastructure in place for 'system' messages
woo, first working cut at kick and ban support. private messages next, then fix all the bugs i just introduced.
fix some node access bugs for chats and chatrooms
fix bugs in chatroom command hooks, and start to implement kick, ban and private message commands
pulling in changes from dev branch to head
restore status alerts, not fully configurable yet.
#616704: preliminary support for user pictures in chat online lists. Thanks Docc.
fix bugs with display of guest id and getting the most recent messages
more dumb bugfixes
fix bug with current user not showing up in online list on first page load
fix dumb bug that was reloading messages
fix a raft of bugs, getting close to an alpha release now
get rid of broken chatroom listing. thats for views to do.
get rid of broken chatroom listing. thats for views to do.
woo, CRUD now really works for chats and chatrooms, surely still bugs, but this is nearly ready for another alpha. begone cruft\!
bugfixes for CRUD on chatroom nodes
correct fetching and display of guest ids
restore guest_id tracking, server side of making caching work, allow modules to alter js settings, fix for deleting chat nodes
make archiving/unarchiving chats work again
#610662: get rid of debug cruft. also, various untested changes, make the theme implementation actually use the right signature, very early work on getting popups working. this is work in progress code.
#615870: use nid instead of crid on chatroom_ban_list in chatroom_delete
#607400: get rid of old crufty auto-message archive code, add an update to create and archive column on chatroom_msg
big, nasty, next generation code commit. do not use this yet, it will eat your site and kill your kittens. you have been warned.
pull in changes from 6.x-1.0-beta7
pull in changes from 6.x-1.0-beta7
#577484: show a delete confirm form like the rest of Drupal when deleting a chat.
pulling in fix for archive chats
pulling in fix for archiving chats
#576160: if a chat is archived, refresh the page for other people in the chat, and set a message telling them what happened.
bringing changes from 6.x-1.0-beta5 into HEAD
#576104: make archived chat view better, and add the ability to 'unarchive' an archived chat
pulling in changes from the DRUPAL-6--1 branch to HEAD
make the site-wide online list use the site-wide interval for updating online access value in user table
remove chatroom commands block. the implementation is gone, will need to restore it properly in a different branch.
make the list of users in a chat block work again.
#575896: fix incorrect sql when updating chatroom
allow chatroom admins access to CRUD operations on chatroom nodes
cleanup chatroom_js() a little; don't hide the fact that we're using raw $_POST, get rid of the completely useless cached form fetch code
make chatroom_get_active_chats() work again
fix typo in archive query
#486900: Dave Cohen use db_rewrite_sql to give other modules a chance to modify queries
#359750: douggreen fix blocks display
#327708 fix archive functionality
random fixes to just stop this being so completely broken
squash some warnings caused by missing global
#234636
#215908 Allow more than one user to be banned.
#252564 by Steve Dondley. Made sound file paths absolute.
#252612 by Steve Dondley. Recognize all MP3 files.
Simplified titles for alert check-boxes.
Put all of a site's chat cache files in one directory if possible. Delete cache files when Chat Room is disabled.
#179501 Patch to enable archived chats to be deleted.
#180937 Improved fix.
#180937 Fix by Ryan Constantine (rconstantine) for typo in chatroom_delete()
#180932 Default value for kick and ban messages set incorrectly.
Allow admins to upload their own alert sounds.
Made system time messages configurable.
Optimized database queries.
Fixed code updating chat rooms block.
Changed order of admin form items. Stopped chats in deleted chat rooms.
More smileys optimization.
Avoid dependence on t() in chatroom.install. Delete unused variables. #136121 Allow administrator to set guest user prefix. Avoid dependence on variable_get in update requests.
Removed spurious block settings. Prevented the active chats block from being displayed on the Chat rooms page. More code clean-up.
Include chat rooms that only have archived chats on the Chat rooms page.
Avoid showing chats in teaser view. Use !empty() instead of count() to determine if arrays have values.
Send user colours as a setting so that in the future they can be used for the site-wide on-line list. Tweaked some JavaScript.
Fixes for block updates. Made smileys work in chat list view. Prevented invalid queries for chat archives. Kick users out of chat when it is archived or chat room is deleted.
Updated documentation.
Made chat commands block themeable.
Made blocks themeable.
#137877 Generate content with themeable functions.
Style chat archive view. Allow users to send themselves private messages by clicking on their user names in the chat on line list.
Style change for private messages. #168822 Allow alerts to be on by default.
Fixes for archives and private messages.
More jQuery conversion. Fixed kick and ban. Moved update functions to their own file.
Fixed local variables that were being declared as global. Cleaned up smileys code.
Added validation for block update interval setting. Allowed updates to be stopped in an open window.
Fixed block update interval setting.
Removed unused onlineList setting. Re-organized the settings form. Minor coding style changes.
Fix for cache file names
More jQuery updates. Avoid calling unavailable global $user on updates. Stop creating directories for the cache files.
Added "Chat Room" to block names. Updated to jQuery.
Use drupal_add_js() to add settings.
#175385 Add block update interval to settings form. By Samuele Tognini (samuelet)
#160068 Make compatible with Drupal 5.2.
Made audio alerts work when Drupal is installed in a sub-directory.
#154457 Added alerts for new messages and for new users entering chat. Thanks to Steve Dondley for sponsoring this feature.
#157633 Fixed capitalization. Made all strings translatable. Clarified chat commands block. Removed links from on-line users block. Miscellaneous cleanup and tuning along the way.
Removed unused variable.
#154653 Make sure tmp file is not being used by another site. Thanks to Steve Dondley for the initial work on this.
#150703 Confirm on-line status of other users before sending user list to new users and suppress joined the chat messages for first 10 seconds.
#151754 Only add "Chat rooms" to the breadcrumb when viewing chat room as stand-alone page.
#151754 Only add "Chat rooms" to the breadcrumb when viewing chat room as stand-alone page.
#143333 Double quotes in message would cause chat to lock up.
Eliminated duplicate stripslashes().
#140662 Improve performance by limiting the size of messages. Database patch by Lars Consume (klktrk)
#124359 Wrong variable name caused messages to be blank.
#137880 Removed more redundant check_plain()s found by Xavier Bestel (xav).
#137880 Made special characters in chat links display correctly.
#137356 Fixed chat message count.
#136770 Fix for SQL query by Josh Freeman (josh_freeman)
Fixed another untranslatable string.
#136753 Patch to fix untranslatable strings by Takafumi
#136617 Made room summary show chats where all messages are private.
Style update.
#136617 Made query display empty chats in room summary.
Fixed chatroom_update so that changes can be saved. Added paging to the archive view. Filtered private messages from being seen by other users in archive. Enabled users to see private messages that they have sent.
Fixed chat message count.
Made it possible to view archives of active chats. This is useful when the number of messages exceeds the limit to be displayed in the active chat panel.
#130469 Removed unused chatroom_list_description variable.
#132179 Patch to support double quotes in messages by Guy Rouillard (TSK2006)
#132179 Patch to support double quotes in messages by Guy Rouillard (TSK2006)
#129207 Wrong variable name caused auto-archiving to generate error.
#130469 Cast message ID to integer to allow proper comparison.
Updated to comply with Drupal coding standards.
Simplified the JavaScript objects.
#126181 Made AJAX update script work for people who keep their modules outside the Drupal directory and access them with symlinks.
Continued to separate JavaScript from PHP.
More updates for compatibility with jQuery.
Copied drupal_to_js from common.inc to chatroomread.php so raw JavaScript could be removed from chatroom.module.
Eliminated Drupal 4.7 JavaScript functions.
Removed unused help function.
Removed files from HEAD to avoid duplicating the DRUPAL-5 branch.
Converting to Drupal 5.
Preparing for Drupal 5 version.
Fixed the site-wide online users block.
Removed unused JavaScript variables.
A few more fixes for the online user list problem.
#120629 Fixed the problem of online users shown leaving.
Used drupal_to_js to initialize JavaScript variables. Made sure both cache timestamp and current time are sent on each update. Added test intended to prevent join and leave messages from being generated within 5 seconds of the cache timestamp (it doesn't work; see #120629).
Fixed to work with the new design of chatroomread.php.
#121165 Moved settings to admin/settings. Added default value for automatically archive old messages.
Fixed to make the active chat rooms block appear. Made the user list update more often.
Fixed to make the user list update correctly.
#114786 Restored chatroom.block.js.
#114717 Removed reference to chatroom.block.js. This file had been removed because it contained unfinished features, and the reference was generating an error message.
Made URL code more consistent.
#103610 Fixed SQL syntax error that caused chats to disappear. Removed the unused chatroom_chat_invites table.
Changed initial timestamp to zero.
#110067 Added option to automatically archive old messages. Fixed a bug that prevented messages from being displayed when a chat was opened unless a new message was sent.
Cleaned up unfinished code and organized remaining functions.
#104592 Fixed an SQL query that failed to return a list of chats. Fixed incorrect links for archived chats on the chat rooms page.
#110066 Increased the time required for a user to be reported as having left the chat to help those with slow connections.
Removed parentheses from chat commands block.
#104934 Added strings identified by ricmadeira to translation template.
Updated to make translation easier.
Fixed a bug that prevented chats without messages from being listed.
#102668 Users could chat in archived chats if they replaced "archives" with "chat" in the path. Open chats could be viewed as archives. Now the archive path works only for archived chats and the chat path works only for active chats.
Fix last message display query for chats.
Added line breaks to the ends of files to simplify patching.
Fix to eliminate PHP error when on /chatrooms page when no chat rooms are defined.
Fix to get private messages working.
Modified chatroom list to show only rooms to which a user has access.
Modified kick and ban functions.
Fixed issue with online users list.
#99398 Wrong variable name. Thanks Gerry Danen.
Accidentally left a diagnostic line in code.
Fix for error when user is banned from all chats.
#76579 Show available commands.
#92677 Clarify message in site-wide online users block.
Finished replacing "chatrooms" with "chat rooms". It's important to run update.php to enable the new permissions strings to work.
Replace "chatrooms" with "chat rooms".
#92236 Replace "forum topic" and "chatroom" with "chat room". Forum topic was accidentally copied from the forum module. I prefer not to invent new words when existing words are suitable, so I replaced "chatroom" with "chat room".
#78920 Kicked out on join.
#91213 Replace drupal_add_link with theme_add_style.
Additional fix for #89941.
#89941 Deletion of temp directory caused Chatroom to fail.
Committing a new set of files for the next generation of Drupal chat.
#88300 Don't require chatroom to be in modules directory. By moshe weitzman.
#88300 Don't require chatroom to be in modules directory. By moshe weitzman.
#87059 Replace MySQL specific UNIX_TIMESTAMP.
#87059 Replace MySQL specific UNIX_TIMESTAMP.
#87864 Replace MySQL-specific query with generic query. By k4ml.
#87864 Replace MySQL-specific query with generic query. By k4ml.
#87866 Patch for PostgreSQL compatibility. Thanks k4ml.
#87866 Patch for PostgreSQL compatibility. Thanks k4ml.
#73154 Display chatroom like forum topics. By moshe weitzman.
#73154 Display chatroom like forum topics. By moshe weitzman.
Fix documentation formatting.
Fixed spelling error in Who's Online block, made chatroom use the chatroomread.php file in the module directory instead of copying it to the Drupal root directory.
another fix for warnings when touching chatroom cache file from drupal user pedrofaria: http://drupal.org/node/82061
fix for http://drupal.org/node/75448 - thanks moshe fix for http://drupal.org/node/75475 - thanks moshe
re-worked text entry code
committing not quite finished implementation of adding one-on-one chats via sitewide who is online list, because there are lots of changes, and i don't want paulo to get too out of sync.
implemented this: http://drupal.org/node/75057 mark user as back if when they send a message.
added ban user functionality and manage banned user functionality to chatroom edit form.
- added configurability to the "* Sent at <time>" msgs - added kick user functionality - still needs some polish though - refactored ajax js and response code to use object names and arrays - refactored "* Sent at <time>" js to use setTimeout/clearTimeout
started admin functionality and refactored commands to handle usernames with spaces
some code cleanups
changes in hook_menu (http://drupal.org/node/74306) thanks luperry
added better \ escaping
first UI improvements to away functionality
range()'s optional step parameter was added in php 5 added a workaround so we can avoid its use
added support for configuring how many old messages to show when entering a chat, per chatroom. altered chatroom.install to add old_msg_count collumn to accomodate this.
take out debug info on smileys filter code
changes to make the code work with cvs HEAD
fix for bug in getting list of users in a chat
added away and back message support in js. changed user list function to return current user at top of list.
added lots of UI improvements
correcting a typo bug from last commit
first hacky code for away status in online user list. need some fancy css now.
added a menu item for chatroom site wide settings, and moved away from soon to be deprecated hook_settings. made the smiley's display respect settings, and started on the automatic archive functionality
make the chatrooms description easier to theme.
some general fixes. rework of smiley support to get rid of sending html to the browser and using innerHTML.
fix for extra comma in chatroom_add_state_js
fix for duplicate css file calls in header
fixes for smileys support code when smileys module not enabled
added timezone suport
more on smileys suport
smileys module integration
fixed the duplicate css loading bug: http://drupal.org/node/73289 added the ability to enter a description blurb to the chatroom home page, as per suggestion from here: http://drupal.org/node/72948
changed name of theme_chatroom_chat_get_board_html() and theme_chatroom_chat_get_textentry_html() as per pacheco's suggestions: http://drupal.org/node/72101
UI improvements and some things are now themeable
fixed typo in chatBase link
lots of changes, getting ready to release for 4.7
fixed typo in link to chats
first half of online chat users block done. block is only refreshed by page reload at this stage
added first hacky implementation of '/msg' and '/me'. code is not the cleanest and UI could do with some work. usage: /msg <username> <msg text> the following message will show up in <user_name>'s chat only: [<time>] <sending_username> private: <msg text> /me <msg text> will show up italicised in all users chats: * <username> <msg text>
make chatroom listings respect weight module settings
another check_plain => filter_xss change
changed check plain to filter_xss on chat description