]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - server/helpers/custom-validators/videos.ts
emit more specific status codes on video upload (#3423)
authorRigel Kent <sendmemail@rigelk.eu>
Tue, 8 Dec 2020 20:16:10 +0000 (21:16 +0100)
committerGitHub <noreply@github.com>
Tue, 8 Dec 2020 20:16:10 +0000 (21:16 +0100)
commitf2eb23cd87cf32b8fe545178143b5f49e06a58da
treeaf7d59945af70e28fd85047e2c688c59a908f548
parentc977fd3ec931c059111ddb2b8d6ddbb20b6b99a1
emit more specific status codes on video upload (#3423)

- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
53 files changed:
client/src/app/+about/about-instance/contact-admin-modal.component.ts
client/src/app/+accounts/accounts.component.ts
client/src/app/+my-library/+my-video-channels/my-video-channel-create.component.ts
client/src/app/+video-channels/video-channels.component.ts
client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
client/src/app/+videos/+video-watch/video-watch.component.ts
client/src/app/core/auth/auth.service.ts
client/src/app/core/rest/rest-extractor.service.ts
client/src/standalone/videos/embed.ts
server/controllers/client.ts
server/controllers/static.ts
server/helpers/custom-validators/misc.ts
server/helpers/custom-validators/videos.ts
server/helpers/youtube-dl.ts
server/lib/activitypub/actor.ts
server/lib/activitypub/playlist.ts
server/lib/activitypub/videos.ts
server/lib/client-html.ts
server/middlewares/cache.ts
server/middlewares/validators/videos/videos.ts
server/tests/api/activitypub/client.ts
server/tests/api/activitypub/refresher.ts
server/tests/api/check-params/accounts.ts
server/tests/api/check-params/contact-form.ts
server/tests/api/check-params/users.ts
server/tests/api/check-params/videos.ts
server/tests/api/live/live-save-replay.ts
server/tests/api/live/live.ts
server/tests/api/server/config.ts
server/tests/api/server/contact-form.ts
server/tests/api/server/email.ts
server/tests/api/server/follow-constraints.ts
server/tests/api/server/handle-down.ts
server/tests/api/server/no-client.ts
server/tests/api/server/reverse-proxy.ts
server/tests/api/videos/multiple-servers.ts
server/tests/api/videos/video-change-ownership.ts
server/tests/api/videos/video-hls.ts
server/tests/api/videos/video-playlists.ts
server/tests/api/videos/video-privacy.ts
server/tests/api/videos/videos-history.ts
server/tests/cli/reset-password.ts
server/tests/feeds/feeds.ts
server/tests/plugins/filter-hooks.ts
server/tests/plugins/video-constants.ts
server/tools/peertube-redundancy.ts
shared/core-utils/miscs/http-error-codes.ts
shared/extra-utils/server/activitypub.ts
shared/extra-utils/server/redundancy.ts
shared/extra-utils/users/login.ts
shared/extra-utils/videos/video-history.ts
shared/extra-utils/videos/videos.ts
support/doc/api/openapi.yaml