Added fix for blank return, Added sql conversions to removal list, Fixed missing username in update process

This commit is contained in:
xevidos 2020-02-24 22:59:26 -05:00
parent b42cf37eca
commit 567ec1efd0
4 changed files with 6 additions and 3 deletions

View file

@ -60,6 +60,7 @@ Task List:
* Create standards for php ( For example a lot of projects are using API like standards for their backends maybe create something like those? ) * Create standards for php ( For example a lot of projects are using API like standards for their backends maybe create something like those? )
* Fix broken themes * Fix broken themes
* Re Add the custom language recognition system after recode * Re Add the custom language recognition system after recode
* Reformat install processes
* Remove all old and unneeded dependencies * Remove all old and unneeded dependencies
* Seperate Upload filemanager instance from main filemanager instance * Seperate Upload filemanager instance from main filemanager instance
* Update all current components to use more current standards * Update all current components to use more current standards

View file

@ -444,7 +444,7 @@ $.post('components/install/install.php',$('#install').serialize(),function( data
console.log( data ); console.log( data );
if( data === "success" ){ if( data === "success" || data == "" ){
window.location.reload(); window.location.reload();
} else { } else {
alert( "An Error Occurred. Please check the console for more information.\n" ); alert( "An Error Occurred. Please check the console for more information.\n" );

View file

@ -156,7 +156,7 @@ class sql {
$update_query = ""; $update_query = "";
$projects = $this->query( "SELECT id, path FROM projects", array(), array(), "fetchAll", "exception" ); $projects = $this->query( "SELECT id, path FROM projects", array(), array(), "fetchAll", "exception" );
$result = $this->query( "SELECT project FROM users", array(), array(), "fetchAll", "exception" ); $result = $this->query( "SELECT username,project FROM users", array(), array(), "fetchAll", "exception" );
$convert = false; $convert = false;
$delete = Permissions::LEVELS["delete"]; $delete = Permissions::LEVELS["delete"];

View file

@ -533,7 +533,9 @@ class updater {
$this->path . "/{$update_folder}/.gitignore", $this->path . "/{$update_folder}/.gitignore",
$this->path . "/.gitlab-ci.yml", $this->path . "/.gitlab-ci.yml",
$this->path . "/{$update_folder}/.gitlab-ci.yml" $this->path . "/{$update_folder}/.gitlab-ci.yml",
$this->path . "/components/sql/class.sql.conversions.php",
); );
foreach( $file_conflictions as $file ) { foreach( $file_conflictions as $file ) {