Commit graph

68 commits

Author SHA1 Message Date
gregoirenovel
ec69086ebc Don’t use alias_method_chain, use a proxy method 2017-06-08 12:22:48 +02:00
gregoirenovel
1794da5a30 [Fix #234] Remove dynamic email templates handling code in Procedure 2017-06-07 10:10:15 +02:00
gregoirenovel
9268da8236 Refactor Procedure#switch_list_order 2017-05-30 15:54:49 +02:00
gregoirenovel
258a80b0d7 Use the Procedure not_archived scope 2017-05-30 15:52:28 +02:00
gregoirenovel
9d478609d0 Move the Procedure scopes at the top 2017-05-30 15:52:28 +02:00
Mathieu Magnin
43f481b7ff Gestionnaire can list dossiers where he is invited for avis 2017-05-29 11:44:28 +02:00
Simon Lehericey
e7d39ca650 ProcedureOverview: add object to contain overview logic 2017-05-23 17:12:18 +02:00
Mathieu Magnin
6ef6a66c3f Remove @facade_data_view from left_panel view 2017-04-26 16:55:22 +02:00
Mathieu Magnin
887512c26c Procedure path can contain dashes and can be longer 2017-04-21 16:32:48 +02:00
gregoirenovel
d531b02bc5 Order types_de_piece_justificative on Procedure
So that /spec/controllers/api/v1/
dossiers_controller_spec.rb#L163-L179 (on commit
8852431 for example) does not randomly fail due
to unordered types_de_piece_justificative
2017-04-13 14:48:18 +02:00
Mathieu Magnin
080c7c3d04 Fix csv export with no dossiers 2017-04-12 18:19:37 +02:00
gregoirenovel
df878b9ef4 Change Dossier#convert_specific_array_values_to_string’s signature and name
- It is always called with the data_with_champs
  argument

- Changing the signature requires a change of name
  in this case
2017-04-11 10:29:07 +02:00
Mathieu Magnin
bf0d466f4b Move export_full_generation method from Dossier to Procedure 2017-04-05 12:26:38 +02:00
Mathieu Magnin
c2a27c6f6a Merge branch 'develop' into auto_archive_on_date 2017-03-22 11:32:56 +01:00
Mathieu Magnin
24d17dc0f3 Sidekiq worker to archive procedures automatically + tests 2017-03-15 12:40:59 +01:00
Mathieu Magnin
fc9ef92c37 Destroy emails with procedure 2017-03-13 10:27:19 +01:00
Mathieu Magnin
9cd506e265 Clone mail_templates with procedure 2017-03-07 18:19:48 +01:00
Simon Lehericey
02bbf0543f Mails: move to their own namespace 2017-03-07 10:27:14 +01:00
Simon Lehericey
70b2020656 Procedure: remove mail_template 2017-03-07 10:27:13 +01:00
Simon Lehericey
206d56f106 Procedure: add the new mails 2017-03-07 10:27:13 +01:00
Simon Lehericey
7b336922cc Cleaning 2017-03-07 10:25:34 +01:00
Simon Lehericey
c22c84f1f9 Procedure: add inititad_mail with default provider 2017-03-07 10:25:34 +01:00
Simon Lehericey
47fc6e6957 InitiatedEmail: add initiated email 2017-03-07 10:25:28 +01:00
Mathieu Magnin
ab3c1b4be4 Remove mail validated in procedure 2017-02-27 13:29:26 +01:00
Mathieu Magnin
4cc6aedfb9 Fix tests after workflow simplication 2017-02-27 11:56:26 +01:00
Simon Lehericey
a124069210 Procedure: use after_create to build_default_mails 2017-02-15 15:44:27 +01:00
Mathieu Magnin
6444aa5be6 Use has_one instead of scope 2017-02-06 16:52:57 +01:00
Mathieu Magnin
b40193e7b5 New customizable mail : mail_validated, new balise --lien_dossier-- 2017-01-26 12:12:52 +01:00
Xavier J
5284df5ce0 Add page « Procédure terminée » 2016-11-07 17:08:33 +01:00
Xavier J
00c9c8250d Fix bug clone drop_down_list procedure 2016-10-03 13:09:45 +02:00
Xavier J
969e5f020a Fix bug clonage private fields 2016-09-09 17:39:56 +02:00
Xavier J
62a0b84048 Filter by procedure is activated on route /backoffice/dossiers/procedure/:id 2016-09-08 16:21:54 +02:00
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
12ebab66cc Administrateur can be param the acknowledgement of delivery mail object and body. 2016-08-31 16:07:11 +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
21a18a536f Add total_commentaire in API Dossier and total_dossier on API Procedure 2016-07-22 15:06:30 +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
1dcb29ec65 Add feature delete for draft procedure 2016-06-20 17:37:04 +02:00
Guillaume Lazzara
7af7859334 Implement procedure cloning 2016-06-15 11:34:05 +02:00
Guillaume Lazzara
2791988da2 Add draft/publish status for procedure. 2016-06-09 17:49:48 +02:00
Guillaume Lazzara
1551b7ce21 Add ordering feature on piece justificative view 2016-06-08 16:45:37 +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
1923f2aec1 Migrate Admin / Gestionnaire / Procédure gestion in database 2016-05-20 15:39:17 +02:00
Xavier J
c1ea10bd82 Add restriction on User's URL based on Dossier state 2016-01-25 15:54:21 +01:00
Xavier J
1551ae82cd Add dependent destroy on has_xxx models 2016-01-18 16:20:51 +01:00