Commit Graph

34 Commits

Author SHA1 Message Date
Roardom
868ad35aa4 refactor: swap magic RedirectResponse withX('Y') to with('X', 'Y')
Allows ctrl+clicking to access the underlying function unlike the previous magic implementation. Probably also negligibly faster.

Swapped all instances of `>withSuccess(` -> `>with('success', `, `>withWarning(` -> `>with('warning', `, and `>withInfo(` -> `>with('info', ` with ide's find and replace.
2025-01-21 16:05:11 +00:00
HDVinnie
ea448effa6 add: editors to audit stats 2024-10-21 15:54:41 -04:00
Roardom
3878bb85d7 update: add indexes to audits to speed up staff activity counts
Speeds up the queries from 1.1 s to 75 ms.
2024-09-27 07:39:25 +00:00
Roardom
a0299daa16 refactor: use eloquent relations directly 2024-08-18 03:26:41 +00:00
HDVinnie
784e783af7 update: AuditController 2024-08-15 15:52:18 -04:00
HDVinnie
66b82e6ae1 add: staff audit activity 2024-08-13 20:57:06 -04:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
5decda2af4 refactor: use route model binding for staff audits 2023-07-07 00:28:47 +00:00
HDVinnie
584c6db265 add: audit log searching 2023-05-22 19:52:12 -04:00
HDVinnie
f4ebee885c update: lint 2023-02-03 22:23:00 -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
0b334015a3 PSR12 Linting 2023-01-06 03:29:00 +00:00
Roardom
694e6f85ff refactor: move middleware checking from controllers to routes 2023-01-05 21:04:37 -06:00
innocente205
0cd639b8ca (Update) Audit index and controller (#2159) 2022-03-13 14:58:53 -04:00
HDVinnie
594b7864d9 refactor: adopt new helpers in laravel 9 2022-03-06 17:20:05 -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
clandestine8
a737482e79 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
321847e067 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-05-16 02:41:53 +00:00
HDVinnie
3407075214 refactor: better php8 usage
- Change simple property init and assign to constructor promotion
- Remove unused variable in catch()
- Change docs types to union types, where possible
2021-05-15 22:41:28 -04:00
HDVinnie
5aac6a8f04 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-07-22 20:57:33 +00:00
HDVinnie
0733269867 update: phpdoc blocks 2020-07-22 16:57:13 -04:00
HDVinnie
a975116218 refactor: preslash simple functions
- Add pre-slash to short named functions to improve performance by almost 30%
-  @see https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule
2020-07-22 15:09:37 -04:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
HDVinnie
e47afe4ab4 chore: styleci 2020-02-12 14:51:22 -05:00
HDVinnie
80c842e39c chore: update license block
- make styleci happy
2020-02-12 14:49:18 -05:00
HDVinnie
dbb928f940 chore: update license block 2020-02-12 14:45:59 -05:00
HDVinnie
9a893662de Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
575e8dda5e Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-06 11:44:34 +00:00
HDVinnie
e0379e5b95 (Add) Audit System 🆕
- filtering to follow
2019-11-06 06:42:17 -05:00
HDVinnie
d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
426b801eda (Update) CRUDDY PT.5 🚀 2019-10-23 16:59:03 -04:00