1
1
mirror of https://github.com/r4sas/PBinCLI synced 2025-01-09 14:28:06 +00:00
Commit Graph

89 Commits

Author SHA1 Message Date
e850b5495a load zlib globally in format 2019-06-19 10:33:11 +00:00
9390edeb79 reorder argparse, clarify option descriptions 2019-06-07 11:11:53 +00:00
d11beb10af Make compression optional
ref: https://github.com/PrivateBin/PrivateBin/issues/38
Compression is optional only in v2 paste format.
Currently available types: 'zlib' and 'none'.
To set compression use `-c "none"` or `--compression "none".

When receiving paste, compression detected from 'adata' field
2019-06-07 09:16:58 +00:00
4c124a33c0 [v2] encode json for v2, move de/compress to Paste class (#13) 2019-06-03 07:18:07 +00:00
5b38c532a2 [wip][v2] json bytes2str in decode (#13) 2019-06-02 14:27:53 +00:00
f7fae450a0 [wip] v2 support code (#13) 2019-06-02 14:04:38 +00:00
1ff6e721c7 move functions to utils, import functions only where they needed, remove bytified json load 2019-06-01 15:09:57 +00:00
487def2b45 add notext option, fix paste without text handling
Now text is taken if no `--notext (-q)` argument is passed.

If that flag used, paste will be created with empty text,
but file for send must be specified

If `notext` arg is not used, text will be taken in next order:
* from `--text (-t)` argument
* from stdin (forcibly)

Here's no ability create paste without any text.
2019-06-01 14:26:17 +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
l-n-s
c3119b4a4d Start Pip packaging 2018-06-01 06:07:18 -04:00
l-n-s
5c8cdc97df factor out settings.py 2018-05-23 04:14:35 -04:00
l-n-s
c72a7c15f4 transports -> api 2018-05-23 03:41:17 -04:00
d91fbb4da9 adding server and proxy parameters [2] 2018-05-22 20:44:18 +03:00
cb9703864e start adding server and proxy parameters 2018-05-22 19:26:49 +03:00
5ef9c93077 update readme, change paste text parameter 2018-05-22 17:59:15 +03:00
Alexander Do
53fd44c763 Add DEFLATE compression support 2018-04-04 06:54:15 +00:00
d401c0d7e0 update info 2018-03-10 05:42:17 +03:00
4af4797812 implement read text from stdin (closes #3)
fix debug output
2018-02-16 12:04:51 +03:00
l-n-s
5c2055cc7a Replace SJCL library with upstream version + python3 fixes 2018-02-16 09:08:05 +03:00
7a88bf2efc add latest changes from march'17 2018-02-12 17:50:19 +03:00
af722098f1 show filename anyway 2017-03-02 22:34:50 +03:00
a90400c54a * added license
* some fixes
2017-03-02 14:23:05 +03:00
6a6427a134 implement settings file 2017-03-02 13:13:10 +03:00
320d2824dc Updates:
* Fixed comment only upload
* added choices for expire variable
* Added salt variable, one paste = one salt.
2017-02-23 14:13:03 +03:00
421e287679 implement delete
update checks
password sha256 digest used from hashlib
2017-02-21 16:33:03 +03:00
5a804462f4 update README 2017-02-21 05:09:38 +03:00
500da36c5b fixed working with files 2017-02-21 03:34:34 +03:00
sviceman
5d2ac7b5a2 Web decrypt/encrypt support 2017-02-20 18:10:19 -05:00
9e278275ca working with passwords 2017-02-21 01:27:32 +03:00
6891f1b240 fully work with files 2017-02-21 00:14:56 +03:00
e986df6413 update get command 2017-02-20 20:56:37 +03:00
5fe5c2f195 get implemented 2017-02-20 15:13:42 +03:00
e7f3610fdb update for testing purposes 2017-02-19 23:27:37 +03:00
6274f8016a update 2017-02-19 20:15:26 +03:00
sviceman
d92816a22b Bug fix, urlencode 2017-02-19 06:48:10 -05:00
0343e318fb transports started 2017-02-19 13:26:22 +03:00
8014c386ac partly realised send command 2017-02-19 09:40:04 +03:00
a46f03ec83 initial upload 2017-02-18 21:00:40 +03:00