Skip to content

POTI-board EVO EN v5.12.0 released. v3.x and earlier all versions have a serious bug.

Compare
Choose a tag to compare
@satopian satopian released this 13 Mar 12:58
· 811 commits to main since this release

Serious bugs in older versions

  • POTI-board v2.26.0 and earlier all versions is vulnerable to XSS.
    Malicious JavaScript can be executed.

  • POTI-board v3.09.x and earlier all versions have a serious bug.
    You may lose all log files.

  • POTI-board v3.x gives a deprecated error in PHP8.1 It will not work with future versions of PHP.

Please update to v5.x or higher.

POTI-board EVO EN v5.12.0 released

[2022/03/12] v5.12.0

Bug fixes

  • Fixed the issues that the menu could not be operated with Apple Pencil.
    Fixed that the menu operation of ChickenPaint and Klecks could not be operated with.
    It was caused by Javascript added to the paint related template in v3.19.5.
    I deleted the corresponding Javascript and confirmed that it works normally.

Updated Klecks

  • Updated Klecks to the latest version.
    A new brush has been added. You can now do mirror painting.

Changed directory

  • klecks/

Files that have changed

  • potiboard.php

Template MONO

  • templates/mono_en/mono_paint.blade.php
  • templates/mono_en/paint_klecks.blade.php

Also check out the POTI-board EVO v5.10.0 release.
Many files have been updated.

[2022/03/8] v5.10.0

new function

  • You can use the new painting app Klecks.

image

Easy-to-understand UI, powerful brushes, and filter functions.
You can use 8 layers.

fix

Many minor bugs have been fixed.

Overwrite and update these directories.

  • BladeOne/
  • klecks/
  • templates/mono_en/

Overwrite and update these files.

  • potiboard.php
  • save.php

Please add this file.

  • saveklecks.php

[2022/02/10] v5.05.0

URL blacklists

When the character string specified by the "String blacklists" exists in the URL, it is now rejected.
In addition, we have added a "URL blacklists" .

// URL blacklists
$badurl = array("example.com","www.example.com");

Previously, no spam word checking was done on the URL.

Older threads don't show links to draw more. Do not allow the continuation to be drawn.

There was a function to lock the editing of articles that exceeded the specified number of days, but I was able to draw the continuation.
I created these settings because the article will be modified if the password is compromised by a third party.
Even if the article is locked, it can be deleted by the user.
In addition, the administrator can edit even after the specified number of days.

However, I think that some people may be in trouble if the lock is applied within a certain number of days.

define ('ELAPSED_DAYS', '365');

Threads older than 1 year will be locked in 365,

define ('ELAPSED_DAYS', '0');

If set to 0, it will not be locked.

  • If the specified number of days has passed while drawing, it will be a new post.
    Also, when the thread is deleted while drawing, it will be a new post.

[2022/01/27] v5.01.03

Change to BladeOne for template engine

I changed the template engine to BladeOne because I get a deprecated error from Skinny.php in PHP8.1 environment.
However, that means that the templates will be incompatible.
Templates with the extension HTML have been replaced with templates with the extension blade.php.
When you open the content, it's not much different from a traditional template. However, it may seem difficult because the extension is not HTML.

What has changed due to the change of the template engine

PHP7.1

  • I was developing it to work in PHP5.6 environment, but I found that v4.2 of BladeOne only works in PHP7.1 or higher environment.
    POTI-board EVO v5.x requires PHP 7.1 or higher.

Information for those who customize and use templates.

The thread display process has changed significantly.
Previously, there was processing for the parent of the thread, and there was separate processing for reply.

In v5.x, the loop of the array of one thread is ended at once.

It then treats the first loop as the parent of the thread.
Specifically, it looks like the following.

	@foreach ($ress as $res)
	 {{-- Parent article header -}}
	@if ($loop->first)
	{{-- First loop -}}
	<h2 class="article_title"><a href="{{$self}}?res={{$ress[0]['no']}}">[{{$ress[0]['no']}}]
			{{$ress[0]['sub']}}</a></h2>

	@else
	<hr>
	{{-- article header for reply -}}
	<div class="res_article_wrap">
		<div class="res_article_title">[{{$res['no']}}] {{$res['sub']}}</div>
		@endif

@if ($loop->first) is true for the first loop of the thread.
When @if ($loop->first) is true, it is processed as the parent of the thread.
The <h2> tag of the title that is displayed differently only when it is the parent of the thread is put in that place.

If you install the extension laravel-blade in a free editor called VScode, the editor screen will appear. Switch to a color scheme optimized for the blade syntax.
Both the extension and the editor itself can be used free of charge.

Files that have changed

all.

Looking ahead for a few years

We apologize for the incompatibility of the template and the resetting of config.php, but we hope you understand it.

Also, please use the PHP script for the Oekaki bulletin board called Petit Note, which was newly recreated from scratch.

Download

You can download it from the source code link below.