Jay Sizzla
54a9541240
Use shouldSend for NewUpload notifications
2025-02-27 13:08:43 +00:00
Roardom
bb86f2fca7
fix: scroll to top of panel on pagination click
...
Instead of the body. Added a slight offset to counteract the sticky navbar.
2025-02-26 20:05:51 +00:00
Roardom
b87638e1c2
fix: allow User model instantiation with new User(['id' => $id])
...
We use this syntax for sending notifications without requerying the database. Also, we don't use $request->all() for anything user-related anymore so we should be safe to allow all attributes to be mass filled.
2025-02-26 19:18:01 +00:00
Roardom
f47f1ac84d
fix: broken url call in torrent playlists panel
2025-02-26 18:41:28 +00:00
Roardom
198a207f2f
fix: email verification text
...
The email is already sent by the time the user reaches this page. No need for them to click the button again.
2025-02-26 18:33:54 +00:00
Roardom
0dcdc50730
fix: redirect user to rules page after email verification
...
fixes #4365
2025-02-26 17:14:18 +00:00
Roardom
2ff2074747
fix: credit character too long to fit in database column
...
Limit it to 200 instead of erroring.
2025-02-26 17:00:58 +00:00
Roardom
513ee61bd0
add: pronounciation of UNIT3D to readme
...
I feel like this is not common knowledge and needs to be documented.
2025-02-26 16:16:25 +00:00
Roardom
a9fed85b82
update: speed up torrent grouping
...
Shaves 110ms (from 150 ms to 40ms) from the logic to group torrents per tmdb and media type. It's not much compared to the rest of the request (~2s), but it's something. I could've got it down to 11 ms if laravel didn't have high overhead when accessing attributes, but it was 70ms before I started using ->getAttributeValue so that says something there.
2025-02-26 14:25:31 +00:00
Roardom
a447269552
refactor: use moderation status enum and cast
...
For consistency and less magic numbers hard coded everywhere.
2025-02-26 14:23:02 +00:00
Roardom
fe04e35e22
fix: comparing carbon dates
...
We need to use specific functions for comparing dates with carbon.
2025-02-26 07:01:28 +00:00
Roardom
5786aa240d
fix: send staff forum notificaton to all permitted to the forum
...
Instead of hard coding it to the is_modo perm. This became an issue when the is_torrent_modo flag was added.
2025-02-25 12:59:41 +00:00
Roardom
311a44a956
fix: torrent edit/bookmark icon color
...
These are supposed to be icon buttons and retain the same color, but they can't be because we'd have to override basically all styles (padding/border) to make it fit. So instead, use the icon button fg color directly.
2025-02-25 12:50:42 +00:00
Roardom
3fa4a9d68d
fix: spacing between digits in torrent icons comments and thanks
2025-02-25 12:50:42 +00:00
Roardom
854b69c03b
update: allow sorting by created_at in grouped view
2025-02-25 12:50:42 +00:00
HDVinnie
51937c897e
Merge pull request #4498 from Roardom/phpstan2
...
(Update) Upgrade to phpstan 2
2025-02-25 07:43:41 -05:00
HDVinnie
7879b437ec
Merge pull request #4497 from Roardom/public-private
...
(Fix) Store user-uploaded files in private directories
2025-02-25 07:42:38 -05:00
HDVinnie
d92bd67902
Merge pull request #4496 from HDInnovations/Migrations
...
(Fix) Groups Migration
2025-02-25 07:42:03 -05:00
HDVinnie
242cd5ea6d
Merge pull request #4495 from Roardom/fix-featured-search
...
(Fix) SQL search by featured torrents
2025-02-25 07:41:40 -05:00
HDVinnie
f4916867bd
Merge pull request #4494 from Roardom/meilisearch-proximity-precision
...
(Update) Change meilisearch proximity precision to `byAttribute`
2025-02-25 07:41:20 -05:00
Roardom
f9d7496234
fix: align last tr of every grouped torrent card in mobile/tablet viewpoints
2025-02-25 06:25:02 +00:00
Roardom
ee4ad4ac27
fix: vertically align edit button in grouped torrent card
2025-02-25 06:14:36 +00:00
Roardom
ab0851f73a
update: upgrade to phpstan 2
2025-02-24 17:19:39 +00:00
Roardom
1af1862229
fix: store user-uploaded files in private directories
...
Filenames were randomized for a few of these to prevent public access, but it's still much better to put user-uploaded files behind auth.
2025-02-24 16:03:01 +00:00
HDVinnie
7fffd0dea6
fix: 2024_01_15_151522_update_groups_table.php
...
- incorrect columns and table names
2025-02-23 21:50:47 -05:00
HDVinnie
3fd29f8132
update: README.md
...
- add individuals
2025-02-23 09:49:50 -05:00
HDVinnie
46bd45b9b1
Merge pull request #4490 from Roardom/fix-featured
2025-02-23 09:41:10 -05:00
HDVinnie
39c6dd77c2
Merge pull request #4489 from Roardom/fix-revel-quick-search
2025-02-23 09:40:47 -05:00
HDVinnie
6dddf6aba4
Merge pull request #4488 from Roardom/view-composer
2025-02-23 09:40:34 -05:00
Roardom
d0048e355d
fix: sql search by featured torrents
...
This portion was missed in the refactor to normalize featured torrents in #4469
2025-02-23 07:31:47 +00:00
Roardom
dcc0aea35c
update: change meilisearch proximity precision to byAttribute
...
This setting is more useful for full text search inside paragraphs of content and we already have it at the bottom of our ranking rules. The docs (https://www.meilisearch.com/docs/reference/api/settings#proximity-precision ) mention a significant indexing performance boost when this is switched to `byAttribute` so let's take advantage of that.
Requires running `php artisan scout:sync-index-settings`.
2025-02-22 13:18:40 +00:00
HDVinnie
7c92646df7
Merge pull request #4487 from Roardom/typed-tasks
...
(Refactor) Swap command signatures for class string in scheduler
2025-02-20 18:06:44 -05:00
HDVinnie
1d5e8e4d2b
Merge pull request #4486 from Roardom/reports-index
...
(Update) Add index to reports table for mod navbar query
2025-02-20 18:06:18 -05:00
HDVinnie
6080308758
Merge pull request #4485 from Roardom/tinyint-bool
...
(Fix) Migrate boolean columns to tinyint(1)
2025-02-20 18:05:21 -05:00
HDVinnie
51e098861b
Merge pull request #4484 from Roardom/hide-flush-ghost-peers
...
(Update) Hide 'flush ghost peers' button when external tracker is enabled
2025-02-20 18:04:28 -05:00
HDVinnie
d9ff9ab190
Merge pull request #4480 from retro37/german-translation
...
(Update) German translation
2025-02-20 18:03:39 -05:00
Roardom
aadcccbb09
refactor: move base view layout database queries inside view composers
...
Keeps code more organized by not having database queries inside the view. Just learned that these were a thing, and realized in the process why there was the issue with #4198 - it was because it was matching on `*`, i.e. all views, so it would render once for every single view, including each include.
2025-02-20 18:43:32 +00:00
Roardom
b6f8aeb9c6
fix: one more featured query missing
...
See previous commit
2025-02-20 16:33:25 +00:00
Roardom
cbbd074a43
fix: featured torrent icon
...
Regression from #4469
The select argument in the query was missing in a few places.
2025-02-20 16:11:14 +00:00
Roardom
de3654cd0f
fix: quick search in revel theme after #4479
...
Regression from #4479 .
2025-02-20 15:02:39 +00:00
Roardom
6e73b4f8f2
refactor: swap command signatures for class string in scheduler
...
Allows ctrl+clicking in IDE.
2025-02-20 03:55:31 +00:00
Roardom
60ab467605
update: add index to reports table for mod navbar query
...
A query quering by these columns is executed every http request for moderator navbars, so speeding it up is useful.
2025-02-19 06:49:45 +00:00
Roardom
58ff976f12
update: hide 'flush ghost peers' button when external tracker is enabled
...
The button doesn't do anything anyways for the external trackers. Users have to just wait it out.
2025-02-19 06:32:41 +00:00
Roardom
b2e29cfcf0
fix: migrate boolean columns to tinyint(1)
...
These columns were previously tiny ints without the (1) display width or regular ints, or smallints. They should all be tinyint(1).
2025-02-19 06:25:21 +00:00
HDVinnie
ddd9ce7220
Merge pull request #4483 from Roardom/fix-similar-deletion
2025-02-18 10:33:59 -05:00
HDVinnie
9c2281fd28
Merge pull request #4482 from Roardom/serbian-script
2025-02-18 10:33:46 -05:00
HDVinnie
d2ffdad0af
Merge pull request #4472 from Roardom/fix-mariadb-user-earnings
2025-02-18 10:32:50 -05:00
HDVinnie
c48d062a75
Merge pull request #4469 from Roardom/normalize-featured
2025-02-18 10:32:14 -05:00
Roardom
ee44de8004
fix: similar torrent bulk deletion
...
These objects passed to the notification must be users, not ids.
2025-02-16 18:10:36 +00:00
Roardom
935e98b0e1
add: additional serbian scripts to flags
2025-02-15 21:07:16 +00:00