Commit Graph

9428 Commits

Author SHA1 Message Date
Shift 39e8a86b88 Generate HTTP tests for controllers 2023-07-11 18:27:15 +00:00
Shift 00f1bd1b68 Include helpful testing packages
Shift added the following packages which may be used by generated tests cases and helpful for testing new code.

- [Test Assertions](https://github.com/jasonmccreary/laravel-test-assertions)
- [`generate:model-factory`](https://github.com/mpociot/laravel-test-factory-helper)
2023-07-11 18:26:41 +00:00
HDVinnie f0b0e8fc43 PHP Style Change (Laravel Pint CI) 2023-07-11 18:23:12 +00:00
HDVinnie 613c7c67c0 update: UserFactoryTest to pest 2023-07-11 14:22:10 -04:00
HDVinnie d394e1ad06 update: dependencies 2023-07-11 14:21:46 -04:00
HDVinnie 818ddae52a update: phpunit.xml 2023-07-11 14:20:55 -04:00
HDVinnie 7e398eb9bd update: phpunit-test.yml 2023-07-11 14:20:41 -04:00
HDVinnie 527164bc1a remove: old tests 2023-07-11 13:53:51 -04:00
HDVinnie 509dfa4506 update: UserMadeTenComments 2023-07-10 16:14:45 -04:00
HDVinnie a618efc653 update: phpunit.xml 2023-07-10 16:14:13 -04:00
HDVinnie d5567ea5c3 Merge pull request #2882 from HDInnovations/shift-95193
(Update) PHPUnit 10 Shift
2023-07-10 15:02:31 -04:00
Shift 0f33d2846d Define test classes as final 2023-07-10 18:54:51 +00:00
Shift 812238b4b8 Adopt PHP attributes in test classes 2023-07-10 18:54:51 +00:00
Shift a2f2eb554f Ignore PHPUnit cache folder 2023-07-10 18:54:49 +00:00
HDVinnie 97d0f91644 PHP Style Change (Laravel Pint CI) 2023-07-10 18:48:25 +00:00
HDVinnie be725cf816 update: test suite
- update workflows
- update paratest
- update collision
- add pest
- update phpunit
- add pest plugins
- update phpunit.xml for phpunit 10
2023-07-10 14:47:21 -04:00
HDVinnie 9e086a2155 PHP Style Change (Laravel Pint CI) 2023-07-10 16:56:50 +00:00
HDVinnie c82b0a99ef update: phpunit.xml 2023-07-10 12:55:31 -04:00
HDVinnie b5f8200586 update: models
- use HasFactory for new factories
2023-07-10 12:55:12 -04:00
HDVinnie b41e44310c update: factories
- update existing factories
- add missing factories
2023-07-10 12:54:19 -04:00
HDVinnie 1ea94f637b Merge pull request #2881 from Roardom/fix-meta-id-requirement
(Fix) Validate meta ids for the selected category
2023-07-10 12:09:52 -04:00
HDVinnie 22ceaba584 Merge pull request #2880 from Roardom/fix-featured
(Fix) Featured buttons and animation
2023-07-10 12:09:14 -04:00
HDVinnie eb1d7f6ab0 Merge pull request #2879 from Roardom/fix-create-request-ids
(Fix) Requirement of ids on request creation
2023-07-10 12:08:29 -04:00
HDVinnie b8522f937d Merge pull request #2878 from Roardom/fix-torrent-history-mobile
(Fix) Can't scroll user torrents horizontally on mobile
2023-07-10 12:07:43 -04:00
HDVinnie 5452194ebc Merge pull request #2830 from Roardom/add-moderation-scopes
(Add) Moderation scopes
2023-07-10 12:07:19 -04:00
Roardom 0101b1d4cd fix: validate meta ids for the selected category 2023-07-10 09:15:32 +00:00
Roardom 34efb121c1 fix: featured buttons and animation
The code for having the carousel rotate was unintentionally commented out.

Additionally, there seems to be a rounding error somewhere when there are 6 or more featured torrents where scrolling one pixel past halfway through the next card isn't enough to get it to scroll the rest of the way on its own using css scroll behavior. So that's now been updated to 2 pixels which seems to work with 6 featured torrents.

Finally, the card gap (currently set to 16 px) wasn't accounted for in the wrap around for when the last card is reached. Now it is.
2023-07-10 08:07:25 +00:00
Roardom 7f318e08d6 fix: requirement of ids on request creation
IDs irrelevant to the category should not be required.
2023-07-10 06:42:13 +00:00
Roardom 9e95a59149 fix: can't scroll user torrents horizontally on mobile 2023-07-10 05:14:18 +00:00
Roardom 741adef615 add: moderation scopes 2023-07-10 04:20:40 +00:00
HDVinnie 71b482fa6c Merge pull request #2875 from Roardom/add-playlist-bulk-add
(Update) Allow adding multiple torrents to a playlist
2023-07-10 00:04:45 -04:00
HDVinnie d95f32e6e2 Merge pull request #2829 from Roardom/fix-migration-models
(Fix) Migration models
2023-07-09 23:54:07 -04:00
HDVinnie f5ee3a526d Merge branch 'master' into 7.x.x 2023-07-09 23:44:05 -04:00
HDVinnie c8ebeff33e Merge branch 'master' into 7.x.x 2023-07-09 23:39:28 -04:00
HDVinnie d9f24940d5 update: readme 2023-07-09 23:31:47 -04:00
HDVinnie d5d47b8701 update: readme 2023-07-09 23:26:57 -04:00
HDVinnie 6303c0bdfb update: readme 2023-07-09 19:50:03 -04:00
HDVinnie 5aa570a0f8 update: dependencies 2023-07-09 19:34:29 -04:00
HDVinnie 040234c7d7 Merge pull request #2876 from Roardom/add-torrent-copy-buttons
(Add) Buttons to copy torrent description/mediainfo/bdinfo
2023-07-09 06:22:21 -04:00
HDVinnie 0c90488464 Merge pull request #2877 from Roardom/add-no-region-distributor
(Fix) Allow reselection of "no distributor" and "no region"
2023-07-09 06:22:02 -04:00
Roardom 245096c19a fix: allow reselection of "no distributor" and "no region"
The edit page allows selection of "No distributor" and "No region" so we should allow that on the upload page too. If we would rather instead explicitly enforce it, then the edit page should be updated instead.
2023-07-09 08:49:52 +00:00
Roardom 1b31fc4bac add: buttons to copy torrent description/mediainfo/bdinfo 2023-07-09 08:36:17 +00:00
Roardom 7610359477 update: allow adding multiple torrents to a playlist
Instead of adding one torrent at a time through a text input, a textarea is offered instead where one id/url can be entered per line for convenience.
2023-07-09 08:13:22 +00:00
HDVinnie 0b5de68e50 Merge pull request #2873 from Roardom/add-filesize-in-bytes
(Add) Torrent file size in bytes on hover for easy access
2023-07-08 12:43:06 -04:00
HDVinnie c3d834371a Merge pull request #2872 from Roardom/add-comment-link
(Add) Link to comments on torrent row
2023-07-08 12:42:47 -04:00
HDVinnie 8fc2f4542b Merge pull request #2871 from Roardom/search-anon-uploaders
(Update) Allow searching for anon uploaders
2023-07-08 12:41:42 -04:00
HDVinnie b37901f761 Merge pull request #2869 from Roardom/fix-torrent-update
(Fix) Torrent update
2023-07-08 12:41:10 -04:00
HDVinnie 0ec86ad0ee Merge pull request #2870 from Roardom/fix-torrent-store
(Fix) Torrent store
2023-07-08 12:40:22 -04:00
Roardom a0bb6dc5d7 add: torrent file size in bytes on hover for easy access 2023-07-08 05:50:32 +00:00
Roardom 91b3d92b56 add: link to comments on torrent row
Easy access to viewing a torrent's comments.
2023-07-08 05:40:35 +00:00