Commit graph

737 commits

Author SHA1 Message Date
Xavier J
bb116a68dd Fix connexion view 2016-05-27 10:15:19 +02:00
Xavier J
811e771763 dynamic URL mail new assignment 2016-05-26 16:55:15 +02:00
Xavier J
92fc5af61c Admin can add new Accompagnateur directly on the procedure 2016-05-26 16:44:10 +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
Xavier J
95bb773275 Fix bug route /demo in production : Error 500 on redirect_to 2016-05-25 14:13:04 +02:00
Xavier J
6005dccc2b Delete Archive feature for User on his Dossier 2016-05-25 14:08:02 +02:00
Guillaume Lazzara
7fbee7a5b5 Fix carrierwave root issues 2016-05-24 18:35:25 +02:00
Guillaume Lazzara
a62076c34b Use original file extension for uploaded files 2016-05-24 17:34:52 +02:00
Guillaume Lazzara
2c7b65199e Fix logo filename 2016-05-24 17:34: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
Xavier J
1fcb33104d Administrateur can be assign accompagnateur on each of his procedure. 2016-05-24 16:39:39 +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
e2391d8635 Fix CSV output for addresses on several lines. 2016-05-20 18:24:05 +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
Xavier J
fe4d921997 Add accompagnateur tab on all procedure navbar 2016-05-20 15:36:38 +02:00
Xavier J
143a683303 Change management navbar procedure admin 2016-05-19 10:57:18 +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
fb2eeddf97 Revert guest can be upload new document on dossier 2016-04-19 14:08:09 +02:00
Xavier J
a8070cac6d Fix sort administrations admin list 2016-04-19 10:41:23 +02:00
Xavier J
900b377ae2 Final implement of clamav gem 2016-04-15 15:32:15 +02:00
Xavier J
4099efd326 Test too 2016-04-14 17:56:03 +02:00
Xavier J
8c4810ced3 Send path file 2016-04-14 17:43:27 +02:00
Xavier J
d01b3356c6 Test 2 : io stream clamav analyse 2016-04-14 17:29:26 +02:00
Xavier J
1a3c19f48c First test 2016-04-14 16:50:13 +02:00
Xavier J
8812ba2507 Fix brakeman information 2016-03-24 17:49:44 +01: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
0d211f4ccb Fix white list cerfa and piece_justificative uploader 2016-03-22 10:20:26 +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
5d13276446 Fiabilisation de la suppression des gestionnaires par un administrateur 2016-03-16 10:55:03 +01:00
Xavier J
bd61a459fb Add verification on user dossier description for champs mandatory 2016-03-15 17:17:56 +01:00
Xavier J
494f80afff Can be check TypeDeChamps with attribut mandatory 2016-03-15 11:23:25 +01:00
Xavier J
26431ac528 Add column created_at on cerfa and piece_justificative 2016-03-14 17:30:22 +01:00
Xavier J
abfb6367d6 Active filter procedure on dossiers list backoffice 2016-03-14 16:49:12 +01:00
Xavier J
a612dc6021 Add features filter procedure for gestionnaire (not active on dossier list for now) 2016-03-14 14:23:09 +01:00
Xavier J
e944364929 Add Cerfa on API Show dossier 2016-03-14 11:10:02 +01:00
Xavier J
b49770f408 Add commentaires on API Show Dossier 2016-03-14 10:34:46 +01:00
Xavier J
04c5432be1 Add libreoffice document on uploader 2016-03-14 10:22:27 +01:00
Xavier J
7e45d2ee07 Fix bug API Dossier with Cerfa 2016-03-04 15:53:09 +01:00
Xavier J
f4de0b8431 - Add resize on wysihtml5 bootstrap
- Add rich text on procedure description
- Ajust text on description dossier user form
2016-03-02 15:21:45 +01:00
Xavier J
4282ab11be Exclude draft dossier on statistiques 2016-02-29 15:48:58 +01:00
Xavier J
9c1268fdd5 Add statistiques API for dashboard 2016-02-29 15:15:44 +01:00
Xavier J
3e62dd01fb Pre-doc APIs 2016-02-26 14:16:17 +01:00
Xavier J
c971849312 Merge branch 'api-pie' into develop 2016-02-26 14:00:29 +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
16c72e7478 Complete API Dossier 2016-02-26 12:17:41 +01:00
Xavier J
a316165792 !!FIX BUG : values does not appear on info dossier 2016-02-25 11:50:09 +01:00
Xavier J
36954c595e Add UI SuperAdmin 2016-02-23 16:51:24 +01:00
Xavier J
8021825ffe Delete docs links on landing page 2016-02-23 11:01:54 +01:00
Xavier J
2a6da54320 add gem api-pie
Error : stack level too deep
2016-02-22 19:42:47 +01:00
Xavier J
b4007c2735 New turf area source 2016-02-22 19:28:22 +01:00
Xavier J
913905001e Revert swagger docs 2016-02-22 17:53:00 +01:00
Xavier J
c0b1d7a840 Revert "update swagger api docs"
This reverts commit 321bdd38b5.
2016-02-22 17:50:11 +01:00
Xavier J
be0ca863ef Update landing page 2016-02-22 15:51:07 +01:00
Xavier J
321bdd38b5 update swagger api docs 2016-02-22 15:22:59 +01:00
Xavier J
c831c5ac63 fix bug commentaire invitation 2016-02-22 15:21:18 +01:00
Xavier J
b0fc7665e5 fix API V1 default format 2016-02-22 15:20:58 +01:00
Xavier J
1a1a97f79c Ajust source code 2016-02-22 15:20:22 +01:00
Xavier J
c37fb9bb20 redirect to sign_up link if user 's email on invitation as no account on the platform 2016-02-22 10:34:25 +01:00
Guillaume Lazzara
973d6693e0 Demo sign-in page for administrateur 2016-02-19 17:27:14 +01:00
Guillaume Lazzara
bd5a39ff17 Add CSV output for Dossier API 2016-02-19 16:59:39 +01:00
Guillaume Lazzara
b58f88d9bf Do not display cerfa information in dossier description 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
15ac9f3f45 Code review: be more exhausitive regarding uploaded files mime type 2016-02-19 16:59:39 +01:00
Xavier J
2c499d5c82 /demo is not accessible on Env production 2016-02-19 15:32:19 +01:00
Xavier J
c2983e08b6 Don't access at user/sign_in/demi and gestionnaire/sign_in/demo on env production 2016-02-19 15:04:29 +01:00
Xavier J
0e1dac7d19 Fix test
Change name gestionnaire to accompagnateur on admin ui
2016-02-19 14:20:18 +01:00
Xavier J
c3410c104b Swagger docs 2016-02-18 18:02:07 +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
20a41ef172 Use gem bootstrap-wysihtml5 on textarea 2016-02-18 11:56:54 +01:00
Xavier J
000fadf501 downcase on email adresse for invite object 2016-02-16 16:53:46 +01:00
Xavier J
51c145d2ce Update landing page :
- Release scrape on Github
- Add presentation video
- Add demonstration link for gestionnaire and user
2016-02-16 12:01:39 +01:00
Xavier J
419f74948a Demo sign_in page for users and gestionnaires 2016-02-15 17:13:16 +01:00
Xavier J
a20daa2ea2 Adapt print properties on Gestionnaire dossier show 2016-02-12 15:39:14 +01:00
Xavier J
61ee40aa76 test 1 2016-02-12 13:49:32 +01:00
Xavier J
8c99559dae Delete FranceConnect entreprise client 2016-02-11 16:02:43 +01:00
Xavier J
b3a90376d4 associate user at his invite after sign up devise account 2016-02-09 15:47:36 +01:00
Guillaume Lazzara
6b7d3e0ac1 Add gestionnaire deletion feature 2016-02-09 12:24:05 +01:00
Xavier J
dcd943a4b5 Add tab Invitation on user dossier index view 2016-02-09 12:23:31 +01:00
Xavier J
e8fcebeea9 Merge branch 'develop' of github.com:sgmap/tps into develop 2016-02-09 11:16:41 +01:00
Xavier J
c09a92a109 Fix javascript scroll_to 2016-02-09 11:16:19 +01:00
Guillaume Lazzara
b58b0de8b0 Add gestionnaire management 2016-02-09 11:01:10 +01:00
Guillaume Lazzara
2a2aef34db Add gestionnaire administration panel. 2016-02-09 11:01:10 +01:00
Xavier J
bd63116d5a Fix test : desactivate swagger 2016-02-08 19:52:39 +01:00
Xavier J
1aa5e7c397 Mask cerfa link procedure if is blank 2016-02-08 19:52:07 +01:00
Xavier J
a82899a43e Delete max length on comment area 2016-02-08 19:36:08 +01:00
Xavier J
5bb98a2863 Activation : reset user password 2016-02-08 19:32:18 +01:00
Xavier J
2b2a4c3f0a New landing page 2016-02-08 19:07:33 +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
Xavier J
01d71aa1cd Merge branch 'develop' into cerfa_flag 2016-02-04 11:03:49 +01:00
Xavier J
29b28557c7 fix test 2016-02-04 11:03:17 +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
30438df244 Add swagger-docs gem to generate ison swagger files 2016-02-02 18:11:44 +01:00
Xavier J
71adc70031 Change place of admin and gestionnaire link connexion 2016-02-01 18:28:12 +01:00
Xavier J
ec2b3b742c Upload landing page 2016-02-01 18:19:09 +01:00
Xavier J
01be1fff76 add routes path /users 2016-02-01 18:18:55 +01:00
Xavier J
7a61786814 Active landing page 2016-02-01 17:16:00 +01:00
Xavier J
1dd7288c70 Revert "Mask FranceConnect button on user sign in page"
This reverts commit dece5c857c.
2016-01-29 13:28:32 +01:00
Xavier J
dece5c857c Mask FranceConnect button on user sign in page 2016-01-29 11:51:19 +01:00
Xavier J
8ca2b53775 Merge branch 'franceconnect_local' into develop
# Conflicts:
#	app/assets/javascripts/application.js
2016-01-29 11:43:31 +01:00
Xavier J
eda863a7b2 Update landing page 2016-01-29 11:23:36 +01:00
Xavier J
1e3a7b1495 Start landing page 2016-01-29 10:52:06 +01:00
Xavier J
9daeafbad3 Footer 2016-01-28 17:16:37 +01:00
Xavier J
35994059f6 Revert "browserslist config file"
This reverts commit 9a859482cc.
2016-01-28 16:31:46 +01:00
Xavier J
229278adb7 Revert "browserlist config 2"
This reverts commit f9a6b3565f.
2016-01-28 16:31:35 +01:00
Xavier J
f9a6b3565f browserlist config 2 2016-01-28 15:32:30 +01:00
Xavier J
9a859482cc browserslist config file 2016-01-28 15:02:16 +01:00
Xavier J
a161c1dcc4 Test to used franceconnect sources in local 2016-01-28 12:10:25 +01:00
Xavier J
2220c94ce9 Merge branch 'develop' of github.com:sgmap/tps into develop 2016-01-27 15:59:57 +01:00
Xavier J
5513504555 - Refactor code carte
- Delete auto-comments when edit carte and description
2016-01-27 15:48:27 +01:00
Tanguy PATTE
d449c34387 Merge branch 'develop' of github.com:sgmap/tps into develop 2016-01-27 14:37:24 +01:00
Xavier J
c461d58297 sign_out all devise account when user initialize a FranceConnect connection 2016-01-26 16:48:33 +01:00
Xavier J
008ca19bef un-used files deleted 2016-01-26 16:47:13 +01:00
Xavier J
98cd4ed88f Refactor Url restriction system 2016-01-26 15:52:05 +01:00
Tanguy PATTE
6d5f00deb9 Merge branch 'develop' of github.com:sgmap/tps into develop
Conflicts:
	db/schema.rb
2016-01-25 16:09:46 +01:00
Tanguy PATTE
dc5ac9807d start api to display dossier
missing pj, fields, exercices
2016-01-25 16:08:10 +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
0c2bbc482f Add security to make not to longer cadastre request 2016-01-22 14:01:02 +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
d6e795df02 Activation du cadastre côté administrateur 2016-01-21 14:51:17 +01:00
Tanguy PATTE
514918b2b8 parametrize pagination on dossier index api 2016-01-21 11:41:24 +01:00
Tanguy PATTE
df7ac75483 Merge branch 'develop' of github.com:sgmap/tps into develop 2016-01-20 15:51:08 +01:00
Xavier J
0e496cb6ec Change include place for JS FranceConnect Kit 2016-01-20 15:50:28 +01:00
Tanguy PATTE
f75f0e26d6 Merge branch 'develop' of github.com:sgmap/tps into develop
Conflicts:
	db/schema.rb
2016-01-20 15:50:13 +01:00
Tanguy PATTE
78bd982f97 Add API index on Dossier. 2016-01-20 15:48:46 +01:00
Xavier J
5eebfb0c4b Disabled FranceConnect Kit 2016-01-20 15:38:25 +01:00
Xavier J
65ba614be2 Refactor function create in user dossier controller 2016-01-20 10:34:22 +01:00
Xavier J
5beade4735 Add release link on user connexion page 2016-01-19 17:56:37 +01:00
Xavier J
a738128f4a Suppression de FCEntreprise 2016-01-19 17:40:45 +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
72043dbe56 Display cadastre on map if present on database 2016-01-18 14:45:08 +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
6d4b29cf36 Merge branch 'develop' of github.com:sgmap/tps into develop 2016-01-14 09:50:46 +01:00
Xavier J
82f6e21c86 Adapt FranceConnect Kit 2016-01-13 11:26:40 +01:00
Tanguy PATTE
0df5324891 Merge branch 'develop' of github.com:sgmap/tps into develop
Conflicts:
	.gitignore
2016-01-12 15:32:13 +01:00
Tanguy PATTE
c04627431c add module api carto in api procedure 2016-01-12 15:11:42 +01:00
Xavier J
312c1ee7a7 Add link for "Qu'est ce que FranceConnect?" 2016-01-12 15:03:52 +01:00
Xavier J
88ae6a74ab Fix franceconnect kit integration 2016-01-12 10:03:05 +01:00
Xavier J
110b4dc04f Fix https connection with FranceConnect kit 2016-01-11 17:45:13 +01:00
Xavier J
bbb06a235d Change Button FranceConnect Connection 2016-01-11 17:38:16 +01:00
Xavier J
5540a786db Disable FC Enterprise 2016-01-11 17:19:25 +01:00
Xavier J
a7af7e4a9f Add FranceConnect Kit 2016-01-11 17:05:21 +01:00
Xavier J
ad300319f4 Rename CERFA to Formulaire 2016-01-08 14:58:22 +01:00
Xavier J
7a2b935c04 User and Gestionnaire sort list 2016-01-08 11:39:04 +01:00
Xavier J
0d2bd17a9e Admin procedure sort list 2016-01-07 15:29:29 +01:00
Xavier J
47932890cc Add sort list on demo page 2016-01-07 11:41:03 +01:00
Xavier J
afd6d443f3 fix show information mandataire social on dossier page 2016-01-06 17:12:03 +01:00
Xavier J
7069acba4b Add détails on admin procedure informations page 2016-01-06 17:01:34 +01:00
Xavier J
34dc07a06d Use GeoAdresse to geolocate enterprise on leaflet map 2016-01-06 15:48:06 +01:00
Xavier J
cf248f198f Add an information on gestionnaire view if the user's file is a mandataire social of the enterprise 2016-01-06 14:54:00 +01:00
Xavier J
332eab3771 Check if France Connect User is a mandataire social of the enterprise 2016-01-06 14:17:08 +01:00
Xavier J
cf6b3e955a Add Downloader url for gestionnaire 2016-01-05 16:27:31 +01:00
Xavier J
b437edefd1 - add symlink for gestionnaire download documents
- add download folder documents in public folder
2016-01-05 16:26:59 +01:00
Xavier J
e7570564f8 Add downloader for upload files outwards of public folder 2016-01-05 15:53:01 +01:00
Xavier J
4961f39a71 Add check password to connect with france connect particulier whereas a TPS account have the same email adresse 2016-01-05 12:18:00 +01:00
Xavier J
02b7680083 Fix bug send email sign up user 2016-01-04 16:09:04 +01:00
Xavier J
829e3de9d4 Fix bug badge user 2016-01-04 10:04:16 +01:00
Xavier J
39b15e8b3d Refactor dossier decorators 2015-12-24 16:12:16 +01:00
Xavier J
9fb575ef8c Refactor procedure locked and retrieve management 2015-12-24 15:57:03 +01:00
Xavier J
de0acc0a22 Change URL for not found procedure 2015-12-24 15:22:30 +01:00
Xavier J
e66daf3b95 Refactor procedure active and archived class 2015-12-24 15:22:07 +01:00
Xavier J
3c18882407 Create facade for dossier into user and gestionnaire views 2015-12-24 15:10:20 +01:00
Xavier J
1a3aebe6ab Merge branch 'develop' of github.com:sgmap/tps into develop 2015-12-24 10:12:52 +01:00
Xavier J
9e0dfb593e Add FranceConnect Particulier
Reactivate FranceConnect Entreprise
2015-12-24 10:12:23 +01:00
Tanguy PATTE
3ea381413f Merge branch 'develop' of github.com:sgmap/tps into develop 2015-12-21 17:52:00 +01:00
Tanguy PATTE
f474c8e8e1 add api v1 procedure controller 2015-12-21 17:51:49 +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
43779aafee Error 403 when admin would edit a procedure with at least one dossier 2015-12-21 12:02:53 +01:00
Xavier J
5d4a36e6c3 Move uploader logo procedure into public 2015-12-21 10:50:01 +01:00
Xavier J
229973f14c Rename FranceConnect to FranceConnect::Entreprise 2015-12-18 12:01:26 +01:00
Xavier J
563e739958 Minor fix bug 2015-12-17 12:53:43 +01:00
Xavier J
ace1629d5c Uploader storage change :
- Before /public/upload
	- After /upload
2015-12-17 10:41:00 +01:00
Xavier J
44554a9baa Send an email when user submitted his file 2015-12-17 10:09:44 +01:00
Xavier J
ed8b4ff083 Add mailer submitted dossier. 2015-12-17 10:06:40 +01:00
Xavier J
d8253be4e5 - Into views, replace words :
- Gestionnaire by Accompagnateur
	- Entreprise by Organisation
- Add procedure libelle on user dossier show page
2015-12-15 17:46:05 +01:00
Tanguy PATTE
789ea308ee Merge branch 'develop' of github.com:sgmap/tps into develop 2015-12-15 16:49:58 +01:00
Tanguy PATTE
d2978c4656 add api token in administrator's profile page 2015-12-15 16:49:48 +01:00
Xavier J
b237d7c890 Send email when gestionnaire valide a dossier 2015-12-15 15:37:46 +01:00
Xavier J
a24ff681fc - Send email when gestionnaire write a new commentaire
- Change url on mail => redirect on dossier recapitulative page
2015-12-15 15:33:21 +01:00
Xavier J
4aedf72631 Send email when user create new account 2015-12-15 15:17:12 +01:00
Xavier J
372011e4d6 NotificationMailer : dossier_validated 2015-12-15 11:41:50 +01:00
Xavier J
25937b2635 NotificationMailer : new answer 2015-12-15 11:02:07 +01:00
Xavier J
1652a747a1 Merge branch 'develop' of github.com:sgmap/tps into develop 2015-12-15 11:01:28 +01:00
Tanguy PATTE
cea90384e4 Merge branch 'develop' of github.com:sgmap/tps into develop
Conflicts:
	spec/views/users/dossiers/new_html.haml_spec.rb
2015-12-14 17:30:21 +01:00
Tanguy PATTE
e4b54999f4 add api_token for admin 2015-12-14 17:28:36 +01:00
Tanguy PATTE
cf99b30349 change banner for admin 2015-12-14 17:27:14 +01:00
Tanguy PATTE
9040d9407d add empty profile page 2015-12-14 17:25:35 +01:00
Xavier J
83871fc22f Reset password mail 2015-12-14 16:29:35 +01:00
Xavier J
a65f271a60 Add mailer Welcome 2015-12-14 16:09:20 +01:00
Xavier J
a2a5d63c0d Display RNA information on partial dossier entreprise information 2015-12-11 12:36:44 +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
8755ce2ab1 add euro flag to procedure object 2015-12-10 16:09:21 +01:00
Xavier J
f42f3820e9 [BUG FIX] geocode position [0;0] => ocean 2015-12-10 14:33:09 +01:00
Xavier J
90a3b6763b sign_out all devises connect before sign_in an other 2015-12-09 15:10:11 +01:00
Xavier J
f65c383623 Merge branch 'api_carto_dynamique' into develop 2015-12-09 11:16:28 +01:00
Xavier J
c2fbb246e7 beta tag 2015-12-08 18:34:43 +01:00
Xavier J
e9145b031f Change organisation sources for lib apicarto quartiersprioritaires 2015-12-08 16:02:35 +01:00
Xavier J
9f9e8ca176 Fix bug : QP not appears on mini carte in infos_dossier page 2015-12-08 11:32:29 +01:00
Xavier J
11596ade65 - QP not research if module_api_carto have not activated quartiers_prioritaires
- Carte page is not accessible if module_api_cart have not activated use_api_carto
2015-12-08 11:18:49 +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
92d57db91d - migrate page show to edit for procedure admin
- create new page show for procedure admin
2015-12-04 16:17:35 +01:00
Xavier J
49217a1b39 - add decorator for procedure and procedures
- add link to procedure on admin procedures list
2015-12-03 15:38:17 +01:00
Xavier J
515713b3fa Désactivation de France Connect 2015-12-03 15:09:22 +01:00
Xavier J
2b6aba16ac - valid siren on create file 2015-12-03 15:02:22 +01:00
Xavier J
6e19d3ba67 Delete sources of Nabil api-carto 2015-12-03 12:06:35 +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
3e55d7ba3b - Delete routes 'users/dossiers/a_traiter - en_attente - termine' for user
- Add routes 'uses/dossiers/?liste=xxx' to reach at file lists for user
2015-12-02 18:03:52 +01:00
Xavier J
5cebb5b621 - Code review
- Delete routes 'users/dossiers/a_traiter - en_attente - termine' for user
- Add routes 'uses/dossiers/?liste=xxx' to reach at file lists for user
2015-12-02 16:52:09 +01:00
Xavier J
0478805501 Merge branch 'develop' of github.com:sgmap/tps into develop 2015-12-02 14:06:41 +01:00
Xavier J
a3df5a546d - add test on active tab for back office
- refactor code back office file list
- add decorator for select active tabs
2015-12-02 14:05:56 +01:00
Tanguy PATTE
9473232e14 remove fake attestation fiscale 2015-12-02 10:59:03 +01:00
Xavier J
141e23a381 Code review 2015-11-30 17:03:36 +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
f449be5c4e Add column Organisation on Demo page 2015-11-30 10:59:56 +01:00
Xavier J
54788c2499 New UI registration 2015-11-27 18:25:31 +01:00
Xavier J
6dd9c0c7ce Add procedure libelle on all edit page, above tabs 2015-11-27 17:25:22 +01:00
Xavier J
a6244cebb1 Remove console.log in carte.js 2015-11-27 17:17:04 +01:00
Xavier J
3eb990a611 Administrator can unarchived a procedure 2015-11-27 17:13:06 +01:00
Xavier J
7c3f322d6e Add tabs for administrateur procedures list 2015-11-27 16:23:02 +01:00
Xavier J
fe8504fd5e Inverse cancel and valid archive button on recapitulative file page for user 2015-11-27 16:00:34 +01:00
Xavier J
658262f1de Delete lost password demand 2015-11-27 15:55:18 +01:00
Xavier J
3fd7e6b6c0 Gestionnaire can't access to a archived file with direct URL 2015-11-27 15:09:16 +01:00
Xavier J
e9012d8164 User can see archived file in principal list 2015-11-27 15:04:44 +01:00
Xavier J
1e1a6b3693 Gestionnaire can see archived file 2015-11-27 15:04:24 +01:00
Xavier J
a79ecbba6d Add archive button on recapitulative page user dossier 2015-11-27 13:56:54 +01:00
Xavier J
b541e74422 Add procedure name on user dossier list 2015-11-27 11:09:45 +01:00
Xavier J
dd09a38bbb User can begin a new dossier with a procedure archived
Administrateur can see archived procedure
2015-11-27 10:39:05 +01:00
Xavier J
833752161f Add button archive on procedure 2015-11-26 18:41:41 +01:00
Xavier J
02453e4cb1 Pagination per page procedures for admin change 2 => 12 2015-11-26 16:39:37 +01:00
Xavier J
eed7232b8b Add badge on gestionnaire tabs 2015-11-26 16:31:53 +01:00
Xavier J
5e3bc1472c Add pagination for administrateur procedure 2015-11-26 16:00:12 +01:00
Xavier J
37ea69ec51 Add pagination for gestionnaire dossier
Fix test for user pagination
2015-11-26 15:47:31 +01:00
Xavier J
2eb01bdf42 Add paginate for user dossiers 2015-11-26 12:29:34 +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
f4e63d40b0 Add QP on user carte 2015-11-25 10:26:55 +01:00
Xavier J
e928284c15 Add QuartierPrioritaire model and reference at Dossier 2015-11-24 10:02:55 +01:00
Xavier J
2bb57b1091 add service Geojson to_polygon 2015-11-23 18:41:48 +01:00
Xavier J
9b28a3f766 Adaptation demo page with /users/procedure 2015-11-20 18:44:44 +01:00
Xavier J
db346fb66f - create route /users/procedure/:procedure_id to replace /users/siret/?procedure_id=
- /users/siret/ redirect to /users/procedure/
- siren can be past on the URL /users/siret and /users/procedure
2015-11-20 18:14:52 +01:00
Xavier J
18d72745f0 Add description and logo tps on siret page 2015-11-20 17:51:25 +01:00
Xavier J
4ff31f5f81 Mask draft files for user 2015-11-20 17:50:54 +01:00
Xavier J
27dedb1f7b Harmonisation des pages de login 2015-11-20 17:50:27 +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
52133c0f43 add button save for pj and type de champ 2015-11-20 17:12:36 +01:00
Xavier J
d5210278d2 logo tps 2015-11-20 16:43:24 +01:00
Tanguy PATTE
5a9a6226c7 remove validation on description for pj 2015-11-20 15:33:03 +01:00
Tanguy PATTE
17ca244a2f end delete type de piece justificative 2015-11-20 15:12:47 +01:00
Tanguy PATTE
bd5dc1e35a refresh list of pj when adding new one 2015-11-20 14:17:38 +01:00
Tanguy PATTE
1379d6d495 change PieceJustificativeController :
replace edit by show
add update
2015-11-20 13:54:56 +01:00
Xavier J
f92f0f46cc After create new procedure, admin is redirect to type de champ form 2015-11-20 10:54:07 +01:00
Tanguy PATTE
90c7e85980 remove useless view 2015-11-19 19:03:32 +01:00
Xavier J
b40b0e59b1 color state on search result 2015-11-19 18:04:09 +01:00
Xavier J
c4e0e6b402 Merge branch 'develop' into leaflet_freedraw
# Conflicts:
#	db/schema.rb
2015-11-19 17:29:23 +01:00
Xavier J
d8e1770935 delete rails-bower 2015-11-19 17:20:22 +01:00
Xavier J
61b126b0f9 add api_carto on back office and recapitulative page 2015-11-19 16:47:56 +01:00
Tanguy PATTE
37b4823e9a end move up and down button for type de champ 2015-11-19 15:21:18 +01:00
Tanguy PATTE
fde504b54d add move down for type de champ controller and refactor 2015-11-19 11:37:01 +01:00
Tanguy PATTE
0503e2f278 add move_up for type de champ controller 2015-11-18 19:03:51 +01:00
Tanguy PATTE
7e4b26274b change type de champ view 2015-11-18 17:03:53 +01:00
Tanguy PATTE
c4e8c6c989 change rule to display arrow button for type de champ 2015-11-18 16:56:38 +01:00
Tanguy PATTE
41c0ca27d9 refresh list when delete type de champ 2015-11-17 18:52:49 +01:00
Xavier J
9826a294d4 demo procedure page 2015-11-17 18:30:28 +01:00
Tanguy PATTE
1ab89b63aa add arrow in view for order place managment 2015-11-17 18:22:15 +01:00
Xavier J
9f34d20475 Add search feature for gestionnaire backoffice 2015-11-17 18:21:03 +01:00
Tanguy PATTE
cf81623937 force order place to index for type de champ 2015-11-17 17:18:00 +01:00
Tanguy PATTE
26b82b620f sort type de champ by order place 2015-11-17 17:13:06 +01:00
Tanguy PATTE
e6136e17c3 add types_de_champ_ordered in procedure 2015-11-17 15:30:03 +01:00
Tanguy PATTE
15033de455 remove no more needed js 2015-11-17 11:28:00 +01:00
Tanguy PATTE
65c8c039ac add feature test on type de champ:
add typde de champ
delete type de champ
2015-11-17 11:23:13 +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
Tanguy PATTE
9942525984 link procedure to administrateur 2015-11-16 18:25:31 +01:00
Tanguy PATTE
2696a6098e remove useless test 2015-11-16 18:08:33 +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
19b76203c4 Creation three tabs for gestionnaire back office 2015-11-13 15:23:21 +01:00
Xavier J
ce6af625d2 - Save polygon from carte on procedure
- Display save polygon from database
2015-11-12 17:34:12 +01:00
Xavier J
047cf952f7 Change name attribution 2015-11-12 10:51:53 +01:00
Xavier J
eadb42af93 - add bower for rails
- add "wildhoney_leaflet_freedraw" bower vendor
- remove api_carto
2015-11-10 18:08:47 +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