Warm-up: FlatPress 1.5 - Community Test

For devs and testers: Tests of current development versions, technical details of the code.
eagleman
Posts: 237
Joined: Sat Mar 02, 2019 12:10 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by eagleman » Mon Dec 29, 2025 3:28 pm

Updated italian files since fp 1.5 rc1 release.
Part 2
Attachments
setup.zip
Italian file for Setup
(3.92 KiB) Downloaded 12 times
ft-interface.lang.admin.entry.zip
Admin entry italian file
(1.91 KiB) Downloaded 9 times
fpprotect.lang.it-it.zip
FPProtect plugin italian file
(1.46 KiB) Downloaded 14 times

User avatar
fraenkiman
Posts: 470
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Warm-up: FlatPress 1.5 - Community Test

Post by fraenkiman » Mon Dec 29, 2025 4:34 pm

Hello everyone,
macadoum wrote: Mon Dec 29, 2025 8:43 am If I download master from github, can I just save fp-contents from my actual installation and then override all the other files using FTP to get a refreshed FlatPress ?
I recommend deleting the cache and compile directories from the backed-up fp-content directory before copying the fp-content directory to the newly set up instance.
macadoum wrote: Mon Dec 29, 2025 6:39 am Fraenkiman, I wonder if you're going to publish an RC2 ?
I think there will be an RC2 soon, as some fixes have been incorporated into RC1. First of all, thank you very much for the tests and bug reports.
eagleman wrote: Mon Dec 29, 2025 3:25 pm Updated italian files since fp 1.5 rc1 release.
Part 1
eagleman wrote: Mon Dec 29, 2025 3:28 pm Updated italian files since fp 1.5 rc1 release.
Part 2
Merged with commit 4e6348b.

Best regards,
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Mon Dec 29, 2025 6:05 pm

I tried the HTTP header Analyzer from the father of Drupal, Dries Buytaert on my test website and I found something strange.

https://dri.es/headers?url=https://macadoum.free.nf

In several cases, headers are considered missing while I'm still able to find reference of those headers in the fpprotect plugin on github :
https://github.com/flatpressblog/flatpr ... ct.php#L45

Code: Select all

	header('Strict-Transport-Security: max-age=15552000; includeSubDomains');
	header('Cross-Origin-Embedder-Policy: same-origin');
	header('Cross-Origin-Opener-Policy: same-origin-allow-popups');
	header('Cross-Origin-Resource-Policy: same-site');
So those headers shouldn't be considered as missing.

The FP Protect is active on my installation and I don't think it's something from my host as Rainer's test install got the same result : https://dri.es/headers?url=https://foss ... ivkasse.de

I do not know anything about HTTP headers but FP Protect could be misconfigured ?
My test installation of FlatPress : https://macadoum.free.nf/ :D

User avatar
fraenkiman
Posts: 470
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Warm-up: FlatPress 1.5 - Community Test

Post by fraenkiman » Mon Dec 29, 2025 7:31 pm

macadoum wrote: Mon Dec 29, 2025 6:05 pm I tried the HTTP header Analyzer from the father of Drupal, Dries Buytaert ...
...
I do not know anything about HTTP headers but FP Protect could be misconfigured ?
For the headers in the FlatPress Protect plugin, I consulted Scott Helme's documentation (https://scotthelme.co.uk/author/scott/) and cross-checked it with the header analyzer from https://securityheaders.com/.

It is possible that Dries Buytaert's analyzer is no longer completely up to date. Dries Buytaert wrote in 2024: The complexity of the HTTP standard and the challenge to remember all the best practices led me to develop an HTTP Header Analyzer four years ago.

I will take another look at the headers in the FlatPress Protect plugin and see to what extent they are still up to date.

Best regards,
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

eagleman
Posts: 237
Joined: Sat Mar 02, 2019 12:10 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by eagleman » Tue Dec 30, 2025 10:45 am

Due to an oversight on my part, I forgot to change some sitrings into setup file.
Here is the new file.
Attachments
setup.lang.it-it.zip
Corrected and updated italian file for setup.php file
(3.92 KiB) Downloaded 16 times

User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Tue Dec 30, 2025 2:15 pm

When I publish an entry, and then change my time zone, the entry keeps the previous time in memory. The publish date should be automatically changed too.

It could be nice also to choose the time zone based on my location. Imagine I travel a lot, I should just enter my location like how it is done in this phpbb forum (in user control panel-> Board Preferences) :

Image

If I change my location, all publication times are updated.
My test installation of FlatPress : https://macadoum.free.nf/ :D

User avatar
fraenkiman
Posts: 470
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Warm-up: FlatPress 1.5 - Community Test

Post by fraenkiman » Tue Dec 30, 2025 5:24 pm

Hello macadoum
macadoum wrote: Tue Dec 30, 2025 2:15 pm When I publish an entry, and then change my time zone, the entry keeps the previous time in memory. The publish date should be automatically changed too.
...
That's the bitter pill you have to swallow with a FlatFile CMS.
It would be possible in theory, but performance would suffer. With FlatPress, the creation date/time is stored in the respective entry/comment as UNIX epoch time. In addition, the entries (entryYYMMDD-HHMMSS.txt) and comments (commentYYMMDD-HHMMSS.txt) would have to be renamed. In my test scenario, a wrapper would have to read the UNIX epoch time from each file and add the time difference. Then, for example, 30.000 files would have to be renamed. After that, the corrected time for each entry/comment would have to be assigned to the template. With 3000 entries, each with 10 comments per entry = 30.000 files, it would run into a timeout. And the entry/comment would no longer be accessible -> 404 (/?x=entry:entry251223-142501).

There is already a similar issue.
This will not be feasible.

Best regards,
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Wed Dec 31, 2025 8:48 am

Speaking of 404, if I choose the Pretty Mode in PrettyURL Configuration, I got a 404 error while trying to open an entry from the blog home.

But edit the entry or the blog home page still work.

Tell me what info you might need.
My test installation of FlatPress : https://macadoum.free.nf/ :D

User avatar
fraenkiman
Posts: 470
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Warm-up: FlatPress 1.5 - Community Test

Post by fraenkiman » Thu Jan 01, 2026 5:24 pm

Happy New Year,
macadoum wrote: Wed Dec 31, 2025 8:48 am Speaking of 404, if I choose the Pretty Mode in PrettyURL Configuration, I got a 404 error while trying to open an entry from the blog home.
Please take a screenshot of the PrettyURLs panel from the admin area.

If there is an .htaccess file in the FlatPress root directory (PrettyURLs panel), I need its contents.

Then I need a screenshot from the “Configuration file for the web server” section of the support plugin (Maintain -> Show Support data).

If an error was logged in the server/PHP error log at the time of access, please also send me the error message.

Best regards,
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
macadoum
Posts: 49
Joined: Sat Jan 20, 2024 10:32 pm

Re: Warm-up: FlatPress 1.5 - Community Test

Post by macadoum » Fri Jan 02, 2026 8:17 am

fraenkiman wrote: Thu Jan 01, 2026 5:24 pm Happy New Year,
macadoum wrote: Wed Dec 31, 2025 8:48 am Speaking of 404, if I choose the Pretty Mode in PrettyURL Configuration, I got a 404 error while trying to open an entry from the blog home.
Please take a screenshot of the PrettyURLs panel from the admin area.

If there is an .htaccess file in the FlatPress root directory (PrettyURLs panel), I need its contents.

Then I need a screenshot from the “Configuration file for the web server” section of the support plugin (Maintain -> Show Support data).

If an error was logged in the server/PHP error log at the time of access, please also send me the error message.

Best regards,
Frank
Image Image

I also got an htaccess outside of the htdocs subfolder (my flatpress install is located in htdocs) :
##################################################
#
# DO NOT EDIT THIS FILE
#
# Create a new .htaccess file in your htdocs
# directory (or example.com/htdocs/ directory)
# to add your own rules or override these rules.
#
##################################################


DirectoryIndex index.php index.html index.htm index2.html

ErrorDocument 403 https://errors.infinityfree.net/errors/403/
ErrorDocument 404 https://errors.infinityfree.net/errors/404/
ErrorDocument 500 https://errors.infinityfree.net/errors/500/
Whatsoever, I got no php errors.

Happy new year
My test installation of FlatPress : https://macadoum.free.nf/ :D

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests