Commit graph

1029 commits

Author SHA1 Message Date
simon lehericey
6b422ceb7a [#1868] ProcedureController: rescue date parsing 2018-04-25 12:03:39 +02:00
simon lehericey
48c5d5a917 Procedure Preview: add annotations preview 2018-04-24 16:54:05 +02:00
simon lehericey
366ef2d2b5 Procedure: add new preview view 2018-04-24 16:54:05 +02:00
simon lehericey
28ce027025 [fix #1832] Procedure Stat: display procedure cloned ratio 2018-04-24 14:22:22 +02:00
simon lehericey
f46bf5a67e Procedure: procedure cloned from library are tagged 2018-04-24 14:22:22 +02:00
Paul Chavard
45019ce75c Use Flipflop instead of Feature 2018-04-18 16:51:21 +02:00
Frederic Merizen
35e1030eed Also create users for avis gestionnaires 2018-04-12 16:40:24 +02:00
Frederic Merizen
ff3dc32de3 Do not send fake password to users upgraded to gestionnaires 2018-04-12 16:40:24 +02:00
Frederic Merizen
faeac3c31d After activating an admin account, log them into all of their roles 2018-04-12 16:40:24 +02:00
simon lehericey
5667cfe747 [fix #675] upload notice in DS 2018-04-12 10:44:58 +02:00
gregoirenovel
be672e19bc ApiEntrepriseService #fetch -> #get_etablissement_params_for_siret 2018-04-10 12:26:06 +02:00
gregoirenovel
ace8441ec7 SIRETService -> ApiEntrepriseService 2018-04-10 12:24:49 +02:00
Paul Chavard
27592ae072 Add simple web hooks to procedures 2018-04-09 11:02:24 +02:00
gregoirenovel
e71d3a76fa Refactor Pipedrive: create adapters and an API files 2018-04-09 09:54:10 +02:00
gregoirenovel
82d6f0b8a8 Add a method name to better separate responsabilities
Also rename a method to better reflect what it does
2018-04-09 09:54:10 +02:00
Paul Chavard
45ef32e6d9 Add SIRET Type De Champ 2018-04-05 10:29:29 +02:00
simon lehericey
c019cb623a Individual: use birthdate as a ... date :) 2018-04-04 13:19:39 +02:00
simon lehericey
1f536c94ab Individual: missing individual part in old controller 2018-04-04 12:25:54 +02:00
simon lehericey
46fd213ad2 Individual: old controller does not care about individual anymore 2018-04-03 21:16:54 +02:00
gregoirenovel
3a3afc5797 Remove a now useless flash message 2018-04-03 14:12:56 +02:00
simon lehericey
6fa4fc0046 DossierController: factorize page logic 2018-04-03 13:33:25 +02:00
simon lehericey
05ab4c5ca6 DossierController: add tab for dossiers invites 2018-04-03 13:32:41 +02:00
simon lehericey
4ec6c72c96 [fix #1755] clean GeoJSON polygones before save 2018-03-30 16:15:30 +02:00
Paul Chavard
fd8674dffc Give procedure_id to SIRETService 2018-03-29 17:57:09 +02:00
Frederic Merizen
dd219d5d40 [#1677] Prevent invites from submitting a dossier 2018-03-29 17:03:58 +02:00
Frederic Merizen
b869efd7d1 [#1677] After editing, send Invites back to invitation page 2018-03-29 17:03:58 +02:00
Frederic Merizen
b606afee3f [#1677] Extract NewUser::DossiersController#owns_dossier? 2018-03-29 17:02:10 +02:00
Frederic Merizen
baf881a38b [#1677] Remove no-operation 2018-03-29 17:02:10 +02:00
Frederic Merizen
839a5d43f6 [#1677] Allow invites to edit dossiers 2018-03-29 17:02:10 +02:00
Frederic Merizen
884c430619 [#1677] No need to use emails when we have users 2018-03-29 16:59:16 +02:00
simon lehericey
b2f04e2503 Usager UI: simple dossier index 2018-03-29 16:23:10 +02:00
simon lehericey
66a113c7db Dossier: remove uncessary query on order_champ_v2 2018-03-27 16:48:38 +02:00
simon lehericey
8ac5415ce0 DossierController: avoid unecessary user fetch 2018-03-27 16:48:38 +02:00
simon lehericey
289ddb5419 [fix #1670] Manager send the refused admin email 2018-03-27 16:02:09 +02:00
simon lehericey
d0431a28f2 Pipedrive: manager can refuse a deal 2018-03-27 15:56:28 +02:00
simon lehericey
2102130fa3 Pipedrive: allow super admin to choose target pipeline 2018-03-27 14:52:39 +02:00
simon lehericey
6a74aaa42a [fix #1697] Pipedrive: use a job to process an admin creation 2018-03-27 14:52:39 +02:00
simon lehericey
ec3d558af0 Pipedrive: extract methods in service 2018-03-27 14:52:39 +02:00
Paul Chavard
6b7d0ccb82 Remove unused rescue in SIRET form controller 2018-03-27 13:56:22 +02:00
Paul Chavard
a17ac5a9db Remove debug logger 2018-03-26 17:44:51 +02:00
Frederic Merizen
cab670b1ad [#1677] Simplify code 2018-03-22 16:40:57 +01:00
Frederic Merizen
c413dfa127 [#1677] No longer create InviteGestionnaires 2018-03-22 16:40:57 +01:00
simon lehericey
9eb28faa10 [fix #1601] accept demandes in manager 2018-03-22 15:37:16 +01:00
simon lehericey
9e566596fa [fix #1601] show pipedrive demandes in manager 2018-03-22 15:37:16 +01:00
Frederic Merizen
2fa88a432b Add missing brackets around parameters in method definitions 2018-03-20 17:54:51 +01:00
gregoirenovel
d0a59058e8 Remove the mandataire_social guess
Rationale:
- is true for only 0.06% of Dossiers
- is not displayed anymore anyways
- will be a rare case for now
  * FC adoption is not insane
  * FC used more for personal than professional
    matters
  * not always the mandataires sociaux that fill
    dossiers for their companies, so not that
    relevant
- we can add it back later
2018-03-20 16:09:00 +01:00
Mathieu Magnin
621f8143bd [Fix #1654] Generate procedure export filename with libelle 2018-03-19 11:16:05 +01:00
gregoirenovel
19a2398593 [Fix #1644] In API, current_administrateur -> administrateur 2018-03-19 11:09:30 +01:00
Frederic Merizen
d60765880f Fix authentication token description 2018-03-16 10:10:43 +01:00
Paul Chavard
e4f07dbae6 Document pagination params in api and allow to set per_page limit 2018-03-15 17:50:41 +01:00
Paul Chavard
87d1948023 Add token authentication to API 2018-03-15 17:43:45 +01:00
gregoirenovel
031b9c0bab Update documentation links to GitBook v2 2018-03-15 09:37:24 +01:00
Mathieu Magnin
247526578c [Fix #1479] Avis creation can fail gracefully 2018-03-14 17:41:46 +01:00
gregoirenovel
53ad9d3611 [Fix #1591] Add rel attribute to target blank links 2018-03-13 11:24:12 +01:00
gregoirenovel
657b9d2e93 Change link to doc 2018-03-12 17:51:39 +01:00
Paul Chavard
6ef141b014 Build instead of create etablissement 2018-03-07 17:43:44 +01:00
gregoirenovel
0a9f442260 Enable some Rails cops 2018-03-06 17:18:44 +01:00
gregoirenovel
7489b8d1aa Avoid assignments in conditions 2018-03-06 17:18:44 +01:00
gregoirenovel
e26f4148ff Bump development gems
- brakeman
- rubocop
- scss_lint
2018-03-06 16:17:22 +01:00
gregoirenovel
fe7f8da636 Revert "Bump development gems"
This reverts commit d6ad3fc3fd.
2018-03-06 15:11:26 +01:00
gregoirenovel
d6ad3fc3fd Bump development gems
- brakeman
- rubocop
- scss_lint
2018-03-06 10:36:35 +01:00
Mathieu Magnin
875766279d [Fix #1510] Send email after dossier is received 2018-03-05 19:08:17 +01:00
Mathieu Magnin
cc648fcdb3 Log siret behaviour to investigate Sentry #2371 2018-03-05 17:46:42 +01:00
simon lehericey
28c4dde96d _explication: display champ.description instead of champ.value 2018-03-01 11:25:57 +01:00
gregoirenovel
b784036a12 Warn of name change on the landing page 2018-03-01 10:33:53 +01:00
gregoirenovel
0af270faa0 tps.apientreprise.fr -> demarches-simplifiees.fr 2018-03-01 10:33:53 +01:00
simon lehericey
eb937649a1 new user: thanks page 2018-02-28 17:34:27 +01:00
Paul Chavard
94a503a2c4 Fix create dossier with siret 2018-02-28 17:16:03 +01:00
simon lehericey
abc9068412 DossierController: allow upload of empty 2018-02-27 17:39:17 +01:00
Paul Chavard
896518f3d5 add SIRETService 2018-02-27 16:22:53 +01:00
simon lehericey
a0667f5ad9 [fix #1411] user: link new screen to the rest of the application 2018-02-27 15:24:51 +01:00
simon lehericey
d702a0c083 [fix #1411] user: new form ui 2018-02-27 15:24:50 +01:00
gregoirenovel
9c93000e69 [Fix #1468] Add Accessibilité page 2018-02-26 15:48:10 +01:00
gregoirenovel
3d10dbf0e4 Refactor assignement-related methods 2018-02-23 17:12:58 +01:00
gregoirenovel
ac6ba40598 Unscope the procedures on Gestionnaire and add #visible_procedures 2018-02-23 17:12:58 +01:00
gregoirenovel
08f364ccdc Add constants 2018-02-23 17:12:24 +01:00
gregoirenovel
86d867a7ea Add more precise info messages 2018-02-23 17:12:24 +01:00
gregoirenovel
1b1460c191 Move a service to the gestionnaire model 2018-02-23 17:12:24 +01:00
simon lehericey
630f22e205 Gestionnaire: various missing procedure urls 2018-02-22 17:02:20 +01:00
simon lehericey
864b98c6dc Gestionnaire: various missing avis urls 2018-02-22 17:02:20 +01:00
simon lehericey
0308345008 Gestionnaire: move procedures_path to gestionnaire_procedures_path 2018-02-22 17:02:20 +01:00
simon lehericey
0dc101e375 Gestionnaire: move dossier_path gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
c1bbe72dbd Gestionnaire: move sign_up_avis_path to sign_up_gestionnaire_avis_path 2018-02-22 17:02:20 +01:00
simon lehericey
3b3849e4f3 Gestionnaire: move messagerie_avis_path to messagerie_gestionnaire_avis_path 2018-02-22 17:02:20 +01:00
simon lehericey
c58b32a26d Gestionnaire: move instruction_avis_path to instruction_gestionnaire_avis_path 2018-02-22 17:02:20 +01:00
simon lehericey
a416efc49a Gestionnaire: move personnes_impliquees_dossier_path to personnes_impliquees_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
63163e5022 Gestionnaire: move avis_dossier_path to avis_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
87a4029f1a Gestionnaire: move annotations_privees_dossier_path to annotations_privees_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
be191a680e Gestionnaire: move messagerie_dossier_path to messagerie_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
Mathieu Magnin
6ed1d7f833 [Fix 1413] User header should not contain accompagnateurs links 2018-02-21 14:22:59 +01:00
Mathieu Magnin
3e5621f633 [Fix #1409] Plug identite new design to current workflow 2018-02-20 11:01:47 +01:00
Mathieu Magnin
9627ba43c0 [Fix #1409] Identite can be updated 2018-02-20 11:01:47 +01:00
Mathieu Magnin
d9265d9686 [Fix #1409] Display identite form with new design 2018-02-20 11:01:47 +01:00
Paul Chavard
35a4367114 Fix multi submit bug with direct upload 2018-02-16 12:53:00 +01:00
gregoirenovel
ee145180a3 Add a piece_justificative_file attribute to Champ 2018-02-15 11:15:23 +01:00
Paul Chavard
31d638ae2a Remove TypeDeChampPublic/TypeDeChampPrivate STI 2018-02-14 11:49:06 +01:00
Paul Chavard
52749713ab Remove ChampPublic/ChampPrivate STI 2018-02-13 12:07:13 +01:00
Mathieu Magnin
50f35ee905 [Fix #1296] Birthday field is optional in procedure 2018-02-07 15:57:48 +01:00
Mathieu Magnin
d49659fc73 [Fix #478] /recherche can deal with very big int ☺️ 2018-02-07 11:56:22 +01:00
gregoirenovel
9764a0af8d Add back content_type
I forgot to specify it in
7ccae2c4f1
2018-02-06 14:07:20 +01:00