diff --git a/acloptions.xml b/acloptions.xml index 5df092e..61aea2b 100644 --- a/acloptions.xml +++ b/acloptions.xml @@ -3,30 +3,30 @@ - timwolla.wcf.chat.room + be.bastelstu.wcf.chat.room - timwolla.wcf.chat.room + be.bastelstu.wcf.chat.room diff --git a/build.php b/build.php index 49536f0..9f0c717 100755 --- a/build.php +++ b/build.php @@ -6,7 +6,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat */ echo << - wcf\system\request\RouteHandler + \wcf\system\request\RouteHandler didInit user 0 - wcf\system\event\listener\ChatRouteListener + \wcf\system\event\listener\ChatRouteListener \ No newline at end of file diff --git a/file/acp/timwolla.wcf.chat.update.php b/file/acp/be.bastelstu.wcf.chat.update.php similarity index 92% rename from file/acp/timwolla.wcf.chat.update.php rename to file/acp/be.bastelstu.wcf.chat.update.php index 7a9c967..ba1d721 100644 --- a/file/acp/timwolla.wcf.chat.update.php +++ b/file/acp/be.bastelstu.wcf.chat.update.php @@ -1,5 +1,5 @@ - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat */ final class Update { private $rooms = null; diff --git a/file/icon/chat.svg b/file/icon/chat.svg index 19808ff..ceaa23b 100644 --- a/file/icon/chat.svg +++ b/file/icon/chat.svg @@ -4,6 +4,7 @@ @author Maximilian Mader @copyright 2011 Tim Düsterhus @license Creative Commons Attribution-NonCommercial-ShareAlike + @package be.bastelstu.wcf.chat --> Chat diff --git a/file/icon/chat1.svg b/file/icon/chat1.svg index e8adc13..d9fd61b 100644 --- a/file/icon/chat1.svg +++ b/file/icon/chat1.svg @@ -4,6 +4,7 @@ @author Maximilian Mader @copyright 2011 Tim Düsterhus @license Creative Commons Attribution-NonCommercial-ShareAlike + @package be.bastelstu.wcf.chat --> Chat diff --git a/file/js/TimWolla.WCF.Chat.coffee b/file/js/be.bastelstu.WCF.Chat.coffee similarity index 92% rename from file/js/TimWolla.WCF.Chat.coffee rename to file/js/be.bastelstu.WCF.Chat.coffee index 3a3d42e..8ca8ea8 100644 --- a/file/js/TimWolla.WCF.Chat.coffee +++ b/file/js/be.bastelstu.WCF.Chat.coffee @@ -1,14 +1,16 @@ ### -# TimWolla.WCF.Chat +# be.bastelstu.WCF.Chat # # @author Tim Düsterhus # @copyright 2010-2012 Tim Düsterhus # @license Creative Commons Attribution-NonCommercial-ShareAlike -# @package timwolla.wcf.chat +# @package be.bastelstu.wcf.chat ### -TimWolla ?= {} -TimWolla.WCF ?= {} +be ?= {} +be.bastelstu ?= {} +be.bastelstu.WCF ?= {} + consoleMock = console consoleMock ?= log: () ->, @@ -16,7 +18,7 @@ consoleMock ?= error: () -> (($, window, console) -> - TimWolla.WCF.Chat = + be.bastelstu.WCF.Chat = # Tims Chat stops loading when this reaches zero # TODO: We need an explosion animation shields: 3 @@ -45,7 +47,7 @@ consoleMock ?= refreshRoomList: null fish: null init: () -> - console.log '[TimWolla.WCF.Chat] Initializing' + console.log '[be.bastelstu.WCF.Chat Initializing' @bindEvents() @events.newMessage.add $.proxy @notify, @ @@ -54,7 +56,7 @@ consoleMock ?= @refreshRoomList() @getMessages() - console.log '[TimWolla.WCF.Chat] Finished initializing - Shields at 104 percent' + console.log '[be.bastelstu.WCF.Chat Finished initializing - Shields at 104 percent' ### # Autocompletes a username ### @@ -120,7 +122,7 @@ consoleMock ?= firstChars = @autocompleteValue.substring(@autocompleteValue.lastIndexOf(' ')+1) - console.log '[TimWolla.WCF.Chat] Autocompleting "' + firstChars + '"' + console.log '[be.bastelstu.WCF.Chat Autocompleting "' + firstChars + '"' return if firstChars.length is 0 # Insert name and increment offset @@ -217,7 +219,7 @@ consoleMock ?= ### freeTheFish: () -> return if $.wcfIsset 'fish' - console.warn '[TimWolla.WCF.Chat] Freeing the fish' + console.warn '[be.bastelstu.WCF.Chat Freeing the fish' fish = $ '
' + WCF.String.escapeHTML('><((((\u00B0>') + '
' fish.css position: 'absolute' @@ -256,12 +258,12 @@ consoleMock ?= @handleUsers(data.users) , @) error: $.proxy((jqXHR, textStatus, errorThrown) -> - console.error '[TimWolla.WCF.Chat] Battle Station hit - shields at ' + (--@shields / 3 * 104) + ' percent' + console.error '[be.bastelstu.WCF.Chat Battle Station hit - shields at ' + (--@shields / 3 * 104) + ' percent' if @shields is 0 @pe.refreshRoomList.stop() @pe.getMessages.stop() @freeTheFish() - console.error '[TimWolla.WCF.Chat] We got destroyed, but could free our friend the fish before he was killed as well. Have a nice life in freedom!' + console.error '[be.bastelstu.WCF.Chat We got destroyed, but could free our friend the fish before he was killed as well. Have a nice life in freedom!' alert 'herp i cannot load messages' , @) ### @@ -308,12 +310,12 @@ consoleMock ?= # Move the user to the correct position if element[0] - console.log '[TimWolla.WCF.Chat] Moving User: "' + user.username + '"' + console.log '[be.bastelstu.WCF.Chat Moving User: "' + user.username + '"' element = element.detach() $('#timsChatUserList').append element # Insert the user else - console.log '[TimWolla.WCF.Chat] Inserting User: "' + user.username + '"' + console.log '[be.bastelstu.WCF.Chat Inserting User: "' + user.username + '"' li = $ '
  • ' li.attr 'id', id li.addClass 'timsChatUser' @@ -339,7 +341,7 @@ consoleMock ?= # Remove users that were not found $('.timsChatUser').each () -> if typeof foundUsers[$(@).attr('id')] is 'undefined' - console.log '[TimWolla.WCF.Chat] Removing User: "' + $(@).data('username') + '"' + console.log '[be.bastelstu.WCF.Chat Removing User: "' + $(@).data('username') + '"' $(@).remove(); @@ -380,7 +382,7 @@ consoleMock ?= if typeof window.webkitNotifications isnt 'undefined' if window.webkitNotifications.checkPermission() is 0 title = WCF.Language.get 'wcf.chat.newMessages' - icon = WCF.Icon.get 'timwolla.wcf.chat.chat' + icon = WCF.Icon.get 'be.bastelstu.wcf.chat.chat' content = message.username + message.separator + ' ' + message.message notification = window.webkitNotifications.createNotification icon, title, content notification.show() @@ -391,7 +393,7 @@ consoleMock ?= # Refreshes the room-list. ### refreshRoomList: () -> - console.log '[TimWolla.WCF.Chat] Refreshing the roomlist' + console.log '[be.bastelstu.WCF.Chat Refreshing the roomlist' $('#toggleRooms a').addClass 'ajaxLoad' $.ajax $('#toggleRooms a').data('refreshUrl'), @@ -414,7 +416,7 @@ consoleMock ?= @changeRoom $ event.target , @ - console.log '[TimWolla.WCF.Chat] Found ' + data.length + ' rooms' + console.log '[be.bastelstu.WCF.Chat Found ' + data.length + ' rooms' , @) ### # Handles submitting of messages. diff --git a/file/lib/acp/form/ChatRoomAddForm.class.php b/file/lib/acp/form/ChatRoomAddForm.class.php index 6edee56..90f32cb 100644 --- a/file/lib/acp/form/ChatRoomAddForm.class.php +++ b/file/lib/acp/form/ChatRoomAddForm.class.php @@ -10,7 +10,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage acp.form */ class ChatRoomAddForm extends ACPForm { @@ -42,7 +42,7 @@ class ChatRoomAddForm extends ACPForm { * @see \wcf\page\AbstractPage::__construct() */ public function __construct() { - $this->objectTypeID = \wcf\system\acl\ACLHandler::getInstance()->getObjectTypeID('timwolla.wcf.chat.room'); + $this->objectTypeID = \wcf\system\acl\ACLHandler::getInstance()->getObjectTypeID('be.bastelstu.wcf.chat.room'); parent::__construct(); } diff --git a/file/lib/acp/form/ChatRoomEditForm.class.php b/file/lib/acp/form/ChatRoomEditForm.class.php index 0ab9b1f..c56f7b6 100644 --- a/file/lib/acp/form/ChatRoomEditForm.class.php +++ b/file/lib/acp/form/ChatRoomEditForm.class.php @@ -9,7 +9,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage acp.form */ class ChatRoomEditForm extends ChatRoomAddForm { diff --git a/file/lib/acp/page/ChatRoomListPage.class.php b/file/lib/acp/page/ChatRoomListPage.class.php index ac1314a..665015b 100644 --- a/file/lib/acp/page/ChatRoomListPage.class.php +++ b/file/lib/acp/page/ChatRoomListPage.class.php @@ -7,7 +7,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage acp.page */ class ChatRoomListPage extends \wcf\page\MultipleLinkPage { diff --git a/file/lib/action/ChatLeaveAction.class.php b/file/lib/action/ChatLeaveAction.class.php index f2f3146..eb47bf6 100644 --- a/file/lib/action/ChatLeaveAction.class.php +++ b/file/lib/action/ChatLeaveAction.class.php @@ -9,7 +9,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage action */ class ChatLeaveAction extends AbstractAction { diff --git a/file/lib/data/chat/message/ChatMessage.class.php b/file/lib/data/chat/message/ChatMessage.class.php index 32f7ecc..b5d5e52 100755 --- a/file/lib/data/chat/message/ChatMessage.class.php +++ b/file/lib/data/chat/message/ChatMessage.class.php @@ -8,7 +8,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage data.chat.message */ class ChatMessage extends \wcf\data\DatabaseObject { diff --git a/file/lib/data/chat/message/ChatMessageAction.class.php b/file/lib/data/chat/message/ChatMessageAction.class.php index fef87e4..f1c4872 100644 --- a/file/lib/data/chat/message/ChatMessageAction.class.php +++ b/file/lib/data/chat/message/ChatMessageAction.class.php @@ -7,7 +7,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage data.chat.message */ class ChatMessageAction extends \wcf\data\AbstractDatabaseObjectAction { diff --git a/file/lib/data/chat/message/ChatMessageEditor.class.php b/file/lib/data/chat/message/ChatMessageEditor.class.php index b7b09e8..052ee34 100644 --- a/file/lib/data/chat/message/ChatMessageEditor.class.php +++ b/file/lib/data/chat/message/ChatMessageEditor.class.php @@ -7,7 +7,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage data.chat.message */ class ChatMessageEditor extends \wcf\data\DatabaseObjectEditor { diff --git a/file/lib/data/chat/message/ChatMessageList.class.php b/file/lib/data/chat/message/ChatMessageList.class.php index bb3853e..94c718b 100644 --- a/file/lib/data/chat/message/ChatMessageList.class.php +++ b/file/lib/data/chat/message/ChatMessageList.class.php @@ -7,7 +7,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage data.chat.room */ class ChatMessageList extends \wcf\data\DatabaseObjectList { diff --git a/file/lib/data/chat/room/ChatRoom.class.php b/file/lib/data/chat/room/ChatRoom.class.php index 2f5fce3..0ad0cbb 100644 --- a/file/lib/data/chat/room/ChatRoom.class.php +++ b/file/lib/data/chat/room/ChatRoom.class.php @@ -9,7 +9,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage data.chat.room */ class ChatRoom extends \wcf\data\DatabaseObject implements \wcf\system\request\IRouteController { diff --git a/file/lib/data/chat/room/ChatRoomAction.class.php b/file/lib/data/chat/room/ChatRoomAction.class.php index d83f994..b3e85d5 100644 --- a/file/lib/data/chat/room/ChatRoomAction.class.php +++ b/file/lib/data/chat/room/ChatRoomAction.class.php @@ -8,7 +8,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage data.chat.room */ class ChatRoomAction extends \wcf\data\AbstractDatabaseObjectAction { diff --git a/file/lib/data/chat/room/ChatRoomEditor.class.php b/file/lib/data/chat/room/ChatRoomEditor.class.php index 07b0fe6..0409b30 100644 --- a/file/lib/data/chat/room/ChatRoomEditor.class.php +++ b/file/lib/data/chat/room/ChatRoomEditor.class.php @@ -8,7 +8,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage data.chat.room */ class ChatRoomEditor extends \wcf\data\DatabaseObjectEditor implements \wcf\data\IEditableCachedObject { diff --git a/file/lib/data/chat/room/ChatRoomList.class.php b/file/lib/data/chat/room/ChatRoomList.class.php index 7e369be..161eed8 100644 --- a/file/lib/data/chat/room/ChatRoomList.class.php +++ b/file/lib/data/chat/room/ChatRoomList.class.php @@ -7,7 +7,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage data.chat.room */ class ChatRoomList extends \wcf\data\DatabaseObjectList { diff --git a/file/lib/form/ChatForm.class.php b/file/lib/form/ChatForm.class.php index 9699c8f..390ec15 100644 --- a/file/lib/form/ChatForm.class.php +++ b/file/lib/form/ChatForm.class.php @@ -11,7 +11,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage form */ class ChatForm extends AbstractForm { diff --git a/file/lib/page/ChatCopyrightPage.class.php b/file/lib/page/ChatCopyrightPage.class.php index cf4deea..2f84f9c 100644 --- a/file/lib/page/ChatCopyrightPage.class.php +++ b/file/lib/page/ChatCopyrightPage.class.php @@ -8,7 +8,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage page */ class ChatCopyrightPage extends AbstractPage { diff --git a/file/lib/page/ChatMessagePage.class.php b/file/lib/page/ChatMessagePage.class.php index 4b1a5d9..062f4f3 100644 --- a/file/lib/page/ChatMessagePage.class.php +++ b/file/lib/page/ChatMessagePage.class.php @@ -9,7 +9,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage page */ class ChatMessagePage extends AbstractPage { diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index ef9f547..ff6b1e5 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -10,7 +10,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage page */ class ChatPage extends AbstractPage { @@ -51,7 +51,7 @@ public function readChatVersion() { ); $packages = CacheHandler::getInstance()->get('packages'); foreach ($packages as $package) { - if ($package->package != 'timwolla.wcf.chat') continue; + if ($package->package != \wcf\util\ChatUtil::PACKAGE_IDENTIFIER) continue; $this->chatVersion = $package->packageVersion; return; } diff --git a/file/lib/page/ChatRefreshRoomListPage.class.php b/file/lib/page/ChatRefreshRoomListPage.class.php index 36f4156..4e72c7c 100644 --- a/file/lib/page/ChatRefreshRoomListPage.class.php +++ b/file/lib/page/ChatRefreshRoomListPage.class.php @@ -10,7 +10,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage page */ class ChatRefreshRoomListPage extends AbstractPage { diff --git a/file/lib/system/cache/builder/ChatPermissionCacheBuilder.class.php b/file/lib/system/cache/builder/ChatPermissionCacheBuilder.class.php index da4d04e..8a7144d 100644 --- a/file/lib/system/cache/builder/ChatPermissionCacheBuilder.class.php +++ b/file/lib/system/cache/builder/ChatPermissionCacheBuilder.class.php @@ -8,7 +8,7 @@ * @author Tim Düsterhus, Marcel Werk * @copyright 2010-2012 WoltLab GmbH * @license GNU Lesser General Public License - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage system.cache.builder */ class ChatPermissionCacheBuilder implements ICacheBuilder { @@ -23,7 +23,7 @@ public function getData(array $cacheResource) { if (count($groupIDs)) { $conditionBuilder = new \wcf\system\database\util\PreparedStatementConditionBuilder(); $conditionBuilder->add('acl_option.packageID IN (?)', array(\wcf\system\package\PackageDependencyHandler::getInstance()->getDependencies())); - $conditionBuilder->add('acl_option.objectTypeID = ?', array(\wcf\system\acl\ACLHandler::getInstance()->getObjectTypeID('timwolla.wcf.chat.room'))); + $conditionBuilder->add('acl_option.objectTypeID = ?', array(\wcf\system\acl\ACLHandler::getInstance()->getObjectTypeID('be.bastelstu.wcf.chat.room'))); $conditionBuilder->add('option_to_group.optionID = acl_option.optionID'); $conditionBuilder->add('option_to_group.groupID IN (?)', array($groupIDs)); $sql = "SELECT option_to_group.groupID, option_to_group.objectID AS roomID, option_to_group.optionValue, diff --git a/file/lib/system/cache/builder/ChatRoomCacheBuilder.class.php b/file/lib/system/cache/builder/ChatRoomCacheBuilder.class.php index 985d823..ceda612 100644 --- a/file/lib/system/cache/builder/ChatRoomCacheBuilder.class.php +++ b/file/lib/system/cache/builder/ChatRoomCacheBuilder.class.php @@ -7,7 +7,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage system.cache.builder */ class ChatRoomCacheBuilder implements ICacheBuilder { diff --git a/file/lib/system/chat/commands/ChatCommandHandler.class.php b/file/lib/system/chat/commands/ChatCommandHandler.class.php index c5c93f3..0aaa74b 100644 --- a/file/lib/system/chat/commands/ChatCommandHandler.class.php +++ b/file/lib/system/chat/commands/ChatCommandHandler.class.php @@ -8,7 +8,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage system.chat.commands */ class ChatCommandHandler { diff --git a/file/lib/system/chat/permission/ChatPermissionHandler.class.php b/file/lib/system/chat/permission/ChatPermissionHandler.class.php index 4726e65..a020a0f 100644 --- a/file/lib/system/chat/permission/ChatPermissionHandler.class.php +++ b/file/lib/system/chat/permission/ChatPermissionHandler.class.php @@ -11,7 +11,7 @@ * @author Tim Düsterhus, Marcel Werk * @copyright 2010-2012 WoltLab GmbH * @license GNU Lesser General Public License - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage system.chat.permissions */ class ChatPermissionHandler extends \wcf\system\SingletonFactory { @@ -50,7 +50,7 @@ protected function init() { $conditionBuilder = new \wcf\system\database\util\PreparedStatementConditionBuilder(); $conditionBuilder->add('acl_option.packageID IN (?)', array(PackageDependencyHandler::getInstance()->getDependencies())); - $conditionBuilder->add('acl_option.objectTypeID = ?', array(ACLHandler::getInstance()->getObjectTypeID('timwolla.wcf.chat.room'))); + $conditionBuilder->add('acl_option.objectTypeID = ?', array(ACLHandler::getInstance()->getObjectTypeID('be.bastelstu.wcf.chat.room'))); $conditionBuilder->add('option_to_user.optionID = acl_option.optionID'); $conditionBuilder->add('option_to_user.userID = ?', array(WCF::getUser()->userID)); $sql = "SELECT option_to_user.objectID AS roomID, option_to_user.optionValue, diff --git a/file/lib/system/cronjob/ChatCleanupCronjob.class.php b/file/lib/system/cronjob/ChatCleanupCronjob.class.php index 63851ef..5acde97 100644 --- a/file/lib/system/cronjob/ChatCleanupCronjob.class.php +++ b/file/lib/system/cronjob/ChatCleanupCronjob.class.php @@ -7,7 +7,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage system.cronjob */ class ChatCleanupCronjob implements ICronjob { diff --git a/file/lib/system/event/listener/ChatRouteListener.class.php b/file/lib/system/event/listener/ChatRouteListener.class.php index 7b6ee57..4f5f30b 100644 --- a/file/lib/system/event/listener/ChatRouteListener.class.php +++ b/file/lib/system/event/listener/ChatRouteListener.class.php @@ -7,7 +7,7 @@ * @author Maximilian Mader * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage system.event.listener */ class ChatRouteListener implements \wcf\system\event\IEventListener { diff --git a/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php b/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php index e38a136..692d39f 100644 --- a/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php +++ b/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php @@ -8,7 +8,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage system.menu.page */ class ChatPageMenuItemProvider extends DefaultPageMenuItemProvider { diff --git a/file/lib/system/option/TimeIntervalOptionType.class.php b/file/lib/system/option/TimeIntervalOptionType.class.php index 68421af..259287f 100644 --- a/file/lib/system/option/TimeIntervalOptionType.class.php +++ b/file/lib/system/option/TimeIntervalOptionType.class.php @@ -7,7 +7,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage system.option */ class TimeIntervalOptionType extends TextOptionType { diff --git a/file/lib/util/ChatUtil.class.php b/file/lib/util/ChatUtil.class.php index d48c584..b5dc5f5 100644 --- a/file/lib/util/ChatUtil.class.php +++ b/file/lib/util/ChatUtil.class.php @@ -10,7 +10,7 @@ * @author Tim Düsterhus * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat * @subpackage util */ class ChatUtil { @@ -27,7 +27,7 @@ class ChatUtil { * * @var string */ - const PACKAGE_IDENTIFIER = 'timwolla.wcf.chat'; + const PACKAGE_IDENTIFIER = 'be.bastelstu.wcf.chat'; public static $serialize = array('color' => true); diff --git a/file/style/timwolla.wcf.chat.scss b/file/style/be.bastelstu.wcf.chat.scss similarity index 98% rename from file/style/timwolla.wcf.chat.scss rename to file/style/be.bastelstu.wcf.chat.scss index 6445270..fbf8274 100644 --- a/file/style/timwolla.wcf.chat.scss +++ b/file/style/be.bastelstu.wcf.chat.scss @@ -1,10 +1,10 @@ /** - * Chat-Styles + * Styles for Tims Chat * * @author Tim Düsterhus, Maximilian Mader * @copyright 2010-2012 Tim Düsterhus * @license Creative Commons Attribution-NonCommercial-ShareAlike - * @package timwolla.wcf.chat + * @package be.bastelstu.wcf.chat */ #timsChatRoomContent { diff --git a/install.sql b/install.sql index 0a3219d..604efe1 100644 --- a/install.sql +++ b/install.sql @@ -1,3 +1,12 @@ +---- +-- Database Structure for Tims Chat +-- +-- @author Tim Düsterhus +-- @copyright 2010-2012 Tim Düsterhus +-- @license Creative Commons Attribution-NonCommercial-ShareAlike +-- @package be.bastelstu.wcf.chat +---- + DROP TABLE IF EXISTS wcf1_chat_message; CREATE TABLE wcf1_chat_message ( messageID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, diff --git a/language/de.xml b/language/de.xml index 768f216..a0a47bb 100644 --- a/language/de.xml +++ b/language/de.xml @@ -42,7 +42,7 @@ - Chat: Tims Chat{if CHAT_SHOW_VERSION} {$chatVersion}{/if}, entwickelt von TimWolla]]> + Chat: Tims Chat{if CHAT_SHOW_VERSION} {$chatVersion}{/if}, entwickelt von TimWolla]]> diff --git a/objectType.xml b/objectType.xml index 7df3ce1..38677d4 100644 --- a/objectType.xml +++ b/objectType.xml @@ -2,7 +2,7 @@ - timwolla.wcf.chat.room + be.bastelstu.wcf.chat.room com.woltlab.wcf.acl diff --git a/package.xml b/package.xml index a50cf49..b8d75f2 100644 --- a/package.xml +++ b/package.xml @@ -1,5 +1,5 @@ - + @@ -49,6 +49,6 @@ acloptions.xml acpMenu.xml userGroupOption.xml - acp/timwolla.wcf.chat.update.php + acp/be.bastelstu.wcf.chat.update.php diff --git a/pagemenu.xml b/pagemenu.xml index 6f55380..a9b0c76 100755 --- a/pagemenu.xml +++ b/pagemenu.xml @@ -4,7 +4,7 @@ index.php/Chat header - wcf\system\menu\page\ChatPageMenuItemProvider + \wcf\system\menu\page\ChatPageMenuItemProvider
    \ No newline at end of file diff --git a/template/chat.tpl b/template/chat.tpl index 4c49f24..df83380 100755 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -5,7 +5,7 @@ {include file='headInclude' sandbox=false}