Commit Graph

108 Commits

Author SHA1 Message Date
HDVinnie 0546343fbd Merge pull request #3013 from Roardom/update-online-users-block
(Update) Users online block cache and appearance
2023-08-01 12:29:29 -04:00
HDVinnie cce643b7fe Merge pull request #3012 from Roardom/cache-home-posts-by-group
(Fix) Cache home page posts/topics by group
2023-08-01 12:28:51 -04:00
Roardom d6a0d647a6 update: users online block cache and appearance
Make sure the cache caches based on the group since the privacy setting for showing up here can be based on the group. Also show the data in columns to look a little nicer.
2023-08-01 10:50:44 +00:00
Roardom 75d4610df4 fix: cache home page posts/topics by group
Otherwise it bypasses forum permission settings
2023-08-01 10:21:12 +00:00
Roardom 594e4e598b fix: exclude anon torrents from leaderboards
For privacy reasons.
2023-08-01 10:08:07 +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 3b46c7819b refactor: use route model binding for user routes 2023-07-07 00:28:47 +00:00
Roardom d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25:40 +00:00
HDVinnie 278cf8544a PHP Style Change (Laravel Pint CI) 2023-06-18 21:42:52 +00:00
HDVinnie 46803bea3f add: activity icons 2023-06-18 17:41:50 -04:00
Roardom 1e3c459278 fix: game torrents on home page 2023-05-18 04:30:12 +00:00
Roardom 1ae9cb76a0 fix: posts query on home page 2023-04-18 08:52:55 +00:00
Roardom 397d33616e fix: game ids on home page query 2023-04-09 00:40:53 +00:00
Roardom 53c7a8597c fix; game query on home page 2023-04-08 23:47:57 +00:00
Roardom 3ae38f2509 update: home view 2023-02-24 23:39:36 -06:00
HDVinnie f4ebee885c update: lint 2023-02-03 22:23:00 -05: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 85ab302611 update: announce 2023-01-23 21:31:51 -05:00
HDVinnie 4da8bc29de PSR12 Linting 2023-01-05 07:54:08 +00:00
Roardom 50e7463926 update: cache personal freeleeches 2023-01-04 23:07:23 -06:00
Roardom 2685aa1bcb update: replace featured pane keen slider 2022-09-19 22:40:21 -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
HDVinnie 92fb549ec6 fix: featured torrents slider query
- use eager loading on user relation to avoid N+1
2022-06-08 23:46:56 -04:00
HDVinnie 631a7068ce fix: lazy loading [group] on model [App\Models\User] 2022-06-05 21:51:15 -04:00
HDVinnie 1f8d977c45 fix: lazy loading [resolution] on model [App\Models\Torrent] 2022-06-05 21:46:09 -04:00
StyleCI Bot e292545306 Apply fixes from StyleCI 2022-05-31 22:06:07 +00:00
Shift be2d37ed6e Use Illuminate\Support\Carbon 2022-05-31 22:05:34 +00:00
HDVinnie d3abd28925 update: type hints 2022-01-08 15:35:53 -05:00
clandestine8 a737482e79 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie 321847e067 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-05-16 02:41:53 +00:00
HDVinnie 3407075214 refactor: better php8 usage
- Change simple property init and assign to constructor promotion
- Remove unused variable in catch()
- Change docs types to union types, where possible
2021-05-15 22:41:28 -04:00
HDVinnie aed1cb235d refactor: home controller 2020-12-30 12:10:00 -05:00
HDVinnie 0733269867 update: phpdoc blocks 2020-07-22 16:57:13 -04:00
HDVinnie a975116218 refactor: preslash simple functions
- Add pre-slash to short named functions to improve performance by almost 30%
-  @see https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule
2020-07-22 15:09:37 -04:00
HDVinnie 41b617bb2e update: laravel 7 support 2020-07-19 17:33:50 -04:00
HDVinnie 3d3de56ccb update: queries 2020-05-26 13:22:18 -04:00
innocente205 5122fc18f5 Update HomeController.php 2020-04-30 16:08:22 +07:00
innocente205 0249b8db7a Update HomeController.php 2020-04-30 16:05:42 +07:00
innocente205 bb7fe1a334 Update HomeController.php 2020-04-30 16:03:06 +07:00
innocente205 c1540bea78 Update HomeController.php 2020-04-30 15:56:32 +07:00
innocente205 64c51e92f5 (Update) HomeController.php
Add 'new_news' flag for articles less than 3 days old
2020-04-30 15:43:36 +07:00
HDVinnie 4afdfbdade Apply fixes from StyleCI
[ci skip] [skip ci]
2020-04-19 05:31:13 +00:00
HDVinnie ea2a12be15 refactor: closure to arrow function 2020-04-14 20:38:48 -04:00
HDVinnie 4885ae8dde update: home controller
- upddate caching for User Online Block
2020-04-06 09:30:16 -04:00
HDVinnie 408bfafc3e Apply fixes from StyleCI
[ci skip] [skip ci]
2020-03-05 15:47:30 +00:00
HDVinnie 4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
HDVinnie e47afe4ab4 chore: styleci 2020-02-12 14:51:22 -05:00
HDVinnie 80c842e39c chore: update license block
- make styleci happy
2020-02-12 14:49:18 -05:00