Commit Graph

45 Commits (master)

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
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 4b55c39f39 permissions code simplified 2 years ago
Tzahi12345 658a76dc1c Added missing admin tasks_manager role 2 years ago
Tzahi12345 9f833d32a2 Fixed an issue where JWT_EXPIRATION was sometimes a string causing a crash (#813) 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
Isaac Abadi 306da4ea63 LDAP logins no longer show error resulting from the required internal login attempt 3 years ago
Isaac Abadi d5c1361e64 Fixed issue where roles were not properly initialized 3 years ago
Isaac Abadi 091f81bb38 Added UI for managing tasks
Added ability to schedule tasks based on timestamp

Fixed mismatched types between frontend and openapi yaml

Simplified imports for several backend components
3 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 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 a11445b80d Added backend tests and made authentication more testable 4 years ago
Isaac Abadi a93aa080b3 Fixed bug where playlistd could not be made 4 years ago
Isaac Abadi f74ce4b865 Fixed bug that caused the UI to fail loading after creating a user in multi-user mode 4 years ago
Isaac Abadi c63a64ebef Categories will now auto-generate playlists 4 years ago
Isaac Abadi 6eb6ffa5e4 Get user videos now accepts an optional type parameter 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 1542436e96 Passwords now must be provided when registering a user 4 years ago
Tiger Oakes f535d18cb9 Use async methods in auth and subscriptions 4 years ago
Isaac Abadi 10922fedd7 Fixed bugs that prevented subscription videos from being downloaded and non-users from accessing shared videos 4 years ago
Isaac Abadi 6717a59422 Fixed bug that preventing playlists from being downloaded a zip 4 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
Isaac Abadi c9b615c659 Added option to change JWT expiration time called "Login expiration" in the Advanced tab 5 years ago
fluxtendu 89cd969fcb Adapted for Raspberry Pi:
- Added Dockerfile-armhf (arm32v7 alpine)
 - Switched from bcrypt to bcrypt.js

new file : Dockerfile-armhf
modified : authentication/auth.js
modified : package.json
5 years ago
Isaac Grynsztein c20d09e902 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into player-improvements 5 years ago
Isaac Grynsztein 86c609c1b2 Player component now remembers previously set volume
Updated name of updatePlaylist->updatePlaylistFiles for clarity and added updatePlaylist route

Added smarter safe download override, will auto activate if subtitle args are included.
5 years ago
Justin Turner 42bd219ed6 Removing extra white spaces 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
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 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 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 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 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
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 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 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 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