12 Commits

Author SHA1 Message Date
Roardom
d922562f86 update: make bonus point allocation more customizable 2025-01-16 21:40:25 +00:00
Roardom
7af1a9963c refactor: don't call ->toDateTimeString() on carbon instances
Eloquent already does this for us automatically by calling __toString() on Carbon instances with the default format being the same as the mysql timestamp format.
2024-08-17 09:20:08 +00:00
HDVinnie
d3c2779ed0 Merge pull request #3862 from Roardom/fix-duplicate-bon
(Fix) User bon earning calculation
2024-05-26 15:12:46 -04:00
Roardom
38edbbc613 fix: user bon earning calculation
Take 2 at #3281

fixes #3726
2024-05-24 09:47:04 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +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