Commit Graph
100 Commits
Author SHA1 Message Date
grimhilt 3420634bea chore: update clap 2024-03-31 22:17:26 +02:00
grimhilt 1aa02a24af test(push): add push remove test 2024-03-31 19:23:32 +02:00
grimhilt 5e43800d6c chore: update libraries 2024-03-31 19:19:10 +02:00
grimhilt dc7df00ac9 chore: cleaning code 2024-03-17 00:20:58 +01:00
grimhilt a1b9cde71a fix(tests): fix testsuite allow to pass push 2024-03-16 23:57:01 +01:00
grimhilt 7180647d26 test(pull): add test for pull 2024-03-11 14:47:05 +01:00
grimhilt d5891a1a93 feat(push): add object when pushing directory 2024-03-11 14:16:41 +01:00
grimhilt 3207391fdb test(push): check that object are locally created when pushed 2024-03-10 23:06:32 +01:00
grimhilt fa65b6b071 test(add): implicit dir 2024-03-10 17:29:50 +01:00
grimhilt 34dee1ceb6 fix(add): add directory implicitly 2024-03-10 17:29:37 +01:00
grimhilt fe628ffc9f test(add): first tests 2024-03-10 16:49:21 +01:00
grimhilt 6b7a82bec6 fix: prevent adding nextsync config files 2024-03-10 16:49:06 +01:00
grimhilt fdcd4633e5 fix: allow to push explicit directory 2024-03-10 16:19:23 +01:00
grimhilt 06bb51476b fix(push): push folder and return error when tcp fail 2024-03-01 17:56:52 +01:00
grimhilt d8b2116aeb feat(remote): list remote with verbose option 2024-03-01 15:35:38 +01:00
grimhilt 8ed86a05ea style(obj): minor fixes 2024-02-29 09:36:52 +01:00
grimhilt 7951ad0520 refactor(tree): create impl Tree 2024-02-25 17:34:16 +01:00
grimhilt faf7341525 refactor(blob): use object trait to create blob 2024-02-24 18:52:00 +01:00
grimhilt 642c358737 feat(test): allow multiple tests 2024-02-22 14:00:13 +01:00
grimhilt e67082b85a refactor(test): use subdir 2024-02-22 13:02:22 +01:00
grimhilt 211e3702a3 refactor(test): remove old tests 2024-02-21 17:03:21 +01:00
grimhilt a2f746d7f6 test: create first real test 2024-02-21 17:01:16 +01:00
grimhilt 69614b0c9f fix(token): allow to get and store token in local config 2024-02-21 17:01:14 +01:00
grimhilt a5c5f4a713 fix(config): add option to last category 2024-02-21 17:01:10 +01:00
grimhilt eaacff0e55 fix: minor warnings 2024-02-21 17:01:08 +01:00
grimhilt 287953c086 feat(config): create a proper config file with proper settings manipulation 2024-02-21 17:01:06 +01:00
grimhilt 6a11bb494b feat(credential): allow to add credential 2024-02-21 17:01:04 +01:00
grimhilt 1c60560c6e refactor(clone): set remote in config 2024-02-21 17:01:02 +01:00
grimhilt c6534cfd40 feat(remote): add new remote 2024-02-21 17:00:43 +01:00
grimhilt 7719e27fe8 clean main: divide clap config into multiple files, broke clone 70 lines width 2023-10-28 23:46:12 +02:00
grimhilt fc8e976c9c add add/directory tests 2023-10-28 22:23:48 +02:00
grimhilt 53b103af9e fix add -A 2023-10-28 22:12:27 +02:00
grimhilt 81c24b5e3c fix multiples warnings 2023-10-28 15:49:16 +02:00
grimhilt 22b9351862 add multiple test for the add command 2023-10-28 15:45:35 +02:00
grimhilt 0c925bc4f4 count global number of tests 2023-10-28 15:45:06 +02:00
grimhilt d34b9bab5e globbing in add and clean the function 2023-10-28 15:44:53 +02:00
grimhilt 56234eaa3d add todos and fix some bugs on add and status 2023-10-28 00:15:47 +02:00
grimhilt fd477a8139 start some tests on add command 2023-10-28 00:14:14 +02:00
grimhilt 559316e756 add user agent on login request 2023-10-27 23:04:01 +02:00
grimhilt f4a905c57f store token 2023-10-24 15:32:51 +02:00
grimhilt c6cf8a9730 update readme to show auth 2023-10-21 22:29:00 +02:00
grimhilt f6db6992a0 working login system 2023-10-21 22:27:34 +02:00
grimhilt 908ead5b11 change name of functions 2023-10-21 21:48:21 +02:00
grimhilt 9ea1d01c27 add trait ApiCall 2023-10-21 21:47:48 +02:00
grimhilt 07f6405b26 test login 2023-10-21 19:54:11 +02:00
grimhilt dadf00f4a5 add import necessary for test 2023-09-12 15:48:37 +02:00
grimhilt a35c7b20d8 cleaning warnings 2023-08-27 22:57:05 +02:00
grimhilt 863e3bd68a find deletion on pull 2023-08-27 22:50:51 +02:00
grimhilt 57647e5df2 implement -all option to add 2023-08-25 18:52:29 +02:00
grimhilt 41c4796555 push copy file 2023-08-25 16:34:16 +02:00
grimhilt aced8b992a create IntoPathBuf 2023-08-25 16:25:29 +02:00
grimhilt d323ae3070 push move file 2023-08-25 16:09:28 +02:00
grimhilt d476622305 prevent copy or move of empty file 2023-08-24 22:19:11 +02:00
grimhilt 498fada9ec push modification 2023-08-24 20:59:41 +02:00
grimhilt f64d719b31 find modified, copied, moved file in staged 2023-08-23 12:52:45 +02:00
grimhilt dcf137667b clean code 2023-08-11 22:09:34 +02:00
grimhilt 5b46b1e2f1 not cleaned status with moved and copied 2023-08-11 18:21:29 +02:00
grimhilt 4b12edbe5c add refs to blob 2023-08-11 18:21:00 +02:00
grimhilt 16dbd25168 add modified files in status 2023-08-04 19:17:21 +02:00
grimhilt 91a29480df fix blob creation and get changes 2023-08-04 19:17:04 +02:00
grimhilt ce047eba12 prevent crash of downloader when not logging 2023-08-04 19:16:44 +02:00
grimhilt 94220be935 add timestamp and hash in blob 2023-08-04 16:01:24 +02:00
grimhilt d5097727cb create impl for blob 2023-08-04 15:25:51 +02:00
grimhilt cb43a46456 draft of pull 2023-07-28 13:22:55 +02:00
grimhilt 4c34df7cfe remote-diff only a directory 2023-07-28 13:22:13 +02:00
grimhilt 29def4967c normalize path in add and check if path correspond to deleted object 2023-07-24 00:49:08 +02:00
grimhilt 2775c77c55 improve status and minor fixes 2023-07-24 00:48:22 +02:00
grimhilt 4e20ec94f9 remote diff with new opti remote enumerater 2023-07-21 17:10:57 +02:00
grimhilt f01983b29d optimize clone by allowing to fetch with a different depth 2023-07-21 16:00:04 +02:00
grimhilt 0832100d83 enumerate_remote function & applied to clone 2023-07-21 14:45:45 +02:00
grimhilt 30004ebd8b remote-diff draft 2023-07-20 00:59:57 +02:00
grimhilt dfd42389f3 loading bar when downloading 2023-07-14 15:33:44 +02:00
grimhilt 80d497d47c creation of a downloader 2023-07-13 23:36:39 +02:00
grimhilt 70fb733b05 use stream do download file 2023-07-13 23:34:52 +02:00
grimhilt 60e0bf76a0 improve parser in reqprops to take into account not found props 2023-07-13 16:19:33 +02:00
grimhilt b4cb78c676 fix issue when getting long body in reqprops 2023-07-13 16:02:20 +02:00
grimhilt 0922066baa add contentlength in reqprops 2023-07-13 16:02:04 +02:00
grimhilt 2d4905f506 allow not updating parent's date when cloning 2023-07-13 00:21:37 +02:00
grimhilt 5bc9ef0035 Update README.md 2023-07-02 19:07:24 +02:00
grimhilt f56dcd30b8 cleaning all warnings 2023-07-02 19:04:45 +02:00
grimhilt ddf2169950 use PathBuf in obj instead of &Path and get lastmodified when pushing changes 2023-07-02 18:50:33 +02:00
grimhilt 5ccce48381 update date to all parent 2023-07-02 18:49:56 +02:00
grimhilt 4ec389b6cc improve documentation 2023-07-02 15:51:51 +02:00
grimhilt ed599d1399 add about for the help 2023-06-30 00:58:26 +02:00
grimhilt 8173bbc7d5 Update README.md 2023-06-30 00:57:32 +02:00
grimhilt 95bd5e7366 add license 2023-06-30 00:28:58 +02:00
grimhilt b08e6d3898 set depth to 0 when looking for single result in req_props 2023-06-30 00:21:14 +02:00
grimhilt 723ceb2655 push deleted dir 2023-06-29 23:52:48 +02:00
grimhilt 2a0fe6d1d1 minor changes 2023-06-29 23:52:40 +02:00
grimhilt 45f8d486d8 remove objects 2023-06-29 23:52:19 +02:00
grimhilt f812ad411e improve staging to take files in new folders 2023-06-29 23:51:13 +02:00
grimhilt 601f176198 improve getting staged in status 2023-06-29 22:55:19 +02:00
grimhilt da3d605baa remove env variable for remote 2023-06-25 21:27:31 +02:00
grimhilt b74c5c176b check if the user is in a nextsync repo and fail else 2023-06-25 18:26:59 +02:00
grimhilt d3592a5209 check if directory where the init command is clone is empty 2023-06-25 18:03:56 +02:00
grimhilt 39d1032c14 check if directory to clone is empty 2023-06-25 17:56:55 +02:00
grimhilt 20926514d2 allow url format without username 2023-06-25 17:45:51 +02:00
grimhilt b07e3062b7 push new dir 2023-06-25 17:27:11 +02:00
grimhilt a1aeb65600 push deleted 2023-06-24 17:00:15 +02:00
grimhilt 675b650200 check timestamp for conflicts with remote 2023-06-24 16:52:02 +02:00