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

535 Commits

Author SHA1 Message Date
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