Version 0.4.0

This commit is contained in:
Mikołaj Pich 2018-05-07 19:11:28 +02:00
parent 8e855bd375
commit 3105e9e53b
No known key found for this signature in database
GPG Key ID: F62B26E36D4C4BAA
22 changed files with 86 additions and 3 deletions

View File

@ -31,9 +31,18 @@ jobs:
- run: - run:
name: Setup environment name: Setup environment
command: ./gradlew dependencies --no-daemon --stacktrace --console=plain -PdisablePreDex || true command: ./gradlew dependencies --no-daemon --stacktrace --console=plain -PdisablePreDex || true
- run:
name: Decrypt keys
command: |
openssl aes-256-cbc -d -in ./app/key-encrypted.p12 -k $ENCRYPT_KEY >> ./app/key.p12
openssl aes-256-cbc -d -in ./app/upload-key-encrypted.jks -k $ENCRYPT_KEY >> ./app/upload-key.jks
- run: - run:
name: Initial build name: Initial build
command: ./gradlew build assembleDebug -x test -x lint -x fabricGenerateResourcesRelease --no-daemon --stacktrace --console=plain -PdisablePreDex command: ./gradlew build assembleDebug -x test -x lint -x fabricGenerateResourcesRelease --no-daemon --stacktrace --console=plain -PdisablePreDex
- run:
name: Clear keys
command: |
rm ./app/key.p12 ./app/upload-key.jks
- store_artifacts: - store_artifacts:
path: ./app/build/outputs/apk/ path: ./app/build/outputs/apk/
destination: apks/ destination: apks/
@ -172,6 +181,21 @@ jobs:
name: Run sonarqube runner name: Run sonarqube runner
command: ./gradlew -x test -x lint sonarqube -Dsonar.host.url=$SONAR_HOST -Dsonar.organization=$SONAR_ORG -Dsonar.login=$SONAR_KEY -Dsonar.branch.name=$CIRCLE_BRANCH --no-daemon --stacktrace --console=plain -PdisablePreDex command: ./gradlew -x test -x lint sonarqube -Dsonar.host.url=$SONAR_HOST -Dsonar.organization=$SONAR_ORG -Dsonar.login=$SONAR_KEY -Dsonar.branch.name=$CIRCLE_BRANCH --no-daemon --stacktrace --console=plain -PdisablePreDex
deploy:
<<: *container_config
steps:
- *attach_workspace
- restore_cache:
<<: *general_cache_key
- run:
name: Decrypt keys
command: |
openssl aes-256-cbc -d -in ./app/key-encrypted.p12 -k $ENCRYPT_KEY >> ./app/key.p12
openssl aes-256-cbc -d -in ./app/upload-key-encrypted.jks -k $ENCRYPT_KEY >> ./app/upload-key.jks
- run:
name: Publish release
command: ./gradlew publishRelease --no-daemon --stacktrace --console=plain -PdisablePreDex
workflows: workflows:
version: 2 version: 2
@ -199,3 +223,9 @@ workflows:
- app-test - app-test
- api-test - api-test
- instrumented - instrumented
- deploy:
requires:
- instrumented
filters:
tags:
only: /.*/

2
.gitignore vendored
View File

@ -46,3 +46,5 @@ ehthumbs.db
Thumbs.db Thumbs.db
.idea/codeStyles/ .idea/codeStyles/
.idea/caches/ .idea/caches/
./app/key.p12
./app/upload-key.jks

View File

@ -9,6 +9,7 @@ buildscript {
classpath "org.greenrobot:greendao-gradle-plugin:$greenDaoGradle" classpath "org.greenrobot:greendao-gradle-plugin:$greenDaoGradle"
classpath "io.fabric.tools:gradle:$fabricGradle" classpath "io.fabric.tools:gradle:$fabricGradle"
classpath "com.google.gms:oss-licenses:0.9.2" classpath "com.google.gms:oss-licenses:0.9.2"
classpath 'com.github.triplet.gradle:play-publisher:1.2.0'
} }
} }
@ -22,28 +23,48 @@ apply plugin: 'io.fabric'
apply from: '../jacoco.gradle' apply from: '../jacoco.gradle'
apply from: '../android-sonarqube.gradle' apply from: '../android-sonarqube.gradle'
apply plugin: 'com.google.gms.oss.licenses.plugin' apply plugin: 'com.google.gms.oss.licenses.plugin'
apply plugin: 'com.github.triplet.play'
android { android {
compileSdkVersion 26 compileSdkVersion 26
buildToolsVersion '27.0.3' buildToolsVersion '27.0.3'
playAccountConfigs {
defaultAccountConfig {
serviceAccountEmail = System.getenv("PLAY_SERVICE_ACCOUNT_EMAIL")
pk12File = file('key.p12')
}
}
defaultConfig { defaultConfig {
applicationId "io.github.wulkanowy" applicationId "io.github.wulkanowy"
testApplicationId "io.github.tests.wulkanowy" testApplicationId "io.github.tests.wulkanowy"
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 26 targetSdkVersion 26
versionCode 7 versionCode 8
versionName "0.3.1" versionName "0.4.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
playAccountConfig = playAccountConfigs.defaultAccountConfig
manifestPlaceholders = [ manifestPlaceholders = [
fabricApiKey: System.getenv("FABRIC_API_KEY") ?: "null" fabricApiKey: System.getenv("FABRIC_API_KEY") ?: "null"
] ]
} }
signingConfigs {
release {
storeFile file("upload-key.jks")
storePassword System.getenv("PLAY_STORE_PASSWORD")
keyAlias System.getenv("PLAY_KEY_ALIAS")
keyPassword System.getenv("PLAY_KEY_PASSWORD")
}
}
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
} }
debug { debug {
applicationIdSuffix ".dev" applicationIdSuffix ".dev"
@ -64,6 +85,11 @@ android {
} }
} }
play {
track = 'alpha'
uploadImages = true
}
greendao { greendao {
schemaVersion 26 schemaVersion 26
generateTests = true generateTests = true

BIN
app/key-encrypted.p12 Normal file

Binary file not shown.

View File

@ -0,0 +1 @@
wulkanowyinc@gmail.com

View File

@ -0,0 +1 @@
+48733393622

View File

@ -0,0 +1 @@
https://wulkanowy.github.io/

View File

@ -0,0 +1 @@
pl-PL

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

View File

@ -0,0 +1,8 @@
Wyróżnione cechy i funkcje:
- Całkowicie darmowa i otwarta (brak jakichkolwiek reklam i mikropłatności)
- Powiadomienia
- Tryb offline
- Aktywne wsparcie i rozwój
GitHub: https://github.com/wulkanowy/wulkanowy
Discord: https://discord.gg/JMG2rhJ

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -0,0 +1 @@
Nieoficjalna aplikacja dla dziennika VULCAN UONET+.

View File

@ -0,0 +1 @@
Wulkanowy Dziennik UONET+

View File

View File

@ -0,0 +1,11 @@
Wersja 0.4.0:
- dodano widget planu lekcji
- dodano widok sprawdzianów
- dodano informacje o końcowych ocenach z przedmiotu
- dodano przełącznik semestru w ocenach
- dodano opcję ukrycia obecności
- dodano wyróżnik aktualnego tygodnia
- dodano podstawową obsługę niestandardowych dzienników Vulcan (np. Opolska eSzkoła)
- naprawiono animacje w ocenach
- naprawiono wyświetlanie oceny w szczególnych przypadkach
- optymalizacja aplikacji

View File

@ -30,7 +30,7 @@
<string name="noColor_text">Brak koloru</string> <string name="noColor_text">Brak koloru</string>
<string name="activity_dashboard_text">Aktywność dashboard</string> <string name="activity_dashboard_text">Aktywność dashboard</string>
<string name="exams_text">Exams</string> <string name="exams_text">Sprawdziany</string>
<string name="grades_text">Oceny</string> <string name="grades_text">Oceny</string>
<string name="attendance_text">Frekwencja</string> <string name="attendance_text">Frekwencja</string>
<string name="timetable_text">Plan lekcji</string> <string name="timetable_text">Plan lekcji</string>

Binary file not shown.