Skip to content

Commit

Permalink
Merge pull request #48 from exdevutem/feat/orden-de-clases-y-widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Fran committed Jun 28, 2024
2 parents c1aba8a + 63d9f30 commit 2e43707
Show file tree
Hide file tree
Showing 226 changed files with 8,764 additions and 8,019 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MI_UTEM_API_DEBUG=https://api-mi-utem.herokuapp.com/
MI_UTEM_API_DEBUG=https://api.exdev.cl
4 changes: 4 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"flutter": "3.7.12",
"flavors": {}
}
103 changes: 103 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Publicar Aplicación Beta
on:
pull_request:
types: [opened, reopened, synchronize, closed]

jobs:
build:
# Formato de comentario: /deploy-beta
if: |
github.event.pull_request.author_association == 'MEMBER' &&
(github.event.pull_request.state == 'open' && !github.event.pull_request.draft) &&
(!github.event.pull_request.locked && !github.event.pull_request.active_lock_reason) &&
(!github.event.pull_request.merged_at)
runs-on: macos-latest
environment: development
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Instalar Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.0'
bundler-cache: true
- name: Instalar Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- name: Instalar Flutter
uses: flutter-actions/setup-flutter@v3
with:
channel: stable
version: 3.7.12
cache: true
cache-sdk: true
cache-key: mi-utem
- name: Instalar Dependencias
run: flutter pub get
- name: Copiar .env
run: cp .env.example .env
- name: Generar Archivos
env:
GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES }}
API_PLAY_STORE: ${{ secrets.API_PLAY_STORE }}
KEYSTORE_PROPERTIES: ${{ secrets.KEYSTORE_PROPERTIES }}
KEYSTORE_FILE: ${{ secrets.KEYSTORE_FILE }}
APP_STORE_CONNECT_AUTHKEY: ${{ secrets.APP_STORE_CONNECT_AUTHKEY }}
GOOGLE_SERVICE_INFO_PLIST: ${{ secrets.GOOGLE_SERVICE_INFO_PLIST }}
run: |
echo $GOOGLE_SERVICES | base64 --decode > android/app/google-services.json
echo $API_PLAY_STORE | base64 --decode > android/api-playstore.json
mkdir -p android/keystores
chmod 755 android/keystores
echo $KEYSTORE_PROPERTIES | base64 --decode > android/keystores/key.properties
echo $KEYSTORE_FILE | base64 --decode > android/keystores/keystore.jks
chmod 644 android/keystores/key*
echo $APP_STORE_CONNECT_AUTHKEY | base64 --decode > ios/fastlane/AuthKey.p8
echo $GOOGLE_SERVICE_INFO_PLIST > ios/Runner/GoogleService-Info.plist
- name: Publicar Beta
uses: maierj/[email protected]
env:
APP_IDENTIFIER_IOS: ${{ secrets.APP_IDENTIFIER_IOS }}
APP_IDENTIFIER_ANDROID: ${{ secrets.APP_IDENTIFIER_ANDROID }}

SLACK_URL: ${{ secrets.SLACK_URL }}
APPLE_ID: ${{ secrets.APPLE_ID }}

FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
FASTLANE_ITC_TEAM_ID: ${{ secrets.FASTLANE_ITC_TEAM_ID }}
FASTLANE_TEAM_ID: ${{ secrets.FASTLANE_TEAM_ID }}
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

MATCH_REPO_GIT_URL: ${{ secrets.MATCH_REPO_GIT_URL }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
MATCH_KEYCHAIN_PASSWORD: ${{ secrets.MATCH_KEYCHAIN_PASSWORD }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}

KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}

FASTLANE_SESSION: ${{ secrets.FASTLANE_SESSION }}

APP_STORE_CONNECT_API_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
with:
lane: 'upload'
options: '{ "type": "beta", "skip_git_push": "true", "skip_slack": "true", "is_ci": "true" }'
- name: Publicar Version en Git
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add pubspec.yaml
git commit -m "ci(bump-version): github action bump version"
git push
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -1060,12 +1060,13 @@ FodyWeavers.xsd

# Custom ignores
*.pem
*.code-workspace
**/prod/google-services.json
android/app/google-services.json
api-playstore.json
GoogleService-Info*.plist
!GoogleService-Info-dev.plist
android/keystores/*
*/fastlane/report.xml
.flutter-plugins-dependencies

# Llave de API de App Store Connect
**/ios/**/*.p8
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dart.flutterSdkPath": ".fvm/versions/3.7.12"
}
31 changes: 25 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,33 @@ Tipos de cambios

## [Unreleased]

### Added
- Apodo para personalizar la aplicación.
- Se agrega onboarding (con configuración de apodo, solicitud de permiso de notificaciones y bienvenida a la app).
- Lista de estudiantes al resumen de asignatura.
- Vista previa de estudiantes y profesores.
- Vista previa de los datos del profesor.
- Se agrega ventana de vista previa de la asignatura desde horario (al mantener presionado un bloque).
- Se agrega navegación hacia la asignatura desde el horario al presionar un bloque.
- Botón para limpiar las notas en la calculadora.
- Sección de `Acerca de la App` en modo depuración.
- Se agrega métricas y toma de errores de Sentry (esta vez están bien configurados).
- Se agrega modo fuera de línea para permitir el uso de la app sin conexión.
- Se permite cualquier orientación de pantalla (horizontal y vertical).

### Changed
- Se actualizaron algunas dependencias.
- Se ordenan las clases y widgets de la app.
- Se optimiza el código y la aplicación en general.
- Se separan clases en formato de repositorios, servicios y controladores.
- Se mejora la documentación de algunos archivos y métodos.
- Ahora se cargan las noticias de la página [noticias.utem.cl](https://noticias.utem.cl).
- Se utiliza navegación de flutter nativa (Usando [`Navigator`](https://docs.flutter.dev/cookbook/navigation/navigation-basics) en lugar de rutas nombradas).

- Se actualizan dependecias de Flutter
### Removed
- Se elimina pestaña de estudiantes del detalle de asignatura (a favor del botón de lista de estudiantes en el resumen).
- Modal de Permitir Notificaciones a favor de modal nativa del sistema. Solo se editará el mensaje de notificaciones, ya que es redundante el botón de permitir y cancelar.
- Vistas sin uso en la aplicación.

## [2.11.9] - 2023-10-11Z

Expand Down Expand Up @@ -135,8 +159,3 @@ Esta versión del changelog contiene cambios hechos en 2.10, debido a que no se

- Lista de estudiantes en la pantalla de asignatura
- Perfil de profesores
- Perfil de profesores
- Perfil de profesores
- Perfil de profesores
- Perfil de profesores
- Perfil de profesores
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ source "https://rubygems.org"

gem 'fastlane'
gem 'cocoapods'
gem 'abbrev'

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
Loading

0 comments on commit 2e43707

Please sign in to comment.