Commit Graph

134 Commits

Author SHA1 Message Date
Roardom
6bcdb71bde fix: group order in various locations 2024-02-01 12:27:50 +00:00
HDVinnie
aa9a1be77d PHP Style Change (Laravel Pint CI) 2024-01-07 19:36:27 +00:00
HDVinnie
f3015b50b1 Merge pull request #3355 from HDInnovations/User-Deletes
(Fix) User Deletes
2024-01-07 14:35:37 -05:00
HDVinnie
0acb5d30ac update: UserController.php 2024-01-07 14:32:19 -05:00
HDVinnie
aa3dc8ed18 refactor: enums 2024-01-04 03:26:10 -05:00
HDVinnie
46b60bd434 fix: user soft deleting
- adds missing relation
- syncs AutoSoftDeleteDisabledUsers and destroy function in staff user controller
2024-01-04 02:15:00 -05:00
HDVinnie
3f03214e39 PHP Style Change (Laravel Pint CI) 2023-11-07 23:54:38 +00:00
HDVinnie
834f7f4d7a update: UserGroups ENUM 2023-10-31 06:47:08 -04:00
milkers69
797395ac87 Allow Admins to Edit Any Profile 2023-09-12 21:38:57 -05:00
Roardom
0697daf1d6 update: harden user security setting editing
Although convenient for staff to be able to edit users of the same rank, this presents a security risk
2023-08-06 23:49:22 +00:00
Roardom
741adef615 add: moderation scopes 2023-07-10 04:20:40 +00:00
Roardom
a3394cd2a7 fix: only show groups permitted by the user's rank 2023-07-07 17:52:36 +00:00
Roardom
7b312d219a refactor: use route model binding for staff users 2023-07-07 03:18:13 +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
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
738bc7f2d1 refactor: single line delete queries 2023-07-07 00:26:17 +00:00
Jay
83faa9517f Add enum import 2023-06-24 17:36:51 +02:00
HDVinnie
57425d7e77 Merge pull request #2848 from Obi-Wana/fork/user-deletion
(Fix) Set group, active, deleted_at, deleted_by when deleting a user
2023-06-23 02:51:11 -04:00
Jay Sizzla
e32c116420 Set group,active,deleted_at,deleted_by when deleting a user 2023-06-22 21:30:19 +02: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
588a628e2a Merge pull request #2663 from Roardom/update-user-profile 2023-04-27 12:16:56 -04:00
Roardom
6e64801e88 update: user profile views 2023-04-27 12:00:49 +00:00
Roardom
f12ccff393 fix: don't delete notes from soft deleted users 2023-04-25 21:01:40 +00:00
Roardom
05ad4c37b9 add: external tracker support 2023-03-27 04:17:30 -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
99b7bcc6f2 refactor: move staff user request to form request 2023-01-08 05:05:58 -06:00
Roardom
47f64e47da update: cache freeleech tokens 2023-01-04 23:10:03 -06:00
Roardom
985423e267 update: announce 2023-01-04 05:46:02 -06:00
Roardom
a78ac29132 update: user followers 2022-12-28 16:26:26 -06: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
StyleCI Bot
e292545306 Apply fixes from StyleCI 2022-05-31 22:06:07 +00:00
Shift
be2d37ed6e Use Illuminate\Support\Carbon 2022-05-31 22:05:34 +00:00
HDVinnie
8e8758674b fix: #2163
- closes #2163
2022-03-15 07:20:56 -04:00
HDVinnie
594b7864d9 refactor: adopt new helpers in laravel 9 2022-03-06 17:20:05 -05:00
StyleCI Bot
51de6077db Apply fixes from StyleCI 2022-02-04 02:29:17 +00:00
HDVinnie
ecaded51a8 Merge pull request #2099 from innocente205/patch-1
(Update) UserController
2022-02-03 21:29:11 -05:00
innocente205
6593be1680 Update UserController.php
Remove history records before deleting user.
2022-02-04 09:03:52 +07:00
HDVinnie
ff629faaec Merge pull request #2096 from innocente205/patch-1
(Fix) Freeleech Tokens
2022-02-03 03:02:08 -05:00
HDVinnie
e5b4521334 chore: lint 2022-02-03 03:01:14 -05:00
HDVinnie
147c495f9c update: user controller
- add import
2022-02-03 03:00:08 -05:00
HDVinnie
2f7792f257 update: user controller 2022-02-03 02:55:38 -05:00
HDVinnie
a2cdb5f5ff update: type hints 2022-01-08 14:37:50 -05:00
HDVinnie
77ec35bea5 chore: apply the laravel code style linter 2022-01-08 00:03:12 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
Alkl58
1539a1e4a7 Apply fixes from StyleCI 2021-11-28 14:39:48 +01:00