Add ability to limit videos history size
authorChocobozzz <me@florianbigard.com>
Thu, 11 Apr 2019 13:38:53 +0000 (15:38 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 11 Apr 2019 13:38:53 +0000 (15:38 +0200)
commit8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98
treee04f1da52f9377cf6ce820425c0de6e57ab57fc6
parent76062d9f96e06a23a2efc8a727ea9c5394d21466
Add ability to limit videos history size
14 files changed:
config/default.yaml
config/production.yaml.example
server.ts
server/controllers/api/users/my-history.ts
server/helpers/core-utils.ts
server/helpers/custom-validators/videos.ts
server/initializers/config.ts
server/initializers/constants.ts
server/lib/schedulers/abstract-scheduler.ts
server/lib/schedulers/remove-old-history-scheduler.ts [new file with mode: 0644]
server/middlewares/cache.ts
server/models/account/user-video-history.ts
server/tests/api/videos/videos-history.ts
shared/utils/videos/videos.ts