Merge branch 'develop' of github.com:humhub/humhub into develop

This commit is contained in:
HumHub Translations 2021-06-15 15:25:14 +02:00
commit f3ab44c2ac
5 changed files with 42 additions and 53 deletions

View File

@ -1,48 +1,49 @@
1.9.0-beta.1 (Unreleased)
1.9.0-beta.1 (June 15, 2021)
----------------------------
At least version 7.3 is now required as the PHP version!
Note: HumHub version 1.9+ requires PHP 7.3 or higher!
- Enh #3733: Forbid to open AJAX actions as separate page
- Enh #677: Allow to create new database and set database port on install
- Enh #677: Allow to create new database and set database port on installation wizard
- Fix #4877: Check for writable uploads/profile_image directory
- Enh #4868: Reset email summaries / notifications settings for all users
- Enh #4884: New Space module setting to allow all users to add users without invite
- Enh #4902: Added CodeMirror form field widget
- Enh #4902: Added CodeMirror and created form field widget
- Enh #4964: New CLI command to delete users
- Enh #4871: Default timezone for guests
- Enh #5019: Alternative DashboardMemberStreamFilter based on Legitmation IDs
- Fix #4626: Fix visibility of content in profile stream from archived spaces
- Chg #5016: Allow impersonate to non sys admin groups (that can manage users)
- Enh #5043: Improved Space Membership lookup caching
- Enh #4935: Render images in email messages as HTML <img> tag
- Enh #5037: RichTextToShortTextConverter render image as [Image]
- Enh #4871: Configurable default timezone for guests
- Enh #5019: Alternative `DashboardMemberStreamFilter` based on Live module `LegitmationIDs`
- Fix #4626: Visibility of content in profile stream of archived spaces
- Chg #5016: Allow impersonate for `ManageUsers` permission
- Enh #5043: Improved Space membership lookup caching
- Enh #4935: Render images in email messages
- Enh #5037: `RichTextToShortTextConverter` renders images as `[Image]`
- Enh #5042: Improved Space/User PrettyURL performance
- Enh #4958: Add possibility to register purchased modules via CLI
- Enh #4894: Implemented .label-light variant
- Enh #5012: Space: Show "Owner" Tab also for SystemAdmins
- Enh #4894: Implemented `.label-light` label variant
- Enh #5012: Space: Allow change space owner also for users `ManageSpaces` with permission
- Enh #5045: Removed deprecated `Yii::$app->formatterApp` component
- Enh #5026: Tests for tokenized image urls in email message
- Enh #5049: Required profile field should not be required in administration
- Enh #5065: Add checking for php PCNTL extension
- Enh #5073: Enhance API tests
- Enh #5065: Add checking for php `PCNTL` extension
- Enh #5073: Enhance Rest API tests
- Fix #5078: Fix enabling of REST module on run API tests
- Enh #4776: Add "acknowledge" option to all relevant forms
- Enh #4757: Updated to PHPUnit 8.5
- Enh #4776: Added `acknowledge` option to all relevant forms
- Enh #4757: Updated to `PHPUnit 8.5`
- Enh #4790: Added more logging on authentication errors
- Fix #5054: Force InnoDB Table Engine on migration and configuration option
- Fix #5054: Force `InnoDB` Table Engine on migration and added engine configuration option
- Enh #4862: Tag picker for Space and User containers
- Enh #4927: Hide post input field on single entry stream
- Enh #5062: Show user ID on admin user edit page
- Enh #4848: Include space tags in the spaces “About” page
- Enh #5061: Preserve linebreaks and added "ReadMore" option in Logging
- Enh #4982: Skip DN List to avoid logged ldap errors
- Fix #5088: Set max length for space description input
- Enh #5089: Allow to Follow users independent of Friendship state
- Enh #4982: Skip DN List to avoid duplicated ldap error logs
- Fix #5088: Set max length option to space description input
- Enh #5089: Allow to follow users independently of friendship
- Enh #34: Removed membership icon from my Spaces chooser
- Enh #117: Show/Hide the “Following” buttons depending on updated friendship/membership state after AJAX action
- Enh #5102: Use short number format for Space members count on Space Directory
- Fix #5101: Fix to allow editabling of not required profile fields
- Fix #5101: Fix to allow admin editing of not required profile fields
- Enh #123: New sorting option "Default" for people directory page
- Fix #122: Fix button "Load more" initialization on Pjax loading
- Enh #5114: Added `EVENT_BEFORE_CHECKING_USER_STATUS` in `AuthController.php` to give the possibility to add an event before checking the user status
- Fix #5122: `RichText::output` produces `p` HTML element instead of `div`

41
composer.lock generated
View File

@ -3096,18 +3096,6 @@
"MIT"
]
},
{
"name": "npm-asset/async-limiter",
"version": "1.0.1",
"dist": {
"type": "tar",
"url": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz"
},
"type": "npm-asset",
"license": [
"MIT"
]
},
{
"name": "npm-asset/at.js",
"version": "1.5.4",
@ -3338,10 +3326,10 @@
},
{
"name": "npm-asset/engine.io-client",
"version": "3.4.4",
"version": "3.5.2",
"dist": {
"type": "tar",
"url": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.4.4.tgz"
"url": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.5.2.tgz"
},
"require": {
"npm-asset/component-emitter": "~1.3.0",
@ -3352,8 +3340,8 @@
"npm-asset/indexof": "0.0.1",
"npm-asset/parseqs": "0.0.6",
"npm-asset/parseuri": "0.0.6",
"npm-asset/ws": "~6.1.0",
"npm-asset/xmlhttprequest-ssl": "~1.5.4",
"npm-asset/ws": "~7.4.2",
"npm-asset/xmlhttprequest-ssl": "~1.6.2",
"npm-asset/yeast": "0.1.2"
},
"type": "npm-asset",
@ -3644,17 +3632,17 @@
},
{
"name": "npm-asset/socket.io-client",
"version": "2.3.1",
"version": "2.4.0",
"dist": {
"type": "tar",
"url": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.3.1.tgz"
"url": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.4.0.tgz"
},
"require": {
"npm-asset/backo2": "1.0.2",
"npm-asset/component-bind": "1.0.0",
"npm-asset/component-emitter": "~1.3.0",
"npm-asset/debug": "~3.1.0",
"npm-asset/engine.io-client": "~3.4.0",
"npm-asset/engine.io-client": "~3.5.0",
"npm-asset/has-binary2": "~1.0.2",
"npm-asset/indexof": "0.0.1",
"npm-asset/parseqs": "0.0.6",
@ -3669,10 +3657,10 @@
},
{
"name": "npm-asset/socket.io-parser",
"version": "3.3.1",
"version": "3.3.2",
"dist": {
"type": "tar",
"url": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.1.tgz"
"url": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.2.tgz"
},
"require": {
"npm-asset/component-emitter": "~1.3.0",
@ -3719,13 +3707,10 @@
},
{
"name": "npm-asset/ws",
"version": "6.1.4",
"version": "7.4.6",
"dist": {
"type": "tar",
"url": "https://registry.npmjs.org/ws/-/ws-6.1.4.tgz"
},
"require": {
"npm-asset/async-limiter": "~1.0.0"
"url": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz"
},
"type": "npm-asset",
"license": [
@ -3734,10 +3719,10 @@
},
{
"name": "npm-asset/xmlhttprequest-ssl",
"version": "1.5.5",
"version": "1.6.2",
"dist": {
"type": "tar",
"url": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz"
"url": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.6.2.tgz"
},
"type": "npm-asset"
},

View File

@ -24,7 +24,7 @@ if (!defined('PKCS7_DETACHED')) {
$config = [
'name' => 'HumHub',
'version' => '1.9.0-dev',
'version' => '1.9.0-beta.1',
'basePath' => dirname(__DIR__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR,
'bootstrap' => ['log', 'humhub\components\bootstrap\ModuleAutoLoader', 'queue', 'humhub\modules\ui\view\bootstrap\ThemeLoader'],
'sourceLanguage' => 'en',

View File

@ -48,7 +48,10 @@ abstract class BaseSettingsManager extends Component
throw new Exception('Could not determine module id');
}
$this->loadValues();
if (static::isDatabaseInstalled()) {
$this->loadValues();
}
parent::init();
}

View File

@ -41,7 +41,7 @@ $categories = $user->profile->getProfileFieldCategories();
</label>
<?php if (strtolower($field->title) == 'about'): ?>
<div class="col-sm-9">
<p class="form-control-static"><?= RichText::output($field->getUserValue($user, true)) ?></p>
<div class="form-control-static"><?= RichText::output($field->getUserValue($user, true)) ?></div>
</div>
<?php else: ?>
<div class="col-sm-9">