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

879 Commits

Author SHA1 Message Date
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
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
max-m
7459afa018 Fix smiley loading 2013-02-01 21:36:58 +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
76191f9476 Use CSS animations for topic 2013-01-31 16:03:20 +01:00
Tim Düsterhus
5a5a2c9ad1 Add dashboard box with online-list 2013-01-31 16:02:14 +01:00
Tim Düsterhus
b5af965571 Fix syntax of be.bastelstu.Chat.coffee 2013-01-30 17:36:23 +01:00
Tim Düsterhus
8c151106c3 Merge branch 'app'
Conflicts:
	file/icon/chatColored.svg
2013-01-30 17:34:02 +01:00
Tim Düsterhus
fd1d255b8a Fix removal of away class 2013-01-30 17:21:23 +01:00
Tim Düsterhus
5a9725c24e Make smilies transparent if disabled 2013-01-30 17:19:32 +01:00
Tim Düsterhus
1fc25c5def Improve CSS 2013-01-30 17:15:46 +01:00
Tim Düsterhus
26ac9b8626 Improve message design with CSS tables 2013-01-30 16:34:02 +01:00
Tim Düsterhus
8772981d92 Use proper coffeescript for jCounter 2013-01-29 22:15:20 +01:00
Tim Düsterhus
cad8fee417 Clean up javascript 2013-01-29 21:41:02 +01:00
Tim Düsterhus
98f5e1bee3 Fix desktop notifications 2013-01-29 21:33:30 +01:00
Tim Düsterhus
7528cdf7f6 Remove method call to remove method 2013-01-28 22:26:24 +01:00
Tim Düsterhus
d280492e78 Improve message icons 2013-01-28 20:45:57 +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
f2a1b4a846 Add contrib files 2013-01-27 22:03:42 +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
d2f23cb5a7 Show Chatlog inline 2013-01-09 19:59:32 +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
1c9fc368c2 Ignore update script as well 2012-12-20 19:07:58 +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
912201dd64 Add styling for suspended users 2012-11-20 16:08:48 +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
c78bb37f92 Adding more ACL-options and userGroupOptions, add language item 2012-10-20 16:15:32 +02:00
Tim Düsterhus
6de9a985bc Improving autocompleter
Closes #11
2012-10-20 13:45:05 +02:00
Tim Düsterhus
ca123d62b0 Use dropdown for usermenu, resort CSS, improve templates 2012-10-19 22:26:50 +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
c86cf9442d Remove href from userMenu 2012-10-16 12:09:09 +02:00
Tim Düsterhus
1b619f63a9 Improving config of nodePush 2012-10-16 12:09:01 +02:00
Tim Düsterhus
2c63fd0658 Fix fullscreen mode 2012-10-15 16:45:22 +02:00
Tim Düsterhus
fd75bf99ab Move CSS from Template to less 2012-10-15 14:39:59 +02:00
Tim Düsterhus
167679d2c3 Update updatescript as well 2012-10-15 12:15:56 +02:00
Tim Düsterhus
726a4071d1 Reset styles after installation 2012-10-15 12:14:41 +02:00
Tim Düsterhus
e1cc866a83 Improve and fix template 2012-10-15 12:08:57 +02:00
Tim Düsterhus
5d0ff1386a Cleanup before shutdown 2012-10-14 17:58:28 +02:00
Tim Düsterhus
f7b5c1d012 serverPush -> nodePush 2012-10-14 17:30:52 +02:00
max-m
97fed09649 LESS, FUCK YEAH!
- Converted sass to less files
- Adapted LESS files to use WCF style variables and less functions
- Adapted chat.tpl and jCounter.jQuery.coffee to not include their css
  files (they are compiled by lessphp as of now)
2012-09-23 17:37:18 +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
09b2840ce1 Fixing whitespaces 2012-08-28 22:29:34 +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
1108d32ed3 Adding .you for the own user 2012-08-10 18:32: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
65430ac26e Adding .userLink to users 2012-08-08 00:11:55 +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
Tim Düsterhus
79588bd16d Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2012-08-06 21:37:35 +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
6ec0a7e3a1 Code format 2012-07-14 14:40:06 +02:00
max-m
6e61152665 Modified sidebar and fixed some minor positioning errors. 2012-07-07 22:30:28 +02:00
Tim Düsterhus
2f664ceccc Escaping HTML in userlist 2012-07-01 13:59:14 +02:00
Tim Düsterhus
a2c7691e46 .ajaxLoad looks much better now 2012-06-29 21:53:10 +02:00
Tim Düsterhus
43f977e824 Only ask for permissions if we don't already have them 2012-06-29 17:08:27 +02:00
Tim Düsterhus
fa07b26b44 Focus input after buttonclick 2012-06-29 17:05:01 +02:00
Tim Düsterhus
864f00f284 Fixing errorhandling of getMessages
Set loading to false in complete, instead of success
2012-06-28 19:21:34 +02:00
Tim Düsterhus
b141fac033 Fixed onbeforeunload-event 2012-06-28 19:08:46 +02:00
Tim Düsterhus
32d16f4213 Simulating fullscreen mode
It works now in every modern browser and does not throw a warning.
2012-06-28 18:26:55 +02:00
Tim Düsterhus
ec8843fa1e Temporarily disabling submit event 2012-06-25 20:52:02 +02:00
Tim Düsterhus
481abce846 Really fix it 2012-06-25 20:47:30 +02:00
Tim Düsterhus
fe3def5482 Fixing fullscreen mode 2012-06-25 20:41:05 +02:00
Tim Düsterhus
1b522931bb Adding submit-event 2012-06-19 16:30:16 +02:00
Tim Düsterhus
d451c6b118 Rename windowConsole to _console 2012-06-19 16:23:18 +02:00
Tim Düsterhus
fc378725e7 Remove fullscreen button, when fullscreen is not supported 2012-06-17 17:37:58 +02:00
Tim Düsterhus
a95896ae28 Codeformat and fullscreen-event 2012-06-16 21:03:29 +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
9874d83f27 Request keyboard support in Fullscreen mode 2012-06-14 13:44:30 +02:00
Tim Düsterhus
98576b9c40 Adding JS for Fullscreen-Mode 2012-06-13 18:13:54 +02:00
Tim Düsterhus
4a5adc9645 Improving CSS 2012-06-13 18:04:40 +02:00
Tim Düsterhus
41e404bbdc Adding CSS for HTML5 Fullscreen-Mode 2012-06-13 17:55:20 +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
c71d19e16a Fixed active marking 2012-05-24 20:36:58 +02:00
Tim Düsterhus
2a62bc07ed Fixing trenary operator 2012-05-24 20:32:43 +02:00
Tim Düsterhus
ba949d3463 Fixing line-breaks in jCounter 2012-05-21 16:43:22 +02:00
max-m
ddf4265fd6 Fixed icons. 2012-05-21 12:27:26 +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
abc9af1c32 Check working dir 2012-05-04 15:35:06 +02:00
Tim Düsterhus
708df74673 Fixed „active“-marking of scroll button. 2012-05-02 20:53:32 +02:00
Tim Düsterhus
5c1f84eb1e Deliver integers as integers. 2012-05-02 20:27:16 +02:00
Tim Düsterhus
f7e4868488 Fixing nodePush-versionnumber 2012-04-30 22:25:19 +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
e444cd5733 chmod 0777 the socket. 2012-04-27 22:13:27 +02:00
Tim Düsterhus
fadfb5ce61 Send notification after 20ms 2012-04-27 21:50:41 +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
38f4d76694 +x'ing bin/run.sh 2012-04-27 16:59:03 +02:00
Tim Düsterhus
1bef3983c6 Adding config.js 2012-04-27 16:58:19 +02:00
Tim Düsterhus
d76cbbcfb4 Configuring socket.io a bit. 2012-04-27 16:20:41 +02:00
Tim Düsterhus
f5d9044d4b Adding node.js Pushing 2012-04-27 15:42:44 +02:00
Tim Düsterhus
973852f581 Fix: In file/js/be.bastelstu.WCF.Chat.coffee, the variable "be" can't be assigned with ?= because it has not been defined. 2012-04-21 15:50:06 +02:00
Tim Düsterhus
7cc2c613b6 Making users that are away a bit more transparent. 2012-04-20 22:14:24 +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
722649c1fd Avoid duplicate spaces. 2012-04-19 19:00:37 +02:00
Tim Düsterhus
5ad0bca7e9 Add username in profile-link. 2012-04-19 17:49:54 +02:00
Tim Düsterhus
8dcd287fb4 Clean Up dead users by cronjob as well. 2012-04-19 15:06:34 +02:00
Tim Düsterhus
0b1ad7a02a Make only one Message-loading attempt at a time. 2012-04-19 15:01:38 +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
Tim Düsterhus
3248b14097 Fixing ChatXEditor::prune() 2012-04-15 18:00:59 +02:00
Tim Düsterhus
306f1c38b7 Fixed usage of constant 2012-04-15 17:32:25 +02:00
Tim Düsterhus
66bfb5029b Adding some pieces of Temproom-Command. 2012-04-15 17:11:08 +02:00
Tim Düsterhus
26f747ddb7 Disable away on join. 2012-04-15 15:43:26 +02:00
Tim Düsterhus
ab42584965 Adding language-items for away-message. 2012-04-15 15:37:41 +02:00
Tim Düsterhus
bafc678eb4 Adding Profile-Link to info 2012-04-15 14:09:51 +02:00
Tim Düsterhus
26a90bd98c Adding IP-Address in info. 2012-04-15 13:30:08 +02:00
Tim Düsterhus
df6659365b Properly refresh the badges. 2012-04-15 13:00:16 +02:00
max-m
c3c1cf414a Fixed frontend (still some tiny quirks remaining, but they aren' important for now) 2012-04-15 00:21:33 +02:00
Tim Düsterhus
2c4c816b24 Commands can now be written in any case. 2012-04-05 16:50:08 +03:00
Tim Düsterhus
bb55cfb099 Fixed little error 2012-03-25 14:56:16 +02:00
Tim Düsterhus
7033542580 Some files slipped through sed. 2012-03-24 22:39:26 +01:00
Tim Düsterhus
2af603c8e5 system.chat.commands -> system.chat.command 2012-03-24 22:37:47 +01:00
Tim Düsterhus
4c05e38d1e Fixing didInit event a bit 2012-03-24 22:29:07 +01:00
Tim Düsterhus
8592826b71 Added more information in /info 2012-03-24 22:03:04 +01:00
Tim Düsterhus
07d8716c45 Fixed problem with messages containing <ul> 2012-03-24 22:02:52 +01:00
Tim Düsterhus
0cceabdb88 Check whether the user may write. 2012-03-24 21:47:03 +01:00
Tim Düsterhus
01be519230 Adding InfoCommand 2012-03-23 23:27:15 +01:00
Tim Düsterhus
068670ae66 Away-users are 80% opaque now 2012-03-23 22:52:46 +01:00
Tim Düsterhus
a28aaffcae Fixing Syntax-Error in IRestrictedCommand 2012-03-23 18:14:33 +01:00
Tim Düsterhus
dcaac3e74e Merge branch 'commands' 2012-03-23 18:12:22 +01:00
Tim Düsterhus
9b9b4b5086 Bugfix 2012-03-23 17:50:06 +01:00
Tim Düsterhus
cf434b1778 Adding general Permissions 2012-03-23 17:45:26 +01:00
Tim Düsterhus
e7598d14f7 Adding away-command 2012-03-22 18:45:36 +01:00
Tim Düsterhus
f58b518963 Handle arbitrary Exceptions 2012-03-22 17:38:33 +01:00
Tim Düsterhus
10c20f68c1 Fixed problem with too long usernames 2012-03-22 17:31:37 +01:00
Tim Düsterhus
5667d5d949 Add missing square bracket. 2012-03-22 17:24:00 +01:00
Tim Düsterhus
4a901569bd Merge branch 'master' into commands
Conflicts:
	file/lib/system/chat/commands/ChatCommandHandler.class.php
2012-03-22 17:18:53 +01:00
Tim Düsterhus
a76355a9c5 Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2012-03-22 16:39:06 +01:00
Tim Düsterhus
499526000a SQL-Standard 2012-03-22 16:38:08 +01:00
Tim Düsterhus
c18b9e739b Transaction is only committed when the parent call succeeds as well 2012-03-22 16:26:52 +01:00
max-m
3a22d897b4 Closes #4 2012-03-18 20:05:05 +01:00
Tim Düsterhus
a11e38dafd Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2012-03-16 17:09:30 +01:00
Tim Düsterhus
907a348674 Use offset for sorting 2012-03-16 17:09:12 +01:00
Tim Düsterhus
32b1a5bada Fixed bad fix + use fetchColumn 2012-03-15 20:16:24 +01:00
Tim Düsterhus
a1f939d763 Fixed comment 2012-03-15 20:11:01 +01:00
Tim Düsterhus
a3b912c823 Prevent constructing of Util. 2012-03-12 22:51:29 +01:00
Tim Düsterhus
24161a5939 Changing Package Identifier to be.bastelstu.wcf.chat 2012-03-12 17:19:01 +01:00
Tim Düsterhus
b3907daf8f Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2012-03-11 18:20:01 +01:00
Tim Düsterhus
d29a0498ba Fixing one problem. 2012-03-11 18:19:11 +01:00
max-m
b7c868ea32 Fixed wrong constant name and added forgotten counter CSS file 2012-03-11 15:12:42 +01:00
max-m
1664ae3e2e Seperated counter from chat. 2012-03-11 15:07:28 +01:00
Tim Düsterhus
6e89b04751 Adding cleanup-cronjob (Currently missing the PIP)
Moving getPackageID into the Util
2012-03-08 22:07:46 +01:00
Tim Düsterhus
8b0dd6e391 SystemException was not imported 2012-03-08 21:31:09 +01:00
Tim Düsterhus
382bbdba3c Avoid problem with disabled join messages and no last messages. 2012-03-08 21:30:37 +01:00
Tim Düsterhus
92018b9a63 Optimizing reading of smilies. 2012-03-08 21:27:54 +01:00
Tim Düsterhus
dfeef5e2d6 Formatting of CoffeeScript 2012-03-07 23:04:19 +01:00
Tim Düsterhus
81462252dc PackageDependencyHandler is now a Singleton
Fixes Tims Chat in accordance to WoltLab/WCF@6eb121400f
2012-03-05 16:49:45 +01:00
Tim Düsterhus
583cbf2903 Instantly clear the input
Avoids problems with rapid typing
2012-03-04 20:02:37 +01:00
Tim Düsterhus
81bdbccbe2 Merge branch 'master' into commands
Conflicts:
	file/lib/form/ChatForm.class.php
	template/chatMessage.tpl
2012-03-04 19:57:23 +01:00
Tim Düsterhus
ef72a875e5 Compress JSON with GZip if enabled 2012-03-04 17:16:25 +01:00
Tim Düsterhus
94aec081ba Strip Crap :D 2012-03-04 17:04:10 +01:00
Tim Düsterhus
a66a3cd448 Disallow to long messages in PHP 2012-03-04 15:48:10 +01:00
Tim Düsterhus
e3638bd2b1 Take care of the DISPLAY_CLOCK setting 2012-03-04 15:42:57 +01:00
Tim Düsterhus
0bf4293977 Adding Update-Script
It sends a notice to every room that the chat was updated.
2012-03-04 15:38:25 +01:00
Tim Düsterhus
c9fc8e1ce6 Adding missing prefix for ACL-Keys 2012-03-04 13:42:04 +01:00
Tim Düsterhus
1fef092c13 Sending HTTP 204 in ChatLeaveAction 2012-03-03 23:18:52 +01:00
Tim Düsterhus
d8c8ee2f5d Fixing one problem with null 2012-03-03 23:16:24 +01:00
Tim Düsterhus
730dbd7770 Adding array with default permission values 2012-03-03 23:12:21 +01:00
Tim Düsterhus
cbde0dea50 Adding error handling when messages couldn't be loaded 2012-03-03 22:55:24 +01:00
Tim Düsterhus
a484c6d9c3 Adding some more ACL 2012-03-03 22:00:54 +01:00
Tim Düsterhus
b103dff5f9 Adding For Update to query 2012-03-03 21:40:43 +01:00
Tim Düsterhus
86544d5ae8 Made rooms sortable 2012-03-03 21:36:52 +01:00
Tim Düsterhus
5f3abffcd2 Fix for untestet commit. Importing WCF 2012-03-01 22:17:40 +01:00
Tim Düsterhus
c1ccfd2998 Moving user fetching into ChatRoom
Untested commit incoming
2012-03-01 22:11:20 +01:00
Tim Düsterhus
4e78ee9690 Forgot one file… 2012-02-26 18:17:07 +01:00
Tim Düsterhus
4152462ade Include ACL-group-permissions as well 2012-02-26 18:16:28 +01:00
Tim Düsterhus
dbd4e7b849 Adding ACL-Administration
plus correcting comments and fixing unload handler
2012-02-26 17:55:44 +01:00
Tim Düsterhus
38977abbd8 Removing WCF.Action.Toggle as it has no effect 2012-02-26 11:12:29 +01:00
Tim Düsterhus
18b6ac9ca6 .smiley -> .jsSmiley 2012-02-18 17:42:15 +01:00
Tim Düsterhus
409c6c068f ChatLeaveAction is now called on unloading 2012-02-18 17:35:33 +01:00
Tim Düsterhus
a7e6bab0cd Adding ChatLeaveAction to Routing 2012-02-18 17:21:57 +01:00
Tim Düsterhus
856587648a Adding ChatLeaveAction
Still need to be called on unload.
2012-02-18 15:48:58 +01:00
Tim Düsterhus
af12204f13 Fixing ChatUtil 2012-02-18 15:41:58 +01:00
Tim Düsterhus
4357ccf342 Default color ist generated randomly now 2012-02-16 18:21:33 +01:00
Tim Düsterhus
7b81b91454 Fixed updating of the badges. 2012-02-12 15:33:50 +01:00
Tim Düsterhus
744d26b40a Add missing js und wcf- Prefix 2012-02-12 12:32:21 +01:00
Tim Düsterhus
f6ba0bfc7f Use $this->objectAction to match WoltLab/WCF@635dd8c454 2012-02-11 17:42:56 +01:00
Tim Düsterhus
3f3c011661 Fixing badges 2012-02-09 21:19:48 +01:00
Tim Düsterhus
d3c2cc5a10 Use .default for hot-status
Thanks @Luzifr
2012-02-07 17:39:24 +01:00
Tim Düsterhus
a8ae61b4e1 Fixing some classes, real buttons 2012-02-06 18:35:09 +01:00
Tim Düsterhus
5cb790cbb4 Blue icon in navigation 2012-02-06 17:56:46 +01:00
Tim Düsterhus
f5a7f6d940 Don't use RELATIVE_WCF_DIR
To comply with WoltLab/WCF@ef1f1061b6
2012-02-05 21:54:37 +01:00
Tim Düsterhus
d0800739bb Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2012-02-05 21:48:39 +01:00
Tim Düsterhus
c89c0e9d08 Use ChatRoomAction 2012-02-05 21:48:09 +01:00
max-m
3ec195d10e Fixes animation of old messages due to channelchange 2012-02-05 21:35:56 +01:00
Tim Düsterhus
5ad865d232 Merge branch 'acp'
Conflicts:
	install.sql
2012-02-05 20:59:11 +01:00
Tim Düsterhus
b87d577aa1 Fixed validation 2012-02-05 20:50:13 +01:00
Tim Düsterhus
2a6fbec0d7 Renaming a missed #topic 2012-02-05 20:46:52 +01:00
Tim Düsterhus
bc614c44ca Fixed updating of topic 2012-02-05 20:36:11 +01:00
Tim Düsterhus
18b097ff9b Reset oldScrollTop to null when clearing the chat 2012-02-05 19:19:27 +01:00
Tim Düsterhus
f82717d839 Break if no users where found. 2012-02-05 19:11:08 +01:00
Tim Düsterhus
3ae3909b55 Adding ID to each message, ensure every message is shown only once 2012-02-05 19:06:00 +01:00
Tim Düsterhus
3243f82f07 Sending 204 No Content in ChatForm 2012-02-05 18:49:17 +01:00
Tim Düsterhus
e7ac15d09c Merge branch 'master' into commands
Conflicts:
	file/js/TimWolla.WCF.Chat.coffee
2012-02-05 18:33:42 +01:00
Tim Düsterhus
60bad41091 Removing unused imports 2012-02-05 18:30:27 +01:00
Tim Düsterhus
84622365b0 Adding ChatRoomEditForm 2012-02-05 18:29:16 +01:00
Tim Düsterhus
3bd1f13faa Merge branch 'master' into acp 2012-02-05 18:08:25 +01:00
unknown
3c442c2371 Added the new CSS-prefixes 2012-02-05 18:04:23 +01:00
Tim Düsterhus
720b25f380 Get text-overflow working for our sidebar 2012-02-04 22:37:54 +01:00
Tim Düsterhus
ed5daa1e0a Adding ChatRoomAddForm 2012-02-04 21:57:39 +01:00
Tim Düsterhus
d79552c371 Chatrooms can be deleted now 2012-02-04 21:06:44 +01:00
Tim Düsterhus
fdfc16f6a3 Language items for ACP 2012-02-04 20:59:40 +01:00
Tim Düsterhus
22d3795aec Adding ChatRoomListPage 2012-02-04 20:50:18 +01:00
Tim Düsterhus
08a27db4ed Adding PlainCommand 2012-02-04 12:32:56 +01:00
Tim Düsterhus
64fb4bec06 Use classmember instead of constant for smiley activation 2012-02-04 12:25:09 +01:00
Tim Düsterhus
1ffd7c7828 Adding predefined oxford color 2012-01-30 18:16:15 +01:00
Tim Düsterhus
d2f6e3c88a Fixing Color-Command 2012-01-30 18:13:16 +01:00
Tim Düsterhus
5eb9aea503 2011 -> 2012 2012-01-30 17:48:13 +01:00
Tim Düsterhus
b15391f421 Merge branch 'master' into commands
Conflicts:
	file/js/TimWolla.WCF.Chat.coffee
	file/lib/system/chat/commands/ChatCommandHandler.class.php
2012-01-30 17:46:54 +01:00
Tim Düsterhus
3172d9d666 Formatting 2012-01-30 17:44:21 +01:00
Tim Düsterhus
fc7b719920 Adding consoleMock for use in production 2012-01-30 17:31:54 +01:00
Tim Düsterhus
792e09afa0 Given size-parameter for icon-tag 2012-01-30 17:03:49 +01:00
Tim Düsterhus
50ec5ad93f Fixing issue with scroll disabler 2012-01-29 15:23:21 +01:00
Tim Düsterhus
d47ff71e49 Fixing automagically scroll disabler 2012-01-28 21:48:06 +01:00
Tim Düsterhus
58484b2ec0 Fixing UTF-8 issue 2012-01-28 17:51:35 +01:00
Tim Düsterhus
2f937df323 2011 -> 2012 2012-01-28 17:50:33 +01:00
Tim Düsterhus
7fe21df49c Show newestMessages when switching room via ajax as well 2012-01-28 16:56:20 +01:00
Tim Düsterhus
192a421a19 Adding Force-Refresh Button for the RoomList 2012-01-28 16:43:48 +01:00
Tim Düsterhus
cca83a596f Simpler detection whether the user scrolled 2012-01-28 16:37:27 +01:00
Tim Düsterhus
dfdfedc7fa Some optimizations for readability 2012-01-28 16:09:24 +01:00
Tim Düsterhus
a0ea7bce95 Some more comments 2012-01-28 15:57:33 +01:00
Tim Düsterhus
c1fac59618 Automagically disable scrolling when user scrolls 2012-01-28 15:40:33 +01:00
max-m
7c8a72e89c Check if the executed command actually is "free the fish". 2012-01-28 15:23:33 +01:00
Tim Düsterhus
8f6b7c5e12 Adding autocompleter 2012-01-28 14:08:51 +01:00
Tim Düsterhus
9a1c8072cd Ask for permission only if status is active 2012-01-22 20:47:12 +01:00
Tim Düsterhus
5e177e614f Adding Color-Command 2012-01-22 15:40:25 +01:00
Tim Düsterhus
06c77bafde Removing some inconsistencies 2012-01-22 14:48:11 +01:00
Tim Düsterhus
94a48df147 Merge branch 'master' into commands
Conflicts:
	file/lib/data/chat/message/ChatMessage.class.php
2012-01-22 14:10:10 +01:00
Tim Düsterhus
05138dff87 Changes title format for message notification 2012-01-22 14:07:49 +01:00
Tim Düsterhus
48531785a9 TimWolla.WCF.Chat.notify is added as event
And we notify only when the window is not focused and notifications are active
2012-01-21 22:49:15 +01:00
Tim Düsterhus
c2745de23b Show text/plain message 2012-01-21 19:05:34 +01:00
Tim Düsterhus
c7232b8bd0 Send Desktop Notifications 2012-01-21 18:43:58 +01:00
Tim Düsterhus
331bcf3049 Code format and removing unneeded templatelistener 2012-01-21 17:45:53 +01:00
Tim Düsterhus
569cab1f95 Save images as base64 to prevent problems with editors that do not like binary data 2012-01-21 17:22:17 +01:00
Tim Düsterhus
95712bd017 Only blindIn if the topic is not there 2012-01-21 17:12:49 +01:00
Tim Düsterhus
c38eb73b12 Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2012-01-18 21:43:57 +01:00
Tim Düsterhus
729ee194f1 Adding Max' shroom to chat-copyright-page 2012-01-18 21:43:26 +01:00
Tim Düsterhus
4a9e1cb1e4 Fixing problem with empty newestMessages 2012-01-18 21:18:03 +01:00
Tim Düsterhus
0c3fc4e474 Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2012-01-16 14:36:39 +01:00
Tim Düsterhus
e4a235e01b Focus in template.
It was broken due to the disabled input
2012-01-16 14:35:57 +01:00
max-m
9689d3b397 Fixed CSS, add and use language vars via WCF.Language, tabs change when clicking on badges too 2012-01-15 21:14:48 +01:00
Tim Düsterhus
3afc1d8e94 Coffeescript does not support undefined in there :( 2012-01-15 19:46:59 +01:00
Tim Düsterhus
5905005929 Ensure window and undefined as well 2012-01-15 14:09:07 +01:00
Tim Düsterhus
8b29cbb557 Adding ChatCopyrightPage with overlay
-> Moving Link into chatControls
2012-01-14 16:33:44 +01:00
Tim Düsterhus
36592b0d9e Moving lastSeen a bit around to see your join when inline-room-changing 2012-01-14 12:53:18 +01:00
Tim Düsterhus
bedb5dcea5 Cleaning up ChatMessagePage 2012-01-14 12:50:57 +01:00
Tim Düsterhus
5d7ef3c05b Adding console.log for information about what is going on 2012-01-14 12:50:39 +01:00
Tim Düsterhus
cf07716179 Adding basic user-sending 2012-01-12 20:04:28 +01:00
Tim Düsterhus
4aba3376ed Cleanup Style
- Add comment
- Remove unneeded declarations
- Fix conflict with search
2012-01-07 17:47:38 +01:00
Tim Düsterhus
75adb8e3ab Hide overflow-x so one cannot nuke our chat-stream 2012-01-07 17:20:21 +01:00
Tim Düsterhus
b17498d8e5 Change background-color of "active-badge" to blue 2012-01-07 16:52:28 +01:00
Tim Düsterhus
99f95ed907 Adding Badges for Sidebar-Tabs 2012-01-07 16:45:14 +01:00
Tim Düsterhus
9a4498c143 Merge branch 'jsEvents' 2012-01-06 23:11:14 +01:00
Tim Düsterhus
a942396b7c Use current() 2012-01-03 13:10:46 +01:00
Tim Düsterhus
16df20c714 Elements are unbound automatically 2011-12-30 17:15:21 +01:00
Tim Düsterhus
fc561804f9 Adding basic message-event 2011-12-27 17:09:35 +01:00
Tim Düsterhus
ff56eac276 Elements are unbound automatically 2011-12-27 16:43:44 +01:00
Tim Düsterhus
3b5fa3d95a Take care of notify status 2011-12-27 14:45:25 +01:00
Tim Düsterhus
b024554c29 Merge branch 'master' of github.com:wbbaddons/Tims-Chat
Conflicts:
	file/js/TimWolla.WCF.Chat.coffee
2011-12-27 14:44:20 +01:00
Tim Düsterhus
f020c8a20f Adding missing space 2011-12-27 14:39:42 +01:00
Tim Düsterhus
fd6739bd2d Commands return the receiver now as well 2011-12-27 14:39:35 +01:00
Tim Düsterhus
6046e40cc2 Adding /me 2011-12-27 14:32:28 +01:00
Tim Düsterhus
cfa7ce79a9 Adding separator 2011-12-27 14:21:06 +01:00
Tim Düsterhus
83713fc56e Use language-items 2011-12-27 14:17:13 +01:00
Tim Düsterhus
0dcb2823c3 ME and WHISPER are parsed like normal messages 2011-12-27 14:16:29 +01:00
Tim Düsterhus
bb50e76463 Change username on error-type as well 2011-12-27 14:09:29 +01:00
Tim Düsterhus
a2638046eb Adding Basic command system.
To be improved!
2011-12-27 14:04:26 +01:00
Tim Düsterhus
22c2f481d5 Added possibility for user transmission 2011-12-27 12:44:36 +01:00
Tim Düsterhus
530c2ab788 Adding raw-parameter for jsonify 2011-12-27 12:38:05 +01:00
Tim Düsterhus
b7683db870 Correcting PHPDoc 2011-12-27 12:35:58 +01:00
Tim Düsterhus
77bf746df9 Converting raw-js to coffeescript 2011-12-27 11:51:43 +01:00
max-m
cfae043ba4 Now the fish won't swim out of the window
________
    /  Blubb \
    \___   __/
         v
><((((>
2011-12-26 22:46:29 +01:00
max-m
cded6e79a3 Added title notifications 2011-12-26 22:16:37 +01:00
Tim Düsterhus
9cb0bfafbc Converting CSS to SCSS and moving it into an own file 2011-12-26 21:00:11 +01:00
Tim Düsterhus
05e0393fa6 Fixed formatting 2011-12-26 20:02:23 +01:00
Tim Düsterhus
e4253470bb Merge remote-tracking branch 'origin/chatTplRedesign' into chatTplRedesign 2011-12-26 19:01:02 +01:00
Tim Düsterhus
a9f0cc86f5 Set new lastSeen-message 2011-12-26 19:00:32 +01:00
max-m
ae88c3246c Load new messages every X seconds 2011-12-26 18:46:48 +01:00
Tim Düsterhus
461be89d85 Unbind 'click' later 2011-12-26 17:26:47 +01:00
Tim Düsterhus
6b10542737 Reload Room-List every 60 seconds 2011-12-26 17:26:19 +01:00
Tim Düsterhus
f2930612d1 Validate room in form 2011-12-26 17:07:46 +01:00
Tim Düsterhus
d2670d47c3 Adding ChatMessagePage 2011-12-26 17:01:24 +01:00
Tim Düsterhus
bdb7ec3b0d Improved Message-DBOs + Save last seen message in user_storage 2011-12-26 16:31:37 +01:00
Tim Düsterhus
c83336c9fb Merge branch 'master' into chatTplRedesign 2011-12-26 16:05:29 +01:00
Tim Düsterhus
c38c04dc39 Cleanup of CSS & JS 2011-12-26 16:04:48 +01:00
Tim Düsterhus
7d3a0ec830 Check whether one can enter the room 2011-12-26 14:14:03 +01:00
Tim Düsterhus
91bab27535 Check permissions in RefreshRoomList 2011-12-26 12:45:05 +01:00
Tim Düsterhus
f231ce5aae Check permissions in Page-Menu 2011-12-26 12:43:19 +01:00
Tim Düsterhus
3a32aa1b8c == -> is != -> isnt 2011-12-24 17:48:08 +01:00
Tim Düsterhus
bbc8efa5ee this. -> @ 2011-12-24 17:47:07 +01:00
Tim Düsterhus
8fbc956111 Someone freed the fish, oh a noez 2011-12-24 17:28:46 +01:00
Tim Düsterhus
90f1213ef7 Avoiding problem with default-values 2011-12-24 16:59:29 +01:00
Tim Düsterhus
b15f4aca16 Use Regex-class 2011-12-23 20:28:09 +01:00
max-m
0f411e8015 Moved readUserData to chatUtil
closes 2
2011-12-23 15:26:54 +01:00
max-m
602f824e85 Smiley-switch works now. 2011-12-20 21:20:32 +01:00
max-m
f67405866b Fixed and changed counter a bit.
Now a counter can be created like this:
		$('INPUT').jCounter(<null, options>);
		The element input element will be wrapped in two divs, 
		the counterContainer div and a second div (display table and table-row ;) ).
		Then the counter will be appended to the new created parent of the Input (the second div).

And it can be called like this:
		$('INPUT').jCounter(either an id, a class or an object ($('bla')) <, options>);
2011-12-20 16:06:48 +01:00