(Grav GitSync) Automatic Commit from smokephil

This commit is contained in:
smokephil 2025-01-17 09:13:21 +01:00 committed by GitSync
parent 88e07926d9
commit 9d9feba04b
144 changed files with 7311 additions and 5467 deletions

2
plugins/problems/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
node_modules
package-lock.json

View file

@ -1,3 +1,9 @@
# v2.1.2
## 10/22/2024
1. [](#improved)
* Improved `gd` module check [#36](https://github.com/getgrav/grav-plugin-problems/pull/36)
# v2.1.1
## 04/14/2021

View file

@ -1,7 +1,7 @@
name: Problems
slug: problems
type: plugin
version: 2.1.1
version: 2.1.2
description: Detects and reports problems found in the site.
icon: exclamation-circle
author:

View file

@ -57,19 +57,21 @@ class PHPModules extends Problem
$msg = 'PHP GD (Image Manipulation Library) is %s installed';
if (defined('GD_VERSION') && function_exists('gd_info')) {
$msg = $modules_success['gd'] = sprintf($msg, 'successfully');
$msg = sprintf($msg, 'successfully');
// Extra checks for Image support
$ginfo = gd_info();
$gda = array('PNG Support', 'JPEG Support', 'FreeType Support', 'GIF Read Support');
$gda = array('PNG Support', 'JPEG Support', 'FreeType Support', 'GIF Read Support', 'WebP Support', 'AVIF Support');
$gda_msg = '';
$problems_found = false;
foreach ($gda as $image_type) {
if (!$ginfo[$image_type]) {
if (!array_key_exists($image_type, $ginfo)) {
$problems_found = true;
$gda_msg = "missing $image_type, but is ";
break;
if($gda_msg !== '') {
$gda_msg .= ', ';
}
$gda_msg .= $image_type;
}
}

0
plugins/problems/css/spectre-icons.css Executable file → Normal file
View file

0
plugins/problems/css/spectre-icons.min.css vendored Executable file → Normal file
View file

0
plugins/problems/css/spectre.css Executable file → Normal file
View file

0
plugins/problems/css/spectre.min.css vendored Executable file → Normal file
View file

View file

@ -0,0 +1,15 @@
{
"project":"grav-plugin-problems",
"platforms":{
"grav":{
"nodes":{
"plugin":[
{
"source":"/",
"destination":"/user/plugins/problems"
}
]
}
}
}
}

0
plugins/problems/package.json Executable file → Normal file
View file

0
plugins/problems/scss/_accordions.scss Executable file → Normal file
View file

0
plugins/problems/scss/_animations.scss Executable file → Normal file
View file

0
plugins/problems/scss/_asian.scss Executable file → Normal file
View file

0
plugins/problems/scss/_autocomplete.scss Executable file → Normal file
View file

0
plugins/problems/scss/_avatars.scss Executable file → Normal file
View file

0
plugins/problems/scss/_badges.scss Executable file → Normal file
View file

0
plugins/problems/scss/_bars.scss Executable file → Normal file
View file

0
plugins/problems/scss/_base.scss Executable file → Normal file
View file

0
plugins/problems/scss/_breadcrumbs.scss Executable file → Normal file
View file

0
plugins/problems/scss/_buttons.scss Executable file → Normal file
View file

0
plugins/problems/scss/_calendars.scss Executable file → Normal file
View file

0
plugins/problems/scss/_cards.scss Executable file → Normal file
View file

0
plugins/problems/scss/_carousels.scss Executable file → Normal file
View file

0
plugins/problems/scss/_chips.scss Executable file → Normal file
View file

0
plugins/problems/scss/_codes.scss Executable file → Normal file
View file

0
plugins/problems/scss/_comparison-sliders.scss Executable file → Normal file
View file

0
plugins/problems/scss/_dropdowns.scss Executable file → Normal file
View file

0
plugins/problems/scss/_empty.scss Executable file → Normal file
View file

0
plugins/problems/scss/_filters.scss Executable file → Normal file
View file

0
plugins/problems/scss/_forms.scss Executable file → Normal file
View file

0
plugins/problems/scss/_icons.scss Executable file → Normal file
View file

0
plugins/problems/scss/_labels.scss Executable file → Normal file
View file

0
plugins/problems/scss/_layout.scss Executable file → Normal file
View file

0
plugins/problems/scss/_media.scss Executable file → Normal file
View file

0
plugins/problems/scss/_menus.scss Executable file → Normal file
View file

0
plugins/problems/scss/_meters.scss Executable file → Normal file
View file

0
plugins/problems/scss/_mixins.scss Executable file → Normal file
View file

0
plugins/problems/scss/_modals.scss Executable file → Normal file
View file

0
plugins/problems/scss/_navbar.scss Executable file → Normal file
View file

0
plugins/problems/scss/_navs.scss Executable file → Normal file
View file

0
plugins/problems/scss/_normalize.scss Executable file → Normal file
View file

0
plugins/problems/scss/_off-canvas.scss Executable file → Normal file
View file

0
plugins/problems/scss/_pagination.scss Executable file → Normal file
View file

0
plugins/problems/scss/_panels.scss Executable file → Normal file
View file

0
plugins/problems/scss/_parallax.scss Executable file → Normal file
View file

0
plugins/problems/scss/_popovers.scss Executable file → Normal file
View file

0
plugins/problems/scss/_progress.scss Executable file → Normal file
View file

0
plugins/problems/scss/_sliders.scss Executable file → Normal file
View file

0
plugins/problems/scss/_steps.scss Executable file → Normal file
View file

0
plugins/problems/scss/_tables.scss Executable file → Normal file
View file

0
plugins/problems/scss/_tabs.scss Executable file → Normal file
View file

0
plugins/problems/scss/_tiles.scss Executable file → Normal file
View file

0
plugins/problems/scss/_timelines.scss Executable file → Normal file
View file

0
plugins/problems/scss/_toasts.scss Executable file → Normal file
View file

0
plugins/problems/scss/_tooltips.scss Executable file → Normal file
View file

0
plugins/problems/scss/_typography.scss Executable file → Normal file
View file

0
plugins/problems/scss/_utilities.scss Executable file → Normal file
View file

0
plugins/problems/scss/_variables.scss Executable file → Normal file
View file

0
plugins/problems/scss/icons/_icons-action.scss Executable file → Normal file
View file

0
plugins/problems/scss/icons/_icons-core.scss Executable file → Normal file
View file

0
plugins/problems/scss/icons/_icons-navigation.scss Executable file → Normal file
View file

0
plugins/problems/scss/icons/_icons-object.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_avatar.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_button.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_clearfix.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_color.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_label.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_position.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_shadow.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_text.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_toast.scss Executable file → Normal file
View file

0
plugins/problems/scss/mixins/_transition.scss Executable file → Normal file
View file

0
plugins/problems/scss/spectre-icons.scss Executable file → Normal file
View file

0
plugins/problems/scss/spectre.scss Executable file → Normal file
View file

0
plugins/problems/scss/utilities/_colors.scss Executable file → Normal file
View file

0
plugins/problems/scss/utilities/_cursors.scss Executable file → Normal file
View file

0
plugins/problems/scss/utilities/_display.scss Executable file → Normal file
View file

0
plugins/problems/scss/utilities/_divider.scss Executable file → Normal file
View file

0
plugins/problems/scss/utilities/_loading.scss Executable file → Normal file
View file

0
plugins/problems/scss/utilities/_position.scss Executable file → Normal file
View file

0
plugins/problems/scss/utilities/_shapes.scss Executable file → Normal file
View file

0
plugins/problems/scss/utilities/_text.scss Executable file → Normal file
View file

3268
plugins/problems/yarn.lock Normal file

File diff suppressed because it is too large Load diff