Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0da472b
Merge pull request #2799 from fossasia/master
iamareebjamal Jul 2, 2019
6d52f5f
Added a background dialog for delete, copy/move actions (#2800)
yashk2000 Jul 3, 2019
abf4c8a
chore: Removed some unneeded code (#2801)
yashk2000 Jul 4, 2019
8be1f91
chore: Update development instructions (#2803)
sonusourav Jul 4, 2019
1bb0062
fix: Removed oil painting filter. (#2805)
yashk2000 Jul 5, 2019
894da47
fix: Made color of image details bar change with theme (#2810)
yashk2000 Jul 6, 2019
24b45e8
chore: Updated update-apk script (#2814)
yashk2000 Jul 8, 2019
15bb5a3
chore: Updated build.gradle for the new signing process (#2817)
yashk2000 Jul 8, 2019
af0c420
chore: Update gradlew wrapper (#2813)
TacoTheDank Jul 8, 2019
f823e53
fix: Fix the update-apk script (#2819)
yashk2000 Jul 9, 2019
83eab56
chore: Add fastlane metadata (#2821)
iamareebjamal Jul 9, 2019
772f2e8
chore: change play store icon (#2815)
ranjsa Jul 10, 2019
321f1a2
chore: Added screenshots to fastlane metadata (#2823)
yashk2000 Jul 10, 2019
3cf0e0e
chore: Add photoview as dependency and remove some jars (#2825)
yashk2000 Jul 12, 2019
d1fe159
chore: Replace pdk module and jars with respective dependencies. (#2827)
yashk2000 Jul 12, 2019
98f43e5
chore: Remove the OpenCV javadocs (#2829)
yashk2000 Jul 16, 2019
f026989
chore: Rename the fastlane directory containing screenshots (#2831)
yashk2000 Jul 19, 2019
72fa6d4
Update README.md
mariobehling Jul 19, 2019
2eb57b4
chore: Remove the unused google-services.json file (#2835)
yashk2000 Jul 22, 2019
8436203
chore:Replace openCV module with openCV aar (#2837)
yashk2000 Jul 24, 2019
aa6e525
Revert "chore:Replace openCV module with openCV aar" (#2839)
iamareebjamal Jul 25, 2019
f9eb330
Move to correct directory containg metadata (#2843)
yashk2000 Jul 27, 2019
c45d78b
chore: Disable OpenCV download (#2838)
iamareebjamal Jul 29, 2019
02320fa
Revert "chore: Disable OpenCV download" (#2844)
iamareebjamal Jul 29, 2019
4176c99
chore: Update build gradle version being used (#2847)
yashk2000 Jul 31, 2019
a661dd1
chore: Made a single scripts for setting up OpenCV (#2840)
yashk2000 Aug 1, 2019
751a233
chore: Update version to 1.9.0
iamareebjamal Aug 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ cache:
- "$HOME/android/.gradle/caches/"
- "$HOME/android/.gradle/wrapper/"
- "$HOME/.android/build-cache"
- "${TRAVIS_BUILD_DIR}/cache"

before_install:
- mkdir "$ANDROID_HOME/licenses" || true
Expand All @@ -67,22 +68,21 @@ licenses:
- 'google-gdk-license-.+'

before_script:
- ./scripts/download_open_cv.sh
- ./scripts/setup_opencv.sh
- echo "Starting AVD"
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
- bash scripts/prep-key.sh

script:
- ./gradlew spotlessCheck
- ./scripts/copy_opencv.sh
- ./gradlew build
- ./gradlew build connectedAndroidTest jacocoTestReport --stacktrace

after_success:
- bash <(curl -s https://codecov.io/bash)
- bash scripts/prep-key.sh
- bash scripts/update-apk.sh

notifications:
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
source "https://rubygems.org"

gem "danger"


gem "fastlane"
114 changes: 9 additions & 105 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
## Screenshots

<p float="left">
<img src="./docs/images/ss_1.png" width="288" />
<img src="./docs/images/ss_2.png" width="288" />
<img src="./docs/images/ss_3.png" width="288" />
<img src="./docs/images/ss_4.png" width="288" />
<img src="./docs/images/ss_5.png" width="288" />
<img src="./docs/images/ss_6.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_1.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_2.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_3.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_4.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_5.png" width="288" />
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/ss_6.png" width="288" />
</p>


Expand Down Expand Up @@ -108,6 +108,7 @@ Before you begin, you should have already downloaded the Android Studio SDK and
- Copy all the files from *"OpenCV-android-sdk/sdk/native/3rdparty"* to *"phimpme-android/app/src/main/3rdparty"* (create directory if it doesn't exist)
- Copy all the files from *"OpenCV-android-sdk/sdk/native/libs"* to *"phimpme-android/app/src/main/jniLibs"* (create directory if it doesn't exist)
- Copy all the files from *"OpenCV-android-sdk/sdk/native/jni/include"* to *"phimpme-android/app/src/main/jni/include"* (create directory if it doesn't exist)
- Copy all the files from *"OpenCV-android-sdk/sdk/native/jni/staticlibs"* to *"phimpme-android/app/src/main/staticlibs"* (create directory if it doesn't exist)
- Now build your project. If your build fails then try deleting these build directories *"phimpme-android/app/.externalNativeBuild"* and *"phimpme-android/app/build"*, if they exist and run the build again.

7. If build error still persist, try replacing ndk with ndk version 18b from [ndk-archives](https://developer.android.com/ndk/downloads/older_releases) . Once all build errors have been resolved, you should be all set to build the app and test it.
Expand All @@ -128,102 +129,5 @@ Before you begin, you should have already downloaded the Android Studio SDK and

## License

This project is currently licensed under the GNU General Public License v3. A copy of [LICENSE](LICENSE.md) is to be present along with the source code. To obtain the software under a different license, please contact [FOSSASIA](http://fossasia.org/).

## Maintainers
The project is maintained by
- Hon Nguyen ([@vanhonit](https://github.com/vanhonit))
- Mario Behling ([@mariobehling](http://github.com/mariobehling))

## Developers
<table border="0">
<tr>
<td width="240">
<p align="center">
<img src="https://avatars2.githubusercontent.com/u/20367966?v=4&s=150" />
</p>
<div align="center">
Anant Prasad
</div>
<p align="center">
<a href = "https://github.com/anantprsd5"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/Anantprasad3"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<a href = "https://www.linkedin.com/in/anant-prasad-82b7a2119/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
</p>
</td>

<td width="240">
<p align="center">
<img src="https://avatars0.githubusercontent.com/u/9361754?v=4&s=150"/>
</p>
<div align="center">
Mohit Manuja
</div>
<p align="center">
<a href = "https://github.com/mohitmanuja"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/manuja_mohit"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<a href = "https://www.linkedin.com/in/mohitmanuja/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
</p>
</td>

<td width="240">
<p align="center">
<img src="https://avatars1.githubusercontent.com/u/6936968?v=4&s=150" />
</p>
<div align="center">
Pawan Pal
</div>
<p align="center">
<a href = "https://github.com/pa1pal"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/pa1pal"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<a href = "https://www.linkedin.com/in/pa1pal/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
</p>
</td>

<td width="240">
<p align="center">
<img src="https://avatars0.githubusercontent.com/u/17337006?v=4&s=150" />
</p>
<div align="center">
Subhankar Shah
</div>

<p align="center">
<a href = "https://github.com/Subhankar29"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/sole_subhankar"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<a href = "https://www.linkedin.com/in/subhankar-shah-12245b130/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
</p>
</td>
</tr>

<tr>
<td width="240">
<p align="center">
<img src="https://avatars2.githubusercontent.com/u/15368561?v=4&s=150" />
</p>
<div align="center">
Vinay Sajjanapu
</div>
<p align="center">
<a href = "https://github.com/vinaysajjanapu"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/sajjanapu_vinay"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<a href = "https://www.linkedin.com/in/vinay-sajjanapu-a315ab21/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
</p>
</td>

<td width="240">
<p align="center">
<img src="https://avatars1.githubusercontent.com/u/20841578?s=150&u=ccf2c85bac58c92f69c4c69ce2c46dcee4564e23&v=4" />
</p>
<div align="center">
Saurav Vishal
</div>

<p align="center">
<a href = "https://github.com/sauravvishal8797"><img src = "./docs/images/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/vishal_saurav99"><img src = "./docs/images/media.svg" width="36" height="36"/></a>
<a href = "https://www.linkedin.com/in/saurav-vishal-517aab144/"><img src = "./docs/images/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
</p>
</td>
</tr>
</table>
This project is currently licensed under the GNU General Public License v3. A copy of [LICENSE](LICENSE.md) is to be present along with the source code. To obtain the software under a different license, please contact [FOSSASIA](https://fossasia.org/).

46 changes: 34 additions & 12 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ plugins {
apply plugin: 'com.android.application'
apply plugin: 'jacoco-android'
apply plugin: 'realm-android'
apply plugin: "com.github.b3er.local.properties"

def keystorePropertiesFile = rootProject.file("sample_keystore.properties")

def keystoreProperties = new Properties()

def LOCAL_KEY_PRESENT = project.hasProperty('SIGNING_KEY_FILE') && rootProject.file(SIGNING_KEY_FILE).exists()

keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android {
Expand All @@ -29,8 +32,8 @@ android {
applicationId "org.fossasia.phimpme"
minSdkVersion 21
targetSdkVersion 28
versionCode 11
versionName '1.8.0'
versionCode 12
versionName '1.9.0'
multiDexEnabled true
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
vectorDrawables.useSupportLibrary = true
Expand All @@ -42,12 +45,31 @@ android {
renderscriptSupportModeEnabled true
}

signingConfigs {
if (TRAVIS_BUILD) {
release {
storeFile KEYSTORE_FILE
storePassword System.getenv("STORE_PASS")
keyAlias System.getenv("ALIAS")
keyPassword System.getenv("KEY_PASS")
}
} else if (LOCAL_KEY_PRESENT) {
release {
storeFile rootProject.file(SIGNING_KEY_FILE)
storePassword STORE_PASS
keyAlias ALIAS
keyPassword KEY_PASS
}
}
}

buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


if (LOCAL_KEY_PRESENT || TRAVIS_BUILD)
signingConfig signingConfigs.release
}
debug {
testCoverageEnabled false
Expand Down Expand Up @@ -166,10 +188,13 @@ dependencies {
implementation 'com.github.shchurov:horizontalwheelview:0.9.5'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'

//photoview
implementation 'com.github.chrisbanes:PhotoView:1.2.6'

//twitter
implementation "com.twitter.sdk.android:twitter:$rootProject.twitterVersion"
implementation files('libs/twitter4j-core-3.0.5.jar')
implementation files('libs/twitter4j-media-support-3.0.5.jar')
implementation "org.twitter4j:twitter4j-core:3.0.5"
implementation "org.twitter4j:twitter4j-media-support:3.0.5"

//cloud rail
implementation 'com.cloudrail:cloudrail-si-android:2.20.1'
Expand All @@ -181,14 +206,14 @@ dependencies {
debugImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'

//flickr
implementation files('libs/flickrj-android-2.1.0.jar')

//tumblr
implementation('com.tumblr:jumblr:0.0.11') {
exclude module: 'scribe'
}

//flickr
implementation "com.googlecode.flickrj-android:flickrj-android:2.1.0"

//realm
implementation 'com.uphyca:stetho_realm:2.0.0'

Expand All @@ -203,10 +228,7 @@ dependencies {
implementation project(':openCV')

//pdk
implementation project(':pdk')

//photoview
implementation project(':photoview')
implementation 'com.github.forkerknights:android-pdk:1.2b'

//compressor
implementation 'id.zelory:compressor:2.1.0'
Expand Down
55 changes: 0 additions & 55 deletions app/google-services.json

This file was deleted.

Binary file removed app/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions app/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

Loading