Commit graph

819 commits

Author SHA1 Message Date
Heiko August
6f826dd919 Fix: provide table change statement for mlf2_tags also for version change to 2.4.99.2 2019-08-26 21:23:42 +02:00
Michael Loesler
570abbe880
new users (created by admin) (#508)
- corrected error message if the length of the user name is invalid
- corrected setting variable used in if-condition that checks the length (`$settings['username_maxlength']` instead of `$settings['name_maxlength']`, which is used for the real name of the user)
2019-08-18 18:14:36 +02:00
Michael Loesler
414168b8f2
Replace definition of constant array by normal array (#507)
- since PHP 5 doesn't support arrays in define(), the config files are invalid, see https://mylittleforum.net/forum/index.php?id=11912
- removed define() function call and used _normal_ arrays syntax
- created a single instance of B8 instead of using multiple instances (added new include file)
2019-08-17 19:35:42 +02:00
Heiko August
eb24c33d49 Merge remote branch 'master' to commit unknown changes 2019-08-08 15:58:31 +02:00
Heiko August
bf20a5adfe Change: add list of changes to the changelog 2019-08-08 15:56:00 +02:00
Heiko August
5f48894f1e Change: add the queries for altering the table type to InnoDB also to the update script 2019-08-08 15:51:03 +02:00
Heiko August
f436357195 Change: a further code style thingy 2019-08-08 15:50:30 +02:00
Heiko August
28059c1574 Change: add version 2.4.99.1 to the list of updatable versions 2019-08-08 15:07:34 +02:00
Heiko August
182cafaaeb Change: new version number 2.4.99.2 2019-08-08 15:07:12 +02:00
Heiko August
e3d94da3e8 Fix: limit the column size of mlf2_tags.tag to a length of 128 chars
This is because of the limited index size. Analogue to the change in the update script.
2019-08-08 15:04:05 +02:00
Heiko August
364317f65b Change: code style thingamabob 2019-08-08 15:03:27 +02:00
Heiko August
a00ba3643c Fix: column size of mlf2_tags.tag exceeded the possible index size 2019-08-08 15:01:10 +02:00
Heiko August
94ab46a3e2 Change: added index.php as file to update with version 2.4.99.2 2019-08-08 15:00:20 +02:00
Heiko August
22ba3ca0f8 Fix: bring the column for the tag string to max size of 128 chars 2019-08-04 22:24:32 +02:00
Michael Loesler
f3496fc515
Contacting options (#505)
* Contacting options

- added option for user contacting (mod/admin == 0, reg. users == 1, everybody == 2)
- for details see https://github.com/ilosuna/mylittleforum/issues/465

* File list

- added changes to file list
2019-07-21 16:12:46 +02:00
Michael Loesler
5456b3076f
Fix access for reg. users (#504)
* Fix access for reg. users

- if $settings.user_area_access was set to $settings.user_area_access == 2 reg. users don't have access to the user area
- fixed if-stmt for reg. users - https://github.com/ilosuna/mylittleforum/pull/470 , https://github.com/ilosuna/mylittleforum/pull/503

* pull id

- added pull id
2019-07-20 15:29:38 +02:00
Michael Loesler
78a64d9cf1
Fix access for admins/mods (#503)
* Fix access for admins/mods

- if was set to `$settings.user_area_access == 2` admins/mods don't have access to the user area (because admin/mod are users, too)
- fixed if-stmt because admins and mods should always have access to the user area

* added update item

- added update item to file list
2019-07-20 14:59:48 +02:00
Michael Loesler
a143d5a4f6
Missing worst case scenario (#502)
- added else statement to generate an error if config file is located elsewhere
2019-07-20 14:04:08 +02:00
Michael Loesler
32dfc8ce4d
Mail copy to sender (#501)
* Mail copy to sender

- added option to send mail copy to senders email, if sender is a regisered user
- removed option to change the email during contacting (if user is registered)
- see https://github.com/ilosuna/mylittleforum/issues/238 for details
- re-formatted contact.inc.php

* pull id

- added pull id
2019-07-20 12:49:11 +02:00
Michael Loesler
090d8df5a5
Update install and update script (#500)
- Update install and update script for PHPMailer configuration
2019-07-20 10:05:59 +02:00
Michael Loesler
f952a8a29d
clear recipients (#499)
- clearing all recipients of PHPMailer
2019-07-20 10:01:46 +02:00
Michael Loesler
14bdcb9c45
PHPMailer (#498)
* PHPMailer

- added PHPMailer (https://github.com/PHPMailer/PHPMailer) as module to enable SMTP support, see https://github.com/ilosuna/mylittleforum/issues/348

* File/SQL update

- added files to update list
- added SQL property php_mailer (1 == on -> use PHPMailer, 0 == off  -> use php mail function)
2019-07-18 22:15:00 +02:00
Michael Loesler
ab7c478556
B8 unlearn on edit posting (#497)
- to avoid redundantly trainning data on edit a posting, the decision of the original posting is removed from trainning DB
2019-07-14 17:16:33 +02:00
Michael Loesler
cb6c3562ba
Handle mod/admin posting by B8 as HAM (#496)
- flag postings of admin/mod always as HAM (use it also to train the filter)
2019-07-13 14:02:32 +02:00
Michael Loesler
53fa1564b7
SQL (#495)
- correcting SQL statement to display threads, that contains at least one spam posting
- https://github.com/ilosuna/mylittleforum/issues/473
- https://github.com/ilosuna/mylittleforum/pull/488
2019-07-01 23:19:54 +02:00
Michael Loesler
2d2cee8fd6
Tags (#494)
* Tags

- added option to insert tags by 0 == no one, 1 == admin/mod, 2 == reg. users, or 3 == everyone
- https://mylittleforum.net/forum/index.php?id=11835
2019-07-01 22:17:50 +02:00
Michael Loesler
285fb013ef
B8 config file (#493)
- created config file for B8
- see https://github.com/ilosuna/mylittleforum/issues/492
2019-06-24 22:11:00 +02:00
Michael Loesler
2eeffd10a3
SPAM warning message (#491)
* redirect user, if posting is classified as SPAM

If the posting is classified as SPAM, redirect the user to the single entry view, which contains the SPAM warning message
2019-06-16 15:25:27 +02:00
Michael Loesler
d57041ee0e
UI-elements to handle spam/ham postings (#488)
- use default UI elements and implementation to handle spam/ham entries
- remove spam-list links from sidebar
- clean up search.inc.php
2019-06-15 20:40:36 +02:00
Michael Loesler
6bc73d36e2
Remove smarty code (#490)
- removed smarty code, which was added for debugging in https://github.com/ilosuna/mylittleforum/pull/489
2019-06-14 21:06:51 +02:00
Michael Loesler
1448512a40
B8 contact (#489)
* b8 for mail check

- added option to check emails via B8
- added DB entry 'b8_mail_check' (Default: FALSE)
- replace `error_spam_suspicion` by `error_email_spam_suspicion` key
- corrected wrong key `akismet_check_registered` by `spam_check_registered`
2019-06-14 20:58:59 +02:00
rwa
622a98e3c3 remove checkbox for flash (#487) 2019-06-09 17:54:18 +02:00
Heiko August
fb6d9d5230
Merge pull request #486 from guzzisti/sql_innodb
Change: switch storage engine for all tables to InnoDB
2019-06-08 18:37:40 +02:00
rwa
8e28529bce
add alter statements for switch to innodb 2019-06-07 21:01:58 +02:00
rwa
0f96bcc87b
set innodb as default engine 2019-06-07 20:53:55 +02:00
Heiko August
9af7de1eef
Merge pull request #485 from guzzisti/sql_fix
Fix: correct the collation of the wordlist table

author @guzzisti 
fixes #482
2019-06-06 10:07:21 +02:00
rwa
eac21c75a3
set default collation for mlf_b8_wordlist 2019-06-05 19:45:10 +02:00
rwa
7015078967
fix creation of wordlist table 2019-06-05 19:38:10 +02:00
Michael Loesler
23dc93d193
Notification mails (#484)
- check for spam and send notification, if entry was wrongly flagged as spam
- DO NOT send mail, if entry is used for trainning ham messages
2019-06-03 23:07:21 +02:00
Heiko August
c1b9a7263f Change: set the required minimal MySQL version to 5.5.3
This is necessary to be able to use utf8mb4 as charset.
2019-06-01 22:55:02 +02:00
Heiko August
7b88070648 Change: add new version string to index.php 2019-06-01 22:50:00 +02:00
Heiko August
cb1542037a Change: add the list of changed files for version 2.4.99.1 2019-06-01 22:37:20 +02:00
Heiko August
a230fbbac5 Change: add the changelog for version 2.4.99.1 2019-06-01 22:37:20 +02:00
Heiko August
915e9989d2 Change: add the changelog for version 2.4.99.0 2019-06-01 22:37:20 +02:00
Heiko August
71288dc4e5 Change: amend the changelog entries for versions 2.4.9 to 2.4.20 2019-06-01 22:37:20 +02:00
Heiko August
fae3dbfd2b
Use the full width of 4 byte for UTF-8 to store text data in the database (#478)
* Change: set utf8mb4 as charset for most textual columns during installation

Affected tables:

- mlf2_b8_wordlist
- mlf2_banlists
- mlf2_bookmarks
- mlf2_categories
- mlf2_entries
- mlf2_entries_cache
- mlf2_pages
- mlf2_tags
- mlf2_userdata
- mlf2_userdata_cache

* Change: set utf8mb4 as charset for most textual columns during update

Affected tables:

- mlf2_b8_wordlist
- mlf2_banlists
- mlf2_bookmarks
- mlf2_categories
- mlf2_entries
- mlf2_entries_cache
- mlf2_pages
- mlf2_tags
- mlf2_userdata
- mlf2_userdata_cache

* Change: ater the collation of the user_name column from utf_general_ci to the utf8mb4-version

* Change: set the charset of the database connection to utf8mb4

* Change: reformat the function connect_db, remove unused, commented code

* Change: reorganise the database queries for the last changes

Put the following changes into the block for a new version 2.4.99.1.

- new charset utf8mb4 for most of the database tables
- new setting user_area_access, replaces user_area_public

* Change: new version 2.4.99.1
2019-06-01 21:25:26 +02:00
masju1
716915bdb5 Check valid Email
- Used `filter_var($mail, FILTER_VALIDATE_EMAIL)` to check for valid emails instead of using a regexp
2019-06-01 12:48:40 +02:00
Heiko August
3730671a99 Change: style the new button for quote inserting like the link it was before 2019-05-25 11:31:36 +02:00
Heiko August
a9b3635294
Merge pull request #475 from ilosuna/quote
Replace quote-link with a button, fixes #474
2019-05-23 22:30:47 +02:00
Michael Loesler
9f0b88403a Remove blank
- remove blank (style should defined in css)
2019-05-23 22:14:32 +02:00