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
e5f9694da0
Fixed bug where downloading individual files failed for channel subscriptions
2020-04-30 13:29:47 -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
Adam Verga
6980828853
Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into multi-user-mode
2020-04-29 20:16:42 -04:00
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
2020-04-29 00:12:50 -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
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
2020-04-26 21:37:08 -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
c3cc28540f
Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into multi-user-mode
2020-04-23 14:56:14 -04:00
Isaac Grynsztein
eca06a7fb1
Downloads on the home page now show the progress bar
2020-04-22 21:42:21 -04:00
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
2020-04-21 18:56:52 -04:00
Isaac Grynsztein
1565c328d5
If a video is a playlist, it will download the normal way
2020-04-21 16:19:19 -04:00
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
2020-04-21 03:16:39 -04:00
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
2020-04-20 18:39:55 -04:00
Isaac Grynsztein
d887380fd1
Added new methods to facilitate server-side download management
2020-04-18 01:31:32 -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
Isaac Grynsztein
bdb5072014
API key is now passed as a query param
2020-04-15 18:46:13 -04:00
Isaac Grynsztein
e5baf094c9
chmodsync will not run if app is running on windows
2020-04-15 03:40:26 -04:00
Isaac Grynsztein
264b3606d6
Modified automatic permissions for json files
2020-04-15 03:36:56 -04:00
Isaac Grynsztein
2408184cc7
new video json files created now get read perms across the board
2020-04-15 03:19:28 -04:00
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
2020-04-15 02:01:25 -04:00
Isaac Grynsztein
3d3ab5180f
fixed bug that prevented non-api routes from loading without an auth header
2020-04-10 21:03:37 -04:00
Isaac Grynsztein
b5a82b9385
Updated middleware to support API tokens. Frontend now uses an admin token for its requests
...
Fixed version numbers
2020-04-10 20:44:42 -04:00
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
2020-04-10 14:46:36 -04:00
Isaac Grynsztein
e15141c5e0
Added backend and database support for video streaming
...
Added UI support for video streaming. branch is now feature-complete
2020-04-09 23:33:58 -04:00
Isaac Grynsztein
346d41d3e1
Fixed bug that broke server backups
2020-04-09 01:57:43 -04:00
Isaac Grynsztein
597e1f5b60
Fixed bug that prevented updates from succeeding
2020-04-09 01:47:10 -04:00
Isaac Grynsztein
ba2b837cc5
Fixed accidentally commented out functionality to download new updates
2020-04-09 01:35:22 -04:00
Isaac Grynsztein
22f0ee834b
backups now occur in appdata/backups folder
2020-04-08 15:58:29 -04:00
Isaac Grynsztein
1b4f2830f5
changed logging in backend to support extra logging in debug mode
2020-04-07 21:41:13 -04:00
Isaac Grynsztein
720fceefb6
Fixed bug where subscription videos could not be downloaded from the player
2020-04-07 19:16:15 -04:00
Isaac Grynsztein
14bf2248cf
Added UI support for sharing videos
2020-04-07 18:19:12 -04:00
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)
2020-04-07 14:49:05 -04:00
Isaac Grynsztein
69cd22d992
file deletions now remove the file from the db as well
2020-04-07 01:38:35 -04:00
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
2020-04-07 00:00:25 -04:00
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
2020-04-05 15:19:12 -04:00
Isaac Grynsztein
3990e25c18
added logging to config api and subscriptions api, meaning the entire backend has the new logging system
2020-04-02 23:14:07 -04:00
Isaac Grynsztein
2f0bbca15c
added better logging in app.js using winston
2020-04-02 23:05:17 -04:00
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
2020-04-02 21:53:08 -04:00
Isaac Grynsztein
89ececdbeb
Dependencies now install during update
2020-04-01 19:31:41 -04:00
Isaac Grynsztein
37614a1611
Changed backend logging for server start to give more information (namely version)
2020-03-31 04:20:46 -04:00
Tzahi12345
82df232f03
Update process now properly gets required backend files
2020-03-30 23:36:35 -04:00
Tzahi12345
af4de44016
Further merge
2020-03-30 23:25:58 -04:00