Chocobozzz
ded739eb38
Fix CLI tools typings
2020-04-01 17:04:12 +02:00
Chocobozzz
bdd428a6d9
Update dependencies
2020-02-28 16:21:34 +01:00
Raphaël Droz
79ee77eab1
peertube-import-videos passes remaining options down to youtube-dl
2020-02-12 11:33:14 +01:00
Chocobozzz
a15871560f
Move to eslint
2020-02-03 08:31:02 +01:00
Chocobozzz
2f1756a03c
Optimize peertube script
2020-01-28 14:30:10 +01:00
Chocobozzz
005b51b977
Force node 10 usage
2020-01-28 14:03:12 +01:00
Chocobozzz
26fcf2efeb
Add redundancy CLI
2020-01-28 11:35:26 +01:00
Chocobozzz
4449d2695b
Fix URL normalization in import script
2019-12-30 10:44:50 +01:00
Chocobozzz
da69b88638
Auto add https:// in import script URLs
2019-12-30 10:40:09 +01:00
Florent F
71056d0008
Fix hours in peertube-import-videos
...
Youtube doesn't store the hour of the publish date so
set it to zero in order to compare it.
2019-11-04 17:38:03 +01:00
Chocobozzz
bcd4cf0586
Fix remove end slash function
2019-11-04 16:34:58 +01:00
Chocobozzz
2aaa1a3fdc
Use typescript paths in cli scripts too
2019-10-21 17:13:22 +02:00
Chocobozzz
e199856bb7
Upgrade tools dep
2019-10-21 16:08:03 +02:00
Lukas Winkler
32d7f2b754
fix a few typos ( #2141 )
...
* fix a few typos
* apply changes to original files instead
* additional correction
2019-09-23 08:17:42 +02:00
Frank de Lange
bda3b70537
peertube-import-videos.ts: add --tmpdir, --first, --last and --verbose [level] parameters ( #2045 )
...
* peertube-import-videos.ts: add --tmpdir <tmpdir> parameter, used to designate working directory for downloading and converting imported videos
* peertube-import-videos.ts: add --first and --last parameters to limit processing of the returned playlist to the first/last N elements
* peertube-import-videos.ts: add --verbose [verbosity] parameter, set this from 0 (only errors are reported) to 4 (for trace debugging), default is 2 (info). When --verbose is used without the optional parameter the logging level is set to 3 (debug). At level 1 (warn) it will only report on successfully uploaded videos (and/or errors), use this when running peertube-import-videos in a cron job to mirror a channel.
* package.json: remove dependency on loglevel
cli.ts: add getLogger(loglevel), to be used in CLI tools, add --verbose to set log level
peertube-import-videos: use getLogger (from cli) instead of loglevel, add error_exit (log error and exit), move --verbose to cli.ts, etc.
* cli.ts: remove superfluous reference to default logging level
* peertube-import-videos: exit_error -> exitError
2019-08-26 11:35:28 +02:00
Florent F
d0198ff99f
Add since parameter to peertube-import-videos ( #1991 )
...
* Add since parameter to peertube-import-videos
* PR remarks + --until <date>
2019-08-01 10:21:55 +02:00
Chocobozzz
6f530096cb
Correctly import tags in CLI
2019-07-29 14:10:31 +02:00
Chocobozzz
47e26ec761
Fix peertube auth help
2019-07-25 12:03:13 +02:00
Chocobozzz
a353a4d77c
Upgrade tools dependencies
2019-07-25 11:00:42 +02:00
Chocobozzz
09071200c7
Add plugin API tests
2019-07-24 10:58:16 +02:00
Chocobozzz
9b474844e8
Add CLI plugins tests
2019-07-24 10:58:16 +02:00
Chocobozzz
b5f919ac8e
WIP plugins: update plugin
2019-07-24 10:58:16 +02:00
Chocobozzz
8d2be0ed7b
WIP plugins: move plugin CLI in peertube script
...
Install/uninstall/list plugins remotely
2019-07-24 10:58:16 +02:00
Chocobozzz
fd0bfc3ac4
peertube auth add wants a URL (and not a host)
2019-07-04 15:03:15 +02:00
Chocobozzz
6b226c3278
Fix CLI default boolean values
2019-06-17 08:16:09 +02:00
Chocobozzz
1205823fec
Add ability to override CLI import attributes
2019-06-13 13:53:28 +02:00
Chocobozzz
1a12f66d63
Add more CLI tests
2019-06-13 11:09:38 +02:00
Chocobozzz
fc8c024a1b
Fix upload script
2019-06-11 10:39:30 +02:00
Chocobozzz
9f167f12aa
Fix netrc tools
2019-06-11 09:25:20 +02:00
Chocobozzz
46b2cec73c
Remove summon install
2019-05-27 14:56:06 +02:00
Chocobozzz
7e9d3f259d
Move CLI dependencies in their own package.json
2019-05-27 14:56:06 +02:00
Chocobozzz
2b4dd7e26d
Fix optional privacy in upload endpoint
2019-04-25 13:55:28 +02:00
Chocobozzz
e8a739e880
Fix video import CLI script
...
Password is an optional argument
2019-04-24 16:51:25 +02:00
Chocobozzz
94565d52bb
Shared utils -> extra-utils
...
Because they need dev dependencies
2019-04-24 16:25:52 +02:00
Chocobozzz
74dc3bca2b
Don't expose constants directly in initializers/
2019-04-11 14:26:41 +02:00
Chocobozzz
c74c9be934
Refractor published date on video import
2019-02-12 11:47:23 +01:00
Andrés Maldonado
84929846e7
Import original publication date (CLI)
...
* Import original publication date when importing a video from YouTube using the CLI
* Fix lint issues
2019-02-12 11:19:19 +01:00
Chocobozzz
88108880bb
Merge branch 'develop' into pr/1217
2019-02-11 11:52:34 +01:00
Chocobozzz
bb8f7872f5
Fix peertube CLI documentation
2019-01-14 11:01:40 +01:00
HesioZ
ab4dbe3657
Remove the eventual trailing '/' at the end of urls (see #1453 ) ( #1480 )
...
remove eventual trailing '/' at the end of urls in import script (see #1453 )
2018-12-15 01:43:04 +01:00
Chocobozzz
2a8c5d0af1
Merge branch 'move-utils-to-shared' of https://github.com/buoyantair/PeerTube into buoyantair-move-utils-to-shared
2018-12-07 16:25:29 +01:00
Chocobozzz
1b5e2d7290
Optimize config endpoint
2018-11-23 11:07:00 +01:00
buoyantair
ae28cdf327
Merge from upstream
2018-11-16 02:37:16 +05:30
Chocobozzz
e5cb43e071
Clean up peertube auth
2018-11-14 16:32:28 +01:00
buoyantair
9639bd1757
Move utils to /shared
...
Move utils used by /server/tools/* & /server/tests/**/* into
/shared folder.
Issue: #1336
2018-10-29 22:18:31 +05:30
BRAINS YUM
fa27f07637
allow peertube-import-videos.ts CLI script to run concurrently ( #1334 )
...
allows running multiple imports at the same time, whereas previously a concurrent instance of the script deleted another processe's file.
2018-10-24 20:07:51 +02:00
Frank de Lange
8684f3c1f6
Fix #1328 - application-config initialisation in CLI tools ( #1343 )
...
Test for an empty object in `cli.ts` when no config data is present (i.e. when run on a new install).
2018-10-24 12:28:25 +02:00
Rigel Kent
7cf3e57376
(doc) add manpage to peertube cli
2018-10-20 19:16:56 +02:00
Rigel Kent
c141f68be1
add repl to the cli wrapper, remove extraneous TOC in tools.md
2018-10-19 14:24:35 +02:00
BRAINS YUM
1e59ca3bac
add REPL in server/tools/repl.ts ( #1248 )
2018-10-14 19:48:08 +02:00
Lucas Declercq
7f2cfe3a79
Rename downloadingEnabled property to downloadEnabled
2018-10-08 14:45:22 +02:00
Lucas Declercq
4ffdcfc63b
Fix some defaults values + indentation
2018-10-08 14:42:55 +02:00
Lucas Declercq
156c50af30
Add downloadingEnabled property to video model
2018-10-06 19:17:39 +02:00
Chocobozzz
499d901595
Fix config endpoint
2018-10-03 14:36:00 +02:00
Rigel Kent
abb2c7927c
show last commit hash alongside server version in footer
2018-10-01 14:31:01 +02:00
Andrew Morgan
26b4151762
Define channelId property beforehand
2018-10-01 14:14:49 +02:00
Andrew Morgan
c01cfce40b
Allow specification of Channel ID in peertube-upload.js
2018-10-01 14:14:49 +02:00
Chocobozzz
542e73a26b
Improve upliad script error handling for token
2018-09-26 15:16:48 +02:00
Chocobozzz
5c142a4bab
Fix peertube script
2018-09-20 16:35:48 +02:00
Rigel Kent
8704acf49e
one cli to unite them all
...
Ash nazg thrakatulûk agh burzum-ishi krimpatul
- refactor import-videos to use the youtubeDL helper
- add very basic tests for the cli
2018-09-14 11:08:55 +02:00
Chocobozzz
ea853b7282
Fix import videos duplicate detection
2018-09-04 11:25:40 +02:00
Chocobozzz
d02911fadd
Fix thumbnail/preview in upload script
2018-09-03 11:12:53 +02:00
Chocobozzz
62689b942b
Correctly migrate to fs-extra
2018-08-27 16:23:34 +02:00
Rigel Kent
c9d5c64f98
replace fs by fs-extra to prevent EMFILE error
2018-08-27 16:03:57 +02:00
Rigel Kent
c1e791bad0
expliciting type checks and predicates (server only)
2018-07-25 22:01:25 +02:00
Chocobozzz
2186386cca
Add concept of video state, and add ability to wait transcoding before
...
publishing a video
2018-06-12 20:37:51 +02:00
John Livingston
8a2db2e8cb
linting
2018-05-11 15:23:50 +02:00
John Livingston
7eb5f8cd32
fix reject
2018-05-11 15:23:50 +02:00
John Livingston
e2b9d0ca56
Standard code
2018-05-11 15:23:50 +02:00
John Livingston
066fc8ba71
import-videos: prompt for password
2018-05-11 15:23:50 +02:00
Chocobozzz
9d3ef9fe05
Use ISO 639 for languages
2018-04-23 14:39:52 +02:00
Chocobozzz
72de91cb10
Fix privacy argument in upload script
2018-04-04 10:47:02 +02:00
memorybox
f97d299230
fix #456 catching errors in import-videos ( #457 )
2018-04-02 20:28:25 +02:00
Olivier Jolly
320f8d7e01
Add privacy setting to upload.js cli ( #422 )
2018-03-27 16:15:40 +02:00
Chocobozzz
27d56b5453
Fix videos import script
2018-03-26 14:20:33 +02:00
Rigel Kent
45b8a42ca1
truncating long video names in import-videos.js ( fixes #392 ) ( #415 )
2018-03-26 14:07:45 +02:00
Rigel Kent
48e35415c7
per missing field error in upload.js ( fixes #414 ) ( #416 )
2018-03-26 13:13:01 +02:00
Okhin
5c5638a062
Removing unnecessary semicolons
2018-03-24 21:17:29 +01:00
Okhin
f5b611f9ee
Replacing the err being thrown by a gracefull exit.process(1)
2018-03-24 21:17:29 +01:00
Chocobozzz
ad34cfc8ac
Add documentation for upload script
2018-03-05 09:53:16 +01:00
Chocobozzz
f40411a62e
Fix import videos tool
2018-03-01 16:45:38 +01:00
Chocobozzz
a41e183c03
Add nsfw support in import-videos
2018-02-20 19:05:14 +01:00
Chocobozzz
b6fe1f985c
Fix 401 detection on import videos
2018-02-20 18:18:47 +01:00
Chocobozzz
61b3e146e1
Add ability to import videos from all supported youtube-dl sites
2018-02-20 18:16:13 +01:00
LecygneNoir
71578f317e
import-youtube: add try/catch to manage token expiration when importing lot of youtube videos ( #306 )
2018-02-20 18:03:56 +01:00
Chocobozzz
35501c0fa7
Add ability to import just one video from youtube
2018-02-19 11:12:58 +01:00
Chocobozzz
63ce5a54f2
Fix duplicates detection
2018-02-16 11:03:42 +01:00
Chocobozzz
5f26c73521
Import videos in the correct order
2018-02-16 10:11:12 +01:00
Chocobozzz
02988fdc0b
Fix remote image fetching
2018-02-15 18:40:24 +01:00
Chocobozzz
2422c46b27
Implement support field in video and video channel
2018-02-15 15:29:07 +01:00
Chocobozzz
34cbef8c6c
Fix max buffer reached in youtube import
2018-02-15 11:27:11 +01:00
Chocobozzz
8cac1b6446
Move adding a video view videojs peertube plugin
2018-02-14 17:16:32 +01:00
Chocobozzz
1d791a26de
Support thumbnails in youtube import
2018-02-14 16:03:09 +01:00
Chocobozzz
ac81d1a06d
Add ability to set video thumbnail/preview
2018-02-14 16:03:09 +01:00
Chocobozzz
a87d467ad7
Fix upload from CLI script
2018-02-12 12:48:58 +01:00
Chocobozzz
e78720386f
Improve youtube import script
2018-02-12 11:11:38 +01:00
Chocobozzz
a7fea183f0
Begin import script with youtube-dl
2018-02-09 16:47:06 +01:00