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>
This commit is contained in:
r4sas
2019-09-20 10:50:06 +00:00
parent 9d82c727b6
commit 682b47fbd3
3 changed files with 14 additions and 2 deletions

1
.gitattributes vendored
View File

@@ -1,2 +1,3 @@
.gitattributes export-ignore
.gitignore export-ignore
README.md export-ignore