my little forum 2.4.12, pure bugfix release

@auge8472 auge8472 released this Jun 29, 2018 · 74 commits to master since this release

Attention: This update is only necessary, if …

  • … the initial point of the update is a version from 2.3.5 to 2.3.7 and …
  • … the forum admin tried before to update the forum to the version 2.4.10 or 2.4.11

Noone else is affected.

Fix

  • Fixed array of update targets in the update script. Versions from 2.3.5 to 2.3.7 as initial point of the update got no table structure update of the step to version 2.4.10. Because of that registered users in the affected forums was not able to send a posting.

my little forum 2.4.11, maintenance release

@auge8472 auge8472 released this Jun 25, 2018 · 74 commits to master since this release

Updaters: Because of an error in the update script this version can only be an update target for existing installations from version 2.3.99.1 upwards!

If you are affected, see version 2.4.12.

Fixes

  • fixed: used the wrong setting for the terms-of-use-URL in the new template user_agreement.inc.tpl because of a copy'n'paste error; one as a user was unable to read the terms of use before accepting it
  • fixed: a lost underscore in the admin template

my little forum 2.4.10, GDPR-basic release

@auge8472 auge8472 released this Jun 13, 2018 · 74 commits to master since this release

Updaters: Because of an error in the update script this version can only be an update target for existing installations from version 2.3.99.1 upwards!

If you are affected, see version 2.4.12.

Fixes

  • fixed: the russian language had a few syntax errors, introduced with the reformatting of the language files (2.4.7)
  • fixed: the version check in the admin panel was broken, when the update was executed before the forum itself found the new version on Github
  • fixed: the meta element for the charset definition moved to top of the title to apply also for the title

Feature

  • feature: make it possible to force an agreement to a data privacy statement in the same manner as with the terms of rules
  • feature: store the date of the agreement (data privacy statement and/or terms of use) with the users data
  • feature: enforce a new agreement to adata privacy statement and/or terms of use with the deletion of the timestamp of the old agreement (there is no user interface yet!)

Changes

  • change: actualised Bad Behavior from 2.2.19 to version 2.2.20
  • change: actualised GesHi from 1.0.8.11 to version 1.0.9
  • change: actualised Smarty from 3.1.30 to version 3.1.32
  • change: because of the minimal system requirement for Bad Behavior the minimal MySQL version raises to 5.0

my little forum 2.4.9, maintenance release

@auge8472 auge8472 released this Apr 13, 2018 · 74 commits to master since this release

Updaters: This version can only be an update target for existing installations from version 2.3.5 upwards!

Fixes

  • fixed: use the function get_avatar also in the admin panel, used before only the code for the old file name scheme which leads to only displaying avatars with names in this old name scheme
  • fixed: avatar field in the user data form of the admin panel had no label because of missing string in the language files
  • fixed: adapt changed URL-parameter behaviour for folding threads to the JS-sources, didn't work with the switch instead the toggle
  • fixed: changed long date format for german language to month as number with leading zero, out written month name "März" can cause encoding problem on some servers
  • fixed: the deletion of entries about read postings was broken in the case of deletion after X days, used the old and removed setting name read_state_expiration_date instead read_state_expiration_value

Feature

  • added: put pixel dimensions of uploaded images into the HTMl source, when included in entries, prevents page jumping during load process for only this case(!)

Changes

  • added: sentences about automatic generation of e-mails to inform about new entries, user, etc., a few users answered to these automatic messages
  • added: make the mouse cursor a hand (pointer) when hovering over a (visible) label element

my little forum 2.4.8, maintenance release

@auge8472 auge8472 released this Feb 18, 2018 · 74 commits to master since this release

The original project page mylittleforum.net works again. So the interim page www.projekt-mlf.de got a different function as home of development of a new theme and accessories by Auge.

Updaters: This version can only be an update target for existing installations from version 2.3.5 upwards!

Fixes

  • fixed double closing tag of a select in the admin.inc.tpl
  • fixed the use of a table alias in a database query that caused a MySQL error
  • removed a few empty lines in the code in search.inc.php because some of them caused headers-sent-erros
  • fixed the use of a wrong variable name in bookmark.inc.php
  • fixed forgotten masking of single quotes, used as apostrophe in the german language file
  • fixed wrong cases range for partial backups, the three cases that was introduced in the 2.4-branch wasn't recognised as valid
  • fixed the invalid use of column name tags in the entries table because the column no longer exists
  • fixed wrong path names of files that have to be updated in the update to version 2.4.7, yet relevant because of updates from earlier versions
  • fixed superfluous column name "tags" in create statement of table mlf2_entries
  • added CSRF-tokens to user_edit.inc.tpl, user_edit_email.inc.tpl, user_edit_pw.inc.tpl and the corresponding code in user.inc.php

Feature

Changes

  • added the version number of the minimal required PHP-version to the readme file
  • added the links to the original project site and forum again, was changed to the interim site and forum because of the temporary inaccessibility of the original site
  • added a partial rework of the swedish language file, mainly based on the work of Tommy Nielsson (tommy@svenska-lok.se)
  • replace "Bookmarks" with "Lesezeichen" in the german language file
  • removed a few line breaks and spaces at a line end in bookmarks.inc.tpl
  • removed a size attribute in an input submit button

my little forum 2.4.7, the return release

@auge8472 auge8472 released this Jan 4, 2018 · 101 commits to master since this release

After preliminary move to the new project page we are back with a further maintenance release of the 2.4-branch. Please read this announcement carefully, especially the last point about changes in the language files.

With this release the system requirements changes. The minimal PHP version is from now on PHP 5.4.

Updaters: This version can only be an update target for existing installations from version 2.3.5 upwards!

Fixes

  • fixed database issue because of the obsolete field *_userdata.entries_read that can cause errors in some database configurations, an admin can not create new user accounts in that case
  • fixed the use of a wrong string for too long user name in the create-new-user-function of the admin panel
  • fixed a check for existence of categories in the main script, can cause error in PHP 7.2 when no categories are present
  • fixed handling of not given birthday date, set it to NULL in that case instead the pseudo date 0000-00-00, can cause error in some MySQL-configurations

Features

  • added redirect of a user after login back to the last page, one has visited
  • added the availability of tags to the bookmark function, the postings tags will be suggested when present
  • added new tables for tag handling, existing tags for postings will be handed over to one of the new tables
  • added a few fields as honeypots for spammers to the registration and the posting form

Changes

  • changed handling of the URL-parameters 'fold_threads', 'toggle_view' and 'toggle_thread_view', are not toggles anymore, fix reproducible behaviour for every value instead, one can create links to special views of a forum and get's reproduceable outputs
    • 'fold_threads': 0 = unfolded threads, 1 = folded threads
    • 'toggle_view': 0 = thread view of thread list, 1 = table view of thread list
    • 'toggle_thread_display': 0 = nested view (threaded view of a threads entries), 1 = linear view (table view/board view of a threads entries)

Attention: Massive changes in the language files

All strings in all language files (with a few exceptions, see last paragraph) got enclosed in single quotes. This leads to a few changes for translators, especially for languages, where the apostrophe is in use, for example as marker for contracted forms of words (i.e. in "hasn't"). These occurences have to be masked with a backslash hasn\'t in the language files. This rule is mandatory from now on (with a few exceptions, see last paragraph)! Otherwise a string gets terminated with the first occurence of an apostrophe.

Even if I think, that I scrutinised the files for occurences of apostrophes within the strings, it is possible, that I missed a few apostrophes. In that case you'll find cropped strings. Please check the file of the language with the search function of a text editor for the affected string and check it for an apostrophe at the place, the string got cropped. Mask the apostrophe with a backslash (\), load the file to your server and check the string on your website again.

Please report the problem as an Github issue or in the project forum, so that other users can benefit from the fixes.

As last a word about the exception from the described rule. The e-mail-templates, which goes over more than one line of code, are enclosed with a row of three double quotes ("""). Within these strings an apostrophe has to stay unmasked.

Thank you.

my little forum 2.4.6, maintenance release

@auge8472 auge8472 released this Nov 5, 2017 · 147 commits to master since this release

Updaters: This version can only be an update target for existing installations from version 2.3.5 upwards!

Fixes

  • fix for displaying the new version number after update in the update script itself
  • fix for missing rules for visited links in the list of latest entries
  • fix for wrong syntax in the meta element "referrer", that was introduced in version 2.4.5 (author: Romchik)
  • removed doubled title attributes (author: Romchik)
  • rework of the HTML-structure in the side- and bottombar, removal of a few obsolete CSS-rules
  • refactoring of the *.inc.php-files, better readability for future development, no functional changes at that point
  • fix for broken toggling of check for banned IPs or user agents, should toggle automatically when listing bans but didn't
  • fix broken query for reading user data for notification in case of account creation through the admin
  • fix for doubled key in the german language file
  • fix for ordering of user data lists when sorted by the user names, collation led to sorting in the order names beginning with numbers, capital letters and in the end low letters, now names with capitals and low letters are sorted mixed in their natural order

my little forum 2.4.5, maintenance release

@auge8472 auge8472 released this Oct 9, 2017 · 194 commits to master since this release

Updaters: This version can only be an update target for existing installations from version 2.3.5 upwards!

Fixes

  • fixed wrong variable name in the function getMessageStatus
  • removed an orphaned code fragment, that never was in use

Feature

  • add a meta element named "referrer", that causes not sending a referrer when open an external link or (for older browsers) sending a referrer with only the domain part. it's a small contribution for forum users privacy

my little forum 2.4.4, maintenance release

@auge8472 auge8472 released this Oct 3, 2017 · 202 commits to master since this release

Updaters: This version can only be an update target for existing installations from version 2.3.5 upwards!

Change

  • make the error message of the update script for wrong or non existing file config/VERSION more descriptive

Fixes

  • fix for by mistake overwritten user type
  • fix for not accepted email addresses with a TLD longer than four chars
  • fix for not marking the opening message of a thread as new if a new answer was posted and the thread is folded

my little forum 2.4.3, maintenance and performance release

@auge8472 auge8472 released this Jul 10, 2017 · 209 commits to master since this release

Updaters: This version can only be an update target for existing installations from version 2.3.5 upwards!

Changes

  • prepopulate the field for the forum-URL in the installation script with the protocol which is actually in use
  • add further indices to several database tables to speed up the loading time of the forum
  • enhanced handling of read status (new setting for selection of handling scheme), in general higher values for number of entries to keep or time period until removing them from the list (see also project wiki, configuration, settings read_state_expiration_method and read_state_expiration_value)

Fixes

  • fixed a lost CSS-rule for element #image-canvas
  • fixed gratuitous graphical separator for link list, removed it
  • fixed cache handling, newer IE-versions was not taken into account
  • fixed marking as unread for visited entries which was dropped from the list of visited entries
  • fixed collation of the user name field to distinguish between "a" and "ä" (example)
  • fixed a doubled key in the language files