Commit graph

61 commits

Author SHA1 Message Date
79bc8e67a7 "verbose" CLI param 2025-06-18 18:58:49 +00:00
4eb0627a5f "retry-limit" CLI param 2025-06-18 18:44:24 +00:00
a633f4e228 move most printing/styling into own file 2025-06-18 18:14:09 +00:00
783346c888 major refactoring
- `sharry::Client` fn signatures
- `sharry::ClientError` rework
- `file::Uploading` saves `file_id` instead of `patch_uri`
- `impl sharry::Client for ureq::Agent` into separate file
2025-06-18 14:21:25 +00:00
6ca3e6c9dd [wip] documentation
- added more notes
- minor cleanup
2025-06-15 00:56:58 +00:00
56223b3ae8 [wip] documentation
- added more notes
- `main.rs` logging
- clearer matching of `ClientError::ResponseStatus`
2025-06-15 00:44:28 +00:00
10bb4feef5 logging improvements 2025-06-14 00:07:43 +00:00
e257d1cf8c CLI ergonomy 2025-06-13 23:50:42 +00:00
5b018cf84b minor cleanups 2025-06-13 23:11:40 +00:00
876869b073 Merge branch 'feature/retry_chunk' into develop 2025-06-13 23:05:16 +00:00
e2151b592c show "cargo build", program completion 2025-06-13 23:02:41 +00:00
30855ed8ff [wip] retry chunks
- `AppState::rewind` impl
- error handling in `main`
2025-06-13 23:00:36 +00:00
0a8e5cf3f0 [wip] retry chunks
- move buffer into main function again, avoiding `unsafe` code
- partially revert `Chunk` changes, removing `unsafe` parts
2025-06-13 22:32:41 +00:00
5556a658f5 minor refactoring
- var names
- logging
2025-06-13 16:07:25 +00:00
f77acc1afd cleanup some unwrap() 2025-06-12 23:28:42 +00:00
9f1e0cfc6c [wip] impl Client for ureq::Agent
- Client is now owned by `AppState`
- minor cleanups
2025-06-12 23:01:16 +00:00
ed10f269c8 [wip] impl Client for ureq::Agent
- wip: factor out `SavedState`
2025-06-12 16:24:17 +00:00
fb06725f05 [wip] impl Client for ureq::Agent
- wip: factor out `SavedState`
2025-06-12 09:26:11 +00:00
67da081ef9 [wip] impl Client for ureq::Agent
- error handling refactoring
2025-06-12 00:54:26 +00:00
9b1f7f872c [wip] impl Client for ureq::Agent
- minor refactorings
2025-06-11 18:17:16 +00:00
dc2a330d58 [wip] impl Client for ureq::Agent
- Chunk implementation
2025-06-10 23:39:20 +00:00
d607380659 [wip] impl Client for ureq::Agent
- factored out `file` module
- renamed some stuff
- decoupled `sharry::client` from `file`
2025-06-10 18:20:52 +00:00
09af480379 [wip] impl Client for ureq::Agent
- remove `sharry::alias` and `sharry::share` (reduced to IDs)
- use `sharry_share_create` in `AppState`
2025-06-08 21:31:50 +00:00
39560eeeed mark and eliminate some unwrap 2025-06-05 22:08:24 +00:00
dc7eeaddfe CLI using indicatif 2025-06-05 17:37:35 +00:00
3bf5d96e04 earlier check for stop signal 2025-06-05 12:58:09 +00:00
e86b11d058 improved control flow and error handling 2025-06-05 12:25:39 +00:00
648828ae21 main business logic almost done 2025-06-05 11:20:27 +00:00
f63f1c870e "stop" handling 2025-06-05 10:01:09 +00:00
e8709b79ce wip: main business logic 2025-06-05 02:04:36 +00:00
dea6108b8e wip: main business logic 2025-06-05 01:55:30 +00:00
7e9d553ef8 wip: main business logic 2025-06-05 01:44:39 +00:00
666aae5a46 terminate gracefully 2025-06-05 01:34:12 +00:00
9208a7dfcf wip: main business logic 2025-06-05 01:15:44 +00:00
fd79455de4 general API consolidation 2025-06-04 21:23:21 +00:00
c246de0c99 wip: main business logic 2025-06-04 21:02:35 +00:00
9c2fdd95c6 main logging 2025-06-04 16:54:03 +00:00
cb0d8a3d9a sharry::file reimplementation apparently works 2025-06-04 16:44:16 +00:00
88c6ce94de reimplementation of sharry::file submodule
- compileable
2025-06-04 13:25:00 +00:00
7edadd7ca1 bug: wrong chunk offset 2025-06-03 00:07:44 +00:00
d197c06688 struct AppState 2025-06-02 23:57:17 +00:00
b999c35965 various minor refactorings mostly targeting CLI ergonomy 2025-05-31 15:27:52 +00:00
1ee56ac3da don't save Alias in Share 2025-05-28 14:12:14 +00:00
5643ced9d1 CLI ergonomy: timeout value 2025-05-28 13:43:14 +00:00
763c8f689e CLI ergonomy 2025-05-28 12:35:35 +00:00
2dab3c9ecd CLI ergonomy 2025-05-28 00:21:14 +00:00
fdccab81fa move CLI into own module 2025-05-28 00:07:59 +00:00
5fdbe2bc6c minor fixes and formatting 2025-05-27 20:01:02 +00:00
9a1cabcb06 handle CLI files 2025-05-27 17:18:29 +00:00
155487fa83 basic command line interface 2025-05-27 14:01:09 +00:00