33 Commits

Author SHA1 Message Date
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
8122c6a5bc fix: phpstan pagination generics 2025-03-02 09:14:09 +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
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00: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
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
Roardom
3909f421a1 fix: only show subtitles from approved torrents 2024-01-01 16:40:51 +00:00
HDVinnie
3f03214e39 PHP Style Change (Laravel Pint CI) 2023-11-07 23:54:38 +00:00
Roardom
8eda5e0a58 add: subtitle search by uploader 2023-07-21 21:29:43 +00:00
Roardom
b6b4313bdc update: various database performance improvements
Use eager loading where necessary and add a few indexes. The existing index on private_messages for sender_id and read was probably a typo and intended for receiver_id. The first 3 tables indexes are added to are used for queries ran on every page load: namely the new pm, new notification and warnings indicator in the navbar. Additionally, another index on genre_movie proved useful for finding all the genres when given a movie id. Perhaps, another index for finding all movies within a genre would be good as well, but will leave that for a future optimization if deemed necessary.
2023-07-17 00:21:08 +00:00
HDVinnie
2a3ee4a045 remove: dead livewire component function 2023-06-19 10:07:56 -04: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
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
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
2a53cea216 refactor: newline after statement 2021-09-28 12:49:46 -04:00
HDVinnie
df5446d127 update: livewire components 2021-09-17 20:19:44 -04:00
clandestine8
a737482e79 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
86b28a7e7f update: livewire pagination
- this commit fires an event on livewire pagination that will auto scroll to top of page as intended.
2021-08-06 11:36:58 -04:00
HDVinnie
d75bbdc665 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-07-13 00:36:19 +00:00
HDVinnie
b5c27ce8cd refactor: convert simple closures to arrow functions 2021-07-12 20:35:41 -04:00
HDVinnie
8a212fd2ce cleanup: livewire components and views 2021-03-15 20:26:20 -04:00
HDVinnie
8a9d94e07a update: preslash simple functions
- performance
2020-12-31 12:41:46 -05:00
HDVinnie
2a6c3c3ad8 cleanup: livewire subtitle search 2020-12-28 23:47:43 -05:00
HDVinnie
4bc0c36f7b Apply fixes from StyleCI
[ci skip] [skip ci]
2020-11-03 20:08:37 +00:00
HDVinnie
f466b7be89 refactor: subtitle search 2020-11-03 15:08:22 -05:00