Commit graph

2759 commits

Author SHA1 Message Date
simon lehericey
af7be58132 Service: add service to procedure 2018-05-18 16:21:26 +02:00
simon lehericey
5d7455f436 Service: keep procedure_id 2018-05-18 16:21:26 +02:00
Frederic Merizen
a8f2528dcd Add services to procedure admin menu 2018-05-18 16:21:26 +02:00
Frederic Merizen
ec21f78274 Cosmetic refactor left procedure admin panel 2018-05-18 16:21:26 +02:00
Frederic Merizen
365cb9b44d Service: can update a service 2018-05-18 16:21:26 +02:00
simon lehericey
c54c85bad8 Service: can create a service 2018-05-18 16:21:26 +02:00
simon lehericey
bda0ca8188 Service: sort services by name in index 2018-05-18 16:21:26 +02:00
simon lehericey
4d0a920e7a Service: add index page 2018-05-18 16:21:26 +02:00
simon lehericey
fc17b68dc1 Service: create model 2018-05-18 16:21:26 +02:00
Paul Chavard
2b8ee92074 Add aasm_state to procedures 2018-05-17 14:46:48 +02:00
Paul Chavard
da8ad1f3e2 Remove external scripts from mailjet widget 2018-05-17 13:27:27 +02:00
simon lehericey
95db5e5767 [fix #1560] update logo in mail 2018-05-15 12:27:28 +02:00
Paul Chavard
0c54220c2b Add test_started_at to procedures 2018-05-15 11:00:20 +02:00
Mathieu Magnin
748300fcf7 [Fix #1896] fix typo 2018-05-11 13:52:06 +02:00
Frederic Merizen
26f9ec0122 [Fix #1825] Also show previews for archived procedures 2018-05-09 18:28:41 +02:00
Frederic Merizen
4308535450 [Fix #1833] Remove library button from new procedure from scratch screen 2018-05-09 16:16:43 +02:00
Frederic Merizen
93e068421b [#1833] New procedure button defaults to procedure library 2018-05-09 16:16:09 +02:00
Frederic Merizen
5fd5c3ee5b [#1833] Add ‘create from scratch’ button to procedure library 2018-05-09 16:15:19 +02:00
Frederic Merizen
5ef129d960 [#1563] Remove attestation mail attachment 2018-05-09 10:42:40 +02:00
Mathieu Magnin
7f4e6eae6b No dubious proc. email == Everything is ok || Something went wrong. We should always send dubious procedure email. 2018-05-07 12:24:05 +02:00
Mathieu Magnin
dcdd431bc0 [Fix #1907] set activation reminder delay to 3 days to allow administrateurs to activate their account with the original message after the weekend 2018-05-04 14:23:05 +02:00
Mathieu Magnin
a2bbf1b4d6 [Fix #1907] A new token should be regenerated, because the one in db is encrypted 2018-05-04 14:23:05 +02:00
gregoirenovel
8848abc536 #to_sorted_values -> #sorted_values 2018-05-03 23:35:51 +02:00
gregoirenovel
886431b120 Make some methods private 2018-05-03 23:35:51 +02:00
gregoirenovel
f020fa9e2b Remove some useless self mentions 2018-05-03 23:35:51 +02:00
Paul Chavard
0b7cf3ae75 #full_data_strings_array -> #export_values 2018-05-03 23:35:51 +02:00
Paul Chavard
8637a3015e Simplify Procedure#generate_export code 2018-05-03 23:35:51 +02:00
gregoirenovel
031522cf42 Checking on entreprise has no sense, check etablissement 2018-05-03 23:35:51 +02:00
gregoirenovel
12cda1739b #export_entreprise_data -> #export_etablissement_data 2018-05-03 23:35:51 +02:00
gregoirenovel
5cdd7b48b1 Add a link to the available demarches 2018-05-02 17:09:38 +02:00
gregoirenovel
291259deb8 On the landing page, show the Usagers panel first 2018-05-02 17:09:38 +02:00
Mathieu Magnin
3e50903b66 [Fix #1873] Add pre maintenance warning 2018-05-02 16:52:38 +02:00
simon lehericey
bb4d29ee8f [fix #1855] Gestionnaire: are now invited to create their password 2018-04-27 14:10:06 +02:00
Paul Chavard
d9dbf7b7f9 Remove legacy features support 2018-04-26 16:28:45 +02:00
gregoirenovel
47323ffbf1 [#1872] Managers can enable feature flags from UI 2018-04-26 16:28:45 +02:00
gregoirenovel
09909b9293 [Fix #1835] Transférer -> Envoyer une copie 2018-04-26 15:19:18 +02:00
simon lehericey
3d53366678 [fix #1877] add maintenance mode 2018-04-26 15:06:34 +02:00
Paul Chavard
482b306920 Show enabled features for admins in manager 2018-04-25 15:42:45 +02:00
Paul Chavard
a5835a9777
Merge branch 'dev' into frederic/fix_1865_api_expose_pj_champ 2018-04-25 15:30:44 +02:00
simon lehericey
6b422ceb7a [#1868] ProcedureController: rescue date parsing 2018-04-25 12:03:39 +02:00
Paul Chavard
e76e17895a Flipflop should check administrateur id not user id 2018-04-25 11:06:40 +02:00
Frederic Merizen
5b9f25271f [Fix #1865] Expose attachment field over API 2018-04-24 20:29:25 +02:00
simon lehericey
e5b5913d29 [fix #1824] link preview button to preview page 2018-04-24 16:54:05 +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
1da69a7730 Dossier: extract edition view to shared template 2018-04-24 16:50:32 +02:00
simon lehericey
c90ddb92a6 Procedure: add #new_dossier
Create a new instance of a dossier and its champs without saving them in the db
2018-04-24 16:49:42 +02:00
simon lehericey
9d0b568ef5 Procedure: add parent_procedure 2018-04-24 15:48:20 +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
Paul Chavard
7dd0611a28 Add link to features UI to manager dashboard 2018-04-18 16:51:21 +02:00
Paul Chavard
3f3358db16 Add flipflop config 2018-04-18 16:51:21 +02:00
gregoirenovel
09e0144f30 Bump gems
- apipie-rails
- brakeman
- byebug
- rubocop
- turbolinks
- skylight
- chartkick
- devise
- dotenv-rails
- uglifier
- web-console
- font-awesome-rails
- pg
- deep_cloneable
- delayed_job_active_record
2018-04-17 17:24:10 +02:00
Paul Chavard
c3915234c4 Champ SIRET Spinner 2018-04-17 13:49:02 +02:00
simon lehericey
7f788c4f06 [fix #1826] Library: add contact link 2018-04-16 11:28:22 +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
Frederic Merizen
ee67e7b154 Always create a corresponding User account for Admin accounts 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
Mathieu Magnin
7cf21d5171 User header should not display the 'go to user interface' button 2018-04-10 18:08:28 +02:00
Paul Chavard
07ed83f99f
Merge branch 'dev' into renaming 2018-04-10 15:10:10 +02:00
gregoirenovel
03c045aa1a Don’t reinvent the wheel with number_to_currency 2018-04-10 12:35:47 +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
simon lehericey
bb6e94e76e [fix #932] Display pj template to usager 2018-04-09 18:19:24 +02:00
simon lehericey
0ab526de5a [fix #932] Let an adminstrateur upload a pj template 2018-04-09 18:19:24 +02:00
Paul Chavard
408feaa52e Display etablissement information for siret champ 2018-04-09 13:18:10 +02:00
Mathieu Magnin
f6d53be873 [Fix #1799] Send automatic emails to improve administrateur activation 2018-04-09 11:08:13 +02:00
Mathieu Magnin
2f8206edd5 [Fix #1799] Extract bizdev signature to prepare reuse 2018-04-09 11:08:13 +02:00
Paul Chavard
27592ae072 Add simple web hooks to procedures 2018-04-09 11:02:24 +02:00
gregoirenovel
26b66aac96 Improve a method name 2018-04-09 09:54:11 +02:00
gregoirenovel
136f15b89c Improve some variable names 2018-04-09 09:54:11 +02:00
gregoirenovel
4c24c8346a Use better names for PipedriveService methods 2018-04-09 09:54:11 +02:00
gregoirenovel
71e9a6056d Structure the helpers methods the same way 2018-04-09 09:54:10 +02:00
gregoirenovel
c5953f8aef Use .join to generate urls (unification) 2018-04-09 09:54:10 +02:00
gregoirenovel
298d7d050c Mutualize some code in Pipedrive::API#put 2018-04-09 09:54:10 +02:00
gregoirenovel
e688fc4212 Mutualize some code in Pipedrive::API#get 2018-04-09 09:54:10 +02:00
gregoirenovel
d202e0173e Mutualize some code in Pipedrive::API#get 2018-04-09 09:54:10 +02:00
gregoirenovel
d287eb0e5f Create Pipedrive::API get helpers 2018-04-09 09:54:10 +02:00
gregoirenovel
4ff07f2b93 Mutualize a call Pipedrive::API.put 2018-04-09 09:54:10 +02:00
gregoirenovel
e31b839e0c Create Pipedrive::API put helpers 2018-04-09 09:54:10 +02:00
gregoirenovel
1f226d882c Dont use the class << self pattern 2018-04-09 09:54:10 +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
Frederic Merizen
6ed7ae4b53 [Fix #1809] Handle non-champ tags in attestation 2018-04-06 19:22:42 +02:00
gregoirenovel
c60c58ff8b Fix issues spotted by @fredZen in #1802 2018-04-06 16:39:54 +02:00
kemar
b42e410da0 [Fix #1494] Display a warning when accepting a dossier if needed
Show the accompagnateur the unspecified demande
champs and attestations privées needed for the
attestation
2018-04-06 16:15:09 +02:00
simon lehericey
2e3f72bc56 [fix #1805] Notice: display notice only if needed 2018-04-06 12:32:22 +02:00
Frederic Merizen
b27218c7c4 [#1563] Display attestation / closed mail discrepancy alert in admin interface
- When changing emails
- When changing attestation
- As a safety net, on summary page
2018-04-06 10:18:56 +02:00
Frederic Merizen
a2ffc4357d [#1563] Generate a helpful alert on attestation / closed mail mismatch 2018-04-06 10:18:56 +02:00
Frederic Merizen
809638df79 [#1563] Determine if Attestation and Closed mail are out of sync 2018-04-06 10:18:56 +02:00
Paul Chavard
d71aabd291 Job to fetch missing etablissement 2018-04-05 14:52:29 +02:00
Paul Chavard
45ef32e6d9 Add SIRET Type De Champ 2018-04-05 10:29:29 +02:00
Paul Chavard
0b79a3d79d Add Siret(TypeDe)Champ STI model 2018-04-04 18:44:08 +02:00
Paul Chavard
3cd80af6cb Add sign and verify to etablissement 2018-04-04 18:44:08 +02:00
Paul Chavard
714ebda2fe Add SignatureService 2018-04-04 18:44:08 +02:00
simon lehericey
b15be89e0c [fix #1797][fix #1063] Add notice link to dossier modifier 2018-04-04 18:05:55 +02:00
gregoirenovel
616e0041a5 Add an empty state for carto
Avoids parsing errors
2018-04-04 16:35:30 +02:00