Commit Graph

12603 Commits

Author SHA1 Message Date
Roardom ab0851f73a update: upgrade to phpstan 2 2025-02-24 17:19:39 +00: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
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
HDVinnie cff21fe31d Merge pull request #4436 from AnabolicsAnonymous/torrent-filter 2025-02-15 11:40:17 -05:00
HDVinnie ae1d16f237 Merge pull request #4479 from Roardom/improve-quick-search 2025-02-15 08:19:53 -05:00
Retro 37 711453f30c fix: German translation of torrent.php 2025-02-14 18:59:32 +01:00
Retro 37 f8a64b32c9 update: german translation 2025-02-14 13:45:57 +01:00
Roardom a27c16a085 fix: quicksearch results being 1px too narrow on each side 2025-02-14 03:50:47 +00:00
Roardom b5e3c7ac49 refactor: remove unneeded quicksearch css
There's only a single quicksearch input now. This was used for when there were 3 different toggles for movie/tv/person.
2025-02-13 23:18:15 +00:00
Roardom b49463693d update: expand quicksearch when focused 2025-02-13 23:18:15 +00:00
Roardom aa57a375cd update: add fallback images to quicksearch 2025-02-13 23:18:15 +00:00
HDVinnie 7acee58f4a Merge pull request #4474 from Roardom/mariadb-top-users 2025-02-13 08:23:19 -05:00
HDVinnie 9fb69e1cb8 Merge pull request #4473 from Roardom/chat-json-responses 2025-02-13 08:22:25 -05:00
HDVinnie fcd9bb9f75 Merge pull request #4471 from Roardom/clean-torrent-files 2025-02-13 08:21:18 -05:00
HDVinnie 2cce5c7f49 Merge pull request #4470 from Roardom/blade-inheritance 2025-02-13 08:16:57 -05:00
HDVinnie 6a40b855f2 Merge pull request #4467 from Roardom/fix-earning-name 2025-02-13 08:13:08 -05:00
HDVinnie bc25ffa3be Merge pull request #4465 from Roardom/bbcode-blade-directive 2025-02-13 08:12:37 -05:00
HDVinnie 052acb0d0b Merge pull request #3943 from Roardom/save-upserts 2025-02-13 08:11:35 -05:00
Roardom 211ea33a38 update: increase density of quick search 2025-02-13 10:44:59 +00:00
Roardom 42488abe6c update: only delete upsert data after successful upsertion 2025-02-13 09:53:04 +00:00
Roardom 21edfbd961 fix: user earnings torrent count query
Supposedly sql doesn't support referencing outer tables while inside a FROM clause. Mariadb seems to have an issue with this - but only on some databases. Not sure why.
2025-02-11 06:52:28 +00:00
Roardom 5e8f54fa4c refactor: don't use unnecessary orderByRaw
Null values are always ordered last anyways. Additionally, count(*) returns 0, not null. Also fixes issue on mariadb with value being a reserved keyword.
2025-02-11 06:24:21 +00:00
Roardom 8e455ef448 fix: api chat controller json return types
Makes static analysis happy.
2025-02-11 06:06:17 +00:00
Roardom bd422e1cdc add: command to clean torrent files
Useful when migrating sites from other platforms to sanitize any potentially sensitive data.
2025-02-11 05:52:19 +00:00
Roardom e818af27bb fix: don't hide existing sidebar if main is empty 2025-02-10 20:06:40 +00:00
Roardom df9fa5004c fix: normalize torrent featured flag
When the featured flag goes out of sync with the featured_torrents table (for reasons still unknown), the torrent is permanently labeled as freeleech, while 100% of traffic is always credited.
2025-02-10 17:47:12 +00:00
Roardom 3c3d69a508 fix: incorrect bon earning description 2025-02-04 15:26:41 +00:00
HDVinnie e45231b124 Merge pull request #4464 from Roardom/bon-earning-torrent-count 2025-02-03 10:17:32 -05:00
HDVinnie cbb78e7ab9 Merge pull request #4453 from Roardom/pm-channel 2025-02-03 10:16:54 -05:00