Your Name
7c964f3b4f
fix: replace backslash-prefixed facade calls with imported references
...
Replace \Cache::, \Log::, \DB:: calls with their imported facade
equivalents. The backslash-prefix relies on global aliases which
PHPStan cannot resolve, causing class.notFound errors.
4 weeks ago
Your Name
e7ba43e2e1
fix: add missing use imports to resolve phpstan class.notFound errors
...
Add missing imports for Log, Cache, DB, FollowerService, StatusService,
LikeService, ReblogService, UserFilterService, AdminProfile, OauthClient,
and fix StatusTimelineTransformer reference (class didn't exist, replaced
with StatusTransformer).
4 weeks ago
Your Name
98267eb26f
refactor: replace deprecated str_random() with Str::random()
...
str_random() is a deprecated helper from laravel/helpers that was
missed in the initial helpers removal. Replace all 18 call sites
with the modern Str::random() equivalent.
4 weeks ago
Your Name
edb4368b08
refactor: replace deprecated laravel/helpers with native alternatives
...
Replace all deprecated helper function calls:
- str_slug() → Str::slug()
- starts_with() → str_starts_with()
- ends_with() → str_ends_with()
- array_first() → Arr::first()
- array_last() → Arr::last()
- array_flatten() → Arr::flatten()
Remove laravel/helpers package from composer.json as it is no longer
needed and will not be maintained for Laravel 13.
4 weeks ago
Shift
19880c2ffb
Convert string references to `::class`
...
PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP.
1 month ago
Daniel Supernault
ef6187b917
Fix LoginController
9 months ago
Daniel Supernault
34278c77c2
Update LoginController
9 months ago
Daniel Supernault
374344754e
Lint
9 months ago
Shlee
b826f4fe48
Update ForgotPasswordController.php
11 months ago
Shlee
4adc8947d8
Update ResetPasswordController.php
11 months ago
Daniel Supernault
4960421073
Update CuratedOnboarding, add new app:curated-onboarding command, extend email verification window to 7 days and fix resend verification mails
2 years ago
Daniel Supernault
207bb36c89
Increase username length limit from 15 to 30
2 years ago
Daniel Supernault
dd6e3cc290
Update RegisterController, update username constraints, require atleast one alpha char
2 years ago
Daniel Supernault
8a89e3c963
Update captcha, use config_cache helper
3 years ago
Daniel Supernault
8dac2caf1d
Add Curated Onboarding
3 years ago
Daniel Supernault
0325e17115
Update LoginController, fix captcha validation error message
3 years ago
Daniel Supernault
c53894fe16
Add Parental Controls feature
3 years ago
Daniel Supernault
a6d10f0389
Update RegisterController
3 years ago
Daniel Supernault
221ddce0fa
Update login form, allow admins to enable captcha after X failed attempts. Admins can set the number of attempts before captcha is shown, default is 2 attempts before captcha is required
3 years ago
Daniel Supernault
c071c7195e
Update login/register views and captcha config, enable login or register captchas or both
3 years ago
Daniel Supernault
0ab5b96a00
Update ResetPasswordController, add captcha support, improve security and a new redesigned view
3 years ago
Daniel Supernault
f6e7ff649e
Update ForgotPasswordController, add captcha support, improve security and a new redesigned view
3 years ago
Daniel Supernault
1bbee6d07b
Update RegisterController, improve max_users calculation and add kb page to redirect to if conditions are met
3 years ago
Robert von Burg
7e8938d749
[Fix] Don't count inactive accounts for registration blocking
3 years ago
Daniel Supernault
d4c967de98
Update RegisterController, store client ip during registration
3 years ago
Daniel Supernault
50ab2e2039
Add cloud ip bans to BouncerService
3 years ago
Daniel Supernault
9bbd6dcd23
Update v1.1 api, add post moderation endpoint
4 years ago
Daniel Supernault
8803c6de3d
Update ResetPasswordController redirectToo path to /i/web as /home is deprecated
4 years ago
Daniel Supernault
042c5b6c33
Improve onboarding
5 years ago
Daniel Supernault
e503a8da85
Update RegisterController
5 years ago
Daniel Supernault
6bf92bed27
Update LoginController, bump decayMinutes from 1 to 60
5 years ago
Rodrigo Fonseca
31330e0aed
Fix starting check of username to allow numbers.
...
The check for the first letter of username used to be !ctype_alpha, but the error message says "Must start with a letter or number." Updated check to be !ctype_alnum, to be coherent with the error message.
5 years ago
Daniel Supernault
27b722e7a7
Update config() to config_cache()
5 years ago
Daniel Supernault
082c1ccb26
Add hCaptcha
6 years ago
Daniel Supernault
78a8798ace
Update RegisterController, fixes #2436
6 years ago
delthas
09479c02ca
Make the minimum user password length configurable
...
Previously, all passwords had to be at least 12 characters long.
Some users use a slightly shorter password, so some instances could wish
to reduce the password length limit to a slightly lesser value.
This makes the minimum password length configurable in the .env file,
with the MIN_PASSWORD_LENGTH variable, that defaults to 12 to keep the
previous behaviour by default.
6 years ago
Daniel Supernault
3b7ff030f2
Update RegisterController
6 years ago
dx7
913bf77ba4
Improve email validation error for restricted emails
6 years ago
dx7
693f530326
Improve username validation error for restricted names
6 years ago
Daniel Supernault
5bcb43a673
Update RegisterController, fix CI bug
7 years ago
Daniel Supernault
14ba350ba3
Fix postgres bugs
7 years ago
Daniel Supernault
fa8e0dca4d
Update RegisterController
7 years ago
Daniel Supernault
d11e82c3d9
Update landing page, add age check
7 years ago
Daniel Supernault
64950748cf
Update RegisterController
7 years ago
Daniel Supernault
f22a4b2d75
Update RegisterController, bump min password length from 6 to 8
7 years ago
Daniel Supernault
b885cccd6b
Update Auth controller
7 years ago
Shleeble
d61c48c62b
Update RegisterController.php
8 years ago
Shleeble
7953be29fe
Update LoginController.php
8 years ago
Daniel Supernault
89bd8f9653
Update LoginController
8 years ago
Daniel Supernault
2b76db6421
Update LoginController
8 years ago