Commit Graph

204 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
6f738c2b44 feat: #7743 notifications 2019-07-12 21:01:48 -04:00
Barış Soner Uşaklı
b24ce97602 feat: #7743, user/approval, user/auth 2019-07-11 23:43:00 -04:00
Barış Soner Uşaklı
198d05875f feat: cleanup, use bulk 2019-06-24 21:36:20 -04:00
Barış Soner Uşaklı
ede060a646 feat: add hook for user notifications, closes #7672 2019-06-13 10:18:02 -04:00
Julian Lam
b32da57faf fix: #7604 shortened CTA text and added custom text for some notifs (#7605)
* fix: #7604 shortened CTA text and added custom text for some notifs

Specifically, new-reply and new-chat have different CTA text as they
do not go to the forum home like other email templates send users to.

* fix: minor optimization as suggested by @barisusakli
2019-05-16 09:43:06 -04:00
Barış Soner Uşaklı
6e69a9ab31 fix: merge post notifs 2019-01-31 12:54:23 -05:00
Peter Jaszkowiak
e1ca2d81f9 refactor: use loash when possible (#7230) 2019-01-12 14:28:53 -05:00
Baris Usakli
f4ea2c43ab feat: #7120 2018-12-18 13:56:06 -05:00
Baris Usakli
96c1dc6276 unescape email subject 2018-12-05 17:38:18 -05:00
oh
d7c55bc3f7 feat(email): don't escape html in notification bodies. (#7042)
allows for post replies, etc. to show the formatting of the orginal 
post, rather than looking garbled.

closes #7034
2018-12-05 12:46:41 -05:00
Barış Soner Uşaklı
69bb3293ee misc fixes
handle spider uids properly
2018-11-12 00:20:44 -05:00
Barış Soner Uşaklı
b2b33ffa57 topics data refactor 2018-10-20 16:10:02 -04:00
Barış Soner Uşaklı
26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Barış Soner Uşaklı
0519f84734 Promisify modules (#6723)
* WIP promisify

* promisify psql

* ability to skip some keys

* dont promisify client object

* remove async

* clone entire module so it has all properties

* add shim for node 6

* ignore sessionStore as well

* ignore pool on psql
2018-08-31 11:04:42 -04:00
Barış Soner Uşaklı
7a1888dfbf closes #6514 2018-05-30 16:29:44 -04:00
Julian Lam
3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking 2018-04-26 09:59:37 -04:00
Barış Soner Uşaklı
6659a520e0 closes #6465 2018-04-22 09:10:02 -04:00
Julian Lam
a367b698e3 a bit more integration for #6463 2018-04-20 13:49:23 -04:00
Andrew Rodrigues
9e0189ab34 added notification obj to emailer.send 2018-01-30 20:43:30 -05:00
Andrew Rodrigues
a5bae451f2 strip html tags from email subject 2018-01-30 19:53:38 -05:00
Barış Soner Uşaklı
2661a31227 closes #6202 2017-12-29 13:27:12 -05:00
Barış Soner Uşaklı
c839d1cbc0 closes #6080 closes #6078 2017-11-17 08:10:25 -05:00
Barış Soner Uşaklı
dd176dd5f2 Notification delivery (#6072)
* ability for users to choose how they receive notifications

add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)

* change var name to types

* cleanup

* add event types for privileged users

* remove unused language keys

* fix uids check

* changed if statements

* upgrade script to preserver old settings
2017-11-15 21:35:10 -05:00
Peter Jaszkowiak
e609e497b3 Provide more error information to logs
Provides full stack instead of just message
2017-11-01 18:59:48 -06:00
Peter Jaszkowiak
46fafb20b9 Remove string.js dependency 2017-10-13 21:02:41 -06:00
Barış Soner Uşaklı
5dfb2fb83a up themes, fix notif test 2017-08-18 19:00:48 -04:00
Julian Lam
c1d7b06ded Fixes #5873
- Notifications.getMultiple now takes an optional uid parameter
- If a notification link in dropdown points to a topic and you're
  in said topic, you will be scrolled to the post instead of
  ajaxified to it.
2017-08-18 16:30:54 -04:00
Barış Soner Uşaklı
c36f25f761 switch .filter to uniq 2017-06-25 19:05:13 -04:00
Baris Usakli
8ea5c060f5 closes #5754 2017-06-13 15:20:31 -04:00
Peter Jaszkowiak
3c2d4fe649 Switch from underscore to lodash 2017-05-27 14:51:45 -06:00
Barış Soner Uşaklı
bcc566fb68 remove unnecessary checks 2017-05-27 00:47:04 -04:00
Barış Soner Uşaklı
f1b8492164 remove unnecessary checks 2017-05-27 00:30:07 -04:00
Barış Soner Uşaklı
9af252b899 notifications tests 2017-05-20 21:01:55 -04:00
Barış Soner Uşaklı
8920523e06 more tests 2017-05-13 21:45:54 -04:00
Peter Jaszkowiak
5ccb488b02 Fix indents 2017-05-09 11:45:09 -06:00
Peter Jaszkowiak
932ae4e86d Merge branch 'master' into notif-abort 2017-05-09 11:31:58 -06:00
Barış Soner Uşaklı
b18b0db5be notifications.js style 2017-05-08 20:36:43 -04:00
Peter Jaszkowiak
19d6386237 Also abort if no uids to push to 2017-04-26 10:48:08 -06:00
Peter Jaszkowiak
3350a89791 Allow aborting notification push 2017-04-25 15:27:12 -06:00
Julian Lam
d18cfced96 Merge remote-tracking branch 'origin/master' into develop 2017-04-12 23:57:14 -04:00
Peter Jaszkowiak
1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
barisusakli
5a2ff8ed0a closes #5527 2017-03-14 23:03:09 +03:00
Julian Lam
72e77772db Merge branch 'master' into develop 2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
4bb49a7171 ESlint no-unused-vars 2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
1493afee2a ESlint indent 2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00