Commit Graph

186 Commits

Author SHA1 Message Date
FliegendeWurst
711bfe8d17 Update tokio to 1.0 2021-01-20 10:26:38 +01:00
FliegendeWurst
c5b8cc7399 Version 0.2.13 2021-01-05 12:31:38 +01:00
Maximilian Bosch
973bb65867
Fix shibboleth login by passing a CSRF token (#4)
Credits go 2714ac6be6
where I derived this fix from.
2020-12-31 10:59:28 +01:00
FliegendeWurst
d557efef6b Handle duplicate file names in exercises 2020-12-16 08:32:47 +01:00
FliegendeWurst
72f7842336 Version 0.2.12 2020-12-10 08:40:24 +01:00
FliegendeWurst
6b1e6cb9a6 Replace invalid characters in filenames (Windows only, fixes #3) 2020-12-10 08:39:08 +01:00
FliegendeWurst
58078fc2cf Version 0.2.11 2020-12-04 13:06:02 +01:00
FliegendeWurst
7d4b9279ee Terminate once all tasks are complete 2020-11-28 16:42:26 +01:00
FliegendeWurst
09f69b9efd Wait on all spawned tasks 2020-11-28 13:12:42 +01:00
FliegendeWurst
377cef7cf2 Update dependencies 2020-11-28 12:56:23 +01:00
FliegendeWurst
4770bc9beb Version 0.2.10 2020-11-27 08:45:11 +01:00
FliegendeWurst
7d6f1da7ce Update readme 2020-11-09 12:02:44 +01:00
FliegendeWurst
f195911531 Load username and password from .iliaslogin 2020-11-09 08:58:21 +01:00
FliegendeWurst
97ac79b19f Replace forward and backward slashes in names 2020-11-06 12:52:46 +01:00
Maximilian Bosch
ef860819d9 Regenerate Cargo.lock via cargo vendor for 0.2.9
Otherwise, the build would fail like this when using `cargo build
--frozen` which is e.g. the case when building Rust code with Nix[1]:

```
error: the lock file /build/source/Cargo.lock needs to be updated but --frozen was passed to prevent this
```

[1] https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md
2020-11-01 23:00:18 +01:00
FliegendeWurst
a1b5ba2b5b Version 0.2.9 2020-11-01 12:27:58 +01:00
FliegendeWurst
84c65b2b99 Update URL parameters to latest OpenCast 2020-11-01 12:05:32 +01:00
FliegendeWurst
9ca1e6af39 Update dependencies 2020-11-01 11:55:44 +01:00
FliegendeWurst
b9446c0dfa Extract url out of web link HEAD request errors 2020-07-22 18:02:43 +02:00
FliegendeWurst
449d642bf5 Fix video downloading
Load the full lecture list differently (should work for every course now)
Actually download new videos
2020-07-16 11:34:56 +02:00
FliegendeWurst
3b31b08246 Version 0.2.7 2020-07-15 22:36:39 +02:00
FliegendeWurst
3483b7db48 Update dependencies 2020-07-13 09:44:27 +02:00
FliegendeWurst
1610db4c3c Avoid race condition in network request scheduling
oops
2020-07-13 09:41:00 +02:00
FliegendeWurst
1aa28f0d00 Only download video metadata if not downloaded yet
The user can still request metadata checks.
2020-07-13 09:29:49 +02:00
FliegendeWurst
b3ad9f42c9 Download full OpenCast lecture list 2020-07-02 23:10:51 +02:00
FliegendeWurst
67ba34af85 Make OpenCast lecture update checks optional 2020-06-23 16:42:15 +02:00
FliegendeWurst
7cc780ed18 Create output directory automatically 2020-06-19 16:51:39 +02:00
FliegendeWurst
15bb53c770 Update dependencies 2020-06-19 16:51:26 +02:00
FliegendeWurst
d3d7a1336c Version 0.2.6 2020-05-18 11:14:21 +02:00
FliegendeWurst
cb64cdbd9a Don't use raw html content for video file names 2020-05-15 19:38:13 +02:00
FliegendeWurst
d815a6ea1e Simplify code 2020-05-12 15:09:32 +02:00
FliegendeWurst
5288d6723f Update dependencies 2020-05-12 06:49:54 +02:00
FliegendeWurst
0fd1e6ce5b Clean up code slightly 2020-05-11 17:35:30 +02:00
FliegendeWurst
dfdd6829fc Utility function to create a directory 2020-05-11 17:17:13 +02:00
FliegendeWurst
9a88edf297 Create utility function to write data to file 2020-05-11 17:02:05 +02:00
FliegendeWurst
728dde9a5d Error handling around URL parsing
Is currently dead code, but might be useful eventually.
2020-05-11 16:08:34 +02:00
FliegendeWurst
b7b52fd107
Add example: only download one tutorial folder 2020-05-11 15:58:09 +02:00
FliegendeWurst
184e8fce64 Improve readme 2020-05-11 10:13:57 +02:00
FliegendeWurst
9f1a2ab2fa Download exercise feedback 2020-05-11 10:06:22 +02:00
FliegendeWurst
9844de220e Download exercise solutions 2020-05-09 13:17:37 +02:00
FliegendeWurst
4ac7a486a7 Version 0.2.5 2020-05-09 09:42:53 +02:00
FliegendeWurst
d1e758e28a Download exercises and weblinks 2020-05-09 09:25:41 +02:00
FliegendeWurst
c4ca0e15b4 Reorder struct definitions 2020-05-09 09:07:13 +02:00
FliegendeWurst
1cc3e608f9 Logging macro 2020-05-09 09:02:33 +02:00
FliegendeWurst
474ad43fc8 Use CARGO_PKG_NAME 2020-05-08 22:03:45 +02:00
FliegendeWurst
d6f635b442 Warn the user if a video has been updated
This also 'detects' duplicated videos.
2020-05-08 21:53:32 +02:00
FliegendeWurst
a3f84aa6fb Use anyhow instead of error-chain for errors 2020-05-08 21:25:45 +02:00
FliegendeWurst
fc9afdd66a Update dependencies 2020-05-06 22:51:02 +02:00
FliegendeWurst
c300dec4b4 Update dependencies 2020-05-03 21:48:24 +02:00
FliegendeWurst
a5afd84764 Improve log message 2020-05-03 21:48:13 +02:00