]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Use dashes for filenames
authorChocobozzz <florian.bigard@gmail.com>
Fri, 1 Jul 2016 14:22:36 +0000 (16:22 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 1 Jul 2016 14:22:36 +0000 (16:22 +0200)
server.js
server/helpers/custom-validators.js [moved from server/helpers/customValidators.js with 100% similarity]
server/helpers/peertube-crypto.js [moved from server/helpers/peertubeCrypto.js with 100% similarity]
server/helpers/requests.js
server/initializers/installer.js
server/lib/friends.js
server/lib/webtorrent-process.js [moved from server/lib/webtorrentProcess.js with 100% similarity]
server/lib/webtorrent.js
server/middlewares/secure.js
server/middlewares/validators/videos.js
server/models/video.js

index e0284b0802c675db6cec0ac263cdcb918bd0038b..b2eeeff70edcd6494f3cd23e30ad5a8a3e6cfeaf 100644 (file)
--- a/server.js
+++ b/server.js
@@ -30,7 +30,7 @@ if (miss.length !== 0) {
 }
 
 // ----------- PeerTube modules -----------
-const customValidators = require('./server/helpers/customValidators')
+const customValidators = require('./server/helpers/custom-validators')
 const installer = require('./server/initializers/installer')
 const mongoose = require('mongoose')
 const routes = require('./server/controllers')
index 871342d6059d425449f031356440da72cd6e3d7c..547230adc973a0958ce672d26363c89588554612 100644 (file)
@@ -5,7 +5,7 @@ const replay = require('request-replay')
 const request = require('request')
 
 const constants = require('../initializers/constants')
-const peertubeCrypto = require('./peertubeCrypto')
+const peertubeCrypto = require('./peertube-crypto')
 
 const http = config.get('webserver.https') ? 'https' : 'http'
 const host = config.get('webserver.host')
index e0ae822cfef2936253db786733b222e9efba27e5..014efbcb7b7daf14b6420c63d18250947d557d43 100644 (file)
@@ -9,7 +9,7 @@ const path = require('path')
 
 const checker = require('./checker')
 const logger = require('../helpers/logger')
-const peertubeCrypto = require('../helpers/peertubeCrypto')
+const peertubeCrypto = require('../helpers/peertube-crypto')
 
 const Client = mongoose.model('OAuthClient')
 const User = mongoose.model('User')
index a93467c13b884623bf065a8c8d3c28324be07f08..a85f4e19acca4f655686704255774af5658a6704 100644 (file)
@@ -8,7 +8,7 @@ const request = require('request')
 
 const constants = require('../initializers/constants')
 const logger = require('../helpers/logger')
-const peertubeCrypto = require('../helpers/peertubeCrypto')
+const peertubeCrypto = require('../helpers/peertube-crypto')
 const requests = require('../helpers/requests')
 
 const http = config.get('webserver.https') ? 'https' : 'http'
index fe2ee357f35349347a1d6ff74e925b578a919865..9960737f20bb76c44c334762cfc4e9b5adbd9a9d 100644 (file)
@@ -57,7 +57,7 @@ function create (options, callback) {
       throw new Error('Received exception error from webtorrent process : ' + data.exception)
     })
 
-    const webtorrentProcess = spawn(pathUtils.join(__dirname, 'webtorrentProcess.js'), host, port, { detached: true })
+    const webtorrentProcess = spawn(pathUtils.join(__dirname, 'webtorrent-process.js'), host, port, { detached: true })
 
     if (electronDebug === true) {
       webtorrentProcess.stderr.on('data', function (data) {
index fbaf4d0f254aaa4ee0b76127c27757414a8f5594..9779c14ac2a4e30d53b50bfcccbb26b9192096ff 100644 (file)
@@ -2,7 +2,7 @@
 
 const logger = require('../helpers/logger')
 const mongoose = require('mongoose')
-const peertubeCrypto = require('../helpers/peertubeCrypto')
+const peertubeCrypto = require('../helpers/peertube-crypto')
 
 const Pod = mongoose.model('Pod')
 
index 24e2299dcdc1d297395f588df6b8c2dcdd5ff551..3e2af06fb0c253e45c6746f041764e16bbf212fb 100644 (file)
@@ -4,7 +4,7 @@ const mongoose = require('mongoose')
 
 const checkErrors = require('./utils').checkErrors
 const constants = require('../../initializers/constants')
-const customValidators = require('../../helpers/customValidators')
+const customValidators = require('../../helpers/custom-validators')
 const logger = require('../../helpers/logger')
 
 const Video = mongoose.model('Video')
index a8a70ba89ff41168065e541c743d90e0b4e68953..1c06e477cc195c7a842799ff8c70af1d39c72a7a 100644 (file)
@@ -8,7 +8,7 @@ const pathUtils = require('path')
 const mongoose = require('mongoose')
 
 const constants = require('../initializers/constants')
-const customValidators = require('../helpers/customValidators')
+const customValidators = require('../helpers/custom-validators')
 const logger = require('../helpers/logger')
 const utils = require('../helpers/utils')
 const webtorrent = require('../lib/webtorrent')