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

129 Commits

Author SHA1 Message Date
Maximilian Mader
c32bd4bbef Improve fullscreen 2014-02-23 01:17:15 +01:00
Maximilian Mader
2dd8c47778 Fix leftover of “stringy“ message types 2014-02-10 00:57:01 +01:00
Maximilian Mader
92ed075076 Rewrite frontend
With this commit pretty much the whole frontend has been rewritten.
This should hopefully fix most of the issues in “exotic” styles.

The changes include:

- Overall cleanup
- Better adaption to the WCF design
- Reworked private channels menu
- Reworked sidebar (may change later, currently the heights of the elements are hardcoded and not dynamic)
- Working user action menu
- Fixed auto scrolling
- Better visual notifications

- This software does not contain any easter eggs
- No penguins were harmed in the production of this software

Todo:

- Fullscreen mode
- Some language variables
2014-02-08 15:30:59 +01:00
Tim Düsterhus
0c9eecda61 Attempt to improve performance of javascript code
Prevent bubbling of scroll event in .timsChatMessageContainer in order to avoid some rather expensive scroll handlers
2013-12-08 17:43:14 +01:00
Tim Düsterhus
7468aa342e Fix dropdown error when no menu exists for a user
Closes #66
2013-11-19 21:29:12 +01:00
Tim Düsterhus
3aabe24ec9 Show better error message when joining fails 2013-11-19 20:33:27 +01:00
Tim Düsterhus
4b193e7233 Fix reset of jCounter onsubmit 2013-11-19 20:24:06 +01:00
Maximilian Mader
0622d64e28 Properly encode usernames and room titles 2013-10-16 21:32:55 +02:00
Maximilian Mader
86ac2861f8 Improve front end design of attachment 2013-10-16 15:55:33 +02:00
Maximilian Mader
45fa0080d2 Adapt to WoltLab/WCF@d9e0994184 2013-10-06 17:34:58 +02:00
Maximilian Mader
7581490345 Improve attachment system
Now it's possible to upload attachments and generate an attachment
message. The attachments are registered in the database correctly and
can be viewed WCF's attachment list in ACP.

TODO: Proper design in frontend and some backend functions.
2013-10-06 02:59:13 +02:00
Maximilian Mader
06882254a0 Merge branch 'master' into attachments
Conflicts:
	template/javascriptInclude.tpl
2013-10-06 02:12:42 +02:00
Tim Düsterhus
14b453495c Clean up CoffeeScript a bit 2013-09-15 22:53:53 +02:00
Tim Düsterhus
cd926813bc Use unless + is instead of if + isnt 2013-09-15 22:46:14 +02:00
Tim Düsterhus
e1dc33511b Ignore errors when setting local storage for duplicate tab protection 2013-09-15 22:44:50 +02:00
Maximilian Mader
0fa4bbc9b6 Add first pieces of attachment upload
Currently the upload is working, but it's impossible to delete the
attachment or generate a "attachment message"
2013-09-14 23:45:34 +02:00
Tim Düsterhus
017487bbe8 Remove obsolete TODO in be.bastelstu.Chat.litcoffee 2013-09-08 14:54:58 +02:00
Maximilian Mader
cdae6e6085 Use currentRoom more consistently 2013-08-21 20:36:22 +02:00
Maximilian Mader
6d3bc3b22c Fix user count being shown in page title on focus 2013-08-21 19:23:30 +02:00
Tim Düsterhus
46d86de030 Show user count in room list
Closes #27
2013-08-19 22:14:59 +02:00
Tim Düsterhus
7b8a01b199 Remove debug code in be.bastelstu.Chat.litcoffee 2013-08-19 20:58:36 +02:00
Maximilian Mader
16ad55c07d Remove dropdown from DOM when user leaves the room 2013-08-06 20:48:28 +02:00
Tim Düsterhus
c99c707eda Fix fish 2013-08-02 21:34:36 +02:00
Maximilian Mader
a0cf213e48 Closing of private channels is now possible,
add notifications to private channel tab menu (style is just a placeholder
right now)
2013-07-24 16:16:17 +02:00
Maximilian Mader
de96de5941 Fix tooltip positioning 2013-07-12 21:29:17 +02:00
Maximilian Mader
3580ebfd5c Simplify code a bit 2013-07-12 20:52:54 +02:00
Maximilian Mader
c690927d48 Add graphical interface for private channels. 2013-07-12 16:49:40 +02:00
Tim Düsterhus
476954fe8d Allow the user to open a privat channel 2013-07-09 22:02:47 +02:00
Tim Düsterhus
8279759294 Merge branch 'master' into privateChannels
Conflicts:
	file/js/be.bastelstu.Chat.litcoffee
2013-07-09 21:50:19 +02:00
Tim Düsterhus
abcae3e129 Clean up coffeescript a bit 2013-07-09 21:48:40 +02:00
Tim Düsterhus
9c27cd5429 Add function to show an inputError 2013-07-09 21:42:01 +02:00
Tim Düsterhus
6c5911d42b Convert messages to whisper when in private channel 2013-07-09 21:39:31 +02:00
Maximilian Mader
9bb171b4d9 Rename variable and fix closing of private channels 2013-07-09 20:45:35 +02:00
Maximilian Mader
fa03296908 Improve private channels
Follow up messages will be shown in opened private channels
2013-07-09 20:30:46 +02:00
Maximilian Mader
7cb15e5e9c First working draft of private channels 2013-07-09 19:41:14 +02:00
Maximilian Mader
f02631a7c7 Add possibility to hide topic. 2013-07-08 21:25:48 +02:00
Maximilian Mader
d5a2bcf7d9 Fix formatting 2013-06-24 18:11:55 +02:00
Maximilian Mader
5fd1e6e7be Further message template improvements
- Publish message types to JavaScript
- add message type icons
- style info message properly
2013-06-24 17:49:24 +02:00
Tim Düsterhus
9f8f7b31e0 Set isFollowUp to allow checking whether a completely new message is wanted 2013-06-23 19:54:39 +02:00
Tim Düsterhus
42ef646685 Merge similar messages together 2013-06-23 19:46:50 +02: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
859bc369ef Fix dropdown when switching to fullscreen 2013-05-30 21:51:14 +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
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
08681fe56c Fix hiding of topic when empty 2013-05-26 18:59:38 +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
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
73a152bcfa Fix reading the suspensions from userstorage 2013-05-25 00:08:46 +02:00
Tim Düsterhus
2a9c3882aa Clean up language items 2013-05-24 19:26:29 +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
41765c53be Ignore case when autocompleting usernames 2013-05-24 01:47:15 +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
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
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
60c1ff7590 Fix userlist counter in case some users are selected twice 2013-05-09 20:19:02 +02: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
max-m
b14b1e8c57 Overhaul UI
TODO: Sidebar overhaul/y-scroll
2013-05-03 20:27:41 +02:00
Tim Düsterhus
037e35ba0d Use new nodePush package 2013-04-29 16:56:20 +02:00
Tim Düsterhus
55dfd865e5 Use real buttons again 2013-04-27 13:04:36 +02:00
Tim Düsterhus
b0911a3404 Optimize code foor room leaving 2013-04-27 00:38:53 +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
5281abf321 Clean up styles 2013-04-22 18:52:05 +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
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
e0eb48c337 Convert CoffeeScript to Literate CoffeeScript 2013-04-20 18:43:56 +02:00