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
Laravel Shift
69e87ee1d4
Generate model factories
2020-01-22 17:19:00 +00:00
HDVinnie
9a893662de
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
ecded5d002
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-06 16:00:17 +00:00
HDVinnie
d4f48c272f
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-12-23 04:25:21 +00:00
HDVinnie
b57ed65d93
(Update) API Token Managment 🚀
2019-12-16 21:05:10 -05:00
HDVinnie
4f459b343b
(Add) api_token Migration 🆕
2019-11-26 21:59:49 -05:00
HDVinnie
2784b14d3c
(Update) Demo Seeder 🚀
2019-11-13 08:52:33 -05:00
HDVinnie
e0379e5b95
(Add) Audit System 🆕
...
- filtering to follow
2019-11-06 06:42:17 -05:00
HDVinnie
d889971834
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
e9378b71fa
(Update) Minor Cleanup 🚀
2019-11-05 17:05:39 -05:00
HDVinnie
d72800610c
(Update) UsersTableSeeder 🚀
2019-11-05 15:55:33 -05:00
HDVinnie
92f825289e
(Update) CRUDDY PT.10 🚀
2019-11-03 13:09:45 -05:00
HDVinnie
eed3b51c92
(Update) CRUDDY PT.7 🚀
2019-10-25 17:35:14 -04:00
HDVinnie
e0636f5a5b
(Fix) Migration Location 🐛
2019-09-25 12:04:13 -04:00