Commit Graph

9617 Commits

Author SHA1 Message Date
Roardom 09f6747741 fix: prevent comment parent deleting comment chain 2023-07-30 04:50:56 +00:00
HDVinnie 39be1d1ee8 Merge pull request #2974 from Roardom/fix-personal-fl-caching
(Fix) Personal freeleech caching
2023-07-28 02:38:18 -04:00
HDVinnie dc4b12963b Merge branch '7.x.x' into fix-personal-fl-caching 2023-07-28 02:35:16 -04:00
HDVinnie a35974b755 Merge pull request #2973 from Roardom/fix-fl-token-caching
(Fix) Freeleech token caching
2023-07-28 02:32:39 -04:00
Roardom 2f10728ec0 fix: personal freeleech caching
We're constantly querying for personal freeleech existence if we only store it when it's true.
2023-07-28 06:13:50 +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 4825ac53a2 fix: freeleech token caching
We're constantly querying for freeleech token existence if we only store it when it's true.
2023-07-28 06:05:39 +00:00
HDVinnie aa061d3ff8 Merge pull request #2972 from Roardom/revert-recent-announce-changes
(Revert) Recent announce changes
2023-07-28 01:44:40 -04:00
Roardom b5246a0e80 Revert "fix: redundant fetching of records from the database"
This reverts commit 7d3a9e244e.
2023-07-28 05:21:31 +00:00
Roardom 2392da1310 Revert "fix: laravel default job model serialization"
This reverts commit 55d03d3819.
2023-07-28 05:20:33 +00:00
Roardom fa6ef2a65c Revert "update: announce job"
This reverts commit 2524a978ab.
2023-07-28 05:20:31 +00:00
Roardom 624abb8644 Revert "fix: announce user update"
This reverts commit ef29310cd3.
2023-07-28 05:20:28 +00:00
HDVinnie b623090298 Merge pull request #2970 from Roardom/fix-announce
(Fix) Announce user update
2023-07-28 00:28:40 -04:00
Roardom ef29310cd3 fix: announce user update 2023-07-28 03:27:37 +00:00
HDVinnie 2524a978ab update: announce job 2023-07-27 23:24:55 -04:00
HDVinnie 10bc704891 Merge pull request #2964 from Roardom/fix-request-approval-notification
(Fix) Request approval notification
2023-07-27 10:24:07 -04:00
HDVinnie ca39959192 Merge pull request #2969 from Roardom/fix-peers-status
(Fix) Status on torrent peers page
2023-07-27 10:23:35 -04:00
HDVinnie 91ef6eec73 Merge pull request #2968 from Roardom/fix-delete-peers-msg
(Fix) Deleted stopped peers command comment
2023-07-27 10:23:18 -04: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
HDVinnie 391ed892f7 Merge pull request #2966 from Roardom/fix-peer-upserts-without-connectivity
(Fix) Batch peer upserts when site has connectivity check disabled
2023-07-27 10:20:04 -04:00
Roardom da7571859f fix: ci 2023-07-27 04:45:41 +00:00
Roardom 9e932619ef fix: status on torrent peers page 2023-07-27 03:47:43 +00:00
Roardom c52036f987 fix: deleted stopped peers command comment 2023-07-27 03:44:55 +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
Roardom b1fb3b958e fix: request approval notification 2023-07-26 23:45:24 +00:00
HDVinnie 3bc23de60f Merge pull request #2960 from Roardom/fix-process-announce-selects
(Fix) Redundant fetching of records from the database
2023-07-26 00:32:04 -04:00
HDVinnie 3a26e4ae1c PHP Style Change (Laravel Pint CI) 2023-07-26 04:23:48 +00:00
HDVinnie 0d31d20d8a Merge branch '7.x.x' into fix-process-announce-selects 2023-07-26 00:22:46 -04:00
HDVinnie b2a6bf1ac3 Merge pull request #2959 from Roardom/personal-freeleech-ttl
(Update) Cache personal freeleech existence instead of its value
2023-07-25 23:19:48 -04:00
HDVinnie 282dfb272d fix: ProcessAnnounce.php
- was accidentally removed by me in https://github.com/HDInnovations/UNIT3D-Community-Edition/pull/2565
2023-07-25 23:19:22 -04:00
HDVinnie 28445f85f1 Merge pull request #2962 from Roardom/fix-active-peers-migration
(Fix) Active peers migration
2023-07-25 23:01:02 -04:00
Roardom 5abc18252c fix: active peers migration
Peers all get deleted otherwise.
2023-07-26 02:48:53 +00:00
HDVinnie c7db489c21 fix: broken route 2023-07-25 22:45:00 -04:00
Roardom 88d6ae1d89 fix: ci 2023-07-26 02:39:44 +00:00
Roardom 7d3a9e244e fix: redundant fetching of records from the database
The `SerializesModels` trait fetches a new copy of the record from the database, causing 4 more queries than we thought we were using. This change reduces the query time in the ProcessAnnounce job by 55%.
2023-07-26 02:18:20 +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 7d82bec7c7 Merge pull request #2939 from Roardom/active-peers
(Add) Peer active status
2023-07-24 16:46:47 -04:00
HDVinnie 154e3d1f6f update: github action workflows 2023-07-24 16:44:30 -04:00
HDVinnie f3091b8cf6 fix: github action workflows 2023-07-24 16:39:18 -04:00
HDVinnie b3770cad70 update: github action workflows 2023-07-24 16:29:38 -04:00
HDVinnie 722b860123 Merge pull request #2954 from Roardom/larastan-ci
(Add) Larastan CI
2023-07-24 16:25:11 -04:00
Roardom f665f36c0e add: larastan ci 2023-07-24 19:28:55 +00:00
HDVinnie 5a3c3de9eb update: peers upsert 2023-07-24 13:22:43 -04:00
HDVinnie f8b9b3c80c Merge branch '7.x.x' into active-peers 2023-07-24 13:04:12 -04:00
HDVinnie 1d8120c85c Merge pull request #2565 from HDInnovations/Redis-Peer-Batching
(Add) Redis peer batching
2023-07-24 13:00:46 -04:00
HDVinnie d16bafc1e1 update: ProcessAnnounce.php 2023-07-24 12:57:21 -04:00
HDVinnie dc4a374b46 update: AutoInsertPeers.php 2023-07-24 12:53:58 -04:00
HDVinnie 61fccdc778 Merge branch '7.x.x' into Redis-Peer-Batching 2023-07-24 12:52:43 -04:00
HDVinnie 12bbcde505 Merge pull request #2953 from Roardom/mediahub-unsigned-integers
(Refactor) Use unsigned 32-bit integers for mediahub
2023-07-24 00:55:00 -04:00