Commit Graph

224 Commits

Author SHA1 Message Date
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
FliegendeWurst
a7027124e3 Version 0.2.4 2020-04-28 12:02:52 +02:00
FliegendeWurst
946dae564b Increase download timeout 2020-04-28 12:02:13 +02:00
FliegendeWurst
aa0beae6f3 Update dependencies 2020-04-28 11:48:44 +02:00
FliegendeWurst
ab9e7f07eb
Update readme: .iliasignore usage 2020-04-25 10:38:49 +02:00
FliegendeWurst
e8e81eeb0f Better error handling 2020-04-25 09:33:21 +02:00
FliegendeWurst
137c1ff113 Handle objects in folders that do not have links 2020-04-25 08:42:05 +02:00
FliegendeWurst
2a4e7c7326 Tweak logging 2020-04-24 20:46:05 +02:00
FliegendeWurst
5698f1d3dc Version 0.2.2 2020-04-24 11:14:26 +02:00
FliegendeWurst
86f24e0f14 Apply .iliasignore settings to all objects 2020-04-24 11:02:12 +02:00
FliegendeWurst
7faf14e37f Ignore courses specified in .iliasignore file 2020-04-24 10:14:53 +02:00
FliegendeWurst
12876a3e8c Update timeout (video CDN is slow) 2020-04-24 09:49:05 +02:00
FliegendeWurst
b1c148f5a9 Make content tree downloading optional
It is *really* slow.
2020-04-24 09:46:48 +02:00