Skip to content

Commit 1768a31

Browse files
chore: Release v1.1.1 (#1625)
chore: Release v1.1.1
2 parents 9a741d9 + 88e13a0 commit 1768a31

File tree

11 files changed

+66
-14
lines changed

11 files changed

+66
-14
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Build Status](https://img.shields.io/travis/fossasia/open-event-orga-app/development.svg)](https://travis-ci.org/fossasia/open-event-orga-app)
77
[![Codacy Grade](https://img.shields.io/codacy/grade/d6ae120356c94c0d94d6449ec540f520.svg)](https://www.codacy.com/app/mb/open-event-orga-app)
88
[![Codecov Coverage](https://img.shields.io/codecov/c/github/fossasia/open-event-orga-app/development.svg)](https://codecov.io/gh/fossasia/open-event-orga-app)
9-
[![Appetize Preview](https://img.shields.io/badge/Preview-appetize.io-673AB7.svg)](https://appetize.io/app/t8hace1jdrybzvwwrfw5p1ayuw)
9+
[![Appetize Preview](https://img.shields.io/badge/Preview-appetize.io-673AB7.svg)](https://appetize.io/app/w8v8z7pc9aewargb2uuyf108f0)
1010
[![Gitter](https://img.shields.io/badge/chat-on%20gitter-ff006f.svg)](https://gitter.im/fossasia/open-event-orga-app)
1111
> Event management app for organizers using Open Event Platform
1212

app/build.gradle

+7-7
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ android {
2323
applicationId "com.eventyay.organizer"
2424
minSdkVersion versions.minSdk
2525
targetSdkVersion versions.targetSdk
26-
versionCode 8
27-
versionName "1.1.0"
26+
versionCode 9
27+
versionName "1.1.1"
2828
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2929
vectorDrawables.useSupportLibrary = true
3030
manifestPlaceholders = [
@@ -122,7 +122,7 @@ dependencies {
122122
implementation "androidx.appcompat:appcompat:1.1.0-alpha04"
123123
implementation "androidx.cardview:cardview:1.0.0"
124124
implementation "androidx.recyclerview:recyclerview:1.1.0-alpha04"
125-
implementation "com.google.android.material:material:1.1.0-alpha05"
125+
implementation "com.google.android.material:material:1.1.0-alpha06"
126126
implementation "androidx.browser:browser:1.0.0"
127127
implementation "androidx.palette:palette:1.0.0"
128128
implementation "com.takisoft.fix:preference-v7:${versions.support_lib}.0"
@@ -168,7 +168,7 @@ dependencies {
168168
implementation "com.squareup.retrofit2:retrofit:${versions.retrofit}"
169169
implementation "com.squareup.retrofit2:converter-jackson:${versions.retrofit}"
170170
implementation "com.squareup.retrofit2:adapter-rxjava2:${versions.retrofit}"
171-
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.0'
171+
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.1'
172172
implementation 'com.github.jasminb:jsonapi-converter:0.9'
173173

174174
// RxJava
@@ -235,16 +235,16 @@ dependencies {
235235
playStoreImplementation "com.google.android.gms:play-services-oss-licenses:${versions.play_services}"
236236

237237
//Testing
238-
androidTestImplementation('androidx.test.espresso:espresso-core:3.2.0-alpha03', {
238+
androidTestImplementation('androidx.test.espresso:espresso-core:3.2.0-beta01', {
239239
exclude group: 'com.android.support', module: 'support-annotations'
240240
})
241-
testImplementation("androidx.arch.core:core-testing:2.1.0-alpha01", {
241+
testImplementation("androidx.arch.core:core-testing:2.1.0-alpha02", {
242242
exclude group: 'com.android.support', module: 'support-compat'
243243
exclude group: 'com.android.support', module: 'support-annotations'
244244
exclude group: 'com.android.support', module: 'support-core-utils'
245245
})
246246
testImplementation 'junit:junit:4.12'
247-
testImplementation 'org.mockito:mockito-inline:2.26.0'
247+
testImplementation 'org.mockito:mockito-inline:2.27.0'
248248
testImplementation 'org.json:json:20180130'
249249
testImplementation "org.robolectric:robolectric:${versions.roboelectric}"
250250
testImplementation "org.robolectric:shadows-multidex:${versions.roboelectric}"

app/jacoco.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ project.afterEvaluate {
6969
reports {
7070
xml.enabled = true
7171
html.enabled = true
72-
xml.destination "${buildDir}/reports/jacoco/report.xml"
72+
xml.destination file("${buildDir}/reports/jacoco/report.xml")
7373
}
7474
}
7575
}

app/src/main/java/com/eventyay/organizer/data/event/EventStatistics.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class EventStatistics {
2222
public String id;
2323

2424
public Long sessions;
25-
public Long speakers;
25+
public SpeakerStatistics speakers;
2626
public Long sessionsPending;
2727
public Long sponsors;
2828
public Long sessionsSubmitted;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
package com.eventyay.organizer.data.event;
2+
3+
4+
import com.github.jasminb.jsonapi.LongIdHandler;
5+
import com.github.jasminb.jsonapi.annotations.Id;
6+
import com.github.jasminb.jsonapi.annotations.Type;
7+
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
8+
import com.raizlabs.android.dbflow.annotation.Table;
9+
10+
import com.eventyay.organizer.data.db.configuration.OrgaDatabase;
11+
12+
import lombok.Data;
13+
import lombok.NoArgsConstructor;
14+
import lombok.ToString;
15+
16+
@Data
17+
@Type("speakerStatistics")
18+
@NoArgsConstructor
19+
@ToString()
20+
@Table(database = OrgaDatabase.class, allFields = true)
21+
public class SpeakerStatistics {
22+
23+
@Id(LongIdHandler.class)
24+
@PrimaryKey
25+
public Long id;
26+
27+
public Long accepted;
28+
public Long confirmed;
29+
public Long pending;
30+
public Long rejected;
31+
public Long total;
32+
}

app/src/main/res/layout/bottomsheet_attendee_check_in.xml

+19
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,25 @@
7777
android:layerType="software"
7878
android:src="@drawable/dotted" />
7979

80+
<TextView
81+
android:layout_width="wrap_content"
82+
android:layout_height="wrap_content"
83+
android:gravity="center"
84+
android:padding="4dp"
85+
android:text="@string/attendee_id"
86+
android:textAllCaps="true"
87+
tools:text="Attendee ID" />
88+
89+
<TextView
90+
android:layout_width="wrap_content"
91+
android:layout_height="wrap_content"
92+
android:layout_marginBottom="@dimen/spacing_extra_small"
93+
android:gravity="center_vertical"
94+
android:padding="@dimen/spacing_extra_small"
95+
android:text="@{ checkinAttendee.id }"
96+
android:textColor="@android:color/black"
97+
tools:text="Attendee ID" />
98+
8099
<TextView
81100
android:layout_width="wrap_content"
82101
android:layout_height="wrap_content"

app/src/main/res/layout/event_statistics.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
android:layout_marginBottom="@dimen/spacing_normal"
181181
android:layout_marginLeft="@dimen/spacing_large"
182182
android:layout_marginStart="@dimen/spacing_large"
183-
android:text="@{ BindingAdapters.longToStr(eventStatistics.speakers) }"
183+
android:text="@{ BindingAdapters.longToStr(eventStatistics.speakers.accepted) }"
184184
android:textSize="@dimen/text_size_normal" />
185185

186186
<TextView

app/src/main/res/values/strings.xml

+1
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@
382382
<string name="action_insert_link">Action insert link</string>
383383
<string name="play_store_link">https://play.google.com/store/apps/details?id=com.eventyay.organizer</string>
384384
<string name="resend_verification_mail">Resend verification mail</string>
385+
<string name="attendee_id">Attendee ID</string>
385386

386387
<string-array name="timezones">
387388
<item>Africa/Abidjan</item>

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
google()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.3.2'
10+
classpath 'com.android.tools.build:gradle:3.4.0'
1111
classpath 'io.sentry:sentry-android-gradle-plugin:1.7.22'
1212
classpath 'com.noveogroup.android:check:1.2.5'
1313
classpath "com.google.gms:oss-licenses:0.9.2"

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4-all.zip

versions.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ versions.rxandroid = '2.1.1'
1717
versions.rxjava = '2.1.10'
1818
versions.stetho = '1.5.1'
1919
versions.stetho_no_op = '1.1'
20-
versions.roboelectric = '3.8'
20+
versions.roboelectric = '4.2'
2121
versions.threetenbp = '1.2.0'
2222
versions.mp_android_chart = 'v3.0.3'
2323
versions.lombok = '1.16.18'

0 commit comments

Comments
 (0)