Commit graph

105 commits

Author SHA1 Message Date
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
Micha
c676616924 - Used word delimiters (#116)
- Word delimiters added to lang files
- delimiters are used in too_long_word function
- see https://github.com/ilosuna/mylittleforum/issues/105

fixes #105
2016-11-28 19:35:43 +01:00
Micha
1aeecbbd22 - correcting regexp (#118)
* - correcting regexp

- correcting regexp
- check variable via isset() and file_exists()

* - remove isset

- isset is not needed
2016-11-28 00:30:08 +01:00
Micha
28ceff5e15 - Added timestamp to avatar filename (#114)
- a timestamp is added to avatar image file name to avoid caching issues
- https://github.com/ilosuna/mylittleforum/issues/113
2016-11-27 14:17:23 +01:00
Micha
01966f62db - Add delimiters to too_long_word-Function (#110)
- adding additional parameter to too_long_word function to specify the
delimiter(s)
2016-11-24 19:57:28 +01:00
Micha
a2d944d17a - too long word check (#109)
- disable the check for too long words, if param '$word_maxlength' is <=
0
2016-11-24 18:39:21 +01:00
Heiko August
969a7c21b8 Change: return to advanced settings after sending form data from advanced settings (#107)
fixes #104
2016-11-24 18:25:32 +01:00
Heiko August
7a115dfe96 Fix: trigger login control with all setting values > 0 (#106)
Setting temp_block_ip_after_repeated_failed_logins define the time limit,
if the value is greater than 0. That has to be respected, when triggering the check.

fixes #102
2016-11-24 17:43:23 +01:00
Heiko August
463508935a Fix: use table name from settings, not the static names from testing (#93)
fixes #91
2016-11-21 12:56:24 +01:00
Heiko August
d792c1e7f3 Read status cleanup (#86)
* Change: remove column 'read_entries' from the database queries
* Change: remove obsolete functions and code for read-status-handling
* Fix: unnecessarily doubled request for column 'ip'
* Cleanup: cosmetic formatting issues

fixes #45
2016-11-20 21:37:26 +01:00
Heiko August
b8b047faf1 Change: set class read with info from read-status-table (#85)
fixes #80
2016-11-20 20:48:40 +01:00
Micha
9f88e86898 Remove read state (#82)
- add new parameter to setting_table called 'read_state_expiration_date'
(default 150 days)
- remove read state if 'auto_lock_old_threads' > 0
- remove read state if 'read_state_expiration_date' > 0
2016-11-18 23:08:39 +01:00
Heiko August
f54a7c61c6 save read status to table (#78)
Store the value only in the database table and not in a cookie or the session.
Make use of a more descriptive name for the function.
resolves #72

* Change: store read-status in the new table
* Change: new parameter user_id, adapted condition and comment
* Change: save the read-status to the new table
* Fix: use correct variable names and types continuous
* Change: unify the variable names and the behaviour of the two bookmark-blocks
* Change: add read-status-marking to nested view
2016-11-17 17:43:01 +01:00
Micha
9e75d0397a Remove read status of entries on delete (#76)
* Remove read status of entries on delete

- remove "read status" on user delete
- remove "read status" on posting delete

* Primary key

- Remove unique definition and add primary key "read_status_table"
2016-11-16 22:50:21 +01:00
Micha
30c66646d6 Regex (#65)
* Add escape sequence

- modify reg exp and add escape sequence

* Adding \p{Cf} to regexp

- Adding \p{Cf} to regexp to filter soft hyphen
2016-11-03 23:38:54 +01:00
Micha
e4c278ff94 show number of unlocked users (#64)
* show number of unlocked users

- SQL-SELECT is added to count the number of unlocked users
- Number of unlocked users is shown in sidebar
- Issue: https://github.com/ilosuna/mylittleforum/issues/62

* Ckeck register_mode

- register_mode value is checked in SQL

* Overwork CSS, SQL, Templates and Image

- SQL checks for empty activate_code
- rename class to non-activated-users
- rename key in lang-fiels to non_activated_users_link
- add new files to update script
2016-11-03 23:24:57 +01:00
Micha
af1694743b Fix command execution issue (#52), fixes #51
* Fix command execution issue

- Check for HTML tags
- add slashes

* Add warning message

- a warning message is displayed in admin area, if install/index.php
still exists (https://github.com/ilosuna/mylittleforum/issues/51)

* Use new admin-info-box

- use new admin info boy to display warning message
2016-10-25 14:52:40 +02:00
Micha
4af0e88ce4 Update checker (#58)
* Update checker, fixes #44 

- read ATOM feed to get information about a new release
- show info in admin-area

* Multipe ways to get external content

- try to use curl, file_get_contents and fsockopen to get content of
external resource

* correct comment

- correct comment

* add return statment

- add return statment to each branch

* Revert "add return statment"

This reverts commit 0240295501.
2016-10-24 17:20:25 +02:00
Micha
96a7c163b1 Chech array elements (#57)
- check if array alements exist
2016-10-22 13:04:15 +02:00
Micha
8d43d794a8 Pattern Modifier (#54)
- add modifier u to switch to UTF-8 mode in regexp function in
contains_special_characters to avoid problems with chinese characters,
cf. http://mylittleforum.net/forum/index.php?id=9353
2016-10-19 11:02:07 +02:00
Micha
1f47b8e382 Count number of views of thread in table view (#50)
- Shows the number of *views of the thread* instead of the number of
*views of the posting* in table view.
2016-10-16 14:20:06 +02:00
Heiko August
52af9dded8 Change: remove ancient code fragment 2016-10-13 22:25:11 +02:00
Heiko August
f44f94841a Change: remove old handling of not accepted words 2016-10-13 22:24:40 +02:00
Heiko August
04ce6011fe Change: remove outdated bb-code replacement for flash 2016-10-13 22:24:08 +02:00
Heiko August
b99f63d9b8 Change: remove outdated check for banned user agents and user names 2016-10-13 22:23:39 +02:00
Heiko August
2f2ec055ed Change: use email address and not the users name 2016-10-13 22:23:00 +02:00
Heiko August
43128e8ffd Change: remove unused mailto-replacement 2016-10-13 22:22:29 +02:00
Heiko August
baf6e26b6f Change: remove a few outdated checks 2016-10-13 22:21:56 +02:00
Heiko August
e7baf0ed5d Change: remove unused signature processing 2016-10-13 22:21:10 +02:00
Heiko August
616de81fb0 Change: remove unused blocks for showing amount of users entries 2016-10-13 22:20:34 +02:00
Heiko August
eeefaff446 Change: remove user data output, could cause privacy leak if activated 2016-10-13 22:19:42 +02:00
Heiko August
049513d93d Change: default forum time should not be shown at that point 2016-10-13 22:19:19 +02:00
Heiko August
8e711c278a Change: remove buggy and by this reason replaced database query 2016-10-13 22:18:29 +02:00
Heiko August
d29bc6e6e1 Change: outdated function calls removed 2016-10-13 22:17:52 +02:00
Heiko August
60177376e8 Change: removed some code fragments from user.inc.php 2016-10-13 22:16:13 +02:00
Heiko August
f4411f4858 Change: removed outdated code from posting.inc.php 2016-10-13 22:08:39 +02:00