timvisee
dbbf8ac8af
Fix missing import on Windows and macOS
2019-03-25 21:01:05 +01:00
timvisee
5702367b84
Update clipboard error messages, to reflect support for xclip and xsel
2019-03-25 19:09:43 +01:00
timvisee
982027f33c
Add support for xsel clipboard as well, dynamically select at runtime
...
Fixes timvisee/ffsend#76
2019-03-25 18:55:34 +01:00
timvisee
c2dfd3e174
Show clipboard information on Linux in debug command output
...
Fixes gitlab.com/timvisee/ffsend#80
2019-03-25 17:55:53 +01:00
timvisee
32e0e1c48f
Do not use empty binary names
2019-03-25 17:40:53 +01:00
timvisee
c8a854d492
Fix unused import on non-Linux systems
...
See issue github.com/timvisee/ffsend#29
2019-03-20 00:26:47 +01:00
timvisee
c2920b507b
Show crate version in debug output
2019-03-19 23:32:20 +01:00
timvisee
8a7703a2ac
Test more compiler feature flag combinations on CI
2019-03-19 23:28:38 +01:00
Tim Visée
12e6606164
Merge branch 'configurable-client' into 'master'
...
Add basic HTTP authentication support, update ffsend API dependency
See merge request timvisee/ffsend!23
2019-03-19 22:18:25 +00:00
timvisee
556eed4a71
Implement basic HTTP authentication argument and environment variable
2019-03-19 22:09:42 +01:00
timvisee
0052a60503
Implement configurable ffsend API client for new ffsend API update
2019-03-19 21:53:56 +01:00
Lily Ballard
8bcf0e4a0e
Support XCLIP_PATH at compilation to control the path to xclip
...
If the `XCLIP_PATH` env var is set during compilation, it will be used
to determine what binary to invoke for copying to the clipboard on
Linux. Otherwise `xclip` will be looked up in the `PATH`.
Fixes #71 .
2019-03-18 21:23:57 -07:00
Ferenc Nagy
50f27189de
Set history file permissions on UNIX based systems
2019-03-18 22:29:39 +01:00
timvisee
fba888c5aa
Add common shell completions, fix invalid quiet check
2019-03-18 16:35:02 +01:00
timvisee
2fe8e24fb1
Add command to generate completions
2019-03-18 16:31:43 +01:00
timvisee
a6deb9155b
Implement subcommand inferring based on calling name with feature flag
...
See issue timvisee/ffsend#24
2019-03-17 17:48:01 +01:00
timvisee
1fc189d4d9
Fix bin_name
function giving incorrect results when symlinked
2019-03-17 16:43:20 +01:00
timvisee
085035bf88
List all compiler features in debug output
2019-03-15 13:51:55 +01:00
timvisee
da49dc5345
Fix incorrect conditional compilation feature
2019-03-15 01:12:28 +01:00
timvisee
dd3a4c561f
Follow URL redirects before downloading, this passes URL shorteners
2019-03-15 00:54:56 +01:00
timvisee
e2ebbc91a9
Prompt the user to confirm shortening the URL, may be security risk
2019-03-15 00:18:37 +01:00
timvisee
6de33446c7
Implement proper error handling for URL shortening
2019-03-15 00:10:19 +01:00
timvisee
cca5889e39
Implement first URL shortening logic using is.gd
2019-03-14 23:50:38 +01:00
timvisee
176775d9cf
Add support for showing a QR code for a share URL after uploading
2019-03-14 22:12:21 +01:00
timvisee
fdf8ae9201
Use shorter passphrase words, make them less than 32-characters long
2019-03-12 21:39:21 +01:00
timvisee
eaa097e3c8
Assume Firefox Send v3 as default for now
2019-03-12 14:17:13 +01:00
timvisee
0ac37fb8fd
Remove extern crate imports not needed anymore in Rust 2018 [ci skip]
2019-03-06 22:21:15 +01:00
timvisee
30d91ba4b7
Bump version to 0.2.16
2019-03-06 16:50:01 +01:00
timvisee
d0a301b300
Improve clipboard string building
2019-03-06 16:09:21 +01:00
timvisee
b697bc3231
Add option to copy ffsend download command instead of share URL using -C
2019-03-06 15:45:01 +01:00
timvisee
e1d0ddee0d
Support optional passwords as well for info command
2019-03-06 15:19:52 +01:00
timvisee
ff93b13b22
Make owner token for info action optional
2019-03-06 14:54:53 +01:00
timvisee
e0a8147ba5
Minor README improvements, alias --non-interactive flag as well
2019-03-06 14:17:38 +01:00
timvisee
614659f74b
Update ffsend-api dependency to version 0.2.0
2019-03-03 15:11:02 +01:00
timvisee
8a46cfd968
Report supported API versions in debug output
2019-02-28 00:12:28 +01:00
timvisee
00618fe9db
Fix compiler error when compiling with support for multiple Send versions
2019-02-28 00:08:39 +01:00
timvisee
2236801f64
Mark version specific API logic with compiler feature attributes
2019-02-28 00:07:43 +01:00
timvisee
ea41cbdbc6
Improve API argument parsing and help information
2019-02-27 23:30:00 +01:00
timvisee
af98e133dc
Report proper error for invalid API version argument
2019-02-27 23:23:02 +01:00
timvisee
3bb0dc28dc
Remove unused imports, add Send version features to debug output
2019-02-27 23:17:03 +01:00
timvisee
ca122cad66
Make API version selection possible, update for newer ffsend-api version
2019-02-27 19:42:14 +01:00
timvisee
f53f11a9f1
Add version subcommand to determine remote server API version
2019-02-26 15:28:13 +01:00
timvisee
802c96df3f
Update Cargo.lock, apply changes for ffsend-api send2 branch
2019-02-18 14:06:53 +01:00
timvisee
dd8a7fe645
Replace deprecated function for Send v2
2019-01-20 18:41:08 +01:00
timvisee
e40c334f38
Update dependencies
2019-01-12 23:35:53 +01:00
timvisee
3ceff500cf
Update to Rust edition 2018
2019-01-12 23:34:38 +01:00
timvisee
44cf283f97
Reformat using rustfmt
2018-11-21 22:53:47 +01:00
timvisee
c72e106de8
Update ffsend-api dependency, hide progress bars in quiet mode
2018-11-21 22:53:12 +01:00
timvisee
059a0d85c5
Simplify GitLab CI configuration, attempt to fix upload/download test
2018-11-21 22:44:22 +01:00
timvisee
5fbcb2cd02
Be properly quiet when calling binary with no arguments
2018-11-21 22:03:38 +01:00