Commit Graph

450 Commits (cae88433b60aaef481259b809f71dd7c6421a226)

Author SHA1 Message Date
Isaac Abadi 7aad7b7d24 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into add-yt-dlp 4 years ago
Isaac Abadi 380475b33e Updated tests to include query speed check and removed dubious test 4 years ago
Isaac Abadi d6a43c76a4 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into concurrent-streams-and-player-refactor 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
dependabot[bot] 1125de43d7
Bump color-string from 1.5.3 to 1.6.0 in /backend
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/commits/1.6.0)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
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
dependabot[bot] 342dafd52a
Bump glob-parent from 5.1.1 to 5.1.2 in /backend
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
5 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
5 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
5 years ago
Isaac Abadi 07b48a4da1 Fixed backend security issues with several dependencies 5 years ago
Isaac Abadi a11445b80d Added backend tests and made authentication more testable 5 years ago
Isaac Abadi 297a4a3f34 Simplified streaming and file deletion functions 5 years ago
Isaac Abadi 46f8579439 Refactored player component to utilize uids instead of fileNames to improve maintainability, consistency, and reliability
Playlists now use uids instead of fileNames

Added generic getPlaylist and updatePlaylist functions
5 years ago
Isaac Abadi addd54fefd Switched nodemon to foreverjs to hopefully enable restarting internally and fix runtime errors 5 years ago
Isaac Abadi aefdde5401 Fixed issue (hopefully) where nodemon is not properly installed on Docker 5 years ago
Isaac Abadi 4c1f975eae Force nodemon to install during the container setup
Docker now starts through nodemon directly
5 years ago
Isaac Abadi 4643efbae0 Added ability to restart the server from the frontend
Dockerfile/entrypoint.sh now uses nodemon enabling restarting from the UI in a container
5 years ago
Isaac Abadi d11f77a6c9 Updated yt-dlp paths 5 years ago
Isaac Abadi 1f0153b17e Subscription videos being downloaded will get registered into the database as they are added to avoid having to wait until the subscription completes 5 years ago
Isaac Abadi f32b394715 Added maxBuffer option to all downloads 5 years ago
Isaac Abadi 9d09eeffe3 Added maxbuffer option to subscriptions 5 years ago
Isaac Abadi c660c28422 youtube-dl now updates in the same way as the other forks 5 years ago
Isaac Abadi 433d08e9df Added ability to crop files
Fixed bug in downloading playlists
5 years ago
Isaac Abadi 3f9314a0c3 Fixed bug where categories selection logic had an out of range exception 5 years ago
Isaac Abadi a1b32e2851 Added yt-dlp support
Simplified update youtube-dl code
5 years ago
Isaac Abadi 6481102e01 Changes forEach loops in categorize() to regular for loops to facilitate early breaking 5 years ago
Isaac Abadi d7d861ef0e Fixed typo in default custom output key for categories 5 years ago
Isaac Abadi 1d5490c0ff Allows playlists to be categorized based on the first video that matches 5 years ago
Isaac Abadi 28ee77cee0 Hotfix that allows playlists to be downloaded with categories 5 years ago
Isaac Abadi 133d848729 Fixed bug where deleting a file card wasn't possible if it was already deleted manually 5 years ago
Isaac Abadi 539bc5094a Fixed bug where sometimes a subscription video's thumbnail would get deleted twice and throw an error 5 years ago
Isaac Abadi 95bb69f16b Fixed bug where videos would not delete in single-user mode 5 years ago
Isaac Abadi a93aa080b3 Fixed bug where playlistd could not be made 5 years ago
Isaac Abadi db78e4ad5e Fixed bug where playlist downloads would fail and progress would not show (for playlist downloads) 5 years ago
dependabot[bot] b978007472
Bump axios from 0.21.0 to 0.21.1 in /backend
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.0...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Isaac Abadi b6c09324d9 Updated error messages to make them more verbose and fixed ID3 tagging for file names 5 years ago
Isaac Abadi 250f150587 Download checker now only runs if the video info was successfully retrieved 5 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 5 years ago
Isaac Abadi f74ce4b865 Fixed bug that caused the UI to fail loading after creating a user in multi-user mode 5 years ago
Isaac Abadi 0e7bc1979f Updated versioning info 5 years ago
Isaac Abadi c08993e20b Old database files are now backed up prior to migration to simplified structure 5 years ago
Isaac Abadi 4835093606 Fixed issue where some non-YT videos would fail as the pre-check was incompatible 5 years ago
Isaac Abadi c63a64ebef Categories will now auto-generate playlists 5 years ago
Isaac Abadi 9a57080bb3 Category is now properly stored in the database 5 years ago
Isaac Abadi 6eb6ffa5e4 Get user videos now accepts an optional type parameter 5 years ago
Isaac Abadi 3f1532b4c6 Updated migration
- Fixed bug in migration process for single-user mode
- Changed name of migration

Removed unused code for getmp3/mp4 and fixed bug when retrieving playlist if it didn't exist

Fixed bug in streaming code where playlist audio files would not play if the file path was not present

Fixed bug in getallsubscriptions for single user mode
5 years ago
Isaac Abadi afb5e3800c In the subscription page, the subscription is now continuously retrieved at an interval of 1s to update for new videos or the downloading state
- There is now a visual indicator for when a subscription is retrieving videos
5 years ago
Isaac Abadi 2971580f91 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into updated-player 5 years ago
Isaac Abadi e75b56ad3f Added ability to pause specific subscriptions 5 years ago
Isaac Abadi 59c38321fd Fixed bug in file deletion 5 years ago
Isaac Abadi 9847577431 Added setting for redownloading fresh uploads
Fixed bug in implementation of fresh upload redownloader
5 years ago
Isaac Abadi 8058b743eb Added support for redownloading fresh uploads, which will eventually be hidden behind an opt-in setting 5 years ago
Isaac Abadi e3374c573a Args incompatible with video mode and audio-only mode will now get removed 5 years ago
Isaac Abadi da3bd2600f Fixed bug where sharing didn't work for some videos
View count now increments on each play unless the video is shared
5 years ago
Isaac Abadi 6ad590497b Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into updated-player 5 years ago
Isaac Abadi 4f693d4eda Added description to player component and simplified the database by un-splitting videos and playlists by type 5 years ago
Isaac Abadi 9de403245b Twitch chat now supports subscriptions
- refactored code to be cleaner and more modularized

Updated scrolling on twitch chat to actually scroll to the bottom with new messages

Fast forwarding in videos with a twitch chat is now faster and provides a smoother transition
5 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 5 years ago
Isaac Abadi f425b9842f Updated twitch chat component to support user colors and to auto open if the chat has already been downloaded 5 years ago
Isaac Abadi 1542436e96 Passwords now must be provided when registering a user 5 years ago
Isaac Abadi b0acb63123 Updated backend dependencies (caused build to fail) 5 years ago
Isaac Abadi d08fee1223 Added v1 of chat sidebar for Twitch VODs 5 years ago
Isaac Abadi 8938844ffa Added ability to select the max quality for a subscription. It defaults to 'best' which will get the best native mp4 video 5 years ago
Isaac Abadi b730bc5adc Added option to set a default file output - custom file output in the advanced expansion panel will override this 5 years ago
Isaac Abadi 2f541a49df Thumbnails now load using a faster method with a dedicated API route rather than sending blobs directly.
- In cases of lots of files, loading should be significantly faster
5 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
5 years ago
Isaac Abadi 3a049a99ac Fixed bug where non-youtube downloads would fail 5 years ago
Isaac Abadi b323b548ca Added ability to use youtube-dl forks
Downloader now defaults to youtube-dlc because of the recent DMCA requests
5 years ago
Isaac Abadi 3318ac364d Code cleanup and changed proposed handling of existing tags for suggestions 5 years ago
Isaac Abadi 6ea4176d63 Added missing code that makes category paths relative to the root dir 5 years ago
Isaac Abadi 3aa08e1817 Added scaffolding for tags 5 years ago
Isaac Abadi 727b047c39 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into categories 5 years ago
Isaac Abadi 0189d292a8 Fixed bug that prevented categorized files from being deletes and simplified the two delete file API calls into one 5 years ago
Isaac Abadi fe7303a191 Replaced /audio and /video APIs with /stream that now requires a type parameter to simplify future code changes
getSubscription can now accept a subscription name instead of just an ID

Added API call to delete a category

Categories can now have a custom path

Minor code cleanup
5 years ago
Isaac Abadi dff4b141b0 Blobs are now only included in getAllFiles() if the config option for including thumbnail is set to true 5 years ago
Tiger Oakes 3e4e7edd90 Oops.
for in -> for of
5 years ago
Tiger Oakes e26ac82c66 Fix missing keywords 5 years ago
Tiger Oakes 21eafeab22 Make utils.recFindByExt and utils.getDownloadedFilesByType async 5 years ago
Tiger Oakes f535d18cb9 Use async methods in auth and subscriptions 5 years ago
Tiger Oakes 2c43ce3c47 Use async versions of filesystem methods 5 years ago
Isaac Abadi 10922fedd7 Fixed bugs that prevented subscription videos from being downloaded and non-users from accessing shared videos 5 years ago
Isaac Abadi 96cf1b87d1 Fixed bug in subscriptions that caused audio files to be downloaded as webm 5 years ago
Isaac Abadi 6717a59422 Fixed bug that preventing playlists from being downloaded a zip 5 years ago
Isaac Abadi 899633e124 Fixed bug that showed users their subscription videos after subscriptions were disabled 5 years ago
Isaac Abadi 8595864118 Added basic categorization functionality in the server & UI 5 years ago
dependabot[bot] 61daf26641
Bump node-fetch from 2.6.0 to 2.6.1 in /backend
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
5 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 71633950b2 Comments cleanup 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 5b768b5bda JSON blobs were accidentally inserted into DB, stringifying then parsing the video file object fixes this 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
Tzahi12345 70159813e5
Merge pull request #205 from Tzahi12345/add-ldap-auth
Added ability to register/login through LDAP
5 years ago
Isaac Abadi babba9aa30 Added ability to register/login through LDAP
- Added ability to edit LDAP settings and whether to use LDAP or not in the users tab in the settings
5 years ago
Tzahi12345 d292275956 Unfinished subscriptions will no longer cause an error during server startup 5 years ago
Tzahi12345 2e4ef3b224 Moves hooks back into their proper directory and updated arm dockerfile to avoid installing curl just go get qemu 5 years ago
Tzahi12345 0e35b2ca1b Proxy now forces safe download mode 5 years ago