Commit Graph

77 Commits (e82deb6413e221d03c474469f32dfc2dd991ed44)

Author SHA1 Message Date
Tzahi12345 41050ce923 Replaced deprecated uuidv4 with uuid
Fixed some npm vulnerabilities

Updated backend package-lock.json from v1 to v3
1 year ago
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 4e04ceae16 Fixed function call in db.js 2 years ago
Tzahi12345 33a99d9c8d Added files_api (migrated functions from db_api that are file related)
Archive dialog can now always be opened
2 years ago
Tzahi12345 1edcfca6c3 Fixed bug where notifications wouldn't be set as read if using local db 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 840e12db71 Implemented basic db-based archive functionality, converted old archive functionality to new system 2 years ago
Tzahi12345 54208ce6ce Added preliminary backend support for custom archives 2 years ago
Tzahi12345 c724a8019a Improved DB tests, now both local and remote DB can be tested easily 2 years ago
Tzahi12345 fe06076eba File deletion is now unified between sub and non-sub files 2 years ago
Tzahi12345 2a3017972a Added ability to generate RSS feeds from downloads 2 years ago
Tzahi12345 46756a575c Added task settings
Added support for task errors

Added support for lt, gt etc. db comparisons

Added task to delete old files
2 years ago
Isaac Abadi cc2be46ad8 Notifications style improvements 2 years ago
Isaac Abadi 5e08ca004a Added notifications - (WIP, boilerplate) 2 years ago
Isaac Abadi 768798c6b3 Fixed issue where one-off playlist downlaods would only include the first video 3 years ago
Isaac Abadi 940267651d Hotfix for bug where a sub with missing videos would cause a crash during migration #670 3 years ago
Isaac Abadi 2dc68139f7 Streaming-only subs are now actually paused
DB transfers in any direction now generate backups and associated logs are set to info
3 years ago
Isaac Abadi 2ba1dc6333 Archive refactor to improve reliability and consistency 3 years ago
Isaac Abadi 690cc38899 Updated playlist file selection to use recent videos component
Playlists are now file type agnostic

Updated translations
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 71d5a64272 Ported $ne to local DB and added tests for applyFilterToLocalDB 3 years ago
Isaac Abadi ec1ccf6888 Fixed bug that incorrectly told the UI that DB transfer failed 3 years ago
Isaac Abadi 7bfb441a00 Fixed bug where files couldn't be deleted with archive mode enabled fixes #487 3 years ago
Isaac Abadi 901a96aada Fixed issue where use_local_db may be out of sync when first starting youtubedl-material 3 years ago
Isaac Abadi a288163644 Added ability to backup remote DB
Added ability to restore DB
3 years ago
Isaac Abadi 5b4d4d5f81 Added scheduler for tasks 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 71bb91b6e6 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into download-manager 4 years ago
Isaac Abadi 6eb1e2f898 Fixed issue where different path formatting would lead files to get duplicated in the DB 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 9f5b6122fa Added additional protections to verify that the DB is initialized before downloader does
Began work on watching entire subscriptions as a playlist

Subscriptions now use the new download manager to download files
4 years ago
Isaac Abadi ce3d540633 Forces file registration to avoid registering a file that already exists in an atomic fasion 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 b03b4d173b Fixed issue where testing the connecting string would fail if local DB was being used
Fixed issue where blacklisting video in with archiving would not work

Cleaned up unused functions in app.js
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 258d5ff495 Test connection string now uses the currently typed in connection string rather than the last saved one 4 years ago
Isaac Abadi 92413bd360 Added ability to add file to playlist using the context menu 4 years ago
Isaac Abadi 7174ef5f57 Fixed issue where config initialization did not occur early enough in lifecycle, causing db.js to throw an error if the config did not exist 4 years ago
Isaac Abadi 90af895552 Updated style of settings for DB
MongoDB connection string test now only tests once
4 years ago
Isaac Abadi 9f908aa3fc Added ability to randomize playlists
Missing videos now show a more verbose error in the logs
4 years ago
Isaac Abadi d10eb4f2eb Fixed issue where old DB backup didn't work
Massive insertions to local DB are now split up into 30k chunks
4 years ago
Isaac Abadi 148ed9aa65 Added support for MongoDB indexing to increase query performance
Fixed db backup functionality
4 years ago
Isaac Abadi a810628f15 Fixed DB migration for tables with no docs 4 years ago
Isaac Abadi f8c4653ae0 Added migration from old to new DB system 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