Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Jun 18, 2024
1 parent 9590551 commit 4503c60
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
13 changes: 13 additions & 0 deletions lhc_web/doc/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
4.40v

1. Visitors statistic charts are now generated much faster using database implementation.
2. Iframe bot response type now supports forms.
3. If same department alias is used for multiple departments, online status check will use department sort priority.
4. Canned messages hashtag list will indicate we hit limit and not all results are rendered.
5. Page based invitations now can be combined with general ones. https://doc.livehelperchat.com/docs/proactive#how-to-setup-url-based-invitations
6. Offline form submit will use very first passed department to match online chat logic.
7. Operators will be to test notifications from their account.
8. Various other fixes.

execute doc/update_db/update_310.sql for update

4.39v

1. https://github.com/LiveHelperChat/electron/releases Electron app was updated to 124 chrome version.
Expand Down
4 changes: 4 additions & 0 deletions lhc_web/doc/update_db/structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -11594,6 +11594,10 @@
"new" : {"chat_id" : "ALTER TABLE `lh_chat_online_user_footprint` ADD INDEX `chat_id` (`chat_id`);"},
"old" : ["chat_id_vtime"]
},
"lh_chat_online_user" : {
"new" : {"first_visit" : "ALTER TABLE `lh_chat_online_user` ADD INDEX `first_visit` (`first_visit`);"},
"old" : []
},
"lh_group" : {
"new" : {"disabled" : "ALTER TABLE `lh_group` ADD INDEX `disabled` (`disabled`);"},
"old" : []
Expand Down
1 change: 1 addition & 0 deletions lhc_web/doc/update_db/update_310.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `lh_chat_online_user` ADD INDEX `first_visit` (`first_visit`), ALGORITHM=INPLACE, LOCK=NONE;
4 changes: 2 additions & 2 deletions lhc_web/lib/core/lhcore/lhupdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
class erLhcoreClassUpdate
{

const DB_VERSION = 309;
const LHC_RELEASE = 439;
const DB_VERSION = 310;
const LHC_RELEASE = 440;

public static function doTablesUpdate($definition){
$updateInformation = self::getTablesStatus($definition);
Expand Down
1 change: 1 addition & 0 deletions lhc_web/modules/lhinstall/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -1686,6 +1686,7 @@
PRIMARY KEY (`id`),
KEY `vid` (`vid`),
KEY `dep_id` (`dep_id`),
KEY `first_visit` (`first_visit`),
KEY `last_visit_dep_id` (`last_visit`,`dep_id`)
) ENGINE=InnoDB CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;");

Expand Down

0 comments on commit 4503c60

Please sign in to comment.