Commit graph

688 commits

Author SHA1 Message Date
Roland
df72735289
Adding interactive shell to main. 2022-05-18 17:48:44 -06:00
Roland
dd07236834
Checking for video corruption. Processing video when preparing filname to avoid corrupt videos. 2022-05-18 17:24:50 -06:00
Roland
0c98187276
Adding wrolpi directory to global safe directory. 2022-05-18 08:20:05 -06:00
Roland
85bf9b2d65
Updating Readme Ubuntu installation link. 2022-05-17 16:20:10 -06:00
lrnselfreliance
0765890b8b
Feature/127 archive UI rework (#131)
* Archives have their own page.  Delete/etc buttons are moved into ArchivePage.

* Alternatives for an Archive are displayed in the ArchivePage.

* ArchiveDownloader returns the location.

* Removing color from Details button.

* Making Archive screenshot and title a link.

* Preserving next_download when updating a Channel.

* Removing button icons from Archive page.
2022-05-16 17:57:18 -06:00
Roland
2314c3462f
Forcing downloader selection. Adding link to downloads page near global Download button. 2022-05-10 22:53:33 -06:00
Roland
f9dd056cc9
Fixing error where all Videos of a Channel would be downloaded because upsert_video() did not update the correct record. 2022-05-10 22:44:59 -06:00
lrnselfreliance
051290ede2
Merge pull request #126 from lrnselfreliance/feature/download-result
VideoDownloader returns a DownloadResult.
2022-05-10 21:27:14 -06:00
Roland
785ad8274c
DownloadResult.try_again is not necessary.
Removing unused fixture in test.

Simplifying logic after download completes.  Removing unused download sorting method.

ChannelDownloader returns location.

Hiding View link when no location is provided.

Performing video upsert in try/except so any errors are attached to the Download.

Including stderr only.

Including logs when returning Downloader.process_runner.

Warning when extention is replaced.

Providing location link on Downloads page.  Showing error modal on errors that fail.

Handling empty URL strings on import.

Fixing channel download test.

Reworking how Channels schedule Video downloads.

Bumping version for DownloadResult.

Updating tests to use DownloadResult.

VideoDownloader returns a DownloadResult.
2022-05-10 21:20:36 -06:00
Roland
28e983a3b3
Moving TOC up in readme. 2022-05-03 11:13:29 -06:00
lrnselfreliance
c56a937b73
Merge pull request #125 from lrnselfreliance/feature/upgrade-readme
Adding upgrade instructions to Readme.
2022-05-03 11:12:14 -06:00
Roland
e59f0c059f
Including map volumes in upgrade instructions. 2022-05-03 11:07:48 -06:00
Roland
a899178cb3
Adding debian11/rpi upgrade instructions. 2022-05-03 11:03:33 -06:00
Roland
99bd878c98
Adding upgrade instructions to Readme. 2022-05-03 11:00:09 -06:00
lrnselfreliance
5bd9201e58
Merge pull request #124 from lrnselfreliance/bugfix/121-app-handles-no-api
Wrapping most API requests in trys/catches.
2022-05-01 21:39:15 -06:00
Roland
5fc99a6dda
Fixing console errors. 2022-05-01 21:18:49 -06:00
Roland
e5b2135cb2
Fixing failed api requests. 2022-05-01 21:12:39 -06:00
Roland
3673092847
Bumping version for app fix. 2022-05-01 21:04:02 -06:00
Roland
6a654cd3af
Wrapping most API requests in trys/catches. 2022-05-01 21:03:30 -06:00
lrnselfreliance
8ab61bd8a8
Merge pull request #123 from lrnselfreliance/feature/55-hotspot-password
Hotspot SSID/password can be changed
2022-05-01 08:42:19 -06:00
Roland
9fecdc9ce3
Reworking hotspot inputs. 2022-05-01 08:38:43 -06:00
Roland
df31f0239d
Converting open state to more understandable name. 2022-04-30 12:35:48 -06:00
Roland
049058a562
Bumping version for hotspot password changing. 2022-04-30 12:30:16 -06:00
Roland
9aeda34672
Using Modal to display Hotspot QR Code. 2022-04-30 12:29:43 -06:00
Roland
61f0e48e62
Hotspot SSID/password can be changed. A QR Code is displayed in UI to allow easy joining of the hotspot. 2022-04-30 12:20:49 -06:00
lrnselfreliance
20849017a5
Merge pull request #122 from lrnselfreliance/bugfix/119-disable-startup-hotspot-docker
Only turning on hotspot while on-the-metal.
2022-04-29 19:52:30 -06:00
Roland
78baf66eb2
Bumping version for hotspot fix. 2022-04-29 19:50:03 -06:00
Roland
05265b526e
Only turning on hotspot while on-the-metal. 2022-04-29 19:48:28 -06:00
Roland
b431e1b753
Upgrading yt-dlp. 2022-04-29 19:30:58 -06:00
Roland
4058f22428
Warning when validation fails on video upsert. 2022-04-29 19:30:53 -06:00
Roland
8318224db6
Removing troubleshooting print. 2022-04-29 19:19:12 -06:00
lrnselfreliance
c8810fbeba
Merge pull request #118 from lrnselfreliance/feature/remove-channel-link
Feature/remove channel link
2022-04-29 19:13:33 -06:00
Roland
d75ddf097d
Removing unused function. 2022-04-29 19:09:49 -06:00
Roland
aa203cc102
Moving non-video functions to wrolpi.common. Handling Channel/Downlaod relationship in Channel.update.
Removing default download freqeuncy so channels will not be downloaded without a url and frequency.

Adding channel unique url constraint.

Handling when a Channel's directory may still be relative in DB.

Adding TODOs to remove old favorites.

Removing outdated favorites from config after favorites have been created.

Testing that old-style favorited videos in the config are imported.

Removing channels_by_link.

Using list to store channels in config.

Moving channel import function into lib.

Supporting old channel import with links.

Bumping version for channel.link removal.

Removing all reference to Channel.link in app and api.

Adding relative property to MediaPathType.

Testing that a channel can be downloaded after it has a frequency added.

All tests pass.

Video and Channel tests pass without channel.link.

Removing channel.link usage in channel api.

Changing video Statistics page to About.
2022-04-29 19:09:25 -06:00
Roland
79efaa22b0
Bumping version for archive search fix. 2022-04-15 08:17:02 -06:00
lrnselfreliance
fda8636c92
Fixing bug in archives search where offset could not be greater than 100. (#117) 2022-04-14 09:21:26 -06:00
Roland
372056eefd
Removing troubleshooting print. 2022-04-08 09:34:18 -06:00
Roland
0e4ea0ad07
Rewording download empty-states. 2022-04-07 15:47:55 -06:00
Roland
7656890835
Testing that video size is gathered during validation. 2022-04-07 13:42:01 -06:00
Roland
79ea0a33f0
Testing that only example 5 is in the skip list. 2022-04-07 11:32:23 -06:00
lrnselfreliance
35f5662571
Bugfix/channel download on import (#116)
* A Download record is created for every Channel imported.

* Downloads must have a URL.

* Handling when channel has download frequency but no url.

* Fetching downloads after clearing.

* Setting next download when importing channels.

* Not deleting recurring completed downloads.

* Fixing comments.

* Skipping some service tests in CircleCI because they shouldn't be tested off a local machine.

Signed-off-by: Roland <roland@learningselfreliance.com>
2022-04-07 11:18:15 -06:00
Roland
43709ac9e7
Creatind download manager config which will store skipped urls. 2022-04-02 16:01:43 -06:00
Roland
7ac3fbea2b
Creating ClearFailedDownloads button. 2022-04-01 16:45:59 -06:00
Roland
c4f511e469
Creating ClearCompleteDownloads button. 2022-04-01 16:31:49 -06:00
Roland
5178f72b66
Reworking map import to handle postgres data dumps. 2022-03-31 07:31:15 -06:00
lrnselfreliance
be4c3a5021
Merge pull request #115 from lrnselfreliance/feature/debian-install
Feature/debian install

Signed-off-by: Roland <roland@learningselfreliance.com>
2022-03-19 18:11:27 -06:00
Roland
28c6dedd03
Bumping version for debian install. 2022-03-19 17:56:40 -06:00
Roland
e3498c5ad4
Updating git clone urls for github. 2022-03-19 17:49:29 -06:00
Roland
c16d8800b8
Installing singlefile using https. 2022-03-19 17:36:14 -06:00
Roland
33fa1444c6
Allowing multiple names for which function. 2022-03-19 17:08:44 -06:00