Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G2-feature/Visualizer #67

Open
wants to merge 95 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
b78879a
Cambio 2 en el README
joszamama Oct 19, 2021
72386f7
Cambio 3 en el Readme
joszamama Oct 19, 2021
f2b8b6b
Cambio 4
joszamama Oct 19, 2021
ebb42fa
Cambio 5
joszamama Oct 19, 2021
a460a98
Update README.md
joszamama Oct 30, 2021
fa163fc
Instanciación P1
joszamama Oct 30, 2021
d8dd2b6
add localexample
joszamama Oct 30, 2021
8dab585
New commit message.
joszamama Oct 30, 2021
66e95f5
Merge branch 'master' of https://github.com/joszamama/decide
joszamama Oct 30, 2021
b4159f2
Instanciación Final Repositorio
joszamama Oct 30, 2021
9040e73
Instanciación Final del Repositorio DECIDE
joszamama Oct 30, 2021
8a41fee
prueba con jenkins
joszamama Nov 4, 2021
78c7248
Update README.md
joszamama Nov 5, 2021
491cd2f
Update README.md
joszamama Nov 5, 2021
e13179c
Update README.md
joszamama Nov 5, 2021
e5b89d6
Update README.md
joszamama Nov 5, 2021
0fcb868
Update README.md
joszamama Nov 5, 2021
1eb4afd
Update README.md
joszamama Nov 5, 2021
f5421ef
Update README.md
joszamama Nov 5, 2021
c99811a
Finalización de la Instanciación del Proyecto, todo listo para comenzar
joszamama Nov 5, 2021
30de53b
Update README.md
joszamama Nov 23, 2021
291a70a
Update README.md
joszamama Nov 23, 2021
9def6a5
Update README.md
joszamama Nov 23, 2021
8d2c438
Update README.md
joszamama Nov 23, 2021
0134eb2
Update README.md
joszamama Nov 23, 2021
b02b588
test1
romflorod Dec 1, 2021
f76d523
cambio metodo huntingtong hill
romflorod Dec 1, 2021
7580aa7
TEST DE CAMBIO GRUPO POSTPROC
romflorod Dec 1, 2021
6635de1
Create local_settings.py
romflorod Dec 1, 2021
d933492
Merge pull request #1 from joszamama/postproc_romflorod
romflorod Dec 1, 2021
eb4265b
Merge pull request #2 from joszamama/posproc
beallasai Dec 9, 2021
39eff37
Añadido método D´Hont
beallasai Dec 9, 2021
47cf00b
Añadido método D'Hont al módulo voting
beallasai Dec 9, 2021
668ed95
Update README.md
joszamama Dec 11, 2021
31a0efd
docs(init): Guía CI/CD en Raspberry
joszamama Dec 11, 2021
93363d1
Add Jenkinsfile
joszamama Dec 14, 2021
01e5893
Merge pull request #3 from joszamama/G1-feature/CICD
joszamama Dec 14, 2021
127af46
Merge pull request #4 from joszamama/G1
joszamama Dec 14, 2021
21f9853
Modify Jenkinsfile adding new tests
joszamama Dec 14, 2021
7c8deb8
Merge pull request #5 from joszamama/G1-feature/CICD
joszamama Dec 14, 2021
4111d38
Merge pull request #6 from joszamama/G1
joszamama Dec 14, 2021
5604a89
Despliegue en Heroku
joszamama Dec 16, 2021
268e285
Despliegue en Heroku
joszamama Dec 16, 2021
6aa53bb
Uploaded workspace, deleting it
joszamama Dec 16, 2021
e464f0b
Update README.md
joszamama Dec 16, 2021
fcc3c71
Despliegue en Heroku
joszamama Dec 16, 2021
9655ea6
Despliegue en Heroku
joszamama Dec 16, 2021
c5c98cb
feat Imperiali: Añadido metodo de conteo de votos Imperiali como incr…
paulaferj Dec 17, 2021
410bb4d
Merge pull request #8 from joszamama/G3-feature/DHont
beallasai Dec 17, 2021
11fb7de
Feat Hamilton
alvesccas Dec 17, 2021
4fab3b7
Revert "Feat Hamilton"
alvesccas Dec 17, 2021
cc40000
Feat Hamilton
alvesccas Dec 17, 2021
7a261ee
Fix desplegable
alvesccas Dec 17, 2021
8c414e1
test Imperiali: Añadido test de metodo imperiali
paulaferj Dec 18, 2021
483d32d
test (dhont): añadido test del metodo D'Hont
beallasai Dec 19, 2021
76ac4cc
feat(Sainte lague):añadido metodo sainte lague
danicm98 Dec 20, 2021
fe1a44a
Tests Sainte Lague
danicm98 Dec 20, 2021
a4b90b4
test (Imperiali): Correcion test de la funcionalidad Imperiali
paulaferj Dec 20, 2021
b234519
feat(bipartisanship): Create function
Dec 20, 2021
46605d9
test(bipartitanship): Test positivo1
Dec 20, 2021
401ddbc
feat(bipartisanship): Fix typo
Dec 20, 2021
cc42eee
feat(bipartisanship): comments
Dec 20, 2021
510fa0e
test(bipartitanship): fix typo and add comments
Dec 20, 2021
3023aed
feat(bipartisanship): add type in voting/models.py
Dec 20, 2021
6d8a530
Finalización HuntingtonHill y testeado
romflorod Dec 20, 2021
43b8eac
test(Imperiali): Añadidos response y assertEquals al test
paulaferj Dec 20, 2021
fdff4c8
Arreglo tests DHONT
romflorod Dec 20, 2021
06553dd
Test Hamilton
alvesccas Dec 20, 2021
fcfc68a
Arreglos tests pre mergeo Sainte-League
romflorod Dec 20, 2021
30d0f5e
Fix Test Hamilton
alvesccas Dec 20, 2021
1209c39
1/2 arreglo imperiali
romflorod Dec 20, 2021
4bf652e
Fix Feat Hamilton
alvesccas Dec 20, 2021
1662830
Hamilton arreglo tests y validado
romflorod Dec 20, 2021
a71f00a
arreglo a medias bipartishan
romflorod Dec 20, 2021
219d2fb
Merge pull request #25 from joszamama/G2-feature/DHont
beallasai Dec 20, 2021
dc847bd
bipartisHansHip con hache arreglado total
romflorod Dec 20, 2021
e933c10
Merge branch 'G2-feature/Posproc' into G2-feature/HuntingtonHill
beallasai Dec 20, 2021
ff69907
Merge pull request #26 from joszamama/G2-feature/HuntingtonHill
beallasai Dec 20, 2021
6bd5a69
feat(Imperiali): Corregido error de escritura
paulaferj Dec 20, 2021
a821248
Merge branch 'G2-feature/Posproc' into G2-feature/hamilton
beallasai Dec 20, 2021
62229d5
G2-SAINTELEAGUE-FINAIZADO TESTS
romflorod Dec 20, 2021
2a059c1
Merge pull request #27 from joszamama/G2-feature/hamilton
beallasai Dec 20, 2021
cee765b
G2-IMPERIALI-TESTFIN
romflorod Dec 20, 2021
3f2ed61
error
romflorod Dec 20, 2021
74fa29d
G2-postproc-arreglo mergeo dhont
romflorod Dec 20, 2021
012e46b
Merge branch 'G2-feature/Posproc' into G2-feature/Bipartisanship
beallasai Dec 20, 2021
06f0dbb
Merge pull request #29 from joszamama/G2-feature/Bipartisanship
beallasai Dec 20, 2021
180bdd6
Merge branch 'G2-feature/Posproc' into G2-feature/Imperiali
beallasai Dec 20, 2021
8095199
Merge pull request #30 from joszamama/G2-feature/Imperiali
beallasai Dec 20, 2021
24b66d9
Merge branch 'G2-feature/Posproc' into G2-feature/SainteLague
beallasai Dec 20, 2021
cd92c93
Merge pull request #31 from joszamama/G2-feature/SainteLague
beallasai Dec 20, 2021
292ae40
G2-POSTPROC-merge v1.0
romflorod Dec 20, 2021
dd7960c
G2-POSTPROC-merge v1.1
romflorod Dec 20, 2021
013d1e4
Fix añadido numero de escaños a repartir
romflorod Jan 3, 2022
3e5d973
feat(visualizer): añadir la visualizacion de reparto de escaños
romflorod Jan 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ wheels/
*.egg-info/
.installed.cfg
*.egg

decide-enviroment/
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
Expand All @@ -45,6 +45,8 @@ nosetests.xml
coverage.xml
*.cover
.hypothesis/
loadtest/gen_census.py
loadtest/locustfile.py

# Translations
*.mo
Expand Down
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"configurations": [
{
"name": "Python: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/decide/manage.py",
"args": [
"runserver",
"0.0.0.0:8000"
],
"django": true,
"justMyCode": false,
}
]
}
84 changes: 84 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
pipeline {
agent { docker { image 'python:3.7.2' } }

stages {
stage('Build Master') {
when {
branch 'master'
}
steps {
sh '''
pip install -r requirements.txt

cd decide
./manage.py test -v 2
'''
}
}

stage('Deploy Master') {
when {
branch 'master'
}
steps {
/* Llamamos a Heroku y a darle caña */
}
}

stage('Build Develop') {
when {
branch 'develop'
}
steps {
sh '''
pip install -r requirements.txt

cd decide
./manage.py test -v 2
'''
}
}

stage('Build G1') {
when {
branch 'G1'
}
steps {
sh '''
pip install -r requirements.txt

cd decide
./manage.py test authentication -v 2
'''
}
}

stage('Build G2') {
when {
branch 'G2'
}
steps {
sh '''
pip install -r requirements.txt

cd decide
./manage.py test booth -v 2
'''
}
}

stage('Build G3') {
when {
branch 'G3'
}
steps {
sh '''
pip install -r requirements.txt

cd decide
./manage.py test voting -v 2
'''
}
}
}
}
4 changes: 4 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
% prepara el repositorio para su despliegue.
release: sh -c 'cd decide && python manage.py migrate'
% especifica el comando para lanzar Decide
web: sh -c 'cd decide && gunicorn decide.wsgi --log-file -'
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[![Build Status](https://travis-ci.com/wadobo/decide.svg?branch=master)](https://travis-ci.com/wadobo/decide) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/94a85eaa0e974c71af6899ea3b0d27e0)](https://www.codacy.com/app/Wadobo/decide?utm_source=github.com&utm_medium=referral&utm_content=wadobo/decide&utm_campaign=Badge_Grade) [![Codacy Badge](https://api.codacy.com/project/badge/Coverage/94a85eaa0e974c71af6899ea3b0d27e0)](https://www.codacy.com/app/Wadobo/decide?utm_source=github.com&utm_medium=referral&utm_content=wadobo/decide&utm_campaign=Badge_Coverage)

Prueba de commit 7
Plataforma voto electrónico educativa
=====================================

El objetivo de este proyecto es implementar una plataforma de voto
electrónico seguro, que cumpla una serie de garantías básicas, como la
Expand Down
5 changes: 2 additions & 3 deletions decide/decide/settings.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
"""
Django settings for decide project.

Generated by 'django-admin startproject' using Django 2.0.

For more information on this file, see
https://docs.djangoproject.com/en/2.0/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.0/ref/settings/
"""
Expand Down Expand Up @@ -179,4 +176,6 @@
vars()[k] = v



INSTALLED_APPS = INSTALLED_APPS + MODULES

41 changes: 0 additions & 41 deletions decide/local_settings.example.py

This file was deleted.

Loading