Skip to content

Commit

Permalink
add changelog for csp adaptations
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Tirk <[email protected]>
Signed-off-by: Benjamin Brahmer <[email protected]>
  • Loading branch information
powerpaul17 authored and Grotax committed Nov 9, 2023
1 parent f71a592 commit 5832353
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1
# Unreleased
## [25.x.x]
### Changed
- Use Nextcloud vue components for item list and article view
- Fix aspect ratio of article images
- Use Nextcloud vue components for item list and article view (#2401)
- Fix aspect ratio of article images (#2401)
- Allow usage of Vue devtools in Firefox (#2412)

### Fixed
- Adjust search urls to match changed Vue routes (#2408)
Expand Down
2 changes: 1 addition & 1 deletion lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function index(): TemplateResponse
->addAllowedFrameDomain('https://vk.com')
->addAllowedFrameDomain('https://www.vk.com');

if($this->settings->getSystemValue('debug')) {
if ($this->settings->getSystemValue('debug')) {

Check failure on line 106 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud stable27 with 8.0

Only booleans are allowed in an if condition, mixed given.

Check failure on line 106 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud stable27 with 8.1

Only booleans are allowed in an if condition, mixed given.

Check failure on line 106 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud stable27 with 8.2

Only booleans are allowed in an if condition, mixed given.

Check failure on line 106 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud pre-release with 8.2

Only booleans are allowed in an if condition, mixed given.
$csp->allowInlineScript(true);

Check failure on line 107 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud stable27 with 8.0

Call to deprecated method allowInlineScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: 10.0 CSP tokens are now used

Check failure on line 107 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud stable27 with 8.1

Call to deprecated method allowInlineScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: 10.0 CSP tokens are now used

Check failure on line 107 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud stable27 with 8.2

Call to deprecated method allowInlineScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: 10.0 CSP tokens are now used
$csp->allowEvalScript(true);

Check failure on line 108 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud stable27 with 8.0

Call to deprecated method allowEvalScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.

Check failure on line 108 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud stable27 with 8.1

Call to deprecated method allowEvalScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.

Check failure on line 108 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud stable27 with 8.2

Call to deprecated method allowEvalScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.

Check failure on line 108 in lib/Controller/PageController.php

View workflow job for this annotation

GitHub Actions / phpstan: Nextcloud pre-release with 8.2

Call to deprecated method allowEvalScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.
}
Expand Down

0 comments on commit 5832353

Please sign in to comment.