]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - server/tests/api/videos/videos-history.ts
Move to eslint contain
authorChocobozzz <me@florianbigard.com>
Fri, 31 Jan 2020 15:56:52 +0000 (16:56 +0100)
committerChocobozzz <me@florianbigard.com>
Mon, 3 Feb 2020 07:31:02 +0000 (08:31 +0100)
commita15871560f80e07386c1dabb8370cd2664ecfd1f
tree44440e140c9e43b0d7f97ade777a76e649e0553d
parenta22046d166805222ca76060e471b6cb3d419a32d
Move to eslint
390 files changed:
.eslintrc.json [new file with mode: 0644]
package.json
scripts/ci.sh
scripts/create-import-video-file-job.ts
scripts/create-transcoding-job.ts
server/controllers/activitypub/client.ts
server/controllers/activitypub/inbox.ts
server/controllers/api/accounts.ts
server/controllers/api/config.ts
server/controllers/api/jobs.ts
server/controllers/api/overviews.ts
server/controllers/api/server/debug.ts
server/controllers/api/server/follows.ts
server/controllers/api/server/logs.ts
server/controllers/api/server/redundancy.ts
server/controllers/api/users/me.ts
server/controllers/api/users/my-subscriptions.ts
server/controllers/api/video-channel.ts
server/controllers/api/video-playlist.ts
server/controllers/api/videos/import.ts
server/controllers/api/videos/index.ts
server/controllers/client.ts
server/controllers/static.ts
server/controllers/tracker.ts
server/helpers/activitypub.ts
server/helpers/audit-logger.ts
server/helpers/core-utils.ts
server/helpers/custom-jsonld-signature.ts
server/helpers/custom-validators/activitypub/actor.ts
server/helpers/custom-validators/activitypub/video-comments.ts
server/helpers/custom-validators/misc.ts
server/helpers/custom-validators/plugins.ts
server/helpers/custom-validators/user-notifications.ts
server/helpers/custom-validators/video-abuses.ts
server/helpers/custom-validators/video-captions.ts
server/helpers/custom-validators/video-imports.ts
server/helpers/custom-validators/video-playlists.ts
server/helpers/custom-validators/videos.ts
server/helpers/express-utils.ts
server/helpers/ffmpeg-utils.ts
server/helpers/logger.ts
server/helpers/regexp.ts
server/helpers/register-ts-paths.ts
server/helpers/signup.ts
server/helpers/utils.ts
server/helpers/webtorrent.ts
server/helpers/youtube-dl.ts
server/initializers/checker-after-init.ts
server/initializers/checker-before-init.ts
server/initializers/config.ts
server/initializers/constants.ts
server/initializers/database.ts
server/initializers/migrations/0005-email-pod.ts
server/initializers/migrations/0010-email-user.ts
server/initializers/migrations/0015-video-views.ts
server/initializers/migrations/0020-video-likes.ts
server/initializers/migrations/0025-video-dislikes.ts
server/initializers/migrations/0030-video-category.ts
server/initializers/migrations/0035-video-licence.ts
server/initializers/migrations/0040-video-nsfw.ts
server/initializers/migrations/0045-user-display-nsfw.ts
server/initializers/migrations/0050-video-language.ts
server/initializers/migrations/0055-video-uuid.ts
server/initializers/migrations/0060-video-file.ts
server/initializers/migrations/0065-video-file-size.ts
server/initializers/migrations/0070-user-video-quota.ts
server/initializers/migrations/0075-video-resolutions.ts
server/initializers/migrations/0080-video-channels.ts
server/initializers/migrations/0085-user-role.ts
server/initializers/migrations/0090-videos-description.ts
server/initializers/migrations/0095-videos-privacy.ts
server/initializers/migrations/0100-activitypub.ts
server/initializers/migrations/0105-server-mail.ts
server/initializers/migrations/0110-server-key.ts
server/initializers/migrations/0115-account-avatar.ts
server/initializers/migrations/0120-video-null.ts
server/initializers/migrations/0125-table-lowercase.ts
server/initializers/migrations/0130-user-autoplay-video.ts
server/initializers/migrations/0135-video-channel-actor.ts
server/initializers/migrations/0140-actor-url.ts
server/initializers/migrations/0145-delete-author.ts
server/initializers/migrations/0150-avatar-cascade.ts
server/initializers/migrations/0155-video-comments-enabled.ts
server/initializers/migrations/0160-account-route.ts
server/initializers/migrations/0165-video-route.ts
server/initializers/migrations/0170-actor-follow-score.ts
server/initializers/migrations/0175-actor-follow-counts.ts
server/initializers/migrations/0180-job-table-delete.ts
server/initializers/migrations/0185-video-share-url.ts
server/initializers/migrations/0190-video-comment-unique-url.ts
server/initializers/migrations/0195-support.ts
server/initializers/migrations/0200-video-published-at.ts
server/initializers/migrations/0205-user-nsfw-policy.ts
server/initializers/migrations/0210-video-language.ts
server/initializers/migrations/0215-video-support-length.ts
server/initializers/migrations/0255-video-blacklist-reason.ts
server/initializers/migrations/0285-description-support.ts
server/initializers/migrations/0290-account-video-rate-url.ts
server/initializers/migrations/0295-video-file-extname.ts
server/initializers/migrations/0300-user-videos-history-enabled.ts
server/initializers/migrations/0305-fix-unfederated-videos.ts
server/initializers/migrations/0310-drop-unused-video-indexes.ts
server/initializers/migrations/0315-user-notifications.ts
server/initializers/migrations/0320-blacklist-unfederate.ts
server/initializers/migrations/0325-video-abuse-fields.ts
server/initializers/migrations/0330-video-streaming-playlist.ts
server/initializers/migrations/0335-video-downloading-enabled.ts
server/initializers/migrations/0340-add-originally-published-at.ts
server/initializers/migrations/0345-video-playlists.ts
server/initializers/migrations/0350-video-blacklist-type.ts
server/initializers/migrations/0355-p2p-peer-version.ts
server/initializers/migrations/0360-notification-instance-follower.ts
server/initializers/migrations/0365-user-admin-flags.ts
server/initializers/migrations/0370-thumbnail.ts
server/initializers/migrations/0375-account-description.ts
server/initializers/migrations/0380-cleanup-timestamps.ts
server/initializers/migrations/0385-remove-actor-uuid.ts
server/initializers/migrations/0390-user-pending-email.ts
server/initializers/migrations/0395-user-video-languages.ts
server/initializers/migrations/0400-user-theme.ts
server/initializers/migrations/0405-plugin.ts
server/initializers/migrations/0410-video-playlist-element.ts
server/initializers/migrations/0415-thumbnail-auto-generated.ts
server/initializers/migrations/0420-avatar-lazy.ts
server/initializers/migrations/0425-nullable-actor-fields.ts
server/initializers/migrations/0430-auto-follow-notification-setting.ts
server/initializers/migrations/0435-user-modals.ts
server/initializers/migrations/0440-user-auto-play-next-video.ts
server/initializers/migrations/0445-shared-inbox-optional.ts
server/initializers/migrations/0450-streaming-playlist-files.ts
server/initializers/migrations/0455-soft-delete-video-comments.ts
server/initializers/migrations/0460-user-playlist-autoplay.ts
server/initializers/migrations/0465-thumbnail-file-url-length.ts
server/initializers/migrations/0470-cleaup-indexes.ts
server/initializers/migrations/0475-redundancy-expires-on.ts
server/initializers/migrations/0480-caption-file-url.ts
server/initializers/migrator.ts
server/lib/activitypub/actor.ts
server/lib/activitypub/crawl.ts
server/lib/activitypub/follow.ts
server/lib/activitypub/send/send-accept.ts
server/lib/activitypub/send/send-create.ts
server/lib/activitypub/send/send-dislike.ts
server/lib/activitypub/send/send-flag.ts
server/lib/activitypub/send/send-like.ts
server/lib/activitypub/send/send-reject.ts
server/lib/activitypub/send/send-undo.ts
server/lib/activitypub/send/send-update.ts
server/lib/activitypub/send/utils.ts
server/lib/activitypub/video-comments.ts
server/lib/activitypub/video-rates.ts
server/lib/activitypub/videos.ts
server/lib/client-html.ts
server/lib/emailer.ts
server/lib/files-cache/videos-preview-cache.ts
server/lib/job-queue/handlers/utils/activitypub-http-utils.ts
server/lib/job-queue/handlers/video-file-import.ts
server/lib/job-queue/handlers/video-import.ts
server/lib/job-queue/handlers/video-transcoding.ts
server/lib/job-queue/job-queue.ts
server/lib/moderation.ts
server/lib/notifier.ts
server/lib/plugins/plugin-index.ts
server/lib/plugins/plugin-manager.ts
server/lib/redis.ts
server/lib/schedulers/auto-follow-index-instances.ts
server/lib/schedulers/plugins-check-scheduler.ts
server/lib/schedulers/remove-old-views-scheduler.ts
server/lib/schedulers/videos-redundancy-scheduler.ts
server/lib/thumbnail.ts
server/lib/user.ts
server/lib/video-blacklist.ts
server/lib/video-channel.ts
server/lib/video-comment.ts
server/middlewares/activitypub.ts
server/middlewares/csp.ts
server/middlewares/dnt.ts
server/middlewares/oauth.ts
server/middlewares/sort.ts
server/middlewares/validators/avatar.ts
server/middlewares/validators/config.ts
server/middlewares/validators/feeds.ts
server/middlewares/validators/redundancy.ts
server/middlewares/validators/users.ts
server/middlewares/validators/videos/video-captions.ts
server/middlewares/validators/videos/video-comments.ts
server/middlewares/validators/videos/video-imports.ts
server/middlewares/validators/videos/video-playlists.ts
server/middlewares/validators/videos/video-rates.ts
server/middlewares/validators/videos/videos.ts
server/models/account/account-video-rate.ts
server/models/account/account.ts
server/models/account/user-notification.ts
server/models/account/user.ts
server/models/activitypub/actor-follow.ts
server/models/activitypub/actor.ts
server/models/oauth/oauth-token.ts
server/models/redundancy/video-redundancy.ts
server/models/server/plugin.ts
server/models/utils.ts
server/models/video/thumbnail.ts
server/models/video/video-abuse.ts
server/models/video/video-caption.ts
server/models/video/video-channel.ts
server/models/video/video-comment.ts
server/models/video/video-format-utils.ts
server/models/video/video-playlist-element.ts
server/models/video/video-playlist.ts
server/models/video/video.ts
server/tests/api/activitypub/client.ts
server/tests/api/activitypub/fetch.ts
server/tests/api/activitypub/helpers.ts
server/tests/api/activitypub/refresher.ts
server/tests/api/activitypub/security.ts
server/tests/api/check-params/accounts.ts
server/tests/api/check-params/blocklist.ts
server/tests/api/check-params/config.ts
server/tests/api/check-params/contact-form.ts
server/tests/api/check-params/debug.ts
server/tests/api/check-params/follows.ts
server/tests/api/check-params/jobs.ts
server/tests/api/check-params/logs.ts
server/tests/api/check-params/plugins.ts
server/tests/api/check-params/redundancy.ts
server/tests/api/check-params/search.ts
server/tests/api/check-params/services.ts
server/tests/api/check-params/user-notifications.ts
server/tests/api/check-params/user-subscriptions.ts
server/tests/api/check-params/users.ts
server/tests/api/check-params/video-abuses.ts
server/tests/api/check-params/video-blacklist.ts
server/tests/api/check-params/video-captions.ts
server/tests/api/check-params/video-channels.ts
server/tests/api/check-params/video-comments.ts
server/tests/api/check-params/video-imports.ts
server/tests/api/check-params/video-playlists.ts
server/tests/api/check-params/videos-filter.ts
server/tests/api/check-params/videos-history.ts
server/tests/api/check-params/videos.ts
server/tests/api/notifications/user-notifications.ts
server/tests/api/redundancy/manage-redundancy.ts
server/tests/api/redundancy/redundancy.ts
server/tests/api/search/search-activitypub-video-channels.ts
server/tests/api/search/search-activitypub-videos.ts
server/tests/api/search/search-videos.ts
server/tests/api/server/auto-follows.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/follows-moderation.ts
server/tests/api/server/follows.ts
server/tests/api/server/handle-down.ts
server/tests/api/server/jobs.ts
server/tests/api/server/logs.ts
server/tests/api/server/no-client.ts
server/tests/api/server/plugins.ts
server/tests/api/server/reverse-proxy.ts
server/tests/api/server/stats.ts
server/tests/api/server/tracker.ts
server/tests/api/users/blocklist.ts
server/tests/api/users/user-subscriptions.ts
server/tests/api/users/users-multiple-servers.ts
server/tests/api/users/users-verification.ts
server/tests/api/users/users.ts
server/tests/api/videos/audio-only.ts
server/tests/api/videos/multiple-servers.ts
server/tests/api/videos/services.ts
server/tests/api/videos/single-server.ts
server/tests/api/videos/video-abuse.ts
server/tests/api/videos/video-blacklist.ts
server/tests/api/videos/video-captions.ts
server/tests/api/videos/video-change-ownership.ts
server/tests/api/videos/video-channels.ts
server/tests/api/videos/video-comments.ts
server/tests/api/videos/video-description.ts
server/tests/api/videos/video-hls.ts
server/tests/api/videos/video-imports.ts
server/tests/api/videos/video-nsfw.ts
server/tests/api/videos/video-playlist-thumbnails.ts
server/tests/api/videos/video-playlists.ts
server/tests/api/videos/video-privacy.ts
server/tests/api/videos/video-schedule-update.ts
server/tests/api/videos/video-transcoder.ts
server/tests/api/videos/videos-filter.ts
server/tests/api/videos/videos-history.ts
server/tests/api/videos/videos-overview.ts
server/tests/api/videos/videos-views-cleaner.ts
server/tests/cli/create-import-video-file-job.ts
server/tests/cli/create-transcoding-job.ts
server/tests/cli/optimize-old-videos.ts
server/tests/cli/peertube.ts
server/tests/cli/plugins.ts
server/tests/cli/prune-storage.ts
server/tests/cli/update-host.ts
server/tests/client.ts
server/tests/feeds/feeds.ts
server/tests/helpers/comment-model.ts
server/tests/helpers/core-utils.ts
server/tests/helpers/request.ts
server/tests/misc-endpoints.ts
server/tests/plugins/action-hooks.ts
server/tests/plugins/filter-hooks.ts
server/tests/plugins/translations.ts
server/tests/plugins/video-constants.ts
server/tests/real-world/populate-database.ts [deleted file]
server/tests/real-world/real-world.ts [deleted file]
server/tools/cli.ts
server/tools/peertube-auth.ts
server/tools/peertube-import-videos.ts
server/tools/peertube-plugins.ts
server/tools/peertube-redundancy.ts
server/tools/peertube-repl.ts
server/tools/peertube-upload.ts
server/tools/peertube-watch.ts
server/tools/peertube.ts
server/typings/models/account/account-blocklist.ts
server/typings/models/account/account.ts
server/typings/models/account/actor-follow.ts
server/typings/models/account/actor.ts
server/typings/models/account/avatar.ts
server/typings/models/oauth/oauth-token.ts
server/typings/models/server/plugin.ts
server/typings/models/server/server-blocklist.ts
server/typings/models/server/server.ts
server/typings/models/user/user-notification.ts
server/typings/models/user/user.ts
server/typings/models/video/schedule-video-update.ts
server/typings/models/video/video-abuse.ts
server/typings/models/video/video-blacklist.ts
server/typings/models/video/video-caption.ts
server/typings/models/video/video-change-ownership.ts
server/typings/models/video/video-channels.ts
server/typings/models/video/video-comment.ts
server/typings/models/video/video-file.ts
server/typings/models/video/video-import.ts
server/typings/models/video/video-playlist-element.ts
server/typings/models/video/video-playlist.ts
server/typings/models/video/video-rate.ts
server/typings/models/video/video-redundancy.ts
server/typings/models/video/video-share.ts
server/typings/models/video/video-streaming-playlist.ts
server/typings/models/video/video.ts
server/typings/utils.ts
shared/core-utils/miscs/miscs.ts
shared/extra-utils/instances-index/mock-instances-index.ts
shared/extra-utils/miscs/miscs.ts
shared/extra-utils/miscs/sql.ts
shared/extra-utils/requests/requests.ts
shared/extra-utils/search/videos.ts
shared/extra-utils/server/clients.ts
shared/extra-utils/server/contact-form.ts
shared/extra-utils/server/follows.ts
shared/extra-utils/server/jobs.ts
shared/extra-utils/server/plugins.ts
shared/extra-utils/server/redundancy.ts
shared/extra-utils/server/servers.ts
shared/extra-utils/users/accounts.ts
shared/extra-utils/users/blocklist.ts
shared/extra-utils/users/login.ts
shared/extra-utils/users/user-notifications.ts
shared/extra-utils/users/users.ts
shared/extra-utils/videos/video-blacklist.ts
shared/extra-utils/videos/video-captions.ts
shared/extra-utils/videos/video-channels.ts
shared/extra-utils/videos/video-comments.ts
shared/extra-utils/videos/video-imports.ts
shared/extra-utils/videos/video-playlists.ts
shared/extra-utils/videos/video-streaming-playlists.ts
shared/extra-utils/videos/videos.ts
shared/models/activitypub/activity.ts
shared/models/activitypub/activitypub-actor.ts
shared/models/activitypub/activitypub-signature.ts
shared/models/activitypub/objects/cache-file-object.ts
shared/models/activitypub/objects/common-objects.ts
shared/models/activitypub/objects/video-abuse-object.ts
shared/models/activitypub/objects/video-torrent-object.ts
shared/models/activitypub/objects/view-object.ts
shared/models/i18n/i18n.ts
shared/models/nodeinfo/index.d.ts
shared/models/plugins/peertube-plugin-latest-version.model.ts
shared/models/plugins/plugin-package-json.model.ts
shared/models/plugins/server-hook.model.ts
shared/models/redundancy/video-redundancy.model.ts
shared/models/server/custom-config.model.ts
shared/models/server/job.model.ts
shared/models/server/server-config.model.ts
shared/models/users/user.model.ts
tslint.json [deleted file]
yarn.lock