Commit Graph

82 Commits

Author SHA1 Message Date
psychobunny
643abb6926 if params.count is passed in, min should be 0 2015-08-27 17:37:34 -04:00
psychobunny
e0cfc117c7 changing function signature for messaging.getMessages
@julianlam should this be moved to 0.8.0?
2015-08-27 17:32:33 -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
48af82659e removing the composer from core, out to its own plugin: nodebb-plugin-composer-default, closes #3288 2015-07-03 16:43:36 -04:00
Julian Lam
f168566928 fixed incorrect use of username in unsub cta in emails 2015-05-27 21:36:13 -04:00
barisusakli
990b02d0db fix crash @julianlam 2015-05-22 00:42:24 -04:00
barisusakli
95e9d7c798 filter messages 2015-05-22 00:39:48 -04:00
Aziz Khoury
35c426ee1c guard against NULL mids/messages
I've seen them few times during import testing. In case the conversation does not exists.
2015-05-13 13:02:00 -04:00
barisusakli
7632997a99 closes #3045 2015-04-22 10:41:49 -04:00
Julian Lam
a5832624d7 added optional parameter to define timestamp when sending a chat message, for use in write API 2015-04-17 14:38:01 -04:00
Julian Lam
0e9a096c25 moved some socket notifications to notifyUser instead of in websocket layer (again, @barisusakli) 2015-04-16 20:48:38 -04:00
Julian Lam
d40ca1e3c8 moved a number of sanity checks to also be in canMessage, so they are all consolidated into one exported method. (@barisusakli) 2015-04-16 20:32:16 -04:00
barisusakli
878e548296 renamed end to stop globally
fixed getting favourites for admins
2015-03-31 23:40:58 -04:00
psychobunny
13fa1f6b9a require socket.io only when you need it, shaves off another 0.5s on load 2015-02-23 16:24:43 -05:00
barisusakli
756d03fa62 closes #2745
generate paths on retrieval instead of notification creation
also fix follow notification path
2015-02-19 18:14:38 -05:00
barisusakli
bfaf50908d closes #2565 2014-12-31 14:16:27 -05:00
Aziz Khoury
100f31be81 adding mid on the message returned data on addMessage 2014-12-13 08:19:49 -05:00
barisusakli
f7c70e2a7a update all socket methods, works on single node 2014-11-28 19:06:07 -05:00
barisusakli
c56b9aafff closes #2289, replace Infinity with '+inf' 2014-11-07 19:40:41 -05:00
barisusakli
72bb74cf46 canMessage 2014-11-06 12:57:59 -05:00
barisusakli
595ff1f4b1 closes #2303
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
2014-11-05 18:59:20 -05:00
Julian Lam
adfb89a2ad closed #2321 2014-10-30 17:50:27 -04:00
barisusakli
433769eb36 closes #2146
first tab (recent) shows last 50 messages instead of just last 24 hours
2014-10-30 16:51:15 -04:00
Julian Lam
ffdc4b5d24 fixed places where site_title was being referenced in config, instead of the correct "title" 2014-10-23 15:47:25 -04:00
barisusakli
72a919e416 time based check 2014-10-15 14:49:11 -04:00
psychobunny
f4b5090738 more linting 2014-10-08 12:11:06 -04:00
barisusakli
6aa53b8323 nextStart changes, fixed move topic notification text 2014-10-02 17:46:43 -04:00
barisusakli
4066607388 closes #2052 2014-09-17 16:29:07 -04:00
Julian Lam
b80b0e1e99 re: #2098, chat message emails are now opt-in 2014-09-16 13:54:03 -04:00
Julian Lam
b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes #2098 2014-09-16 13:28:21 -04:00
barisusakli
9a96458f79 closes #2053 2014-09-15 16:26:25 -04:00
barisusakli
493d0dea1e part 1 of notif refactor 2014-09-14 12:07:23 -04:00
barisusakli
b7ee875b12 user.isOnline fix
wont hit db on every user socket connect or user disconnect
2014-09-06 22:08:55 -04:00
barisusakli
851d5c0f32 send uids to isOnline in messaging 2014-08-12 11:36:36 -04:00
Julian Lam
0e28b6f2d5 fixed #1980 -- missing pass-through 2014-08-12 09:17:41 -04:00
barisusakli
a2bb8029fe use utils.toISOString 2014-08-08 15:28:44 -04:00
psychobunny
db2ef15a09 linting 2014-08-07 16:06:23 -04:00
barisusakli
b0b78c3092 minor fix to prevent err when trying to mark null nid 2014-08-03 12:40:46 -04:00
barisusakli
1a68fe5a26 possible fix for #1909 2014-07-29 17:12:02 -04:00
barisusakli
d7520508e3 #1375 part1 2014-07-28 18:18:20 -04:00
psychobunny
3f9e6e7d86 closes #1901 2014-07-28 14:23:25 -04:00
barisusakli
5a0e99956e some cleanup 2014-07-25 18:35:33 -04:00
Julian Lam
91ce3634fc fixed #1904 2014-07-25 16:46:04 -04:00
Julian Lam
086ebb7e5a closed #1874 2014-07-25 15:37:57 -04:00
barisusakli
c7de38f28e closes #1902
messages:<uid>:<uid> list changed to messages:uid:<uid>:to:<uid>
sortedset
2014-07-24 22:38:35 -04:00
Julian Lam
a79bb29216 partial fix to #1874 2014-07-24 22:04:41 -04:00
psychobunny
685cd38162 calculate levenshtein distance between recent chat messages and temporarily ban if determined to be spam 2014-07-23 18:23:03 -04:00
barisusakli
89bb11a58c closes #1880 2014-07-22 12:56:34 -04:00
barisusakli
a4975cab33 closes #1825, closes #1674 2014-07-19 10:33:27 -04:00
barisusakli
0f5c1d1892 added messaging hook #1798 2014-07-09 12:43:02 -04:00