Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DroidsOnRoids/FoQA
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.3
Choose a base ref
...
head repository: DroidsOnRoids/FoQA
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Aug 24, 2019

  1. Kotlin version bump

    koral-- committed Aug 24, 2019
    Copy the full SHA
    f5849ad View commit details
  2. Copy the full SHA
    d38a68f View commit details
  3. Merge pull request #19 from DroidsOnRoids/chucker_api

    Chucker api dependency
    koral-- authored Aug 24, 2019
    Copy the full SHA
    a928087 View commit details
  4. Copy the full SHA
    317ef96 View commit details

Commits on Sep 28, 2019

  1. Copy the full SHA
    1779f15 View commit details
  2. Copy the full SHA
    8ad7a1c View commit details

Commits on Sep 29, 2019

  1. Dependency versions bump (#20)

    Fix Readme
    koral-- authored Sep 29, 2019
    Copy the full SHA
    bef183f View commit details
  2. Copy the full SHA
    ca4939a View commit details

Commits on Oct 12, 2019

  1. Code cleanup (#21)

    Code cleanup
    Add static code analysis
    koral-- authored Oct 12, 2019
    Copy the full SHA
    f11bfab View commit details
  2. Copy the full SHA
    4a434f5 View commit details

Commits on Nov 4, 2019

  1. Copy the full SHA
    25b2a0c View commit details
  2. Copy the full SHA
    367da1f View commit details
  3. Change Hyperion core dependencies from implementation to api (#23)

    This allows using Hyperion APIs, such as 
    ```kotlin
    Hyperion.open(...)
    ```
    Bruno Wieczorek authored and koral-- committed Nov 4, 2019
    Copy the full SHA
    a9a6e6f View commit details
  4. Copy the full SHA
    ddaf0b7 View commit details

Commits on Dec 16, 2019

  1. Maintenance (#24)

    * Dependency versions bump:
    Android Gradle plugin 4.0.0-alpha06
    Gradle 6.1-milestone-3
    Kotlin 1.3.61
    Fix font scale plugin dependencies
    
    * Add Android-Debug-Database consumer proguard rules
    Workaround for amitshekhariitbhu/Android-Debug-Database#174
    koral-- authored Dec 16, 2019
    Copy the full SHA
    efc59bf View commit details
  2. Copy the full SHA
    2511249 View commit details

Commits on Dec 17, 2019

  1. Copy the full SHA
    ba528a2 View commit details
  2. Copy the full SHA
    b5e1b4a View commit details
  3. Copy the full SHA
    038f1ec View commit details

Commits on Jan 1, 2020

  1. Copy the full SHA
    7805861 View commit details
  2. Copy the full SHA
    ee9d28d View commit details

Commits on Jan 18, 2020

  1. Update dependency versions [ci skip-release]

    Update detekt config
    koral-- authored Jan 18, 2020
    Copy the full SHA
    df9b0db View commit details

Commits on Jan 23, 2020

  1. Copy the full SHA
    dcc7b90 View commit details
  2. Copy the full SHA
    a1b5d26 View commit details

Commits on Jan 27, 2020

  1. Dependency updates: (#29)

    AGP to 4.0.0-alpha09
    Chucker to 3.1.1
    Gradle to 6.1.1
    koral-- authored Jan 27, 2020
    Copy the full SHA
    9972ce0 View commit details
  2. Copy the full SHA
    30719e3 View commit details

Commits on Feb 9, 2020

  1. Update Chucker to 3.1.2.

    MiSikora committed Feb 9, 2020
    Copy the full SHA
    5f67b13 View commit details
  2. Merge pull request #30 from DroidsOnRoids/chuker-update

    Update Chucker to 3.1.2.
    Michał Sikora authored Feb 9, 2020
    Copy the full SHA
    09f0cd9 View commit details
  3. Copy the full SHA
    91af1fe View commit details

Commits on Apr 4, 2020

  1. Dependency updates: (#31)

    AGP to 4.1.0-alpha04
    Chucker to 3.2.0
    Gradle to 6.3
    Device names to 2.0.0
    Kotlin to 1.3.71
    koral-- authored Apr 4, 2020
    Copy the full SHA
    5ed5386 View commit details
  2. Copy the full SHA
    39d39f4 View commit details

Commits on May 2, 2020

  1. Unify min sdk version to 16 (#32)

    Dependency updates:
    AGP to 4.1.0-alpha08
    Kotlin to 1.3.72
    koral-- authored May 2, 2020
    Copy the full SHA
    39db271 View commit details
  2. Copy the full SHA
    abdb94c View commit details

Commits on May 25, 2020

  1. Dependency updates: (#33)

    AGP to 4.1.0-alpha09
    Auto service to 1.0-rc7
    Androidx Annotations to 1.2.0-alpha01
    
    Code cleanup
    koral-- authored May 25, 2020
    Copy the full SHA
    b5a38ca View commit details
  2. Copy the full SHA
    3dc63ee View commit details

Commits on Aug 20, 2020

  1. Dependency updates: (#36)

    AGP to 4.2.0-alpha07
    Kotlin to 1.4.0
    target & compile SDK to 30
    Hyperion to 0.9.29
    Gradle to 6.6
    
    Code cleanup
    koral-- authored Aug 20, 2020
    Copy the full SHA
    2b8f690 View commit details
  2. Copy the full SHA
    407491b View commit details

Commits on Aug 21, 2020

  1. Expose hyperion-plugin dependency (#37)

    Co-authored-by: Artur Kosta <artur.kosta@droidsonroids.pl>
    vudzkostek and vudzkostek authored Aug 21, 2020
    Copy the full SHA
    aef85ee View commit details
  2. Copy the full SHA
    d4a23d1 View commit details

Commits on Oct 1, 2020

  1. Dependency versions bump: (#38)

    * Dependency versions bump:
    - kotlin to 1.4.10
    - AGP to 4.2.0-alpha12
    - Chucker to 3.3.0
    
    * Add multidex to sample project
    
    * Update Gemfile
    koral-- authored Oct 1, 2020
    Copy the full SHA
    eca58e4 View commit details

Commits on Oct 15, 2020

  1. Dependency versions bump (#39)

    - Gradle to 6.7
    - Hyperion to 0.9.30
    - Android Gradle Plugin to 4.2.0-alpha13
    koral-- authored Oct 15, 2020
    Copy the full SHA
    7b96c54 View commit details

Commits on Nov 5, 2020

  1. Dependency versions bump: (#40)

    Chucker to 3.4.0
    AGP to 4.2.0-alpha15
    koral-- authored Nov 5, 2020
    Copy the full SHA
    aad0c14 View commit details

Commits on Nov 6, 2020

  1. Copy the full SHA
    db4e6f8 View commit details

Commits on Nov 10, 2020

  1. Copy the full SHA
    bbe7982 View commit details

Commits on Jan 27, 2021

  1. Dependency versions bump: (#42)

    Kotlin 1.4.21
    Hyperion 0.9.31
    Gradle 6.8.1
    koral-- authored Jan 27, 2021
    Copy the full SHA
    98adac3 View commit details
  2. Copy the full SHA
    fb5596a View commit details

Commits on Feb 14, 2021

  1. Remove dependency on jcenter (#44)

    * Dependency versions bump:
    - kotlin to 1.4.30
    - AGP to 7.0.0-alpha06
    - AndroidX annotations to 1.2.0-beta01
    Remove jcenter dependency
    koral-- authored Feb 14, 2021
    Copy the full SHA
    14a1e93 View commit details
  2. Copy the full SHA
    10def48 View commit details

Commits on Aug 9, 2021

  1. Copy the full SHA
    b4852f0 View commit details

Commits on Aug 31, 2021

  1. Dependency versions bump (#49)

    * Dependency versions bump
    * Add shipkit changelog
    * Add shipkit Github release
    * Add gradle publish plugin
    
    Co-authored-by: boguszpawlowski <bogusz.pawlowski@gmail.com>
    koral-- and boguszpawlowski authored Aug 31, 2021
    Copy the full SHA
    6fec228 View commit details
Showing with 5,670 additions and 532 deletions.
  1. +0 −99 CHANGELOG.md
  2. +11 −0 Dangerfile
  3. +8 −0 Gemfile
  4. +84 −0 Gemfile.lock
  5. +42 −11 README.md
  6. +0 −76 build.gradle
  7. +127 −0 build.gradle.kts
  8. +1 −0 buildSrc/.gitignore
  9. +8 −0 buildSrc/build.gradle.kts
  10. +40 −0 buildSrc/src/main/kotlin/Dependencies.kt
  11. +0 −6 chucker_plugin/build.gradle
  12. +8 −0 chucker_plugin/build.gradle.kts
  13. +2 −0 chucker_plugin/gradle.properties
  14. +4 −1 chucker_plugin/src/main/AndroidManifest.xml
  15. +1 −1 chucker_plugin/src/main/java/pl/droidsonroids/foqa/chucker/ChuckerPlugin.kt
  16. +4 −4 chucker_plugin/src/main/res/layout/foqa_chucker_menu_item.xml
  17. +74 −0 ci/bitrise.yml
  18. +1 −0 debug-db/.gitignore
  19. +1 −0 debug-db/README.md
  20. +8 −0 debug-db/build.gradle.kts
  21. +2 −0 debug-db/gradle.properties
  22. +13 −0 debug-db/src/main/AndroidManifest.xml
  23. +431 −0 debug-db/src/main/assets/app.js
  24. +6 −0 debug-db/src/main/assets/bootstrap.min.css
  25. +7 −0 debug-db/src/main/assets/bootstrap.min.js
  26. +1 −0 debug-db/src/main/assets/buttons.dataTables.min.css
  27. +58 −0 debug-db/src/main/assets/custom.css
  28. +738 −0 debug-db/src/main/assets/dataTables.altEditor.free.js
  29. +36 −0 debug-db/src/main/assets/dataTables.buttons.min.js
  30. +25 −0 debug-db/src/main/assets/dataTables.responsive.min.js
  31. +25 −0 debug-db/src/main/assets/dataTables.select.min.js
  32. BIN debug-db/src/main/assets/favicon.ico
  33. BIN debug-db/src/main/assets/fonts/glyphicons-halflings-regular.ttf
  34. +168 −0 debug-db/src/main/assets/index.html
  35. +1 −0 debug-db/src/main/assets/jquery.dataTables.min.css
  36. +166 −0 debug-db/src/main/assets/jquery.dataTables.min.js
  37. +4 −0 debug-db/src/main/assets/jquery.min.js
  38. +1 −0 debug-db/src/main/assets/responsive.dataTables.min.css
  39. +1 −0 debug-db/src/main/assets/select.dataTables.min.css
  40. +87 −0 debug-db/src/main/java/com/amitshekhar/DebugDB.java
  41. +86 −0 debug-db/src/main/java/com/amitshekhar/debug/DebugDBInitProvider.java
  42. +16 −0 debug-db/src/main/java/com/amitshekhar/debug/sqlite/DebugDBFactory.java
  43. +57 −0 debug-db/src/main/java/com/amitshekhar/debug/sqlite/DebugSQLiteDB.java
  44. +41 −0 debug-db/src/main/java/com/amitshekhar/model/Response.java
  45. +33 −0 debug-db/src/main/java/com/amitshekhar/model/RowDataRequest.java
  46. +47 −0 debug-db/src/main/java/com/amitshekhar/model/TableDataResponse.java
  47. +30 −0 debug-db/src/main/java/com/amitshekhar/model/UpdateRowResponse.java
  48. +101 −0 debug-db/src/main/java/com/amitshekhar/server/ClientServer.java
  49. +409 −0 debug-db/src/main/java/com/amitshekhar/server/RequestHandler.java
  50. +9 −0 debug-db/src/main/java/com/amitshekhar/sqlite/DBFactory.java
  51. +60 −0 debug-db/src/main/java/com/amitshekhar/sqlite/InMemoryDebugSQLiteDB.java
  52. +30 −0 debug-db/src/main/java/com/amitshekhar/sqlite/SQLiteDB.java
  53. +37 −0 debug-db/src/main/java/com/amitshekhar/utils/Constants.java
  54. +60 −0 debug-db/src/main/java/com/amitshekhar/utils/ConverterUtils.java
  55. +40 −0 debug-db/src/main/java/com/amitshekhar/utils/DataType.java
  56. +73 −0 debug-db/src/main/java/com/amitshekhar/utils/DatabaseFileProvider.java
  57. +419 −0 debug-db/src/main/java/com/amitshekhar/utils/DatabaseHelper.java
  58. +48 −0 debug-db/src/main/java/com/amitshekhar/utils/NetworkUtils.java
  59. +234 −0 debug-db/src/main/java/com/amitshekhar/utils/PrefHelper.java
  60. +267 −0 debug-db/src/main/java/com/amitshekhar/utils/TableNameParser.java
  61. +117 −0 debug-db/src/main/java/com/amitshekhar/utils/Utils.java
  62. +796 −0 detekt-config.yml
  63. +0 −6 device_info_plugin/build.gradle
  64. +6 −0 device_info_plugin/build.gradle.kts
  65. +2 −0 device_info_plugin/gradle.properties
  66. +4 −1 device_info_plugin/src/main/AndroidManifest.xml
  67. +0 −1 device_info_plugin/src/main/res/layout/foqa_deviceinfo_menu_item.xml
  68. +0 −6 font_scale_plugin/build.gradle
  69. +6 −0 font_scale_plugin/build.gradle.kts
  70. +2 −0 font_scale_plugin/gradle.properties
  71. +3 −2 font_scale_plugin/src/main/AndroidManifest.xml
  72. +1 −1 ...le_plugin/src/main/java/pl/droidsonroids/foqa/deviceinfo/{Extensions.kt → FontScaleExtensions.kt}
  73. +11 −5 font_scale_plugin/src/main/java/pl/droidsonroids/foqa/deviceinfo/FontScaleInteractor.kt
  74. +4 −4 font_scale_plugin/src/main/java/pl/droidsonroids/foqa/deviceinfo/FontScaleModule.kt
  75. +1 −1 font_scale_plugin/src/main/java/pl/droidsonroids/foqa/deviceinfo/FontScalePlugin.kt
  76. +0 −1 font_scale_plugin/src/main/res/layout/foqa_font_scale_menu_item.xml
  77. +0 −23 foqa/build.gradle
  78. +31 −0 foqa/build.gradle.kts
  79. +3 −0 foqa/consumer-progruard-rules.pro
  80. +2 −0 foqa/gradle.properties
  81. +10 −6 foqa/src/main/AndroidManifest.xml
  82. +22 −0 foqa/src/main/java/pl/droidsonroids/foqa/HyperionDisableInitializer.kt
  83. +0 −41 foqa/src/main/java/pl/droidsonroids/foqa/HyperionDisableProvider.kt
  84. +24 −1 gradle.properties
  85. BIN gradle/wrapper/gradle-wrapper.jar
  86. +3 −1 gradle/wrapper/gradle-wrapper.properties
  87. +172 −111 gradlew
  88. +92 −100 gradlew.bat
  89. +0 −14 sample/build.gradle
  90. +32 −0 sample/build.gradle.kts
  91. +11 −0 sample/lint-baseline.xml
  92. +6 −4 sample/src/main/AndroidManifest.xml
  93. +0 −1 settings.gradle
  94. +17 −0 settings.gradle.kts
  95. +1 −4 version.properties
99 changes: 0 additions & 99 deletions CHANGELOG.md

This file was deleted.

11 changes: 11 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
warn("Big PR") if git.lines_of_code > 500

kotlin_detekt.skip_gradle_task = true
kotlin_detekt.report_file = "build/reports/detekt/detekt.xml"
kotlin_detekt.detekt(inline_mode: true)

android_lint.skip_gradle_task = true
android_lint.report_file = "build/reports/lint/lint-results.xml"
android_lint.lint(inline_mode: true)

github.dismiss_out_of_range_messages
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

gem 'danger-kotlin_detekt'
gem 'danger-android_lint'
84 changes: 84 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
ansi (1.5.0)
ast (2.4.2)
base64 (0.2.0)
claide (1.1.0)
claide-plugins (0.9.2)
cork
nap
open4 (~> 1.3)
colored2 (3.1.2)
cork (0.3.0)
colored2 (~> 3.1)
danger (9.4.3)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
colored2 (~> 3.1)
cork (~> 0.1)
faraday (>= 0.9.0, < 3.0)
faraday-http-cache (~> 2.0)
git (~> 1.13)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
no_proxy_fix
octokit (>= 4.0)
terminal-table (>= 1, < 4)
danger-android_lint (0.0.12)
danger-plugin-api (~> 1.0)
oga
danger-kotlin_detekt (0.0.3)
danger-plugin-api (~> 1.0)
danger-plugin-api (1.0.0)
danger (> 2.0)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-http-cache (2.5.1)
faraday (>= 0.8)
faraday-net_http (3.1.0)
net-http
git (1.19.1)
addressable (~> 2.8)
rchardet (~> 1.8)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
nap (1.1.0)
net-http (0.4.1)
uri
no_proxy_fix (0.1.2)
octokit (8.1.0)
base64
faraday (>= 1, < 3)
sawyer (~> 0.9)
oga (3.4)
ast
ruby-ll (~> 2.1)
open4 (1.3.4)
public_suffix (5.0.5)
rchardet (1.8.0)
rexml (3.3.9)
ruby-ll (2.1.3)
ansi
ast
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
uri (0.13.0)

PLATFORMS
x86_64-linux

DEPENDENCIES
danger-android_lint
danger-kotlin_detekt

BUNDLED WITH
2.4.22
53 changes: 42 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# FoQA

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/foqa/badge.svg)](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/foqa)
<img src="art/seal.svg" alt="Logo" width="200"/>

Container for various Quality Assurance utilities to be included in QA/testing variants of Android apps.
@@ -15,9 +16,15 @@ Add FoQA dependency to `build.gradle` of the application module:

```groovy
dependencies {
debugImplementation 'com.github.droidsonroids:foqa:0.0.11'
debugImplementation 'pl.droidsonroids.foqa:foqa:<latest version>'
}
```
```kotlin
dependencies {
debugImplementation("pl.droidsonroids.foqa:foqa:<latest version>")
}
```
Latest version number: [![Maven Central](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/foqa/badge.svg)](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/foqa)

If not already present add Maven Central repository:
```groovy
@@ -33,9 +40,10 @@ repositories {
- [Android Debug Database](https://github.com/amitshekhariitbhu/Android-Debug-Database)
- Hyperion menu item with Device market name [Hyperion Device Info](#device-info-plugin)
- Hyperion menu item with font scale changer [Hyperion Font Scale](#font-scale-plugin)
- Hyperion menu item with Chuck launcher [Hyperion FoQA Chuck](#chuck-plugin)
- Hyperion menu item with [Chucker](https://github.com/ChuckerTeam/chucker) launcher [Hyperion FoQA Chucker](#chucker-plugin)

See [build.gradle](library/build.gradle) for a complete list of components. And [build.gradle](build.gradle) for versions.
See [build.gradle.kts](foqa/build.gradle.kts) for a complete list of components.
And [Dependencies.kt](src/main/kotlin/Dependencies.kt) for versions.

## FoQA Hyperion plugins

@@ -50,10 +58,18 @@ Shows device market name and Android version.

```groovy
dependencies {
debugImplementation 'pl.droidsonroids.foqa:deviceinfo:0.1.3'
debugImplementation 'pl.droidsonroids.foqa:deviceinfo:<latest version>'
}
```

```kotlin
dependencies {
debugImplementation("pl.droidsonroids.foqa:deviceinfo:<latest version>")
}
```

Latest version number: [![Maven Central](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/deviceinfo/badge.svg)](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/deviceinfo)

### Font Scale plugin

Allows to quickly change system font scale in range from `0.4` to `1.6`.
@@ -65,24 +81,39 @@ System settings write prompt will appear when setting scale for the first time.

```groovy
dependencies {
debugImplementation 'pl.droidsonroids.foqa:fontscale:0.1.3'
debugImplementation 'pl.droidsonroids.foqa:fontscale:<latest version>'
}
```
### Chuck plugin

Allows to quickly launch [Chuck](https://github.com/jgilfelt/chuck).
```kotlin
dependencies {
debugImplementation("pl.droidsonroids.foqa:fontscale:<latest version>")
}
```

Latest version number: [![Maven Central](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/fontscale/badge.svg)](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/fontscale)

### Chucker plugin

Allows to quickly launch [Chucker](https://github.com/ChuckerTeam/chucker).
Based on [Hyperion Chuck](https://github.com/Commit451/Hyperion-Chuck)
which cannot be used if FoQA is published to MavenCentral repo.
We'll deprecate this plugin after Hyperion Chuck becomes [compatible with MavenCentral](https://github.com/Commit451/Hyperion-Chuck/issues/1).

### Usage

```groovy
dependencies {
debugImplementation 'pl.droidsonroids.foqa:chuck:0.1.3'
debugImplementation 'pl.droidsonroids.foqa:chucker:<latest version>'
}
```

```kotlin
dependencies {
debugImplementation("pl.droidsonroids.foqa:chucker:<latest version>")
}
```

Latest version number: [![Maven Central](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/chucker/badge.svg)](https://maven-badges.herokuapp.com/maven-central/pl.droidsonroids.foqa/chucker)

## License

MIT License
[MIT License](/LICENSE)
76 changes: 0 additions & 76 deletions build.gradle

This file was deleted.

Loading