mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 09:39:15 +02:00
Simplify Send size constants
This commit is contained in:
parent
4df9788dc1
commit
28d8fa6f1d
2 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
||||||
- Automatically get owner token, from file history when setting password
|
- Automatically get owner token, from file history when setting password
|
||||||
- Allow file/directory archiving on upload
|
- Allow file/directory archiving on upload
|
||||||
- Allow unarchiving on download
|
- Allow unarchiving on download
|
||||||
|
- Show a simplified command list when calling `ffsend` without arguments
|
||||||
- Use clipboard through `xclip` on Linux if available for persistence
|
- Use clipboard through `xclip` on Linux if available for persistence
|
||||||
- Automated releases through CI
|
- Automated releases through CI
|
||||||
- Release binaries on GitHub
|
- Release binaries on GitHub
|
||||||
|
@ -23,6 +24,7 @@
|
||||||
- Host configuration file for host tags, to easily upload to other hosts
|
- Host configuration file for host tags, to easily upload to other hosts
|
||||||
|
|
||||||
# Other ideas
|
# Other ideas
|
||||||
|
- Rework encrypted reader/writer
|
||||||
- API actions contain duplicate code, create centralized functions
|
- API actions contain duplicate code, create centralized functions
|
||||||
- Only allow file extension renaming on upload with `-f` flag
|
- Only allow file extension renaming on upload with `-f` flag
|
||||||
- Quick upload/download without `upload` or `download` subcommands?
|
- Quick upload/download without `upload` or `download` subcommands?
|
||||||
|
|
|
@ -7,7 +7,7 @@ pub const HTTP_STATUS_EXPIRED: StatusCode = StatusCode::NotFound;
|
||||||
pub const HTTP_STATUS_UNAUTHORIZED: StatusCode = StatusCode::Unauthorized;
|
pub const HTTP_STATUS_UNAUTHORIZED: StatusCode = StatusCode::Unauthorized;
|
||||||
|
|
||||||
/// The recommended maximum upload size in bytes.
|
/// The recommended maximum upload size in bytes.
|
||||||
pub const UPLOAD_SIZE_MAX_RECOMMENDED: u64 = 1_073_741_824;
|
pub const UPLOAD_SIZE_MAX_RECOMMENDED: u64 = 1024 * 1024 * 1024 * 1;
|
||||||
|
|
||||||
/// The maximum upload size in bytes.
|
/// The maximum upload size in bytes.
|
||||||
pub const UPLOAD_SIZE_MAX: u64 = 2_147_483_648;
|
pub const UPLOAD_SIZE_MAX: u64 = 1024 * 1024 * 1024 * 2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue