Skip to content

POTI-board EVO EN v3.22.8 released. v3.09.x and earlier versions have a serious bug

Compare
Choose a tag to compare
@satopian satopian released this 18 Jan 14:34
· 882 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.

Please update potiboard.php with v3.10.1 or later by overwriting.
For those who are using the old version v2.x system.
Please update potiboard.php by overwriting. Overwriting updates to potiboard.php alone can address the above two major issues.

POTI-board EN v3.22.8 released.

[2022/01/18] v3.22.8

Future PHP version upgrades will not allow you to enter null for string processing, but this issue has occurred in the template engine Skinny.php.
We patched Skinny.php and the error was avoided for the time being.
However, it is risky to continue using the template engine that causes such errors, so the next version will replace the template engine with BladeOne.
We have finished developing the version 3.x system and are starting the next major version upgrade, version 5.

[2021/12/22] v3.19.5

  • Added the ability to display images of the next and previous threads in the reply view.

image

// Show images of next and previous threads in reply view
// (Yes: 1, No: 0)
define('VIEW_OTHER_WORKS', '0');

If you want to return to the conventional display, set it to ’0’.

  • When you continue from the Reply image with a "new post", that image becomes the Reply image.
    Previously, if you continue and draw from the image of Reply, a new thread was created.
// When continuing from the reply image, even if it is'new post', it will be a reply to the current thread.
// (1: Enabled, 0: Disabled) 
define('RES_CONTINUE_IN_CURRENT_THREAD', '0');

If you want to return to the conventional operation, set it to '0'.

  • After replying, the screen of each thread that replied is now displayed.
    Previously, the top page was displayed regardless of where you replied to the thread.

  • Changed the display method when editing / deleting in reply mode or catalog mode and completing the work.
    For example, when the edit / delete work is completed on the second page of the catalog mode, the second page of the catalog mode is displayed.
    Until now, the top page was displayed.

  • Individual threads are now displayed when you continue drawing and the post is complete.
    Until now, the top page was displayed.
    If the image you want to continue is many pages away from the top page, you had to find the image from many pages.

  • ChickenPaint Swipe a specific part of the screen to prevent it from moving up or down. The relevant parts are controlled by JavaScript.

<script>
function fixchicken() {
	document.addEventListener('dblclick', function(e){ e.preventDefault()}, { passive: false });
	const chicken=document.querySelector('#chickenpaint-parent');
	chicken.addEventListener('contextmenu', function (e){
		e.preventDefault();
		e.stopPropagation();
	}, { passive: false });
	chicken.addEventListener('touchmove', function (e){
		e.preventDefault();
		e.stopPropagation();
	}, { passive: false });
}
window.addEventListener('DOMContentLoaded',fixchicken,false);
</script>

Files that have changed

  • config.php
  • potiboard.php
  • search.php

For theme MONO

All about theme/ Directory

  • theme/css/mono_dark.css
  • theme/css/mono_deep.css
  • theme/css/mono_main.css
  • theme/css/mono_mayo.css
  • theme/mono_catalog.html
  • theme/mono_main.html
  • theme/mono_other.html
  • theme/mono_paint.html
  • theme/search.html
  • theme/template_ini.php

[2021/12/04] v3.15.3

  • Updated index.php required for new installations.
    Even if the PHP version is PHP5.3 or lower, an error message will be displayed indicating that it will not work because the PHP version is low.
    Previously it was a fatal PHP error.

  • Fixed an issue where long press the ChickenPaint's palette with the pen would open an unwanted mouse right-click menu.

  • Fixed an issue where the screen would move up and down when copying and layer merging with PaintBBS NEO.
    If you select a rectangle to perform a copy and layer combination operation, the pen may protrude slightly from the canvas.
    At this time, the PaintBBS NEO's canvas may move up and down.
    Occurs when using Windows ink or Apple Pencil.
    If a screen width wider than the iPad is detected, the screen will not move even if you swipe the mesh part around the canvas of PaintBBSNEO.
    When using a smartphone, the operation is the same as before. Because if you want to pinch out the canvas and zoom in,If you cannot swipe, you cannot operate.

Please update mono_paint.html to resolve these issues.

  • picpost.php
    Fixed false positives for languages.

  • Many translations have been improved.

Files that have changed

  • picpost.php
  • potiboard.php
  • theme/css/mono_dark.css
  • theme/css/mono_deep.css
  • theme/css/mono_main.css
  • theme/css/mono_mayo.css
  • theme/mono_main.html
  • theme/mono_paint.html
  • theme/template_ini.php

[2021/11/23] v3.15.2

Updated contents of potiboard.php

  • Chi file deletion process after upload painting
    I added it because there was no process to delete the chi file after uploading the ChickenPaint-specific file and the chi format file and loading it on the canvas in the administrator's post.
    This fix removes it from the temporary directory 5 minutes after uploading. Prior to this fix, files that were no longer needed were deleted after a few days.
  • The HTML ALT for images has been fixed. The HTML translation of the theme has been improved.

Files that have changed

  • potiboard.php
  • theme/mono_catalog.html
  • theme/mono_main.html
  • theme/mono_other.html
  • theme/mono_paint.html

[2021/11/17] v3.12.2

Updated contents of potiboard.php

  • Fixed the calculation method of the width and height of the thumbnail image and the width and height of the HTML image when drawing the continuation.
    The setting value of connfig.php is set as the maximum value and the calculation is restarted from the beginning.
    In ChickenPaint, you can change the height and width of the image by rotating it, but until now, the size of the thumbnail image became smaller each time it was rotated.
  • The actual canvas size is now set in the cookie. Previously, the value entered by the user was set as is. Since there is a maximum value for the canvas size, for example, when the maximum is 800px, even if you enter 8000px, the actual canvas size that opens is 800px.
    Previously, the cookie was set to 8000px even in such cases.
  • An error is now returned when a file name with an invalid length is entered.
  • Checks the length of the reply number and returns an error if the length is incorrect.
  • Fixed the specification that the full text of the parent's comment is displayed in the description of the article displayed on the reply screen, and now omits 300 bytes or more.

Please update potiboard.php.

Updates for picpost.php and save.php

  • In order to mitigate unauthorized posting from external sites, the usercode set in the usercode and cookie during post processing is now checked.

Please update picpost.php and save.php.

PaintBBS NEO v1.5.15

PaintBBS NEO now supports right button constant display.
Please update neo.js.

For theme MONO

Please update mono_paint.html.

The translation has been improved.

Files that have changed

  • potiboard.php
  • save.php
  • picpost.php
  • neo.js
  • search.php

For theme MONO

All about theme/ Directory

About HTML for v3.09.x and earlier versions of themes

The site's copyright link
It has changed to https://paintbbs.sakura.ne.jp/poti/.
If you don't mind, please replace the HTML file of the theme.

In that case, please be careful not to lose the CSS file with customized colors and widths.
Back up your customized CSS file so that you can restore it if you accidentally overwrite it.

To change the color scheme of the Default theme MONO

MONO's HTML and CSS have been significantly updated in v3.07.5.
Therefore, if you use a CSS file older than v3.07.5, some designs will not be displayed correctly.
For example, footers and catalogs don't look as intended.
If you want to change only the color scheme, please use the SCSS repository for development.

satopian / poti-kaini-themes: MONO for POTI-board EVO

It's easy to change the color scheme because the settings are separated for the color scheme and other designs.
However, an environment that can handle SCSS is required.
For example, the free Visual Studio Code and its extension, Live Sass Compiler.

Download

You can download it from the source code link below.