diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index c1209291a..7b0990bcf 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -22,6 +22,6 @@ jobs: egress-policy: audit - name: 'Checkout Repository' - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: 'Dependency Review' uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4 diff --git a/.github/workflows/quality-check.yml b/.github/workflows/quality-check.yml index 80bc4a5ca..7265b74c5 100644 --- a/.github/workflows/quality-check.yml +++ b/.github/workflows/quality-check.yml @@ -23,7 +23,7 @@ jobs: egress-policy: audit - name: Checkout repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Get Flutter packages run: scripts/pub_get_all.sh @@ -59,17 +59,17 @@ jobs: # Building relies on the Android Gradle plugin, # which requires a modern Java version (not the default one). - name: Set up JDK for Android Gradle plugin - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0 + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 with: distribution: 'temurin' java-version: '21' - name: Checkout repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7 + uses: github/codeql-action/init@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -83,6 +83,6 @@ jobs: ./flutterw build apk --profile -t lib/main_play.dart --flavor play - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7 + uses: github/codeql-action/analyze@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 461911e04..6c51209fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,13 +23,13 @@ jobs: # Building relies on the Android Gradle plugin, # which requires a modern Java version (not the default one). - name: Set up JDK for Android Gradle plugin - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0 + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 with: distribution: 'temurin' java-version: '21' - name: Checkout repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Get Flutter packages run: scripts/pub_get_all.sh @@ -80,7 +80,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: Upload app bundle - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 with: name: appbundle path: outputs/app-play-release.aab @@ -96,7 +96,7 @@ jobs: egress-policy: audit - name: Checkout repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Get appbundle from artifacts uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index a71b2294a..7bbfaa3a0 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -36,7 +36,7 @@ jobs: egress-policy: audit - name: "Checkout code" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: persist-credentials: false @@ -63,7 +63,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 with: name: SARIF file path: results.sarif @@ -71,6 +71,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3.26.7 + uses: github/codeql-action/upload-sarif@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12 with: sarif_file: results.sarif diff --git a/CHANGELOG.md b/CHANGELOG.md index 752ec0678..8c44780f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [v1.11.14] - 2024-10-09 + +### Added + +- Map: OpenTopoMap raster layer +- Map: OSM Liberty vector layer (hosted by OSM Americana) +- Interoperability: receiving `geo:` URI generally opens map page at location +- Interoperability: receiving `geo:` URI when editing item location fills in coordinates +- Map basic app shortcut +- Enterprise: support for work profile switching from the drawer +- Settings: hidden path filters are merged with others and can be toggled + +### Removed + +- `Safe mode` basic app shortcut + +### Fixed + +- hanging when cataloguing some JPEG MPF images +- Apple HDR image detection + ## [v1.11.13] - 2024-09-17 ### Added @@ -1126,6 +1147,7 @@ All notable changes to this project will be documented in this file. - app launching on some devices - corrupting motion photo exif editing (e.g. rotation) +- accessing files in `Download` directory when not using reference case ## [v1.4.9] - 2021-08-20 diff --git a/analysis_options.yaml b/analysis_options.yaml index d4f4380d2..f9925ff6f 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -36,3 +36,8 @@ linter: prefer_single_quotes: true sort_child_properties_last: true unawaited_futures: true + + # `const` related, included + prefer_const_constructors: true + prefer_const_literals_to_create_immutables: true + prefer_const_declarations: true diff --git a/android/app/build.gradle b/android/app/build.gradle index 897c3c32d..2bf34a887 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -10,18 +10,6 @@ plugins { def packageName = "deckers.thibault.aves" -// Flutter properties - -def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader('UTF-8') { reader -> - localProperties.load(reader) - } -} -def flutterVersionCode = localProperties.getProperty('flutter.versionCode') -def flutterVersionName = localProperties.getProperty('flutter.versionName') - // Keys def keystoreProperties = new Properties() @@ -53,22 +41,12 @@ android { targetCompatibility JavaVersion.VERSION_21 } - lint { - checkAllWarnings true - warningsAsErrors true - disable 'InvalidPackage' - } - - sourceSets { - main.java.srcDirs += 'src/main/kotlin' - } - defaultConfig { applicationId packageName minSdk flutter.minSdkVersion targetSdk 35 - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName + versionCode flutter.versionCode + versionName flutter.versionName manifestPlaceholders = [googleApiKey: keystoreProperties["googleApiKey"] ?: ""] multiDexEnabled true } @@ -189,7 +167,7 @@ dependencies { implementation "androidx.appcompat:appcompat:1.7.0" implementation 'androidx.core:core-ktx:1.13.1' - implementation 'androidx.lifecycle:lifecycle-process:2.8.5' + implementation 'androidx.lifecycle:lifecycle-process:2.8.6' implementation 'androidx.media:media:1.7.0' implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.security:security-crypto:1.1.0-alpha06' diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 229782b9d..2cc029d5d 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -39,6 +39,10 @@ + + @@ -179,6 +183,13 @@ + + + + + + +