mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 06:51:27 +00:00
commit
d47f2f965c
2 changed files with 11 additions and 1 deletions
|
@ -22,7 +22,8 @@
|
|||
- Update LandingService, enable landing directory/explore feed by default and move configuration to config/instance.php file ([780f2507](https://github.com/pixelfed/pixelfed/commit/780f2507))
|
||||
- Update ImageOptimizePipeline, improve support for disabling image optimizations ([e76289e4](https://github.com/pixelfed/pixelfed/commit/e76289e4))
|
||||
- Update LandingController, fix config variable names ([b716926b](https://github.com/pixelfed/pixelfed/commit/b716926b))
|
||||
- Update Privacy Settings, add Directory setting ([634c15e4](https://github.com/pixelfed/pixelfed/commit/634c15e4))
|
||||
- Update Privacy Settings, add Directory setting ([634c15e4](https://github.com/pixelfed/pixelfed/commit/634c15e4))
|
||||
- Update site config ([6d59dc8e](https://github.com/pixelfed/pixelfed/commit/6d59dc8e))
|
||||
- ([](https://github.com/pixelfed/pixelfed/commit/))
|
||||
|
||||
## [v0.11.5 (2023-03-25)](https://github.com/pixelfed/pixelfed/compare/v0.11.4...v0.11.5)
|
||||
|
|
|
@ -12,6 +12,7 @@ class Config {
|
|||
public static function get() {
|
||||
return Cache::remember(self::CACHE_KEY, 900, function() {
|
||||
return [
|
||||
'version' => config('pixelfed.version'),
|
||||
'open_registration' => (bool) config_cache('pixelfed.open_registration'),
|
||||
'uploader' => [
|
||||
'max_photo_size' => (int) config('pixelfed.max_photo_size'),
|
||||
|
@ -44,6 +45,14 @@ class Config {
|
|||
'description' => config_cache('app.short_description')
|
||||
],
|
||||
|
||||
'account' => [
|
||||
'max_avatar_size' => config('pixelfed.max_avatar_size'),
|
||||
'max_bio_length' => config('pixelfed.max_bio_length'),
|
||||
'max_name_length' => config('pixelfed.max_name_length'),
|
||||
'min_password_length' => config('pixelfed.min_password_length'),
|
||||
'max_account_size' => config('pixelfed.max_account_size')
|
||||
],
|
||||
|
||||
'username' => [
|
||||
'remote' => [
|
||||
'formats' => config('instance.username.remote.formats'),
|
||||
|
|
Loading…
Reference in a new issue