Add new follow, mention and user registered notifs
authorChocobozzz <me@florianbigard.com>
Fri, 4 Jan 2019 07:56:20 +0000 (08:56 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Wed, 9 Jan 2019 10:15:15 +0000 (11:15 +0100)
commitf7cc67b455a12ccae9b0ea16876d166720364357
treeeac2cdbf2e92a16b3eda5d74371c82bd79ae22cb
parentdc13348070d808d0ba3feb56a435b835c2e7e791
Add new follow, mention and user registered notifs
25 files changed:
server/controllers/api/users/index.ts
server/controllers/api/users/my-notifications.ts
server/helpers/custom-validators/activitypub/actor.ts
server/helpers/regexp.ts [new file with mode: 0644]
server/initializers/migrations/0315-user-notifications.ts
server/lib/activitypub/process/process-accept.ts
server/lib/activitypub/process/process-follow.ts
server/lib/emailer.ts
server/lib/job-queue/handlers/activitypub-follow.ts
server/lib/notifier.ts
server/lib/user.ts
server/models/account/account-blocklist.ts
server/models/account/user-notification-setting.ts
server/models/account/user-notification.ts
server/models/account/user.ts
server/models/video/video-comment.ts
server/tests/api/check-params/user-notifications.ts
server/tests/api/users/user-notifications.ts
server/tests/helpers/comment-model.ts [new file with mode: 0644]
server/tests/helpers/index.ts
shared/models/users/user-notification-setting.model.ts
shared/models/users/user-notification.model.ts
shared/models/users/user-right.enum.ts
shared/models/users/user-role.ts
shared/utils/users/user-notifications.ts