Commit graph

87 commits

Author SHA1 Message Date
Roland
30affa20cd
Using archive request when testing. 2022-01-06 14:20:21 -07:00
Roland
2447ced632
Enabling downloads. 2022-01-06 13:56:49 -07:00
lrnselfreliance
6e55e7360b
Feature/raspberry pi archive (#72)
* Converting OTP PDF generation to Latex to avoid installing wkhtmltopdf.

* Creating temporary_directory_path to simplify creating a TemporaryDirectory of type Path.

* Removing author

* Linting

* Installing texlive-latex-extra for more readable font.

* Raspberry pi has to archive locally.

Signed-off-by: Roland <roland@learningselfreliance.com>
2022-01-06 13:56:19 -07:00
Roland
d8f4d356bb
Adding version information. Beta!! 2022-01-05 17:07:54 -07:00
Roland
9091efaf2b
Not setting validated unless the conversion was successful. 2022-01-05 15:10:11 -07:00
Roland
3284a210bf
Using relative path for shorter repr. 2022-01-05 13:40:11 -07:00
lrnselfreliance
bedcc3a5e9
Bugfix/favorites import (#71)
* Favorite videos are saved even if the DB is wiped.

* Logging when importing.

* Warning when favorite video cannot be found.

* Handling when a favorited video has no channel.

* Fixing link name in log.

* vid2 was not in a channel.

Signed-off-by: Roland <roland@learningselfreliance.com>
2022-01-05 12:52:38 -07:00
Roland
e6fa9c79f7
Importing videos config after successful refresh. This is apply favorites to videos. 2022-01-05 09:50:46 -07:00
Roland
9d325e3a51
Forcing 5000 port for wrolpi app. 2022-01-04 21:08:54 -07:00
Roland
a75f5658b4
Removing unnecessary center. 2022-01-04 20:38:49 -07:00
Roland
f3b49b3551
Handling when a video has no channel, but should not be downloaded again. 2022-01-04 16:24:02 -07:00
Roland
0c2250ea12
Skipping video when download URL is bad. 2022-01-04 16:21:27 -07:00
Roland
a190348263
Ignoring and warning about error when refreshing a channel's videos. 2022-01-04 15:10:44 -07:00
Roland
b6c7ef1d99
Using video path as alternate title on video player. Showing 'No Description' when no description is available. 2022-01-04 14:48:01 -07:00
Roland
61abff1c5e
Video titles have HTML entities replaced. 2022-01-04 14:30:45 -07:00
Roland
9da3b3d8b2
Creating api_param_limiter which can be used to restrict limit or offset. 2022-01-04 12:15:11 -07:00
Roland
ad1b8b805e
Applying textsearch coalesce fix to archive.textsearch. 2022-01-04 11:14:15 -07:00
Roland
6344e41db3
Fixing downgrade for latest patch. 2022-01-04 11:09:02 -07:00
Roland
38b756cf9d
Fixing bug where video.textsearch would be null if one of the columns was null. 2022-01-04 11:05:00 -07:00
Roland
fe9bdc190e
Using more broad video format selection. 2022-01-04 10:31:37 -07:00
Roland
ea7fb09689
Fixing bug where videos were not fetched on a channel page. 2022-01-04 09:26:21 -07:00
Roland
51b7c1cc75
Reformatting pages in a consistent way. 2022-01-04 09:07:28 -07:00
Roland
73af881f74
Removing temporary db updating container. 2022-01-03 16:36:58 -07:00
Roland
116d3d2a5e
Updating readme with changes. 2022-01-03 16:36:44 -07:00
Roland
79a080ec6c
Showing favorite label on favorite videos. 2022-01-03 16:32:41 -07:00
Roland
e485b8ff0b
Adding placeholder to search input. 2022-01-03 16:26:16 -07:00
Roland
94f6d2347b
Clearing search manually. 2022-01-03 16:07:04 -07:00
lrnselfreliance
c23b014add
Feature/archive search (#70)
* Working through archive search.

* Using custom hook.

* Setting archive.contents duration creation.

* Archive search and domain list use custom hooks.

* Watching search param using value, not history.

* Search params are preserved on load.  Search and domain can be cleared.

* Fixing archive external link.

* Archive search form is new generic SearchInput.

* Reworking Archives empty states.

* Simplifying Archives logic.

* Fixing bug which displayed the wrong empty state during loading.

* Archives can be synced and deleted.

* Changing wording of archive delete.

* Removing URL table.

* Deleting domain if it has no archives.

* Fixing FE use of archive.url.  Fixing bug with get_domains.

* Universal results are displayed on Welcome page.

* Creating ExternalLink to open a link in a new tab.g

* Increasing size of search headers.

* Adding divider to ease reading.

* Adding More button below search results.

* Disabling More buttons when there are no results.

* Ordering videos by rank so linked results are at the top.

Signed-off-by: Roland <roland@learningselfreliance.com>
2022-01-03 15:13:38 -07:00
Roland
b594f9761a
Changing weight to lowest. 2021-12-31 22:36:16 -07:00
Roland
3cb2aaf6cf
Fixing archive deleting. 2021-12-31 22:35:23 -07:00
Roland
fb1f1c6926
Removing duplicate sorting code. 2021-12-31 20:33:47 -07:00
Roland
3f7145c940
Fixing video search bug. 2021-12-31 20:28:51 -07:00
Roland
a95cbd74c9
Splitting new archive test for thoroughness. 2021-12-31 20:23:49 -07:00
Roland
6e16ad9a23
Archives can be searched by their contents. 2021-12-31 20:14:14 -07:00
Roland
ada6baaee4
Fixing double video search. 2021-12-31 18:49:14 -07:00
Roland
fbe3aa382d
Using setweight() to alter how textsearch is performed. 2021-12-31 18:35:30 -07:00
Roland
fea2ca27b0
Creating index for video textsearch. 2021-12-31 18:16:23 -07:00
Roland
e3fd85ff97
Getting latest archive by greating __gt__ and using max(). 2021-12-30 22:31:40 -07:00
Roland
a05cb2272e
Handling when archives have been manually deleted. 2021-12-30 22:23:32 -07:00
lrnselfreliance
fbfa8b354f
Merge pull request #69 from lrnselfreliance/feature/download-info-saving-2
Squashed commit of the following:
2021-12-30 20:47:47 -07:00
Roland
02f8584762
Squashed commit of the following:
commit 1663e1be9e
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 19:37:25 2021 -0700

    Setting downloader to video when a channel schedules it's videos for download.

commit a6811f9e87
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 19:33:27 2021 -0700

    Setting channel downloader when spreading channel downloads.

commit b63c8f132a
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 19:28:53 2021 -0700

    Fixing DownloadManager.kill

commit 120ce7cd2c
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 19:10:12 2021 -0700

    Fixing OTP api urls.

commit d3b985241b
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 19:07:48 2021 -0700

    Channel Cancel button does not submit form.

commit 9d1a0ecd55
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 19:00:53 2021 -0700

    A Channel without an existing Download cannot be downloaded.

commit e7c920f382
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 18:41:02 2021 -0700

    Fixing typing.

commit d56c8fde24
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 18:36:02 2021 -0700

    Testing bad downloader param.

commit e3c57ef674
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 18:31:35 2021 -0700

    Adding __json__ to Downloader for sending them to the FE.  Hiding ChannelDownloader because it will be handled specifically.

commit 047b507119
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Dec 30 18:20:37 2021 -0700

    Downloader can be specified by the user.

commit 4a169ba43c
Author: Roland <roland@learningselfreliance.com>
Date:   Tue Dec 28 18:37:30 2021 -0700

    Download info a set in create_downloads.

commit 8778d53fa1
Author: Roland <roland@learningselfreliance.com>
Date:   Tue Dec 28 18:21:43 2021 -0700

    Fixing Download.info_json name.

commit b28bacfd5b
Author: Roland <roland@learningselfreliance.com>
Date:   Tue Dec 28 18:17:53 2021 -0700

    Downloader names are in the class, not in the init.

commit f5ce952da0
Author: Roland <roland@learningselfreliance.com>
Date:   Tue Dec 28 18:07:42 2021 -0700

    Download info can be saved during the download process and can be used by the Downloader.
2021-12-30 20:45:11 -07:00
Roland
f830fe3dcc
Dropping channel.next_download. Removing noisy download logs. 2021-12-27 16:43:52 -07:00
Roland
22031c5860
Showing Censored in video statistics. Using link for video url. 2021-12-24 15:38:58 -07:00
Roland
95c37ae415
Creating statistic container for channels. 2021-12-24 15:31:15 -07:00
Roland
81fb9b06c5
Creating indexes on video columns to speedup video search. 2021-12-24 14:53:47 -07:00
Roland
2b5f48d8d7
Removing duplicate log. 2021-12-23 14:22:28 -07:00
Roland
944782fd7c
Creating video.censored column so videos can be quickly filtered. 2021-12-23 14:09:31 -07:00
lrnselfreliance
02116bf2bc
Feature/censored videos (#65)
* Creating api endpoint to find censored videos.

* Videos can be filtered by censored status.

* Not deleting when there has not been a successful download.

* Search now has a different param order.

* Displaying correct header for videos page.

* Reworking FilterModal to be more universal.

* Using merge_output_format for preparing filename.

* Resetting attempts when user requests a download be started.

* Displaying video stem as title if no title is available.

Signed-off-by: Roland <roland@learningselfreliance.com>
2021-12-23 09:38:32 -07:00
Roland
ea2bf8530b
Moving tests out of api class. 2021-12-21 21:12:41 -07:00
Roland
e15e49028b
Testing is_valid_poster 2021-12-21 21:03:33 -07:00