Georg
7bd3ef22b9
Reduce unhandled shortening exceptions ( #35 )
...
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
3 years ago
R4SAS
b4ffc1a06b
[shortener] fix typos
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
82ca95f01a
implement custom shorter url support ( #28 )
...
Usage: set "--short-api" to "custom", provide url with "--short-url" to shorter
service which returns short link in text form. For paste url mask "{{url}}" must
be used. Link queried with GET request.
Example for Shlink service:
https://doma.in/rest/v2/short-urls/shorten?apiKey=YOURKEY&longUrl={{url}}&format=txt
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
6c9a5c95b6
add verbosity flag (-v), closes #32
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
4 years ago
R4SAS
682b47fbd3
0.3.0
...
New:
* Added validation of PrivateBin instance URL - #18 (it must contain trailing slash because POST is used)
* URL shortener support with various supported services - #19
* Shortener configuration, certificate validation and insecure warning settings can be configured in config file or via env
Changed:
* Restructured some parts of code by splitting big code chunks in funtions (encrypt/decrypt)
* Rework error messaging repeatable code (moved in utils)
* Reduce code duplication (requests session configuring)
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
9d82c727b6
[shortener] move service-depend init code to functions
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
c425d86ed6
[shortener] remove not completed bitly support code
...
Anyone can request to add support later, so for now I removing that code due to lack of use.
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
ebfe0c48a0
[shortener] separate services related code in functions
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
45d854e590
[shortener] add is.gd, v.gd and cutt.ly services support
...
Start realisation of bitly support.
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
92c38344e3
add tinyurl support
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
b596f42b7e
fix response handler ( closes #19 )
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
86c5051fcf
move 'requests' configuration code in separate function
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
f838f8ee94
fix codacy issues
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
fb7a93732d
rewrite yourls response handler ( #19 )
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
c3a491ac46
correct response store for yourls ( #19 )
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
641c55a6a2
fix dict merging ( #19 )
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
432675f2e6
url shortener support ( #19 )
...
Currently tested only with clck.ru service. YOURLS test needed.
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
635c87dabd
[wip] url shortener support ( #19 )
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
6b6c33e545
[wip] url shortener support ( #19 )
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
5 years ago
R4SAS
7fc2a1a625
add cert validation ignoring switches ( closes #15 )
6 years ago
R4SAS
dc034b1d55
update rst readme, remove unused import
6 years ago
R4SAS
85cc1454ea
fixes
6 years ago
R4SAS
d37e573d9e
little refactoring
6 years ago
R4SAS
f7fae450a0
[wip] v2 support code ( #13 )
6 years ago
l-n-s
5c8cdc97df
factor out settings.py
7 years ago
l-n-s
c72a7c15f4
transports -> api
7 years ago
R4SAS
d91fbb4da9
adding server and proxy parameters [2]
7 years ago
R4SAS
cb9703864e
start adding server and proxy parameters
7 years ago
R4SAS
7a88bf2efc
add latest changes from march'17
7 years ago
R4SAS
6a6427a134
implement settings file
8 years ago
R4SAS
320d2824dc
Updates:
...
* Fixed comment only upload
* added choices for expire variable
* Added salt variable, one paste = one salt.
8 years ago
R4SAS
421e287679
implement delete
...
update checks
password sha256 digest used from hashlib
8 years ago
R4SAS
e986df6413
update get command
8 years ago
R4SAS
5fe5c2f195
get implemented
8 years ago
R4SAS
e7f3610fdb
update for testing purposes
8 years ago
R4SAS
6274f8016a
update
8 years ago
sviceman
d92816a22b
Bug fix, urlencode
8 years ago
R4SAS
0343e318fb
transports started
8 years ago