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

113 Commits

Author SHA1 Message Date
12dd915ea2 Backport: Make smiley selection compatible with WCF 2.0 and 2.1
This backports 0e7d4d9c07

Conflicts:
	file/js/be.bastelstu.Chat.litcoffee
2015-02-25 22:34:58 +01:00
b9f5f46df9 Properly encode username in tab menu tabs 2014-12-18 15:58:55 +01:00
ba646da078 Fix typo in be.bastelstu.Chat.litcoffee 2014-09-05 21:12:48 +02:00
12b321d7e8 Fix race condition in combination with nodePush
If a nodePush notification comes in *after* PHP fetched the new messages
from database, but before the server reply is received it may delay the
arrival of the new message up to a minute (where the automated timer kicks
in)
2014-08-10 00:24:17 +02:00
44a4353fcf Fix autocomplete cycling in Google Chrome 2014-08-02 21:40:38 +02:00
Maximilian Mader
c6e776b668 Hide upload button while private channel is being active 2014-06-21 21:24:57 +02:00
Maximilian Mader
6f9418e167 Fix marking of messages in speech bubbles
It failed on appending a new message to the same speech bubble
2014-06-21 18:54:35 +02:00
4091a6e7e6 Fix address bar update when changing room 2014-06-20 17:26:51 +02:00
a4c3da02ba Properly support message type CLEAR 2014-06-19 20:53:29 +02:00
Maximilian Mader
b8bc642714 Don't insert text if the allowed length would be exceeded 2014-04-29 22:04:52 +02:00
Maximilian Mader
b633f05452 Change fired event in insertText from 'keyup' to 'change'
jCounter listens to this event and updates the counter if this event is fired
2014-04-28 13:59:08 +02:00
Maximilian Mader
ec2a5b07ff Fix topic hiding mechanism 2014-03-17 22:04:46 +01:00
dcdaa54ab7 Fix autoscroll when switching channels 2014-03-17 18:47:00 +01:00
Maximilian Mader
ec937c15b5 Improve join function
- Prevent multiple join requests
- Disable input during joining a room
- Prevent joining the same room again (TODO: also prevent this on the server side)
2014-03-13 21:18:03 +01:00
Maximilian Mader
8e0a07ab30 Don't show topic of a room again if it has been hidden during the current session 2014-03-13 20:56:46 +01:00
Tim Düsterhus
6fe073fd0c Remove logging to console from debug code 2014-03-12 23:31:21 +01:00
9d8359a52c Fix mute command in user menu
see https://tims.bastelstu.be/forum/index.php/Thread/129-Knebeln-per-Dropdown-nicht-m%C3%B6glich/
2014-03-10 18:25:18 +01:00
Maximilian Mader
515a670a6c Fix fullscreen mode on mobile devices and single line information messages 2014-03-02 20:03:21 +01:00
Maximilian Mader
7132a4692f Return roomID on join 2014-03-02 18:11:54 +01:00
Maximilian Mader
16afdf6ce4 Add permission check to user menu
Also export getUserList and getRoomList
2014-03-02 17:57:41 +01:00
Tim Düsterhus
81cabf3dd8 Use PeriodicalExecutor's resume 2014-03-02 16:04:45 +01:00
Maximilian Mader
2ab194541f Fix wrong lang var name 2014-03-02 00:44:34 +01:00
Maximilian Mader
20bce575bb Improve selection of chat messages 2014-03-02 00:33:45 +01:00
Maximilian Mader
5abf436b43 Allow users to resize the message container 2014-02-27 23:32:16 +01:00
Tim Düsterhus
513bdf4e24 Merge branch 'frontend' 2014-02-27 22:46:06 +01:00
Tim Düsterhus
fff9b18cc3 Merge branch 'frontend'
Conflicts:
	template/chat.tpl

Closes #52
Closes #54
Closes #55
See #57
Closes #68
Closes #70
2014-02-27 22:44:19 +01:00
Maximilian Mader
511ebba4f6 Fix scroll position when toggling fullscreen 2014-02-27 22:33:51 +01:00
Maximilian Mader
f5bd373839 Add smiley overlay for mobile devices 2014-02-27 22:16:08 +01:00
Maximilian Mader
cbcdc7c236 Fix empty topic boxes 2014-02-27 20:43:54 +01:00
Maximilian Mader
d6cea6ae86 Refresh room list on join and leave if nodePush is used 2014-02-27 20:15:30 +01:00
Tim Düsterhus
44a2659550 Add nodePush for room changes 2014-02-27 19:14:32 +01:00
Maximilian Mader
168e1a9d28 Update language variables 2014-02-27 18:55:53 +01:00
Maximilian Mader
dc2e75cf72 Fix private channels in fullscreen mode 2014-02-27 16:14:11 +01:00
Maximilian Mader
4e641fdfa1 Adjust sidebar height in fullscreen mode 2014-02-27 15:40:34 +01:00
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