Roardom
f703b05cf2
update: batch peer connectivity checks asynchronously
2023-09-04 08:58:33 +00:00
HDVinnie
05264cf497
PHP Style Change (Laravel Pint CI)
2023-08-30 08:10:15 +00:00
Roardom
37000e6d3f
update: use movie/tv poster component for recommendations
2023-08-30 08:05:21 +00:00
Roardom
f2066f4441
fix: add type hints to models
2023-08-26 07:43:07 +00:00
Roardom
69d4ecdecb
fix: user hidden being overridden by base model
2023-08-25 09:13:57 +00:00
Roardom
2ca7adbbe5
fix: various larastan controller issues
2023-08-25 09:13:18 +00:00
Roardom
8127734979
fix: various larastan command issues
2023-08-25 07:58:38 +00:00
Roardom
6e6f551367
fix: various larastan livewire issues
2023-08-25 06:45:41 +00:00
Roardom
c4fccde317
fix: various larastan model issues
2023-08-25 04:21:38 +00:00
Roardom
42c23aa0b5
fix: Resource php doc blocks
2023-08-25 03:07:58 +00:00
Roardom
091965d5d3
fix: larastan not recognizing model properties created from DB::raw()
2023-08-25 02:02:06 +00:00
Roardom
435dab893e
add: user application to their profile
2023-08-23 09:57:28 +00:00
HDVinnie
104835c05e
fix: user model
2023-08-21 12:54:31 -04:00
HDVinnie
0a735819aa
fix: larastan
2023-08-17 22:44:42 -04:00
HDVinnie
cdf7291839
Merge branch '7.x.x' into Test-Suite
2023-08-15 23:49:26 -04:00
HDVinnie
0854104639
update: more tests + sail docker-compose
2023-08-14 12:20:57 -04:00
HDVinnie
d19a4ddcba
Merge pull request #3033 from Roardom/refactor-request-claims
...
(Update) Swap `username` for `user_id` as request_claims foreign key
2023-08-07 03:31:46 -04:00
Roardom
a8aa1000ea
update: swap username for user_id as request_claims foreign key
2023-08-06 06:20:29 +00:00
HDVinnie
7348dee7f4
Merge branch '7.x.x' into add-user-attributes
2023-08-06 00:38:44 -04:00
Roardom
450a475593
fix: casts type
2023-08-06 02:21:15 +00:00
Roardom
3af1effaad
fix: fillable type
2023-08-06 02:21:15 +00:00
Roardom
f8ac185deb
fix: guarded type
2023-08-06 02:19:54 +00:00
Roardom
d7cf34b84a
update: use laravel attributes on user model
2023-08-06 02:14:30 +00:00
HDVinnie
b2ad52cd68
fix: application model
2023-08-05 19:20:32 -04:00
Roardom
7180f33edb
add: forum category breadcrumb
2023-07-29 08:36:39 +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
2392da1310
Revert "fix: laravel default job model serialization"
...
This reverts commit 55d03d3819 .
2023-07-28 05:20:33 +00:00
HDVinnie
122d67e781
Merge pull request #2967 from Roardom/fix-announce-model-serialization
...
(Fix) laravel default job model serialization
2023-07-27 10:22:29 -04:00
Roardom
da7571859f
fix: ci
2023-07-27 04:45:41 +00:00
Roardom
55d03d3819
fix: laravel default job model serialization
...
laravel by default automatically serializes models in a custom way when inserted into a job queue and fetches the model from the database again when the job is ran. We would rather not have these extra queries, so we can't pass in models, or data that is already serialized (as laravel will try to deserailize our serialization too and fail), so we opted for arrays, and filling in the properties into a new model again once the job is handled.
2023-07-27 03:11:04 +00:00
Roardom
4efb06b90f
fix: batch peer upserts when site has connectivity check disabled
2023-07-27 01:12:45 +00:00
HDVinnie
0d31d20d8a
Merge branch '7.x.x' into fix-process-announce-selects
2023-07-26 00:22:46 -04:00
Roardom
88d6ae1d89
fix: ci
2023-07-26 02:39:44 +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
HDVinnie
61fccdc778
Merge branch '7.x.x' into Redis-Peer-Batching
2023-07-24 12:52:43 -04:00
HDVinnie
06ff54fd18
Merge pull request #2951 from Roardom/rename-graveyard-to-resurrections
...
(Refactor) Rename `graveyard` to `resurrections`
2023-07-23 22:39:36 -04:00
Roardom
9c0c474a9a
refactor: rename graveyard to resurrections
...
Make everything consistent with the "plural noun" style
2023-07-24 01:07:35 +00:00
Roardom
faf4d37ac0
refactor: drop unused genre_torrent table
2023-07-24 00:05:16 +00:00
HDVinnie
74c2252cf3
Merge pull request #2937 from Roardom/rename-sender-receiver
...
(Refactor) Use `_id` suffix on bon_transactions foreign keys
2023-07-23 15:19:01 -04:00
Roardom
229eed8091
refactor: use _id suffix on bon_transactions foreign keys
2023-07-22 21:30:50 +00:00
Roardom
f4642c0baa
fix: html entity double encoding
...
Bbcode is always sanitized first before being saved, which causes html entities. However, when content is edited again, the html entities aren't decoded before the user edits them, which causes the user to remove the html entities before updating the content. This commit now decodes the html back to text and will resanitize again upon save.
2023-07-22 04:55:15 +00:00
HDVinnie
654bc8c6b8
Merge pull request #2914 from Roardom/fix-invites
...
(Fix) Invite relations in route model binding
2023-07-19 20:34:10 -04:00
Roardom
d0272652dd
fix: invite relations in route model binding
2023-07-19 08:25:28 +00:00
Roardom
e1505c86ad
fix: redis history batching
...
We need to make sure default values are provided instead of null.
2023-07-19 06:00:59 +00:00
Roardom
6ea7d8af69
add: redis history batching
2023-07-18 09:46:37 +00:00
HDVinnie
978a581724
Merge pull request #2908 from Roardom/update-db-perf
...
(Update) Various database performance improvements
2023-07-16 20:39:10 -04: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
9ba5c7e7c3
update: lazily compute forum post permalink page number
2023-07-15 23:24:26 +00:00
HDVinnie
586b03129a
Merge pull request #2874 from Roardom/add-livewire-people
...
(Update) Tabinate person credits by occupation
2023-07-11 22:59:35 -04:00
HDVinnie
b5f8200586
update: models
...
- use HasFactory for new factories
2023-07-10 12:55:12 -04:00