mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
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>
This commit is contained in:
@@ -290,7 +290,7 @@ describe('Test users', function () {
|
||||
expect(user.account.description).to.be.null
|
||||
}
|
||||
|
||||
expect(userMe.adminFlags).to.be.undefined
|
||||
expect(userMe.adminFlags).to.equal(UserAdminFlag.BYPASS_VIDEO_AUTO_BLACKLIST)
|
||||
expect(userGet.adminFlags).to.equal(UserAdminFlag.BYPASS_VIDEO_AUTO_BLACKLIST)
|
||||
|
||||
expect(userMe.specialPlaylists).to.have.lengthOf(1)
|
||||
|
||||
Reference in New Issue
Block a user