Commit graph

7647 commits

Author SHA1 Message Date
Tanguy PATTE
c38a9f4498 refactor dossiers controller 2015-08-17 16:27:21 +02:00
Tanguy PATTE
1e04916005 rename Api into API
change api error managment
refactor dossier controller
rewrite test for dossier controller
2015-08-17 15:53:35 +02:00
Tanguy PATTE
f28e3ccbd3 clean view 2015-08-17 13:31:51 +02:00
Tanguy PATTE
eef27af1f4 remove useless if 2015-08-17 12:01:48 +02:00
Tanguy PATTE
0b37aef0d9 add test for etablissement 2015-08-17 11:51:00 +02:00
Tanguy PATTE
61b6ec5c9d add tests to entreprise 2015-08-17 11:47:19 +02:00
Tanguy PATTE
db79bd9c3d add test to commentaire 2015-08-17 11:43:01 +02:00
Tanguy PATTE
3a92e727ed stop using get_liste_piece_jointe 2015-08-17 11:42:41 +02:00
Tanguy PATTE
bf0164b4c7 add test and fix association to piece jointe 2015-08-17 11:41:57 +02:00
Tanguy PATTE
e53c808b42 add test and fix association fo type piece jointe 2015-08-17 11:24:09 +02:00
Tanguy PATTE
ae3ffbd780 fix association for formulaire 2015-08-17 11:15:04 +02:00
Tanguy PATTE
27cfe498ab add test for evenement vie and fix associations 2015-08-17 11:14:18 +02:00
Tanguy PATTE
93c5c7af70 update gitignore 2015-08-17 11:13:54 +02:00
Tanguy PATTE
b9a08f6422 add test for model dossier 2015-08-17 11:13:21 +02:00
Tanguy PATTE
147a27786e add gem railroady 2015-08-17 11:12:59 +02:00
Tanguy PATTE
a86ecb69de use entreprise decorator
add test to entreprise decorator
refacto views
2015-08-14 18:07:40 +02:00
Tanguy PATTE
107b11d510 rename ref_demarche into demarche_id
fix association between formulaire and type_piece_jointe
fix association between formulaire and evenement_vie
2015-08-14 15:02:11 +02:00
Tanguy PATTE
c78a4f655b rename ref_formulaire into formulaire 2015-08-14 14:05:09 +02:00
Tanguy PATTE
a807ba5ae9 rename ref piece jointe into type piece jointe 2015-08-14 12:06:26 +02:00
Tanguy PATTE
b9b17e2b0c refactor test 2015-08-13 17:12:18 +02:00
Tanguy PATTE
3c57643f76 add database cleaner
add factory girl
fix tests
rename dossier_pdf into piece_jointe
rename ref_piece_jointe into content
2015-08-13 15:56:58 +02:00
Tanguy PATTE
c16d7a12f2 stop loading everything and every language for bootstrap datepicker 2015-08-13 15:55:26 +02:00
Tanguy PATTE
b2853d909f remove useless assets files 2015-08-13 15:55:26 +02:00
Xavier J
cfee2a6ddf Revu de code de la partie "/dossiers/dossier_id:/carte" :
/app/controllers/carte_controller.rb
- l10/11 @dossier.update_attributes()
- l27 : le @dossier ne semble pas necessaire
- l32 : update attributes Ajouter :
	def dossier_id params[:dossier_id] end

/spec/controllers/carte_controller_spec.rb
- l 11/16 : utiliser nouvelle syntaxe pour les hashs : get :show, dossier_id: dossier_id
- l32 bancal : Commentaire.last.id, en theorie tu n'as jamais besoin d'écrire de requête sql dans tes tests l36 subject { Commentaire.last }
- l64, le cas ou c'est en erreur n'est pas testé (le géocodeur renvoie nil)
2015-08-12 14:02:40 +02:00
Xavier J
6e2c0f733c - Fix bug message erreur "Pas de dessin"
- Fix warning SIADETOKEN existant
2015-08-12 10:38:34 +02:00
Xavier J
a8f9237ec1 Merge branch 'master' of ssh://37.187.249.111:2200/opt/git/admi_facile 2015-08-12 10:10:26 +02:00
Xavier J
5dc8ae822f Affichage des pièces jointes disponibles dans la console admin 2015-08-12 10:09:52 +02:00
Xavier J
3cfc488ab0 suppression workspace idea 2015-08-11 16:39:55 +02:00
Tanguy PATTE
f1f4f6f743 add siade token in spec helper 2015-08-11 16:18:40 +02:00
Tanguy PATTE
2d1fc7194a add intellij files in gitignore and public uploads 2015-08-11 16:18:26 +02:00
Xavier J
5536b7cd78 Merge branch 'master' of ssh://37.187.249.111:2200/opt/git/admi_facile 2015-08-11 15:41:37 +02:00
Xavier J
7bd396a027 Merge branch 'master' of ssh://37.187.249.111:2200/opt/git/admi_facile
Conflicts:
	.ruby-version
2015-08-11 15:40:26 +02:00
Tanguy PATTE
a1d1a59559 remove duplicated gem database cleaner 2015-08-11 15:40:14 +02:00
Xavier J
587081ff2f Nouvelles fonctionnalités : posibilité d'upload plusieurs pièces jointes pour un dossier. 2015-08-11 15:39:16 +02:00
Xavier J
77fe251d8a Suppression des decorates pour établissement 2015-08-11 15:38:34 +02:00
Tanguy PATTE
ff4152023f remove gem sqlite3 2015-08-11 15:36:48 +02:00
Xavier J
d09ac6043c Revu de code 0 2015-08-11 15:22:07 +02:00
Xavier J
f7dfcfa5a5 Ajout de la ref_piece_jointe dans DossierPDF 2015-08-11 15:12:59 +02:00
Xavier J
c02f5c320a Styles des bouttons input type file 2015-08-11 15:10:14 +02:00
Xavier J
49e8d02539 New seeds de test 2015-08-11 15:09:49 +02:00
Xavier J
03b8a58d74 Ajout des supports pour tests pièces jointes PDF 2015-08-11 15:09:16 +02:00
Xavier J
31337b3a7e Rubocop parameter 2015-08-11 15:08:33 +02:00
Xavier J
58e1cdaa72 Ajout de rubocop 2015-08-11 15:08:18 +02:00
Xavier J
629fa3a03a Suppression décorateur et helpeur inutile 2015-08-11 15:07:54 +02:00
Tanguy PATTE
a175e646e8 add ruby version file 2015-08-11 14:38:20 +02:00
Tanguy PATTE
343d2543b5 remove production database sqlite 2015-08-11 14:38:10 +02:00
Xavier J
b5b83e939a First Commit 2015-08-10 11:05:06 +02:00