Skip to content

Commit

Permalink
v3.4.0 preparation (#114)
Browse files Browse the repository at this point in the history
- Add MariaDB checks
- Add MySQL checks
- Improved usability in the configuration
- Configuration page will be in 2 columns
  • Loading branch information
javiercasares authored Aug 16, 2024
2 parents ab84ff4 + 7624e4b commit b34be55
Show file tree
Hide file tree
Showing 18 changed files with 2,743 additions and 427 deletions.
51 changes: 38 additions & 13 deletions assets/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@
opacity: 0;
}
}

/* Admin plugins table styles */

.plugins-php .vulnerability {
background-color: var(--red-mediun);
padding: 4px;
}
.plugins-php .vulnerability .alert {
color: white;
}
/* Admin plugins table styles */
.plugins tr.wpvulnerability td, .plugins tr.wpvulnerability.active td {
background-color: var(--red-light);
}
Expand All @@ -33,6 +35,26 @@
.plugins tr.wpvulnerability p.text-red, .plugins tr.wpvulnerability.active p.text-red {
color: var(--red-mediun)
}

/* Admin core table styles */

.update-core-php table.wpvulnerability td {
background-color: var(--red-light);
}
.update-core-php table.wpvulnerability tr:before {
background-color: var(--red-light);
content: "";
display: table-cell;
}
.update-core-php table.wpvulnerability tr.active::before {
border-left: 4px solid var( --red-mediun );
}
.update-core-php p.text-red {
color: var(--red-mediun)
}

/* Configuration header */

.wpvulnerability-header {
background-color: #1d73be;
margin-left: -20px;
Expand All @@ -51,18 +73,21 @@
margin: 0;
}

/* Admin core table styles */
.update-core-php table.wpvulnerability td {
background-color: var(--red-light);
/* Configuration flex */

.wpvulnerability-container {
display: flex;
flex-direction: row;
gap: 20px;
}
.update-core-php table.wpvulnerability tr:before {
background-color: var(--red-light);
content: "";
display: table-cell;

.wpvulnerability-column {
flex: 1;
}
.update-core-php table.wpvulnerability tr.active::before {
border-left: 4px solid var( --red-mediun );

/* Diseño móvil */
@media (max-width: 1280px) {
.wpvulnerability-container {
flex-direction: column;
}
}
.update-core-php p.text-red {
color: var(--red-mediun)
}
2 changes: 2 additions & 0 deletions assets/icon-mariadb.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions assets/icon-mysql.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 34 additions & 2 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
== Changelog ==

= [3.4.0] - 2024-08-16 =

**Added**

* New checks for MariaDB vulnerabilities.
* New checks for MySQL vulnerabilities.
* WPVulnerability statistics in the configuration page.
* WPVulnerability contributors in the configuration page.

**Changed**

* Code improvement.
* Better UI for the configuration page.
* Web server version detection improved.

**Fixed**

* Get the statistics information the right way.

**Compatibility**

* WordPress: 4.1 - 6.7
* PHP: 5.6 - 8.3
* WP-CLI: 2.3.0 - 2.11.0

**Tests**

* PHP Coding Standards: 3.10.2
* WordPress Coding Standards: 3.1.0
* Plugin Check (PCP): 1.0.2
* SonarCloud Code Review

= [3.3.5] - 2024-08-14 =

**Added**
Expand All @@ -12,7 +44,7 @@

* WordPress: 4.1 - 6.7
* PHP: 5.6 - 8.3
* WP-CLI: 2.3.0 - 2.10.0
* WP-CLI: 2.3.0 - 2.11.0

**Tests**

Expand All @@ -31,7 +63,7 @@

* WordPress: 4.1 - 6.7
* PHP: 5.6 - 8.3
* WP-CLI: 2.3.0 - 2.10.0
* WP-CLI: 2.3.0 - 2.11.0

**Tests**

Expand Down
Loading

0 comments on commit b34be55

Please sign in to comment.