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

931 Commits

Author SHA1 Message Date
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
Maximilian Mader
3fe5016c9a Improve attachments in UI 2013-11-02 23:08:12 +01:00
Maximilian Mader
77830cf6fb Merge branch 'master' into attachments 2013-11-02 23:05:57 +01:00
Maximilian Mader
0622d64e28 Properly encode usernames and room titles 2013-10-16 21:32:55 +02:00
Maximilian Mader
92ee11daba Delete attached files on deletion of messages 2013-10-16 20:16:31 +02:00
Tim Düsterhus
00e637397c Fix username of revoker in ChatSuspensionListPage 2013-10-16 17:53:29 +02:00
Maximilian Mader
86ac2861f8 Improve front end design of attachment 2013-10-16 15:55:33 +02:00
Maximilian Mader
5862f1c283 Merge branch 'master' into attachments 2013-10-16 14:11:02 +02:00
Maximilian Mader
d94a73c9b0 Add permission check to canDownload() in
MessageAttachmentObjectType.class.php
2013-10-06 20:28:07 +02:00
Maximilian Mader
b99a625a36 Fix sorting of uses in Message.class.php 2013-10-06 17:58:24 +02:00
Maximilian Mader
45fa0080d2 Adapt to WoltLab/WCF@d9e0994184 2013-10-06 17:34:58 +02:00
Maximilian Mader
31d5a7d4b7 Add missing style declarations 2013-10-06 17:34:20 +02:00
Tim Düsterhus
d0d091547c Disallow whispering of users that block one
Closes #61
2013-10-06 17:27:58 +02:00
Tim Düsterhus
7acf736510 Activate onlineList dashboard box upon installation 2013-10-06 16:34:40 +02:00
Tim Düsterhus
5a85be5240 Set PAGE_TITLE after installation 2013-10-06 16:30:18 +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
23054493aa Fix formatting of PHPDoc in SuspensionAction 2013-10-06 01:41:05 +02:00
Tim Düsterhus
237b61afed Add SuspensionAction::$requireACP
Closes #59
2013-10-06 01:40:05 +02:00
Tim Düsterhus
30b29ae654 Show more meaningful error message when alias is invalid
Closes #11
2013-10-01 00:16:54 +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
Tim Düsterhus
a82d6bd6b5 Clean up LESS a bit
see #54
2013-09-15 22:39:40 +02:00
Tim Düsterhus
829c01f1d5 Remove obsolete less 2013-09-15 15:25:32 +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
Maximilian Mader
b90d21a224 Fix MessageAttachmentObjectType.class.php 2013-09-14 23:25:56 +02:00
Tim Düsterhus
7a49d825ae Respect LOG_IP_ADDRESS setting 2013-09-13 23:04:37 +02:00
Tim Düsterhus
6bcb12b2c8 Add TODO 2013-09-13 22:36:50 +02:00
Tim Düsterhus
3c5daea67e Add missing language items and improve some others
see #55
2013-09-13 22:36:50 +02:00
Maximilian Mader
648224a213 Add attachment object type and permissions 2013-09-13 22:30:29 +02:00
Tim Düsterhus
f3208a403f Fix package identifier in LESS 2013-09-10 21:45:37 +02:00
Tim Düsterhus
91cb2b26e7 Show every username as bold 2013-09-10 21:44:08 +02:00
Maximilian Mader
fe11589151 Fix log archive time of -1 and add an info box if protocol is disabled. 2013-09-08 22:40:09 +02:00
Maximilian Mader
b6b3458718 Fix out of place text on right oriented bubbled messages. 2013-09-08 21:02:45 +02:00
Tim Düsterhus
5c440c1add Really fix MessageLogPage
see 0ef6dbb36b
2013-09-08 20:54:44 +02:00
Tim Düsterhus
f656a212ca Disallow temporary rooms in MessageLogDownloadPage 2013-09-08 20:53:59 +02:00
Tim Düsterhus
0ef6dbb36b Fix MessageLogPage when temporary rooms exist 2013-09-08 20:52:31 +02:00
Tim Düsterhus
017487bbe8 Remove obsolete TODO in be.bastelstu.Chat.litcoffee 2013-09-08 14:54:58 +02:00
Tim Düsterhus
69a0597984 Improve ACL in ACP
see WoltLab/WCF@c7e6ce11d4

Closes #44
2013-09-08 14:45:40 +02:00
Tim Düsterhus
f3d652509d Remove obsolete position: relative
Closes #49
2013-09-07 16:03:27 +02:00
Maximilian Mader
577c3fc25a Fix triple-typo ... this should fix the permissions 2013-09-06 16:16:55 +02:00
Maximilian Mader
d99d631527 Add forgotten template and fix permissions 2013-09-06 16:08:18 +02:00
Maximilian Mader
70801203f8 Add text/plain download of chat log 2013-09-06 00:02:06 +02:00
Tim Düsterhus
befdf2dfd0 Fix Code format 2013-09-05 22:54:12 +02:00
Maximilian Mader
a2c4a217f1 Improve message log 2013-09-05 21:59:03 +02:00
Maximilian Mader
74caf2c7ec Implement Ajax-loading of message protocol 2013-09-05 20:50:47 +02:00
Maximilian Mader
dcfc8a94cd Merge branch 'master' into protocol 2013-09-05 20:35:07 +02:00
Maximilian Mader
af046e4161 Add some special colors 2013-08-22 23:33:19 +02:00
Tim Düsterhus
8644b209b8 Remove obsolete __run() in CHATCore
see WoltLab/WCF@2b573c7ca9
2013-08-22 15:50:04 +02:00
Maximilian Mader
8d32c41bf1 Add full list of CSS colors
see http://www.w3.org/TR/css3-color/#svg-color
2013-08-21 21:11:16 +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
21104e4097 Remove use of deprecated methods
see WoltLab/WCF@257405df08
2013-08-19 23:23:26 +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
8b8bf4649c Fix HourlyCleanUpCronjobExecuteChatCleanUpListener 2013-08-19 22:09:41 +02:00
Tim Düsterhus
7b8a01b199 Remove debug code in be.bastelstu.Chat.litcoffee 2013-08-19 20:58:36 +02:00
Tim Düsterhus
1b521e6f20 Fix CSS for small displays 2013-08-19 20:57:57 +02:00
Tim Düsterhus
30c0387b05 Fix display of short messages 2013-08-19 20:48:25 +02:00
Tim Düsterhus
263083e6ce Disallow bombing the layout 2013-08-19 20:36:56 +02:00
Tim Düsterhus
ea2c6f0039 Fix EOL in HourlyCleanUpCronjobExecuteChatCleanUpListener 2013-08-11 17:34:30 +02:00
Tim Düsterhus
4bc538f367 Extend HourlyCleanUpCronjob instead of an own cronjob 2013-08-11 17:30:34 +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
8c2d6efec0 Fix formatting
I keep forgetting these rules ...
2013-08-02 19:59:57 +02:00
Maximilian Mader
cc73d89672 Display messages in their appropriate tab. 2013-08-02 19:38:13 +02:00
Maximilian Mader
75c09e2a5d Fixup last commit #495680c3d359e504186c
These changes should have been in the last commit too.
2013-07-30 00:20:14 +02:00
Maximilian Mader
fd17e10e8b Fix MessageAction - seconds are not minutes 2013-07-29 18:10:06 +02:00
Maximilian Mader
495680c3d3 Add message log to ACP. 2013-07-28 23:27:28 +02:00
Tim Düsterhus
db8fa89e7b Merge branch 'master' into protocol
Conflicts:
	acpMenu.xml
2013-07-24 21:55:37 +02:00
Tim Düsterhus
0be6efa345 Merge remote-tracking branch 'origin/privateChannels' 2013-07-24 16:22:20 +02:00
Tim Düsterhus
51c5aed800 Merge branch 'privateChannels' 2013-07-24 16:21:33 +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
3bdbc2159b Add forgotten files
Maybe I was asleep ... I don't know.
2013-07-12 17:15:13 +02:00
Maximilian Mader
c690927d48 Add graphical interface for private channels. 2013-07-12 16:49:40 +02:00
Tim Düsterhus
0342f9fe9d Fix compatibility with newest WCF
See WoltLab/WCF@647d232676
2013-07-09 22:22:09 +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
Tim Düsterhus
0407099817 Fix typo in RoomAddForm 2013-07-08 21:36:51 +02:00
Maximilian Mader
f02631a7c7 Add possibility to hide topic. 2013-07-08 21:25:48 +02:00
Tim Düsterhus
161d0504f0 Fix joining when no message exists 2013-07-07 22:32:04 +02:00
Maximilian Mader
d5a2bcf7d9 Fix formatting 2013-06-24 18:11:55 +02:00
Maximilian Mader
1b077719b8 Fix PHP 5.3 compatability 2013-06-24 18:09:31 +02:00
Maximilian Mader
a8fb9c35f5 Remove some leftovers 2013-06-24 18:07:47 +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
Maximilian Mader
c3dd2c899b Add styles for aligning message bubbles on the right 2013-06-24 17:41:52 +02:00
Maximilian Mader
871440d783 Fix message marking 2013-06-23 23:40:12 +02:00
Maximilian Mader
d7294296a5 Fix message background 2013-06-23 23:21:41 +02:00
Maximilian Mader
0602179125 Add clearfix 2013-06-23 20:40:00 +02:00
Maximilian Mader
9b6ee4afb4 Further improvements 2013-06-23 20:12:32 +02:00