Commit graph

780 commits

Author SHA1 Message Date
Guillaume Lazzara
6a6ac7872a Force deep copy of procedure logo 2016-09-02 17:11:30 +02:00
Xavier J
b56883db16 Clone mail_templates where clone procedure 2016-09-01 10:43:49 +02:00
Xavier J
f03733f3ff Mail for receive dossier is now send. 2016-09-01 10:27:22 +02:00
Xavier J
12ebab66cc Administrateur can be param the acknowledgement of delivery mail object and body. 2016-08-31 16:07:11 +02:00
Xavier J
a69433e8de User can be begin without SIRET 2016-08-30 11:18:43 +02:00
Guillaume Lazzara
09236f32aa Add 'refuser' and 'classer sans suite' buttons 2016-08-25 17:46:26 +02:00
Guillaume Lazzara
0120ce2a32 Add an action to set a dossier as 'recu'. 2016-08-25 15:22:08 +02:00
Guillaume Lazzara
39df032c8c Translate type de champ values 2016-08-24 17:07:13 +02:00
Xavier J
5b0e01f117 delete filter procedure for gestionnaire 2016-08-22 16:36:25 +02:00
Xavier J
b661a2eb38 Updated test for new user status UI 2016-08-22 16:10:48 +02:00
Xavier J
6adfcac5bf Add new state on User UI.
/!/ WARNING : No tests fix
2016-08-12 13:56:10 +02:00
Xavier J
1a92382259 - Add new status for a dossier : received, refused and without_continuation
- Add new and rename tabs on gestionnaire all dossiers view
/!\ WARNING : One test does not pasted. He will be corrected in the next commit
2016-08-11 15:27:35 +02:00
Xavier J
85e7af840a Add drop down list on type champ list 2016-08-09 16:21:39 +02:00
Xavier J
9487d47ef8 Add deposit date time on dossier table 2016-08-08 14:12:16 +02:00
Xavier J
480431ea01 Add on gestionnaire dossier view the private form 2016-08-08 12:52:30 +02:00
Xavier J
116dd0d94f Administrateur can be define private champs => same as typical champs 2016-08-03 18:19:56 +02:00
Xavier J
26b5e4cb24 Add model TypeDeChampPrivate 2016-08-02 16:13:15 +02:00
Xavier J
bce1b96fee Build default pref list dossier for new gestionnaire 2016-08-02 14:49:41 +02:00
Xavier J
9bf8005658 Fix get entreprise 404 not found 2016-08-02 14:45:09 +02:00
Xavier J
a37320bae9 Add lateral panel to configure dossier list in back office 2016-08-01 18:10:32 +02:00
Xavier J
21a18a536f Add total_commentaire in API Dossier and total_dossier on API Procedure 2016-07-22 15:06:30 +02:00
Xavier J
e7830deefa Add header section on procédure champ 2016-07-20 11:38:19 +02:00
Xavier J
127c9bb138 Add total followers on dossier list and followers list on dossier page for gestionnaire 2016-07-19 16:44:26 +02:00
Xavier J
7d0bcfc35f Delete utilisation of "nom_projet" attribut (no delete in database) 2016-07-19 16:10:50 +02:00
Xavier J
d26ae9539d An accompagnateur can be mark a dossier follow by us 2016-07-18 18:24:29 +02:00
Xavier J
23e582d597 Add type_de_champ yes/no 2016-07-12 15:25:26 +02:00
Xavier J
7281ee74b2 Fix bug double procedure path publish 2016-07-12 15:20:10 +02:00
Guillaume Lazzara
582a368107 Code review related updates 2016-06-30 10:24:20 +02:00
Guillaume Lazzara
92a5100a09 Handle "réactiver" feature with permanent procedure url 2016-06-24 16:57:35 +02:00
Guillaume Lazzara
e5002dbb11 Introduce permanent and customizable procedure url 2016-06-24 16:41:44 +02:00
Xavier J
4355d4775a Add type de champ date
Add hour and minute on UI for datetime
2016-06-22 11:25:41 +02:00
Xavier J
2fa10a43e5 Fix bug prévisualisation 2016-06-21 12:41:28 +02:00
Xavier J
1dcb29ec65 Add feature delete for draft procedure 2016-06-20 17:37:04 +02:00
Xavier J
86e26e520c Merge branches 'develop' and 'develop' of github.com:sgmap/tps into develop 2016-06-20 13:59:31 +02:00
Xavier J
cc8d2ef4ee New UI and UX for the dossier initialization 2016-06-20 13:57:57 +02:00
Guillaume Lazzara
7af7859334 Implement procedure cloning 2016-06-15 11:34:05 +02:00
Xavier J
866565495d Delete default description in dossier 2016-06-13 12:03:05 +02:00
Guillaume Lazzara
2791988da2 Add draft/publish status for procedure. 2016-06-09 17:49:48 +02:00
Xavier J
54256b1e55 Add description champs on description page. 2016-06-09 14:18:28 +02:00
Xavier J
e72487bb28 Merge branch 'develop' of github.com:sgmap/tps into develop 2016-06-09 12:08:25 +02:00
Xavier J
23ab25396f Add type champs "Address" plug at the BAN 2016-06-09 12:08:18 +02:00
Guillaume Lazzara
1551b7ce21 Add ordering feature on piece justificative view 2016-06-08 16:45:37 +02:00
Xavier J
d26feb4c72 Add JPG and PNG image on cerfa and piece justificative uploader 2016-06-06 16:38:14 +02:00
Xavier J
ddeaf5abf3 Add type de champs civilite 2016-06-06 16:32:59 +02:00
Xavier J
3513b16888 Add type de champs email and phone 2016-06-06 16:17:19 +02:00
Xavier J
4d1cb9ecfe Connexion page is contextualized with procedure title and description when is access with link. 2016-05-26 15:59:50 +02:00
Guillaume Lazzara
7fbee7a5b5 Fix carrierwave root issues 2016-05-24 18:35:25 +02:00
Xavier J
e973286766 Merge branch 'assign_to_procedure' into develop
# Conflicts:
#	db/schema.rb
2016-05-24 17:19:32 +02:00
Guillaume Lazzara
f62c9ebec9 Remove carriage returns in address in CSV format only 2016-05-24 15:58:21 +02:00
Guillaume Lazzara
63cf35a748 Add tests for siret with whitespaces 2016-05-24 15:43:05 +02:00
Guillaume Lazzara
d9b94568b2 Handle siret with whitespaces 2016-05-24 15:28:16 +02:00
Guillaume Lazzara
745eee126a Code review - Remote storage 2016-05-20 16:34:57 +02:00
Xavier J
1923f2aec1 Migrate Admin / Gestionnaire / Procédure gestion in database 2016-05-20 15:39:17 +02:00
Guillaume Lazzara
833d7790c2 Add support for remote OVH cloud storage 2016-05-13 16:08:51 +02:00
Xavier J
b15c2bbb2b New feature : User, Guest and Gestionnaire can be upload a document with theirs comments 2016-04-20 16:51:57 +02:00
Xavier J
6d5a3e6256 User and Guest can be upload new documents on our recapitulative dossier page. 2016-03-22 17:36:36 +01:00
Xavier J
eeaefdcc79 Add reference to user who upload a cerfa or a piece justificative 2016-03-17 17:33:38 +01:00
Xavier J
bb79aca58a Add historic for piece justificative 2016-03-17 14:50:10 +01:00
Xavier J
4b7e6426b3 Gestionnaire can have the history of cerfa updated on dossier show page 2016-03-16 15:34:35 +01:00
Xavier J
bd61a459fb Add verification on user dossier description for champs mandatory 2016-03-15 17:17:56 +01:00
Xavier J
abfb6367d6 Active filter procedure on dossiers list backoffice 2016-03-14 16:49:12 +01:00
Xavier J
4993abf5f2 Create fonction content_url to make public download link for cerfa and pj 2016-02-26 13:59:03 +01:00
Xavier J
36954c595e Add UI SuperAdmin 2016-02-23 16:51:24 +01:00
Guillaume Lazzara
bd5a39ff17 Add CSV output for Dossier API 2016-02-19 16:59:39 +01:00
Guillaume Lazzara
22c1eca61e Code review: cleanup code 2016-02-19 16:59:39 +01:00
Guillaume Lazzara
a643f34621 Handle upload file size limit in UI 2016-02-18 15:47:14 +01:00
Xavier J
850f4366c8 Add type de champ checkbox (boolean) 2016-02-18 15:36:09 +01:00
Xavier J
8c99559dae Delete FranceConnect entreprise client 2016-02-11 16:02:43 +01:00
Xavier J
e2a896d0b0 Gestionnaire can invite an email contact to participate at a dossier 2016-02-08 18:16:18 +01:00
Xavier J
d7dbd28507 fix test cerfa flag 2016-02-04 14:08:35 +01:00
Guillaume Lazzara
b7ea7c9fcf Restore previous behavior in Dossier 2016-02-04 10:39:07 +01:00
Guillaume Lazzara
e20de3dba9 First attempt 2016-02-02 18:37:38 +01:00
Xavier J
c1ea10bd82 Add restriction on User's URL based on Dossier state 2016-01-25 15:54:21 +01:00
Xavier J
4d812220fd - Add FranceConnectInformation table to make safe FranceConnect pivot identity.
- Adapt source code with the new table
2016-01-21 17:06:09 +01:00
Xavier J
65ba614be2 Refactor function create in user dossier controller 2016-01-20 10:34:22 +01:00
Xavier J
e8fd212d13 - Code review
- Delete Mandataires sociaux adapter
- Add function to get mandataires sociaux in Enterprise Adapter
2016-01-19 17:19:38 +01:00
Xavier J
1551ae82cd Add dependent destroy on has_xxx models 2016-01-18 16:20:51 +01:00
Xavier J
6a3525c7e2 Save Cadastre 2016-01-18 12:03:18 +01:00
Xavier J
b5f2163c51 Add Cadastre table 2016-01-15 15:28:56 +01:00
Xavier J
2ce8e4734b Add get_cadastre on TPS carte page and display on leaflet map 2016-01-15 11:53:00 +01:00
Xavier J
34dc07a06d Use GeoAdresse to geolocate enterprise on leaflet map 2016-01-06 15:48:06 +01:00
Xavier J
9e0dfb593e Add FranceConnect Particulier
Reactivate FranceConnect Entreprise
2015-12-24 10:12:23 +01:00
Xavier J
12943241f4 Change identifier and secret name for FranceConnect::Entreprise connection 2015-12-21 15:24:02 +01:00
Xavier J
c20f9a87e9 Front : Procedure can not be edited when at least one file with state other what draft is created by user 2015-12-21 14:40:28 +01:00
Xavier J
229973f14c Rename FranceConnect to FranceConnect::Entreprise 2015-12-18 12:01:26 +01:00
Tanguy PATTE
e4b54999f4 add api_token for admin 2015-12-14 17:28:36 +01:00
Xavier J
05298f7a40 Add RNAInformation model 2015-12-11 11:05:38 +01:00
Xavier J
d49e9fe75a admin can upload a logo for his procedure 2015-12-10 17:13:39 +01:00
Xavier J
0e3bec7f9f Administrateur can be select dynamically the activation of api carto modules 2015-12-08 10:11:58 +01:00
Xavier J
8130e7d155 Add model ModuleAPICarto 2015-12-07 11:29:34 +01:00
Xavier J
2b6aba16ac - valid siren on create file 2015-12-03 15:02:22 +01:00
Xavier J
afaa6a5ac9 - delete route '/users/siret'
- delete route 'users/procedure'
- create route 'users/dossiers/new?procedure_id=:procedure_id'
- delete a part of unused code
- adapt demo page with new procedure URL
2015-12-03 12:00:22 +01:00
Xavier J
58f840ac92 - Redirect User dossier index to User dossier a traiter
- Fix tests
- Order file list by last updated for User
2015-11-30 15:56:06 +01:00
Xavier J
da49c633dc Add tabs on view list file for users 2015-11-30 14:48:37 +01:00
Xavier J
1e1a6b3693 Gestionnaire can see archived file 2015-11-27 15:04:24 +01:00
Xavier J
eb5985efc4 - Save QP on database
- Display on all Map (User and Gestionnaire)
2015-11-25 17:05:14 +01:00
Xavier J
e928284c15 Add QuartierPrioritaire model and reference at Dossier 2015-11-24 10:02:55 +01:00
Tanguy PATTE
d6e4a76bf9 Merge branch 'develop' into refactor_type_de_xxx
Conflicts:
	db/schema.rb
2015-11-20 17:16:45 +01:00
Tanguy PATTE
5a9a6226c7 remove validation on description for pj 2015-11-20 15:33:03 +01:00
Tanguy PATTE
1379d6d495 change PieceJustificativeController :
replace edit by show
add update
2015-11-20 13:54:56 +01:00
Xavier J
b40b0e59b1 color state on search result 2015-11-19 18:04:09 +01:00
Tanguy PATTE
fde504b54d add move down for type de champ controller and refactor 2015-11-19 11:37:01 +01:00
Xavier J
9f34d20475 Add search feature for gestionnaire backoffice 2015-11-17 18:21:03 +01:00
Tanguy PATTE
e6136e17c3 add types_de_champ_ordered in procedure 2015-11-17 15:30:03 +01:00
Tanguy PATTE
5a422c75ac rename type_champs into type_champ and change links/routes for procedure : use show instead of edit 2015-11-17 10:23:05 +01:00
Xavier J
3effa5e9fd Gestionnaire procedures though administrateur and dossiers through procedures 2015-11-16 18:08:19 +01:00
Tanguy PATTE
0f73a2fc94 Merge branch 'develop' into refactor_type_de_xxx 2015-11-16 17:09:54 +01:00
Tanguy PATTE
a2f4281f21 refacto.
split procedure into 3 screen
desactivate order place for type de champ
desactivate features test to rewrite them
use ajax instead of pure js to manage type de champ
2015-11-16 16:16:08 +01:00
Xavier J
de356ae0ab Add search method on dossier model 2015-11-16 15:58:35 +01:00
Xavier J
dd8bafab49 Add on information entreprise :
- SIRET Siège social
	- Code naf
	- Code effectif
	- Numéro TVA intracommunautaire
	- Exercices
2015-11-16 11:23:29 +01:00
Xavier J
fd9061abdf - Administrateur can't show only his procedures
- Gestionnaire can't show only files of his Administrateur's procedures
2015-11-10 11:58:56 +01:00
Xavier J
dc18e7da6f Create relation between Administrateur, Gestionnaire and Procedure 2015-11-10 10:23:15 +01:00
Xavier J
0906d44ea8 Refactor TypeDeXxxx 2015-11-09 17:15:51 +01:00
Xavier J
f3d8645426 Rename TypeDeChamps to TypeDeChamp 2015-11-05 11:21:44 +01:00
Xavier J
519af34c82 Revu de code 2015-11-04 17:27:01 +01:00
Xavier J
591f52f654 Dynamic display for champs on description and recapitulative page 2015-11-04 11:14:07 +01:00
Xavier J
27dbd3a878 Add auto champs objects at a dossier (same as PJ)
Add dynamic of Champs on the description page
Rename model 'Champs' to 'Champ'
2015-11-03 15:27:49 +01:00
Xavier J
56eccf55df add table Champs 2015-11-03 10:48:40 +01:00
Xavier J
2050465a75 REFACTOR : remove column 'montant_projet', 'montant_aide_demande', 'date_previsionnelle', 'position_lat', 'position_lon' et 'ref_dossier_cart' of dossier table 2015-11-02 18:56:41 +01:00
Xavier J
c454ea28ed REFACTOR: Change dossier state 'SubmitValidated' To 'Submitted' 2015-11-02 15:46:43 +01:00
Xavier J
285cee939a REFACTOR: Change dossier state 'Submitted' To 'Initiated' 2015-11-02 15:31:15 +01:00
Xavier J
c09fe8e7f6 REFACTOR: Change dossier state 'Processed' To 'Closed' 2015-11-02 15:00:28 +01:00
Xavier J
76d87c7f79 REFACTOR : Change dossier state 'Deposited' To 'SubmitValidated' 2015-11-02 11:52:39 +01:00
Xavier J
da8c166331 REFACTOR: Change dossier state 'Confirmed' To 'Validated' 2015-11-02 11:45:52 +01:00
Xavier J
4a05af89fc REFACTOR: Change dossier state 'Reply' To 'Replied' 2015-11-02 11:33:00 +01:00
Xavier J
c0733849d5 REFACTOR : Change dossier state 'Proposed' To 'Submitted' 2015-11-02 11:23:55 +01:00
Xavier J
2d548acba0 Add description to type_de_champs table 2015-10-27 16:15:25 +01:00
Xavier J
9392f1d6e3 Create TypeDeChamps 2015-10-26 17:35:02 +01:00
Xavier J
d75ed802d2 lien_demarche not necessary to validate procedure 2015-10-26 16:48:41 +01:00
Xavier J
49627fccad Add Administrateurs role and his connexion is ok. 2015-10-23 16:19:55 +02:00
Xavier J
aeeb9406e9 add france connect logout process 2015-10-07 16:38:29 +02:00
Tanguy PATTE
0a14fbd5dd add siret to user 2015-10-07 10:29:44 +02:00
Xavier J
20cae835e6 begin spec client france connect service 2015-10-06 11:47:42 +02:00
Tanguy PATTE
5cb8f92a81 start test on france connect client 2015-10-06 11:32:57 +02:00
Xavier J
fd60692ade Intégration France Connect - sans les tests 2015-10-06 11:21:20 +02:00
Tanguy PATTE
40d5802d4a start france connect 2015-10-05 16:42:29 +02:00
Xavier J
be5a7f2fd2 Ajout des tableaux séparés et des états de chaque dossier dans le backoffice 2015-09-24 18:12:08 +02:00
Tanguy PATTE
a30eac41fc add dependent destroy on dossier 2015-09-24 11:45:00 +02:00
Tanguy PATTE
40310da378 Merge branch 'develop' of ssh://37.187.249.111:2200/opt/git/tps into develop 2015-09-24 11:17:29 +02:00
Tanguy PATTE
23d11976a2 add validation presence user for dossier 2015-09-24 11:17:17 +02:00
Xavier J
8693f4194c Merge branch 'develop' of ssh://37.187.249.111:2200/opt/git/tps into develop
Conflicts:
	app/views/users/recapitulatif/show.html.haml
	spec/features/recapitulatif_page/_commentaires_flux_spec.rb
	spec/features/recapitulatif_page/show_page_spec.rb
2015-09-24 10:56:12 +02:00
Xavier J
ded5a6a28f add function "next_step" into dossier 2015-09-24 10:27:14 +02:00
Tanguy PATTE
ede01b024b [#888] link user to dossier 2015-09-23 12:16:21 +02:00
Tanguy PATTE
ca363ca095 Merge branch 'develop' of ssh://37.187.249.111:2200/opt/git/tps into develop
Conflicts:
	db/schema.rb
2015-09-23 10:02:54 +02:00
Tanguy PATTE
78e86f00ea [#884] add user 2015-09-23 10:02:01 +02:00
Xavier J
888ac8b336 initialisation state for dossier with enum 2015-09-22 18:30:20 +02:00
Xavier J
810395c428 Rename and remove attribut into Dossier 2015-09-22 13:58:32 +02:00
Xavier J
542cdbaefd validation des pièces justificative 2015-09-22 13:11:56 +02:00
Xavier J
632c19bc48 validation à la création d'une procédure sur les attributs 'libelle', 'description' et 'lien démarche' 2015-09-22 11:21:52 +02:00
Tanguy PATTE
3aad85e925 remove users and pros 2015-09-22 10:28:18 +02:00
Tanguy PATTE
44173a17fb add login for gestionnaire 2015-09-22 10:15:12 +02:00
Xavier J
b3383bec9f - Correction des tests suite à la modification du schéma de la base de données. 2015-09-21 17:59:03 +02:00
Tanguy PATTE
fe3f235860 include philippe notes 2015-09-02 17:34:13 +02:00
Tanguy PATTE
54b4679d19 add mailto 2015-08-25 16:33:55 +02:00
Tanguy PATTE
e5e2fef8ae move validation in model for dossier 2015-08-25 10:19:39 +02:00
Tanguy PATTE
cee8136ecf create piece jointe when formulaire is linked to dossier 2015-08-24 15:23:07 +02:00
Tanguy PATTE
88b663a514 move check email params in validator 2015-08-21 11:37:13 +02:00
Tanguy PATTE
752c40657d style check 2015-08-20 16:45:20 +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
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
ef69fa453c refactor demandes controller 2015-08-17 17:08:13 +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
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
Xavier J
5dc8ae822f Affichage des pièces jointes disponibles dans la console admin 2015-08-12 10:09:52 +02:00
Xavier J
d09ac6043c Revu de code 0 2015-08-11 15:22:07 +02:00
Xavier J
b5b83e939a First Commit 2015-08-10 11:05:06 +02:00