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
2023-05-23 22:37:25 -04:00
Tzahi12345
4b55c39f39
permissions code simplified
2023-05-11 23:14:40 -04:00
Tzahi12345
658a76dc1c
Added missing admin tasks_manager role
2023-05-08 19:23:07 -04:00
Tzahi12345
9f833d32a2
Fixed an issue where JWT_EXPIRATION was sometimes a string causing a crash ( #813 )
2023-04-01 18:31:45 -04:00
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
2022-06-30 00:43:57 -04:00
Isaac Abadi
306da4ea63
LDAP logins no longer show error resulting from the required internal login attempt
2022-05-21 22:59:39 -04:00
Isaac Abadi
d5c1361e64
Fixed issue where roles were not properly initialized
2022-04-24 05:02:02 -04:00
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
2022-04-21 03:01:49 -04:00
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
2021-08-08 21:29:31 -06:00
Isaac Abadi
5a90be7703
Logger is now separated into its own module
...
Added eslint and fixed many logic errors based on its recommendations
2021-08-08 14:54:24 -06:00
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
2021-07-16 00:05:08 -06:00
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
2021-05-30 00:39:00 -06:00
Isaac Abadi
a11445b80d
Added backend tests and made authentication more testable
2021-05-16 02:54:15 -06:00
Isaac Abadi
a93aa080b3
Fixed bug where playlistd could not be made
2021-01-09 17:25:46 -05:00
Isaac Abadi
f74ce4b865
Fixed bug that caused the UI to fail loading after creating a user in multi-user mode
2020-12-26 15:35:13 -05:00
Isaac Abadi
c63a64ebef
Categories will now auto-generate playlists
2020-12-23 01:29:22 -05:00
Isaac Abadi
6eb6ffa5e4
Get user videos now accepts an optional type parameter
2020-12-22 01:25:12 -05:00
Isaac Abadi
4f693d4eda
Added description to player component and simplified the database by un-splitting videos and playlists by type
2020-12-14 18:19:50 -05:00
Isaac Abadi
1542436e96
Passwords now must be provided when registering a user
2020-11-29 18:37:16 -05:00
Tiger Oakes
f535d18cb9
Use async methods in auth and subscriptions
2020-09-26 15:14:37 -07:00
Isaac Abadi
10922fedd7
Fixed bugs that prevented subscription videos from being downloaded and non-users from accessing shared videos
2020-09-26 00:29:13 -04:00
Isaac Abadi
6717a59422
Fixed bug that preventing playlists from being downloaded a zip
2020-09-24 02:26:58 -04:00
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
2020-08-26 04:18:29 -04:00
Isaac Abadi
c9b615c659
Added option to change JWT expiration time called "Login expiration" in the Advanced tab
2020-08-10 14:26:59 -04:00
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
2020-07-14 23:00:08 +02:00
Isaac Grynsztein
c20d09e902
Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into player-improvements
2020-06-29 20:11:20 -04:00
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.
2020-06-29 19:39:47 -04:00
Justin Turner
42bd219ed6
Removing extra white spaces
2020-06-27 01:09:41 -05:00
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
2020-05-30 16:20:03 -04:00
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
2020-05-03 18:55:42 -04:00
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
2020-05-02 20:36:30 -04:00
Tzahi12345
8bc99fb557
Fixed bug that prevented registration from occuring
2020-05-02 17:25:35 -04:00
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
2020-05-02 17:09:46 -04:00
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
2020-05-01 03:34:35 -04:00
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
2020-04-30 16:31:36 -04:00
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
2020-04-30 04:54:41 -04:00
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
2020-04-29 20:46:29 -04:00
Tzahi12345
ff51a49d1b
Removed unused import
2020-04-29 00:04:04 -04:00
Isaac Grynsztein
4b2b278439
Sharing and video downloads on shared videos now work for multi-user mode
2020-04-27 04:31:39 -04:00
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)
2020-04-26 18:33:23 -04:00
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)
2020-04-26 17:40:28 -04:00
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
2020-04-24 21:03:00 -04:00
Isaac Grynsztein
1f3572a630
jwt auth scaffolding
...
logging in now works
UI login component created
2020-04-16 22:35:34 -04:00
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
2020-04-16 16:33:32 -04:00