HDVinnie
784e783af7
update: AuditController
2024-08-15 15:52:18 -04:00
HDVinnie
66b82e6ae1
add: staff audit activity
2024-08-13 20:57:06 -04:00
Roardom
e02d25875b
fix: various invite tree fixes
...
Average seedtime is now average and not total. Swap tree stats of seedsize vs seedtime. Use correct user for last action. Filter out infinite ratios.
2024-08-12 05:19:03 +00:00
HDVinnie
1293086d27
Merge pull request #4042 from Roardom/invite-tree
...
(Add) Invite tree user page
2024-08-11 17:42:32 -04:00
Roardom
66f7dc08f0
add: invite tree user page
2024-08-11 17:27:00 +00:00
Roardom
f5195a000c
update: lazy load stats index
2024-08-11 05:29:57 +00:00
HDVinnie
e736d2973f
Merge pull request #4034 from Roardom/refactor-upserts
2024-08-10 13:11:47 -04:00
HDVinnie
8450f4d49d
Merge pull request #4033 from Roardom/peer-stats
2024-08-10 13:11:24 -04:00
Roardom
ee55abcd3b
refactor: use relational upserts
...
New feature added to laravel 11.18-11.19 that results in cleaner code.
2024-08-10 09:43:58 +00:00
Roardom
8f65d5095e
update: improve client stats
...
Group client versions by their respective client, count number of peers per client, and link to peer search for staff.
2024-08-10 07:11:32 +00:00
Roardom
73da1a1eb3
add: types to chat repository
...
Just absolute minimal changes for now to prevent breakage as much as possible.
2024-08-10 03:15:36 +00:00
HDVinnie
0b23f629af
Merge pull request #4031 from Roardom/fix-larastan-relations
2024-08-09 23:07:04 -04:00
Roardom
64a60089d9
refactor: treat sprintf as native function
...
This breaks the pint CI currently. This is probably due to the next version of php (8.4) adding opcache optimizations to sprintf and our config requiring pre-slashing native functions.
2024-08-09 21:08:26 +00:00
Roardom
d4b05d3961
fix: don't save non-existant can_download state
...
This value isn't sent in the form and shouldn't be here.
2024-08-06 01:40:57 +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