Theodore R. Smith
8e76aa1d75
( #3520 ) [cli] Hardened `auth add`: No longer fails with extraneous characters.
...
**The Solution:**
I have hardened `auth add` by stripping out everything from the third '/' to the end of the instance URL.
**The Problem:**
When adding an authorization for the peertube-cli, before this commit you could not have anything after the domain_name:port.
For instance, if there was a trailing / in your instance URL, before this commit it will always fail with
expected 200 "OK", got 404 "Not Found".
It took me over 20 minutes to figure out that this was the problem.
See Issue #3091 .
2020-12-27 14:29:54 -06:00
Chocobozzz
353f8bc0c7
Add registered setting CLI plugin install test
2020-11-27 11:41:38 +01:00
Chocobozzz
5c0ecc340e
Disable HTTP import in push actions
2020-11-17 14:23:52 +01:00
Chocobozzz
a15871560f
Move to eslint
2020-02-03 08:31:02 +01:00
Chocobozzz
e669ff5873
Add redundancy CLI doc
2020-01-28 13:57:49 +01:00
Chocobozzz
26fcf2efeb
Add redundancy CLI
2020-01-28 11:35:26 +01:00
Chocobozzz
9b474844e8
Add CLI plugins tests
2019-07-24 10:58:16 +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
7c3b79768b
Use test wrapper exit function
2019-04-24 16:26:25 +02:00
Chocobozzz
210feb6cc4
Cleanup tests
2019-04-24 16:26:23 +02:00
Chocobozzz
94565d52bb
Shared utils -> extra-utils
...
Because they need dev dependencies
2019-04-24 16:25:52 +02:00
Chocobozzz
1eddc9a74f
Add user adminFlags
2019-04-15 14:39:52 +02: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
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