Commit graph

1316 commits

Author SHA1 Message Date
Heiko August
d84e0b52a7 Change: add a try-catch block for a database transaction (upgrade starting with 2.4.99.2 or 2.4.99.3)
All changes for an upgrade, starting with version 2.4.99.1, are stored in a database transaction. This ensures, that the upgrade will succeed of will fail completely without leaving the forum in an unusable interim state.
2024-03-18 20:22:23 +01:00
Heiko August
05695ce4ba Change: reformatting of the list of files to upgrade (upgrade starting with 2.4.99.1) 2024-03-18 20:22:23 +01:00
Heiko August
4d08b4d83b Change: add a try-catch block for a database transaction (upgrade starting with 2.4.99.1)
All changes for an upgrade, starting with version 2.4.99.1, are stored in a database transaction. This ensures, that the upgrade will succeed of will fail completely without leaving the forum in an unusable interim state.
2024-03-18 20:22:23 +01:00
Heiko August
fb86713d03 Change: reformatting of the list of files to upgrade (upgrade starting with 2.4.99.0) 2024-03-18 20:22:23 +01:00
Heiko August
fb77d4b52a Change: add a try-catch block for a database transaction (upgrade starting with 2.4.99.0)
All changes for an upgrade, starting with version 2.4.99.0, are stored in a database transaction. This ensures, that the upgrade will succeed of will fail completely without leaving the forum in an unusable interim state.
2024-03-18 20:22:23 +01:00
Heiko August
baa7570d72 Change: reformatting of the list of files to upgrade (upgrade starting with 2.4.19 to 2.4.24) 2024-03-18 20:22:23 +01:00
Heiko August
d6c9c89a21 Change: add a try-catch block for a database transaction (upgrade starting with 2.4.19 to 2.4.24)
All changes for an upgrade, starting with a stable version of the MLF 2.4 branch, are stored in a database transaction. This ensures, that the upgrade will succeed of will fail completely without leaving the forum in an unusable interim state.
2024-03-18 20:22:23 +01:00
Heiko August
9d54862439 Fix: use the correct variable and array key names 2024-03-18 20:22:23 +01:00
Heiko August
5724cac8df CHange: remove the code for changing the table type from the version specific upgrade sections 2024-03-18 20:22:23 +01:00
Heiko August
22307a8a52 Change: add a block for changing the table engine type
This block queries all tables that are not of type InnoDB and changes their type to Innodb in a loop. If none are found, nothing happens.
2024-03-18 20:22:23 +01:00
Heiko August
0e3dd39c24 Change: remove the check for uniqueness of e-mail-addresses (part 3)
Remove it from the upgrade block for version 2.4.99.1.
2024-03-18 20:22:23 +01:00
Heiko August
ceeba6c696 Change: remove the check for uniqueness of e-mail-addresses (part 2)
Remove it from the upgrade block for version 2.4.99.0.
2024-03-18 20:22:23 +01:00
Heiko August
bf0cd08df3 Change: remove the check for uniqueness of e-mail-addresses (part 1)
Remove it from the upgrade block for versions 2.4.19 to 2.4.24.
2024-03-18 20:22:23 +01:00
Heiko August
75166d9388 Change: separate the verification of e-mail addresses from the upgrade block
Check the uniqueness of e-mail-adresses only once and do not repeat the code in every upgrade block again and again.
2024-03-18 20:22:23 +01:00
Heiko August
7387cdf221 Change: check the database server versions and exit the upgrade in necessary
Because of the index size issue with utf8mb4 in MySQL < 5.7(.7) we need to ensure the database server to fulfill the index size for text columns to be able to store more than 767 Bytes. This was introduced with MySQL 5.7.7 (respective with MariaDB 10.2.2). Cancel the upgrade if this minimum requirement is not met.
2024-03-18 20:22:23 +01:00
Heiko August
d0e73e4996 Change: replace the repeated code for writing the version number with a function 2024-03-18 20:22:23 +01:00
Heiko August
ddb37963cb Change: add code block for upgrade starting from versions 20220517.1 and 20220529.1 2024-03-18 20:22:23 +01:00
Heiko August
89939c52ff Change: add code block for upgrade starting from versions 20220508.1 and 20220509.1 2024-03-18 20:22:23 +01:00
Heiko August
36ede4b147 Change: add code block for upgrade starting from versions 2.4.99.2 and 2.4.99.3 2024-03-18 20:22:23 +01:00
Heiko August
1b56e3b3ca Change: add code block for upgrade starting from version 2.4.99.1 2024-03-18 20:22:23 +01:00
Heiko August
9fe99c6e31 Fix: solve an copy'n'paste error, there is no variable $result in this script 2024-03-18 20:22:23 +01:00
Heiko August
9a9a09b54d Change: add the block for an upgrade, starting from version 2.4.99.0 2024-03-18 20:22:23 +01:00
Heiko August
5824261262 Change: add code block for upgrade starting from versions 2.4.19 to 2.4.24
Different from the now official upgrade script, that starts with version 2.4.19.1, this script also allows version 2.4.19 as starting point. This shouldn't be a problem, because there was no database specific change between 2.4.19 and 2.4.19.1.
2024-03-18 20:22:23 +01:00
Heiko August
6dc4f7d96e Change: add a new upgrade file with the basic infrastructure as its first content
The file will contain separate blocks for every version, one can start an upgrade from. The file will be renamed finally but will be a separate way for now.
2024-03-18 20:22:23 +01:00
Heiko August
02b36249db Change: basic formatting for the HTML-elements <ins>, <del> and <s> 2024-03-17 17:56:40 +01:00
Heiko August
9122a2338a Change: add the new BB-Codes [ins], [del] and [s] to mark subsequent changes
Corresponding HTML-elements: <ins>, <del>, <s>
2024-03-17 17:56:40 +01:00
Heiko August
a39605d7da Change: restrict the size of the column mlf2_logincontrol.ip to 128 bytes
This corresponds to the size of the corresponding columns in the other tables.
2024-03-10 21:58:32 +01:00
Heiko August
368c45bcb6 Fix: enlarge the column mlf2_useronline.ip from 15 to to 128 bytes in the installation code
The column size of 15 bytes was enough to store IPv4 but not to store IPv6 addresses. Additionally change the column type from char to varchar.
2024-03-10 21:58:32 +01:00
Heiko August
6dff9dd748 Change: setting the encoding with mysqli_set_charset and the collation with SET NAMES 2024-03-04 22:45:35 +01:00
Heiko August
762c947780 Fix: being not verbose to visitors with error reporting
fixes #688
2024-02-21 17:12:30 +01:00
Heiko August
9795d8fd99 Change: unify the header blocks including the guide in all language files 2024-02-21 17:02:15 +01:00
Heiko August
c959cc6713 Change: add an empty line between welcome address and the message text 2024-02-21 17:02:15 +01:00
Heiko August
4cc08384d5 Change: further translations, autored by akakima
see https://mylittleforum.net/forum/index.php?id=16845
2024-02-21 17:02:15 +01:00
Heiko August
6a51aa5d1b Change: use the correct punctuation rules for french language
Question marks, exclamation marks and punctuation colons need a leading space.
2024-02-21 17:02:15 +01:00
Heiko August
e9b8b54d5e Change: change further "mail" to "email"
Authored by akakima, see https://mylittleforum.net/forum/index.php?id=16845
2024-02-21 17:02:15 +01:00
Heiko August
18e86e316a Change: change "e-mail" to "email"
Authored by akakima (see https://mylittleforum.net/forum/index.php?id=16845).
2024-02-21 17:02:15 +01:00
Heiko August
675b99e45e Change: change "mail" to "email"
Authored by akakima (see https://mylittleforum.net/forum/index.php?id=16845).
2024-02-21 17:02:15 +01:00
Heiko August
295c24f653 Change: overhaul of the french language file, authorted by akakima 2024-02-08 11:10:58 +01:00
Michael Lösler
e9a13bd6d4
Check variable $categories (#687)
- Check whether $categories exists like in index.inc.php
- https://github.com/My-Little-Forum/mylittleforum/issues/685
2024-02-07 21:34:12 +01:00
fcaspar
f275e7395d
fixed missing double point (#674)
* fixed missing double point

* fixed false sql query

* fixed false sql query
2023-04-26 20:39:45 +02:00
Michael Lösler
43471266b3
Bad Behavior (#672)
- remove outdated module "Bad Behavior"
- https://mylittleforum.net/forum/index.php?id=10734
2023-03-18 16:35:04 +01:00
Heiko August
b327f6880c Change: reformat modules/captcha/captcha_image.php 2023-03-17 10:16:21 +01:00
Heiko August
d9580322ad Change: reformat modules/captcha/captcha.php 2023-03-17 10:16:21 +01:00
Heiko August
a98093b468 Change: prevent using imagerotate because it can break in rare corner cases, replace it with imageflip 2023-03-17 10:16:21 +01:00
vihuna
0c2ab4fc6b
fix: amends email recipient in contact links (#671)
`$recipient_email` must be taken from `recipient_user_id` GET parameter
when there is no post `id` (in `user` and `user_profile` templates).
2023-03-13 17:53:18 +01:00
Víctor Huertas
d8ceca5b31 fix(spanish): clean old unused entries 2023-03-06 09:45:40 +01:00
Víctor Huertas
b5b9bb319e fix(spanish): restores translated variable containers
Restores wrongly translated containers used for replacement with
variables.
2023-03-06 09:45:40 +01:00
Víctor Huertas
b25c9d575d fix(spanish): adds missing closing quotes 2023-03-06 09:45:40 +01:00
Víctor Huertas
0ec4279250 fix(spanish): makes uppercase/lowercase unification
Makes uppercase/lowercase unification of language items, depending on
the context.
2023-03-06 09:45:40 +01:00
Víctor Huertas
bf4b7c1c7c fix(spanish): corrects untranslated, imprecise entries
Improves/Corrects in previous translations: syntactically malformed,
semantically vague and untranslated entries.
2023-03-06 09:45:40 +01:00