First typescript iteration
authorChocobozzz <florian.bigard@gmail.com>
Mon, 15 May 2017 20:22:03 +0000 (22:22 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sat, 20 May 2017 07:57:40 +0000 (09:57 +0200)
commit65fcc3119c334b75dd13bcfdebf186afdc580a8f
tree4f2158c61a9b7c3f47cfa233d01413b946ee53c0
parentd5f345ed4cfac4e1fa84dcb4fce1cda4d32f9c73
First typescript iteration
188 files changed:
.gitignore
package.json
server.js [deleted file]
server.ts [new file with mode: 0644]
server/controllers/api/clients.js [deleted file]
server/controllers/api/clients.ts [new file with mode: 0644]
server/controllers/api/config.js [deleted file]
server/controllers/api/config.ts [new file with mode: 0644]
server/controllers/api/index.js [deleted file]
server/controllers/api/index.ts [new file with mode: 0644]
server/controllers/api/pods.js [deleted file]
server/controllers/api/pods.ts [new file with mode: 0644]
server/controllers/api/remote/index.js [deleted file]
server/controllers/api/remote/index.ts [new file with mode: 0644]
server/controllers/api/remote/pods.js [deleted file]
server/controllers/api/remote/pods.ts [new file with mode: 0644]
server/controllers/api/remote/videos.js [deleted file]
server/controllers/api/remote/videos.ts [new file with mode: 0644]
server/controllers/api/requests.js [deleted file]
server/controllers/api/requests.ts [new file with mode: 0644]
server/controllers/api/users.js [deleted file]
server/controllers/api/users.ts [new file with mode: 0644]
server/controllers/api/videos/abuse.js [deleted file]
server/controllers/api/videos/abuse.ts [new file with mode: 0644]
server/controllers/api/videos/blacklist.js [deleted file]
server/controllers/api/videos/blacklist.ts [new file with mode: 0644]
server/controllers/api/videos/index.js [deleted file]
server/controllers/api/videos/index.ts [new file with mode: 0644]
server/controllers/api/videos/rate.js [deleted file]
server/controllers/api/videos/rate.ts [new file with mode: 0644]
server/controllers/client.js [deleted file]
server/controllers/client.ts [new file with mode: 0644]
server/controllers/index.js [deleted file]
server/controllers/index.ts [new file with mode: 0644]
server/controllers/static.js [deleted file]
server/controllers/static.ts [new file with mode: 0644]
server/helpers/custom-validators/index.js [deleted file]
server/helpers/custom-validators/index.ts [new file with mode: 0644]
server/helpers/custom-validators/misc.js [deleted file]
server/helpers/custom-validators/misc.ts [new file with mode: 0644]
server/helpers/custom-validators/pods.js [deleted file]
server/helpers/custom-validators/pods.ts [new file with mode: 0644]
server/helpers/custom-validators/remote/index.js [deleted file]
server/helpers/custom-validators/remote/index.ts [new file with mode: 0644]
server/helpers/custom-validators/remote/videos.js [deleted file]
server/helpers/custom-validators/remote/videos.ts [new file with mode: 0644]
server/helpers/custom-validators/users.js [deleted file]
server/helpers/custom-validators/users.ts [new file with mode: 0644]
server/helpers/custom-validators/videos.js [deleted file]
server/helpers/custom-validators/videos.ts [new file with mode: 0644]
server/helpers/database-utils.js [deleted file]
server/helpers/database-utils.ts [new file with mode: 0644]
server/helpers/index.ts [new file with mode: 0644]
server/helpers/logger.js [deleted file]
server/helpers/logger.ts [new file with mode: 0644]
server/helpers/peertube-crypto.js [deleted file]
server/helpers/peertube-crypto.ts [new file with mode: 0644]
server/helpers/requests.js [deleted file]
server/helpers/requests.ts [new file with mode: 0644]
server/helpers/utils.js [deleted file]
server/helpers/utils.ts [new file with mode: 0644]
server/initializers/checker.js [deleted file]
server/initializers/checker.ts [new file with mode: 0644]
server/initializers/constants.js [deleted file]
server/initializers/constants.ts [new file with mode: 0644]
server/initializers/database.js [deleted file]
server/initializers/database.ts [new file with mode: 0644]
server/initializers/index.ts [new file with mode: 0644]
server/initializers/installer.js [deleted file]
server/initializers/installer.ts [new file with mode: 0644]
server/initializers/migrations/0005-email-pod.js [deleted file]
server/initializers/migrations/0005-email-pod.ts [new file with mode: 0644]
server/initializers/migrations/0010-email-user.js [deleted file]
server/initializers/migrations/0010-email-user.ts [new file with mode: 0644]
server/initializers/migrations/0015-video-views.js [deleted file]
server/initializers/migrations/0015-video-views.ts [new file with mode: 0644]
server/initializers/migrations/0020-video-likes.js [deleted file]
server/initializers/migrations/0020-video-likes.ts [new file with mode: 0644]
server/initializers/migrations/0025-video-dislikes.js [deleted file]
server/initializers/migrations/0025-video-dislikes.ts [new file with mode: 0644]
server/initializers/migrations/0030-video-category.js [deleted file]
server/initializers/migrations/0030-video-category.ts [new file with mode: 0644]
server/initializers/migrations/0035-video-licence.js [deleted file]
server/initializers/migrations/0035-video-licence.ts [new file with mode: 0644]
server/initializers/migrations/0040-video-nsfw.js [deleted file]
server/initializers/migrations/0040-video-nsfw.ts [new file with mode: 0644]
server/initializers/migrations/0045-user-display-nsfw.js [deleted file]
server/initializers/migrations/0045-user-display-nsfw.ts [new file with mode: 0644]
server/initializers/migrations/0050-video-language.js [deleted file]
server/initializers/migrations/0050-video-language.ts [new file with mode: 0644]
server/initializers/migrator.js [deleted file]
server/initializers/migrator.ts [new file with mode: 0644]
server/lib/friends.js [deleted file]
server/lib/friends.ts [new file with mode: 0644]
server/lib/index.ts [new file with mode: 0644]
server/lib/jobs/handlers/index.js [deleted file]
server/lib/jobs/handlers/index.ts [new file with mode: 0644]
server/lib/jobs/handlers/video-transcoder.js [deleted file]
server/lib/jobs/handlers/video-transcoder.ts [new file with mode: 0644]
server/lib/jobs/index.ts [new file with mode: 0644]
server/lib/jobs/job-scheduler.js [deleted file]
server/lib/jobs/job-scheduler.ts [new file with mode: 0644]
server/lib/oauth-model.js [deleted file]
server/lib/oauth-model.ts [new file with mode: 0644]
server/lib/request/base-request-scheduler.js [deleted file]
server/lib/request/base-request-scheduler.ts [new file with mode: 0644]
server/lib/request/index.ts [new file with mode: 0644]
server/lib/request/request-scheduler.js [deleted file]
server/lib/request/request-scheduler.ts [new file with mode: 0644]
server/lib/request/request-video-event-scheduler.js [deleted file]
server/lib/request/request-video-event-scheduler.ts [new file with mode: 0644]
server/lib/request/request-video-qadu-scheduler.js [deleted file]
server/lib/request/request-video-qadu-scheduler.ts [new file with mode: 0644]
server/middlewares/admin.js [deleted file]
server/middlewares/admin.ts [new file with mode: 0644]
server/middlewares/index.js [deleted file]
server/middlewares/index.ts [new file with mode: 0644]
server/middlewares/oauth.js [deleted file]
server/middlewares/oauth.ts [new file with mode: 0644]
server/middlewares/pagination.js [deleted file]
server/middlewares/pagination.ts [new file with mode: 0644]
server/middlewares/pods.js [deleted file]
server/middlewares/pods.ts [new file with mode: 0644]
server/middlewares/search.js [deleted file]
server/middlewares/search.ts [new file with mode: 0644]
server/middlewares/secure.js [deleted file]
server/middlewares/secure.ts [new file with mode: 0644]
server/middlewares/sort.js [deleted file]
server/middlewares/sort.ts [new file with mode: 0644]
server/middlewares/validators/index.js [deleted file]
server/middlewares/validators/index.ts [new file with mode: 0644]
server/middlewares/validators/pagination.js [deleted file]
server/middlewares/validators/pagination.ts [new file with mode: 0644]
server/middlewares/validators/pods.js [deleted file]
server/middlewares/validators/pods.ts [new file with mode: 0644]
server/middlewares/validators/remote/index.js [deleted file]
server/middlewares/validators/remote/index.ts [new file with mode: 0644]
server/middlewares/validators/remote/signature.js [deleted file]
server/middlewares/validators/remote/signature.ts [new file with mode: 0644]
server/middlewares/validators/remote/videos.js [deleted file]
server/middlewares/validators/remote/videos.ts [new file with mode: 0644]
server/middlewares/validators/sort.js [deleted file]
server/middlewares/validators/sort.ts [new file with mode: 0644]
server/middlewares/validators/users.js [deleted file]
server/middlewares/validators/users.ts [new file with mode: 0644]
server/middlewares/validators/utils.js [deleted file]
server/middlewares/validators/utils.ts [new file with mode: 0644]
server/middlewares/validators/videos.js [deleted file]
server/middlewares/validators/videos.ts [new file with mode: 0644]
server/models/application.js [deleted file]
server/models/application.ts [new file with mode: 0644]
server/models/author.js [deleted file]
server/models/author.ts [new file with mode: 0644]
server/models/job.js [deleted file]
server/models/job.ts [new file with mode: 0644]
server/models/oauth-client.js [deleted file]
server/models/oauth-client.ts [new file with mode: 0644]
server/models/oauth-token.js [deleted file]
server/models/oauth-token.ts [new file with mode: 0644]
server/models/pod.js [deleted file]
server/models/pod.ts [new file with mode: 0644]
server/models/request-to-pod.js [deleted file]
server/models/request-to-pod.ts [new file with mode: 0644]
server/models/request-video-event.js [deleted file]
server/models/request-video-event.ts [new file with mode: 0644]
server/models/request-video-qadu.js [deleted file]
server/models/request-video-qadu.ts [new file with mode: 0644]
server/models/request.js [deleted file]
server/models/request.ts [new file with mode: 0644]
server/models/tag.js [deleted file]
server/models/tag.ts [new file with mode: 0644]
server/models/user-video-rate.js [deleted file]
server/models/user-video-rate.ts [new file with mode: 0644]
server/models/user.js [deleted file]
server/models/user.ts [new file with mode: 0644]
server/models/utils.js [deleted file]
server/models/utils.ts [new file with mode: 0644]
server/models/video-abuse.js [deleted file]
server/models/video-abuse.ts [new file with mode: 0644]
server/models/video-blacklist.js [deleted file]
server/models/video-blacklist.ts [new file with mode: 0644]
server/models/video-tag.js [deleted file]
server/models/video-tag.ts [new file with mode: 0644]
server/models/video.js [deleted file]
server/models/video.ts [new file with mode: 0644]
tsconfig.json [new file with mode: 0644]
tslint.json [new file with mode: 0644]
yarn.lock