Commit Graph

146 Commits

Author SHA1 Message Date
Roardom
f2066f4441 fix: add type hints to models 2023-08-26 07:43:07 +00:00
Roardom
69d4ecdecb fix: user hidden being overridden by base model 2023-08-25 09:13:57 +00:00
Roardom
8127734979 fix: various larastan command issues 2023-08-25 07:58:38 +00:00
Roardom
6e6f551367 fix: various larastan livewire issues 2023-08-25 06:45:41 +00:00
Roardom
435dab893e add: user application to their profile 2023-08-23 09:57:28 +00:00
HDVinnie
104835c05e fix: user model 2023-08-21 12:54:31 -04:00
HDVinnie
0a735819aa fix: larastan 2023-08-17 22:44:42 -04:00
HDVinnie
7348dee7f4 Merge branch '7.x.x' into add-user-attributes 2023-08-06 00:38:44 -04:00
Roardom
450a475593 fix: casts type 2023-08-06 02:21:15 +00:00
Roardom
d7cf34b84a update: use laravel attributes on user model 2023-08-06 02:14:30 +00:00
Roardom
2392da1310 Revert "fix: laravel default job model serialization"
This reverts commit 55d03d3819.
2023-07-28 05:20:33 +00:00
HDVinnie
122d67e781 Merge pull request #2967 from Roardom/fix-announce-model-serialization
(Fix) laravel default job model serialization
2023-07-27 10:22:29 -04:00
Roardom
da7571859f fix: ci 2023-07-27 04:45:41 +00:00
Roardom
55d03d3819 fix: laravel default job model serialization
laravel by default automatically serializes models in a custom way when inserted into a job queue and fetches the model from the database again when the job is ran. We would rather not have these extra queries, so we can't pass in models, or data that is already serialized (as laravel will try to deserailize our serialization too and fail), so we opted for arrays, and filling in the properties into a new model again once the job is handled.
2023-07-27 03:11:04 +00:00
Roardom
9c0c474a9a refactor: rename graveyard to resurrections
Make everything consistent with the "plural noun" style
2023-07-24 01:07:35 +00:00
Roardom
229eed8091 refactor: use _id suffix on bon_transactions foreign keys 2023-07-22 21:30:50 +00:00
Roardom
d0272652dd fix: invite relations in route model binding 2023-07-19 08:25:28 +00:00
Roardom
649d6a3573 refactor: cruddify user pms
Also use route model binding.
2023-07-07 00:28:47 +00:00
Roardom
c5bbe7cc34 refactor: user seedboxes
Use route model binding. Use mass assignment. Use relations.
2023-07-07 00:28:47 +00:00
Roardom
6835ed5f8c refactor: tips
Use route model binding. Use mass assignment. Use relations.
2023-07-07 00:28:47 +00:00
Roardom
5619a3c878 refactor: gifts
Use route model binding, adjust the form names to the same as the table columns, replace queries with relations, use mass assignment
2023-07-07 00:28:47 +00:00
Roardom
196e09eac6 add: mass assignment to staff user controller 2023-07-07 00:27:19 +00:00
Roardom
9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00:00
Roardom
4bba4e37c7 add: upload snatches statistic 2023-06-17 09:22:47 +00:00
HDVinnie
e75eb2dd71 update: user model 2023-05-23 18:45:52 -04:00
Roardom
8824abd9d5 update: forums 2023-05-08 01:30:43 +00:00
Roardom
b4e8a29e52 fix: profile stats 2023-04-28 00:38:31 +00:00
Roardom
6e64801e88 update: user profile views 2023-04-27 12:00:49 +00:00
Roardom
470ad6b978 add: connectable torrents relation 2023-03-20 01:12:43 -05:00
Roardom
dc4a161fc0 optimize: torrents list
Eager load the bookmarks and fl tokens
2023-02-15 06:04:01 -06:00
Roardom
d97ab002f2 remove: redundant bbcode converter 2023-02-07 23:51:10 -06:00
HDVinnie
f4ebee885c update: lint 2023-02-03 22:23:00 -05:00
HDVinnie
3650900c97 update: lint
- not_operator_with_space to false
2023-02-03 16:01:29 -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
ce5b7b720b fix: user privacy isAllowed() 2023-02-01 18:28:48 -06:00
HDVinnie
9f7ff35e07 PSR12 Linting 2023-01-08 21:11:15 +00:00
Roardom
99b7bcc6f2 refactor: move staff user request to form request 2023-01-08 05:05:58 -06:00
HDVinnie
1dd60acb6d PSR12 Linting 2023-01-07 04:44:46 +00:00
Roardom
54220dcfc8 remove: slugs 2023-01-06 16:05:53 -06: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
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
Roardom
a78ac29132 update: user followers 2022-12-28 16:26:26 -06:00
HDVinnie
39fe14a7a5 fix: user model typo 2022-11-13 09:59:24 -05:00
Roardom
3e55b0cab9 fix: seeding/leeching count 2022-11-13 00:12:53 -06:00
HDVinnie
21674f186c Merge branch '6.x.x' into simplify-user-model 2022-09-20 00:07:34 -04:00
HDVinnie
2ca429c4ce Revert "PSR12 Linting"
This reverts commit 7e65e1d589.
2022-09-11 19:51:58 -04:00
HDVinnie
7e65e1d589 PSR12 Linting 2022-09-11 23:50:41 +00:00
Roardom
f1d5821196 add: connectable seedsize attribute 2022-08-28 05:46:51 -05:00