Commit Graph

223 Commits

Author SHA1 Message Date
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
Ben Johnson
1cd88b8430 tests: Add tests for a couple of ChatController methods 2020-02-18 19:50:52 -05:00
HDVinnie
8cb017aa7e Merge pull request #1153 from HDInnovations/development
(Update) Polls System
2020-02-16 09:58:39 -05:00
HDVinnie
947f2609b7 Merge pull request #1152 from gyakkun/fix_migrate
fix: 'down()' in some migration scripts.
2020-02-16 09:57:21 -05:00
HDVinnie
d393ac779b Merge pull request #1126 from gyakkun/patch_impl-poll-edit-delete
Implement polls edit and delete.
2020-02-16 09:56:32 -05:00
gyakkun
bb53208c61 fix: 'down()' in creating audits table.
(For search: migrate migration script.)
2020-02-16 21:33:22 +08:00
gyakkun
cc90552991 fix: 'down()' in creating bot_transactions table.
(For search: migrate migration script.)
2020-02-16 21:23:02 +08:00
gyakkun
5a4397b658 fix: 'down()' in altering rss table.
(For search: migrate migration script.)
2020-02-16 21:22:30 +08:00
gyakkun
ca4f1cc6af fix: 'down()' in altering private_messages table.
(For search: migrate migration script.)
2020-02-16 21:22:11 +08:00
gyakkun
9ed12aa822 fix: 'down()' in altering peers table.
(For search: migrate migration script.)
2020-02-16 21:21:48 +08:00
gyakkun
8f99be5a66 fix: 'down()' in renaming ban table.
(For search: migrate migration script.)
2020-02-16 21:20:56 +08:00
gyakkun
c09444f53c fix: 'dropColumn()' in adding release_year to torrents table.
(For search: migrate migration script.)
2020-02-16 20:19:51 +08:00
gyakkun
f5bf7b6391 fix: Typo found by Travis. 2020-02-15 14:40:12 +08:00
HDVinnie
de0b19f27d Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-14 21:42:32 +00:00
HDVinnie
f6bb39b56e tests: update model factories 2020-02-14 16:39:13 -05:00
gyakkun
41998673ad remove: Purge ip_checking of polls/voters table in db.
(For search: migration migrate script.)
2020-02-15 04:43:59 +08:00
Ben Johnson
b2550bb71c tests: Add bare-minimum testing configuration 2020-02-14 15:00:18 -05:00
gyakkun
c6207c3f3b add: Add foreign key constraint in options table.
Changes to be committed:
	new file:   2020_02_14_185120_add_foreign_key_to_options_table.php

(For search: migration script.)
2020-02-14 19:13:10 +00:00
HDVinnie
b82eac385a Merge branch 'master' into shift-22443 2020-02-13 16:04:16 -05:00
HDVinnie
dd0adb5f5a chore: add missing license blocks 2020-02-12 15:21:47 -05:00
HDVinnie
780e0c1f0e chore: update license block 2020-02-12 15:05:34 -05:00
HDVinnie
e47afe4ab4 chore: styleci 2020-02-12 14:51:22 -05:00
HDVinnie
80c842e39c chore: update license block
- make styleci happy
2020-02-12 14:49:18 -05:00
HDVinnie
dbb928f940 chore: update license block 2020-02-12 14:45:59 -05:00
HDVinnie
20add0bebc Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-22 17:30:02 +00:00