Commit graph

689 commits

Author SHA1 Message Date
Heiko August
fef88d86da Fix: use dirty die instead wrong break (#162)
fixes #158
2017-02-05 12:29:48 +01:00
Heiko August
d0ab56e596 Change: add spans for hideable interpunction (#161)
Additional preparation for responsive themes.
2017-02-05 11:26:42 +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
28288031ee Change: new version number (#154)
closes #152
2017-01-24 19:58:19 +01:00
Heiko August
ba42369e62 added the necessary code for a new release (v2.3.99.2) (#153)
* Change: add a block for the updated files of the intern pre release 2.3.99.1
* Change: make intern testing version 2.3.99.1 updateable
* Change: added changelog for the pre release 2.3.99.2

see also #152 
* Change: added the version string to the comment block in the index.php

* Change: added the infos about the co-authors
2017-01-24 19:52:46 +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
d74f44ea39 Merge pull request #149 from auge8472/master
redo the last merge because of asynchronisms between the trunk and my repo
2017-01-22 17:32:37 +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
14c8ae3bf6 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.
2017-01-05 23:05:08 +01:00
Heiko August
a84a4a8b53 Fix: a new entry can't be read and a read one can't be new
An entry is either new or read but it can't be both.
Use the new read status for registered users and the old
cookie based behaviour for not registered visitors.
2017-01-05 22:52:40 +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
Heiko August
2cd8659d47 Fix: add the listing comma to chinese word separators 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
e4fe0fb1b0 Merge pull request #131 from auge8472/bugfixing
fixed several bugs
2016-12-04 20:06:11 +01:00
Heiko August
8667351996 Fix: forgot to add the changes of PR #122 to the minified file versions 2016-12-04 20:02:15 +01:00
Heiko August
4dd17c6b0c Fix: correcting wrong parenthesis 2016-12-04 19:37:49 +01:00
Heiko August
5e2fad4217 Fix: use the last release number instead the new one 2016-12-04 19:36:31 +01:00
Heiko August
b9f0f0f3f5 Fix: provide links for backup of the new tables (#130) 2016-12-04 18:07:59 +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
caa437cbde - limit the number of entries in read_entires-table (#126)
- 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
- remove intval-call
2016-12-02 17:11:41 +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
Heiko August
6b2602fe06 Change: alter settings table and rewrite the settings (#120)
* Change: alter settings table and rewrite the settings
* Change: tread a simpler path than with the temporary array. Renaming the old and creating a new table with a following INSERT is much more simple.
* Fix: remove the code for deleting the (doubled) setting auto_lock_old_threads
* Fix: add ON DUPLICATE KEY UPDATE to avoid multiple inserts. During the development it's expectable, that an update occurs several times. It would fail in this line because of the new primary key.
* Change: new tables should be of type InnoDB
* Change: a few comments and a bit cosmetic

this fixes #99
2016-12-02 12:01:38 +01:00
Heiko August
1f5df75589 Shrink and disable elements with a class at their parents (#122)
* Change: use a class to toggle entries in nested view

Use it for the parent element instead for every
single element, that should be manipulated.

* Change: toggle sidebar with a class at the parent element
2016-12-01 21:26:47 +01:00
Heiko August
fe5c188387 Change: more space for a few form fields (#121)
Make the fields for image size a bit wider.
2016-11-30 17:59:16 +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
aa98794a4c - Transfer read state to new table on update (#117)
- regard number of postings in setting table i.e. 'max_read_items'
- see https://github.com/ilosuna/mylittleforum/issues/77
2016-11-27 15:47:14 +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
df993f25ad - CSRF-Token (#111)
- add CSRF token to admin form
2016-11-26 10:21:30 +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
Micha
0cbc68d043 Remove item (#108)
- remove duplicate item 'auto_lock_old_threads' in setting table
2016-11-24 18:28:30 +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
c66b6576dc Fix: remove doubled entry auto_lock_old_threads (#100)
fixes #98
2016-11-23 20:07:43 +01:00
Heiko August
afccebc1cc Fix: again, don't use testing code (#94)
fixes #92
2016-11-21 18:16:28 +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
b98140a882 Fix: syntax error (comma and semicolon) (#89)
add a comma, remove a semicolon
2016-11-20 23:09:11 +01:00
Heiko August
8c44a01fb0 set :visited for thread-links (#88)
* Change: set :visited as fallback and base for .read
* Change: use :focus for keyboard users as complement to :hover
* Change: remove '!important' from rule for a.read:active

fixes #87
2016-11-20 22:39:14 +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
Micha
adbf996962 Transfer read state to new tabel (#81)
- SQL to transfer read state from 'userdata_table' to new table
'read_status_table'
- SQL to remove column 'entries_read' from 'userdata_table'
2016-11-17 21:26:22 +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