- media languages are used to populate languages dropdowns for things like subtitles, audios, etc. Media Languages was chosen to not conflict or be confused with the already use Languages which is used for site multilangual support.
Aside from fixing the units, which mixed binary and metric
inadvertently, this commit adds an interface to a third-party library
that handles the conversion much more elegantly and provides flexibility
for future needs of a similar nature.
env() calls should be made *only* from within config files.
Note that the 'owner-username' is not prepended with 'default-' because,
unlike the other two values, it should not be changed after
installation, specifically because the account should always be
looked-up by username and not ID (despite existing code that currently
does the latter).
As part of this effort, a dedicated "torrents" storage location was
added to filesystems.php, which affects the torrent file storage
location. Accordingly, the torrent files in existing installations will
need to be moved (or symlinked) upon upgrade. The primary reason for
this change is mentioned in the Laravel docs: "This convention will
keep your publicly accessible files in one directory that can be easily
shared across deployments when using zero down-time deployment systems
like Envoyer."
This factory was causing unexpected behavior with the UserFactory;
basically, this factory was taking precedence whenever
factory(User::class) was called.
Oddly, this factory was effective only in the Travis-CI environment and
not anybody's respective local environment. Presumably, some nuance
with the filesystem coupled with Composer's autoloader affects the
order in which the respective factories are registered in different
environments.
In any case, this factory is no longer useful and is hereby deleted,
which fixes a handful of test methods that heretofore had to be marked
as incomplete.