1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00
Commit Graph

545 Commits

Author SHA1 Message Date
Tim Düsterhus
c224333b10 Add filter to suspensionList 2013-06-06 16:46:27 +02:00
Tim Düsterhus
63399908f1 Improve template of suspensionList and add condition 2013-06-04 23:39:42 +02:00
Maximilian Mader
92d2be2b28 Add suspension list to ACP [WIP] 2013-06-04 22:54:11 +02:00
Maximilian Mader
2c6a5c0c69 Fix ChatPage 2013-06-01 18:20:43 +03:00
Tim Düsterhus
9d637efa15 Read out available commands 2013-06-01 14:37:18 +02:00
Tim Düsterhus
0cdcffc65a Forbid editing of temprooms in ACP 2013-05-31 02:07:03 +02:00
Tim Düsterhus
0affc73d1d Fix GunmuteCommand 2013-05-30 19:32:31 +02:00
Tim Düsterhus
5fc79821c8 Add GunbanCommand and GunmuteCommand 2013-05-30 19:20:51 +02:00
Tim Düsterhus
a7e63a5954 Fix away status in sidebar 2013-05-28 23:46:22 +02:00
Tim Düsterhus
63321dd0bd Handle whisper formatting on the client side.
Add additionalData to messages
2013-05-28 23:39:19 +02:00
Tim Düsterhus
e7b6bae348 Add InviteCommand 2013-05-26 19:57:28 +02:00
Tim Düsterhus
7b04bcff73 Fix userlink in sidebar 2013-05-26 17:39:54 +02:00
Tim Düsterhus
48ea060476 Fix RestoreCommand 2013-05-26 17:24:44 +02:00
Tim Düsterhus
c8a4981f90 Satisfy CodeSniff 2013-05-26 17:21:50 +02:00
Tim Düsterhus
11084c4bac Join rooms via JavaScript (so JS errors don't lead to a join)
Closes #19
2013-05-26 17:19:04 +02:00
Tim Düsterhus
eec0eefe0b Remove obsolete Room::getCache() 2013-05-26 16:22:40 +02:00
Tim Düsterhus
65f6f8d7b7 Use ViewableMessageList in ChatPage 2013-05-26 16:20:51 +02:00
Tim Düsterhus
6bb29146c6 Add UnbanCommand 2013-05-26 15:56:05 +02:00
Tim Düsterhus
9e30cb66e7 Allow fetching avatars for chat messages 2013-05-25 00:50:50 +02:00
Tim Düsterhus
73a152bcfa Fix reading the suspensions from userstorage 2013-05-25 00:08:46 +02:00
Tim Düsterhus
2a9c3882aa Clean up language items 2013-05-24 19:26:29 +02:00
Tim Düsterhus
8fbb2ae76b Move settings from user storage to user table
Closes #16
2013-05-24 17:30:27 +02:00
Tim Düsterhus
2d73af2b8c Add RoomCache class 2013-05-24 02:27:55 +02:00
Tim Düsterhus
1b61f4bc63 Fix PHPDoc 2013-05-24 01:40:56 +02:00
Tim Düsterhus
2936b2f3aa Fix Suspension commands and clean up 2013-05-24 01:21:46 +02:00
Tim Düsterhus
d64f11b315 Rename position to showOrder 2013-05-24 00:08:33 +02:00
Tim Düsterhus
26604e9ae7 Fix Room::canEnter() and Room::canWrite() for guests 2013-05-23 22:43:37 +02:00
Tim Düsterhus
a421cc92c5 Fix user online for guests 2013-05-23 22:40:47 +02:00
Tim Düsterhus
3fb212693d Move CHAT_ACTIVE to modules and rename it to MODULE_CHAT 2013-05-23 22:14:07 +02:00
Tim Düsterhus
f570e9d1a6 Improve time intervals for commands 2013-05-23 22:09:47 +02:00
Tim Düsterhus
1cf7ad6f74 Fix ChatUtil::gradient() for same colors 2013-05-22 00:53:19 +02:00
Tim Düsterhus
c9bb7efceb Add UnmuteCommand 2013-05-18 22:05:14 +02:00
Tim Düsterhus
cdb8ad0c2d Clean up :) 2013-05-18 22:05:03 +02:00
Tim Düsterhus
22e6b6ea29 Remove obsolete code 2013-05-18 21:45:35 +02:00
Tim Düsterhus
7cf3363728 Improve MessageList 2013-05-15 22:11:47 +02:00
Tim Düsterhus
abc6ba66f4 Rework CoffeeScript 2013-05-15 21:55:51 +02:00
Tim Düsterhus
7f07fbfd13 Fix comments in ChatLocation 2013-05-13 19:31:57 +03:00
Tim Düsterhus
9bccbe4ba5 Fix code formatting 2013-05-13 18:28:09 +02:00
Tim Düsterhus
28c67c1a52 Add user online locations for chat 2013-05-10 17:51:48 +02:00
Tim Düsterhus
0b3e4c816e Disable message pruning if CHAT_LOG_ARCHIVETIME is set to -1 2013-05-08 20:30:39 +02:00
Max
b3c2df7f30 Fix bug when nodePush dies 2013-05-04 17:16:00 +03:00
Tim Düsterhus
deea3dcc19 Fix cronjob 2013-05-03 20:02:18 +02:00
Tim Düsterhus
ee1114935a Refresh dashboard box with nodePush 2013-05-02 23:08:16 +02:00
Tim Düsterhus
71d9b6d1e7 Adapt to WoltLab/WCF@d59c86bd1a 2013-04-30 13:23:52 +02:00
Tim Düsterhus
037e35ba0d Use new nodePush package 2013-04-29 16:56:20 +02:00
Tim Düsterhus
bd649d50a6 Fix smiley selection 2013-04-28 16:54:56 +02:00
Tim Düsterhus
b0911a3404 Optimize code foor room leaving 2013-04-27 00:38:53 +02:00
Tim Düsterhus
d9842fcb8d Made message marking functional 2013-04-26 23:02:57 +02:00
Tim Düsterhus
140366f387 Don't show dashboard box if all rooms are empty. 2013-04-26 20:47:40 +02:00
Tim Düsterhus
38bc3cf163 Fixed check for guests in dashboard 2013-04-24 14:33:47 +02:00
Tim Düsterhus
7004196b61 Don't check whether the room can be entered for guests. 2013-04-24 14:31:42 +02:00
Tim Düsterhus
3279af8041 Add missing semicolon 2013-04-23 16:49:54 +02:00
Tim Düsterhus
cd1e04cd8a Fix useless override 2013-04-23 16:40:46 +02:00
Tim Düsterhus
8f9057c7b8 Improve output of gradient. 2013-04-23 16:36:04 +02:00
Tim Düsterhus
2c1d016d41 Show suspensions in InfoCommand 2013-04-23 16:17:51 +02:00
Tim Düsterhus
87c7fdd03d Use UserInputException instead of Information message 2013-04-23 15:53:21 +02:00
Tim Düsterhus
f94960601e Disable wrapping of username in stream 2013-04-21 20:32:30 +02:00
Tim Düsterhus
bc7f1d78df Fix length validation 2013-04-21 20:30:06 +02:00
Tim Düsterhus
dce1f64d94 Make avatar available in user list 2013-04-21 20:21:51 +02:00
Tim Düsterhus
8b878f2f3c Use AjaxProxy for roomlist refresh 2013-04-21 18:27:55 +02:00
Tim Düsterhus
7046452b58 Validate room first in MessageAction::send() 2013-04-21 18:15:24 +02:00
Tim Düsterhus
1a1654ae60 Fix formatting of username in MuteCommand 2013-04-20 19:49:06 +02:00
Tim Düsterhus
e0eb48c337 Convert CoffeeScript to Literate CoffeeScript 2013-04-20 18:43:56 +02:00
Tim Düsterhus
6fc06ba56f Make ACP WCF conform 2013-04-20 17:19:17 +02:00
Tim Düsterhus
6f02c6c787 Fix text/plain output 2013-04-11 18:00:53 +02:00
Tim Düsterhus
899152b8c6 Fix ordering in RoomList 2013-04-05 22:28:12 +02:00
Tim Düsterhus
6971d32b3c Remove pagination of RoomList 2013-04-05 22:23:52 +02:00
Tim Düsterhus
035b03024f Use pencil icon in roomList 2013-04-05 22:17:39 +02:00
Tim Düsterhus
64a7578ab1 Reposition preparser 2013-03-19 18:36:27 +01:00
Tim Düsterhus
19e168c6a6 Fix PreParser usage 2013-03-19 18:28:56 +01:00
Tim Düsterhus
db8b4ec26e Readd usage of PreParser which got lost in 805d7a3a11 2013-03-19 18:25:13 +01:00
Tim Düsterhus
90b27972b0 Remove text/plain output 2013-03-19 18:20:40 +01:00
Tim Düsterhus
805d7a3a11 Fix away reset 2013-03-19 18:09:19 +01:00
Tim Düsterhus
5bca9885d5 Fix activity points for join 2013-03-19 17:56:06 +01:00
Tim Düsterhus
b3089dbfb6 Use PreParser 2013-03-16 20:22:06 +01:00
Tim Düsterhus
293ffee46f Remove RouteHandlerListener
It's obsolete now
2013-03-13 17:15:34 +01:00
Tim Düsterhus
6edf3169b4 Clear cache after pruning 2013-03-11 22:33:17 +01:00
Tim Düsterhus
1487fe559d Bugfixes in Command Handling (MuteCommand) 2013-03-11 17:17:58 +01:00
Tim Düsterhus
fdb21f3daf Fix PlainCommand 2013-03-11 17:10:01 +01:00
Tim Düsterhus
2ed6fea9fa Fix language item 2013-03-11 17:08:28 +01:00
Tim Düsterhus
a935eb5f8d Drop enableBBCodes 2013-03-11 15:42:05 +01:00
Tim Düsterhus
850ccd65fd Check for allowed BBCodes
Closes #18
2013-03-11 15:28:51 +01:00
Tim Düsterhus
daeb63d219 Use WCF.Action.Proxy for message sending
Closes #17
2013-03-11 15:17:58 +01:00
Tim Düsterhus
7bfead22c9 Fix bugs 2013-03-11 14:04:31 +01:00
Tim Düsterhus
ecb1d16394 Fix method call to getGroupIDs in PermissionHandler 2013-02-17 00:04:32 +01:00
Tim Düsterhus
e93ac99ea7 Fix cache builder 2013-02-16 21:27:56 +01:00
Tim Düsterhus
a0ed005a87 Remove obsolete attribute 2013-02-15 16:38:59 +01:00
Tim Düsterhus
1bb655d08c Adapt to cache system changes 2013-02-04 19:27:03 +01:00
Tim Düsterhus
98281b502b Use faster changing values for activity points
Fixes #15
2013-02-02 23:43:14 +01:00
Tim Düsterhus
9df61f76e1 Remove obsolete language items 2013-02-02 23:34:12 +01:00
Tim Düsterhus
e3f6731c74 Fix language items 2013-02-02 23:32:41 +01:00
Tim Düsterhus
99da19966d Check permissions for log in template 2013-02-02 23:22:48 +01:00
Tim Düsterhus
b3a192fc78 Fix RoomAction::prune() 2013-02-01 23:25:24 +01:00
Tim Düsterhus
cdd2385b08 Convert ip6 to ip4 in InfoCommand 2013-02-01 22:47:06 +01:00
Tim Düsterhus
0573d4469e Fix /me-Command 2013-02-01 22:47:06 +01:00
Tim Düsterhus
6d40e07fbe Fix TimeIntervalOptionType 2013-02-01 21:11:04 +01:00
Tim Düsterhus
a5f9c98026 Fix WhisperCommand 2013-02-01 20:48:23 +01:00
Tim Düsterhus
89f222258e Add global mute and global ban 2013-02-01 20:41:59 +01:00
Tim Düsterhus
5a5a2c9ad1 Add dashboard box with online-list 2013-01-31 16:02:14 +01:00
Tim Düsterhus
7528cdf7f6 Remove method call to remove method 2013-01-28 22:26:24 +01:00
Tim Düsterhus
98943f9309 Remove proxying of pages, remove deliver copyright background in own request 2013-01-27 22:55:42 +01:00
Tim Düsterhus
71936e14d6 Use PACKAGE_VERSION 2013-01-27 22:25:02 +01:00
Tim Düsterhus
8770affe56 Fix several class references and check permission in InfoCommand 2013-01-27 21:59:19 +01:00
Tim Düsterhus
16e55f41e9 Fix reference to class 2013-01-27 21:49:25 +01:00
max-m
e07be6695e Fixing ACP 2013-01-27 20:10:06 +01:00
max-m
6359d0382e Added missing space
Getting commits like a pro ... lol
2013-01-27 18:14:27 +01:00
max-m
e2f355a48c Added missing period and missing new line 2013-01-27 18:07:24 +01:00
max-m
701d739964 Fixed class name of CleanupCronjob 2013-01-27 17:27:47 +01:00
max-m
c448be28cc Fixed indentation, added class comment 2013-01-27 17:24:00 +01:00
max-m
4e49cd5618 Fixed wrong class name 2013-01-27 17:19:11 +01:00
max-m
dc75c38b3f Edited copyright, moved JavaScript to head, fixed logPage 2013-01-27 15:16:29 +01:00
max-m
063a56bcb6 Various fixes (forgot to commit at different stages :P) 2013-01-26 22:46:54 +01:00
max-m
0241bb50c9 Fixed installation process for now
timeInterval to integer is just a temporary change
2013-01-25 22:37:22 +01:00
Tim Düsterhus
17bc3ba4fd Port Chat to application (first parts) 2013-01-19 20:36:40 +01:00
Tim Düsterhus
c4dcb88bea Properly refer to exceptions 2013-01-18 15:45:21 +01:00
Tim Düsterhus
e72005d8f8 Remove obsolete code. 2013-01-16 16:18:45 +01:00
Tim Düsterhus
2ff468656f Add UserActivityPointEvents 2013-01-14 21:08:44 +01:00
Tim Düsterhus
292f387dd8 Improve ChatRoom::getUsers() 2013-01-14 20:56:22 +01:00
Tim Düsterhus
963203224d Add MuteCommand and BanCommand 2013-01-14 20:52:09 +01:00
Tim Düsterhus
539dcb2a4e Add possibility to use BBCodes 2013-01-09 21:34:30 +01:00
Tim Düsterhus
9a5f3043ba Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2013-01-09 17:42:14 +01:00
max-m
2ad6fb2dc9 Fixed errors originating from WoltLab/WCF@92b007d51d 2013-01-09 17:35:30 +01:00
Tim Düsterhus
a5d61acdf0 Improve ACP pages / forms 2013-01-07 20:34:18 +01:00
Tim Düsterhus
335fa0ea7a Fix Sniff fail 2013-01-07 18:51:57 +01:00
Tim Düsterhus
900cd5542d Fix some issues 2013-01-07 18:46:19 +01:00
Tim Düsterhus
bedd950aed Fix interface in ChatRoomAction 2013-01-07 17:42:33 +01:00
Tim Düsterhus
c8159817a1 Ignore end of ChatCopyrightPage 2012-12-20 19:52:01 +01:00
Tim Düsterhus
474d3c2f3c Fix Formatting 2012-12-20 18:46:38 +01:00
Tim Düsterhus
d1313bf5f9 Add first version of ChatLog 2012-11-23 20:42:05 +01:00
Tim Düsterhus
2f6354acdb Optimize ChatMessagePage 2012-11-23 20:33:27 +01:00
Tim Düsterhus
bd051d2426 Support {id} in chat routes 2012-11-23 20:31:40 +01:00
Tim Düsterhus
626911953d Improved text/plain output. 2012-11-20 16:01:32 +01:00
Tim Düsterhus
92d63b9124 Username is no longer encapsulated in a <strong> 2012-11-20 15:16:27 +01:00
Tim Düsterhus
3863a46e49 Bugfixes 2012-11-17 14:45:51 +01:00
Tim Düsterhus
1e82dfc389 ChatRoomAction implements \wcf\data\IPositionAction 2012-11-16 23:21:35 +01:00
Tim Düsterhus
a03cf10fea make Tims Chat compatible with collapsible sidebar 2012-10-25 22:58:54 +02:00
Tim Düsterhus
ea3b0f69cf Add suspensions to cronjob and add getSuspensionByUserRoomAndType 2012-10-20 18:24:48 +02:00
Tim Düsterhus
0587fdfa0f Add language items 2012-10-20 18:04:46 +02:00
Tim Düsterhus
4606cca27b Fix RestoreCommand 2012-10-20 16:57:34 +02:00
Tim Düsterhus
427242616d Fix variable reference 2012-10-20 16:54:41 +02:00
Tim Düsterhus
0dc39c9df9 PHPDoc and bugfixes 2012-10-20 16:32:58 +02:00
Tim Düsterhus
d1101fe101 Properly import IllegalLinkException 2012-10-20 16:20:52 +02:00
Tim Düsterhus
dcd72ef7e1 Properly handle suspended status in JS and fix "you" 2012-10-19 17:49:56 +02:00
Tim Düsterhus
d45c8e3a63 Improve suspended status in JSON-answer, include benchmark 2012-10-19 17:44:30 +02:00
Tim Düsterhus
c3ecf87746 Properly extend MeCommand 2012-10-17 14:26:37 +02:00
Tim Düsterhus
f7b5c1d012 serverPush -> nodePush 2012-10-14 17:30:52 +02:00
Tim Düsterhus
8e2154c994 Adding WhisperCommand 2012-09-07 23:08:13 +02:00
Tim Düsterhus
f777bc1d2e Fixing Chat*(Page|Form|Action) 2012-09-07 22:42:19 +02:00
Tim Düsterhus
ec0154e3a4 Fixing ChatPageMenuItemProvider 2012-09-07 22:32:42 +02:00
Tim Düsterhus
88525e69bf Removing permission from $neededPermissions 2012-09-07 22:29:02 +02:00
Tim Düsterhus
16b3809865 Add Command Suffix to commands 2012-09-07 22:23:27 +02:00
Tim Düsterhus
c918ca0c86 Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2012-08-28 22:13:54 +02:00
Tim Düsterhus
4e31261961 Fixing namespace 2012-08-28 21:58:47 +02:00
Tim Düsterhus
f48dfab256 Show ip in join message. 2012-08-28 21:53:21 +02:00
Tim Düsterhus
ba21e669e3 Return array in ChatRoomCacheBuilder 2012-08-16 12:08:29 +03:00
Tim Düsterhus
a1d4028723 Add .userLink 2012-08-15 18:04:09 +02:00
Tim Düsterhus
f507070d20 Disallow direct access 2012-08-12 20:30:08 +02:00
Tim Düsterhus
e8618f2c13 Use $this->objectAction 2012-08-10 17:15:25 +02:00
Tim Düsterhus
3bb8ef4577 Use $loginRequired 2012-08-08 16:51:24 +02:00
Tim Düsterhus
ec8eba6986 Enable DOMNodeInsertedHandler 2012-08-07 23:56:57 +02:00
Tim Düsterhus
60d23310e3 Additional data is now serialized 2012-08-07 21:12:32 +02:00
max-m
f48c4d2d81 Smilies except the default category (ID null) will be loaded via Ajax from now on.
Also fixed some css bugs and restyled the sidebar a bit.
2012-07-14 15:04:53 +02:00
Tim Düsterhus
e283126b29 Fix Fatal error: Cannot override final method wcf\page\AbstractPage::__construct() in wcf/lib/acp/form/ChatRoomAddForm.class.php on line 16 2012-06-16 20:08:05 +02:00
Tim Düsterhus
93ea9c8341 Run the subpages.
I really wanna have PHP 5.4 ready :(
2012-06-10 18:49:11 +02:00
Tim Düsterhus
366b7207ca Adding $this->room again 2012-06-10 18:48:08 +02:00
Tim Düsterhus
42ad9e7164 timwolla.wcf.chat -> be.bastelstu.wcf.chat 2012-06-04 21:43:03 +02:00
Tim Düsterhus
9755242683 More Docs 2012-06-04 21:34:07 +02:00
Tim Düsterhus
d9d90e9c19 Docs and Code Optimization 2012-06-04 21:22:25 +02:00
Tim Düsterhus
d7f91715e4 More docs. 2012-06-04 21:10:03 +02:00
Tim Düsterhus
c1c6c3d5bb PHPDoc and Removing unneeded code 2012-06-04 20:30:08 +02:00
Tim Düsterhus
0a7fa7f640 Adding some more doc-blocks and cleaning up code. 2012-05-31 16:57:20 +02:00
Tim Düsterhus
961dbcc1f9 Adding Restore-Command 2012-05-19 23:03:35 +02:00
Tim Düsterhus
aec5ba361f Expose user-object. 2012-05-19 23:03:26 +02:00
Tim Düsterhus
fc47129ce0 Adding WhereCommand 2012-05-19 21:49:35 +02:00
Tim Düsterhus
12497c3583 Populate whether a user is suspended. 2012-05-19 21:37:15 +02:00
Tim Düsterhus
874b5009a2 Take care of global suspensions as well 2012-05-19 21:28:10 +02:00
Tim Düsterhus
e8607eaf56 Adding Suspension-Handling 2012-05-19 21:25:50 +02:00
Tim Düsterhus
f91a03aa32 Revert "Optimizing ChatRoom::getUsers()"
This reverts commit f8193d1050.
2012-05-19 20:49:50 +02:00
Tim Düsterhus
f8193d1050 Optimizing ChatRoom::getUsers() 2012-05-19 20:41:33 +02:00
Tim Düsterhus
f72dfb4e54 Moving pruning to *Action 2012-05-19 20:33:25 +02:00
Tim Düsterhus
ca790587f2 Trigger message loading once a minute for easier detection of dead users.
Closes #9
2012-05-19 17:44:19 +02:00
Tim Düsterhus
5c1f84eb1e Deliver integers as integers. 2012-05-02 20:27:16 +02:00
Tim Düsterhus
bea88516ea Fixing PHP-Syntax-Error 2012-04-30 22:21:39 +02:00
Tim Düsterhus
040189ffab Fixing autocompletion + PHPDoc 2012-04-30 21:23:57 +02:00
Tim Düsterhus
bdf019b332 Adding language item for IP-Address 2012-04-30 21:14:25 +02:00
Tim Düsterhus
3ba9cf7143 serverPush -> nodePush 2012-04-30 20:52:30 +02:00
Tim Düsterhus
49f8e67baf Check whether the socket is writable. 2012-04-28 19:59:33 +02:00
Tim Düsterhus
51683c9484 Correctly call the socket. 2012-04-27 21:32:33 +02:00
Tim Düsterhus
a3bdeba53c Ensure the message is at least 10 seconds old
Otherwise slower clients would get problems with two messages directly after each other
2012-04-27 20:16:58 +02:00
Tim Düsterhus
211c6485a8 Fixing the algorithm change 2012-04-27 20:00:42 +02:00
Tim Düsterhus
378a1ab33a Change algorithm to sort out dead users when using Push-Server 2012-04-27 19:54:50 +02:00
Tim Düsterhus
58ec55bed2 PHP now triggers newMessage-event 2012-04-27 19:33:28 +02:00
Tim Düsterhus
80ae9779f8 Clear cache when creating a temproom.
Fixes #8
2012-04-19 20:24:16 +03:00
Tim Düsterhus
8dcd287fb4 Clean Up dead users by cronjob as well. 2012-04-19 15:06:34 +02:00
Tim Düsterhus
3eaf35c9c1 ChatUtil::writeUserData now accepts the user-object as the second parameter. 2012-04-18 22:45:11 +02:00
Tim Düsterhus
2e2edec54f Fixing Dead-User-Query 2012-04-18 21:36:07 +02:00
Tim Düsterhus
56c7544045 Kill dead users. 2012-04-18 21:01:38 +02:00
Tim Düsterhus
2cc70345ce Properly delete position when a room is deleted. 2012-04-16 22:12:44 +02:00
Tim Düsterhus
c1b2fe0dfd Adding lastActivity 2012-04-15 21:37:20 +02:00
Tim Düsterhus
6351a72fd0 Adding language item for temporary rooms. 2012-04-15 20:17:44 +02:00