Commit graph

689 commits

Author SHA1 Message Date
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
Heiko August
1519b0091d Fix: don't add column id (PK, Auto Increment) when read_per_user is an unique index (#79) 2016-11-16 19:50:05 +01:00
Heiko August
d680aa4757 Create read-status-table (#74)
* Change: new table mlf2_read_entries
* Fix: forgot to add the assembling of the table name in update script
* Change: add column time to store the last request for an entry
* Fix: rename column 'e_id' to 'posting_id' for consistency

fixes #71
2016-11-14 10:56:04 +01:00
Micha
2735994677 consider modified lang files (#69)
- add lang-directory to update routine v2.4
2016-11-06 20:27:49 +01:00
Heiko August
37c03517be put all new strings to all language files in english (default language) (#68)
* Change: add untranslated strings to chinese, croatian and german languages

* Change: put new untranslated english strings into every langauge file
2016-11-06 20:06:38 +01:00
Heiko August
6627539a28 version check from file (#66)
* Change: read new version number from file in case of an update

* Fix: put the version checks into a block, that will only be executed in absence of an error

* Fix: stop update even with equal version numbers of current installation and update version

* Fix: compare the current version with the array of allowed version numbers, not with version number of the update

* Change: replace $update['version'] with $newVersion

It's not part of the given data and will be read from the file VERSION.
Thatswhy it is now a separated variable.

* Change: use the file VERSION to get the version number

* Fix: relative path must be given from the requested script, not the included one
2016-11-06 13:36:04 +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
ca4a8b5867 Overwrite db_settings array (#61)
- override db_settings_array to fix issue
https://github.com/ilosuna/mylittleforum/issues/60
2016-10-26 22:26:55 +02: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
5613288940 Overwrite db_settings on update (#59)
- overwrite the db_settings and add new database table 'bookmarks'
- marked changed files with pull-ids
2016-10-22 16:50:01 +02:00
Micha
96a7c163b1 Chech array elements (#57)
- check if array alements exist
2016-10-22 13:04:15 +02:00
Heiko August
081a1e6df5 Add: a new box with a link to the latest release in the Github repo (#56) 2016-10-21 19:14:51 +02:00
Micha
aeec3ce2d4 Remove Subfolders (#55)
* Remove Subfolders

- remove subfolders from update list, if the parent folder is also in
list, cf. http://mylittleforum.net/forum/index.php?id=9359
2016-10-20 14:32:39 +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
Micha
a21b131642 prevent 404 error (#49)
- Add path to favicon of the default template to prevent a 404 error
2016-10-16 13:49:04 +02:00
Micha
a6ccd23023 Change tab order (#47)
- BBCode Button will be excluded by tab order
- AjaxPreviewWindow will be excluded by tab order
- Captcha field will be included to tab order

see: http://mylittleforum.net/forum/index.php?id=8601
2016-10-15 13:48:05 +02:00
Micha
41bc27e273 Add Bookmark table (#46)
Add bookmark table to install-script
2016-10-14 19:40:56 +02:00
Heiko August
7451911a8d Merge pull request #42 from auge8472/clean
Cleanup of ancient and obsolete code fragments, fixes #15
2016-10-13 22:36:19 +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
Heiko August
3400ebdd88 Change: remove spreaded funtion calls, are unified nowadays 2016-10-13 22:03:55 +02:00
Heiko August
65fe952d86 Change: removed some outdated one-line code fragments 2016-10-13 22:01:23 +02:00
Heiko August
c69cc38bba Change: remove outdated code 2016-10-13 21:53:33 +02:00
Heiko August
6d1790955d Change: remove unused email sending code
Was disabled before because of a possible leak of a forums userdata.
2016-10-13 21:53:11 +02:00
Heiko August
3d05edf1c5 Change: remove old language-overwrite-code 2016-10-13 21:52:46 +02:00
Heiko August
8a05122d6d Change: remove old, unused behaviour for email text formatting 2016-10-13 21:52:13 +02:00
Heiko August
2e5881b35a Change: remove outdated image-size-code 2016-10-13 21:51:40 +02:00
Heiko August
b6420298d6 Change: remove unused code 2016-10-13 21:51:07 +02:00
Heiko August
82cb503bce Change: unused code for mail-header-building 2016-10-13 21:50:34 +02:00
Heiko August
636b0a3c49 Change: remove unused forum-entry-actualisation-queries 2016-10-13 21:50:06 +02:00
Heiko August
e0f09510c4 Change: remove unused search-for-user-query
It has it's more sophisticated successor below.
2016-10-13 21:49:37 +02:00
Heiko August
da80492dc8 Change: remove unused language file check 2016-10-13 21:49:01 +02:00
Heiko August
1ecc3a3064 Change: remove unused md5-function calls, md5 is outdated! 2016-10-13 21:48:32 +02:00
Heiko August
6fd860a5ea Change: remove query to list all entries of a special user
The request lists all entries of an user when these entries should be deleted.
It's not in use anymore.
2016-10-13 21:47:44 +02:00