Commit Graph

22 Commits

Author SHA1 Message Date
f7ffe1473f
Refactored .env files to use more specific names, to avoid collision
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-20 11:48:27 +02:00
b6dd77f26d
Added a first draft for the client unit testing using mockito
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-20 11:47:13 +02:00
539bf51bab
Replaced dotenv::var with std::env::var
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-19 23:04:43 +02:00
567e750f73
Refactored to separate session and albums related functions
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-19 11:40:02 +02:00
a949f196c8
Added test body_to_str_not_empty
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-18 10:45:07 +02:00
cb9d1d50fd
Added test in CI/CD
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-18 10:22:54 +02:00
43750ab47a
Added test draft
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-18 10:21:47 +02:00
a07c11228f
Removed useless timelife
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-18 09:36:00 +02:00
c3882de838
Added get_albums and refactoring to make code more usable and less coupled
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-17 23:36:18 +02:00
6ef99ec389
Added json crate to dependencies
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-17 23:31:27 +02:00
80765c2bbd
Added USERNAME and PASSWORD fields in .env
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-17 23:30:41 +02:00
503323aac9
Added missing slash to LYCHEE_ENPOINT concatenation
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-17 10:19:36 +02:00
603e8127f9
Added string concatenation to only have to set the base URI for lychee instance
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-17 10:17:34 +02:00
d30656cc45
Added API_KEY to .env
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-17 10:16:46 +02:00
21fe4418f2
Added POST call for Session::init for demo purposes
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-16 22:20:46 +02:00
0907126f09
Added .env to gitignore
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-16 22:18:48 +02:00
70ca346e93
Switched to a .env config file
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-16 22:17:57 +02:00
43d9f7c71d
Updated Cargo.lock
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-15 10:05:30 +02:00
0a76255b75
Changed Rust edition for 2018
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-15 09:15:56 +02:00
3f5cfb7a14
Added CI configuration
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-15 09:12:33 +02:00
dc3a673818
Renamed Rust project
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-15 09:03:25 +02:00
71ff73799a
Initial commit
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-10-15 08:59:12 +02:00