Skip to content

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

Compare
Choose a tag to compare
@satopian satopian released this 25 May 13:43
· 886 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.18.9 released

[2022/05/25] v5.18.9

Klecks update

Updated Klecks to the latest version.

CheerpJ update to v2.3

Updated CheerpJ, which converts Java applets to JavaScript when using the painter, to v2.3.

Bug fixes

  • Fixed a bug that the rejected character string and rejected url for anti-spam could not be processed correctly if they contained / (slash).
  • Fixed a minor error when calculating the number of days elapsed for deleting temporary unnecessary files.
  • Fixed the problem that the date and time when closing the reply in the specified number of days was not the parent's posting date and time but the latest reply posting date and time.

Improvement

  • Reimplemented tripcode function.

Changed directory

  • klecks/

Files that have changed

  • potiboard.php
  • search.php

Templates that have changed

MONO

  • potiboard5/templates/mono_en/paint_klecks.blade.php
    (Error alerts now open even when the error from the server is exactly 400)

[2022/04/28] v5.16.8

Klecks has been updated.

  • Several issues with the iPad OS have been fixed.
  • Traditional Chinese has been added to the available languages.

The template engine BladeOne has been updated.

  • BladeOne has been updated to v4.5.3.

Improvement

  • If the cause of the transmission failure of klecks is a server error, the error number is displayed as an alert.
    For example, if saveklecks.php does not exist ," Error 404 "will be displayed in the alert.

  • Changed the working directory of the PNGtoJPEG process to TEMP_DIR.
    Even if the process fails and the working files are left behind, they are now automatically deleted over time.

Bug fixes

  • When the .pch save directory was specified other than'src/', the automatic directory creation function did not work and the required files could not be saved.
    Changed to be created automatically when the directory does not exist.

Changed directory

  • klecks/
  • BladeOne/

Files that have changed

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

[2022/04/02] v5.16.5.1

  • fix search template.
  • fix main template.
    Fixed a grammatical error in the HTML of the search screen.
  • Corrected incorrect English notation.
  • klecks updated
    The number of layers that can be used has been increased from 8 to 16.

Changed directory

  • klecks/

Files that have changed

  • search.php
  • templates/mono_en/search.blade.php
  • templates/mono_en/mono_main.blade.php

[2022/03/25] v5.16.5

Improvement

Klecks Japanese translation

image

  • Translated Klecks into Japanese.
    I was able to bundle a Japanese version with POTI-board.
    This new version of Klecks will automatically detect your browser's language priority and switch languages ​​for you.
    You can also specify the language to use regardless of the browser language setting.
    You can select English, German, or Japanese.
    Chinese is only in Simplified Chinese and details are still in English.
    Japanese translation resources have already been merged into the klecks repository.

The download button for the application-specific file has been created.

image

App-specific format list

  • . Pch file (PaintBBS)
  • . Chi file (ChickenPaint)
  • . Psd file (Klecks)

The file containing the layer information for Klecks is a .psd file in Photoshop format.
The downloaded .psd file can be opened by CSP, SAI and many other apps.
.pch and .chi can be opened with NEO and ChickenPaint, respectively.
If you attach .pch, .chi, .psd from the administrator posting screen and press the paint button, you can load it on the canvas and post it.

Transparent PNG, change the transparent part of the thumbnail of transparent GIF to white

  • Fixed the problem that the transparent part of transparent PNG was black when it was converted to JPEG.
    It is not a mistake that the transparent color is black, but since it often results in unintended results, when converting from transparent GIF or transparent PNG to JPEG, the transparent color is converted to white.

Bug fixes

  • Fixed the case where a minor error occurred when operating the upload format specific to the paint application used when logging in to the administrator, and the automatic deletion function of unnecessary temporary files such as pch, chi, and psd.

BladeOne update

Updated template engine BladeOne to v4.5.

Files that have changed

  • potiboard.php
  • thumbnail_gd.php

Changed directory

  • BladeOne/
  • klecks/
    Overwrite update for each directory.

Templates that have changed

MONO EN

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

[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.