Commit Graph

191 Commits (c2c925cacdfa63a4e70faf37c2734162409847af)

Author SHA1 Message Date
Barış Soner Uşaklı 0519f84734
Promisify modules ()
* 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
Barış Soner Uşaklı 7a1888dfbf closes
Julian Lam 3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking
Barış Soner Uşaklı 6659a520e0 closes
Julian Lam a367b698e3 a bit more integration for
Andrew Rodrigues 9e0189ab34
added notification obj to emailer.send
Andrew Rodrigues a5bae451f2
strip html tags from email subject
Barış Soner Uşaklı 2661a31227 closes
Barış Soner Uşaklı c839d1cbc0 closes closes
Barış Soner Uşaklı dd176dd5f2
Notification delivery ()
* 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
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency
Barış Soner Uşaklı 5dfb2fb83a up themes, fix notif test
Julian Lam c1d7b06ded Fixes
- 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.
Barış Soner Uşaklı c36f25f761 switch .filter to uniq
Baris Usakli 8ea5c060f5 closes
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash
Barış Soner Uşaklı bcc566fb68 remove unnecessary checks
Barış Soner Uşaklı f1b8492164 remove unnecessary checks
Barış Soner Uşaklı 9af252b899 notifications tests
Barış Soner Uşaklı 8920523e06 more tests
Peter Jaszkowiak 5ccb488b02 Fix indents
Peter Jaszkowiak 932ae4e86d Merge branch 'master' into notif-abort
Barış Soner Uşaklı b18b0db5be notifications.js style
Peter Jaszkowiak 19d6386237 Also abort if no uids to push to
Peter Jaszkowiak 3350a89791 Allow aborting notification push
Julian Lam d18cfced96 Merge remote-tracking branch 'origin/master' into develop
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
barisusakli 5a2ff8ed0a closes
Julian Lam 72e77772db Merge branch 'master' into develop
Peter Jaszkowiak 4bb49a7171 ESlint no-unused-vars
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing
Peter Jaszkowiak 1493afee2a ESlint indent
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged,
barisusakli 49267d54b7 topics unread tests
barisusakli f1a933210b notifications.pushGroups
Ben Lubar e151916f1a
Fix followed topic notifications going to the last unread post
Regression introduced in 1b34ebe230.

Bug originally reported in .
barisusakli 1b34ebe230 closes
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
HeeL 3fa1c1f927 Fix space-infix-ops linter rule
barisusakli 038418bf87 batch.processArray
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
barisusakli 598c47b77f fix user icon in notifications
barisusakli 877820779c optimize notifications.getMultiple
Julian Lam 48ade6099c fixes
barisusakli 5cbfa6f212 closes
Barış Soner Uşaklı d839f291ac closes