new release

This commit is contained in:
Page Asgardius 2022-12-23 13:27:18 -07:00
parent cb50a01854
commit 5e7297ebb1
9 changed files with 29 additions and 8 deletions

View file

@ -9,8 +9,8 @@ android {
applicationId "asgardius.page.s3manager" applicationId "asgardius.page.s3manager"
minSdk 23 minSdk 23
targetSdk 33 targetSdk 33
versionCode 45 versionCode 46
versionName "0.3.6" versionName "0.4.0"
setProperty("archivesBaseName", "s3-manager-$versionName") setProperty("archivesBaseName", "s3-manager-$versionName")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View file

@ -227,17 +227,27 @@ public class MainActivity extends AppCompatActivity {
password = cursor.getString(2); password = cursor.getString(2);
location = cursor.getString(3); location = cursor.getString(3);
pdfendpoint = cursor.getString(4); pdfendpoint = cursor.getString(4);
if (cursor.getString(5).equals("1")) { try {
style = true; style = cursor.getString(5).equals("1");
} else { } catch (Exception e) {
e.printStackTrace();
style = false; style = false;
} }
db.close(); db.close();
//This launch file explorer using selected account //This launch file explorer using selected account
explorer(); explorer();
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
try {
db = dbHelper.getWritableDatabase();
db.execSQL("alter table account add column style text");
db.close();
} catch (Exception f) {
Toast.makeText(getApplicationContext(),getResources().getString(R.string.broken_database), Toast.LENGTH_SHORT).show();
finish();
}
} }
} }
@ -270,9 +280,10 @@ public class MainActivity extends AppCompatActivity {
password = cursor.getString(3); password = cursor.getString(3);
location = cursor.getString(4); location = cursor.getString(4);
pdfendpoint = cursor.getString(5); pdfendpoint = cursor.getString(5);
if (cursor.getString(6).equals("1")) { try {
style = true; style = cursor.getString(6).equals("1");
} else { } catch (Exception e) {
e.printStackTrace();
style = false; style = false;
} }
} }
@ -282,6 +293,14 @@ public class MainActivity extends AppCompatActivity {
//Toast.makeText(MainActivity.this, "This feature is not yet implemented", Toast.LENGTH_SHORT).show(); //Toast.makeText(MainActivity.this, "This feature is not yet implemented", Toast.LENGTH_SHORT).show();
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
try {
db = dbHelper.getWritableDatabase();
db.execSQL("alter table account add column style text");
db.close();
} catch (Exception f) {
Toast.makeText(getApplicationContext(),getResources().getString(R.string.broken_database), Toast.LENGTH_SHORT).show();
finish();
}
} }
} }
else if (menuItem.getTitle() == getResources().getString(R.string.accountdel_button)) { else if (menuItem.getTitle() == getResources().getString(R.string.accountdel_button)) {

View file

@ -0,0 +1,2 @@
* Account edit screen redesign
* Add option to choose between virtual host style and path style for buckets (virtual host will be used by default)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

After

Width:  |  Height:  |  Size: 317 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 KiB

After

Width:  |  Height:  |  Size: 458 KiB