Commit graph

7905 commits

Author SHA1 Message Date
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
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