Commit Graph

58 Commits

Author SHA1 Message Date
barisusakli
da338a1341 fix typo 2016-01-12 16:43:17 +02:00
barisusakli
222ef14d7f added chat:autocomplete:init 2016-01-12 16:37:34 +02:00
barisusakli
18013c5518 closes #3977 2016-01-08 12:34:22 +02:00
barisusakli
ab0797a6d8 chat fixes
update bootstrap tags input
dont allow adding self to chat room
2015-12-23 13:00:43 +02:00
barisusakli
df605babff closes #3983 2015-12-23 12:28:19 +02:00
barisusakli
abed319da2 closes #3996 2015-12-23 11:27:34 +02:00
barisusakli
dff3d7f20e various group chat fixes #3980
fix multiple modals using the same tagsinput
fix online user getting chat notification
fix owner not being able to remove users in the chat modal
2015-12-21 10:14:44 +02:00
barisusakli
5a26eb1c76 IS fix, timeago fix 2015-12-17 12:25:30 +02:00
barisusakli
3d79e0750b fix edit delete for rooms 2015-12-17 12:05:35 +02:00
barisusakli
f71fd0a3ec only allow users in the room to get raw message content 2015-12-17 11:22:22 +02:00
barisusakli
832a20e59e markRead fixes 2015-12-16 15:43:01 +02:00
barisusakli
d8810ceae9 send messages 2015-12-16 15:09:14 +02:00
barisusakli
784ff07907 ability to add/remove users from chat rooms, tagsinput 2015-12-16 13:35:24 +02:00
barisusakli
2ac34ba391 fix recepientUid 2015-12-16 10:16:44 +02:00
barisusakli
29d8b9c181 more room changes app.openChat 2015-12-16 10:09:00 +02:00
barisusakli
5d1169e686 changed the chat route to /chats/:roomid? 2015-12-15 19:05:32 +02:00
Julian Lam
ea1b640435 calling translator in parseMessage 2015-12-14 16:20:12 -05:00
Julian Lam
7b49dc9061 fixes #3935 2015-12-14 14:20:52 -05:00
Julian Lam
a4d8ab9d12 fixes #3950 2015-12-14 14:13:18 -05:00
Julian Lam
c04622506d console.log removal 2015-12-14 14:08:58 -05:00
Julian Lam
0b735fad17 fixed #3936 2015-12-14 14:07:18 -05:00
Julian Lam
46571ccd77 closes #3930 2015-12-14 13:39:53 -05:00
Julian Lam
2d203d7dca Squashed commit of the following:
Closes #2668

commit 3d4f494ed3257bceda8f6f82057cab83f0f252b3
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 12:06:42 2015 -0500

    theme minvers for #2668

commit b608ce61854f8195143685bb9753b80d32b26e95
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 12:01:03 2015 -0500

    Allowing chat modal to edit and delete messages

    re: #2668

commit 0104db90a4070582f3938b6929dae35f985bac35
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 11:51:23 2015 -0500

    Fixed issue where newSet calculations were off

    ... sometimes.

    Also, rendering of edited messages now parses a template partial,
    instead of just replacing the content.

commit 5cb6ca600425ca9320c599b32306e93dcc5aa4ce
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 11:07:12 2015 -0500

    If edited content matches existing content...

    ... then edit is aborted.

commit 6e7495247b1895589c716db29f919a934087b924
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 11:05:08 2015 -0500

    some linting and fixed issue where new msgs when deleted would crash server

commit db4a9e40d6dff44569c2437378121db8fdf75cf8
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 17:25:56 2015 -0500

    Message deletion for #2668, and fixed bug

    Fixed bug where chat modal would spawn even though user was sitting
    on the /chats page.

commit a5aa2498ab4a8bba02a6daa43a9dbed7b3e37976
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 14:55:23 2015 -0500

    wiring up the edit button, #2668

commit 5f2afdcf6f2b9eae6b5873ca100149e65e3d385d
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 14:20:39 2015 -0500

    added indicator to show if and when a message had been edited

commit e8301132d525c1b9fd46c98cdb282ac7ea7a0d7f
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 14:06:39 2015 -0500

    Allowing editing of chat messages

commit bfd991be1cb1769599f7d5d2b1638e313c3c2dcb
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 10:33:49 2015 -0500

    Added messageId to messages object return

commit 0306ee6657b3288dd4547c66869d7d4ece0b31ad
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 08:20:17 2015 -0500

    WIP #2668
2015-12-11 12:07:02 -05:00
Julian Lam
bc199d6872 By default, always switch chat in chats page
closes #3915
2015-12-04 15:49:32 -05:00
psychobunny
4798647b8a moved infinitescroll.parseAndTranslate to app.parseAndTranslate 2015-10-29 23:58:48 -04:00
barisusakli
b556652582 fix chat redirect 2015-10-15 13:00:32 -04:00
Julian Lam
6fe480d8c6 Adding some snazzy hotkeys to chat page 2015-09-25 11:07:41 -04:00
Julian Lam
cef8e44b3b Fix bug with missing ref, using pushState instead of replaceState in chats client-side lib 2015-09-25 10:53:52 -04:00
Julian Lam
47d39d3346 closes #3673 2015-09-25 10:49:44 -04:00
barisusakli
0a9f82e30d removed some dupe code from chats 2015-09-18 14:30:18 -04:00
barisusakli
2f94307125 removed duplicated code in chats 2015-09-18 12:22:16 -04:00
Julian Lam
c148b1c956 If a new message arrives, replace the teaser with the new message content, closes #3623 2015-09-16 18:25:32 -04:00
Julian Lam
2e3eef136f Update chat frontend to better handle incoming messages
When an incoming message occurs from somebody who is new,
a new chat contact is spawned and put into the contact list.
2015-09-16 18:15:10 -04:00
Julian Lam
7fae82a9bd Update chat page behaviour on mobile
As the chat page is not optimised for mobile devices, if
entered, the chat messages themselves will be hidden
(corresponding commits on themes), and the client-side
javascript will open the chat modal when contacts are clicked.
2015-09-16 16:05:00 -04:00
barisusakli
f17a716055 closes #3619 2015-09-16 12:18:38 -04:00
Barış Soner Uşaklı
6d8134618f fix chats 2015-09-15 12:29:24 -04:00
barisusakli
22d6ceab59 closes #2427 2015-09-14 17:55:15 -04:00
barisusakli
0cac0692b6 closes #3532 2015-09-14 17:45:02 -04:00
barisusakli
a1c407acd0 closes #3530 2015-09-10 17:13:36 -04:00
barisusakli
af50ade066 closes #3560 2015-09-10 16:24:27 -04:00
Julian Lam
902d11c6af Fix #3470 2015-08-24 11:34:09 -04:00
Julian Lam
cead53ec86 Fix list behaviour in chat page 2015-07-29 15:22:00 -04:00
Julian Lam
98b74f848e Fix newSet detection on chat messages 2015-07-29 13:16:52 -04:00
Julian Lam
2593f1b4d9 Fix bug where new chat messages would not append
... due to incorrect class and id assignment of the chat modal. Regression was caused by an earlier commit that moved the
typing span elsewhere.
2015-07-29 12:58:06 -04:00
Julian Lam
60a6775c72 Changed behaviour of the Chat Typing Notification
Instead of being placed at the bottom of the modal/list,
it will now be displayed at the top of the modal, and not
shown in the chats page at all (as it is already present
in the contact list)
2015-07-29 12:41:09 -04:00
psychobunny
1d94b6a96f closes #3000 2015-04-17 13:44:47 -04:00
Barış Soner Uşaklı
dadbda98b7 closes https://github.com/NodeBB/nodebb-theme-persona/issues/52 2015-04-07 13:45:46 -04:00
Julian Lam
47a7ab15be refactored translator system to be a require.js module, and not a global 2015-03-31 15:11:59 -04:00
psychobunny
412c5360a6 allow timeago to be cast on other elements as well, ex. small 2015-03-16 17:22:44 -04:00
barisusakli
a73f34df4a no need for ajaxify.end listener 2015-03-13 23:44:11 -04:00