1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-01 14:20:07 +00:00
Commit Graph

248 Commits

Author SHA1 Message Date
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
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
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
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
d69b7cc6d9 Merge branch 'master' into chatTplRedesign 2011-12-19 16:46:03 +01:00
Tim Düsterhus
80daee9c46 Adding Permission-Handler for ACL 2011-12-19 16:22:56 +01:00
Tim Düsterhus
7076988c02 Shortcut :) 2011-12-19 16:14:27 +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
Tim Düsterhus
a8a69eaaa9 Encoded the chars in ChatUtil::gradient() 2011-12-17 18:40:20 +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
966a4f57d3 Finally fixing ChatPageMenuItemProvider 2011-12-15 17:14:55 +01:00
Tim Düsterhus
c24402ec86 Fix getLink
Call isVisible again directly before getLink to ensure the pointer is at the first place.
... and we also have to return the new link! ;)
2011-12-15 10:56:22 +01:00
Tim Düsterhus
18d27897e4 Implemented getLink for ChatPageMenuItemProvider 2011-12-15 10:54:18 +01:00
Tim Düsterhus
c50df5be07 Adding S to TIME_MODIFIER_REGEX 2011-12-14 17:25:16 +01:00
Tim Düsterhus
15a7456aba Fixing bug with empty string 2011-12-14 17:24:41 +01:00
Tim Düsterhus
34642d70c8 Removing expected data-type 2011-12-13 23:23:28 +01:00