Commit Graph

58 Commits

Author SHA1 Message Date
HDVinnie
428bf63910 add: base donation system 2024-09-12 13:03:38 -04:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
f653641e2b fix: connectivity check on external tracker
The external tracker updates the peer row and doesn't touch the redis cache.
2024-04-19 14:32:43 +00:00
Roardom
e3234da27f fix: viewing stats from external tracker
Some incorrect logic here that was never properly tested
2024-04-19 09:38:26 +00:00
Roardom
550d35a178 update: add more descriptive error message for gif ratio requirements 2024-03-06 22:43:12 +00:00
Roardom
0ef7cc235a fix: phpstan level 7 controller errors 2024-01-07 17:13:20 +00:00
Roardom
350a4aa069 add: show information in external tracker 2023-12-07 03:31:48 +00:00
HDVinnie
3f03214e39 PHP Style Change (Laravel Pint CI) 2023-11-07 23:54:38 +00:00
ReileenKawahara
76a6bd5a39 fix: operand 2023-09-02 13:03:49 +02:00
HDVinnie
769fb6213f fix: lint 2023-09-02 00:35:23 -04:00
Reileen Kawahara
056e163af5 fix: avatar remove old 2023-09-01 11:22:10 -07:00
Roardom
435dab893e add: user application to their profile 2023-08-23 09:57:28 +00:00
HDVinnie
f776991059 Merge pull request #2975 from Roardom/update-history-upserts
(Update) Don't fetch history record before updating it
2023-07-31 21:48:43 -04:00
Jay Sizzla
9fab0e8fdb (Add) Validation of user title, about and signature length 2023-07-30 12:08:52 +02:00
Roardom
c554e29abe update: keep peers that stopped announcing for longer
Now that we upsert history records without first selecting them, we can't rely on storing a peer's last uploaded/downloaded values in the history record to determine the user's uploaded/downloaded delta between the last announce. If a user has internet issues for a brief period of time but their client continues working, then their change of upload/download between the two announces needs to be kept track of. This is usually kept track of in the peer record, but if the peer is deleted after 2 hours of not announcing, then their last uploaded/downloaded data is deleted with it. We previously stored this data in the history table to handle such cases but this became erroneous if the user had multiple peers on a torrent. This new solution keeps the peers in the database for 2 days before concluding that the peer isn't coming back and deletes the peer permanently. After which point, a new peer will be created and an assumption is made that they uploaded/downloaded 0 data within their downtime.
2023-07-29 05:12:35 +00:00
Roardom
229eed8091 refactor: use _id suffix on bon_transactions foreign keys 2023-07-22 21:30:50 +00:00
Roardom
a7c38c0590 add: user tickets to profile 2023-07-19 22:40:39 +00:00
Roardom
3b46c7819b refactor: use route model binding for user routes 2023-07-07 00:28:47 +00:00
Roardom
aef482682b refactor: swap comparing ids to is() and isNot 2023-07-07 00:28:47 +00:00
Roardom
9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00:00
HDVinnie
6d85c0f572 update: user warnings
- bump pagination to 10
- The warnings panel is now split by warning types. Automated (Torrents), Manual (Staff) and Soft Deleted (whether manual or automated). The counts in tabs are total whether active or not. The Active warning count and total hit run count are in top right of profile.
2023-07-04 13:33:28 -04:00
HDVinnie
a9de25e9dd fix: multiple bugs 2023-06-27 07:44:48 -04:00
Roardom
d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25:40 +00:00
Roardom
177c59d88d refactor: swap firstOrFail() for sole() to enforce a single result 2023-06-19 23:18:40 +00:00
HDVinnie
4aa67fe22a Merge branch '7.x.x' into Refund-System 2023-05-20 11:06:12 -04:00
HDVinnie
3f7fe9ab5f PHP Style Change (Laravel Pint CI) 2023-05-01 00:46:36 +00:00
HDVinnie
63a31f9eca fix: profile warnings 2023-04-30 20:44:30 -04:00
Roardom
6e64801e88 update: user profile views 2023-04-27 12:00:49 +00:00
Roardom
2ea2fbb5ab update: cruddify user security 2023-04-11 15:58:54 +00:00
Roardom
05ad4c37b9 add: external tracker support 2023-03-27 04:17:30 -05:00
HDVinnie
3ea06a0a6d Merge branch '6.x.x' into Refund-System 2023-02-07 08:44:57 -05:00
HDVinnie
f4ebee885c update: lint 2023-02-03 22:23:00 -05:00
HDVinnie
472c820f99 update: UNIT3D linting
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
Roardom
6a3de62bdb fix: started and last update in user profile clients 2023-01-31 00:02:03 -06:00
Roardom
985423e267 update: announce 2023-01-04 05:46:02 -06:00
HDVinnie
5cef6484d1 PSR12 Linting 2023-01-01 16:26:37 +00:00
HDVinnie
fc2c3bd1b6 Merge pull request #2517 from Roardom/update-user-general-settings
(Update) User general settings
2023-01-01 11:25:52 -05:00
HDVinnie
27f5e66e31 Merge branch '6.x.x' into pr/2517 2023-01-01 11:22:45 -05:00
HDVinnie
82e9877677 PSR12 Linting 2023-01-01 16:13:35 +00:00
HDVinnie
86dae9fe58 Merge branch '6.x.x' into update-user-privacy 2023-01-01 10:48:48 -05:00
HDVinnie
79482e120d PSR12 Linting 2023-01-01 15:35:37 +00:00
Roardom
fb7f5f6c33 update: user general settings 2022-12-31 23:41:10 -06:00
Roardom
35c69b8f2f update: user privacy settings 2022-12-31 23:29:15 -06:00
Roardom
764952a3fe update: user notifications 2022-12-31 23:21:34 -06:00
HDVinnie
fbc0c994e8 PSR12 Linting 2022-12-29 02:55:17 +00:00
Roardom
a78ac29132 update: user followers 2022-12-28 16:26:26 -06:00
HDVinnie
05bccf43f8 Merge branch '6.x.x' into Refund-System 2022-12-27 19:34:32 -05:00
HDVinnie
552984e884 PSR12 Linting 2022-12-27 00:42:43 +00:00
Roardom
7891b07b89 update: livewire user resurrections 2022-12-26 18:32:52 -06:00
HDVinnie
1682603fac PSR12 Linting 2022-12-26 20:33:17 +00:00