Commit graph

86 commits

Author SHA1 Message Date
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
f05e112040 [wip] retry chunks
- make `Chunk` lifetime agnostic by using a raw pointer
- add `fn Uploading::rewind`
- add `fn AppState::{next_chunk, is_done}`
2025-06-13 17:03:25 +00:00
5556a658f5 minor refactoring
- var names
- logging
2025-06-13 16:07:25 +00:00
09d22a0ad9 minor renamings 2025-06-12 23:43:03 +00:00
f77acc1afd cleanup some unwrap() 2025-06-12 23:28:42 +00:00
4b650fd82f Merge branch 'feature/sharry_client' into develop 2025-06-12 23:07:25 +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
b9a0e1eeb0 [wip] impl Client for ureq::Agent
- progress bar handling
- share notify timing
2025-06-12 22:29:01 +00:00
2edc690331 [wip] impl Client for ureq::Agent
- clippy fix
2025-06-12 16:25:15 +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
592e7bf76e [wip] impl Client for ureq::Agent
- `AppState` creation
2025-06-11 00:28:23 +00:00
0993679641 [wip] impl Client for ureq::Agent
- clippy fix
2025-06-11 00:06:08 +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
69bef4e994 [wip] impl Client for ureq::Agent
- impl `sharry_file_patch`
- completely rework chunking logic
2025-06-10 01:17:17 +00:00
c9528a9ac1 [wip] impl Client for ureq::Agent
- use `sharry_file_create` in `AppState`
2025-06-09 00:05:58 +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
90cecd015e [wip] impl Client for ureq::Agent 2025-06-08 17:13:01 +00:00
51ecab41bb [wip] impl Client for ureq::Agent 2025-06-08 01:20:41 +00:00
5b6fa3eaf7 minor imports refactoring 2025-06-08 00:40:29 +00:00
e208df9711 move simplified SharryFile trait back into mod.rs 2025-06-06 23:48:22 +00:00
e908c09beb refactor: minimize usize usage 2025-06-06 23:42:18 +00:00
3dc39edcab minor refactoring and fixes 2025-06-06 22:25:39 +00:00
e98001f4a4 implement SharryFile trait 2025-06-06 15:21:49 +00:00
39560eeeed mark and eliminate some unwrap 2025-06-05 22:08:24 +00:00
faea74241d progress bar refactoring 2025-06-05 21:37:52 +00:00
8537684656 ideas 2025-06-05 17:47:42 +00:00
e746256fdc Merge tag '0.1.0-alpha' into develop
First working version

- distinct lack of comments
- no testing (needs trait oriented implementation)
- all `UploadError`s are treated equally
2025-06-05 17:47:17 +00:00
1ef50b6ee5 Merge branch 'release/0.1.0-alpha' 2025-06-05 17:44:39 +00:00
a1e1b6d54c version tag 2025-06-05 17:44:28 +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
e7f0fc5a38 PathBuf debug formatting 2025-06-05 01:45:25 +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
a91d9afb66 sharry::api::Uri handling (addendum) 2025-06-04 22:29:19 +00:00
28bb44aaf0 AI notes have been used up 2025-06-04 22:20:15 +00:00
74f381c7f3 project: statically linked by default 2025-06-04 22:19:24 +00:00