Commit Graph

2700 Commits

Author SHA1 Message Date
Roardom ef8b23dd7c fix: search by name if argument is supplied in rss search 2024-08-12 12:00:13 +00:00
Roardom dd538f73b0 fix: use the "all" matching strategy in meilisearch
Resembles the sql search better.
2024-08-12 11:58:50 +00:00
Roardom fa35e4e5c0 add: use meilisearch to search torrents 2024-08-06 02:15:25 +00:00
HDVinnie 0ed2a5a055 fix: torrent trump import 2024-08-04 20:12:28 -04:00
HDVinnie 004a719375 Merge pull request #4011 from Roardom/fix-some-user-group-permissions
(Fix) Some user group permissions
2024-08-04 19:46:03 -04:00
HDVinnie 7469a11ea1 add: #4006
- closes #4006
2024-07-28 21:18:09 -04:00
Roardom 2e91e1157f fix: some user group permissions
These permissions were never meant to be directly edited by staff. They should never have been added to the staff user edit page as it just caused confusion when the settings reset at the daily group change. I've now added these settings to the group directly and allow the settings on the user edit page to override the group settings. I refrained from fixing the can_download permission for now, because so many different things affect it and it will need at 3 separate permissions to control everything it does. Trying to fix it will take much more effort than what can be fixed today. Because of this, I removed the setting from the user edit page to reduce confusion from staff who don't realize it is controlled by the scheduler. Relevant issue: #1820.
2024-07-26 22:35:45 +00:00
HDVinnie b0ed0263fb Merge pull request #4009 from Obi-Wana/add-poll-expiry-date 2024-07-24 13:28:10 -04:00
Jay Sizzla 6894cca148 Allow polls to expire after a certain date 2024-07-24 16:23:06 +02:00
Roardom e9fe52ac6d update: use composite primary key for history 2024-07-23 06:24:57 +00:00
Roardom d8f10b40da fix: small bookmark button again again
Goodbye livewire. Livewire's diffing algorithm kept messing up this livewire component.
2024-07-22 05:02:17 +00:00
Roardom 340122755c update: sort pinned topics by priority
resolves #3989
2024-07-19 16:56:54 +00:00
HDVinnie fd5ec29e6f Merge pull request #3983 from Roardom/peers-composite-primary-key
(Update) Use composite primary key for peers
2024-07-17 02:43:04 -04:00
Roardom 10fc1b2368 update: use composite primary key for peers
The same as was done in #2446 and reverted in ace8dcb but this time using workarounds for Eloquent when it tries to use the non-existing `id` column.
2024-07-16 09:45:03 +00:00
Roardom 4b3b864fa4 refactor: use DTO to modularize torrent searching 2024-07-12 14:40:27 +00: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 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
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 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 11257ae7a0 fix: mark staff report replies as read automatically 2024-07-02 21:14:03 +00: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
Roardom 6d729fee16 fix: consistently upsert user into external announce on group change 2024-06-24 02:50:33 +00:00
HDVinnie 9182121ce7 Merge pull request #3937 from HDInnovations/PHPStan-Errors
(Fix) PHPStan Errors
2024-06-23 13:25:06 -04:00
HDVinnie 9cbeb30ad1 revert: chat changes 2024-06-23 13:05:24 -04:00
HDVinnie 9a9318e8f5 update: rss controller
- fixes multiple Cannot access property on bool | stdClass
2024-06-21 13:58:50 -04:00
HDVinnie 45a992ee05 Merge pull request #3936 from Roardom/uploader-precedence
(Update) Reduce interval for unapproved torrents
2024-06-21 11:40:45 -04:00
HDVinnie 1a934c2912 fix: phpstan errors 2024-06-21 11:39:48 -04:00
HDVinnie eddad86406 fix: phpstan errors
- this commit tackles more phpstan errors from the baseline.
- the 2024_06_19_210338_update_colum_types.php migration will have more added to it. This PR is draft until more baaseline errors are closed.
2024-06-19 21:19:02 -04:00
HDVinnie c4cd52e23b fix: multiple bugs
- adds laravel 11 casts support to phpstan https://github.com/larastan/larastan/blob/2.x/UPGRADE.md#upgrading-to-296-from-295
- fixes multiple bugs found by phpstan
- removes dead code in torrent filter trait
- ignores three new files in phpstan.neon temp until debugged for timeouts
2024-06-19 13:43:59 -04:00
Roardom 947c4dec4f update: reduce interval for unapproved torrents
This way when the torrent is approved, the uploader has more of a chance of seeding right away without being on the cooldown.
2024-06-19 10:54:57 +00:00
Roardom c33376608b fix: properly remove receiver_id column from private_messages 2024-06-19 09:41:05 +00:00
Roardom dd273f0398 fix: don't mark sent pms as unread for sender 2024-06-19 09:37:13 +00:00
Roardom 8b9b038701 fix: conversation creation
Should use `sender_id`, not `user_id`. Also need to create conversations for all non-system pms.
2024-06-15 01:55:03 +00:00
HDVinnie 2378a9f977 add: soft deletes to torrents
- this adds laravel's soft deletes functionality to torrents.
2024-06-13 20:58:19 -04:00
Roardom 2f48eba1be fix: chatroom deletion only comparing name
Also remove the chat repository usage as it's unneeded and will be removed completely soon.
2024-06-09 05:57:37 +00:00
HDVinnie 157b0133dd Merge pull request #3914 from Roardom/application-form-refactor 2024-06-07 20:56:35 -04:00
Roardom 0cb58d4211 refactor: use form request for storing application 2024-06-08 00:48:32 +00:00
Roardom cdb063d8e0 add: private message threads 2024-06-07 20:47:36 +00:00
Roardom 0e0fc3524f refactor: modularize system notifications and prevent replies 2024-06-07 14:08:23 +00:00
Roardom 7027c4a2c5 fix: use setAttribute() to set custom model propeties 2024-06-05 11:23:59 +00:00
Roardom c6de2ec0b7 fix: similar torrent showing torrents where no meta exists 2024-06-04 10:48:03 +00:00
Roardom 80b9aa32bf add: livewire top users
More cleanly modularized using livewire computed attributes. Abuses the fact that only one of the tabs is selected and most users won't access the other tabs. This significantly reduces the time spent loading the home page when the cache is cleared.
2024-06-01 15:47:26 +00:00
HDVinnie 96a0b65618 Merge pull request #3885 from Roardom/settings-form-requests
(Refactor) Clean up user settings controllers
2024-05-30 23:56:39 -04:00
Roardom 46240da36f refactor: clean up user settings controllers
Use form requests
2024-05-29 10:40:15 +00:00
Roardom 2117a4fcd1 fix: unexpected incrementEach effects
see https://github.com/laravel/framework/issues/49009
2024-05-28 03:33:01 +00:00