Commit Graph

9 Commits

Author SHA1 Message Date
HDVinnie
ec950fbf84 Revert "Merge pull request #3281 from Roardom/fix-user-earnings"
This reverts commit 3a14d187a9, reversing
changes made to d6ee5e0f0b.
2023-12-10 10:19:52 -05:00
Roardom
57a4e09dfe fix: user bon earnings calculation
The hourly bon allocation cron job does not multiply the bon by how many peers a user has on a torrent, but the user earnings page did not reflect this.
2023-11-30 07:45:58 +00:00
Roardom
d7cf34b84a update: use laravel attributes on user model 2023-08-06 02:14:30 +00:00
Roardom
1bc31fda9d fix: only use active peers for stats and bon 2023-08-03 07:28:16 +00:00
Roardom
d0d5fdbc1d refactor: user earnings
Use route model binding. Reduce temporary variables. Fix table styles.
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
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
7cb2c04be6 refactor: user views 2022-12-24 19:26:46 -06:00
Roardom
d1173f4c90 refactor: user controllers 2022-12-24 19:26:46 -06:00