Commit Graph

55 Commits (42c600cea96498617f74b5a60f8efb7932b29dff)

Author SHA1 Message Date
Isaac Abadi 42c600cea9 Improved and fixed tests
Skipped tests just meant for manual testing

mocha now used prod mode

Added automated tests for PRs

Fixed backupdb and youtube-dl tests in gh actions

Fixed downloader tests

Removed erroneous logs in tests

Updated mocha.yml

Removed last console.log in tests

Increased timeout for download video test

Automated tests now force stop after tests complete

Replaced download test url with shorter video

Skip download test... for now

increased download test threshold

added more timing information to tests

unskip download test

Bump docker/setup-buildx-action from 1 to 2 in /.github/workflows

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump actions/setup-node from 2 to 3 in /.github/workflows

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump actions/upload-artifact from 1 to 3 in /.github/workflows

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump docker/login-action from 1 to 2 in /.github/workflows

Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Removed additional download button for paused download

Combined output json processing from youtube-dl between subscriptions and one-off downloads

Added workaround for missing video in playlist to one-off downloads

Fixed issue of case where output is empty

Download video code cleanup

Fixed download video test by overriding youtube-dl download method with custom method

Adds ffmpeg to automated tests

Removed test mp3/mp4 file from repo
2 years ago
Tzahi12345 c207e56855
Rebuild database task (#900)
* Improved tests for multi-user mode
* Adds task to rebuild database
* Updated subscriptions.js export syntax
* Subscription metadata is now backed up
* Added typing to task key
* Updated api models
* Tasks actions styling update
2 years ago
Tzahi12345 f0a34df7c6 Fixed syntax error in utils 2 years ago
Tzahi12345 e2c68713ba Fixed bug where added args would get injected improperly if they had a value (#745) 2 years ago
Tzahi12345 ca5381fe0f Updated tasks DB-related code to not insert properties that prevent local_db from being imported
Added DB functionality to remove properties from records

DB records in local DB can now be updated if nested
2 years ago
Tzahi12345 5197a5f1cc Minor refactor of utils.js 2 years ago
Tzahi12345 e82066b2cd Unsubscribing now deletes entries from the archive
Code cleanup
2 years ago
Tzahi12345 fe06076eba File deletion is now unified between sub and non-sub files 2 years ago
Tzahi12345 f0c9a6122f Added nfty and gotify notifications support 2 years ago
Isaac Abadi 665bcc04a7 Added ability to favorite a file
Moved file filter options above the list of files, and added option to filter for favorites
2 years ago
Isaac Abadi 077a0d8fdb Added migration to add tasks manager permission for admin role
All routes are now properly protected against logged in users w/o permissions
3 years ago
FoxxMD 74315b8c76 Fixed parsing expected file size for videos with no known formats 3 years ago
Isaac Abadi 0ffd7022d0 Removed nodemon
Fixed several dependency vulnerabilities
3 years ago
Isaac Abadi a0c36bf1a1 Subscription videos now skip the collect info step during download process, reducing calls to video host 3 years ago
Isaac Abadi 2ba1dc6333 Archive refactor to improve reliability and consistency 3 years ago
Isaac Abadi 39abc3efcf Utilize yt-dlp filesize approximations if available 3 years ago
Isaac Abadi b56c66f705 Refactored retrieval of categories and improved runtime search of files in category
Fixed issue with editing/saving categories

Database queries can now handle nested object paths

Code cleanup
3 years ago
Isaac Abadi 2707b09627 Merge branch 'db-bug-fixes' of https://github.com/Tzahi12345/YoutubeDL-Material into heroku-fixes-and-repo-cleanup 3 years ago
Isaac Abadi 8118906b0a Binary path is now confirmed for linux, solves #601 3 years ago
Isaac Abadi 9515d5a1b0 Fixed issue where additional args wouldn't properly inject 3 years ago
Isaac Abadi c33e8010b3 Additional args now replace existing ones intelligently 3 years ago
Isaac Abadi aa616af118 Fixed issue where navigating from one sub to another didn't cause the new one to load
Fixed subscription downloading as zip

Minor code cleanuip
3 years ago
Isaac Abadi b53d9c9710 Added ability to reset tasks
Refactored youtube-dl updating and added youtube-dl update task
3 years ago
Isaac Abadi a288163644 Added ability to backup remote DB
Added ability to restore DB
3 years ago
Isaac Abadi 2b1771d30d Began work on tasks 3 years ago
Isaac Abadi 562eaa1b9b Added support for generate NFO files for Kodi
Minor UI updates to settings
3 years ago
Isaac Abadi cca76dd248 Code cleanup 4 years ago
Isaac Abadi 48ab1836ca Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into download-manager 4 years ago
Isaac Abadi 20cedb6c29 Pagination and filtering of files is now server-side
Importing unregistered files does not block server start anymore
4 years ago
Isaac Abadi 0360469c5a Download manager is now functional
Added UI support for new downloads schema

Implemented draft test for downloads

Cleaned up unused code snippets
4 years ago
Isaac Abadi 5a90be7703 Logger is now separated into its own module
Added eslint and fixed many logic errors based on its recommendations
4 years ago
Isaac Abadi d09b244bc2 Fixed bug where unsubscribing from a channel would clear the entire files table
Fixed issue where yt-dlp did not work with subscriptions
4 years ago
Isaac Abadi bb6503e86d Changed DB structure again
Added support for MongoDB

Added tests relating to new DB system

Category rules are now case insensitive

Fixed playlist modification change state
4 years ago
Isaac Abadi 4ea239170e If multiple videos exist in one URL, a playlist will be auto generated
Removed tomp3 and tomp4 routes, replaced with /downloadFile

Simplified category->playlist conversion

Simplified playlist creation

Simplified file deletion

Playlist duration calculation is now done on the backend (categories uses this now too)

removeIDFromArchive moved from subscriptions->utils

Added plumbing to support type agnostic playlists
4 years ago
Isaac Abadi e2c31319cf Migrated playlist and subscription (per video and sub-wide) video downloading functionality to new schema
Migrated modify playlist component to new schema

Moved wait function and playlist generation function(s) to utils
- added tests for zip generation
4 years ago
Isaac Abadi db78e4ad5e Fixed bug where playlist downloads would fail and progress would not show (for playlist downloads) 4 years ago
Isaac Abadi dbf08e1276 Fixed bug where audio files that had a stale webm extension in the metadata file path would fail to register 4 years ago
Isaac Abadi 8058b743eb Added support for redownloading fresh uploads, which will eventually be hidden behind an opt-in setting 4 years ago
Isaac Abadi 4f693d4eda Added description to player component and simplified the database by un-splitting videos and playlists by type 4 years ago
Isaac Abadi c6fc5352c5 Added ability to add more metadata to db through migrations, and added scaffolding for supporting description and play count in the player component 4 years ago
Isaac Abadi 9e4b328f91 Default youtube downloader switched back to youtube-dl after testing
Fixed bug that caused some non-youtube downloads from failing
4 years ago
Tiger Oakes 3e4e7edd90 Oops.
for in -> for of
4 years ago
Tiger Oakes e26ac82c66 Fix missing keywords 4 years ago
Tiger Oakes 21eafeab22 Make utils.recFindByExt and utils.getDownloadedFilesByType async 4 years ago
Tzahi12345 95e53b9549 Fixed bug where unix paths would improperly parsed while importing unregistered files 5 years ago
Tzahi12345 46ed0fe992 Fixed bug in import unregistered logic where files in subfolders could not be found 5 years ago
Isaac Abadi f31dad0215 JSON metadata files are no longer kept if the associated setting is not enabled 5 years ago
Isaac Abadi 8a7409478a Added the ability to download videos at higher resolutions than the highest mp4 (fixes #76)
Deprecates normal downloading method. The "safe" method is now always used, and download progress is now estimated using the predicted end file size

Thumbnails are now auto downloaded along with the other metadata
5 years ago
Isaac Abadi da73e47f08 Fixes bug where an error would occur on startup if a user's file folder was missing (such as "{user}/audio" if they had not downloaded any audio files) 5 years ago
Isaac Abadi 736c3f5cab Added ability to discover existing files regardless of type in a directory
- added recFindByExt helper function to utils.js
5 years ago