-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* hotfix: sort notes by edited time instead of created time * hotfix: change layout button icon on toggle * hotfix: request editor focus when submitting title * Use environment parameters for screenshot data (#151) * [118] Add Dart doc (#153) * [76] Release with CI (#156) * Prepare v1.5.2 (#157)
- Loading branch information
1 parent
96dd5a0
commit 892d56d
Showing
128 changed files
with
2,419 additions
and
857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
get_version: | ||
name: Get the app version | ||
environment: release | ||
runs-on: ubuntu-latest | ||
outputs: | ||
version: ${{ steps.echo_version.outputs.version }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Get version | ||
id: get_version | ||
uses: mikefarah/yq@master | ||
with: | ||
cmd: yq -r '.version' 'pubspec.yaml' | cut -d '+' -f 1 | ||
- name: Echo version | ||
id: echo_version | ||
run: echo "version=${{ steps.get_version.outputs.result }}" >> "$GITHUB_OUTPUT" | ||
|
||
release_github: | ||
name: Release on GitHub | ||
environment: release | ||
needs: [ get_version ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Setup Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
flutter-version-file: pubspec.yaml | ||
- name: Add keystore | ||
run: echo "${{ secrets.ANDROID_KEYSTORE }}" | base64 -d > android/localmaterialnotes_keystore.jks | ||
- name: Add key properties | ||
run: echo "${{ secrets.ANDROID_KEY_PROPERTIES }}" > android/key.properties | ||
- name: Build app (fat APK) | ||
run: flutter build apk --release | ||
- name: Build app (per ABIs) | ||
run: flutter build apk --release --split-per-abi | ||
- name: Create a folder to store the APKs to release | ||
run: mkdir release | ||
- name: Move and rename APKs | ||
run: | | ||
mv build/app/outputs/flutter-apk/app-release.apk release/localmaterialnotes_v${{ needs.get_version.outputs.version }}.apk | ||
mv build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk release/localmaterialnotes_armeabi-v7a_v${{ needs.get_version.outputs.version }}.apk | ||
mv build/app/outputs/flutter-apk/app-arm64-v8a-release.apk release/localmaterialnotes_arm64-v8a_v${{ needs.get_version.outputs.version }}.apk | ||
mv build/app/outputs/flutter-apk/app-x86_64-release.apk release/localmaterialnotes_x86_64_v${{ needs.get_version.outputs.version }}.apk | ||
- name: Extract changelog | ||
id: extract_changelog | ||
uses: dahlia/submark@main | ||
with: | ||
input-file: CHANGELOG.md | ||
heading-level: 2 | ||
heading-title-regex: ^${{ needs.get_version.outputs.version }} | ||
omit-heading: true | ||
- name: Create release tag | ||
uses: actions/github-script@v5 | ||
with: | ||
script: | | ||
github.rest.git.createRef({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
ref: 'refs/tags/v${{ needs.get_version.outputs.version }}', | ||
sha: context.sha | ||
}) | ||
- name: Publish to GitHub releases | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
draft: true | ||
make_latest: true | ||
name: v${{ needs.get_version.outputs.version }} | ||
body: ${{ steps.extract_changelog.outputs.output-text }} | ||
tag_name: v${{ needs.get_version.outputs.version }} | ||
files: release/* | ||
|
||
release_play_store: | ||
name: Release on the Play Store | ||
environment: release | ||
needs: [ get_version ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Setup Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
flutter-version-file: pubspec.yaml | ||
- name: Add keystore | ||
run: echo "${{ secrets.ANDROID_KEYSTORE }}" | base64 -d > android/localmaterialnotes_keystore.jks | ||
- name: Add key properties | ||
run: echo "${{ secrets.ANDROID_KEY_PROPERTIES }}" > android/key.properties | ||
- name: Add fastlane supply key | ||
run: echo "${{ secrets.FASTLANE_SUPPLY_KEY }}" | base64 -d > fastlane/localmaterialnotes_fastlane-supply_key.json | ||
- name: Run fastlane | ||
run: bundle exec fastlane deploy_production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -211,6 +211,7 @@ GEM | |
|
||
PLATFORMS | ||
x64-mingw-ucrt | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
fastlane | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
You should always update to the latest version to receive the most recent security updates. | ||
|
||
## Reporting a Vulnerability | ||
|
||
Any vulnerability can be reported in the [Security Advisories](https://github.com/maelchiotti/LocalMaterialNotes/security/advisories) section. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ADDED | ||
- Portuguese localization | ||
|
||
FIXED | ||
- Auto export settings tile not updating after disabling auto export | ||
- Notes sorted by their created time instead of their edited time | ||
- Toggling the sort by ascending order by taping on the list tile instead of the checkbox not working | ||
- Focus on the note content not requested when the title is validated | ||
- Typos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
AJOUTÉ | ||
- Localisation en portugais | ||
|
||
CORRIGÉ | ||
- La tuile des paramètres d'export automatique ne se mettait pas à jour après avoir désactivé l'export automatique | ||
- Notes triées en fonction de leur date de création au lieu de leur date d'édition | ||
- Le basculement du tri par ordre croissant en tapant sur la tuile au lieu de la case à cocher ne fonctionne pas | ||
- Le focus sur le contenu de la note n'est pas demandée lorsque le titre est validé | ||
- Fautes d'orthographe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p><b>Material Notes</b> é um aplicativo de anotações baseado em texto, voltado para a simplicidade. Ele abraça o Material Design. Ele armazena as notas localmente e não tem nenhuma permissão de internet, então você é o único que pode acessar as notas.</p><p><b>Faça anotações</b></p><ul><li>Escreva notas de texto (título e conteúdo)</li><li>Aproveite as opções avançadas de formatação, incluindo listas de verificação</li><li>Desfaça e refaça suas alterações durante a edição</li><li>Use a ação rápida na tela inicial para adicionar uma nota rapidamente</li></ul><p><b>Organize</b></p><ul><li>Pesquise em suas anotações</li><li>Classifique suas notas por data ou título, em ordem crescente ou decrescente</li><li>Exiba suas notas em uma lista ou visualização em grade</li><li>Fixe suas anotações</li><li>Recupere suas notas excluídas da lixeira</li></ul><p><b>Compartilhar e fazer backup</b></p><ul><li>Compartilhe texto de outros aplicativos para adicioná-lo diretamente a uma nota</li><li>Compartilhe suas anotações como texto</li><li>Exporte suas notas como JSON, manual ou automaticamente, e importe-as de volta</li><li>Exporte suas notas como Markdown</li></ul><p><b>Proteção</b></p><ul><li>Nunca se preocupe com a forma como seus dados são tratados: eles não podem sair do seu dispositivo já que o aplicativo não tem nenhuma permissão de internet</li><li>Criptografe suas exportações JSON</li></ul><p><b>Personalização</b></p><ul><li>Escolha seu idioma</li><li>Escolha o seu tema (claro, escuro ou preto)</li><li>Escolha se deseja que seu tema seja dinâmico (use cores do plano de fundo)</li><li>Escolha se deseja ativar a formatação avançada, apenas as listas de verificação ou manter suas anotações básicas</li></ul> |
Oops, something went wrong.