Skip to content

Commit

Permalink
Release 1.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
luke- committed Jan 8, 2024
1 parent 42c421a commit ddcdaec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Module extends ContentContainerModule
public $enableTwiqSandboxExtensionConfig = [
'allowedTags' => ['autoescape', 'apply', 'block', 'if', 'with', 'for', 'set'],
'allowedFilters' => ['capitalize', 'date', 'first', 'upper', 'escape', 'nl2br', 'url_encode', 'round'],
'allowedFunctions' => ['range', 'max', 'min'],
'allowedFunctions' => ['range', 'max', 'min', 'random'],
'allowedMethods' => [
'humhub\modules\custom_pages\modules\template\models\OwnerContentVariable' => '__toString',
],
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

1.10.1 (January 8, 2024)
------------------------
- Enh: Added "random" to Twig SandboxPolicy

1.10.0 (January 6, 2024)
------------------------
- Fix: Highlight admin menu entry when "Template" page is active
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Custom Pages",
"description": "Create custom pages and widgets and share them with your users. Take advantage of a wide range of editing options, including HTML and Markdown.",
"keywords": ["pages", "custom", "iframe", "markdown", "link", "navigation", "spaces"],
"version": "1.10.0",
"version": "1.10.1",
"homepage": "https://github.com/humhub/custom-pages",
"humhub": {
"minVersion": "1.14"
Expand Down

0 comments on commit ddcdaec

Please sign in to comment.