Commit Graph

15 Commits

Author SHA1 Message Date
Roardom 87ae4a8a5f update: top10 to be grouped by the torrent category 2023-08-29 12:50:14 +00:00
Roardom bb5255d968 Revert "update: cache personal freeleech existence instead of its value"
This reverts commit b48a9222d1.
2023-07-28 06:08:55 +00:00
Roardom b48a9222d1 update: cache personal freeleech existence instead of its value
We only cache it if it exists, so let's not query it every single time it doesn't exist.
We don't remove it from the hourly run command yet so that currently existing freeleeches can be deleted.
2023-07-25 22:48:56 +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
Roardom d19bb4f2ea refactor: swap auth()->user()->id to auth()->id() 2023-07-07 00:28:47 +00:00
Roardom 0f6728a6ec update: modularize top10 2023-02-23 16:40:32 -06: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 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
StyleCI Bot 6613314f5d Apply fixes from StyleCI 2022-02-28 10:05:30 +00:00
HDVinnie fe8c67397d update: livewire components 2022-02-28 05:05:20 -05:00
HDVinnie 7a36ece4b1 update: top 10 component 2022-02-17 00:55:49 -05:00
HDVinnie 4b0985c3b8 fix: top 10 queries
- deleted_at column removed as was only used in local
2022-01-15 21:28:40 -05:00
HDVinnie 04c7a66f6e Apply fixes from StyleCI 2021-12-23 18:19:03 +00:00
HDVinnie d00be4ba4d add: base top 10 torrents feature 2021-12-23 13:18:52 -05:00