Commit Graph

183 Commits

Author SHA1 Message Date
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
2725397734 Apply fixes from StyleCI 2022-08-25 23:17:20 +00:00
HDVinnie
33494ca5ce refactor: simplify pointless boolean expressions in ifs 2022-08-25 19:17:06 -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
88e811386d update: preslash helpers 2022-05-26 22:03:18 -04:00
HDVinnie
9abcb90533 refactor: adopt if helpers
- Collapse multiline if statements by adopting Laravel’s abort_if and throw_if helpers.
2022-05-26 21:56:23 -04:00
StyleCI Bot
e4ba901ee6 Apply fixes from StyleCI 2022-03-15 13:41:03 +00:00
HDVinnie
4ce9d9fde7 fix: #2158
- closes #2158
2022-03-15 09:40:42 -04: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
98521378d2 chore: phpdoc blocks 2022-01-10 17:46:43 -05:00
HDVinnie
d3abd28925 update: type hints 2022-01-08 15:35:53 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
Roardom
2ecd9bae3f update: redirect to intended page upon login 2021-11-12 00:57:53 +00:00
HDVinnie
2a53cea216 refactor: newline after statement 2021-09-28 12:49:46 -04:00
clandestine8
a737482e79 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
00860b1cb2 update: register controller 2021-08-01 00:14:02 -04:00
Michael Rowley
b345d6a785 Switched uniqid for random_bytes.
uniqid isn't cryptographically secure, it is a pseudorandom number generator meaning that its values can be deduced or easily guessed within a computationally reasonable amount of guesses, this branch removes its security-oriented implementations and uses random_bytes instead.

Note: When a CRNG is not required, uniqid and other functions similar to it (e.g mt_rand & rand) are fine to use as PRNGs which is why I've left it in use for the filename-generation system.
2021-07-31 19:46:39 +01:00
HDVinnie
4ef02ef87d fix: registration controller 2021-05-17 20:20:59 -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
3de7de61f3 refactor: auth twostep controller 2020-12-30 01:23:04 -05:00
HDVinnie
cf0834c076 refactor: auth reset password controller 2020-12-30 01:22:41 -05:00
HDVinnie
0cce0563a4 refactor: auth register controller 2020-12-30 01:22:25 -05:00
HDVinnie
3b3c1e5082 refactor: auth login controller 2020-12-30 01:22:09 -05:00
HDVinnie
9add6c7f6a refactor: auth activation controller 2020-12-30 01:21:56 -05:00
HDVinnie
467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -05:00
HDVinnie
e92aabae41 update: phpdoc blocks 2020-12-02 21:27:04 -05:00
HDVinnie
817ce03fd0 refactor: insecure uniqid usage 2020-12-02 21:18:16 -05:00
HDVinnie
29628335f0 update: phpdoc blocks 2020-07-22 23:08:40 -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
e7ccde0190 refactor: rename property to match type 2020-07-22 14:50:41 -04:00
HDVinnie
41b617bb2e update: laravel 7 support 2020-07-19 17:33:50 -04:00
HDVinnie
f69ecec866 refactor: code quality changes 2020-06-02 18:37:19 -04:00
HDVinnie
bf08470bf5 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-05-21 07:51:11 +00:00
HDVinnie
163bedd917 refactor: email blacklist system
- closes #1011
2020-05-21 03:47:45 -04:00
HDVinnie
eb12908712 refactor: use increment/decrement assign 2020-04-24 11:37:59 -04:00
HDVinnie
608c508fe7 refactor: symplify quote escapes 2020-04-24 11:19:08 -04:00
HDVinnie
8c8e2865b2 refactor: camel case function naming to underscore 2020-04-24 11:04:24 -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
ea2a12be15 refactor: closure to arrow function 2020-04-14 20:38:48 -04:00
shlandturtle
f0dacdc69a fix: Lang for application submitted message 2020-03-11 09:54:20 +00:00
shlandturtle
cb64a738ef add: Show email list at application and register pages 2020-03-07 12:24:26 +00:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
Ben Johnson
6b172b051d tests: Auth controller tests 2020-02-25 16:57:11 -05:00