]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - shared/extra-utils/server/config-command.ts
Made the video channels limit (per user) server-wide configurable (#4491)
authorFlorian CUNY <poslovitch@bentobox.world>
Tue, 26 Oct 2021 14:42:10 +0000 (16:42 +0200)
committerGitHub <noreply@github.com>
Tue, 26 Oct 2021 14:42:10 +0000 (16:42 +0200)
commit754b6f5f41bdc40aaaeefdb3c351666c305abe20
treed36c8081f3137f1e2c9763879f71d41aa9a3efc1
parent615836dbd4f48fc563551446529fa9d3b14dc329
Made the video channels limit (per user) server-wide configurable (#4491)

* Made the video channels limit (per user) server-wide configurable

Implements https://github.com/Chocobozzz/PeerTube/issues/3092

Also added a "quota bar" in the account's settings page

* Fixed lint errors

* Another pass at fixing lint errors

* Applied code suggestions

* Removed 'video channels quota'
19 files changed:
client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts
client/src/app/shared/form-validators/custom-config-validators.ts
client/src/app/shared/shared-main/shared-main.module.ts
config/default.yaml
config/production.yaml.example
server/controllers/api/config.ts
server/initializers/checker-before-init.ts
server/initializers/config.ts
server/initializers/constants.ts
server/lib/server-config-manager.ts
server/middlewares/validators/config.ts
server/middlewares/validators/videos/video-channels.ts
server/models/video/video-channel.ts
server/tests/api/check-params/config.ts
server/tests/api/server/config.ts
shared/extra-utils/server/config-command.ts
shared/models/server/custom-config.model.ts
shared/models/server/server-config.model.ts