Skip to content

Commit c511de5

Browse files
committed
Merge branch 'develop'
2 parents 35fc685 + e89a647 commit c511de5

File tree

106 files changed

+1572
-807
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+1572
-807
lines changed

.travis.yml

Lines changed: 10 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,13 @@
11
language: java
22
jdk: oraclejdk7
3-
env:
4-
matrix:
5-
- ANDROID_SDKS=android-17,sysimg-17 ANDROID_TARGET=android-17 ANDROID_ABI=armeabi-v7a
63
before_install:
7-
# download the latest android sdk and unzip
8-
- sudo apt-get update -qq
9-
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
10-
- wget http://dl.google.com/android/android-sdk_r22-linux.tgz
11-
- tar xzf android-sdk_r22-linux.tgz
12-
- export ANDROID_HOME=$PWD/android-sdk-linux
13-
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
14-
15-
# install android build tools
16-
- wget https://dl-ssl.google.com/android/repository/build-tools_r17-linux.zip
17-
- unzip build-tools_r17-linux.zip -d $ANDROID_HOME
18-
- mkdir -p $ANDROID_HOME/build-tools/
19-
- mv $ANDROID_HOME/android-4.2.2 $ANDROID_HOME/build-tools/17.0.0
20-
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
21-
- echo yes | android update sdk --filter android-16 --no-ui --force > /dev/null
22-
- echo yes | android update sdk --filter android-17 --no-ui --force > /dev/null
23-
- echo yes | android update sdk --filter sysimg-17 --no-ui --force > /dev/null
24-
- echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
25-
- echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null
26-
27-
# Create and start emulator
28-
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
29-
- emulator -avd test -no-skin -no-audio -no-window &
30-
31-
before_script:
32-
- chmod +x build.sh
33-
- chmod +x ci/wait_for_emulator.sh
34-
- ci/wait_for_emulator.sh
35-
- adb shell input keyevent 82
36-
37-
script: ./build.sh
4+
- export TERM=dumb
5+
- sudo apt-get install -qq libstdc++6:i386 lib32z1
6+
- export COMPONENTS=build-tools-19.1.0,android-19,extra-android-m2repository
7+
- curl -L https://raw.github.com/embarkmobile/android-sdk-installer/version-1/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS
8+
- source ~/.android-sdk-installer/env
9+
10+
notifications:
11+
hipchat:
12+
rooms:
13+
secure: Pz5CQX/NtKLkk8c6kjhxipMS6kdQTj5jaeN9LC2k1IzERsqCYnx/nD2EV0cG4YJO0W3sMK3vaVgL5lLE3xHpe7wsLB/LWmxLY8QV0NJaSGOqqXAC4S5Yo7MRFd2S5fPWN7MC05SPpqiDveEle1fK6Gz7oHXSZxAFMyYnLRcaX3M=

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Read about it at **[smssync.ushahidi.com](http://smssync.ushahidi.com/)**.
88

99
## Installation
1010

11-
Insallation and configuration details are [here][1].
11+
Installation and configuration details are [here][1].
1212

1313
## Development
1414

@@ -20,6 +20,6 @@ Post on our [forums][3]
2020

2121
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ushahidi/smssync/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
2222

23-
[1]: http://smssync.ushahidi.com/howto
24-
[2]: http://smssync.ushahidi.com/doc
23+
[1]: http://smssync.ushahidi.com/configure/
24+
[2]: http://smssync.ushahidi.com/developers/
2525
[3]: https://wiki.ushahidi.com/pages/viewpage.action?pageId=8357140

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ buildscript {
44
mavenCentral()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:0.6.3'
7+
classpath 'com.android.tools.build:gradle:0.10.4'
8+
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.10.+'
89
}
9-
}
10+
}

changelog.json

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,44 @@
11
[
22
{
3-
"version": "v2.5.1",
4-
"date": "November 14, 2013",
3+
"version": "v2.6",
4+
"date": "June 19, 2014",
55
"features": [
6+
"Replaced Action Bar Sherlock library with ActionBarCompat support library.",
7+
"Upgraded Google Analytics library to V3.",
8+
"Replaced the dropdown widget which is used for setting the frequencies for the schedulers with a time picker widget. Now you can set any time for the schedulers and not restricted to the predefined ones.",
9+
"Now Task messages appear in the pending tray before they are attempted to be sent as SMS. This makes it possible to automatically or manually processed them when they fail to be sent as SMS.",
10+
"Action Bar Contextual Menu now has 'selected' appended to the selection count label. Makes reading the count more meaningful.",
11+
"Added KitKat, Android 4.4.x support. Now you can set SMSSync as your default messaging app."
612
],
13+
"bugs": [
14+
"Fixed duplicate call to ‘readLogs @Produce’ function which causes the application to crash unexpectedly.",
15+
"Fixed issues with configured secret key not able to match with the one set on the server when it has spaces.",
16+
"Fixed issue with app crashing on some devices when checking for a connection before attempting a sync process after the device has finished booting."
17+
]
18+
},
19+
{
20+
"version": "v2.5.1",
21+
"date": "November 14, 2013",
22+
"features": [],
723
"bugs": [
824
"Fixed issue with app crashing when up attempts to read certain device's phone number",
925
"Fixed a wrong timestamp showing when a sync hasn't been run before"
1026
]
11-
},
12-
{
13-
"version": "v2.5",
14-
"date": "November 14, 2013",
15-
"features": [
16-
"Added log viewer feature. This logs verbosely the activities that are happening when the app is running.",
17-
"Added ability to configure different format for the sync scheme. Now JSON, XML and URLEncoded are supported.",
18-
"Added Basic Auth to Sync URL. Now you can authenticate request from SMSSync",
19-
"Updated Ukrainian strings. SMSSync is now fully translated into Ukrainian"
20-
],
21-
"bugs": [
22-
"Refactored existing HTTP client code. Made it easier to read maintain",
23-
"Fixed issue with task check not working when there is no secret key set.",
24-
"Fixed a lot of internal bugs"
25-
]
27+
},
28+
{
29+
"version": "v2.5",
30+
"date": "November 14, 2013",
31+
"features": [
32+
"Added log viewer feature. This logs verbosely the activities that are happening when the app is running.",
33+
"Added ability to configure different format for the sync scheme. Now JSON, XML and URLEncoded are supported.",
34+
"Added Basic Auth to Sync URL. Now you can authenticate request from SMSSync",
35+
"Updated Ukrainian strings. SMSSync is now fully translated into Ukrainian"
36+
],
37+
"bugs": [
38+
"Refactored existing HTTP client code. Made it easier to read maintain",
39+
"Fixed issue with task check not working when there is no secret key set.",
40+
"Fixed a lot of internal bugs"
41+
]
2642
},
2743
{
2844
"version": "v2.4",

contributors.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title" : "List of contributors to the SMSSync project",
33
"note" : "Sorted by last name",
4-
"total" : 12,
4+
"total" : 14,
55
"contributors" :
66
[
77
{
@@ -70,6 +70,17 @@
7070
"longitude" : 12.56738
7171
}
7272
},
73+
{
74+
"name" : "Kamil Kalfas",
75+
"email" : "kkalfas@soldevelo.com",
76+
"website" : "http://www.soldevelo.com/",
77+
"description" : "Added Message Results API, Bug fixes",
78+
"country" : {
79+
"name" : "Poland",
80+
"latitude" : 54.362417,
81+
"longitude" : 18.588555
82+
}
83+
},
7384
{
7485
"name" : "Ebony Mathis",
7586
"email" : "mse.mathis@gmail.com",
@@ -135,6 +146,17 @@
135146
"latitude" : 55.378051,
136147
"longitude" : -3.435973
137148
}
149+
},
150+
{
151+
"name" : "Tomasz Stalka",
152+
"email" : "tstalka@soldevelo.com",
153+
"website" : "http://www.soldevelo.com/",
154+
"description" : "Tasks for sending sms should appear in pending tray, before going to sent tray",
155+
"country" : {
156+
"name" : "Poland",
157+
"latitude" : 54.362417,
158+
"longitude" : 18.588555
159+
}
138160
}
139161
]
140162
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Oct 21 11:52:41 JST 2013
1+
#Tue Apr 29 08:01:13 JST 2014
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-all.zip
6+
distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip

libraries/pay-me/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
apply plugin: 'android-sdk-manager'
12
apply plugin: 'android-library'
23

34
android {
4-
compileSdkVersion 17
5-
buildToolsVersion "17.0.0"
5+
compileSdkVersion 19
6+
buildToolsVersion "19.1.0"
67

78
sourceSets {
89
main {

smssync/build.gradle

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
apply plugin: 'android-sdk-manager'
12
apply plugin: 'android'
23

34
repositories {
@@ -7,14 +8,14 @@ repositories {
78
dependencies {
89
compile project(':libraries:pay-me')
910
compile fileTree(dir: 'libs', include: '*.jar')
10-
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
11-
compile 'com.android.support:support-v4:18.0.+'
11+
compile 'com.android.support:support-v4:19.1.+'
12+
compile 'com.android.support:appcompat-v7:19.0.+'
1213
compile 'com.squareup:otto:1.3.4'
1314
}
1415

1516
android {
16-
compileSdkVersion 17
17-
buildToolsVersion "17.0.0"
17+
compileSdkVersion 19
18+
buildToolsVersion "19.1.0"
1819

1920
sourceSets {
2021

@@ -70,10 +71,19 @@ android {
7071
}
7172

7273
defaultConfig {
73-
versionCode 20
74-
versionName "2.5.1"
74+
versionCode 21
75+
versionName "2.6"
7576
minSdkVersion 8
76-
targetSdkVersion 18
77+
targetSdkVersion 19
78+
}
79+
80+
lintOptions {
81+
abortOnError false
82+
}
83+
84+
compileOptions {
85+
sourceCompatibility JavaVersion.VERSION_1_7
86+
targetCompatibility JavaVersion.VERSION_1_7
7787
}
7888

7989
android.applicationVariants.all { variant ->
@@ -104,15 +114,15 @@ android {
104114
}
105115
}
106116

107-
flavorGroups "analytics"
117+
flavorDimensions "analytics"
108118
productFlavors {
109119

110120
withAnalytics {
111-
flavorGroup "analytics"
121+
flavorDimensions "analytics"
112122
}
113123

114124
noAnalytics {
115-
flavorGroup "analytics"
125+
flavorDimensions "analytics"
116126
}
117127
}
118128
}
499 KB
Binary file not shown.
-125 KB
Binary file not shown.

0 commit comments

Comments
 (0)