1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00
Commit Graph

498 Commits

Author SHA1 Message Date
Maximilian Mader
74caf2c7ec Implement Ajax-loading of message protocol 2013-09-05 20:50:47 +02:00
Maximilian Mader
dcfc8a94cd Merge branch 'master' into protocol 2013-09-05 20:35:07 +02:00
Maximilian Mader
af046e4161 Add some special colors 2013-08-22 23:33:19 +02:00
Tim Düsterhus
8644b209b8 Remove obsolete __run() in CHATCore
see WoltLab/WCF@2b573c7ca9
2013-08-22 15:50:04 +02:00
Maximilian Mader
8d32c41bf1 Add full list of CSS colors
see http://www.w3.org/TR/css3-color/#svg-color
2013-08-21 21:11:16 +02:00
Tim Düsterhus
21104e4097 Remove use of deprecated methods
see WoltLab/WCF@257405df08
2013-08-19 23:23:26 +02:00
Tim Düsterhus
46d86de030 Show user count in room list
Closes #27
2013-08-19 22:14:59 +02:00
Tim Düsterhus
8b8bf4649c Fix HourlyCleanUpCronjobExecuteChatCleanUpListener 2013-08-19 22:09:41 +02:00
Tim Düsterhus
ea2c6f0039 Fix EOL in HourlyCleanUpCronjobExecuteChatCleanUpListener 2013-08-11 17:34:30 +02:00
Tim Düsterhus
4bc538f367 Extend HourlyCleanUpCronjob instead of an own cronjob 2013-08-11 17:30:34 +02:00
Maximilian Mader
8c2d6efec0 Fix formatting
I keep forgetting these rules ...
2013-08-02 19:59:57 +02:00
Maximilian Mader
cc73d89672 Display messages in their appropriate tab. 2013-08-02 19:38:13 +02:00
Maximilian Mader
75c09e2a5d Fixup last commit #495680c3d359e504186c
These changes should have been in the last commit too.
2013-07-30 00:20:14 +02:00
Maximilian Mader
fd17e10e8b Fix MessageAction - seconds are not minutes 2013-07-29 18:10:06 +02:00
Maximilian Mader
495680c3d3 Add message log to ACP. 2013-07-28 23:27:28 +02:00
Tim Düsterhus
0342f9fe9d Fix compatibility with newest WCF
See WoltLab/WCF@647d232676
2013-07-09 22:22:09 +02:00
Tim Düsterhus
0407099817 Fix typo in RoomAddForm 2013-07-08 21:36:51 +02:00
Tim Düsterhus
161d0504f0 Fix joining when no message exists 2013-07-07 22:32:04 +02:00
Maximilian Mader
1b077719b8 Fix PHP 5.3 compatability 2013-06-24 18:09:31 +02:00
Maximilian Mader
5fd1e6e7be Further message template improvements
- Publish message types to JavaScript
- add message type icons
- style info message properly
2013-06-24 17:49:24 +02:00
Tim Düsterhus
7ca00744da Fix chatLastSeen on join 2013-06-23 17:59:14 +02:00
Tim Düsterhus
8ac930b952 Fix newest messages when DISPLAY_JOIN_LEAVE is false 2013-06-23 17:55:29 +02:00
Tim Düsterhus
101e90d906 Fix newest messages 2013-06-23 17:54:32 +02:00
Tim Düsterhus
e0859c5952 Fix CHAT_LASTMESSAGES === 0 2013-06-23 18:46:52 +03:00
Tim Düsterhus
8edb5e3f47 Allow revoking of suspensions in ACP 2013-06-22 18:43:38 +02:00
Tim Düsterhus
9848b5820b Fix typos 2013-06-22 18:28:50 +02:00
Tim Düsterhus
7bf99453f2 Fix permissions for suspensions 2013-06-22 17:57:33 +02:00
Tim Düsterhus
c82eea234f Allow creating a local suspension when only the global permission is set 2013-06-22 17:42:41 +02:00
Tim Düsterhus
0025fc63ee Add permissions for suspension viewing 2013-06-22 17:40:24 +02:00
Tim Düsterhus
6d539e7f0a Made suspension commands more abstract 2013-06-22 17:11:22 +02:00
Tim Düsterhus
f9fa3a7841 Fix typo in SuspensionAction 2013-06-22 16:35:48 +02:00
Tim Düsterhus
878831a659 Merge remote-tracking branch 'origin/suspensionList' into suspensionList 2013-06-22 16:34:17 +02:00
Maximilian Mader
55c4029057 Merge branch 'suspensionList' of github.com:wbbaddons/Tims-Chat into suspensionList 2013-06-22 16:31:48 +02:00
Maximilian Mader
bc56eac2e2 Improve suspension list 2013-06-22 16:31:08 +02:00
Tim Düsterhus
a51b6ffacd Revoking is now setting expires to TIME_NOW 2013-06-22 16:17:53 +02:00
Tim Düsterhus
4abb837878 Merge branch 'master' into suspensionList
Conflicts:
	package.xml
2013-06-22 14:41:40 +02:00
Tim Düsterhus
08451f44fe Don't delete expired suspensions 2013-06-22 14:40:54 +02:00
Maximilian Mader
303eb80ee5 Fix MuteCommand 2013-06-22 14:21:15 +02:00
Maximilian Mader
0e2216096c Use static:: instead of self:: 2013-06-22 02:40:03 +02:00
Maximilian Mader
3028edba7d Add optional reasons to suspensions
Also use $pageLinks in chatSuspension.tpl
and add the missing name to testrooms name
2013-06-22 02:19:52 +02:00
Maximilian Mader
eb27166c6c Add pagination to chatSuspensionList and rename variables in chatSuspensionList.tpl and ChatSuspensionListPage.class.php 2013-06-21 20:18:33 +02:00
Tim Düsterhus
9ac860c9f1 Fix AwayCommand 2013-06-21 19:50:55 +03:00
Tim Düsterhus
8fe56d9e01 Throw InvalidArgumentException instead of NotFoundException
It provides better error messages for the user
2013-06-18 00:29:22 +02:00
Tim Düsterhus
38b29303d8 Fix aliasing 2013-06-18 00:13:24 +02:00
Tim Düsterhus
8ccefdb971 Make commands more flexible
Now aliases like “toRoot:whisper root,” are possible.
2013-06-17 23:56:28 +02:00
Tim Düsterhus
098f048e29 Implement command aliases
Closes #35
2013-06-17 23:48:59 +02:00
Maximilian Mader
3f26f6a263 Add language variables and add username to filter form if userID/issuerUserID is supplied. 2013-06-15 21:02:10 +02:00
Maximilian Mader
2ec2b17a7f Add filter form to ChatSuspensionList 2013-06-15 15:33:30 +02:00
Maximilian Mader
7ae862c808 Satisfy CodeSniff 2013-06-12 22:55:16 +02:00
Maximilian Mader
1b8801629b Improve suspension list 2013-06-12 22:49:25 +02:00
Tim Düsterhus
c839d528cc Save time and issuer of suspensions 2013-06-08 16:29:19 +02:00
Tim Düsterhus
c6ffaf4fd7 Fix selecting of global suspensions 2013-06-06 21:51:25 +03:00
Tim Düsterhus
2a31c61510 Fix CodeSniff complains 2013-06-06 16:56:13 +02:00
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