Skip to content

Commit 9be9ba7

Browse files
Merge branch 'main' into release
2 parents 4008dda + 164aba4 commit 9be9ba7

File tree

11 files changed

+46
-28
lines changed

11 files changed

+46
-28
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: "CodeQL"
22
on:
33
push:
4-
branches: [ master, feature ]
4+
branches: [ main, release ]
55
pull_request:
6-
branches: [ master, feature ]
6+
branches: [ main, release ]
77
schedule:
88
- cron: '41 4 * * 2'
99
jobs:

.github/workflows/stale.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Mark stale issues and pull requests
2+
on:
3+
schedule:
4+
- cron: '* * 1 * *'
5+
jobs:
6+
stale:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
steps:
12+
- uses: actions/stale@v9
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
16+
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
17+
stale-issue-label: 'stale'
18+
stale-pr-label: 'stale'
19+
exempt-issue-labels: 'bug,high-priority'
20+
operations-per-run: 100

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@
1313

1414
- Make sure you are using the latest version of WiFiAnalyzer.
1515
- Please search issues to see if the same feature has already been submitted.
16-
- If an feature has already been opened, feel free to add more useful information to it. Oherwise, open a new feature request (one feature per request).
16+
- If an feature has already been opened, feel free to add more useful information to it. Otherwise, open a new feature
17+
request (one feature per request).
1718
- Please provide an explanation how the feature solves the problem you are having.
1819
- UI feature request, please describe what the UI would look like and how the user would interact with it.
1920

2021
# Submit a pull request
2122

2223
- When starting to work on a feature or bug that has been reported, please add a comment to it that you are working on it.
2324
- Fork the repository
24-
- Please make sure that you are using `feature` branch, since all the WiFiAnalyzer changes are done on the `feature` branch.
25-
- WiFiAnalyzer 'master' branch is only used to release new versions. As a result, the `master` branch most likely doesn't contain the latest changes.
2625
- To close a feature or a bug automatically, once pull request has been merged, please mention it in the [commit comment](https://help.github.com/articles/closing-issues-via-commit-messages/) or [pull request text](https://github.com/blog/1506-closing-issues-via-pull-requests).
2726
- Please avoid if possible large change sets.
2827
- Please do not forget to add unit tests.

PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
Thanks for sending a pull request!
22

3-
**Please make sure that you are using `feature` branch, since all the WiFi Analyzer changes are done on the `feature` branch!**
4-
53
[How to submit a pull request](https://github.com/VREMSoftwareDevelopment/WiFiAnalyzer/wiki/Pull-Request)
64

75
**What does this implement/fix? Please describe.**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ WiFi Analyzer is licensed under the GNU General Public License v3.0 (GPLv3).
107107

108108
[![Workflow Status](https://github.com/VREMSoftwareDevelopment/WiFiAnalyzer/workflows/Android%20CI/badge.svg)](https://github.com/VREMSoftwareDevelopment/WiFiAnalyzer/actions?query=workflow%3A%22Android+CI%22)
109109
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/203eaa0583694bcca6554190513179ba)](https://app.codacy.com/gh/VREMSoftwareDevelopment/WiFiAnalyzer/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
110-
[![codecov](https://codecov.io/gh/VREMSoftwareDevelopment/WiFiAnalyzer/branch/master/graph/badge.svg)](https://codecov.io/gh/VREMSoftwareDevelopment/WiFiAnalyzer)
110+
[![codecov](https://codecov.io/gh/VREMSoftwareDevelopment/WiFiAnalyzer/branch/main/graph/badge.svg)](https://codecov.io/gh/VREMSoftwareDevelopment/WiFiAnalyzer)
111111

112112
[![Known Vulnerabilities](https://snyk.io/test/github/vremsoftwaredevelopment/wifianalyzer/badge.svg)](https://snyk.io/test/github/vremsoftwaredevelopment/wifianalyzer)
113113
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FVREMSoftwareDevelopment%2FWiFiAnalyzer.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FVREMSoftwareDevelopment%2FWiFiAnalyzer?ref=badge_shield)

app/build.gradle

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,37 @@ dependencies {
2727
// Compile Build Dependencies
2828
implementation fileTree(include: ["*.jar"], dir: "libs")
2929
implementation 'com.google.android.material:material:1.12.0'
30-
implementation 'androidx.annotation:annotation:1.8.0'
30+
implementation 'androidx.annotation:annotation:1.8.2'
3131
implementation 'androidx.appcompat:appcompat:1.7.0'
32-
implementation 'androidx.collection:collection-ktx:1.4.0'
32+
implementation 'androidx.collection:collection-ktx:1.4.4'
3333
implementation 'androidx.core:core-ktx:1.13.1'
3434
implementation 'androidx.core:core-splashscreen:1.0.1'
3535
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
36-
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.2'
36+
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.6'
3737
implementation 'androidx.media:media:1.7.0'
3838
implementation 'androidx.preference:preference-ktx:1.2.1'
3939
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
4040
implementation 'com.jjoe64:graphview:4.2.2'
4141
// Unit Test Dependencies
42-
testImplementation 'androidx.test.ext:junit:1.1.5'
42+
testImplementation 'androidx.test.ext:junit:1.2.1'
4343
testImplementation 'com.googlecode.junit-toolbox:junit-toolbox:2.4'
4444
testImplementation 'junit:junit:4.13.2'
45-
testImplementation 'org.mockito:mockito-core:5.12.0'
46-
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.3.1'
47-
testImplementation 'org.robolectric:robolectric:4.12.2'
45+
testImplementation 'org.mockito:mockito-core:5.14.1'
46+
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.4.0'
47+
testImplementation 'org.robolectric:robolectric:4.13'
4848
testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
4949
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
50-
testImplementation 'org.slf4j:slf4j-simple:2.0.13'
51-
testImplementation 'org.assertj:assertj-core:3.26.0'
50+
testImplementation 'org.slf4j:slf4j-simple:2.0.16'
51+
testImplementation 'org.assertj:assertj-core:3.26.3'
5252
// Android Test Dependencies
53-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
54-
androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.5'
53+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
54+
androidTestImplementation 'androidx.test.ext:junit-ktx:1.2.1'
5555
}
5656

5757
android {
5858
namespace 'com.vrem.wifianalyzer'
59-
compileSdk 34
59+
compileSdk 35
60+
buildToolsVersion '35.0.0'
6061

6162
sourceSets.each {
6263
it.java.srcDirs += "src/$it.name/kotlin"
@@ -65,7 +66,7 @@ android {
6566
defaultConfig {
6667
applicationId "com.vrem.wifianalyzer"
6768
minSdkVersion 24
68-
targetSdkVersion 34
69+
targetSdkVersion 35
6970
versionCode
7071
versionName
7172
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

app/build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Build Properties
2-
#Sat Jul 06 12:13:16 EDT 2024
3-
version_build=0
2+
#Sat Oct 05 10:11:19 EDT 2024
3+
version_build=6
44
version_major=3
55
version_minor=1
66
version_patch=3

app/src/androidTest/kotlin/com/vrem/wifianalyzer/InstrumentedTestUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal class ChildAtPosition(private val parentMatcher: Matcher<View>, private
3030
parentMatcher.describeTo(description)
3131
}
3232

33-
public override fun matchesSafely(view: View): Boolean {
33+
override fun matchesSafely(view: View): Boolean {
3434
val parent = view.parent
3535
return (parent is ViewGroup && parentMatcher.matches(parent) && view == parent.getChildAt(position))
3636
}

app/src/main/res/values-zh-rCN/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<string name="graph_axis_y">"信号强度 (dBm)"</string>
6060

6161
<!-- settings start -->
62-
<string name="country_code_title">"国家"</string>
62+
<string name="country_code_title">"国家 (或地区)"</string>
6363

6464
<string name="scan_speed_title">"扫描间隔"</string>
6565
<string name="scan_speed_summary">"%s 秒"</string>

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020

2121
buildscript {
2222
ext {
23-
kotlin_version = '2.0.0'
23+
kotlin_version = '2.0.20'
2424
}
2525
repositories {
2626
google()
2727
mavenCentral()
2828
}
2929
dependencies {
30-
classpath 'com.android.tools.build:gradle:8.5.0'
30+
classpath 'com.android.tools.build:gradle:8.7.0'
3131
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
3232
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
3333
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
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-8.7-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip

0 commit comments

Comments
 (0)