Add notification on new instance follower (server side)
authorChocobozzz <me@florianbigard.com>
Mon, 8 Apr 2019 15:26:01 +0000 (17:26 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 8 Apr 2019 15:30:48 +0000 (17:30 +0200)
commit883993c81ecc2388d4a4b37b29b81b6de73d264f
treef0f76995b6762b10a0c1a7ccc2b5d952f68014ea
parent0dc647775881eb1378b213a530996cd096de24ea
Add notification on new instance follower (server side)
20 files changed:
server/controllers/api/users/my-notifications.ts
server/initializers/migrations/0360-notification-instance-follower.ts [new file with mode: 0644]
server/lib/activitypub/actor.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/middlewares/validators/user-notifications.ts
server/models/account/user-notification-setting.ts
server/models/account/user-notification.ts
server/tests/api/check-params/user-notifications.ts
server/tests/api/index-1.ts
server/tests/api/notifications/index.ts [new file with mode: 0644]
server/tests/api/notifications/user-notifications.ts [new file with mode: 0644]
server/tests/api/users/index.ts
server/tests/api/users/user-notifications.ts [deleted file]
shared/models/users/user-notification-setting.model.ts
shared/models/users/user-notification.model.ts
shared/utils/users/user-notifications.ts