Commit Graph

247 Commits

Author SHA1 Message Date
HDVinnie 9f2fdb5335 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-09-08 22:25:50 +00:00
Laravel Shift fac1da0b42 Shift cleanup 2020-09-08 22:25:06 +00:00
Laravel Shift 089632a4ac Namespace seeders 2020-09-08 22:24:37 +00:00
Laravel Shift add31768f5 Shift to class based factories 2020-09-08 22:24:30 +00:00
HDVinnie 41b617bb2e update: laravel 7 support 2020-07-19 17:33:50 -04:00
Leigh MacDonald df699239d5 fix: Add unique index for group slug 2020-06-09 19:50:39 -06:00
HDVinnie 868c0ceccf update: resolution migrations 2020-06-08 21:38:27 -04:00
HDVinnie ee7c6f19db fix: categories table seeder 2020-06-08 21:11:03 -04:00
HDVinnie dace076a03 update: types table seeder 2020-06-08 14:19:14 -04:00
HDVinnie 7a6b4f17fd update: categories table seeder 2020-06-08 14:12:36 -04:00
HDVinnie 2fb100459b add: resolutions database seeder 2020-06-07 12:53:20 -04:00
HDVinnie 5756be5432 update: tests 2020-06-06 22:14:31 -04:00
HDVinnie c8adeb7d35 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-06-07 02:09:28 +00:00
HDVinnie 4e19b2a0ee add: torrents/requests resolution_id migrations 2020-06-06 22:07:54 -04:00
HDVinnie a1e80374b1 add: resolutions migration 2020-06-06 11:42:02 -04:00
HDVinnie bfb8600e4f Revert "add: resolutions migration"
This reverts commit e269456d77.
2020-06-06 11:39:17 -04:00
HDVinnie e269456d77 add: resolutions migration 2020-06-06 11:38:02 -04:00
HDVinnie d3af6a5236 update: torrent request factory 2020-05-26 20:34:03 -04:00
HDVinnie 7c1c37d52e update: torrent request types 2020-05-26 20:08:52 -04:00
HDVinnie 2111aa1c07 Merge branch 'master' into Types-System-Refactor 2020-05-26 13:33:44 -04:00
HDVinnie dbdff8bae1 update: types database seeder 2020-05-26 13:30:03 -04:00
HDVinnie dac9088a5e add: optional command to ban disposable users 2020-05-21 15:57:30 -04:00
HDVinnie f0eb5f3672 update: torrent factory 2020-05-18 23:14:01 -04:00
HDVinnie 52d2e35e7b add: new migration
- this new migration fixes the torrent table column from `type` to `type_id`.
- this column should be filled with the type id and not type name as previously done.
- this migration is backwards compatible and will update existing UNIT3D torrents in the foreach loop.
2020-05-18 22:57:53 -04:00
HDVinnie 5b0202db74 Merge pull request #1256 from HDInnovations/Subtitle-System
(Add) Subtitle System
2020-04-12 13:10:16 -04:00
HDVinnie 1b4be58ee1 update: subtitles migration 2020-04-09 13:22:56 -04:00
HDVinnie e6fd2c151b fix: media languages seeder 2020-04-07 18:49:36 -04:00
HDVinnie b90054a29e update: subtitles migration 2020-04-07 17:27:19 -04:00
HDVinnie 6ba593c8e9 tests: update group test 2020-04-01 00:41:47 -04:00
HDVinnie c44f295a37 add: double upload permission to groups 2020-04-01 00:09:34 -04:00
HDVinnie ea850ca866 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-03-30 03:08:39 +00:00
HDVinnie 7f595873c5 add: media languages seeder 2020-03-29 22:43:47 -04:00
HDVinnie 2a48556fc2 update: subtitles migration 2020-03-26 13:28:01 -04:00
HDVinnie 941de84c95 add: media languages migration
- 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.
2020-03-25 23:57:57 -04:00
HDVinnie 8bdf175284 update: subtitles migration 2020-03-25 23:35:05 -04:00
HDVinnie 9ca9d93442 add: subtitles migration 2020-03-25 23:09:10 -04:00
Ben Johnson a986681184 fix: Fix incorrect byte values
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.
2020-03-06 13:24:23 -05:00
stonedbovines 8920866194 fix: Change (K|M|G|T)B to (K|M|G|T)iB where incorrect 2020-03-06 10:21:35 -05:00
Ben Johnson 016f948687 fix: Move calls to env() out of UsersTableSeeder
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).
2020-03-03 21:25:39 -05:00
Ben Johnson e22ffc1d07 tests: Add CommentController tests 2020-03-03 09:53:36 -05:00
HDVinnie 4c2fce6e91 Merge branch 'master' into development 2020-02-25 19:34:27 -05:00
Ben Johnson 6b172b051d tests: Auth controller tests 2020-02-25 16:57:11 -05:00
HDVinnie ad3ec8de19 tests: console commands 2020-02-25 13:01:48 -05:00
HDVinnie da18feac5a Merge pull request #1174 from cbj4074/torrent-controller-tests
tests: Implement TorrentController API tests
2020-02-24 16:17:55 -05:00
Ben Johnson aa32a893fa tests: Implement TorrentController API tests
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."
2020-02-24 15:24:50 -05:00
HDVinnie b0cfe365c6 tests: staff controllers 2020-02-24 12:23:46 -05:00
Ben Johnson b025e27b3e tests: Delete conflicting DemoFactory
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.
2020-02-23 20:20:01 -05:00
Ben Johnson 362ce3b37a style: Style-CI fixes 2020-02-20 16:43:03 -05:00
Ben Johnson 9422f81f6a tests: Change User factory defaults to be more sensible 2020-02-20 12:11:30 -05:00
Ben Johnson 837d84c82a tests: Add a couple more tests 2020-02-19 22:08:19 -05:00