* 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
* Fix if cover URL is external URL
Currently, when cover:url is an external URL, it's concat with relative path
* Fix if cover URL is external URL
Currently, when cover:url is an external URL, it's concat with relative path [fix barisusakli]
* Fix missing '
* Add User (uid) Welcome Notification
* Revert "Fix missing '"
This reverts commit 2da2d98ae295f1d7db63076587a3feae530dbe64.
* Revert "Revert "Fix missing '""
This reverts commit f4fca746e89d8c8b9515515bdbc42d449ebe0194.
* Revert "Add User (uid) Welcome Notification"
This reverts commit 831e291e78f27f2ac9382612772126c36490d36b.
* Fix eslint doesnt like nesting ternary operators
* fix space after if
* Better fix for #5993
Also a nice newline so the line doesn't get overwritten when running `./nodebb upgrade`
* Optimizations for custom homepage
Move it into a separate module