]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - shared/models/plugins/client/client-hook.model.ts
Alert user for low quota and video auto-block on upload page (#4336)
authorMs Kimsible <1877318+kimsible@users.noreply.github.com>
Wed, 25 Aug 2021 09:38:10 +0000 (11:38 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Aug 2021 09:38:10 +0000 (11:38 +0200)
commit4e1592daa41f81667f914f37d36795e8c6c046c3
tree8bed3af237b6d5d4da08af989c3824a168e6f3b6
parent644800ef5588e08da2a8227f6d72751d3dca85db
Alert user for low quota and video auto-block on upload page (#4336)

* Replace wording of instance contact

* Add contact-us button to no-quota alert on upload page

* Add alert for accounts with auto-blocked videos on upload page

* Add alert for accounts without enough quota + refacto on upload page

* Using ng-container and ng-template

* Add alert for daily quota

* Add hook filter for upload page alert messages

* Add instance name as subtitle in contact modal

* Fix eslint max-len on  string

* Fix missing word in quota left daily message - upload page

Co-authored-by: Kimsible <kimsible@users.noreply.github.com>
client/src/app/+about/about-instance/about-instance.component.html
client/src/app/+about/about-instance/contact-admin-modal.component.html
client/src/app/+about/about-instance/contact-admin-modal.component.scss
client/src/app/+videos/+video-edit/video-add.component.html
client/src/app/+videos/+video-edit/video-add.component.scss
client/src/app/+videos/+video-edit/video-add.component.ts
client/src/app/core/users/user.model.ts
server/models/user/user.ts
server/tests/api/users/users.ts
shared/models/plugins/client/client-hook.model.ts