Skip to content

Commit

Permalink
Merge pull request #23 from lagcleaner/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
lagcleaner authored Apr 25, 2021
2 parents 57eb63c + 4fff47e commit bb1d8e5
Show file tree
Hide file tree
Showing 142 changed files with 11,040 additions and 2,275 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: deploy
on:
push:
branches: [ master ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: stable
- run: flutter pub get
- run: flutter format --set-exit-if-changed .
- run: flutter analyze --fatal-infos
- run: flutter test
- uses: erickzanardo/flutter-gh-pages@v2
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ app.*.map.json

# Openapi java generator
openapi/openapi-generator-cli.jar

windows
49 changes: 46 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# Gestión UH
<h1 align="center">
Gestión UH
</h1>

A UH managment app.
<p align="center">
<img src="banner.png">
</p>

[![tests](https://github.com/NODO-UH/gestionapp/actions/workflows/tests.yml/badge.svg)](https://github.com/NODO-UH/gestionapp/actions/workflows/tests.yml) [![Codemagic build status](https://api.codemagic.io/apps/607a1a18d35b7a12ffb6c7dc/607a1a18d35b7a12ffb6c7db/status_badge.svg)](https://codemagic.io/apps/607a1a18d35b7a12ffb6c7dc/607a1a18d35b7a12ffb6c7db/latest_build)
<p align="center">
Aplicación para la gestión electrónica en la Universidad de La Habana.
</p>

<p align="center">
<a href="https://github.com/NODO-UH/gestionapp/actions/workflows/tests.yml" target="_blank">
<img src="https://github.com/NODO-UH/gestionapp/actions/workflows/tests.yml/badge.svg" alt="tests">
</a>
<a href="https://codemagic.io/apps/607a1a18d35b7a12ffb6c7dc/607a1a18d35b7a12ffb6c7db/latest_build" target="_blank">
<img src="https://api.codemagic.io/apps/607a1a18d35b7a12ffb6c7dc/607a1a18d35b7a12ffb6c7db/status_badge.svg" alt="codemagic">
</a>
<a href="https://pub.dev/packages/lint" target="_blank">
<img src="https://img.shields.io/badge/style-lint-4BC0F5.svg" alt="lint">
</a>
</p>

<hr>

### Principales funcionalidades

- Creación del perfil.
- Consultar la cuota de Internet.
- Consultar el espacio restante del buzón de Correo.

### Desarrolladores

1. Nodo Central de Red - UH
- Jesús Luis Guerrero Campins - Infraestructura y Conectividad
- [Máximo Alejandro Alfonso Fernández - Infraestructura y Conectividad](https://github.com/maximoalejandro)
- [Andy González Peña - Infraestructura y Conectividad](https://github.com/andyglez)
- [Juan Jose Roque Cires - Desarrollador de Servicios](https://github.com/jr638091)
- [Christian Rodriguez Diaz - Desarrollador de Servicios](https://github.com/WrathXL)
2. Grupo de Redes y Sistemas - UH
- [Adrian Tubal Páez Ruiz - Desarrollador de Servicios](https://github.com/stdevAdrianPaez)
- [Marcos Antonio Maceo Reyes - Desarrollador de Servicios](https://github.com/stdevMac)
- [Roberto Marti Cedeño - Desarrollador](https://github.com/rmarticedeno)
3. Facultad de Matemática y Computación - UH
- [Carlos Bermúdez Porto - Desarrollador](https://github.com/cbermudez97)
- [Leonel Alejandro García López - Desarrollador](https://github.com/lagcleaner)
- [Leynier Gutiérrez González - Desarrollador](https://github.com/leynier)
9 changes: 9 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
include: package:lint/analysis_options.yaml

analyzer:
exclude:
- build/**
- lib/generated_plugin_registrant.dart
- lib/**/*.g.dart
- lib/**/*.freezed.dart
strong-mode:
implicit-casts: false

linter:
rules:
always_use_package_imports: true
Expand Down
Binary file modified android/app/src/main/res/drawable-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-xhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-xxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-xxxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/ico.png
Binary file not shown.
Binary file added assets/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/logo-uh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/splash2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added banner.png
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.
Binary file modified ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
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.
110 changes: 0 additions & 110 deletions lib/app.dart

This file was deleted.

103 changes: 0 additions & 103 deletions lib/deps_injector.dart

This file was deleted.

25 changes: 13 additions & 12 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
import 'package:flutter/material.dart';
import 'package:gestionuh/app.dart';
import 'package:gestionuh/deps_injector.dart';
import 'package:gestionuh/src/data/repository/auth_repository/auth_repository.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:gestionuh/src/app.dart';
import 'package:gestionuh/src/data/repositories/repositories.dart';
import 'package:gestionuh/src/dependencies.dart';
import 'package:gestionuh/src/utils/configurations/configure_nonweb.dart'
if (dart.library.html) 'package:gestionuh/src/utils/configurations/configure_web.dart';
import 'package:gestionuh/src/utils/simple_bloc_observer.dart';
import 'package:get_it/get_it.dart';

Future<void> main() async {
await initialize();
runApp(GestionUhApp());
}

Future<void> initialize() async {
WidgetsFlutterBinding.ensureInitialized();

await init();

configureApp();
Bloc.observer = SimpleBlocObserver();
await DependencyInjection.init();
// Load user credentials
await di<AuthRepository>().initialize();
await GetIt.I<AuthRepository>().initialize();
runApp(GestionUhApp());
}
16 changes: 16 additions & 0 deletions lib/src/app.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import 'package:flutter/material.dart';
import 'package:gestionuh/src/presentation/theme/theme.dart';
import 'package:gestionuh/src/router.dart';
import 'package:gestionuh/src/utils/constants/constants.dart';

class GestionUhApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: Constants.appName,
theme: gestionuhLightTheme,
debugShowCheckedModeBanner: Constants.testMode,
onGenerateRoute: RouterNavigation.onGenerateRoute,
);
}
}
Loading

0 comments on commit bb1d8e5

Please sign in to comment.