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

754 Commits

Author SHA1 Message Date
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
a2fc595831 Adapt to WoltLab/WCF@8ce85e3a0 2013-06-12 22:57:59 +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
9bb3a337a7 Allow autocompletion of commands 2013-06-01 14:06:55 +02:00
Tim Düsterhus
0cdcffc65a Forbid editing of temprooms in ACP 2013-05-31 02:07:03 +02:00
Tim Düsterhus
6190adaab6 Make design usable 2013-05-30 23:42:37 +02:00
Tim Düsterhus
f93e5d250e Use tabs to indent #2
Missed that one…
2013-05-30 22:21:10 +02:00
Tim Düsterhus
6f0f44a913 Use tabs to indent 2013-05-30 22:20:31 +02:00
Tim Düsterhus
859bc369ef Fix dropdown when switching to fullscreen 2013-05-30 21:51:14 +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
Maximilian Mader
be1479940f Add visual notification if auto-scrolling is disabled
Closes #23
2013-05-30 19:03:37 +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
Maximilian Mader
f880427c54 Adapt to latest WoltLab/WCF API changes
See WoltLab/WCF@42d7d2cc
2013-05-27 23:20:31 +03:00
Tim Düsterhus
e7b6bae348 Add InviteCommand 2013-05-26 19:57:28 +02:00
Tim Düsterhus
08681fe56c Fix hiding of topic when empty 2013-05-26 18:59:38 +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
7fff5eaafe Fix duplicate tab detection
Internet Explorer 10 being the only browser that implements the standard correctly.
2013-05-25 15:57:27 +03: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
810bb5134c Clean up less 2013-05-24 20:33:41 +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
bf55534b9f Add reload button to error messages 2013-05-24 15:55:52 +02:00
Tim Düsterhus
c1f8eb15f1 Add duplicate tab detection 2013-05-24 15:30:18 +02:00
Tim Düsterhus
2d73af2b8c Add RoomCache class 2013-05-24 02:27:55 +02:00
Tim Düsterhus
41765c53be Ignore case when autocompleting usernames 2013-05-24 01:47:15 +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
62b1e1f321 Enable scrolling once the scrollbar reaches the bottom
Closes #22
2013-05-23 23:36:47 +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
738d1693cf Fix hiding the error overlay in submit 2013-05-18 21:42:27 +02:00
Tim Düsterhus
1cb8b50678 Fix refreshRoomList button 2013-05-17 20:24:09 +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
37d8542eff Fix submit event 2013-05-15 18:06:29 +02:00
Tim Düsterhus
abe1b70944 Compress JS on build 2013-05-14 20:32:35 +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
ee8d677d23 Remove obsolete code 2013-05-10 17:16:17 +02:00
Tim Düsterhus
7923188944 Fix sidebar tab menu 2013-05-10 17:12:53 +02:00
Tim Düsterhus
60c1ff7590 Fix userlist counter in case some users are selected twice 2013-05-09 20:19:02 +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
Max
fa1e296f77 Load messages once after disconnecting from nodePush. 2013-05-04 17:07:06 +03:00
Max
2af70fe97e Adapt to wbbaddons/nodePush@8db2ecf42f 2013-05-04 16:59:25 +03:00
Tim Düsterhus
aceea389ee Fix namespace in Update 2013-05-03 23:13:58 +03:00
max-m
66af0da84c Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2013-05-03 20:30:23 +02:00
max-m
b14b1e8c57 Overhaul UI
TODO: Sidebar overhaul/y-scroll
2013-05-03 20:27:41 +02: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
55dfd865e5 Use real buttons again 2013-04-27 13:04:36 +02:00
Tim Düsterhus
d3c9880552 Improve design 2013-04-27 12:21:31 +02:00
Tim Düsterhus
b0911a3404 Optimize code foor room leaving 2013-04-27 00:38:53 +02:00
Tim Düsterhus
3beff6aea0 Fix nodePush 2013-04-26 23:50:01 +02:00
Tim Düsterhus
4a2386f5ac Add config.js for nodePush 2013-04-26 23:44:02 +02:00
Tim Düsterhus
5da28e7952 Add language variable to JS 2013-04-26 23:10:33 +02:00
Tim Düsterhus
d9842fcb8d Made message marking functional 2013-04-26 23:02:57 +02:00
max-m
72d6c48236 Replace the annoying alert message with wcfDialog 2013-04-26 22:59:50 +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
32e979c7c5 Add logo 2013-04-26 16:09:26 +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
5281abf321 Clean up styles 2013-04-22 18:52:05 +02:00
Tim Düsterhus
739890d381 Improve style 2013-04-22 17:04:23 +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
ae2d02ae64 Show Permission Denied inline 2013-04-21 18:08:24 +02:00
Tim Düsterhus
810b13d25a Fix automated notification closing in Google Chrome 2013-04-20 19:56:21 +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
4ff62179df Use new notification API 2013-04-11 17:58:04 +02:00
max-m
70d2aa7df0 Improved frontend 2013-04-10 00:16:56 +02:00
max-m
e919dedbff Use CSS flexbox in fullscreen mode 2013-04-09 17:37:02 +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
98f99ed1a3 Optimize server.coffee even more 2013-04-05 21:23:08 +02:00
Tim Düsterhus
74c530db80 Optimize server.coffee 2013-04-05 21:06:13 +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
c9cdde0ad5 Make use of CoffeeScripts fat arrow 2013-02-07 22:34:05 +01:00
Tim Düsterhus
e24ab52691 Remove jCounter files 2013-02-07 22:23:50 +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
9aa1943741 Protect nodePush with htaccess 2013-02-02 21:09:41 +01:00
Tim Düsterhus
ea00d8b3a6 Improve style 2013-02-02 21:09:41 +01:00