Commit graph

819 commits

Author SHA1 Message Date
Heiko August
d049b498ab Change: add the list of changes, updates, fixes and features to the changelog file 2022-05-08 18:07:13 +02:00
Heiko August
7c5d798c19 Change: add the new version number to the introducing comment block in index.php 2022-05-08 18:07:13 +02:00
Heiko August
9e21b01afd Change: add all database changes to the file update/update.sql 2022-05-08 18:07:13 +02:00
Heiko August
0e965f125b Change: new version number inthe file config/VERSION 2022-05-08 18:07:13 +02:00
Heiko August
243a0fd678 Fix: add the lost bracket, it's non existence caused a syntax error 2022-05-08 18:07:13 +02:00
Heiko August
cd962b0fa0 Change: add the list of files to replace to the completed list of versions 2022-05-08 18:07:13 +02:00
Heiko August
2338871205 Change: add the interim versions between 2.4.20 and 2.4.99.0 to the list of versions that are upgradable 2022-05-08 18:07:13 +02:00
Heiko August
a921dcba7b Change: add key creation for B8_spam and B(_training_type to the update and installation script 2022-05-08 18:07:13 +02:00
Heiko August
cd6365bfff Change: add the unique keys that appears in the update script also to the installation script and vice versa 2022-05-08 18:07:13 +02:00
Heiko August
616894bdb8 Change: add the versions between 2.4.20 and 2.4.99.0 to the list of versions to update 2022-05-08 18:07:13 +02:00
Heiko August
3e62ff55be Change: make key_user_name UNIQUE as in the update script
See update_2.4.19.1-2.5.php, block for update up to 2.4.99.3, ALTER TABLE mlf2_userdata
2022-05-08 18:07:13 +02:00
Heiko August
3ec6d7cc1f Cleanup: remove the commented replaced and outdated function calls of strftime 2022-05-01 17:53:56 +02:00
Heiko August
e5ee7fbd40 Change: replace a remaining strftime with date
See Github PR #587
2022-05-01 17:53:56 +02:00
Heiko August
3850208d5d Change: return an empty provided string before starting the processing in the function my_substr 2022-05-01 17:46:00 +02:00
Heiko August
adedc72d7c Change: check variables for content because null value for function (l|r)trim is deprecated with PHP 8.1 2022-05-01 17:46:00 +02:00
Michael Lösler
416119b21d
Check database (#593)
- check if database name is passed
2022-04-29 17:03:27 +02:00
Michael Lösler
b0eb5e2381
Key (#592)
- corrected key as suggested by @auge8472
2022-04-29 16:53:16 +02:00
Michael Lösler
fa5fa08746
Installation routine (#591)
- set `error_reporting = 0` for smarty because this function depends on the php function `error_reporting()`
- check `$db_settings['database']` as suggested by @auge8472 cf. https://mylittleforum.net/forum/index.php?id=12699
- call `mysqli_select_db` function removed
2022-04-29 16:49:55 +02:00
Michael Lösler
13924604fd
get_magic_quotes_gpc removed (#590)
- get_magic_quotes_gpc removed because this function returns alwas false
- get_magic_quotes_gpc is deprecated cf. https://www.php.net/manual/en/function.get-magic-quotes-gpc.php
- see also #552, #553
2022-04-29 16:10:47 +02:00
Heiko August
47f74927f4 Change: move the remaining function call for DragAndDropTable from admin.js to main.js (and .min) and delete admin(.min).js 2022-04-27 12:09:34 +02:00
Heiko August
3820003079 Change: remove strings for confirmation, provided as JS-native confirm dialogue 2022-04-27 12:09:34 +02:00
Heiko August
8c5dfc19fd Change: remove the backup feature related strings from the language files
There is an exception affecting the strings that are meant to get dynamically added to the JS sources.
2022-04-27 12:09:34 +02:00
Heiko August
6b01eb88bd Change: remove Backup.class.php
There was no reference for this class in the whole PHP-code!
2022-04-27 12:09:34 +02:00
Heiko August
a42e1618d8 Change: remove the icon image for the backup feature 2022-04-27 12:09:34 +02:00
Heiko August
0020350ace Change: remove function restore_backup 2022-04-27 12:09:34 +02:00
Heiko August
32cca5deaa Change: remove function create_backup_file 2022-04-27 12:09:34 +02:00
Heiko August
fc4b7fe5da Change: remove the PHP-code for generating the UI of the backup feature 2022-04-27 12:09:34 +02:00
Heiko August
0cc6e5de73 Change: remove last check for a valid delete action for a backup file 2022-04-27 12:09:34 +02:00
Heiko August
5c68f42a79 Change: remove the code for restoring data from a backup file 2022-04-27 12:09:34 +02:00
Heiko August
163504e126 Change: remove the code for running a backup creation 2022-04-27 12:09:34 +02:00
Heiko August
7293d55ea0 Change: remove the code for deleting backup files 2022-04-27 12:09:34 +02:00
Heiko August
eaa347ebdc Change: remove the code for downloading a backup file 2022-04-27 12:09:34 +02:00
Heiko August
b4695747e2 Change: remove the frontend of the backup feature we plan to remove 2022-04-27 12:09:34 +02:00
Heiko August
39a0c3b00b Refactor: code style, use spaces for indentation 2022-04-24 21:56:55 +02:00
Heiko August
f76488f11d Change: let default theme use modern HTML(5) 2022-04-24 21:56:55 +02:00
Michael Lösler
0e62783d9b
strftime (PHP 8) (#587)
- strftime has been dprecated as of PHP 8.1
- replaced by date
2022-04-22 22:05:15 +02:00
Michael Lösler
ef9c673930
isset (#586)
- replaced empty by isset to pass 0
2022-04-22 18:28:14 +02:00
Michael Lösler
b3f1fa4e04
Automatic conversion (#585)
- Automatic conversion of false to array is deprecated in PHP 8
2022-04-22 18:25:46 +02:00
Michael Lösler
332551b15c
Passing null (#584)
- PHP 8.1 PHP Deprecated: implode(): Passing null to parameter #1 ($string) of type string is deprecated
- checked first parameter
2022-04-22 18:13:51 +02:00
Michael Lösler
adc6392686
PHPMailer v6.6.0 (#583)
- updated PHPMailer v6.6.0
2022-04-22 17:55:00 +02:00
Michael Lösler
3ea84709db
Samrty v4.1.0 (#582)
- updated Smarty v4.1.0
2022-04-22 17:16:45 +02:00
Michael Lösler
9b7a803302
create_function (PHP 8) (#581)
- create_function has been removed in PHP 8
- replaced by anonymous function
2022-04-22 14:45:13 +02:00
Michael Lösler
38fc8f5a79
Type Error (#580)
- Uncaught TypeError: Cannot read properties of undefined (reading 'push') was thrown, if compressed version was loaded
- posting.js is compressed (without changes) using https://refresh-sf.com/
2022-04-21 16:47:38 +02:00
Michael Lösler
b8daf951c0
Type Error (#579)
- Uncaught TypeError: Cannot read properties of undefined (reading 'push') was thrown, if compressed version was loaded
- admin.js is compressed (without changes) using https://refresh-sf.com/
2022-04-21 15:55:28 +02:00
Michael Lösler
563eb22ef3
Default target (#578)
- The default target (specified in forum settings by the admin) is used to open links in a dedicated frame
2022-04-21 15:48:28 +02:00
Michael Lösler
d0b85b361f
Typo (#577)
- Typo corrected in i18n file
2022-04-21 14:15:07 +02:00
Heiko August
33842ad3cb Change: prioritise the user setting open_links_in_new_window over the general setting forum_based_link_target 2022-04-20 10:13:29 +02:00
Heiko August
3b1acd2a09 Fix: read the user setting browser_window_target from the correct array
To use the array $usersettings as source is wrong because it is as an interim step to enlive $_SESSION[mlf2_usersettings] in all other cases. So using $_SESSION[mlf2_usersettings]as the source is the right way to go.
2022-04-20 10:13:29 +02:00
Heiko August
bb65829732 Change: print the forum setting link_open_target to the JS-array settings 2022-04-20 10:13:29 +02:00
Heiko August
2ccf978ad4 Fix: put the value of browser_window_target to the usersettings whenever it get read or edited 2022-04-20 10:13:29 +02:00