Roardom
b2e29cfcf0
fix: migrate boolean columns to tinyint(1)
...
These columns were previously tiny ints without the (1) display width or regular ints, or smallints. They should all be tinyint(1).
2025-02-19 06:25:21 +00:00
HDVinnie
d2452f478f
Merge pull request #4447 from Roardom/spellcheck
...
(Add) Spell check ci
2025-01-28 12:00:43 -05:00
Roardom
604b7e1937
add: spell check ci
...
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
2025-01-24 11:30:34 +00:00
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
Roardom
b36639db54
update: make reports searchable, filterable and sortable
2024-09-02 22:34:11 +00:00
Roardom
11257ae7a0
fix: mark staff report replies as read automatically
2024-07-02 21:14:03 +00:00
Roardom
8b9b038701
fix: conversation creation
...
Should use `sender_id`, not `user_id`. Also need to create conversations for all non-system pms.
2024-06-15 01:55:03 +00:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
Roardom
b6b4313bdc
update: various database performance improvements
...
Use eager loading where necessary and add a few indexes. The existing index on private_messages for sender_id and read was probably a typo and intended for receiver_id. The first 3 tables indexes are added to are used for queries ran on every page load: namely the new pm, new notification and warnings indicator in the navbar. Additionally, another index on genre_movie proved useful for finding all the genres when given a movie id. Perhaps, another index for finding all movies within a genre would be good as well, but will leave that for a future optimization if deemed necessary.
2023-07-17 00:21:08 +00:00
Roardom
276c7cdc97
refactor: use route model binding for staff reports
2023-07-07 03:18:13 +00:00
Roardom
d2e36c368e
refactor: reduce temporary variables passed to views
2023-06-19 23:25:40 +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
HDVinnie
9f7ff35e07
PSR12 Linting
2023-01-08 21:11:15 +00:00
Roardom
2aeead1af3
refactor: move report request to form request
2023-01-08 05:05:18 -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
Roardom
edc64feed2
update: order unsolved reports first
2022-08-09 12:20:03 -05:00
HDVinnie
594b7864d9
refactor: adopt new helpers in laravel 9
2022-03-06 17:20:05 -05:00
HDVinnie
bdd63aa816
update: controllers
2022-02-28 05:06:55 -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
HDVinnie
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04:00
HDVinnie
641f0474be
fix : #1917
...
- closes #1917
2021-09-27 16:25:46 -04:00
clandestine8
a737482e79
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
5d175d93d2
fix: report controller union type
2021-05-23 16:01:03 -04: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
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
e7ccde0190
refactor: rename property to match type
2020-07-22 14:50:41 -04:00
HDVinnie
4b9c006a05
chore: phpdoc blocks cleanup
2020-03-05 10:46:14 -05:00
HDVinnie
605c337204
refactor: encapsed strings to sprintf
2020-02-17 13:52:20 -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
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
e001055ef2
(Update) CRUDDY PT.6 🚀
2019-10-23 19:25:34 -04:00
HDVinnie
426b801eda
(Update) CRUDDY PT.5 🚀
2019-10-23 16:59:03 -04:00
HDVinnie
67339d7329
(Update) PHPDocs 🚀
2019-04-03 20:02:01 -04:00
HDVinnie
c382aa5236
(Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀
2019-03-25 13:53:41 -04:00
HDVinnie
e0e1aa924b
Apply fixes from StyleCI
2019-02-22 13:16:32 +00:00
HDVinnie
3c87845e54
(Update) Namespace models under App\Models 🚀
2019-02-22 08:15:41 -05:00
HDVinnie
2f2c52328b
Apply fixes from StyleCI
2018-12-06 22:57:41 +00:00
HDVinnie
00bb324053
Apply fixes from StyleCI
2018-12-06 14:42:13 +00:00
HDVinnie
87563a2473
(Update) Refator Toastr Notifications
2018-11-12 11:14:41 -05:00
HDVinnie
70fd1364b8
(Update) Report System
...
- make automated PM when solving a report more detailed.
2018-07-17 08:57:29 -04:00
HDVinnie
dfc3c65482
(Update) Cleanup Report Controller
2018-06-06 20:00:26 -04:00