Skip to content

Commit

Permalink
Merge pull request #59 from slims/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
slims authored Nov 11, 2020
2 parents 30a8553 + eab3c0a commit ce0636e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
4 changes: 4 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ Drajat Hasan ([email protected])

THANKS TO OUR USERS AND COMMUNITIES, YOU ARE DEVELOPERS TOO!

SLiMS 9.3.1 (Bulian)
========================================================================
Fix : upgrade error.

SLiMS 9.3.0 (Bulian)
========================================================================
Added : Print catalog option
Expand Down
9 changes: 8 additions & 1 deletion install/Upgrade.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -973,9 +973,16 @@ function upgrade_role_26()

$sql['alter'][] = "ALTER TABLE `files_read` CHANGE `member_id` `member_id` varchar(20) NULL AFTER `date_read`;";

$sql['alter'][] = "ALTER TABLE `backup_log` CHANGE `backup_file` `backup_file` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL;"
$sql['alter'][] = "ALTER TABLE `backup_log` CHANGE `backup_file` `backup_file` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL;";

return $this->slims->query($sql, ['create', 'alter']);
}

/**
* Upgrade role to v9.3.1
*/
function upgrade_role_27()
{
}

}
1 change: 1 addition & 0 deletions install/sections/SelectVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default {
{value: 23, text: 'SLiMS 9.2.0 | Bulian'},
{value: 24, text: 'SLiMS 9.2.1 | Bulian'},
{value: 25, text: 'SLiMS 9.2.2 | Bulian'},
{value: 26, text: 'SLiMS 9.3.0 | Bulian'},
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion install/senayan.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS `backup_log` (
`backup_log_id` int(11) NOT NULL auto_increment,
`user_id` int(11) NOT NULL default '0',
`backup_time` datetime not NULL,
`backup_file` varchar(100) collate utf8_unicode_ci default NULL,
`backup_file` text collate utf8_unicode_ci default NULL,
PRIMARY KEY (`backup_log_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;

Expand Down
8 changes: 5 additions & 3 deletions simbio2/simbio_FILE/simbio_file_upload.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@ public function chunkUpload($tmpfile,$target_file){
if($upload_start % 10000 == 0){
$count = array('data'=>array('upload_progress' => ceil(($upload_start/$orig_file_size)*100).'%'));
}
echo '<script type="text/javascript">';
echo 'console.log(\''.json_encode($count).'\')';
echo '</script>';
if (ENVIRONMENT === 'development') {
echo '<script type="text/javascript">';
echo 'console.log(\''.json_encode($count).'\')';
echo '</script>';
}
$upload_start += strlen($contents);
fseek($handle, $upload_start);
}
Expand Down
2 changes: 1 addition & 1 deletion sysconfig.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

// senayan version
define('SENAYAN_VERSION', 'SLiMS 9 (Bulian)');
define('SENAYAN_VERSION_TAG', 'v9.3.0');
define('SENAYAN_VERSION_TAG', 'v9.3.1');

// senayan session cookies name
define('COOKIES_NAME', 'SenayanAdmin');
Expand Down

0 comments on commit ce0636e

Please sign in to comment.