Roardom
61c0c29e9f
refactor: use php 8.4 property hooks for livewire computed properties
...
Less magic, and works well. Saw this trick in the Laracon US 2025 Livewire presentation.
2025-08-16 10:48:12 +00:00
Roardom
8618aa1474
update: improve imdb regex
...
Lookarounds are not performant. Also, fix the client side regex validation to allow links.
2025-07-19 08:22:12 +00:00
Roardom
a3063fb8c5
refactor: normalize request votes
...
Cleans up the code and better normalization practice. Should this ever be a performance issue (such as sorting by vote count on request search page), then it'd probably be better to use meilisearch, but currently with 60k bounties, the query time only takes ~300ms compared to the 40ms previously.
2025-06-22 00:49:41 +00:00
Roardom
702ac45cb6
fix: normalize request claims
...
Errors happen when requests have the claimed flag but don't actually have a claim record (or vice-versa).
2025-06-20 03:08:01 +00:00
Roardom
b05f3e0e47
fix: filled request filter broken when fill approver soft deleted
...
Use the timestamp instead of the user id as it doesn't disappear when the user is (soft) deleted. The `whereDoesntHave` is the real issue here since it handles soft deletion, but since users are also deletable, handle all cases where it checks the field directly as well to instead use the timestamp.
2025-05-04 21:51:38 +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
8122c6a5bc
fix: phpstan pagination generics
2025-03-02 09:14:09 +00:00
Roardom
0df4b67c6b
fix: searching torrent/request searching by id
...
Regression from #4309
2024-11-09 22:28:11 +00: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
3a4dc1a729
fix: claimed requests showing pending
...
Regresson from #4053 .
2024-10-02 09:39:02 +00:00
Roardom
a0299daa16
refactor: use eloquent relations directly
2024-08-18 03:26:41 +00:00
Roardom
bd9f820153
fix: phpstan livewire pagination types
2024-07-09 12:24:34 +00:00
HDVinnie
a1592b2841
fix: phpstan errors
2024-07-09 01:56:45 -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
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
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
HDVinnie
41db02b0ac
add: request #3745
...
- closes #3745
2024-04-17 19:29:49 -04:00
HDVinnie
71c5a3ebcb
patch: livewire url attributes
2024-03-06 02:02:05 -05:00
HDVinnie
2fa847f6a8
remove: dead code
2024-03-04 16:21:58 -05:00
HDVinnie
bde593e48b
update: livewire
2024-03-03 22:41:29 -05:00
Roardom
fe31076104
Reapply "Merge pull request #3380 from Roardom/livewire-types"
...
This reverts commit b4a9dfea8b .
2024-01-24 08:03:05 +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
7037200377
fix: Livewire queryString type hint
2024-01-14 11:35:55 +00:00
Roardom
b6a3917575
fix: add type hints to Livewire computed properties
2024-01-14 11:35:55 +00:00
Roardom
0da9cef272
fix: specify primitive data types for Livewire properties
2024-01-14 11:35:55 +00:00
HDVinnie
3f03214e39
PHP Style Change (Laravel Pint CI)
2023-11-07 23:54:38 +00:00
HDVinnie
656647649f
Revert "cleanup: pt.2"
...
This reverts commit 33d9927abd .
2023-10-12 23:11:20 -04:00
HDVinnie
33d9927abd
cleanup: pt.2
2023-10-12 22:41:46 -04:00
HDVinnie
b3f0386149
cleanup: pt.1
2023-10-12 22:30:52 -04:00
Roardom
a8aa1000ea
update: swap username for user_id as request_claims foreign key
2023-08-06 06:20:29 +00:00
HDVinnie
2a3ee4a045
remove: dead livewire component function
2023-06-19 10:07:56 -04:00
HDVinnie
7d991881f4
fix: N+1 issues
2023-04-16 00:14:16 -04:00
HDVinnie
c81e42d518
PHP Style Change (Laravel Pint CI)
2023-03-19 23:12:47 +00:00
HDVinnie
40db300774
fix: multiple bugs
2023-03-19 19:11:46 -04:00
HDVinnie
3650900c97
update: lint
...
- not_operator_with_space to false
2023-02-03 16:01:29 -05:00
HDVinnie
472c820f99
update: UNIT3D linting
...
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
Roardom
d810a4501b
remove: user requests
2022-12-26 03:00:38 -06:00
Roardom
fc0235e39b
update: fulfill requests with torrent id instead of info_hash
2022-12-23 16:07:47 -06:00
HDVinnie
2ca429c4ce
Revert "PSR12 Linting"
...
This reverts commit 7e65e1d589 .
2022-09-11 19:51:58 -04:00
HDVinnie
7e65e1d589
PSR12 Linting
2022-09-11 23:50:41 +00:00
Roardom
8dfdc8d317
fix: change torrent request status filter to or instead of and
2022-04-23 21:48:19 +00:00
HDVinnie
594b7864d9
refactor: adopt new helpers in laravel 9
2022-03-06 17:20:05 -05:00
HDVinnie
dd19889ee6
Merge branch '6.x.x' into Code-Style
2022-01-10 17:03:50 -05:00
HDVinnie
5e01a26c88
optimize: whereIn and whereNotIn queries
2022-01-10 16:25:26 -05:00
HDVinnie
d7cb337f5f
chore: streamline query builder orderBy calls with asc and desc arguments
2022-01-08 03:34:17 -05:00
HDVinnie
97394c062f
chore: adopt type hints
2022-01-07 23:35:33 -05:00
Roardom
c05b89ea8a
update: allow tt in imdb searches
2021-11-16 20:59:21 -06:00
HDVinnie
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04:00