Commit graph

140 commits

Author SHA1 Message Date
Heiko August
b282f900d7
Fix: sort users by their names in natural order (case insensitive) (#279)
fixes #274
2017-11-05 15:26:42 +01:00
Heiko August
4317ca75e0
Fix: corrected database query, was broken mix of SELECT and UPDATE (#277)
fixes #272
2017-11-05 14:56:38 +01:00
Heiko August
3dfa97de21
Fix: broken if-statement, wrong nesting of parenthesis (#276)
fixes #273
2017-11-05 14:12:22 +01:00
Heiko August
eb88e30528 Cleanup: reformatting of posting.inc.php 2017-11-05 13:28:17 +01:00
Heiko August
dc3966d902 Cleanup: reformatting of register.inc.php 2017-11-04 22:42:25 +01:00
Heiko August
6bdfc1c2b8 Cleanup: reformatting of search.inc.php 2017-11-04 22:42:04 +01:00
Heiko August
dd3e10e8ae Cleanup: reformatting of rss.inc.php 2017-11-04 22:41:40 +01:00
Heiko August
c86fb16991 CLeanup: reformatting of main.inc.php 2017-11-04 21:37:20 +01:00
Heiko August
c96138f1db Cleanup: reformatting of upload_image.inc.php 2017-11-04 20:57:45 +01:00
Heiko August
338b4a5d6d Cleanup: reformatting of page.inc.php 2017-11-04 20:57:21 +01:00
Heiko August
0370b7db6f Cleanup: reformatting of admin.inc.php 2017-11-02 16:37:25 +01:00
Heiko August
f65feacc34 Cleanup: reformatting of user.inc.php 2017-11-02 16:17:26 +01:00
Heiko August
9a0da28d21 Cleanup: reformatting of login.inc.php 2017-11-01 22:27:36 +01:00
Heiko August
0e6bb12302 Cleanup: reformatting of js_defaults.inc.php 2017-11-01 22:26:41 +01:00
Heiko August
894bfbf851 Cleanup: reformatting of insert_flash.inc.php 2017-11-01 22:25:32 +01:00
Heiko August
4a947d7cbe Cleanup: reformatting of avatar.inc.php 2017-10-31 20:26:10 +01:00
Heiko August
2c5b6dc54c Cleanup: reformatting of account_locked.inc.php 2017-10-31 19:13:54 +01:00
Heiko August
01bd2eb881 Cleanup: remove a few whitespaces, add a few SQL maskings 2017-10-31 19:11:52 +01:00
Heiko August
52bb459967 Cleanup: reformatting of disabled.inc.php 2017-10-31 19:02:00 +01:00
Heiko August
e57ec47dfe Cleanup: reformatting of delete_cookie.inc.php 2017-10-31 19:01:25 +01:00
Heiko August
10b30514e8 Cleanup: reformatting of contact.inc.php, a few additional maskings for database queries 2017-10-31 19:00:29 +01:00
Heiko August
5cbb5e8743
Cleanup: reformatting of the file contact.inc.php (#271)
Code intention with tab instead spaces, no functional change.
2017-10-31 18:28:06 +01:00
Heiko August
1f03d65082 Fix: corrected wrong variable name (#262) 2017-10-09 22:29:15 +02:00
Heiko August
10384a34d4 Fix: readded lost marking of the opening posting as new … (#256)
* Fix: readded lost marking of the opening posting as new in case of a new answer
* Change: simplify the if- and else-if-statements
    No need for nested if-statements.
    A further simplfication is possible.
    But IMHO it would make the statement more or less unreadable.
* Fix: ensure $fold_threads to be boolean and hand it over to getMessageStatus
2017-10-03 17:21:36 +02:00
Heiko August
49421f2a85 Change: outsourcing of read- and new-status handling into a function (#255)
fixes #245
2017-09-17 21:23:18 +02:00
Micha
9dab3e042d Handling of the read state in entry thread (#251)
Handling of the read state in entry thread by using code from
thread.inc.php

see also #245
2017-09-16 18:37:11 +02:00
Heiko August
48f2066317 Fix: allow e-mail-addresses with TLDs longer than 4 chars (#249)
The regular expression allows now TLDs with two or more chars. fixes #246
2017-08-31 23:00:10 +02:00
Heiko August
e93157dba4 Fix: rename key for uneven password inputs because of collision with … (#237)
* Fix: rename key for uneven password inputs because of collision with different but same named key
* Fix: use the new key name
2017-05-28 14:32:43 +02:00
Heiko August
b2a66abba7 Handling of the read state reset methods and values (#233)
* Change: use new settings for handling of read state
* Change: add new setings to the SQL-files for update and installation
* Change: queries for new settings and removal of outdated settings to the update script
* Change: remove outdated setting from the SQL file for installation
* Change: new form elements and language strings for read status handling
* Fix: add a check for non exisiting setting reset_read_state
* Fix: wrong name of setting in the form elements
* Change: ensure a valid value for the read state reset method
* Fix: correct wrong name for form field and hardcoded value
2017-05-24 15:04:06 +02:00
Heiko August
45d2bf30a2 distinguish between new and not marked as read also for registered users (#219)
* Fix: an entry is only new, if it is, not, if it's unread
* Change: intendation by tab on a few places

fixes #209
2017-05-01 19:58:52 +02:00
Heiko August
5322d1bc06 pre-populate the field for forum-URL with the correct protocol string (#208)
* Change: new function get isProtocolHTTPS
* Change: use the function to distinguish between a request over HTTP or HTTPS

If a forum will be installed over HTTPS, the pre-populated form field for the forum URL should reflect this.
2017-04-24 16:12:26 +02:00
Micha
d96bf2d022 Last reply (#197)
- extend SQL query for 'last_reply' column
- add last_reply to SQL query
 fixes #195
2017-04-11 12:48:38 +02:00
Micha
173fd88ab1 - simplify get_category_ids (#198)
- replace loop over array items by inbuilt function array_keys
2017-04-08 12:17:22 +02:00
Heiko August
95b1591628 Fix: don't set class .read for not logged in visitors (#183) 2017-03-12 11:15:10 +01:00
Micha
56812c67a9 PHP-Object (#170)
- PHP object is initialized by an array-type to be valid with PHP 5.2
and 5.3.
- see https://github.com/ilosuna/mylittleforum/issues/169
- see http://mylittleforum.net/forum/index.php?id=9828
2017-02-17 21:36:21 +01:00
Micha
2005df442a Extract Download-URI from ATOM-Feed (#165)
- Download/info uri is extracted from ATOM using LINK-element
- RexEx to get the version is updated to match both: '1.2.3' and
'v1.2.3'
- URI is stored in 'temp_infos_table' as 'last_version_uri'
2017-02-05 15:29:07 +01:00
Micha
6889beb723 Check for Null-Value (#160)
- check for Null-Value via COALESCE
- https://github.com/ilosuna/mylittleforum/issues/159
2017-02-04 14:28:25 +01:00
Heiko August
19f83455db Fix: don't duplicate language keys and include the version number inside smarty (#151)
fixes #147
2017-01-23 21:58:36 +01:00
Heiko August
2a0d0a8086 Fix: the block for stating an entry new or read was outside the loop (#150)
fixes #148
2017-01-22 18:05:09 +01:00
Heiko August
798d173ccd Fix: a new entry can't be read and a read one can't be new (#144)
* Fix: a new entry can't be read and a read one can't be new
* Fix: set read or new status in one code block

An entry is either new or read but it can't be both. Decide
the status in one block and use the new read status for registered
users and the old cookie based behaviour for not registered visitors.

fixes #128
2017-01-05 23:10:14 +01:00
Heiko August
ae2395f784 Fix: restore old behaviour of smartys config_overwrite
Before issue #11 the value of config_overwrite was false.
To allow overwriting of config items it was changed to true.
That led to bugs with items, that should act as arrays.
2016-12-26 22:49:53 +01:00
Micha
34b3dd2b4c restrict the 'edited by' - output (#135)
- restrict the if statement by: $settings['dont_reg_edit_by_admin']==1
as well as $settings['dont_reg_edit_by_mod']==1 in last condition
2016-12-26 15:43:27 +01:00
Micha
379ef3f5b7 Activate and unlock user by admin (#136)
- users can be activated by admins but they are not automated unlocked.
--> Add unlock-condition to activate sql
2016-12-10 10:23:57 +01:00
Micha
9133153112 - check existence of $total_views (#133)
- check existence of $total_views to avoid php warning
2016-12-05 17:19:56 +01:00
Heiko August
4dd17c6b0c Fix: correcting wrong parenthesis 2016-12-04 19:37:49 +01:00
Heiko August
cfd62942be take the new tables into account … (#129)
* Change: deleting the new tables in case of uninstalling
* Fix: take new tables into account when executing a backup

fixes #90
2016-12-04 17:31:14 +01:00
Heiko August
62f02ca31d Add the table and a further box in the admin area (#124)
* Change: new table mlf2_temp_infos
* Change: add a box to show the version number of the installed version
* Change: load version info only during daily actions
* Change: simplified release info
* Fix: text change in every language except the base language?!
* Fix: remove superfluous and in some cases script breaking query

close #123
2016-12-04 15:32:34 +01:00
Micha
904772d6fa - remove intval (#127) 2016-12-02 17:17:03 +01:00
Micha
ce26048c25 - limit the number of entries in read_entires-table (#125)
- limit the number of entries in read_entires-table by 'max_read_items',
if and only if 'max_read_items' > 0
- max_read_items <= 0 means unlimited storage
2016-12-02 17:05:07 +01:00
Micha
bb56012811 - Replace getAvatar function (#119)
- replace avatar function to be compatible to PHP <5.3
2016-11-29 19:22:56 +01:00