24 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
da08d4a273 update: improve invite log search
- Allow searching by wildcard.
- Allow searching by soundex.
- Allow searching pruned users.
- Add threshold label.
- Fix table alias issue with eloquent relations.
2024-08-11 01:27:23 +00:00
Roardom
bd9f820153 fix: phpstan livewire pagination types 2024-07-09 12:24:34 +00:00
HDVinnie
5ca88559e6 update: livewire components
- more phpstan fixes
2024-06-23 13:00:31 -04:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
HDVinnie
65ced2cf75 fix: #3729
- closes #3729
2024-04-07 20: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
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
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
32e246011c add: group invite log by user 2023-07-30 21:58:45 +00:00
Roardom
47b260f6b4 add: custom invite column 2023-07-29 06:43:19 +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
4f7b0e545b Merge branch '7.x.x' into add-invite-log-sorting 2023-06-15 19:44:55 -04:00
Roardom
b6bb83e68e add: invite retraction 2023-06-13 09:37:26 +00:00
Roardom
04650c9e6e add: invite log sorting 2023-06-13 08:57:39 +00:00
HDVinnie
5c0074f642 add: invite searching 2023-05-28 22:19:17 -04:00