Commit Graph

2790 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
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
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
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
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
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
Roardom
33b85ea862 fix: allow refreshing metadata of requests when no torrent exists 2024-10-02 09:46:11 +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
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
HDVinnie
ede8c563a3 fix: condition check 2024-09-22 12:43:09 -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
6772f9a48c fix: package and gateway is_active 2024-09-16 16:54:37 -04:00
HDVinnie
f629f8d3f0 update: donation controller 2024-09-15 19:04:51 -04:00
HDVinnie
9c61d724b6 update: donation system 2024-09-14 23:05:13 -04:00
HDVinnie
f37067a4a8 update: DonationController.php 2024-09-14 10:55:23 -04:00
HDVinnie
95183f1692 PHP Style Change (Laravel Pint CI) 2024-09-12 17:04:41 +00:00
HDVinnie
428bf63910 add: base donation system 2024-09-12 13:03:38 -04:00
HDVinnie
1bd9fbab12 revert: #4131 2024-09-05 08:23:28 -04:00
HDVinnie
70c0a3e2ad Merge pull request #4143 from Roardom/fix-genre-array-string
(Fix) Genres array should be string
2024-09-04 22:37:48 -04:00
Roardom
a2d0e69428 fix: genres array should be string
Ideally should be array... but then when it exists it should be array too... and it should only be changed on a major release.
2024-09-05 02:25:17 +00:00
Roardom
49d4ece261 fix: null coalesce if torrent is missing category/type/resolution
If the torrent does not have an assigned category, type, or resolution, return a null category_id, type_id, and/or resolution_id from the api.
2024-09-05 01:05:46 +00:00
HDVinnie
12f0f225d5 Merge pull request #4135 from HDInnovations/Alpine-Components
(Refactor) Alpine components
2024-09-03 21:38:01 -04:00
HDVinnie
c51a937369 PHP Style Change (Laravel Pint CI) 2024-09-04 01:29:53 +00:00
HDVinnie
6325973fc9 Merge pull request #4134 from Roardom/snoozable-reports
(Add) Option to snooze reports
2024-09-03 12:20:12 -04:00
HDVinnie
a0e95fcd4c PHP Style Change (Laravel Pint CI) 2024-09-03 16:20:04 +00:00