Commit graph

1313 commits

Author SHA1 Message Date
Roland
b85d868a1b
Swapping tag config items, sorted by tag name first will make it easier to read. 2023-03-27 10:52:46 -06:00
Roland
6883a4734a
Not re-favoriting videos. 2023-03-27 10:27:18 -06:00
Roland
b5a9e45806
Increasing logging during refresh. Not setting channel_id in file_group.data in favor of using video.channel_id. 2023-03-27 10:02:47 -06:00
Roland
4e3c577202
Using all files in file_group.files as the total count, rather than all the file_groups. 2023-03-26 13:07:31 -06:00
Roland
1e0725c216
Fixing ebook paths during cover extraction. Testing cover extraction. 2023-03-26 13:01:43 -06:00
Roland
aa5eedc7d6
Using refresh logger in refreshing functions. Not setting ebook.title. Logging traceback when failing to index ebook. 2023-03-26 09:50:42 -06:00
Roland
550377580b
Displaying poster file in FileCard if the FileGroup has a poster file. 2023-03-25 21:17:17 -06:00
Roland
f3e2c0d7e8
Handling if data is empty in FileCard. 2023-03-25 21:06:15 -06:00
Roland
f439e411b6
Bumping version for FileGroup. 2023-03-25 20:56:48 -06:00
Roland
b1d0ddb5f2
Renaming local function to avoid confusion with library function. 2023-03-25 20:56:32 -06:00
Roland
0c96722a8b
Filtering videos by mimetype rather than model. 2023-03-25 20:56:14 -06:00
Roland
9b5c82219d
Adding indexes after file_groups. 2023-03-25 20:55:44 -06:00
Roland
5615ce542d
Making example label a tag.
Tags can be created and deleted in UI.

Adding tag_file using id to avoid session error.

Using UTC in test.

Matching tag_names style in test.

Tag icon is displayed on file rows.

Archives, Videos and Files can be filtered by their tags.

Tags can be added and removed from UI.

Tags are displayed in VideoPlayer.

The tags of a file are returned in it's JSON.

Video favorites are converted to Favorite tag on channel config import.

Updating tests to match frontend usage.

PDF creator and modification time are displayed.

Reworking file search to use Video.__json__ for complex video relations.

Archives can be viewed.

Removing ebook.title.

Reworking alembic migration to be an upgrade rather than a replace.

Skipping test on circleci.

Clearing out video caption index only if extract_subtitles if off.

Channel tests pass.

Some video tests pass.

Missing videos can be found.  A video can be downloaded.

Orphaned files can be found.

Videos can be tagged.

Videos can be searched.

Videos can be modeled.

Converting some tests to use FileGroup.primary_path.

Adding archive and domains to alembic migration.

Testing cascading Archive titles.

Archives now uses FileGroup.

archive.lib tests pass.

Archive is partially converted to FileGroup.

Calculating FileGroup.primary file on refresh, rather than on select.

wrolpi tests pass.

Using FilesType to convert between str/pathlib.Path for FileGroup.files.

Using list of files in FileGroup.files instead of dictionary.

Storing files in dedicated FileGroup.files to avoid overwriting them.

Adding comment explaining CASE.

Not overwriting FileGroup.data on refresh if no change has been detected.

Removing File model in favor of FileGroup.data.

Adding typing to Files methods.

Files are indexed using the primary mimetype of the FileGroup.

files test_lib tests pass.

Removing file_group_file in favor of simple one-to-many relationship.

PDF files are indexed during refresh.

Adding Tag and TagFile to tag files with specific tags.

Only iterating when full_stem_ids has contents.

Testing that FileGroups are related to their Files.

Files and file_groups are created and linked.

Bump webpack from 5.75.0 to 5.76.1 in /app (#160)

Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-25 17:54:41 -06:00
dependabot[bot]
9fbfc8c0a7
Bump webpack from 5.75.0 to 5.76.1 in /app (#160)
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-25 15:52:28 -06:00
Roland
06f99abac4
Testing Python 3.11. 2023-03-01 13:25:58 -07:00
Roland
cd96832d4f
Running gc.collect to avoid memory leak with PDF titles. 2023-03-01 13:22:38 -07:00
Roland
b373992fed
Increasing archive file name character limit. 2023-02-27 14:42:58 -07:00
Roland
1d97f0e3a6
Handling when urldecode has removed +. 2023-02-25 19:30:52 -07:00
Roland
2b7f667699
Searching for wrolpi with colon to avoid catching non-wrolpi user. 2023-02-25 19:08:46 -07:00
Roland
6312a7eab1
Adding pgpass for wrolpi user. 2023-02-25 18:46:27 -07:00
Roland
eadc0a7537
Granting superuser to wrolpi during install so they can import maps. 2023-02-25 18:43:40 -07:00
Roland
9ea2effe7b
Switching /download alias to correct directory for global nginx. 2023-02-25 18:36:03 -07:00
Roland
550d6102fc
Adding delete todo. 2023-02-25 17:48:09 -07:00
Roland
ea114e6e97
Restoring ubuntu installer script which will forward install request to RPi OS installer. 2023-02-25 17:45:45 -07:00
Roland
a14ebf1909
Making upgrade executable. 2023-02-24 17:33:07 -07:00
Roland
dc9384ba4b
Calling second upgrade script so new upgrades can be pulled from git. 2023-02-24 17:31:08 -07:00
Roland
abb0b49315
Checking for icesheet table as current user.
Importing maps as wrolpi user, then changing ownership to _renderd.

Changing ownership of /opt/wrolpi as well.

Creating pgpass for wrolpi user in debian 11.

Install specific version of serve.

Not echoing the echo.

Updating cache directory in create_db.sh.

Use python binary to run db upgrade.

Install renderd.conf to /etc on RPi OS.

Fetching DC map from wrolpi.org to avoid broken daily PBFs.

Only get latest dc map if it doesn't exist.

carto switched again??

Changing mod_tile directory to /var/cache/renderd/tiles for RPi OS.

Copying renderd configs for RPi OS.

Installing postgres 13 for RPi OS map.

Changing title of feature matrix.

Moving download link up in readme.

Changing mod_tile to _renderd.

Using unix socket rather than host connection.

Getting openstreetmap-carto as _renderd user.

Assigning ownership of gis db to _renderd in reset_map.sh.

Creating _renderd db user.

Using _renderd to run renderd on debian 11.

Installing python modules that map requires globally.

Upgrading db using venv.

Installing nodejs which installs npm.

Install npm/node after other dependencies.

Updating apt so nodejs can be installed.

Upgrading PyYAML in new venv.

Installing pip via apt.

Including bash binary for portability.

Moving images link out of list.

Moving download up on Readme.

Removing map installation from readme.

Installing specific version of carto.

Creating venv for wrolpi project.  Using venv to install requirements and run wrolpi's main.py.

Logging upgrade script.

Including upgrade script in Upgrade readme.

Moving upgrade logic into separate script.  This is necessary so and repo update will take immediate effect on the upgrade.

Modifying and unifying Debian installation with RPi OS installation.
2023-02-24 16:16:13 -07:00
Roland
57ffe5f5c9
Removing map from default installation. The mantainer can run the map installation manually. 2023-02-22 21:38:26 -07:00
Roland
58c48bf696
Allow wrolpi user to delete map tiles in pi image. 2023-02-22 20:14:57 -07:00
Roland
bb28d443a3
serve location changed in Debian 11. 2023-02-22 19:28:36 -07:00
Roland
fcf98b402b
Carto location has changed in Debian 11. 2023-02-22 19:17:24 -07:00
Roland
8f7d9f208c
Removing accidental log. 2023-02-22 17:58:36 -07:00
Roland
1c3288d910
Only showing file name in preview, not full path. 2023-02-22 13:02:55 -07:00
Roland
e23d18e495
Adding color to Audio on StatisticsPage. 2023-02-22 12:47:22 -07:00
Roland
a655e44fb2
Using violet to represent Audio files. Adding audio to file search filters. 2023-02-22 12:41:41 -07:00
Roland
272eef400c
Adding audio preview for audio files. 2023-02-22 11:48:25 -07:00
Roland
977f42529f
Fixing stl file mimetype. 2023-02-21 15:49:11 -07:00
Roland
54709c268c
Displaying Menu dropdown on left so it shows up on mobile. 2023-02-21 15:32:11 -07:00
Roland
942a35e5d8
Resolving Channel download entries. Detecting and raising error when user has not specified exactly which video URL they want to download. 2023-02-21 15:12:45 -07:00
Roland
d29392e33a
Channel download may not return json. 2023-02-17 17:02:38 -07:00
Roland
b6226a0212
Using FilePreview in VideoPlayer. 2023-02-17 16:30:25 -07:00
Roland
df79aa13b1
Handling when channel info json may not have channel_id. 2023-02-17 16:30:13 -07:00
Roland
1812a1690f
Matching return style in all js. 2023-02-17 16:09:24 -07:00
Roland
4f63e87c1c
Using image directly so poster is not too tall. 2023-02-17 16:01:00 -07:00
Roland
a0df01f7b9
Saving channel config when source_id is fetched during channel import. 2023-02-17 16:00:44 -07:00
Roland
b18cc7f18d
Adding azw3 to icons. 2023-02-16 08:39:34 -07:00
Roland
5fb476f205
Adding .scad file type. 2023-02-15 21:35:29 -07:00
Roland
6de268909b
Using PreviewLink for file tables. 2023-02-15 21:30:12 -07:00
Roland
065c8bec8c
Changing video download icon to 'film'. 2023-02-15 21:24:01 -07:00
Roland
7595e04dc9
Adding many more FileIcon types. 2023-02-15 21:20:23 -07:00