Added support for "sharedSlug" where multiple uploaders can share files #268
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added an option to upload to a shared slug. If the shared slug is specified on upload, the short and long slugs are still generated specifically for that connection. Additionally, the shared slug will provide a connection for each uploader independently. This approach respects the current filepizza specifications, including multiple file uploads, and password setting for individual uploader files.
Currently, I do not implement means for deleting stale uploader connections since there are multiple ways to deal with it, and I would rather leave it to the filepizza authors to decide how to approach this.
Future Suggestion:
additionalUploaders
list. This is problematic however, since one downloader being unable to establish a connection with an uploader does not mean the upload is not available for otherskeep-alive
signal that maintains connections to available uploaders. The upload connection is discarded after multiple failed attempts to connect