Commit Graph

13 Commits

Author SHA1 Message Date
7b90b6a772
Add URL support for paste deletion, rewrite info parsing code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-12-09 23:09:45 +00:00
906c14fddf
0.3.2
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-01-24 20:22:32 +03:00
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>
2022-01-10 02:10:00 +03:00
70328903fa
include license and requirements in source archive
Signed-off-by: r4sas <r4sas@i2pmail.org>
2020-04-11 17:59:19 +00:00
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>
2019-09-20 10:50:06 +00:00
635c87dabd
[wip] url shortener support (#19)
Signed-off-by: r4sas <r4sas@i2pmail.org>
2019-09-17 08:55:59 +00:00
692335ee62
0.2.1
Signed-off-by: r4sas <r4sas@i2pmail.org>
2019-08-16 21:24:52 +00:00
32d60b5321
0.2 2019-07-24 11:22:37 +00:00
7fc2a1a625
add cert validation ignoring switches (closes #15) 2019-07-16 20:32:37 +00:00
7a59d1acd1 0.2-beta1 2019-06-21 16:15:37 +00:00
587dec6b6a let's use normal license 2019-05-31 12:04:59 +00:00
f23b4ff3cc update information. todo: think about license. 2018-09-22 01:53:47 +03:00
a46f03ec83 initial upload 2017-02-18 21:00:40 +03:00