Commit graph

80 commits

Author SHA1 Message Date
Heiko August
f8afdd9363 Fix: forgot to add the change in includes/user.inc.php (#243)
... in the update-script
2017-07-10 15:37:28 +02:00
Heiko August
99a9d1050b Merge pull request #236 from auge8472/v2.4.3
preparations for version 2.4.3
2017-07-09 21:52:05 +02:00
Heiko August
cc07e2f22b Fix: the function expects one parameter, not two of them 2017-05-24 15:49:50 +02:00
Heiko August
2cdb553edf Fix: hunted a silly bug in string concatenation 2017-05-24 15:49:12 +02:00
Heiko August
dea8985f5b Fix: once again, don't use table names from the testing environment 2017-05-24 15:42:14 +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
4ff0fdbb46 Change: list of changed files 2017-05-23 18:56:14 +02:00
Heiko August
1159f67c0d Change: add version 2.4.2 to the list of updateable versions 2017-05-23 18:55:13 +02:00
Heiko August
c680a768b5 change collation for mlf2_userdata.user name to utf8_bin (#227)
* Fix: set collation of "user_name" to utf8_bin to distinguish i.e. between "a" and "ä"
* Fix: change collation for user name to utf8_bin also in the update process
* Change: reorder the list of queries to the correct order
* Change: clarify the description of instructions
2017-05-14 13:48:51 +02:00
Heiko August
ec70486b46 Add further indices to speed up the queries … (#192)
* Change: add indices to the entries table, speeds up the query execution
* Change: add indices to the read status table, speeds up the query execution
* Change: further index for column last_reply
* Change: additional indices for user data table
2017-03-31 16:50:53 +02:00
Heiko August
8ec1075fa7 Fix: when fetching one line, the counter is wrong 2017-03-12 13:54:10 +01:00
Heiko August
bdeda781ed Fix: wrong string delimiters, used ones for names for the values 2017-03-12 13:54:05 +01:00
Heiko August
ebddccbbe6 Change: add the version 2.4.1 to the list of updateable versions 2017-03-12 12:46:58 +01:00
Heiko August
c8a80b33c8 Change: add the list of files which has to be actualised 2017-03-12 12:46:34 +01:00
Heiko August
005e9b33f2 Change: update function for version 2.4.2
Check the structure of settings table. If column 'name' has no PK, set it.
2017-03-12 12:18:43 +01:00
Micha
911ae16911 Sorting Update List (#178)
- The files as well as the folders are sorted (by php function sort)
- see https://github.com/ilosuna/mylittleforum/issues/177
2017-02-26 20:00:40 +01:00
Heiko August
5e0a92a982 Change: add code for the update to version 2.4.1 2017-02-20 19:30:44 +01:00
Heiko August
de3e4ceb16 Fix: add a more descriptive error message for absence of the new file VERSION (#173)
fixes #173
2017-02-20 16:30:31 +01:00
Heiko August
a05f884f90 Remove: old update file for 2.x to 2.3 2017-02-16 09:35:57 +01:00
Heiko August
a102812e23 Change: make the update script ready for version 2.4 2017-02-16 09:19:03 +01:00
Heiko August
d24c75a7e6 data for new pre release 2.3.99.3 (#164)
* Change: add changes and fixes for version 2.3.99.3
* Change: add the data for version 2.3.99.3
* Change: add the new version number 2.3.99.3
2017-02-05 13:58:09 +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
5e2fad4217 Fix: use the last release number instead the new one 2016-12-04 19:36:31 +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
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
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
0cbc68d043 Remove item (#108)
- remove duplicate item 'auto_lock_old_threads' in setting table
2016-11-24 18:28:30 +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
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
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
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
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
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
5c736336c4 Bookmark, JavaScript and CSS, Preview window (#39)
* Bookmark

Add bookmark function to single postings

* Multiple changes

- Add bookmark function, cf.
https://github.com/ilosuna/mylittleforum/issues/38
- Show preview window on hover, if desired(!): set ajax_preview=2, cf.
https://github.com/ilosuna/mylittleforum/pull/37
- Replacing of inline-style elements in JS code by CSS classes, cf.
https://github.com/ilosuna/mylittleforum/pull/18 and
https://github.com/ilosuna/mylittleforum/issues/16

* Update db_settings.php

* Add phrases

Add content for issue https://github.com/ilosuna/mylittleforum/issues/32

* bubble-icon behavior

- Disable bubble-icon if posting is empty
https://github.com/ilosuna/mylittleforum/issues/40
- Add CSS issue https://github.com/ilosuna/mylittleforum/pull/41
2016-10-13 18:29:35 +02:00
Heiko August
5f477e35b8 Change: included the files that changed between v2.3.7beta and the final 2.3.7-release 2016-10-10 13:23:26 +02:00
Heiko August
1a3140f1f8 Change: add update and install routines for version 2.3.7 (#26)
fixes #26
2016-10-04 19:41:40 +02:00
Micha
9a8ae4a277 Fix: update function (#22)
Fix bug in update function, fixes #21
2016-10-04 19:25:38 +02:00
Micha
5eacca5fb3 login blocking configuration (#20)
* login blocking configuration

The setting variable 'temp_block_ip_after_repeated_failed_logins' has
now a new meaning. A zero means off/not used and a value greater than
zero indicates a timespan.

* Version

Add version '2.3.6'
2016-10-04 18:01:01 +02:00
Heiko August
637271a15c Fix: only use mysqli-functions, when updating to 2.3.6
The forum uses since v2.3.5 the mysqli instead the mysql library in PHP.
Thatswhy there can't be an update function from older versions.

There is no update to v2.3.6 without an interim step via version 2.3.5.
2016-08-04 21:44:51 +02:00
Heiko August
ae29e0fca1 Change: update update script, new version strings 2016-08-04 21:09:59 +02:00
Heiko August
0b47232444 Change: set the URL to the new download location 2016-08-04 21:01:36 +02:00
Alex
dcf930630a Update changelog and update script 2016-05-31 17:05:05 +02:00
Alex
23e0c4d353 PHP 7 modifications (e.g. replace mysql_* by mysqli_* functions) 2016-05-31 14:08:09 +02:00
Alex
7eb9702031 Sticky thread fix, iOS JS fix, template and translation fixes (http://mylittleforum.net/forum/index.php?id=8512) 2016-03-13 17:49:28 +01:00
Alex
522981ecbc Update changelog and update script 2015-02-08 17:26:18 +01:00
Alex
000eb668da Update update script 2015-02-08 11:41:25 +01:00