Age | Commit message (Collapse) | Author | Files | Lines |
|
This especially improves speed when displaying long histories.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This would upload the data.* files if one runs `fb -m $url1 $url2`
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
- 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>
|
|
This does change the default from upload to stdin, but I don't care.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
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>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Allows us to run scan-build
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Needed for apikey patch.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
It is still meant to be only used as a backend for fb-client, but this
makes testing easier.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This is not a script so don't call it one.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
These options don't exist and shouldn't have been documented.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
I don't like the look of everything being upper case and it certainly
complicates writing the variable names.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
If fb is used in a cronjob we don't care
about the progress bar.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Seems like wc -c $file doesn't return "0 $file" on Darwin. wc -c <
$file is simpler because it doesn't need cut and works fine, so we just
use that.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
echo is inconsistent across different platforms and this also removes an unneeded fork.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
The echo builtin on darwin doesn't support any options and will output
them.
References:
https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/echo.1.html
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This allows users to easily install to /usr/local, instead of forcing
them to change 3 variables.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
No point in uploading a really empty file and it might even cause
confusion to see an empty page when clicking the link.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
CFLAGS=-O0 make; will still work as expected
make CFLAGS=-O0; allows to completely override the flags, ignoring what
is set in the makefile.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|