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

928 Commits

Author SHA1 Message Date
11099fda25 Merge branch '3.0.x' 2014-09-19 23:19:20 +02:00
6a0d0a6ec6 Fix typo in RoomAction 2014-09-19 23:19:07 +02:00
19f6cf0215 Merge branch '3.0.x' 2014-09-05 21:14:57 +02:00
ba646da078 Fix typo in be.bastelstu.Chat.litcoffee 2014-09-05 21:12:48 +02:00
ca203333d7 Allow showing the number of chatters in main menu 2014-09-05 20:42:37 +02:00
58e5fa4f58 Merge branch '3.0.x' 2014-08-18 18:20:24 +02:00
5b8dbe7d3b Fix redirect to first room in ChatPage 2014-08-18 18:20:06 +02:00
d462381f88 Merge branch '3.0.x' 2014-08-17 02:56:00 +02:00
74a1b58085 Remove relicts 2014-08-17 02:54:07 +02:00
83f41f2113 Merge remote-tracking branch 'origin/3.0.x' into 3.0.x 2014-08-14 19:27:10 +02:00
1a3ab20b6a Merge branch '3.0.x' 2014-08-14 19:12:02 +02:00
3bd77176e7 Merge branch '3.0.x' 2014-08-14 19:12:00 +02:00
4145715b06 Fix permission check in WhereCommand 2014-08-14 19:10:30 +02:00
Maximilian Mader
bd08731325 Merge branch '3.0.x' 2014-08-12 21:14:47 +02:00
Maximilian Mader
61bba5529c Add clearfix to .timsChatText to prevent floated content destroying the layout 2014-08-12 21:09:30 +02:00
Maximilian Mader
2ad26f0d04 Don't color usernames if the color has not been set explicitly 2014-08-12 20:43:35 +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
c44dea73d3 Merge branch '3.0.x' 2014-08-08 02:00:06 +02:00
bc11d9a7ef Correctly filter out rooms w/o permission in room select 2014-08-08 01:59:24 +02:00
Maximilian Mader
c2fe53fdb0 Implement a “pseudo global” room
The „global“ room can be activated on a user group basis.
This allows for bots processing messages from all rooms and responding to them.
2014-08-03 01:06:44 +02:00
d22c209e8d Merge branch '3.0.x' 2014-08-02 21:40:52 +02:00
44a4353fcf Fix autocomplete cycling in Google Chrome 2014-08-02 21:40:38 +02:00
Tim Düsterhus
1d92b0f26b Provide roomID for users in NewMessagesPage 2014-08-02 18:11:54 +02:00
dae0488b57 Truncate message in desktop notification 2014-07-30 21:43:00 +02:00
64d2242cde Add $user parameter to canMute() and canBan() 2014-07-29 03:12:51 +02:00
850bfacfbb Add class 'mod' to user if he's got moderative permissions in the room 2014-07-27 22:28:13 +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
Joshua Rüsweg
5874065c3c fix php notice "array to string conversion" 2014-05-20 21:00:51 +02:00
Joshua Rüsweg
196f4916bb fix php notice "array to string conversion" 2014-05-20 19:48:26 +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
Tim Düsterhus
6d0a19a53e Add missing getReceiver() in InviteCommand
see https://tims.bastelstu.be/forum/index.php/Thread/155-Temproom-Einladung-Falsche-Bezeichnung/
2014-04-13 17:58:27 +02:00
a32008bd2d Fix active acpMenuItem in RoomEditForm 2014-03-21 00:33:27 +01: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
76e2893be6 Merge branch 'master' of github.com:wbbaddons/Tims-Chat 2014-03-12 23:47:24 +01:00
Tim Düsterhus
6fe073fd0c Remove logging to console from debug code 2014-03-12 23:31:21 +01:00
Tim Düsterhus
b459d35c25 Fix message sending when no smilies exist
see https://tims.bastelstu.be/forum/index.php/Thread/126-Empty-Meldung-bei-Eingabe/
2014-03-11 20:40:45 +01:00
3997f674a4 Fix empty command alias list
See https://tims.bastelstu.be/forum/index.php/Thread/133-Fehlermeldung-wenn-keine-Befehls-Aliase-definiert-wurden/
2014-03-10 18:32:56 +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
Tim Düsterhus
d1a44417e6 Properly set $userID as key in Room::getUsers()
NewMessagesPage relies on the keys being userIDs for user storage loading.
2014-03-03 03:25:37 +01:00
Maximilian Mader
dde862d5a6 Fix overflow on reload button 2014-03-02 22:41:20 +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
be0dc70a5b Fix comment in RoomAction 2014-03-02 17:11:53 +01:00
Tim Düsterhus
81cabf3dd8 Use PeriodicalExecutor's resume 2014-03-02 16:04:45 +01:00
Tim Düsterhus
c82ff3715a Fix filtering for suspension type in ChatSuspensionList 2014-03-02 03:44:46 +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
Tim Düsterhus
11a4602430 Fix nodePush on room changes
Without this change temprooms could show up in the roomlist before the proper permissions were set.
2014-03-01 21:37:03 +01:00
Tim Düsterhus
2960959716 Fix ChatLocation 2014-02-28 23:07:51 +01:00
Tim Düsterhus
f4c294a77c Fix formatting 2014-02-28 17:06:50 +01:00
Tim Düsterhus
6554960604 Update year in copyright 2014-02-27 23:59:36 +01:00
Maximilian Mader
5abf436b43 Allow users to resize the message container 2014-02-27 23:32:16 +01:00
Maximilian Mader
c7cd385a14 Fix bold font weight of usernames in the chat stream 2014-02-27 23:12:22 +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
bf0463a325 Fix attachment upload dropdown z-index issue 2014-02-27 20:52:47 +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
2e0651ddd8 Automatically refresh room list in room selector 2014-02-27 20:06:28 +01:00
Tim Düsterhus
1f533e255f Fix permissions of temporary rooms 2014-02-27 19:25:30 +01:00
Tim Düsterhus
44a2659550 Add nodePush for room changes 2014-02-27 19:14:32 +01:00
Maximilian Mader
2a0dd00875 Fix sidebar padding in fullscreen mode and update some language variables 2014-02-27 19:13:42 +01:00
Maximilian Mader
168e1a9d28 Update language variables 2014-02-27 18:55:53 +01:00
Tim Düsterhus
fb551a46ee Fix TYPE_MODERATE in chat log download 2014-02-27 16:41:05 +01:00
Tim Düsterhus
ad30fe8695 Fix WhisperCommand when user does not exist 2014-02-27 16:34:12 +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
Tim Düsterhus
1c1f695ecd Add option to force a room selection 2014-02-13 16:39:16 +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
4d208f8893 Disallow temporary rooms in ChatSuspensionListPage 2014-02-02 14:32:53 +01:00
Tim Düsterhus
c1906cdab7 Return proper integer for roomID in RoomAction::getRoomList() 2014-01-08 16:02:13 +01:00
Tim Düsterhus
1a80743010 Allow retrieval of roomList even when not in Chat 2014-01-08 15:59:09 +01:00
Tim Düsterhus
0f049ba48a Provide field in UserInputException in RoomAction::validateJoin() 2014-01-08 15:55:24 +01:00
Tim Düsterhus
ae5287c398 Set primaryController for application
see WoltLab/WCF@e7bfc88141
2013-12-14 21: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
0076bb764e Force Frontend in ChatPageMenuItemProvider::getLink() 2013-12-06 21:56:10 +01:00
Tim Düsterhus
84303306a8 Adapt to WoltLab/WCF@e94d75561e 2013-11-28 00:52:02 +01:00
Maximilian Mader
33d2ebad1a Partially revert 85be70c33d
Pushed local changes by accident
2013-11-21 22:08:23 +01:00
Maximilian Mader
85be70c33d Fix right aligned messages 2013-11-21 21:58:58 +01:00
Tim Düsterhus
12d59d93e2 Fix width in fullscreen mode 2013-11-19 21:31:26 +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
8b2a677859 Give a nice message to InviteCommand 2013-11-19 21:04:31 +01:00
Tim Düsterhus
798dfb8d8d Fix output of ColorCommand
see #55
2013-11-19 20:58:11 +01:00
Tim Düsterhus
bf1ea5f411 Remove some duplicate code 2013-11-19 20:47:42 +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
Tim Düsterhus
dcd76ab108 Fix MessageEditor::deleteAll() when no message was deleted
Thanks @Gravatronics
2013-11-18 21:28:56 +01:00
Maximilian Mader
8b2f6c5155 Fix formatting 2013-11-09 14:38:17 +01:00