Heiko August
cb809c9f0d
Change: refactoring of the function count_failed_logins
2024-03-31 15:10:07 +02:00
Heiko August
98321a912b
Change: refactoring of the function log_out
2024-03-31 15:10:07 +02:00
Michael Lösler
65bb31f330
SameSite attribute in setcookie function ( #705 )
...
- SameSite attribute added in setcookie function, cf. #696
2024-03-25 21:16:04 +01:00
Michael Lösler
002b304461
SameSite ( #704 )
...
- added SameSite option as discussed by Auge #696
2024-03-25 20:00:40 +01:00
Heiko August
1a43219cf4
Change: add localised date formats for IntlDateFormatter::format
...
https://www.php.net/manual/de/intldateformatter.format.php
https://framework.zend.com/manual/1.12/en/zend.date.constants.html#zend.date.constants.selfdefinedformats
2024-03-22 22:47:14 +01:00
Heiko August
eb0f3f9bb5
Cleanup: solve a small formatting issue
2024-03-22 22:47:14 +01:00
Heiko August
ab13c0e323
Change: apply the enhancements of the danish translation by Tommy Nilsson
...
only a few changes need further research,
see the source: https://mylittleforum.net/forum/index.php?id=15763
2024-03-22 22:47:14 +01:00
Heiko August
6c7cacccf6
Change: retire the function compare_versions and use PHPs native version_compare instead
2024-03-21 22:16:18 +01:00
Heiko August
be29fc66b2
Fix: added queries for adding indexes to table mlf2_akismet_rating
...
Adding the indexes might be forgotten in earlier update scripts. Check for existence of the indexes and add them, if necessary.
2024-03-18 20:22:23 +01:00
Heiko August
44fef3f35d
Fix: correct wrong order of queries
...
Put query for userdata table after comment line for entries table and vice versa
2024-03-18 20:22:23 +01:00
Heiko August
85b38d2d60
Change: taking over the files to upload and remove for the changes after the release of version 20220803.1 to previous starting points
2024-03-18 20:22:23 +01:00
Heiko August
bf9e22d836
Fix: broken and forgotten queries to set a new default source for loading MathJax
...
This adapts some of the changes in #674 , authored by @fcaspar
2024-03-18 20:22:23 +01:00
Heiko August
b979e18971
Change: taking over the changes fro removing bad behavior to the other upgrade blocks
2024-03-18 20:22:23 +01:00
Heiko August
d584a71b14
Change: add the block for changes in an upgrade, starting from version 20220803.1
2024-03-18 20:22:23 +01:00
Heiko August
6eca946cba
Fix: enlarge the column mlf2_useronline.ip from 15 to 128 Bytes
...
The column was not able to store IPv6 addresses before. That lead to HTTP-status 500 messages or to blank pages.
2024-03-18 20:22:23 +01:00
Heiko August
e1ca5d40dd
Fix: restrict the column mlf2_logincontrol.ip to 128 bytes
...
This is enough to store IPv6 addresses and is the same lenght as the corresponding columns in the other tables
2024-03-18 20:22:23 +01:00
Heiko August
608483f0b0
Change: put a new version number to the file VERSION for testing purposes
2024-03-18 20:22:23 +01:00
Heiko August
d5f8a2ae8e
Change: delete the old upgrade script update_2.4.19.1-2.5.php
2024-03-18 20:22:23 +01:00
Heiko August
a82d340a16
Change: rename update_2.4.19.1-2.5.dev.php to update_2.4.19-2.5.php
2024-03-18 20:22:23 +01:00
Heiko August
71c4b2c384
Change: add a notice about the fact, that the forum is deactivated
...
The forum gets deactivated at the beginning of the upgrade and remains deacivated after the upgrade until one activates it again in the settings page.
2024-03-18 20:22:23 +01:00
Heiko August
3767524018
Change: put files to delete into an own array and merge it to the end of the list of files to be updated
2024-03-18 20:22:23 +01:00
Heiko August
80d6b449d6
Fix: set the collation and charset also for the tables, introduced with v2.5
2024-03-18 20:22:23 +01:00
Heiko August
fb2659e70e
Fix: alter the collation of the uploads table to utf8mb4_bin in every single upgrade step
2024-03-18 20:22:23 +01:00
Heiko August
785d11f32c
Fix: correct a copy'n'paste error on top of a copy'n'paste error
2024-03-18 20:22:23 +01:00
Heiko August
a2fc79e3c4
Change: change charset to utf8mb4 and collation to utf8mb4_bin for the uploads table
2024-03-18 20:22:23 +01:00
Heiko August
47605d44c7
Change: add the charset and collation changes also to the installation script
...
This affects the tables mlf2_entry_tags and mlf2_bookmark_tags.
2024-03-18 20:22:23 +01:00
Heiko August
deba37269d
Change: set the size of mlf2_b8_wordlist.token back to 255 bytes as it was initially when introducing B8
2024-03-18 20:22:23 +01:00
Heiko August
913484bac8
Change: remove the special case of charset utf8(mb3) for the column mlf2_userdata.user_email
2024-03-18 20:22:23 +01:00
Heiko August
24df928fea
Change: set the charset to utf8mb4 and the collation to utf8mb4_bin in the new tables while creating them
...
… and add the keys in mlf2_b8_rating when creating the table and not afterwards.
2024-03-18 20:22:23 +01:00
Heiko August
56a6f5447b
Change: alter the charset to utf8mb4 and the collation to utf8mb4_bin in the user online table
2024-03-18 20:22:23 +01:00
Heiko August
2a227e7f43
Change: alter the charset to utf8mb4 and the collation to utf8mb4_bin in the temporary information table
2024-03-18 20:22:23 +01:00
Heiko August
26fa69a945
Change: alter the charset to utf8mb4 and the collation to utf8mb4_bin in the subscriptions table
2024-03-18 20:22:23 +01:00
Heiko August
aa0b84786c
Change: alter the charset to utf8mb4 and the collation to utf8mb4_bin in the smilies table
2024-03-18 20:22:23 +01:00
Heiko August
a8ca416948
Change: alter the charset to utf8mb4 and the collation to utf8mb4_bin in the read entries table
2024-03-18 20:22:23 +01:00
Heiko August
9470172f6a
Change: alter the charset to utf8mb4 and the collation to utf8mb4_bin in the logincontrol table
2024-03-18 20:22:23 +01:00
Heiko August
b2988e44ab
Change: alter the charset to utf8mb4 and the collation to utf8mb4_bin in the entry tags table
2024-03-18 20:22:23 +01:00
Heiko August
f29e90ff7b
Change: alter the charset to utf8mb4 and the collation to utf8mb4_bin in the bookmark tags table
2024-03-18 20:22:23 +01:00
Heiko August
07ade7a701
Change: alter the charset to utf8mb4 and the collation to utf8mb4_bin in the settings table
2024-03-18 20:22:23 +01:00
Heiko August
19bb31f3ff
Fix: remove regex flag g and use the correct variable name
...
Replace wrong $dbVersion with correct $serverVersion.
2024-03-18 20:22:23 +01:00
Heiko August
fce456c283
Change: replace the variables $databaseVersion with versionInfo
2024-03-18 20:22:23 +01:00
Heiko August
c4c8f8b93f
Change: do not unnecessarily copy the variable into another one
2024-03-18 20:22:23 +01:00
Heiko August
d648efbd1c
Fix: the result contains every variable in a separate row, loop through the result
2024-03-18 20:22:23 +01:00
Heiko August
2ba0fafaba
Change: reformatting of the list of files to upgrade (upgrade starting with 20220517.1 or 20220529.1)
2024-03-18 20:22:23 +01:00
Heiko August
32acfc0b9e
Change: add a try-catch block for a database transaction (upgrade starting with 20220517.1 or 20220529.1)
...
All changes for an upgrade, starting with version 20220517.1 or 20220529.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
e3e8466c05
Change: reformatting of the list of files to upgrade (upgrade starting with 20220508.1)
2024-03-18 20:22:23 +01:00
Heiko August
b29c4d1aab
Change: add a try-catch block for a database transaction (upgrade starting with 20220508.1)
...
All changes for an upgrade, starting with version 20220508.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
16c634aa5d
Change: reorder the list of files again and add further information
...
Upgrade is starting with version 2.4.99.1
2024-03-18 20:22:23 +01:00
Heiko August
862927bc45
Change: reorder the list of files again and add further information (pt. 2)
...
Upgrade is starting with versdion 2.4.99.0
2024-03-18 20:22:23 +01:00
Heiko August
722b7334a3
Change: reorder the list of files again and add further information
...
Upgrade starting with a version between 2.4.19 and 2.4.24
2024-03-18 20:22:23 +01:00
Heiko August
45a8950e4c
Change: reformatting of the list of files to upgrade (upgrade starting with 2.4.99.2 or 2.4.99.3)
2024-03-18 20:22:23 +01:00