Commit Graph

3497 Commits

Author SHA1 Message Date
HDVinnie
c8662e0348 Merge pull request #4249 from Roardom/bot-bool-active 2024-10-20 09:54:30 -04:00
HDVinnie
f6a6997a00 Merge pull request #4248 from Roardom/rss-private-bool 2024-10-20 09:54:13 -04:00
Roardom
e4ac5caa30 fix: use bool for bot active instead of int
Also update docblocks. Related: #4085.
2024-10-20 10:26:00 +00:00
Roardom
69d1bb47c1 fix: use bool for rss is_private instead of int 2024-10-20 10:14:28 +00:00
Roardom
e75de5d546 update: allow editors to use sql searching 2024-10-19 18:43:09 +00:00
HDVinnie
c63c27924a fix: QuickSearch Controller
- allow searching by TMDB and IMDB ids
2024-10-18 08:30:04 -04:00
Roardom
c623f29eea fix: torrents sorted incorrectly when using meilisearch
We need to sort the torrents after they've been fetched from the database to match the same order that meilisearch returned.

Fixes regression from #4236.
2024-10-18 01:53:52 +00:00
Roardom
5b7bf9fd2e update: use meilisearch for torrent search by default
Using scout directly doesn't work because when increasing the maxTotalHits in meilisearch, scout will use the max instead of just fetching the current page. Meilisearch seems to handle a max of 200k torrents fine on its own, with 12ms latency when e.g. filtering by type down to 38000 totalHits. Run `php artisan scout:sync-index-settings`, followed by `php artisan auto:sync_torrents_to_meilisearch` after updating.
2024-10-17 07:21:33 +00:00
HDVinnie
99f495b2ac Merge pull request #4228 from Roardom/event-gifts
(Add) Staff-configurable events with daily prizes
2024-10-16 12:09:27 -04:00
HDVinnie
c9dc4d6875 Merge pull request #4209 from HDInnovations/AIO-Quickseach
(Refactor) AIO Quicksearch
2024-10-16 08:49:45 -04:00
HDVinnie
b43b28c1be Merge pull request #4230 from Roardom/show-pruned-users-default
(Update) Show pruned users by default in user search
2024-10-16 08:26:14 -04:00
HDVinnie
9c2bb17aa1 update: QuickSearch Controller
- refactor logic to simpler approach
2024-10-15 22:48:55 -04:00
HDVinnie
92662ff77e update: QuickSearchController
- use meilisearch php client directly and not scout.
- use MultiSearchFederation
- ability to search by meta ids
2024-10-15 20:38:52 -04:00
Roardom
ca9b8b056d update: show pruned users by default in user search
More often than not, when users are searched, it is wanted to search pruned users as well.
2024-10-15 09:11:23 +00:00
Roardom
ff5e30295a add: staff-configurable events with daily prizes 2024-10-15 08:20:13 +00:00
HDVinnie
4db023483b Merge pull request #4225 from Roardom/anon-torrent-profile
(Fix) Hide user anon upload count by default
2024-10-14 07:50:09 -04:00
Roardom
f77e14dd71 fix: hide user anon upload count by default 2024-10-14 05:21:16 +00:00
Roardom
f7ba4a715f fix: link to category of existing torrents in recommendations 2024-10-13 06:37:53 +00:00
HDVinnie
2b94479b22 update: report notification blip
- exclude snoozed reports.
2024-10-10 20:21:18 -04:00
HDVinnie
b886394c20 Merge pull request #4156 from Obi-Wana/add-torrent-immune-button-to-ui
(Add) Allow staff to set individual history entries to immune
2024-10-10 17:07:09 -04:00
HDVinnie
370860d884 Merge pull request #4214 from Roardom/fix-api-when-no-results
(Fix) Broken api compatbility when no torrents found & next page not being null
2024-10-10 17:01:19 -04:00
Jay
928cb77887 Merge branch '8.x.x' into add-torrent-immune-button-to-ui 2024-10-10 14:06:12 +00:00
Jay Sizzla
3a58fc1ef7 Allow staff to set individual history entries to immune 2024-10-10 15:03:23 +01:00
Roardom
85eb7c366d fix: provide null for next page when no more results 2024-10-10 08:00:14 +00:00
Roardom
3e5f475a56 fix: broken api compatbility when no torrents found
There was always a null check here to return 404 when no torrents are found. But this null check was always comparing against a paginator instance... which would never be true. So when I changed it to an isEmpty when I changed the query from a database query to a meilisearch query, and thought that was the correct thing to do to make sure a 404 is still returned, that was incorrect, because a 404 was never returned in the first place. An empty array is proper here.
2024-10-08 11:33:14 +00:00
Roardom
36d6e06822 update: don't query database in rss 2024-10-08 03:30:23 +00:00
HDVinnie
ee8889d0d9 refactor: quicksearch
- refactored from livewire to alpinejs
- this is a crudish draft but is fullly functional
- script should be moved to own alpine component in js dir
- person command and filter is simply a test and works
- fixes long time safari issue when click result just closes search and doesnt direct to URL by following:

@click.prevent Directive: Added @click.prevent="navigateTo(result.url)" to the anchor tag to handle the click event and navigate to the URL.
navigateTo Method: Added a navigateTo method in the quickSearch function to change the window location to the clicked URL.
Event Listener: Updated the init method to add a click event listener that stops propagation and navigates to the URL.
2024-10-07 21:44:04 -04:00
HDVinnie
9eec2794ba update: donation controller 2024-10-06 17:18:38 -04:00
HDVinnie
0e58d810f3 update: donation charts
- @json is deprecated
- move colors to css variables
- cleanup query
- cleanup JS
2024-10-03 21:43:22 -04:00
HDVinnie
6f3a2a6c17 add: daily + monthly donations charts 2024-10-03 20:52:25 -04:00
HDVinnie
64107b3776 Merge pull request #4164 from Roardom/revert-api-torrent-resources
(Update) Don't query database in filter api take 2
2024-10-02 18:00:25 -04:00
HDVinnie
c7601ad131 Merge pull request #4201 from Roardom/fix-tmdb-request-refresh 2024-10-02 16:05:13 -04:00
HDVinnie
7ecc2906e3 Merge pull request #4200 from Roardom/fix-request-claimed-regression 2024-10-02 16:04:50 -04:00
Roardom
33b85ea862 fix: allow refreshing metadata of requests when no torrent exists 2024-10-02 09:46:11 +00:00
Roardom
3a4dc1a729 fix: claimed requests showing pending
Regresson from #4053.
2024-10-02 09:39:02 +00:00
Roardom
a199eec068 update: remove unncessary home page queries
The data from these queries were originally used directly in the views to avoid n+1, but now the TopTorrents Livewire component includes the appropriate queries.
2024-10-01 08:46:31 +00:00
HDVinnie
f86f3239ea Merge pull request #4185 from Roardom/destroy-deleted-message 2024-09-29 07:09:51 -04:00
Roardom
ad48d9bfb8 fix: check message existence before deletion 2024-09-29 05:32:20 +00:00
HDVinnie
72be3e853b Merge pull request #4181 from Roardom/faster-audits
(Update) Add indexes to audits to speed up staff activity counts
2024-09-28 21:07:02 -04:00
HDVinnie
f55c6059c1 Merge pull request #4180 from Roardom/peer-active-inactive-ratio
(Add) Inactive/active ratio to peer search aggregate
2024-09-28 21:06:40 -04:00
Roardom
3878bb85d7 update: add indexes to audits to speed up staff activity counts
Speeds up the queries from 1.1 s to 75 ms.
2024-09-27 07:39:25 +00:00
Roardom
0ffab106e7 add: inactive/active ratio to peer search aggregate
Useful for finding users with frequently crashing clients (presumed to be caused by lack of file space and repeatedly restarting on cron).
2024-09-27 07:05:11 +00:00
HDVinnie
ede8c563a3 fix: condition check 2024-09-22 12:43:09 -04:00
HDVinnie
3649c27f1a Merge pull request #4170 from Roardom/reopen-tickets
(Update) Allow reopening tickets
2024-09-22 12:33:32 -04:00
HDVinnie
12dc0e8274 Merge pull request #4159 from Roardom/report-status
(Update) Report search usability improvements
2024-09-22 12:24:49 -04:00
Roardom
54f823b8e0 update: allow reopening tickets 2024-09-22 11:03:24 +00:00
Roardom
d9f834d949 fix: fix backwards compatibility of api datetime format
The original format included microseconds as well.
2024-09-22 10:00:12 +00:00
Roardom
f8b31e2cdd fix: auth caching api between users
Don't cache rsskeys of users and provide the responses to other users.
2024-09-22 10:00:12 +00:00
Roardom
b313751581 Revert "revert: #4131"
This reverts commit 1bd9fbab12.
2024-09-22 10:00:12 +00:00
HDVinnie
f890a61771 add: donation scss and package descriptions 2024-09-16 20:54:43 -04:00