Don't expose constants directly in initializers/
authorChocobozzz <me@florianbigard.com>
Thu, 11 Apr 2019 12:26:41 +0000 (14:26 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 11 Apr 2019 12:26:41 +0000 (14:26 +0200)
commit74dc3bca2b14f5fd3fe80c394dfc34177a46db77
treee4b307beb6255420c9993a2aed470438317f100f
parent6dd9de95dfa39bd5c1faed00d1dbd52cd112bae0
Don't expose constants directly in initializers/
114 files changed:
scripts/danger/clean/cleaner.ts
scripts/optimize-old-videos.ts
scripts/parse-log.ts
scripts/prune-storage.ts
scripts/update-host.ts
server.ts
server/controllers/activitypub/client.ts
server/controllers/api/config.ts
server/controllers/api/overviews.ts
server/controllers/api/server/follows.ts
server/controllers/api/server/logs.ts
server/controllers/api/users/index.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/captions.ts
server/controllers/api/videos/import.ts
server/controllers/api/videos/index.ts
server/controllers/api/videos/rate.ts
server/controllers/bots.ts
server/controllers/client.ts
server/controllers/feeds.ts
server/controllers/services.ts
server/controllers/static.ts
server/helpers/activitypub.ts
server/helpers/core-utils.ts
server/helpers/custom-validators/activitypub/actor.ts
server/helpers/custom-validators/activitypub/misc.ts
server/helpers/custom-validators/activitypub/video-comments.ts
server/helpers/custom-validators/activitypub/videos.ts
server/helpers/custom-validators/servers.ts
server/helpers/custom-validators/users.ts
server/helpers/custom-validators/video-abuses.ts
server/helpers/custom-validators/video-blacklist.ts
server/helpers/custom-validators/video-captions.ts
server/helpers/custom-validators/video-channels.ts
server/helpers/custom-validators/video-comments.ts
server/helpers/custom-validators/video-imports.ts
server/helpers/custom-validators/video-playlists.ts
server/helpers/custom-validators/videos.ts
server/helpers/custom-validators/webfinger.ts
server/helpers/express-utils.ts
server/helpers/peertube-crypto.ts
server/helpers/requests.ts
server/helpers/youtube-dl.ts
server/initializers/constants.ts
server/initializers/index.ts
server/initializers/migrations/0170-actor-follow-score.ts
server/initializers/migrations/0210-video-language.ts
server/initializers/migrations/0215-video-support-length.ts
server/lib/activitypub/actor.ts
server/lib/activitypub/audience.ts
server/lib/activitypub/crawl.ts
server/lib/activitypub/playlist.ts
server/lib/activitypub/share.ts
server/lib/activitypub/url.ts
server/lib/activitypub/video-comments.ts
server/lib/activitypub/video-rates.ts
server/lib/activitypub/videos.ts
server/lib/avatar.ts
server/lib/client-html.ts
server/lib/files-cache/actor-follow-score-cache.ts
server/lib/files-cache/videos-caption-cache.ts
server/lib/files-cache/videos-preview-cache.ts
server/lib/hls.ts
server/lib/job-queue/handlers/activitypub-follow.ts
server/lib/job-queue/handlers/activitypub-http-broadcast.ts
server/lib/job-queue/handlers/activitypub-http-unicast.ts
server/lib/job-queue/handlers/utils/activitypub-http-utils.ts
server/lib/job-queue/handlers/video-import.ts
server/lib/job-queue/job-queue.ts
server/lib/redis.ts
server/lib/schedulers/actor-follow-scheduler.ts
server/lib/schedulers/remove-old-jobs-scheduler.ts
server/lib/schedulers/update-videos-scheduler.ts
server/lib/schedulers/videos-redundancy-scheduler.ts
server/lib/schedulers/youtube-dl-update-scheduler.ts
server/lib/user.ts
server/lib/video-transcoding.ts
server/middlewares/activitypub.ts
server/middlewares/oauth.ts
server/middlewares/pagination.ts
server/middlewares/validators/avatar.ts
server/middlewares/validators/follows.ts
server/middlewares/validators/sort.ts
server/middlewares/validators/videos/video-captions.ts
server/middlewares/validators/videos/video-channels.ts
server/middlewares/validators/videos/video-imports.ts
server/middlewares/validators/videos/video-playlists.ts
server/middlewares/validators/videos/videos.ts
server/models/account/account-video-rate.ts
server/models/account/user.ts
server/models/activitypub/actor-follow.ts
server/models/activitypub/actor.ts
server/models/avatar/avatar.ts
server/models/redundancy/video-redundancy.ts
server/models/utils.ts
server/models/video/video-abuse.ts
server/models/video/video-blacklist.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-import.ts
server/models/video/video-playlist-element.ts
server/models/video/video-playlist.ts
server/models/video/video-share.ts
server/models/video/video-streaming-playlist.ts
server/models/video/video.ts
server/tests/api/activitypub/security.ts
server/tests/cli/optimize-old-videos.ts
server/tools/peertube-import-videos.ts
shared/utils/requests/activitypub.ts