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

280 Commits

Author SHA1 Message Date
Tim Düsterhus
4ff62179df Use new notification API 2013-04-11 17:58:04 +02: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
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
max-m
7459afa018 Fix smiley loading 2013-02-01 21:36:58 +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
b5af965571 Fix syntax of be.bastelstu.Chat.coffee 2013-01-30 17:36:23 +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
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
max-m
063a56bcb6 Various fixes (forgot to commit at different stages :P) 2013-01-26 22:46:54 +01:00
Tim Düsterhus
17bc3ba4fd Port Chat to application (first parts) 2013-01-19 20:36:40 +01:00
Tim Düsterhus
963203224d Add MuteCommand and BanCommand 2013-01-14 20:52:09 +01:00
Tim Düsterhus
d2f23cb5a7 Show Chatlog inline 2013-01-09 19:59:32 +01:00
Tim Düsterhus
d1313bf5f9 Add first version of ChatLog 2012-11-23 20:42:05 +01:00
Tim Düsterhus
912201dd64 Add styling for suspended users 2012-11-20 16:08:48 +01: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
c86cf9442d Remove href from userMenu 2012-10-16 12:09:09 +02:00
Tim Düsterhus
e1cc866a83 Improve and fix template 2012-10-15 12:08:57 +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
1108d32ed3 Adding .you for the own user 2012-08-10 18:32:08 +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
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
Tim Düsterhus
2f664ceccc Escaping HTML in userlist 2012-07-01 13:59:14 +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
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
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
708df74673 Fixed „active“-marking of scroll button. 2012-05-02 20:53:32 +02:00
Tim Düsterhus
040189ffab Fixing autocompletion + PHPDoc 2012-04-30 21:23:57 +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
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
0b1ad7a02a Make only one Message-loading attempt at a time. 2012-04-19 15:01:38 +02:00
Tim Düsterhus
df6659365b Properly refresh the badges. 2012-04-15 13:00:16 +02:00
Tim Düsterhus
bb55cfb099 Fixed little error 2012-03-25 14:56:16 +02:00
Tim Düsterhus
07d8716c45 Fixed problem with messages containing <ul> 2012-03-24 22:02:52 +01:00
Tim Düsterhus
dcaac3e74e Merge branch 'commands' 2012-03-23 18:12:22 +01:00
Tim Düsterhus
e7598d14f7 Adding away-command 2012-03-22 18:45:36 +01:00
Tim Düsterhus
5667d5d949 Add missing square bracket. 2012-03-22 17:24:00 +01:00
max-m
3a22d897b4 Closes #4 2012-03-18 20:05:05 +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
1664ae3e2e Seperated counter from chat. 2012-03-11 15:07:28 +01:00
Tim Düsterhus
dfeef5e2d6 Formatting of CoffeeScript 2012-03-07 23:04:19 +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
cbde0dea50 Adding error handling when messages couldn't be loaded 2012-03-03 22:55:24 +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
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
7b81b91454 Fixed updating of the badges. 2012-02-12 15:33:50 +01:00
Tim Düsterhus
d3c2cc5a10 Use .default for hot-status
Thanks @Luzifr
2012-02-07 17:39:24 +01:00
max-m
3ec195d10e Fixes animation of old messages due to channelchange 2012-02-05 21:35:56 +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
3ae3909b55 Adding ID to each message, ensure every message is shown only once 2012-02-05 19:06:00 +01:00
unknown
3c442c2371 Added the new CSS-prefixes 2012-02-05 18:04:23 +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
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
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
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
95712bd017 Only blindIn if the topic is not there 2012-01-21 17:12:49 +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
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
99f95ed907 Adding Badges for Sidebar-Tabs 2012-01-07 16:45:14 +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
22c2f481d5 Added possibility for user transmission 2011-12-27 12:44:36 +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
05e0393fa6 Fixed formatting 2011-12-26 20:02:23 +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
d2670d47c3 Adding ChatMessagePage 2011-12-26 17:01:24 +01:00
Tim Düsterhus
c38c04dc39 Cleanup of CSS & JS 2011-12-26 16:04:48 +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
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
Tim Düsterhus
2d8724854b Porting counter to coffeescript 2011-12-19 17:36:05 +01:00
Tim Düsterhus
d5cbbdb34d Official file extension is coffee 2011-12-19 17:22:10 +01:00
Tim Düsterhus
d2f9858734 More JSDoc 2011-12-19 15:52:00 +01:00
Tim Düsterhus
d275f86498 Adding JSDoc 2011-12-19 15:46:40 +01:00
Tim Düsterhus
8cb95a94be Ported TimWolla.WCF.Chat.js to coffeescript 2011-12-19 15:44:27 +01:00
max-m
fc16da5acd Trigger chatInput keyup event on submit and insertText
Also check if appended text would be longer than allowed maximum, if so return and focus chatInput
2011-12-19 13:58:40 +01:00
Tim Düsterhus
bc386af3d5 Bind to this (i hate it) 2011-12-18 16:13:22 +01:00
Tim Düsterhus
52445e9cb9 Automatically refresh the room-list 2011-12-18 16:09:40 +01:00
Tim Düsterhus
818d51608c Merge branch 'chatTplRedesign' of github.com:wbbaddons/Tims-Chat into chatTplRedesign
Conflicts:
	template/chat.tpl
2011-12-18 15:49:17 +01:00
max-m
9001c668ea Changed counter a bit. 2011-12-18 15:46:16 +01:00
Tim Düsterhus
0bf39ff7a4 Fix ajaxLoad onSubmit 2011-12-18 15:33:47 +01:00
Tim Düsterhus
9f563de4e8 Merge branch 'chatTplRedesign' of github.com:wbbaddons/Tims-Chat into chatTplRedesign 2011-12-18 14:53:17 +01:00
Tim Düsterhus
6790c9077f Use this instead of event.target
The second one differs from where your clicked
2011-12-18 14:52:20 +01:00
max-m
324977acf8 Added a little character counter next to chatInput. 2011-12-17 21:29:57 +01:00
max-m
decd03b079 Merge branch 'chatTplRedesign' of github.com:wbbaddons/Tims-Chat into chatTplRedesign 2011-12-17 18:41:29 +01:00
max-m
49ea229781 Added sidebar tabs :) 2011-12-17 18:40:17 +01:00
Tim Düsterhus
f8c2ba051e Removed unneeded code. 2011-12-17 12:10:32 +01:00
Tim Düsterhus
987482c590 Use .ajaxLoad for spinner in input 2011-12-16 18:23:58 +01:00
Tim Düsterhus
94870c557e Made every button functional 2011-12-15 22:54:49 +01:00
Tim Düsterhus
9a8663155b Made Clear-Button functional 2011-12-15 22:34:53 +01:00
Tim Düsterhus
bb1fd6e82c First try of redesign 2011-12-15 18:55:44 +01:00
Tim Düsterhus
34642d70c8 Removing expected data-type 2011-12-13 23:23:28 +01:00