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
HDVinnie
4e5af0cb20
update: banned middleware
2022-08-24 20:24:02 -04:00
HDVinnie
02eea1206c
fix : #2152
...
- closes #2152
2022-08-24 20:15:30 -04: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
594b7864d9
refactor: adopt new helpers in laravel 9
2022-03-06 17:20:05 -05:00
HDVinnie
aa15a5a1b5
update: middleware
2022-02-28 05:04:54 -05:00
HDVinnie
bc7873fd86
fix: type hints
2022-02-09 22:18:55 -05:00
StyleCI Bot
2cc3d2b2cb
Apply fixes from StyleCI
2022-01-23 22:42:35 +00:00
HDVinnie
00d00024e5
chore: cleanup
2022-01-23 17:42:16 -05:00
Shift
49742aa048
Replace deprecated HEADER_X_FORWARDED_ALL constant
2022-01-19 19:51:13 +00:00
HDVinnie
98521378d2
chore: phpdoc blocks
2022-01-10 17:46:43 -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
Apoorv Pal
f994d1fd87
Merge branch 'master' of github.com:apoorvpal01/UNIT3D-Community-Edition
2021-10-21 17:08:20 +05:30
HDVinnie
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04:00
HDVinnie
281eef3a94
update: redirect if authenticated middleware
...
- convert redirect call to use Laravel’s expressive method chain.
2021-07-12 21:48:40 -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
bd6008a900
performance: pre-slash short named functions
...
- https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule )
2021-05-15 13:28:50 -04:00
HDVinnie
8b333880de
cleanup: multiline comment opening/closing
2021-05-15 13:01:30 -04:00
HDVinnie
5e4f5db157
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2021-04-29 01:33:15 +00:00
HDVinnie
927ec9c924
update: laravel core files
2021-04-28 21:33:00 -04:00
HDVinnie
4fe76bcc10
update: trust proxies middleware
2021-04-27 21:33:24 -04:00
HDVinnie
b5119636c1
remove: old middleware
2021-01-18 12:08:02 -05:00
HDVinnie
77d04bd00f
refactor: ajax middleware
2020-12-30 12:23:52 -05:00
HDVinnie
1a56f270d1
refactor: http2 middleware
2020-12-30 12:23:21 -05:00
HDVinnie
657d093eb0
refactor: banned middleware
2020-12-30 12:23:08 -05:00
HDVinnie
7e664a667b
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-12-03 02:27:21 +00:00
HDVinnie
e92aabae41
update: phpdoc blocks
2020-12-02 21:27:04 -05:00
HDVinnie
42b5a3ed7c
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-10-06 15:00:17 +00:00
HDVinnie
b38626a3a7
update: laravel 8 support
2020-10-06 11:00:04 -04:00
Laravel Shift
14bee49eeb
Shift HTTP kernel and middleware
2020-09-08 22:24:16 +00:00
HDVinnie
1042342923
refactor: preslash simple functions
2020-09-04 13:06:59 -04:00
HDVinnie
20e291af25
fix: multilingual support
2020-08-03 10:51:32 -04:00
HDVinnie
612d1d53f6
update: language settings
...
- closes #1383
2020-08-01 13:19:18 -04:00
HDVinnie
46b40a8e0e
refactor: imports
2020-07-22 16:39:04 -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
41b617bb2e
update: laravel 7 support
2020-07-19 17:33:50 -04:00
HDVinnie
4b4e92221f
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-06-02 22:55:18 +00:00
HDVinnie
f69ecec866
refactor: code quality changes
2020-06-02 18:37:19 -04:00
HDVinnie
8bb3e5c162
remove: html-encrypt
...
- This feature is somewhat misleading being called html-encrypt, as it does not encrypt HTML or JS files, it basically re-encodes their bytes as hex values and then decodes it in the browser again. Every script kiddy with basic javascript knowledge will be able to read the files. This feature obfuscates the files for direct access, but provides no additional security benefits. It really doesnt seem benificail to have seeing UNIT3D is open-source.
2020-05-05 03:35:56 -04:00
HDVinnie
d66c18aaa7
refactor: consistent preg delimiters
2020-04-24 11:44:59 -04:00
HDVinnie
608c508fe7
refactor: symplify quote escapes
2020-04-24 11:19:08 -04:00
HDVinnie
4afdfbdade
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-04-19 05:31:13 +00:00
HDVinnie
78608a4666
refactor: space after sole ! operators
...
- There should be a space after sole `!` operators
2020-04-14 22:31:48 -04:00
HDVinnie
30a6d3a7fe
refactor: null coalescing operator
2020-04-14 20:45:38 -04:00
HDVinnie
ea2a12be15
refactor: closure to arrow function
2020-04-14 20:38:48 -04:00
HDVinnie
46aa876c06
refactor: add literal separator to numbers
...
- This is for PHP7.4 + only
- Adds an `_` as thousands separator in numbers
2020-04-14 20:25:07 -04:00