157 Commits (68bcfb2883d8e2ec4df776467ffb3073fdf8ad06)

Author SHA1 Message Date
barisusakli e2e547db45 first part of messaging refactor 9 years ago
Julian Lam bcbc8608a4 newSet calculations bugfix 9 years ago
Julian Lam 3b6b36cfa6 fixing possible crash 9 years ago
Julian Lam 2d203d7dca Squashed commit of the following:
Closes #2668

commit 3d4f494ed3257bceda8f6f82057cab83f0f252b3
Author: Julian Lam <[email protected]>
Date:   Fri Dec 11 12:06:42 2015 -0500

    theme minvers for #2668

commit b608ce61854f8195143685bb9753b80d32b26e95
Author: Julian Lam <[email protected]>
Date:   Fri Dec 11 12:01:03 2015 -0500

    Allowing chat modal to edit and delete messages

    re: #2668

commit 0104db90a4070582f3938b6929dae35f985bac35
Author: Julian Lam <[email protected]>
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 <[email protected]>
Date:   Fri Dec 11 11:07:12 2015 -0500

    If edited content matches existing content...

    ... then edit is aborted.

commit 6e7495247b1895589c716db29f919a934087b924
Author: Julian Lam <[email protected]>
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 <[email protected]>
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 <[email protected]>
Date:   Tue Dec 8 14:55:23 2015 -0500

    wiring up the edit button, #2668

commit 5f2afdcf6f2b9eae6b5873ca100149e65e3d385d
Author: Julian Lam <[email protected]>
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 <[email protected]>
Date:   Tue Dec 8 14:06:39 2015 -0500

    Allowing editing of chat messages

commit bfd991be1cb1769599f7d5d2b1638e313c3c2dcb
Author: Julian Lam <[email protected]>
Date:   Tue Dec 8 10:33:49 2015 -0500

    Added messageId to messages object return

commit 0306ee6657b3288dd4547c66869d7d4ece0b31ad
Author: Julian Lam <[email protected]>
Date:   Tue Dec 8 08:20:17 2015 -0500

    WIP #2668
9 years ago
barisusakli 46c2563164 removed rooms.js removed browsing users, removed chat syncing across sockets
use lastonline for online detection
9 years ago
barisusakli f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
9 years ago
Julian Lam 68c3f9d849 Squashed commit of the following:
commit 56582bc9eee5d81a01f42a28808b617b9c96873a
Author: Julian Lam <[email protected]>
Date:   Tue Oct 27 05:21:11 2015 -0400

    added missing template

commit 6462a1626e7d8d77210b6e10eace5c9214335f33
Author: Julian Lam <[email protected]>
Date:   Tue Oct 27 05:19:07 2015 -0400

    sitemap index

commit 3cfd56f1fbc8e03405dc394375bf5ff6eef21322
Author: Julian Lam <[email protected]>
Date:   Tue Oct 27 04:47:52 2015 -0400

    sitemap routes, controllers, and library methods for pages, categories, and topics

commit e58e07c0881bdbe16d503b4679b85f761b02163c
Author: Julian Lam <[email protected]>
Date:   Tue Oct 27 04:07:39 2015 -0400

    added groups to sitemap

commit 7ee584b632
Author: Julian Lam <[email protected]>
Date:   Tue Oct 27 01:43:06 2015 -0400

    If notification dropdown is double-clicked, all notifications are marked read

commit 488f147bef
Author: barisusakli <[email protected]>
Date:   Mon Oct 26 22:39:19 2015 -0400

    closes #3781

commit 5e1bd58a02
Author: barisusakli <[email protected]>
Date:   Mon Oct 26 22:28:30 2015 -0400

    closes #3782

commit 57d3980267
Author: barisusakli <[email protected]>
Date:   Mon Oct 26 22:16:08 2015 -0400

    closes #3790

commit 555c5b82da
Author: barisusakli <[email protected]>
Date:   Mon Oct 26 21:19:20 2015 -0400

    check user settings

commit 5454862c1c
Author: barisusakli <[email protected]>
Date:   Mon Oct 26 20:26:02 2015 -0400

    wait for all callbacks when creating tags

commit 051c5077eb
Merge: 839fd93 e0e04ef
Author: Barış Soner Uşaklı <[email protected]>
Date:   Mon Oct 26 09:54:12 2015 -0400

    Merge pull request #3792 from drlogout/master

    Fixed wrong method name in socket.io/groups.js from isAdmin to isAdmi…

commit e0e04ef892
Author: Christian Nolte <[email protected]>
Date:   Mon Oct 26 14:50:32 2015 +0100

    Fixed wrong method name in socket.io/groups.js from isAdmin to isAdministrator

commit 839fd935ad
Author: barisusakli <[email protected]>
Date:   Sun Oct 25 21:54:35 2015 -0400

    add back thread tools filter

commit 37060bf1a3
Merge: 5820a19 bf918bd
Author: Barış Soner Uşaklı <[email protected]>
Date:   Sun Oct 25 18:13:06 2015 -0400

    Merge pull request #3787 from cubehouse/patch-1

    Upgrade script fails on some consoles

commit 5820a193f6
Author: barisusakli <[email protected]>
Date:   Sun Oct 25 17:04:46 2015 -0400

    closes #3789

commit 0d88d52557
Author: barisusakli <[email protected]>
Date:   Sun Oct 25 17:03:33 2015 -0400

    up theme

commit 9bc43ba5e1
Author: barisusakli <[email protected]>
Date:   Sun Oct 25 16:57:42 2015 -0400

    closes #3788

commit aafd4b6984
Author: barisusakli <[email protected]>
Date:   Sun Oct 25 15:56:17 2015 -0400

    closes #3786

commit bf918bd016
Author: James Holding <[email protected]>
Date:   Sun Oct 25 10:14:00 2015 +0000

    Upgrade script fails on some consoles

    The upgrade script errors/fails on some consoles if the stdout.columns isn't set (my console did this when upgrading a Docker instance of NodeBB).
    Checking for stdout.columns before using, falling back to a couple of spaces for slightly prettiness if we can't work out the console width.
9 years ago
Julian Lam b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
9 years ago
barisusakli 5e5cafafd0 make one socket call to load unread counts 9 years ago
psychobunny 78fe1da00c don't mark all chats as read when just reading the list from dropdown/slidemenu/chats page
strangely enough it was doing it twice
10 years ago
Julian Lam 4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
10 years ago
barisusakli 5cf983dcee check if user exists 10 years ago
barisusakli 8e06ff49f3 check user exists before chat 10 years ago
Julian Lam 097ee5d2a2 user icons in chat modal and page 10 years ago
barisusakli 5950f97f96 more refactors 10 years ago
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.
10 years ago
Julian Lam 34a6275b85 sanitise chat teaser 10 years ago
Barış Soner Uşaklı e62bd2ab9e fix chat status unread etc. 10 years ago
barisusakli 15b667850e closes #3595 10 years ago
barisusakli 5ff2eccbd2 #3593 10 years ago
psychobunny ff83305c6a closes #3593 10 years ago
psychobunny b5c7473c95 get teasers: probably faster, hopefully 10 years ago
psychobunny 08137c5c1e fixed issue where teasers were being assigned to the wrong chat 10 years ago
psychobunny 6aa6510ef6 teasers instead of chatTeasers 10 years ago
psychobunny 71cad7e181 chat teaser 10 years ago
psychobunny 643abb6926 if params.count is passed in, min should be 0 10 years ago
psychobunny e0cfc117c7 changing function signature for messaging.getMessages
@julianlam should this be moved to 0.8.0?
10 years ago
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.
10 years ago
Julian Lam 48af82659e removing the composer from core, out to its own plugin: nodebb-plugin-composer-default, closes #3288 10 years ago
Julian Lam f168566928 fixed incorrect use of username in unsub cta in emails 10 years ago
barisusakli 990b02d0db fix crash @julianlam 10 years ago
barisusakli 95e9d7c798 filter messages 10 years ago
Aziz Khoury 35c426ee1c guard against NULL mids/messages
I've seen them few times during import testing. In case the conversation does not exists.
10 years ago
barisusakli 7632997a99 closes #3045 10 years ago
Julian Lam a5832624d7 added optional parameter to define timestamp when sending a chat message, for use in write API 10 years ago
Julian Lam 0e9a096c25 moved some socket notifications to notifyUser instead of in websocket layer (again, @barisusakli) 10 years ago
Julian Lam d40ca1e3c8 moved a number of sanity checks to also be in canMessage, so they are all consolidated into one exported method. (@barisusakli) 10 years ago
barisusakli 878e548296 renamed end to stop globally
fixed getting favourites for admins
10 years ago
psychobunny 13fa1f6b9a require socket.io only when you need it, shaves off another 0.5s on load 10 years ago
barisusakli 756d03fa62 closes #2745
generate paths on retrieval instead of notification creation
also fix follow notification path
10 years ago
barisusakli bfaf50908d closes #2565 10 years ago
Aziz Khoury 100f31be81 adding mid on the message returned data on addMessage 10 years ago
barisusakli f7c70e2a7a update all socket methods, works on single node 10 years ago
barisusakli c56b9aafff closes #2289, replace Infinity with '+inf' 10 years ago
barisusakli 72bb74cf46 canMessage 10 years ago
barisusakli 595ff1f4b1 closes #2303
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
10 years ago
Julian Lam adfb89a2ad closed #2321 10 years ago
barisusakli 433769eb36 closes #2146
first tab (recent) shows last 50 messages instead of just last 24 hours
10 years ago
Julian Lam ffdc4b5d24 fixed places where site_title was being referenced in config, instead of the correct "title" 10 years ago
barisusakli 72a919e416 time based check 11 years ago
psychobunny f4b5090738 more linting 11 years ago
barisusakli 6aa53b8323 nextStart changes, fixed move topic notification text 11 years ago
barisusakli 4066607388 closes #2052 11 years ago
Julian Lam b80b0e1e99 re: #2098, chat message emails are now opt-in 11 years ago
Julian Lam b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes #2098 11 years ago
barisusakli 9a96458f79 closes #2053 11 years ago
barisusakli 493d0dea1e part 1 of notif refactor 11 years ago
barisusakli b7ee875b12 user.isOnline fix
wont hit db on every user socket connect or user disconnect
11 years ago
barisusakli 851d5c0f32 send uids to isOnline in messaging 11 years ago
Julian Lam 0e28b6f2d5 fixed #1980 -- missing pass-through 11 years ago
barisusakli a2bb8029fe use utils.toISOString 11 years ago
psychobunny db2ef15a09 linting 11 years ago
barisusakli b0b78c3092 minor fix to prevent err when trying to mark null nid 11 years ago
barisusakli 1a68fe5a26 possible fix for #1909 11 years ago
barisusakli d7520508e3 #1375 part1 11 years ago
psychobunny 3f9e6e7d86 closes #1901 11 years ago
barisusakli 5a0e99956e some cleanup 11 years ago
Julian Lam 91ce3634fc fixed #1904 11 years ago
Julian Lam 086ebb7e5a closed #1874 11 years ago
barisusakli c7de38f28e closes #1902
messages:<uid>:<uid> list changed to messages:uid:<uid>:to:<uid>
sortedset
11 years ago
Julian Lam a79bb29216 partial fix to #1874 11 years ago
psychobunny 685cd38162 calculate levenshtein distance between recent chat messages and temporarily ban if determined to be spam 11 years ago
barisusakli 89bb11a58c closes #1880 11 years ago
barisusakli a4975cab33 closes #1825, closes #1674 11 years ago
barisusakli 0f5c1d1892 added messaging hook #1798 11 years ago
Julian Lam 7b3159292f added some utility functions for #1798, fixed chat notifications bodyLong value 11 years ago
Julian Lam 13e4e8dad7 a couple final tweaks to contact list and such... #1788 11 years ago
Julian Lam 4d85df5bae issue #1788 - start 11 years ago
barisusakli c5d9a68b4b closes #1445 11 years ago
barisusakli f9572cc5c7 fixes chat messages 11 years ago
barisusakli d832a6f805 closes #1381 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
barisusakli 3a69a191ff closes #1285 11 years ago
barisusakli 22ba104930 chat style 11 years ago
barisusakli 10d8eed7b9 closes #1229 11 years ago
barisusakli 7873b90caf missing ; 11 years ago
barisusakli 3d6cce44c7 dont display chats with deleted users 11 years ago
barisusakli 284276cbb6 messaging jshint 11 years ago
Baris Soner Usakli a813b3639e another eachSeries gone horray 11 years ago
Baris Soner Usakli 3e92644104 removed console.log 11 years ago
Baris Soner Usakli 6d866ccc86 chat profile picture will go to users profile 11 years ago
psychobunny f8be072b99 chats - isNew flag, and sending in userData.uid now 11 years ago
psychobunny 6ab08e91a2 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 11 years ago
psychobunny 45a5b88824 added filter:messaging.parse hook 11 years ago
Baris Soner Usakli d718eca935 fixes global meta leak, and categories meta require, #873 11 years ago
Baris Soner Usakli 71888adb09 closes #815, closes #816 11 years ago
Baris Soner Usakli 959e6e83ea closes #796 11 years ago
MrWaffle b78dc3eca8 Chat now supports markdown 11 years ago
Baris Soner Usakli ba2f47ead6 closes #690, closes #691 11 years ago
Baris Soner Usakli 097810a057 parseInt fixes getObjects fix 11 years ago