Commit graph

184 commits

Author SHA1 Message Date
Roland
2b64a2d0ce
Adding more mimetypes (js/css/srt). 2022-12-15 08:52:06 -07:00
Roland
574996c318
Adding openscad mimetype. 2022-12-15 08:43:59 -07:00
Roland
8dbdab6fd8
Do not index .scad files. 2022-12-14 19:35:27 -07:00
Roland
4d3aef98d1
Special handling for YAML files. 2022-12-14 19:34:13 -07:00
Roland
f7aaa1363c
Always fetching mimetype. Special handling for .stl files. 2022-12-14 19:25:05 -07:00
Roland
94e4cce1f2
Special handling for csv mimetype files. 2022-12-14 19:14:19 -07:00
Roland
3751ed7999
Reformatting files. 2022-12-14 19:11:11 -07:00
Roland
e64b44ba1d
Reworking ebook modeler to not require session. Only flushing group once. 2022-12-14 19:06:36 -07:00
Roland
a149cc8f69
Reworking modelers to only fetch matching models once to avoid making many queries per group. 2022-12-14 18:52:42 -07:00
Roland
cdc02ecaf2
Mocking apply_indexers because it is unecessary for this test. 2022-12-14 13:16:42 -07:00
Roland
a160f2788b
Indexing files that have not been indexed after refresh, rather than during refresh. 2022-12-14 13:08:27 -07:00
Roland
9b048af7fd
Removing unused code. Matching use of style for file name parsing. 2022-12-14 10:33:11 -07:00
Roland
282713537c
Removing gzip/bzip indexer, they will require dedicated indexers. 2022-12-13 13:25:57 -07:00
Roland
a6a730a0d2
Splitting filename words for File.a_text. Words with dashes, underscores and whitespace are split better. 2022-12-13 12:44:24 -07:00
Roland
2f0d2f9b95
Testing that ebook index is only performed once. 2022-12-13 11:51:08 -07:00
Roland
6c45d529da
Bumping version for ebook searching. 2022-12-11 12:39:59 -07:00
Roland
6fcb992540
Storing example ebooks for testing.
Special handling of json mimetype for json files.

Moving types up to avoid overwriting mime.types.

Adding custom types to nginx to server ebooks better.

Displaying EBookCard correctly when ebook was not indexed correctly.

Global search can search for all ebooks (mobi/epub).

Testing when mimetype suffix is searched.

Adding eBook to global search filter list.  Opening mimetype search to match mimetypes that may not end with expected suffix.

Adding log warning to explain refresh speed.

Generating ebook covers after refresh.

Testing that another nearby book removes the cover.

Calibre covers can be discovered and associated with an ebook.

Handling if ebooklib is not yet installed.

Adding ebook table and modeler to allow searching the contents of epub files.

Marking all PDFs as un-indexed, so they will be indexed.

Replacing null characters in PDF text.

Testing PDFIndexer against example PDF file.

Installing PyPDF2 to extract text for PDFIndexer.
2022-12-11 12:36:53 -07:00
Roland
d77e69f54e
Adding refresh_files_list function and api endpoint which allows refreshing of specific files. 2022-12-08 13:46:19 -07:00
Roland
d0d69519cd
Bumping version for new feature.
Skipping video epoch test on circleci.

Created script which finds and cleans up (renames/deletes) orphaned video meta files.

Reworking orphaned video query, some video files were leaking through.

Modifying File table to allow finding of orphaned video files.

Extracting epoch from video info_json for more accurate upload_date.

Extracting epoch from video info_json for more accurate upload_date.
2022-12-07 18:15:28 -07:00
Roland
20860fdae8
Detecting more video caption files, indexing them. Only WebVTT captions are displayed on VideoPage. Creating Files tab on VideoPage which displays all files found for the video. 2022-11-30 18:26:38 -07:00
Roland
55f0de6112
Installing single-file globally. 2022-11-16 21:03:35 -07:00
Roland
ad7e68367f
Changing /opt/openstreetmap-carto ownership before fetching during install. 2022-11-16 18:55:50 -07:00
Roland
a3cb097825
Bump version for bug fixes. 2022-11-16 16:53:02 -07:00
Roland
aac334e8da
Bumping version for map fix and Archive name change. 2022-11-14 15:43:26 -07:00
Roland
02124307e4
Downloads can be deleted. 2022-11-12 14:17:21 -07:00
Roland
83bd19d91f
Returned Video.censored when fetching video. 2022-11-10 08:21:54 -07:00
Roland
be852e3d46
Fixing bug where empty destination would be coerced into 'None'. 2022-11-09 19:19:06 -07:00
Roland
ddb35448aa
Finding channel by destination directory if any. 2022-11-09 08:54:56 -07:00
Roland
f1bc29d76f
Adding feature where Videos can be downloaded to a destination directory. 2022-11-09 08:33:55 -07:00
Roland
1e1c8f0b85
ChannelDownloader will add itself to Download.Settings, so VideoDownloader can download to the channel if yt-dlp cannot find the channel. 2022-11-08 22:41:50 -07:00
Roland
6c2a5d723e
Downloads are saved to the download manager config. They are imported on startup. 2022-11-04 19:59:42 -06:00
Roland
1a2916ef1c
Creating common get_warn_once for rare exceptions. 2022-11-03 20:28:13 -06:00
Roland
72731f2cea
Increasing test coverage. 2022-11-03 09:56:38 -06:00
Roland
1edc2ba4e6
Only changing File.a_text when file has changed. 2022-11-02 13:12:29 -06:00
Roland
a880bf12f8
Including logger in common's __all__. 2022-10-27 20:21:15 -06:00
Roland
561dacf226
Adding custom logger for DownloadManager which includes the pid. 2022-10-27 20:20:53 -06:00
Roland
034b290712
Adding throw argument to limit_concurrent. 2022-10-27 17:41:38 -06:00
Roland
b81e00ff3d
Perserving ts_rank when searching. 2022-10-24 15:34:13 -06:00
Roland
2a16cdd98e
Hiding associated files from search results. 2022-10-24 09:06:29 -06:00
Roland
1230a3056d
Creating background_task function to keep set of tasks from being cleaned up during garbage collection. 2022-10-22 14:26:59 -06:00
Roland
6fa6be50fe
Stopping renderd when reseting map db.
Skipping channel import during test unless explicitly requested.

Deleting gis database during upgrade, if user agrees.  Increasing API verbosity.

Using status context to prevent fetching status in useHotspot.

Disabling wifi toggle button when pending.

Toggling hotspot when clicking nav hotspot icon.

Displaying Hotspot status icon in nav menu.

Importing channels/favorites after refreshing.

Refresh tasks cancel when server shuts down.

Bumping version for release speed.

Refreshing files is 3x faster.

Creating useRecurringTimeout hook which repeatedly calls a callback after a timeout.

Changing intervals to timeout so fetches don't stack up while server is loaded.

Checking that video file exists before fetching.

Creating release candidate branch.  Not indexing model associated files.
2022-10-21 15:21:57 -06:00
Roland
dbdcc7a57c
Copying some settings values to status to avoid calling both /settings and /status. 2022-10-16 11:53:44 -06:00
Roland
78218d3559
Decreasing some log warnings to debugs. Decreasing CPU temperature warning color. 2022-10-16 10:33:43 -06:00
Roland
c97af1060b
Restoring JSON date conversion. Handling when psutil temperatures are None. Updating Toggle.onChange usage in Settings. 2022-10-15 19:27:20 -06:00
Roland
ddcc2c0674
Increasing test coverage. Removing unused code. 2022-10-15 17:41:10 -06:00
Roland
acf4453a52
Increasing test coverage. 2022-10-15 10:37:49 -06:00
Roland
287edad9e6
Adding Download.settings column in alembic migration.
Reformatting.

Switching excluded_urls to a generic Download.settings json.

Download workers filter excluded urls.
2022-10-14 13:08:39 -06:00
Roland
e7fe65258c
Using divmod to calculate date parts. Using recommended datetime.now. 2022-10-10 08:51:46 -06:00
Roland
f0f48164f5 Upgrading Sanic to 22.6.2. 2022-10-09 18:46:05 -06:00
Roland
bc7ebd4090
Indexing Archives after downloading. 2022-10-09 13:47:49 -06:00