(Grav GitSync) Automatic Commit from dan
This commit is contained in:
parent
8648ba7755
commit
fb5edb6eed
4 changed files with 36 additions and 7 deletions
23
pages/01.blog/postgresql-major-update-v-15/item.en.md
Normal file
23
pages/01.blog/postgresql-major-update-v-15/item.en.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
title: 'PostgreSQL Major Update v.15'
|
||||||
|
author: Dan
|
||||||
|
published: true
|
||||||
|
date: '10-02-2023 21:59'
|
||||||
|
taxonomy:
|
||||||
|
category:
|
||||||
|
- news
|
||||||
|
tag:
|
||||||
|
- postgresql
|
||||||
|
- 'TECH SAVIOURS'
|
||||||
|
- matrix
|
||||||
|
- git
|
||||||
|
- gitea
|
||||||
|
- instance
|
||||||
|
aura:
|
||||||
|
author: dan
|
||||||
|
---
|
||||||
|
|
||||||
|
The next server update ("Wednesday around 5pm NZ time (8am UTC)") includes a few hours of downtime.
|
||||||
|
The reason is not really the major update of PostgreSQL. But we take the opportunity to clean up the database at the same time (especially for Matrix).
|
||||||
|
|
||||||
|
This means that Matrix and our Git instance will be unavailable during this process.
|
|
@ -1,3 +1,9 @@
|
||||||
|
# v7.1.2
|
||||||
|
## 01/08/2023
|
||||||
|
|
||||||
|
1. [](#bugfix)
|
||||||
|
* Fixes issue with multiplication type BasicCaptcha Math Captcha [#587](https://github.com/getgrav/grav-plugin-form/issues/587)
|
||||||
|
|
||||||
# v7.1.1
|
# v7.1.1
|
||||||
## 11/29/2022
|
## 11/29/2022
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Form
|
name: Form
|
||||||
slug: form
|
slug: form
|
||||||
type: plugin
|
type: plugin
|
||||||
version: 7.1.1
|
version: 7.1.2
|
||||||
description: Enables forms handling and processing
|
description: Enables forms handling and processing
|
||||||
icon: check-square
|
icon: check-square
|
||||||
author:
|
author:
|
||||||
|
|
|
@ -32,20 +32,20 @@ class BasicCaptcha
|
||||||
// calculator
|
// calculator
|
||||||
if ($operator === '-') {
|
if ($operator === '-') {
|
||||||
if ($first_num < $second_num) {
|
if ($first_num < $second_num) {
|
||||||
$result = "$second_num-$first_num";
|
$result = "$second_num - $first_num";
|
||||||
$captcha_code = $second_num-$first_num;
|
$captcha_code = $second_num - $first_num;
|
||||||
} else {
|
} else {
|
||||||
$result = "$first_num-$second_num";
|
$result = "$first_num-$second_num";
|
||||||
$captcha_code = $first_num - $second_num;
|
$captcha_code = $first_num - $second_num;
|
||||||
}
|
}
|
||||||
} elseif ($operator === '*') {
|
} elseif ($operator === '*') {
|
||||||
$result = "{$first_num}x{$second_num}";
|
$result = "{$first_num} x {$second_num}";
|
||||||
$captcha_code = $first_num - $second_num;
|
$captcha_code = $first_num * $second_num;
|
||||||
} elseif ($operator === '/') {
|
} elseif ($operator === '/') {
|
||||||
$result = "$first_num/ second_num";
|
$result = "$first_num / second_num";
|
||||||
$captcha_code = $first_num / $second_num;
|
$captcha_code = $first_num / $second_num;
|
||||||
} elseif ($operator === '+') {
|
} elseif ($operator === '+') {
|
||||||
$result = "$first_num+$second_num";
|
$result = "$first_num + $second_num";
|
||||||
$captcha_code = $first_num + $second_num;
|
$captcha_code = $first_num + $second_num;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue