Skip to content

Commit 4eed3d5

Browse files
authored
Merge pull request #78 from NeoUtils/develop
Release v3.2.0
2 parents cf68169 + 3f6753e commit 4eed3d5

File tree

50 files changed

+896
-279
lines changed

Some content is hidden

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

50 files changed

+896
-279
lines changed

.github/workflows/create-release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828

29+
- name: Decode Environment
30+
run: echo "${{ secrets.ENVIRONMENT_PROPERTIES_BASE64 }}" | base64 --decode > environment.properties
31+
2932
- name: Package
3033
run: |
3134
./gradlew application:packageReleaseTarGz
@@ -61,6 +64,13 @@ jobs:
6164
env:
6265
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6366

67+
- name: Decode Environment
68+
shell: pwsh
69+
run: |
70+
$env = "${{ secrets.ENVIRONMENT_PROPERTIES_BASE64 }}"
71+
$bytes = [System.Convert]::FromBase64String($env)
72+
[IO.File]::WriteAllBytes("environment.properties", $bytes)
73+
6474
- name: Package exe
6575
run: ./gradlew application:packageReleaseExe
6676

@@ -86,6 +96,9 @@ jobs:
8696
env:
8797
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8898

99+
- name: Decode Environment
100+
run: echo "${{ secrets.ENVIRONMENT_PROPERTIES_BASE64 }}" | base64 --decode > environment.properties
101+
89102
- name: Package dmg
90103
run: ./gradlew application:packageReleaseDmg
91104

@@ -111,6 +124,9 @@ jobs:
111124
- name: Setup Android SDK
112125
uses: android-actions/setup-android@v3
113126

127+
- name: Decode Environment
128+
run: echo "${{ secrets.ENVIRONMENT_PROPERTIES_BASE64 }}" | base64 --decode > environment.properties
129+
114130
- name: Decode Keystore
115131
run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > keystore.jks
116132

.github/workflows/release-packages.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727

28+
- name: Decode Environment
29+
run: echo "${{ secrets.ENVIRONMENT_PROPERTIES_BASE64 }}" | base64 --decode > environment.properties
30+
2831
- name: Package
2932
run: |
3033
./gradlew application:packageReleaseTarGz
@@ -60,6 +63,13 @@ jobs:
6063
env:
6164
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6265

66+
- name: Decode Environment
67+
shell: pwsh
68+
run: |
69+
$env = "${{ secrets.ENVIRONMENT_PROPERTIES_BASE64 }}"
70+
$bytes = [System.Convert]::FromBase64String($env)
71+
[IO.File]::WriteAllBytes("environment.properties", $bytes)
72+
6373
- name: Package exe
6474
run: ./gradlew application:packageReleaseExe
6575

@@ -85,6 +95,9 @@ jobs:
8595
env:
8696
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8797

98+
- name: Decode Environment
99+
run: echo "${{ secrets.ENVIRONMENT_PROPERTIES_BASE64 }}" | base64 --decode > environment.properties
100+
88101
- name: Package dmg
89102
run: ./gradlew application:packageReleaseDmg
90103

@@ -110,6 +123,9 @@ jobs:
110123
- name: Setup Android SDK
111124
uses: android-actions/setup-android@v3
112125

126+
- name: Decode Environment
127+
run: echo "${{ secrets.ENVIRONMENT_PROPERTIES_BASE64 }}" | base64 --decode > environment.properties
128+
113129
- name: Decode Keystore
114130
run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > keystore.jks
115131

.github/workflows/web-deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
with:
1919
java-version: 17
2020

21+
- name: Decode Environment
22+
run: echo "${{ secrets.ENVIRONMENT_PROPERTIES_BASE64 }}" | base64 --decode > environment.properties
23+
2124
- name: Build 🏗️
2225
run: ./gradlew application:webBrowserDistribution
2326

.github/workflows/web-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy
1+
name: Test web
22
on:
33
pull_request:
44
branches:
@@ -9,7 +9,7 @@ permissions:
99
contents: write
1010

1111
jobs:
12-
build-and-deploy:
12+
test-and-build:
1313
concurrency: ci-${{ github.ref }}
1414
runs-on: ubuntu-latest
1515
steps:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ bin/
4848
### Android ###
4949
local.properties
5050
keystore.properties
51+
environment.properties
5152
keystore.jks

.idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/_Web__Run.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PRIVACY_POLICY.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Privacy Policy
22

3-
NeoRegex is a cross-platform application for validating regular expressions. This privacy policy explains how user information is handled.
3+
NeoRegex is a cross-platform application for manipulating and validating regular expressions. This privacy policy explains how user information is handled.
44

55
## **Data Collection**
66

7-
NeoRegex does not collect, store, or share any personal or usage data. The app operates entirely offline, and all operations are performed locally on the device.
7+
NeoRegex does not collect, store, or share personal or general usage data. The app operates mostly offline, and all validation operations are performed locally on the device.
8+
9+
In the event of critical failures, the app may collect error information (crash logs), which includes technical data such as device type, operating system version, and exception tracking (stack trace). This data is used exclusively for diagnosing and fixing issues.
810

911
## **App Usage**
1012

@@ -16,8 +18,8 @@ This privacy policy may be updated occasionally. Updates will be published on th
1618

1719
## **Contact**
1820

19-
If you have any questions regarding this privacy policy or NeoRegex, please contact us at mmmirineusilva@gmail.com.
21+
If you have any questions about this privacy policy or about NeoRegex, please contact us at [mmmirineusilva@gmail.com](mailto:mmmirineusilva@gmail.com).
2022

2123
---
2224

23-
_**Last updated:** September 18, 2024_
25+
_**Last updated:** April 27, 2025_

application/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ kotlin {
4545
implementation(projects.core.database)
4646
implementation(projects.core.repository)
4747
implementation(projects.core.manager)
48+
implementation(projects.core.crashreport)
4849

4950
// feature
5051
implementation(projects.feature.matcher)
@@ -106,4 +107,4 @@ tasks.register<Tar>("packageReleaseTarGz") {
106107

107108
aboutLibraries {
108109
prettyPrint = true
109-
}
110+
}

application/src/androidMain/kotlin/com/neoutils/neoregex/NeoAndroidApp.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ package com.neoutils.neoregex
2020

2121
import android.app.Application
2222
import com.neoutils.neoregex.core.common.di.commonModule
23+
import com.neoutils.neoregex.core.crashreport.CrashReportHelper
24+
import com.neoutils.neoregex.core.crashreport.di.crashReportModule
2325
import com.neoutils.neoregex.core.database.di.databaseModule
2426
import com.neoutils.neoregex.core.datasource.di.dataSourceModule
2527
import com.neoutils.neoregex.core.manager.di.managerModule
@@ -46,7 +48,10 @@ class NeoAndroidApp : Application() {
4648
matcherModule,
4749
validatorModule,
4850
savedModule,
51+
crashReportModule
4952
)
5053
}
54+
55+
CrashReportHelper.service.setup()
5156
}
5257
}

0 commit comments

Comments
 (0)