Commit graph

4096 commits

Author SHA1 Message Date
Tanguy PATTE
5cc8c58e05 style check 2015-08-20 16:34:14 +02:00
Tanguy PATTE
b0d7e490d6 style check 2015-08-20 16:33:21 +02:00
Tanguy PATTE
e7b45e6833 style check 2015-08-20 16:32:25 +02:00
Tanguy PATTE
8ee596e152 style check 2015-08-20 16:25:54 +02:00
Tanguy PATTE
78253e877b remove useless variable 2015-08-20 16:11:18 +02:00
Tanguy PATTE
c3d360ae7e style check 2015-08-20 16:07:18 +02:00
Tanguy PATTE
260a664738 clean views 2015-08-20 16:04:36 +02:00
Tanguy PATTE
a265f2e48a refactor description controller 2015-08-20 15:15:20 +02:00
Tanguy PATTE
4f5587cb66 remove useless function in admin dossier controller and fix tests 2015-08-20 12:20:54 +02:00
Tanguy PATTE
92e522eb3d delegate libelle do type piece jointe 2015-08-18 17:00:09 +02:00
Tanguy PATTE
bda3a410c4 add empty to piece_jointe 2015-08-18 16:51:57 +02:00
Tanguy PATTE
f49477dee7 add api_entreprise to piece_jointe 2015-08-18 16:44:16 +02:00
Tanguy PATTE
1f960a4b43 add fonction empty for cerfa 2015-08-18 16:30:57 +02:00
Tanguy PATTE
e2ff64a119 add comment 2015-08-18 16:30:36 +02:00
Tanguy PATTE
516cafc72a build default pieces jointes when user choose formulaire 2015-08-18 15:15:34 +02:00
Tanguy PATTE
892484b494 build cerfa on create new dossier 2015-08-18 14:22:16 +02:00
Tanguy PATTE
8273438910 add cerfa model 2015-08-18 13:52:00 +02:00
Tanguy PATTE
0eb699d6b9 refactor description controller 2015-08-18 10:43:36 +02:00
Tanguy PATTE
67a4ff2519 refactor carte controller 2015-08-18 10:43:22 +02:00
Tanguy PATTE
ef69fa453c refactor demandes controller 2015-08-17 17:08:13 +02:00
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
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
b9a08f6422 add test for model dossier 2015-08-17 11:13:21 +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
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
5dc8ae822f Affichage des pièces jointes disponibles dans la console admin 2015-08-12 10:09:52 +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
Xavier J
d09ac6043c Revu de code 0 2015-08-11 15:22:07 +02:00
Xavier J
c02f5c320a Styles des bouttons input type file 2015-08-11 15:10:14 +02:00
Xavier J
629fa3a03a Suppression décorateur et helpeur inutile 2015-08-11 15:07:54 +02:00
Xavier J
b5b83e939a First Commit 2015-08-10 11:05:06 +02:00