Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
deckerst committed Dec 19, 2024
2 parents c5f06ba + dd36ecb commit 3ebb6e8
Show file tree
Hide file tree
Showing 117 changed files with 1,209 additions and 3,814 deletions.
2 changes: 1 addition & 1 deletion .flutter
Submodule .flutter updated 2036 files
8 changes: 4 additions & 4 deletions .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Get Flutter packages
run: scripts/pub_get_all.sh
run: ./flutterw pub get

- name: Static analysis.
run: ./flutterw analyze
Expand Down Expand Up @@ -59,7 +59,7 @@ 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@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: 'temurin'
java-version: '21'
Expand All @@ -69,7 +69,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@babb554ede22fd5605947329c4d04d8e7a0b8155 # v3.27.7
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand All @@ -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@babb554ede22fd5605947329c4d04d8e7a0b8155 # v3.27.7
uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
with:
category: "/language:${{matrix.language}}"
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ 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@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: 'temurin'
java-version: '21'
Expand All @@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Get Flutter packages
run: scripts/pub_get_all.sh
run: ./flutterw pub get

- name: Update Flutter version file
run: scripts/update_flutter_version.sh
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload app bundle
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: appbundle
path: outputs/app-play-release.aab
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ 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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@babb554ede22fd5605947329c4d04d8e7a0b8155 # v3.27.7
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
with:
sarif_file: results.sarif
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file.

## <a id="unreleased"></a>[Unreleased]

## <a id="v1.12.0"></a>[v1.12.0] - 2024-12-19

### Added

- Countries: show states for Mexico
- Estonian translation (thanks Priit Jõerüüt)

### Changed

- upgraded Flutter to stable v3.27.1

### Fixed

- crash when loading many new items on low memory devices

## <a id="v1.11.20"></a>[v1.11.20] - 2024-12-11

### Added
Expand Down
3 changes: 0 additions & 3 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,6 @@
android:name="flutterEmbedding"
android:value="2" />
<!--
Impeller is not supported by `media_kit` v1.1.10+1:
https://github.com/media-kit/media-kit/issues/707
Screenshot driver scenario is not supported by Impeller:
"Compressed screenshots not supported for Impeller"
-->
Expand Down
4 changes: 4 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/140.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
In v1.12.0:
- save your filtered collection as dynamic albums
- enjoy the app in Tamil, Bulgarian and Estonian
Full changelog available on GitHub
4 changes: 4 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/14001.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
In v1.12.0:
- save your filtered collection as dynamic albums
- enjoy the app in Tamil, Bulgarian and Estonian
Full changelog available on GitHub
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions fastlane/metadata/android/ta/full_description.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<i>Aves</i> can handle all sorts of images and videos, including your typical JPEGs and MP4s, but also more exotic things like <b>multi-page TIFFs, SVGs, old AVIs and more</b>! It scans your media collection to identify <b>motion photos</b>, <b>panoramas</b> (aka photo spheres), <b>360° videos</b>, as well as <b>GeoTIFF</b> files.
<i>ஏவ்ச்</i> உங்கள் வழக்கமான JPEG கள் மற்றும் MP4 கள் உட்பட அனைத்து வகையான படங்கள் மற்றும் வீடியோக்களைக் கையாள முடியும், ஆனால் <b> பல பக்க டிஐஎஃப்பிஎச், எச்விசிகள், பழைய அவிச் மற்றும் மேலும் </b> போன்ற கவர்ச்சியான விசயங்களையும் கையாள முடியும்! <b> மோசன் புகைப்படங்கள் </b>, <b> பனோரமாச் </b> (புகைப்படக் கோளங்கள்), <b> 360 ° வீடியோக்கள் </b>, அத்துடன் <b> சியோடிஃப் < /b> கோப்புகள்.

<b>Navigation and search</b> is an important part of <i>Aves</i>. The goal is for users to easily flow from albums to photos to tags to maps, etc.
<b> வழிசெலுத்தல் மற்றும் தேடல் </b> <i> ஏவ்ச் </i> இன் ஒரு முக்கிய பகுதியாகும். பயனர்கள் ஆல்பங்களிலிருந்து புகைப்படங்கள் வரை குறிச்சொற்களுக்கு வரைபடங்கள் போன்றவற்றுக்கு எளிதாக பாய வேண்டும்.

<i>Aves</i> integrates with Android (including Android TV) with features such as <b>widgets</b>, <b>app shortcuts</b>, <b>screen saver</b> and <b>global search</b> handling. It also works as a <b>media viewer and picker</b>.
39 changes: 39 additions & 0 deletions lib/geo/states.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,68 @@ class GeoStates {
static final aus = CountryCode.AU.alpha2;
static final gbr = CountryCode.GB.alpha2;
static final ind = CountryCode.IN.alpha2;
static final mex = CountryCode.MX.alpha2;
static final usa = CountryCode.US.alpha2;

static final Set<String> stateCountryCodes = {
aus,
gbr,
ind,
mex,
usa,
};

static final stateCodesByCountryCode = {
aus: EmojiStateCodes.aus,
gbr: EmojiStateCodes.gbr,
ind: EmojiStateCodes.ind,
mex: EmojiStateCodes.mex,
usa: EmojiStateCodes.usa,
};

static const stateCodeByName = {
..._australiaEnglish,
..._indiaEnglish,
..._mexicoSpanish,
..._unitedKingdomEnglish,
..._unitedStatesEnglish,
};

static const _mexicoSpanish = {
'Aguascalientes': EmojiStateCodes.mxAguascalientes,
'Baja California': EmojiStateCodes.mxBajaCalifornia,
'Baja California Sur': EmojiStateCodes.mxBajaCaliforniaSur,
'Campeche': EmojiStateCodes.mxCampeche,
'Chiapas': EmojiStateCodes.mxChiapas,
'Chihuahua': EmojiStateCodes.mxChihuahua,
'Ciudad de México': EmojiStateCodes.mxCiudadDeMexico,
'Coahuila': EmojiStateCodes.mxCoahuila,
'Colima': EmojiStateCodes.mxColima,
'Durango': EmojiStateCodes.mxDurango,
'Guanajuato': EmojiStateCodes.mxGuanajuato,
'Guerrero': EmojiStateCodes.mxGuerrero,
'Hidalgo': EmojiStateCodes.mxHidalgo,
'Jalisco': EmojiStateCodes.mxJalisco,
'Estado de México': EmojiStateCodes.mxMexicoState,
'Michoacán': EmojiStateCodes.mxMichoacan,
'Morelos': EmojiStateCodes.mxMorelos,
'Nayarit': EmojiStateCodes.mxNayarit,
'Nuevo León': EmojiStateCodes.mxNuevoLeon,
'Oaxaca': EmojiStateCodes.mxOaxaca,
'Puebla': EmojiStateCodes.mxPuebla,
'Querétaro': EmojiStateCodes.mxQueretaro,
'Quintana Roo': EmojiStateCodes.mxQuintanaRoo,
'San Luis Potosí': EmojiStateCodes.mxSanLuisPotosi,
'Sinaloa': EmojiStateCodes.mxSinaloa,
'Sonora': EmojiStateCodes.mxSonora,
'Tabasco': EmojiStateCodes.mxTabasco,
'Tamaulipas': EmojiStateCodes.mxTamaulipas,
'Tlaxcala': EmojiStateCodes.mxTlaxcala,
'Veracruz': EmojiStateCodes.mxVeracruz,
'Yucatán': EmojiStateCodes.mxYucatan,
'Zacatecas': EmojiStateCodes.mxZacatecas,
};

static const _australiaEnglish = {
'Australian Capital Territory': EmojiStateCodes.auAustralianCapitalTerritory,
'New South Wales': EmojiStateCodes.auNewSouthWales,
Expand Down
26 changes: 13 additions & 13 deletions lib/l10n/app_bg.arb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@setCoverDialogAuto": {},
"hideFilterConfirmationDialogMessage": "Съответстващите снимки и видеоклипове ще бъдат скрити от вашата колекция. Можете да ги покажете отново от настройките „Поверителност“.\n\nСигурни ли сте, че искате да ги скриете?",
"@hideFilterConfirmationDialogMessage": {},
"newVaultWarningDialogMessage": "Елементите в трезорите са достъпни само за това приложение и за никое друго.\n\nАко деинсталирате това приложение или изчистите данните на това приложение, ще загубите всички тези елементи.",
"newVaultWarningDialogMessage": "Елементите в трезорите са достъпни само за това приложение и за никое друго.\n\nАко деинсталирате или изчистите данните на това приложение, ще загубите цялото съдържание на трезора.",
"@newVaultWarningDialogMessage": {},
"authenticateToConfigureVault": "Удостоверете се, за да конфигурирате трезора",
"@authenticateToConfigureVault": {},
Expand Down Expand Up @@ -104,7 +104,7 @@
"@videoStreamSelectionDialogVideo": {},
"menuActionSelect": "Избери",
"@menuActionSelect": {},
"menuActionSelectAll": "Изберете всички",
"menuActionSelectAll": "Избери всички",
"@menuActionSelectAll": {},
"menuActionMap": "Карта",
"@menuActionMap": {},
Expand All @@ -128,7 +128,7 @@
"@collectionPickPageTitle": {},
"collectionActionHideTitleSearch": "Скрий филтъра на заглавието",
"@collectionActionHideTitleSearch": {},
"collectionActionSetHome": "Задай като главен",
"collectionActionSetHome": "Задай като начален",
"@collectionActionSetHome": {},
"collectionActionRescan": "Сканирай наново",
"@collectionActionRescan": {},
Expand Down Expand Up @@ -461,7 +461,7 @@
"@albumTierRegular": {},
"coordinateFormatDms": "Градуси, минути и секунди",
"@coordinateFormatDms": {},
"coordinateFormatDecimal": "Десятични градуси",
"coordinateFormatDecimal": "Десетични градуси",
"@coordinateFormatDecimal": {},
"coordinateDms": "{coordinate} {direction}",
"@coordinateDms": {
Expand Down Expand Up @@ -516,7 +516,7 @@
"@nameConflictStrategyRename": {},
"nameConflictStrategySkip": "Пропусни",
"@nameConflictStrategySkip": {},
"overlayHistogramNone": "None",
"overlayHistogramNone": "Нищо",
"@overlayHistogramNone": {},
"overlayHistogramLuminance": "Яркост",
"@overlayHistogramLuminance": {},
Expand Down Expand Up @@ -1047,11 +1047,11 @@
"@appExportFavourites": {},
"appExportSettings": "Настройки",
"@appExportSettings": {},
"settingsHomeTile": "Home",
"settingsHomeTile": "Начален екран",
"@settingsHomeTile": {},
"settingsHomeDialogTitle": "Home",
"settingsHomeDialogTitle": "Начален екран",
"@settingsHomeDialogTitle": {},
"setHomeCustom": "Custom",
"setHomeCustom": "Персонализиран",
"@setHomeCustom": {},
"settingsKeepScreenOnTile": "Запази екрана включен",
"@settingsKeepScreenOnTile": {},
Expand Down Expand Up @@ -1111,7 +1111,7 @@
"@chipActionPin": {},
"doubleBackExitMessage": "Натиснете отново „Назад“, за да излезете.",
"@doubleBackExitMessage": {},
"doNotAskAgain": "Не питайте отново",
"doNotAskAgain": "Не питай отново",
"@doNotAskAgain": {},
"sourceStateLocatingCountries": "Местоположение на държави",
"@sourceStateLocatingCountries": {},
Expand Down Expand Up @@ -1205,9 +1205,9 @@
"@settingsCollectionBurstPatternsTile": {},
"settingsCollectionBurstPatternsNone": "Няма",
"@settingsCollectionBurstPatternsNone": {},
"settingsViewerSectionTitle": "Вюър",
"settingsViewerSectionTitle": "Визуализатор",
"@settingsViewerSectionTitle": {},
"settingsViewerGestureSideTapNext": "Докоснете ръбовете на екрана, за да покажете предишен/следващ елемент",
"settingsViewerGestureSideTapNext": "Докоснете краищата на екрана, за да покажете предишен/следващ елемент",
"@settingsViewerGestureSideTapNext": {},
"settingsNavigationDrawerTabAlbums": "Албуми",
"@settingsNavigationDrawerTabAlbums": {},
Expand Down Expand Up @@ -1491,7 +1491,7 @@
"@viewerErrorUnknown": {},
"viewerInfoPageTitle": "Информация",
"@viewerInfoPageTitle": {},
"viewerInfoBackToViewerTooltip": "Обратно към viewer",
"viewerInfoBackToViewerTooltip": "Обратно към визуализатор",
"@viewerInfoBackToViewerTooltip": {},
"viewerInfoUnknown": "Неизвестен",
"@viewerInfoUnknown": {},
Expand Down Expand Up @@ -1553,7 +1553,7 @@
"@filePickerDoNotShowHiddenFiles": {},
"filePickerOpenFrom": "Отворете от",
"@filePickerOpenFrom": {},
"settingsVideoGestureSideDoubleTapSeek": "Докоснете два пъти краищата на екрана, за да търсите назад/напред",
"settingsVideoGestureSideDoubleTapSeek": "Докоснете два пъти краищата на екрана, за превъртане назад/напред",
"@settingsVideoGestureSideDoubleTapSeek": {},
"settingsSaveSearchHistory": "Запазване на историята на търсенето",
"@settingsSaveSearchHistory": {},
Expand Down
Loading

0 comments on commit 3ebb6e8

Please sign in to comment.