HDVinnie
dfd6620486
refactor: replace instances of Carbon::now() with Laravel's now() helper
...
- per contribution guide and for consistency
2026-02-11 16:10:07 -05:00
Roardom
dd8e489d2f
refactor: modularize torrent grouping logic
2025-10-21 10:37:50 +00:00
Roardom
d839c4071d
remove: unused LastPerGroup scope
2025-10-17 10:10:44 +00:00
Roardom
222e5ed808
fix: eager loads on meta popups on torrent list
...
Brings page load time down from 700ms back to reasonable 200ms levels.
2025-09-11 08:39:12 +00:00
Roardom
58c86a5251
refactor: use morph relations for auditable trait
2025-09-10 00:43:44 +00:00
Roardom
ae33c74f2b
refactor: prefix tmdb metadata models with tmdb
...
Will help for when there exists other metadata sources available (such as already done for igdb)
Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom
32cf8da4db
refactor: split tmdb into movie_id and tv_id
...
Step 2 in cleaner meta fetching code.
2025-03-16 22:55:24 +00:00
Roardom
8fde78124b
refactor: save igdb games to the database
...
Step 1 towards cleaner meta fetching code.
Users with a game category must run `php artisan fetch:meta` after migration.
2025-03-11 19:48:25 +00:00
Roardom
8122c6a5bc
fix: phpstan pagination generics
2025-03-02 09:14:09 +00:00
Roardom
2ab932ae9e
fix: phpstan arrayFilter.same
...
$data is created from looping over an original array, and adding arrays always containing the keys old and new. Because the conents of the array passed to array_filter is always either empty, or contains one or more arrays with keys `old` and `new`, there will never be any elements filtered.
2025-03-02 06:58:35 +00:00
HDVinnie
8eb1e64cc1
Merge pull request #4300 from Roardom/ansi-db
...
(Refactor) Use ANSI-compatible syntax for raw database queries
2024-11-03 21:15:37 -05:00
Roardom
40c2889613
refactor: move TorrentFilter trait into TorrentSearchFiltersDTO
...
The trait is only used in the one place (apart from being used in the request search, which it shouldn't have been used for in the first place).
2024-11-02 10:48:09 +00:00
Roardom
0e4bcb570d
refactor: use ANSI-compatible syntax for raw database queries
2024-11-02 04:26:49 +00:00
Roardom
e740769299
fix: use bool for torrent/group refundable instead of int
2024-10-20 10:41:30 +00:00
Roardom
d66eff1d5a
update: allow searching for no regions/distributors
2024-09-01 21:10:42 +00:00
HDVinnie
1087dff233
Merge branch '8.x.x' into meilisearch-3
2024-08-18 01:19:43 -04:00
Roardom
a0299daa16
refactor: use eloquent relations directly
2024-08-18 03:26:41 +00:00
HDVinnie
f92194281c
refactor: release years
...
- remove the release_year column from the torrents table and just search the movie/tv tables instead
2024-08-13 22:18:38 -04:00
Roardom
64a60089d9
refactor: treat sprintf as native function
...
This breaks the pint CI currently. This is probably due to the next version of php (8.4) adding opcache optimizations to sprintf and our config requiring pre-slashing native functions.
2024-08-09 21:08:26 +00:00
Roardom
fa35e4e5c0
add: use meilisearch to search torrents
2024-08-06 02:15:25 +00:00
HDVinnie
7469a11ea1
add: #4006
...
- closes #4006
2024-07-28 21:18:09 -04:00
HDVinnie
130aca4ca1
refactor: move request search facet queries to computed properties
...
- continues off PR #3967
2024-07-08 20:53:15 -04:00
Roardom
fdf272122c
fix: torrent search playlist filter
...
We need to filter the given columns on the `playlists` table, not the `playlist_torrent` table.
2024-07-02 21:42:49 +00:00
HDVinnie
c4cd52e23b
fix: multiple bugs
...
- adds laravel 11 casts support to phpstan https://github.com/larastan/larastan/blob/2.x/UPGRADE.md#upgrading-to-296-from-295
- fixes multiple bugs found by phpstan
- removes dead code in torrent filter trait
- ignores three new files in phpstan.neon temp until debugged for timeouts
2024-06-19 13:43:59 -04:00
Roardom
648752fd86
fix: setting meta attribute on torrent meta trait
2024-05-27 07:02:23 +00:00
Roardom
37a7621228
Revert "revert: #3875 "
...
This reverts commit 8ef18600ec .
2024-05-27 06:54:11 +00:00
HDVinnie
8ef18600ec
revert: #3875
...
- meta is not pulled correctly with refactor
2024-05-26 17:09:19 -04:00
Roardom
184b57a68a
fix: types on torrent meta trait
2024-05-26 15:34:42 +00:00
HDVinnie
ef047ef3a4
Merge pull request #3855 from Roardom/strict-types-2
2024-05-25 00:57:25 -04:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
LostRager
9224f790b0
Update TorrentMeta.php
2024-05-22 13:20:33 +02:00
Roardom
418f14176f
fix: exclude private playlists from torrent search
2024-05-21 13:49:02 +00:00
HDVinnie
d5b03b55fe
refactor: meta scoping
...
- removes duplicate code into a single usable trait
2024-03-19 13:39:24 -04:00
HDVinnie
4ffe74840e
fix : #3208
...
- close #3208
2024-03-11 08:46:21 -04:00
HDVinnie
fd18f48076
Merge pull request #3556 from Obi-Wana/add-refundable-to-api
...
(Add) Refundable option to API
2024-03-09 06:48:36 -05:00
Jay Sizzla
c59d3957e6
Add refundable to API for post and get requests
2024-03-06 07:27:59 +00:00
Roardom
b274347313
refactor: use whereRelation when possible
...
All changes were tested for performance regressions. None of the included changes were affected. However, the code that uses `whereIn('category_id', Category::select('id')->where('movie_meta', '=', 1)` saw a ~10% performance loss so should not be changed.
2024-03-03 15:56:02 +00:00
Roardom
fe31076104
Reapply "Merge pull request #3380 from Roardom/livewire-types"
...
This reverts commit b4a9dfea8b .
2024-01-24 08:03:05 +00:00
Roardom
5c57979d4a
add: adult filter to advanced torrent search
2024-01-22 09:54:01 +00:00
HDVinnie
b4a9dfea8b
Revert "Merge pull request #3380 from Roardom/livewire-types"
...
This reverts commit a4e1a1bc62 , reversing
changes made to 10982c68bd .
2024-01-14 16:18:08 -05:00
Roardom
69cd4aa982
update: livewire sortBy to trait and add parameter type
2024-01-14 11:35:55 +00:00
Roardom
bae56c16a2
add: trait to cast livewire properties to their intended type
2024-01-14 11:35:55 +00:00
Roardom
bf715ed49f
fix: phpstan level 7 errors in Auditable trait
2024-01-07 17:13:20 +00:00
Roardom
fc953a1985
add: filter torrent search by primary language
2023-12-27 11:39:12 +00:00
LostRager
2ff0ae49d8
Update TorrentFilter.php
2023-11-17 20:20:15 +01:00
HDVinnie
3f03214e39
PHP Style Change (Laravel Pint CI)
2023-11-07 23:54:38 +00:00
HDVinnie
f4aab26086
remove: email based 2fa
2023-11-06 10:30:18 -05:00
HDVinnie
4ce90b163f
PHP Style Change (Laravel Pint CI)
2023-10-13 02:31:58 +00:00
HDVinnie
b3f0386149
cleanup: pt.1
2023-10-12 22:30:52 -04:00
Roardom
f2066f4441
fix: add type hints to models
2023-08-26 07:43:07 +00:00