Roardom
88e0c4e1cb
update: use foreign key constraints for forum and topics ids
2023-08-18 05:27:02 +00:00
HDVinnie
98768bf816
Merge pull request #3045 from Roardom/update-middleware-groups
...
(Update) Prevent announce/rss/api from using some middleware
2023-08-09 22:42:25 -04:00
HDVinnie
c85b6bc399
Merge pull request #3044 from Roardom/view-inactive-peers
...
(Update) Allow viewing of user inactive peers
2023-08-09 22:42:11 -04:00
Roardom
f2f6c86a00
update: prevent announce/rss/api from using some middleware
...
The announce, rss and api have no use for HTTP2 server push, nor do they need all the extra web browser headers added.
2023-08-09 08:19:29 +00:00
Roardom
b281d0c168
update: allow viewing of user inactive peers
...
This wasn't intended to filter only active peers, but just be the default in the already available search filter.
2023-08-09 05:26:34 +00:00
HDVinnie
20de6a6dde
Merge pull request #3039 from Roardom/fix-upsert-seedtime
...
(Fix) History upsert seedtime
2023-08-07 20:22:42 -04:00
Roardom
4bf64a9915
fix: history upsert seedtime
...
We need to prevent seedtime from incrementing if the user pauses the torrent and then reannounces before the next announce
2023-08-07 22:32:34 +00:00
HDVinnie
0b8aea4099
Merge pull request #3037 from Roardom/fix-upsert-ordering
...
(Fix) Upsert ordering
2023-08-07 16:01:08 -04:00
HDVinnie
30e94170df
Merge pull request #3036 from Roardom/fix-history-upsert-seedtime
...
(Fix) History upsert seedtime
2023-08-07 16:00:55 -04:00
HDVinnie
eb2f1d494f
Merge pull request #3038 from Roardom/fix-manual-warning-msg
...
(Fix) Manual user warning message
2023-08-07 10:03:28 -04:00
Roardom
39cd3ae1c6
fix: manual user warning message
2023-08-07 08:13:21 +00:00
Roardom
dd7c80012b
fix: upsert ordering
...
We want a queue and not a stack. I.e. first in first out, not first in last out.
2023-08-07 07:52:35 +00:00
HDVinnie
d19a4ddcba
Merge pull request #3033 from Roardom/refactor-request-claims
...
(Update) Swap `username` for `user_id` as request_claims foreign key
2023-08-07 03:31:46 -04:00
Roardom
847491b1d5
fix: history upsert seedtime
...
It turns out Laravel will sort the keys in the upsert array alphabetically. This breaks the logic for seedtime calculation which ensures to only increase the seedtime if the previous announce had a `seeder` value of 1. To fix this, we include the sql code necessary to update the `seeder` column inside the `DB::raw()` statement of the `seedtime` update, to make sure `seeder` is updated after `seedtime`. A hacky solution, but seems to be the best way to go about it for now.
2023-08-07 06:48:40 +00:00
HDVinnie
e89b90cec8
Merge pull request #3027 from Roardom/history-upsert-take-3
...
(Update) Upsert history records take 3
2023-08-06 21:35:28 -04:00
HDVinnie
088f74a912
Merge pull request #3035 from Roardom/security-setting-permissions
...
(Update) Harden user security setting editing
2023-08-06 21:31:15 -04:00
Roardom
0697daf1d6
update: harden user security setting editing
...
Although convenient for staff to be able to edit users of the same rank, this presents a security risk
2023-08-06 23:49:22 +00:00
HDVinnie
da865753c4
Merge pull request #3034 from Roardom/fix-bbcode-preview-height
...
(Fix) Bbcode preview height
2023-08-06 13:42:59 -04:00
HDVinnie
4fccbbe5af
Merge pull request #3032 from Roardom/fix-users-rejecting-request
...
(Fix) Allow users to reject their own requests
2023-08-06 13:41:49 -04:00
HDVinnie
7c2b6774a9
Merge pull request #3031 from Roardom/fix-staff-seeder-leecher-count
...
(Fix) Staff dashboard seeder/leecher count
2023-08-06 13:41:32 -04:00
Roardom
e9040fb935
fix: bbcode preview height
2023-08-06 08:34:51 +00:00
Roardom
a8aa1000ea
update: swap username for user_id as request_claims foreign key
2023-08-06 06:20:29 +00:00
Roardom
f6fb3fdc78
fix: staff dashboard seeder/leecher count
2023-08-06 05:59:49 +00:00
Roardom
0ba4c97553
fix: allow users to reject their own requests
2023-08-06 05:50:26 +00:00
HDVinnie
9e6c31896f
update: phpstan-baseline.neon
2023-08-06 00:44:39 -04:00
HDVinnie
17d2a28263
Merge pull request #3030 from Roardom/add-user-attributes
...
(Update) Use laravel attributes on user model
2023-08-06 00:38:50 -04:00
HDVinnie
7348dee7f4
Merge branch '7.x.x' into add-user-attributes
2023-08-06 00:38:44 -04:00
HDVinnie
a5e2b5a970
Merge pull request #3029 from Roardom/more-larastan
...
(Fix) Some model property types
2023-08-06 00:37:38 -04:00
HDVinnie
1bed777c4a
Merge pull request #3026 from Roardom/fix-torrent-seeder-leecher-count
...
(Fix) Torrent seeder/leecher count
2023-08-06 00:37:21 -04:00
Roardom
450a475593
fix: casts type
2023-08-06 02:21:15 +00:00
Roardom
3af1effaad
fix: fillable type
2023-08-06 02:21:15 +00:00
Roardom
f8ac185deb
fix: guarded type
2023-08-06 02:19:54 +00:00
Roardom
d7cf34b84a
update: use laravel attributes on user model
2023-08-06 02:14:30 +00:00
HDVinnie
b2ad52cd68
fix: application model
2023-08-05 19:20:32 -04:00
Roardom
d8dc3fd766
fix: downloaded announce logic
2023-08-05 05:52:19 +00:00
Roardom
5538be360e
Revert "Revert "update: don't fetch history record before updating it""
...
This reverts commit 0aed738cb7 .
2023-08-05 04:52:02 +00:00
Roardom
a0c2c97d4a
Revert "Revert "fix: ci""
...
This reverts commit e81e2fc336 .
2023-08-05 04:52:01 +00:00
HDVinnie
40e86080c7
update: warning destroy functions
...
- when a warning is soft deleted it should also be marked as inactive. There is no reason to have a soft deleted warning still marked active in DB.
2023-08-04 14:55:36 -04:00
Roardom
62f7bad6dc
fix: torrent seeder/leecher count
2023-08-04 18:46:47 +00:00
HDVinnie
1aee1785b9
Merge pull request #3024 from odrling/typo-warnings
...
(Fix) Typo in user warning messages
2023-08-04 01:53:12 -04:00
odrling
48c9a668bf
fix: typo in user warning messages
2023-08-04 01:45:43 +02:00
HDVinnie
e36dd7a3e3
Merge pull request #3023 from Roardom/remove-redundant-validation
...
(Fix) Double html entity encoding
2023-08-03 19:40:34 -04:00
Roardom
e665471d0b
fix: double html entity encoding
...
Caused by redundant sanitization already present in the Model setter functions.
2023-08-03 20:21:22 +00:00
HDVinnie
8298e3a522
Merge pull request #3022 from Roardom/swal2-position
...
(Fix) swal2 notification covering nav-bar
2023-08-03 14:16:06 -04:00
HDVinnie
57203230ac
Merge pull request #3021 from Roardom/peers-sort-by-desc
...
(Update) Sort peers descending by default
2023-08-03 14:15:49 -04:00
HDVinnie
c498938b84
Merge pull request #3020 from Roardom/add-history-search
...
(Add) Staff history search
2023-08-03 14:15:35 -04:00
HDVinnie
67b33b17cc
Merge pull request #3019 from Roardom/fix-peers-active
...
(Fix) Only use active peers for stats and bon
2023-08-03 14:15:20 -04:00
Roardom
1363964033
fix: swal2 notification covering nav-bar
2023-08-03 17:39:41 +00:00
Roardom
480c31a0a4
update: sort peers descending by default
2023-08-03 12:16:48 +00:00
Roardom
7f2c8a6286
add: staff history search
2023-08-03 12:07:55 +00:00