mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
37fce5eb95
* Chg #6174: Users allowed to manage settings can access to module configurations * Chg #6174: Users allowed to manage settings can access to module configurations * Added info message * Added change to migrate doc * Update list.php * Fixed permission tests --------- Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2.3 KiB
2.3 KiB
Module Migration Guide
See humhub/documentation::docs/develop/modules-migrate.md for full version.
Version 1.15 (Unreleased)
Behaviour change
\humhub\libs\BaseSettingsManager::deleteAll()
no longer uses the$prefix
parameter as a full wildcard, but actually as a prefix. Use$prefix = '%pattern%'
to get the old behaviour. Or use$parameter = '%suffix'
if you want to match against the end of the names.\humhub\libs\BaseSettingsManager::get()
now returns a pure int in case the (trimmed) value can be converted- New
PolymorphicRelation::getObjectModel()
: should replaceget_class()
- Removed deprecated javascript method
setModalLoader()
- Javascript CSP Nonces are now required and enabled by default! See: https://docs.humhub.org/docs/develop/javascript/
- Use the verifying
Content->canArchive()
before run the methodsContent->archive()
andContent->archive()
, because it was removed from within there. - Permission to configure modules is now restricted to users allowed to manage settings (was previously restricted to users allowed to manage modules). More info here.
Deprecations
Content::addTags()
andContent::addTag()
are now deprecated. UseContentTagService
instead.- Removed deprecated classes
humhub\widgets\AjaxButton
andhumhub\widgets\ModalConfirm
Type restrictions
\humhub\libs\BaseSettingsManager
and its child classes on fields, method parameters, & return types
Removed Deprecations
humhub\modules\content\widgets\richtext\PreviewMarkdown
humhub\modules\content\widgets\richtext\ProsemirrorRichText::replaceLinkExtension
humhub\modules\content\widgets\richtext\ProsemirrorRichText::scanLinkExtension
humhub\modules\content\widgets\richtext\ProsemirrorRichText::parseOutput
humhub\modules\content\widgets\richtext\AbstractRichText::$minimal
humhub\modules\content\widgets\richtext\AbstractRichText::$maxLength
humhub\modules\content\widgets\richtext\AbstractRichText::$markdown
humhub\libs\Markdown
humhub\libs\MarkdownPreview
humhub\widgets\MarkdownEditor
humhub\widgets\MarkdownField
humhub\widgets\MarkdownFieldModals
humhub\modules\ui\form\widgets\Markdown