Commit Graph

22 Commits

Author SHA1 Message Date
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
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
Roardom
0e0fc3524f refactor: modularize system notifications and prevent replies 2024-06-07 14:08:23 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
98c32a38f3 update: remove request bon transactions
This data is already stored in the requests and bounty tables. At this point, the name and comment fields are duplicates of each other and don't need to both be kept.
2024-02-26 09:33:33 +00:00
Roardom
725a8df689 Revert "fix: TransactionController"
This reverts commit 6e4e9a2767.

Even though this data is wrong, this data is relied upon in other places and has to be migrated.
2024-02-23 16:23:48 +00:00
HDVinnie
6e4e9a2767 fix: TransactionController 2024-02-21 18:41:51 -05:00
Roardom
0ef7cc235a fix: phpstan level 7 controller errors 2024-01-07 17:13:20 +00:00
Roardom
d7cf34b84a update: use laravel attributes on user model 2023-08-06 02:14:30 +00:00
Roardom
bb5255d968 Revert "update: cache personal freeleech existence instead of its value"
This reverts commit b48a9222d1.
2023-07-28 06:08:55 +00:00
Roardom
b48a9222d1 update: cache personal freeleech existence instead of its value
We only cache it if it exists, so let's not query it every single time it doesn't exist.
We don't remove it from the hourly run command yet so that currently existing freeleeches can be deleted.
2023-07-25 22:48:56 +00:00
Roardom
995677bb4a fix: wrap bon store purchases within a transaction 2023-07-23 22:19:35 +00:00
Roardom
229eed8091 refactor: use _id suffix on bon_transactions foreign keys 2023-07-22 21:30:50 +00:00
Roardom
176d401c85 refactor: user transactions
Use route model binding. Use mass assignment. Remove dead code. 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
Roardom
9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00:00
Roardom
d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25:40 +00:00
Roardom
05ad4c37b9 add: external tracker support 2023-03-27 04:17:30 -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
HDVinnie
85ab302611 update: announce 2023-01-23 21:31:51 -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