Commit graph

149 commits

Author SHA1 Message Date
Roland
97fcfd93ce
Using iframeviewer for Zim result preview. 2024-06-17 14:49:04 -06:00
Roland
bd431165e5
Displaying helpful error when iframes do not load. 2024-06-17 10:40:30 -06:00
Roland
38de2f9b40
Moving HTTP kiwix/help services to 9085/9086 ports. Nginx will serve HTTPS proxy for kiwix/help services at the old ports. Modifying apache2 to use HTTPS to serve map.
Using new https_proxy docker container to serve HTTPS for zim, map and help.
2024-06-12 21:38:51 -06:00
Roland
2aebb7c406
Creating Calculators in app. Current calculators are Temperature and Electrical. 2024-05-31 23:53:30 -06:00
Roland
dd13534a39
Modifying Dashboard search clear button to clear all search params. 2024-05-25 10:48:08 -06:00
Roland
63381c1d77
Created download retry button. 2024-05-08 17:05:12 -06:00
Roland
58de8c7c5b
Upgrading Sanic and yt-dlp. Major changes occurred because Sanic changed how multiprocessing works.
Python 3.11 is now required, old versions were causing unpredictability in tests.  (Sanic does not yet
support 3.12)

Sanic has been upgraded to 23.6.0, which is the latest version that avoids this bug:
 https://github.com/sanic-org/sanic/issues/2921

New strategy for multiprocessing is to create all multiprocessing tools in one process, then fork
to other processes.  The previous strategy was to declare multiprocessing tools at the top of every
file, or wherever they were needed at import/creation.  Now all multiprocessing tools are attached to the
app.shared_ctx.  This means `api_app` is imported in many, many places.

This forced a change in how the DownloadManager works.  Previously, it would continually run
download workers which would pull downloads from a multiprocessing.Queue.  Now, a single worker checks
for new downloads and sends a Sanic signal.

Flags have been reworked to use the `api_app`.  I removed the `which` flag functionality because the
`which` are called at import and needed their own multiprocessing.Event.
2024-04-30 10:55:25 -06:00
Roland
62c4afce0b
Modifying height of iframes for Map/Zim viewers to show full page of iframe. 2024-04-16 10:34:05 -06:00
Roland
ba2dd6dd11
Many fixes split out from the feature/unified-query branch. Installing diagnostic tools in the built images. Displaying video comment statistics. Echoing error when install.sh fails. 2024-04-14 13:13:30 -06:00
Roland
00fe799b8f
User can select from/to years when searching files. Indexing doc and docx files. 2024-03-07 12:12:48 -07:00
Roland
758ff8e810
Creating background process that fetches comments for Videos that do not yet have comments.
Displaying star for Uploader's comments, heart for favorited comments.

Adding wrolpi help files desktop shortcut to rpi image.

Using zim file names as FileGroup.title.

Removing accidental output commit.
2024-03-01 17:15:56 -07:00
Roland
f865d9fb0f
Videos display comments. User can download comments using Refresh button. 2024-02-20 13:47:12 -07:00
Roland
6f1431e6e4
Handling when settings has yet to be fetched. 2024-02-20 09:49:53 -07:00
Roland
6d5a56cacc
A user can ignore a directory by selecting it and ignoring it in the FileBrowser. 2024-02-19 14:44:20 -07:00
Roland
6409e0ffde
Do not need to encode query. Clearing search input when user navigates to dashboard. 2024-02-17 13:46:28 -07:00
Roland
170e227bf9
Removing search suggestions context. Passing suggestions down to search table. 2024-01-01 17:11:09 -07:00
Roland
3ad7b8af00
Global search waits for selection before submitting. 2024-01-01 15:16:03 -07:00
Roland
d87bc7b314
Fetching search estimate with tags separate from suggestions. 2023-11-29 21:09:39 -07:00
Roland
512bdbc876
Displaying results as long as they are not empty. 2023-11-22 12:34:17 -07:00
Roland
bbfe76890b
Converting Search Suggetions to a Context. Search estimates is removed and suggestions is used instead. 2023-11-22 12:19:49 -07:00
Roland
94a2c50531
Reworking useLatestRequest to actually debounce before fetching. Modifying search to display loading message when results are pending. 2023-11-22 10:35:01 -07:00
Roland
e59ec3e9ac
Search Suggestions are debounced and only the latest response is used to set the results. 2023-11-21 21:15:24 -07:00
Roland
891e48c600
Removing unused withAction property. 2023-11-21 13:10:12 -07:00
Roland
1b92d1e580
Global search uses Semantic SearchResultsInput component, other components use SearchInput. 2023-11-21 13:01:52 -07:00
Roland
fdfb8797fe
Apps and tags are suggested in global search. 2023-11-20 11:29:14 -07:00
Roland
f37e598c53
Global search will suggests Channels and Domains for user navigation. 2023-11-20 11:01:46 -07:00
Roland
67c8db5203
Changing clear button type to button instead of submit to avoid clearing search on enter.
Bump aiohttp from 3.8.5 to 3.8.6

Bump pypdf from 3.12.1 to 3.17.0
2023-11-20 10:14:37 -07:00
Roland
00ab6401a0
Adding minimum width to ellipsis text for mobile screens. Adding button to clear active tags filter. 2023-11-04 15:57:57 -06:00
Roland
f9f71fa908
Searching all zips when searching for Software. 2023-11-02 15:31:13 -06:00
Roland
472846038b
Auto-submitting global search input, but debouncing with 1 second. 2023-11-02 15:24:07 -06:00
Roland
5b7aec59cc
Adding name query param to Channel filter input so the search can survive a refresh. 2023-11-02 10:45:35 -06:00
Roland
badfe691de
Using css ellipsis for download rows. 2023-11-02 10:07:49 -06:00
Roland
38cddeff98
Adding software file filter. 2023-10-29 21:26:35 -06:00
Roland
15687e534a
Moving data from models to FileGroup.
* Ebook.creator -> FileGroup.author
* Video.viewed -> FileGroup.viewed
* Video.duration -> FileGroup.length
* Video.url -> FileGroup.url
* Archive.url -> FileGroup.url
2023-10-29 17:31:54 -06:00
Roland
ae9d188391
Adding FileGroup.published_date/author/etc. Creating script which converts a Singlefile to an Archive FileGroup files.
Parsing SingleFile datetime using dates.strpdate.

Adding timezone when no timezone info is available.

Installing python-dateutil to assist in handling diverse datetime strings.

Reworking refresh progress to use idempotency to display more accurate progress.  Only logging that files have been invalidated if they used to be indexed.

Clearing archives to force re-index.

Ignoring 'Unknown' author from PDF metadata. Using file_title when pdf metadata title is empty.
2023-10-23 18:09:08 -06:00
Roland
9d21282eab
Rewording hotspot error beacuse this error may not show up in a Docker environment. 2023-10-09 15:44:22 -06:00
Roland
5a07c373fe
Showing high load icon when load is not low. This load icon is only shown if the temperature icon is not displayed. 2023-10-06 12:48:20 -06:00
Roland
6e0f9a999c
Combining install scripts into a new repair script. Removing create_db script in favor of repair script. 2023-10-03 12:15:29 -06:00
Roland
351351d90c
Raising error when Downloader.do_download is not programmed correctly. Fixing any tests that were not using do_download correctly. 2023-09-20 12:17:07 -06:00
Roland
92350b1d58
Adding font icon. 2023-09-15 12:02:33 -06:00
Roland
b2f02d473e
Hiding Size column when editing Tags in mobile. 2023-09-13 10:39:06 -06:00
Roland
619a88c429
Reworking default/empty/error states for all pages. Null is pending, undefined is error. 2023-09-07 20:13:36 -06:00
Roland
17a1aa903c
Modifying Archive page to match Video page, specifically using tabs for the about/files. 2023-08-26 20:28:34 -06:00
Roland
81e661d14c
Combining information messages into <InfoMessage/>. 2023-08-23 20:14:23 -06:00
Roland
492fb16ee2
Combining epub preview modal with iframe modal. Simplifying getEpubViewerURL. 2023-08-20 18:50:30 -06:00
Roland
7db4bc65f0
Replacing & in media path URLs. 2023-08-20 16:06:16 -06:00
Roland
052c3a0e19
Removing debug logging. 2023-08-20 14:48:52 -06:00
Roland
2537017039
Creating shutdown and restart buttons. 2023-08-17 20:07:02 -06:00
Roland
7f54e592ed
A user can define a destination when creating a channel/playlist download. This destination is then sent to VideoDownloader. 2023-08-17 18:11:57 -06:00
Roland
1e4644e15c
Creating CPU Temperature Icon which displays only when temperature is too high. 2023-08-13 10:54:43 -06:00