Add user notification base code
authorChocobozzz <me@florianbigard.com>
Wed, 26 Dec 2018 09:36:24 +0000 (10:36 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Wed, 9 Jan 2019 10:15:15 +0000 (11:15 +0100)
commitcef534ed53e4518fe0acf581bfe880788d42fc36
tree115b51ea5136849a2336d44915c7780649f25dc2
parent1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3
Add user notification base code
52 files changed:
package.json
server.ts
server/controllers/api/users/index.ts
server/controllers/api/users/my-notifications.ts [new file with mode: 0644]
server/controllers/api/videos/abuse.ts
server/controllers/api/videos/blacklist.ts
server/controllers/api/videos/comment.ts
server/controllers/api/videos/index.ts
server/controllers/feeds.ts
server/controllers/tracker.ts
server/helpers/custom-validators/misc.ts
server/helpers/custom-validators/user-notifications.ts [new file with mode: 0644]
server/initializers/constants.ts
server/initializers/database.ts
server/lib/activitypub/process/process-announce.ts
server/lib/activitypub/process/process-create.ts
server/lib/activitypub/video-comments.ts
server/lib/activitypub/videos.ts
server/lib/client-html.ts
server/lib/emailer.ts
server/lib/job-queue/handlers/video-file.ts
server/lib/job-queue/handlers/video-import.ts
server/lib/notifier.ts [new file with mode: 0644]
server/lib/oauth-model.ts
server/lib/peertube-socket.ts [new file with mode: 0644]
server/lib/schedulers/update-videos-scheduler.ts
server/lib/user.ts
server/middlewares/oauth.ts
server/middlewares/validators/sort.ts
server/middlewares/validators/user-history.ts
server/middlewares/validators/user-notifications.ts [new file with mode: 0644]
server/models/account/user-notification-setting.ts [new file with mode: 0644]
server/models/account/user-notification.ts [new file with mode: 0644]
server/models/account/user.ts
server/models/activitypub/actor-follow.ts
server/models/activitypub/actor.ts
server/models/video/video-abuse.ts
server/models/video/video-blacklist.ts
server/models/video/video-comment.ts
server/models/video/video.ts
server/tests/api/check-params/index.ts
server/tests/api/check-params/user-notifications.ts [new file with mode: 0644]
server/tests/api/users/index.ts
server/tests/api/users/user-notifications.ts [new file with mode: 0644]
shared/models/users/index.ts
shared/models/users/user-notification-setting.model.ts [new file with mode: 0644]
shared/models/users/user-notification.model.ts [new file with mode: 0644]
shared/models/users/user.model.ts
shared/utils/server/jobs.ts
shared/utils/socket/socket-io.ts [new file with mode: 0644]
shared/utils/users/user-notifications.ts [new file with mode: 0644]
yarn.lock