Commit Graph

321 Commits (8366089444066c399c435f33d849e309f882a5a6)

Author SHA1 Message Date
Tzahi12345 a518ac680f Fixed bug that prevented new users from accessing the login screen 5 years ago
Tzahi12345 b8a4e0773f Added new utils.js module to assist backend with shared helper functions
Subscription files are now stored in the database, and will be primarily managed through it
5 years ago
Tzahi12345 f04139634a Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into subscriptions-custom-path 5 years ago
Tzahi12345 a074166903 Added catch statement if youtube-dl tags could not be retrieved 5 years ago
Tzahi12345 e8ee4ffb64 Made additional cleanups as per recs by SuperSandro 5 years ago
Tzahi12345 378025bd9d Updated dockerfile to support Windows builds 5 years ago
Tzahi12345 d8e85df6d6 Scaffolding for registering subscription downloads 5 years ago
Sandro Jäckel dd8ab9be29
Fix default uid/gid of node_modules 5 years ago
Sandro Jäckel bab354ce81
Fix variable expansion 5 years ago
Tzahi12345 d3d0f92ea5 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into subscriptions-custom-path 5 years ago
Tzahi12345 b37d912e04
Merge pull request #116 from SuperSandro2000/docker-non-root
Run docker as non root
5 years ago
Tzahi12345 1c93a4f9f2 Updated frontend files to support video sharing with non-users in multi user mode 5 years ago
Sandro Jäckel 5bfecfcefe
Run docker as non root, copy package-json.lock 5 years ago
Sandro Jäckel 68c67ca7d5
Update alpine to 3.12 5 years ago
Sandro Jäckel c4d50c9018
Format 5 years ago
Isaac Grynsztein 42b749a101 Updated frontend binaries 5 years ago
Isaac Grynsztein 9c729abfaa Added new safe download override setting to config manager (forgot to do this before) 5 years ago
Isaac Grynsztein dcc7fbd81c Added new setting to force a safe download (removes features like progress bar) 5 years ago
Isaac Grynsztein b3c8f9e57a Fixed bug that caused downloads to fail when archiving was enabled
Removed error message on URL input on the home page

Fixed bug that prevented file deletion in multi user mode with archiving enabled
5 years ago
Isaac Grynsztein 80f214fdde Fixed bug that caused non-YT videos to be downloading using the best format 5 years ago
Isaac Grynsztein 57a9434b3c File cards now include the video's real ID (for YT videos). Otherwise the file name will be used as a fallback 5 years ago
Isaac Grynsztein cec0ed78ec Fixed bug that prevented user registration from occuring, and added new "Login" option to the hamburger menu when appropriate
Related: made it so non-logged in users (in multi user mode) don't have the option to go "home" or "subscriptions" or "downloads". It would error regardless, but it looks cleaner now
5 years ago
Isaac Grynsztein c8a8046056 Fixed bug where if a subscription name was missing, the wrong folder was used
Fixed bug that caused high CPU usage when the subscriptions check took longer than the interval in the settings (thus they piled on)
5 years ago
Tzahi12345 73cd142b77 Cookies now work in subscriptions, too 5 years ago
Tzahi12345 f485da06b5 Implemented cookies upload dialog and the ability to "enable cookies" to hopefully circumvent 429 errors 5 years ago
Tzahi12345 4cf92b8f3d Fixed bugged override 5 years ago
Tzahi12345 e07acfd4b3 Added support for a popular adult website 5 years ago
Tzahi12345 05d962328b Fixed bug that prevented non-youtube videos from downloading 5 years ago
Tzahi12345 0816cb7046 Fixed bug that preventing reddit videos from downloading 5 years ago
Tzahi12345 c6553d99c6 Hotfix for bug that prevented large twitch videos from downloading 5 years ago
Tzahi12345 8bf3680b6f Fixed bug that prevented soundcloud audio files from downloading correctly 5 years ago
Tzahi12345 9e5ad66a9d Added scaffolding for custom paths in subscriptions 5 years ago
Tzahi12345 3487813cb5 Updated frontend files 5 years ago
Tzahi12345 550013a2e7 Config file is now created when missing and set with default values 5 years ago
Tzahi12345 b6f8551cfa Updated docker-compose.yml to support multi-user mode 5 years ago
Tzahi12345 98e94d3c38 Updated frontend binaries 5 years ago
Tzahi12345 8c94255f61 Updated version number to 4.0 5 years ago
Tzahi12345 409fd0fe20 Updated translations and frontend binaries 5 years ago
Tzahi12345 cc47823b0c Updated gitignore and re-added package-lock.json
Translations updated
5 years ago
Tzahi12345 f094d18e03 Changed /api/changeUser endpoint to /api/updateUser 5 years ago
Tzahi12345 49081db8cb Config items are now checked on start. Missing ones will be autofilled with the default values automatically on startup 5 years ago
Tzahi12345 98e33ac399 Updated frontend files 5 years ago
Tzahi12345 a3424f973e Output on global args will now override specific output 5 years ago
Tzahi12345 8e5db3e9d1 Custom args and global custom args now use double comma as a delimiter. This should allow file names with spaces when using custom args (global and not) 5 years ago
Tzahi12345 74e47b7d04 Fixed bug that prevented audio files from being played after username change
Downloads with custom args or custom quality config now use the old downloader to ensure stability and prevent arg conflict
5 years ago
Tzahi12345 f73ec2dd94 Fixed bug that caused users with large amounts of data to have extremely large tokens
Subfolders are now ensured to exist with the normal downloading method

Initialization now happens after token retrieval to avoid failed requests

Fixed bug that caused login to be called twice, introducing a possible race condition
5 years ago
Tzahi12345 26ad195597 Adds ability to set umask through an environment variable. Does not work on Windows, and it's untested on Linux 5 years ago
Tzahi12345 fb23d7c41e Audio downloads now work with progress bar, but it requires file conversion at the end. It ends up being around the same speed as the regular method 5 years ago
Tzahi12345 4e6d68d9e6 Updated video playing/sharing logic to support sharing of playlists in multi user mode and when multi user mode is disabled
Fixed bug that caused normal archive to be used in multi-user mode

Updated login logic when username is not found or user file is missing

Fixed bug that prevented playlist sharing from working

Added ability to use timestamps when sharing videos
5 years ago
Tzahi12345 8bc99fb557 Fixed bug that prevented registration from occuring 5 years ago
Tzahi12345 8277c95c4e Updated youtube-dl binary for windows 5 years ago
Tzahi12345 e5db376914 All config values are now reloaded on config set
Added 4 new settings: user files folder, enable registration, enable downloads manager, and logging level selection
5 years ago
Tzahi12345 661b96cfe5 Fixed bug that prevented default config items to be set 5 years ago
Tzahi12345 2eef1b062c Updated frontend binaries 5 years ago
Sandro Jäckel ae76e9db8d
Install dependencies first, remove duplicated workdir 5 years ago
Sandro Jäckel d763f88ceb
Remove comments 5 years ago
Sandro Jäckel a8b188cd22
Don't create cache with apk, use cdn network 5 years ago
Sandro Jäckel 1034aa1980
Don't copy Docker related files into image 5 years ago
Tzahi12345 da26d88ba9 Updated frontend binaries 5 years ago
Tzahi12345 b685b955df Added roles and permissions system, as well as the ability to modify users and their roles
Downloads manager now uses device fingerprint as identifier rather than a randomly generated sessionID
5 years ago
Tzahi12345 e7b841c056 Added UI flow for creating default admin account. Dialog will show up after enabling or in the login menu if the admin account isn't present 5 years ago
Tzahi12345 e5f9694da0 Fixed bug where downloading individual files failed for channel subscriptions 5 years ago
Tzahi12345 31f581c642 Subscriptions now support multi-user-mode
Fixed bug where playlist subscription downloads would fail due to a mislabeled parameter

Components that are routes now make sure auth is finished before sending requests to the backend
5 years ago
Adam Verga 0fb00bac12 Initialization on auth component happens in a separate function, users_db primarily sits in app.js
Fixed bug where current download would set to null, but maincomponent still tried to parse it
5 years ago
Adam Verga 6980828853 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into multi-user-mode 5 years ago
Tzahi12345 2d66d653f6 Updated frontend files to reflect commits since v3.6 5 years ago
Tzahi12345 03ea04f8d8 Fixed missing double ampersand 5 years ago
Tzahi12345 8fbb1c9bbd Fixed repo for atomicparsley on docker/alpine 5 years ago
Tzahi12345 c67d6ea89a Added atomicparsley as a dependency to Docker, and listed it as an optional dependency for normal installs 5 years ago
Tzahi12345 a701d0fe83 Fixes bug (hopefully) that causes stale data to be saved to the db due to multiple adapters instances being used. Now the db adapter gets passed as a parameter 5 years ago
Tzahi12345 ff51a49d1b Removed unused import 5 years ago
Isaac Grynsztein 4b2b278439 Sharing and video downloads on shared videos now work for multi-user mode 5 years ago
Isaac Grynsztein 1ac6683f33 Custom quality configurations now use the old downloading method to avoid errors
postsservice now does jwt auth after checking if multi user mode is enabled

Minor update to user profile UI

Added setting for enabling and disabling multi user mode
5 years ago
Isaac Grynsztein e790c9fadf File descriptors are now stored in the config_api until they find a better home
File deletion now works in multi-user mode. Sharing and subscriptions are the last holdouts for porting over to multi-user-mode

Fixed bug with archive mode that defaulted to storing the ID in the video archive all the time (rather than audio if it's an mp3)
5 years ago
Isaac Grynsztein fa1b291f97 Added video downloading functionality to multi user mode, as well as playlist management and saving of videos locally. Still missing video deletions and subscriptions
Simplified code for downloading videos to client (locally)
5 years ago
Isaac Grynsztein cb6451ef96 Added new settings: multi user mode and users base path 5 years ago
Isaac Grynsztein 98f1d003c3 Fixed bug that prevented migrations from succeeding
Added scaffolding required for jwt authentication for certain routes

Added logger to auth_api

Added necessary routing rules for multi-user mode

Registration is now possible
5 years ago
Isaac Grynsztein c3cc28540f Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into multi-user-mode 5 years ago
Isaac Grynsztein eca06a7fb1 Downloads on the home page now show the progress bar 5 years ago
Isaac Grynsztein f361b8a974 Furrther simplified download process and fixed a couple bugs
Audio files will not show download progress as enabling this feature causes it to be really slow

Fixed bug where downloading the same video twice produced duplicate files in the file manager
5 years ago
Isaac Grynsztein 1565c328d5 If a video is a playlist, it will download the normal way 5 years ago
Isaac Grynsztein a6534f66a6 migrated audio file downloads to new system. still untested with playlists
video/audio player now doesnt show share button when uid isn't present, user will be notified of this through a snackbar as well
5 years ago
Isaac Grynsztein a78ccefc83 Updated package.json 5 years ago
Isaac Grynsztein 6fe7d20498 downloads refactor half done - videos are now implement, but audo files are now
Added downloads manager in the UI where downloads can be viewed/cleared
5 years ago
Isaac Grynsztein d887380fd1 Added new methods to facilitate server-side download management 5 years ago
Isaac Grynsztein 1f3572a630 jwt auth scaffolding
logging in now works

UI login component created
5 years ago
Isaac Grynsztein da8571fb1a Added additional info when requests are rejected due to no auth
Added two additional auth methods: registering and logging in. They have minimal functionality right now

Added auth module which will handle all auth-related requests
5 years ago
Isaac Grynsztein 4617362270 New default youtube-dl.exe binary
Updated public dir in backend
5 years ago
Isaac Grynsztein bdb5072014 API key is now passed as a query param 5 years ago
Isaac Grynsztein e5baf094c9 chmodsync will not run if app is running on windows 5 years ago
Isaac Grynsztein 264b3606d6 Modified automatic permissions for json files 5 years ago
Isaac Grynsztein 2408184cc7 new video json files created now get read perms across the board 5 years ago
Isaac Grynsztein e4851253dd Docker now ignores executable files 5 years ago
Isaac Grynsztein 87696f71f8 Added subscription folders to repo
Added .dockerignore to ignore node_modules

Removed unnecessary whitespace from docker-compose.yml
5 years ago
Isaac Grynsztein 90c2d3f70b Moved docker files to backend 5 years ago
Isaac Grynsztein a8d6298cfd Adds preliminary support for tiktok and periscope
Added alternate json path for mp4s in case it's not found in the main location
5 years ago
Isaac Grynsztein d9f6b8c64c Simplified archive creation for subscriptions to reduce risk of error
If no subscriptions have ever been made, "No channel/playlist subscriptions" text will now show
5 years ago
Isaac Grynsztein 10b59191f6 Updated public directory 5 years ago
Isaac Grynsztein 3d3ab5180f fixed bug that prevented non-api routes from loading without an auth header 5 years ago
Isaac Grynsztein b5a82b9385 Updated middleware to support API tokens. Frontend now uses an admin token for its requests
Fixed version numbers
5 years ago
Isaac Grynsztein 2082a78846 Updated version number 5 years ago
Isaac Grynsztein 1e96e31053 Added new API key and using API key config items to enable a public API
API key config items are implemented UI-side

Added ability to generate API keys through the settings

Switched getmp3s and getmp4s api calls to be GET requests rather than POST

Removed unused code from settings dialog
5 years ago
Isaac Grynsztein e15141c5e0 Added backend and database support for video streaming
Added UI support for video streaming. branch is now feature-complete
5 years ago
Isaac Grynsztein 346d41d3e1 Fixed bug that broke server backups 5 years ago
Isaac Grynsztein 597e1f5b60 Fixed bug that prevented updates from succeeding 5 years ago
Isaac Grynsztein ba2b837cc5 Fixed accidentally commented out functionality to download new updates 5 years ago
Isaac Grynsztein 22f0ee834b backups now occur in appdata/backups folder 5 years ago
Isaac Grynsztein 1b4f2830f5 changed logging in backend to support extra logging in debug mode 5 years ago
Isaac Grynsztein 720fceefb6 Fixed bug where subscription videos could not be downloaded from the player 5 years ago
Isaac Grynsztein 14bf2248cf Added UI support for sharing videos 5 years ago
Isaac Grynsztein 822aec4de8 added API endpoint to get file from database
video/audio files can now be retrieved by just uid, allowing for easy sharing

added API endpoints for sharing/unsharing a video (no UI support yet)
5 years ago
Isaac Grynsztein 69cd22d992 file deletions now remove the file from the db as well 5 years ago
Isaac Grynsztein 1905129201 getMp3s and getMp4s now have dedicated functions
downloaded files now get recorded in db.json. So when the server wants to get audio/video files, it doesn't need to recursively go through the respective folders each time
- getMp4s/getMp3s API request latency is reduced ~2x (130ms -> 60ms) in testing

Modified tomp3/tomp4 code to automatically add newly downloaded files to the db

Added a migration so users on 3.5 or below will get their files automatically added to the db on the first run

All these changes are necessary to enable easy sharing with features like timestamps
5 years ago
Isaac Grynsztein 7ef6c78612 merged new checkbox for bookmarklet: enables ability to set bookmarklet to audio only
fixed two bugs for audio only files: sometimes downloads failed as extensions were improperly removed and readded, removing a single character from the filename.

Fixed another extension-related bug where metadata from deleted audio files persisted
5 years ago
Isaac Grynsztein 3990e25c18 added logging to config api and subscriptions api, meaning the entire backend has the new logging system 5 years ago
Isaac Grynsztein 2f0bbca15c added better logging in app.js using winston 5 years ago
Isaac Grynsztein c36867d368 Added progress bar to file downloads
Added two new API calls, to update the server to a particular version and to get the updater status

You can now update through the UI, and a status dialog displays after
5 years ago
Isaac Grynsztein 89ececdbeb Dependencies now install during update 5 years ago
Isaac Grynsztein a5224f80a8 nodemon now runs silently 5 years ago
Isaac Grynsztein 37614a1611 Changed backend logging for server start to give more information (namely version) 5 years ago
Isaac Grynsztein b71bdfcec2 Updated nodemon package.json config 5 years ago
Isaac Grynsztein 1b09bf4881 nodemon now supported 5 years ago
Tzahi12345 82df232f03 Update process now properly gets required backend files 5 years ago
Tzahi12345 af4de44016 Further merge 5 years ago
Tzahi12345 61f27d6fe9 merged changes 5 years ago
Tzahi12345 b3dbdd1790 Cleaning working folder 5 years ago
Isaac Grynsztein 785306c59a Added debug statements 5 years ago
Tzahi12345 38774d8593 Updater now grab new backend files
youtube-dl auto updater now guesses binary path, which makes the update process work much more reliably
5 years ago
Isaac Grynsztein df11aca1e0 Added preliminary support for updating YoutubeDL-Material
Config items that are not found use and set the default value

Fixed potential error while updated youtube-dl binaries
5 years ago
Isaac Grynsztein bcff631936 Updated translations and 'backend/public' folder 5 years ago
Isaac Grynsztein 347df89aa7 Updated default title_top value in config 5 years ago
Isaac Grynsztein ca3a42c075 Changed location of archive path to appdata/archives. If the folder doesn't exist, it gets auto-generated. In the future this path will be configurable 5 years ago
Isaac Grynsztein d0221f2233 Updated gitignore and public dir 5 years ago
Isaac Grynsztein b4dc655f2f Re-added contents of public directory to repo 5 years ago
Isaac Grynsztein 47a1173a80 Updated app.js to remove error when not run from backend directory 5 years ago
Isaac Grynsztein 0d756c4c97 If no config exists, one will be auto generated from the default 5 years ago
Isaac Grynsztein d4664bad45 Additional fix for bug that caused server to crash when failing to update youtube-dl 5 years ago
Isaac Grynsztein 03e3eb9a81 Fixed bug where failed youtube-dl updates crashed the server (it should just continue uninterrupted) 5 years ago
Isaac Grynsztein c003b02153 updated gitignores 5 years ago
Isaac Grynsztein 7d9ad0fce1 removed debug logging 5 years ago
Isaac Grynsztein b3b2175c67 added debug messages to debug heroku 5 years ago
Isaac Grynsztein d8ea848e26 Attempted to fix heroku server port 5 years ago
Isaac Grynsztein fb5054a1d7 when using heroku, port is auto set as heroku's port 5 years ago
Isaac Grynsztein 25dc8d137a Fixed heroku port 5 years ago
Isaac Grynsztein 1d6fddf386 removed package-lock 5 years ago
Isaac Grynsztein 3a6d0f38d7 updated procfile and made server heroku compatible 5 years ago
Isaac Grynsztein 4aaaddac92 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into settings-pin 5 years ago
Isaac Grynsztein ce2f294a3d Removed potential race condition with youtube-dl archives in main downloader
Fixed bug where downloaded subscriptions' zip files would include erroneous folders for their videos
5 years ago
Isaac Grynsztein 57e3f1b2ac removed frivolous logging 5 years ago
Tzahi12345 4b67527bd5
Merge branch 'master' into id3-tagging 5 years ago