Commit Graph

11651 Commits

Author SHA1 Message Date
Roardom 4b3b864fa4 refactor: use DTO to modularize torrent searching 2024-07-12 14:40:27 +00:00
HDVinnie 86d0c326f4 Merge pull request #3974 from HDInnovations/Request-Search-Cache
(Refactor) Move request search facet queries to computed properties
2024-07-09 02:09:41 -04:00
HDVinnie 236c4ec776 Merge pull request #3967 from Roardom/torrent-search-cache
(Refactor) Move torrent search facet queries to computed properties
2024-07-09 02:09:24 -04:00
HDVinnie a1592b2841 fix: phpstan errors 2024-07-09 01:56:45 -04:00
Roardom 9cbfe6c315 refactor: move torrent search facet queries to computed properties 2024-07-09 05:19:44 +00:00
HDVinnie 24e0ee1e6b Merge pull request #3968 from Roardom/cache-user-relations
(Fix) Cache null values for user settings/notifications/privacy relations
2024-07-08 20:53:52 -04:00
HDVinnie 130aca4ca1 refactor: move request search facet queries to computed properties
- continues off PR #3967
2024-07-08 20:53:15 -04:00
HDVinnie ab7efdd361 Merge pull request #3966 from Roardom/conversation-sort
(Update) Sort conversations by most recently updated
2024-07-08 19:50:06 -04:00
HDVinnie 1ad3e82d9b Merge pull request #3972 from HDInnovations/Uploader-Stats
(Update) Uploader Stats
2024-07-08 19:47:10 -04:00
HDVinnie bcb2cbcc35 update: internal controller 2024-07-08 19:46:46 -04:00
HDVinnie 3e5471924f update: uploader controller 2024-07-08 19:43:45 -04:00
HDVinnie 42407e085a Merge pull request #3971 from HDInnovations/Active-Inactive-Internals
(Add) Internals Stats
2024-07-08 19:39:20 -04:00
HDVinnie 622d2cebbf update: uploader stats
- recent PR #3824
- route name and prefix should be plural
- a site may have many is_uploader groups so lets use whereIntegerInRaw and orderBY group_id
2024-07-08 00:14:54 -04:00
HDVinnie 16e6ef4fb5 add: internal stats 2024-07-08 00:08:28 -04:00
Roardom 62799be78a fix: cache null values for user settings/notifications/privacy relations 2024-07-06 07:49:47 +00:00
Roardom 947bd45955 update: sort conversations by most recently updated 2024-07-06 05:59:42 +00:00
HDVinnie 1c57301562 Merge pull request #3965 from Roardom/fix-prewarn
(Fix) Sorting by prewarned_at on user torrent history
2024-07-06 00:37:02 -04:00
Roardom b2a664806f fix: sorting by prewarned_at on user torrent history 2024-07-04 05:51:49 +00:00
HDVinnie 19b172f397 update: transaction controller
- Like the logic for sending invites. If invites are in restricted mode, dont allow a non whitelisted group to buy invites from the store.
2024-07-03 21:31:52 -04:00
HDVinnie a590766ac1 Merge pull request #3961 from Roardom/safer-whitelisted-urls
(Update) don't match `.` with `*` using whitelisted image domain syntax
2024-07-03 21:26:23 -04:00
HDVinnie 76b50f05f0 Merge pull request #3962 from Roardom/faster-quick-search
(Update) Make quick search faster
2024-07-03 21:26:11 -04:00
HDVinnie 2ab4cb977c Merge pull request #3960 from Roardom/fix-comparison-double-html-encoding
(Fix) Double url encoding in bbcode comparison
2024-07-03 21:25:44 -04:00
HDVinnie a1b97c8364 Merge pull request #3959 from Roardom/fix-new-request-bounty-notification
(Fix) `bounty->request` relationship
2024-07-03 21:25:27 -04:00
HDVinnie 29e0678983 Merge pull request #3958 from Roardom/fix-playlist-filter
(Fix) Torrent search playlist filter
2024-07-03 11:40:16 -04:00
HDVinnie 516895097b Merge pull request #3957 from Roardom/fix-report-staff-read
(Fix) Mark staff report replies as read automatically
2024-07-03 11:39:48 -04:00
Jay 2ac770746a (Add) Active and inactive uploader staff view (#3824)
Co-authored-by: HDVinnie <hdinnovations@protonmail.com>
2024-07-03 11:38:11 -04:00
Roardom 9c920440b5 update: make quick search faster
Reduce the debounce time when searching. Cache the results for the first 3 characters typed (searches with few characters seem to take mysql longer compared to searches with more characters).
2024-07-03 11:35:15 +00:00
Roardom b73f1d5a6f update: don't match . with * using whitelisted image domain syntax
It's too easy for sysops to add `https://*imgur.com/**` instead of properly adding `https://*.imgur.com/**` or even better, `https://i.imgur.com/**`. This makes it easier to spot errors in the syntax errored since the intended whitelisted domain won't work. Add some more documentation to encourage safe practices and add example evil URLs that are permitted by the bypass for visual feedback of what is allowed.
2024-07-03 06:35:35 +00:00
Roardom e5bcf106d9 fix: double url encoding in bbcode comparison
The url is already sanitized and ran through `htmlspecialchars` at the end of the `sanitizeUrl` function. When using `{{ }}`, laravel runs the url through `htmlspecialchars` a second time, which breaks the url. Since the url is already properly sanitized, we can safely display the data without escaping in blade a second time.
2024-07-03 05:19:48 +00:00
Roardom 44240d81fb fix: bounty->request relationship
The foreign key isn't the standard name, so we have to customize it, otherwise our relations return `null`.
2024-07-02 21:57:57 +00:00
Roardom fdf272122c fix: torrent search playlist filter
We need to filter the given columns on the `playlists` table, not the `playlist_torrent` table.
2024-07-02 21:42:49 +00:00
Roardom 11257ae7a0 fix: mark staff report replies as read automatically 2024-07-02 21:14:03 +00:00
HDVinnie ddea582f1f Merge pull request #3956 from Roardom/fix-system-messages
(Fix) Send system messages from system instead of user
2024-07-02 17:13:18 -04:00
HDVinnie 4094572c46 (Add) Request #3646 (#3954) 2024-07-02 17:12:22 -04:00
Roardom 8c08356fe1 fix: send system messages from system instead of user 2024-07-02 21:08:54 +00:00
HDVinnie 8723e234f5 Merge pull request #3955 from MiM-MiM/moderation_message
(Update) Moderation Private Message
2024-07-02 00:28:25 -04:00
MiM-MiM af3c6e4ed3 Update: Moderation comment
- Removed app.url handled by bbcode parser.
- Changed to single quote strings for parts without escape characters (newlines).
2024-07-01 16:11:03 -04:00
MiM-MiM 1dce66e5d9 Update: Moderation Private Message
- Fix: Spacing typo.
- Fix: Set sender as read=true.
- Update: Add the URL to the message.
- Update: Add a quote tag around the staff message.
2024-07-01 12:03:03 -04:00
HDVinnie 2c0a4794cc Merge pull request #3952 from costaht/master
(FIX) Appending missing colon to the function privmsg
2024-06-29 23:35:51 -04:00
costaht 05759e98c1 Appending colon to the function privmsg instead of the body message 2024-06-27 13:52:41 -03:00
costaht a8e1167c1e Removing delimiter from the message body 2024-06-27 13:51:35 -03:00
HDVinnie 7f39756dbb Merge pull request #3951 from Roardom/mail-limiter
(Add) Outbound mail rate limiter
2024-06-27 11:31:25 -04:00
Roardom a7159d7c9f add: outbound mail rate limiter 2024-06-27 09:02:47 +00:00
Roardom fd270524d7 remove: unused activation mails
Dead code.
2024-06-27 07:55:29 +00:00
HDVinnie 109991a4b4 Merge pull request #3949 from Roardom/fix-docker-compose
(Fix) Remove version from `docker-compose.yml`
2024-06-26 20:47:40 -04:00
HDVinnie 188bff1ee2 Merge pull request #3948 from Roardom/fix-comments
(Fix) Comments disappear after replying
2024-06-26 20:47:20 -04:00
HDVinnie 60ba6a3270 Merge pull request #3947 from Roardom/topnav-dropdown-downloads
(Add) My downloads menu item to top nav dropdown
2024-06-26 20:46:47 -04:00
HDVinnie 3214000ca7 Merge pull request #3950 from costaht/master
(Fix) IRC Bot PRIVMSG prefix missing
2024-06-26 19:47:17 -04:00
costaht d726969b47 PRIVMSG prefix missing
Formatting in accordance with RFC 1459
2024-06-26 20:24:41 -03:00
Roardom ca67cd9e94 fix: remove version from docker-compose.yml
This key is deprecated and no longer means anything. Fixes the following deprecation warning when running sail commands:

```
WARN[0000] /[...]/UNIT3D-Community-Edition/docker-compose.yml: `version` is obsolete
```
2024-06-26 08:01:05 +00:00