summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-04-11fb.1: Add fancier examplev2.0.0.betaFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-11fb.1: Misc updatesFlorian Pritz1-5/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-11Comment FBClient.upload_filesFlorian Pritz1-0/+6
Not sure why I only wrote a comment for this one, but better commit than discard it. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-11Bring --help in line with manpageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-11Remove unused variablesFlorian Pritz1-2/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-11Remove debug codeFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-11Drop --id optionFlorian Pritz1-6/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-11Fix fb -g missing / in URLFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-11fb.1: Document id://Florian Pritz2-5/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-03-28Assert that we get an id for each file we uploadFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-03-28Remove unecessary list comprehensionFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-03-28Remove Paste classFlorian Pritz1-7/+4
Just use one class for clarity. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-03-28Improve "File too big" error messageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-03-28Clean up already fixed FIXMEFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-03-28Remove already fixed TODOFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-03-27Fix downloading of URLs ending in /Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-03-27Improve naming for FBClient.dl_fileFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-03-27Support mixing IDs and filesFlorian Pritz1-40/+66
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-02-13Add --id option to create multipaste from IDsFlorian Pritz1-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-02-13Add some empty lines for readabilityFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-02-13Handle ctrl-cFlorian Pritz1-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-02-13Fix compression handlingFlorian Pritz1-8/+40
gzip/xz compressed the original file and removed the uncompressed version. This is really bad so compress to a temp file. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-12-09Fix ID extraction from URLsFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-11-29Use ANSI code to clear output lineFlorian Pritz1-11/+3
\033[K clears the line starting from the cursor position. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-11-09Save temp file in tempdirFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-11-08Handle URL argumentsFlorian Pritz1-1/+37
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-18fb.py: Humanize sizes in history outputFlorian Pritz1-2/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-18fb.py: Drop Enum dependency in favor of python2Florian Pritz1-2/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-18fb.py: Adjust shebang to conventionFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-18fb.py: Allow for missing config fileFlorian Pritz1-8/+21
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-18fb.py: Ignore missing clipboard commandsFlorian Pritz1-2/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-18fb.py: Use version variable from MakefileFlorian Pritz1-2/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-18Drop old fb-client and adjust MakefileFlorian Pritz4-913/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-18fb.1: Update documentation for v2Florian Pritz1-24/+22
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-18fb.py: makedirs: Check if dir already existsFlorian Pritz1-2/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-14fb.py: display_history: Handle multipastesFlorian Pritz1-4/+32
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-14fb.py: Use correct config field for max request sizeFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-13Add first version of fb-client v2v2.0.0.alpha.1Florian Pritz1-0/+573
Granted, this is pretty complete for a first commit... Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-07-27Automatically create multipastev1.5.0Florian Pritz2-2/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-06-17Use bash regex instead of sed -rv1.4.3Florian Pritz1-2/+3
sed -r is not supported on OS X and using bash actually makes the code easier. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-03-03fb-helper: Enable response compressionv1.4.2Florian Pritz1-0/+2
This especially improves speed when displaying long histories. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-11-19Remove tempfile in do_uploadv1.4.1Florian Pritz1-0/+1
This would upload the data.* files if one runs `fb -m $url1 $url2` Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Support multipastesv1.4Florian Pritz3-12/+79
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Remove one more mention of netrcFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-07-20Update manpage: deprecate netrc; misc cleanupv1.3.3Florian Pritz1-16/+20
- https instead of http - MiB instead of MB - Tell users to use api keys rathern than netrc Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-02-19Support combining -n and -t to set the tarball namev1.3.2Florian Pritz2-4/+4
This does change the default from upload to stdin, but I don't care. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-08Create all required directories for apikeyv1.3.1Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-02Fix conflict between --data-urlencode and -Fv1.3.0Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-02Use bash arrays to allow spaces in apikey file pathFlorian Pritz1-18/+18
This also fixes a bug in the shell uploader which used single quotes around the argument to --data-urlencode which sadly doesn't work at all. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-02Document -a and -H in manpageFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>