Commit graph

153 commits

Author SHA1 Message Date
Mathieu Magnin
bf0d466f4b Move export_full_generation method from Dossier to Procedure 2017-04-05 12:26:38 +02:00
Mathieu Magnin
b18c09e9fd Download dossiers button exports all dossiers except draft 2017-04-05 11:04:53 +02:00
gregoirenovel
d5e7bbd80d Files should end with a new line 2017-04-04 16:59:38 +02:00
LeSim
9764604430 Merge branch 'develop' into customize_submission_mail 2017-03-07 11:05:04 +01:00
Simon Lehericey
3d7f04ad3d DossierController: send receivedMail when the mail is ... received 2017-03-07 10:27:14 +01:00
Simon Lehericey
6c560e65eb Notification Mailer: use send_notification for all the mails 2017-03-07 10:27:13 +01:00
Simon Lehericey
36500407b4 DossierController: use the new method send_notification 2017-03-07 10:25:34 +01:00
Mathieu Magnin
44819bb0b1 Fix reopened dossier should not be listed in new dossiers 2017-03-06 15:59:52 +01:00
Simon Lehericey
494d5fed5c Dossier_list_controller: renaming 2017-03-01 16:00:39 +01:00
Simon Lehericey
0862f2fc51 Dossier_list_controller: same name pattern 2017-03-01 15:51:02 +01:00
Simon Lehericey
5b475fdd06 Dossier_list_controller: simplify smartlisting 2017-03-01 15:51:02 +01:00
Simon Lehericey
925a087f4a Dossier_list_controller: use same system for archived dossiers 2017-03-01 15:50:57 +01:00
Simon Lehericey
8dc634f4d3 Dossier_list_controller: factorize smart_listing_create 2017-03-01 14:19:22 +01:00
Mathieu Magnin
87865fcf1b Merge branch 'develop' into list_dossiers_archived 2017-03-01 10:35:20 +01:00
Simon Lehericey
870d3719e1 Dossier: add method to allow gestionnaire to reopen dossier 2017-02-28 15:14:27 +01:00
Mathieu Magnin
fa884f3ed0 Unarchive button & tests 2017-02-28 14:33:05 +01:00
Mathieu Magnin
ef1d46d30e Fix tests 2017-02-28 11:37:37 +01:00
Mathieu Magnin
6774dd008f List dossiers archived 2017-02-27 17:44:08 +01:00
Mathieu Magnin
cae5b37e38 First step to remove :validated and :submitted states 2017-02-21 18:05:48 +01:00
Simon Lehericey
b6fc30fd62 Search: see only its own files 2017-02-20 18:07:33 +01:00
Xavier J
5d733c11fd Delete references @opensimplif 2017-02-13 15:46:28 +01:00
Mathieu Magnin
5613b896b1 Gestionnaire can archive dossier 2017-02-08 17:35:28 +01:00
Xavier J
23df8a2348 - Ajust TPS for OpenSimplif
- Create /simplifcations routes for OpenSimplifController
2017-01-09 17:12:11 +01:00
Xavier J
c815ec5e82 Add tab for follow dossier in gestionnaire dashboard 2017-01-05 19:07:01 +01:00
JC
45042d0200 Catching case for empty dossiers, cannot download them while locked on procedure, third fix making good condition about empty dossiers 2017-01-03 15:50:44 +01:00
JC
2670a9db0e Catching case for empty dossiers, cannot download them while locked on procedure 2017-01-03 15:15:20 +01:00
JC
e7ef58dc9a Catching case for empty dossiers, cannot download them while locked on procedure 2017-01-03 15:14:39 +01:00
Xavier J
4d765d3b46 Past all notification to read when gestionnaire is on back office dossier show 2016-12-27 11:23:19 +01:00
Xavier J
02fd5a2939 Fix tests 2016-12-22 11:55:24 +01:00
Xavier J
cd7b7e4055 - Fix display private form
- Refacto code private form
2016-12-22 11:39:44 +01:00
Xavier J
f1ae1d8dea Change render « show » by redirect_to backoffice_dossier_path(id) in dossier controller POST action 2016-12-19 17:11:26 +01:00
Xavier J
ee82e7fa8a Add ProcedureController tests 2016-12-16 17:15:13 +01:00
Xavier J
bc4e3860be Fix all tests 2016-12-14 18:41:33 +01:00
Xavier J
4c2dd0ede1 Fix out of ranch error on search 2016-12-05 16:57:40 +01:00
Xavier J
cc532f74f9 Fix redirection routes for gestionnaires and users with double devise profile 2016-12-05 16:17:24 +01:00
Xavier J
f96b87122b Fix controller spec 2016-12-01 18:05:49 +01:00
Xavier J
752ae24c9f New search UX 2016-11-29 09:56:11 +01:00
Xavier J
53b0b9ee63 Fix bug right preference panel 2016-11-28 16:49:50 +01:00
Xavier J
fbfbe68295 Adapt JS smart listing 2016-11-28 14:43:46 +01:00
Xavier J
178f0f88c1 - Delete page « Tous les dossiers »
- Fix follow tab
2016-11-28 14:38:33 +01:00
Xavier J
58df3c3a75 - Continue development Tableau de bord
- Optimize toggle block
2016-11-24 19:33:34 +01:00
Xavier J
d09a47ae23 First iteration navbar tableau de bord 2016-11-23 15:21:42 +01:00
JC
5ba1c85ca7 Change spec according to layout rendering service 2016-11-22 16:30:35 +01:00
JC
4f9bcdd225 Awsome struct to share layouts between controllers and there methods 2016-11-22 16:03:32 +01:00
JC
3627a18420 Set navbar options from before_action 2016-11-21 17:30:28 +01:00
JC
ef9adf52cb Loading variables from controller to get several uniq layout to display 2016-11-21 16:45:12 +01:00
Julien Portalier
426fd55f30 Fix: search dossier by id (backoffice) 2016-11-17 19:18:24 +01:00
JC
23b928f160 Adding limit (200) for dossier exportation 2016-11-15 17:06:40 +01:00
JC
0ac3c5fc86 Merging develop branch updated 2016-11-15 10:46:33 +01:00
JC
e49e0b02ef Split methods for export, need to write 2 tests for headers and raw data (export_headers, data_with_champs) 2016-11-14 10:41:56 +01:00
JC
a89a40df34 Prevent call for headers writting (export with procedures), get filtered dossiers by using the 'yoloServiceRegexCraftedByHandMetaForAllProject' -> extra :), adding tests for generic methods, still need to test export_columns_and_procedure 2016-11-09 17:20:55 +01:00
JC
c01e3987f6 Using serializer to get procedure.dossier from controller 2016-11-09 15:36:18 +01:00
JC
973570332f Implemented custom method to catch procedure_id while rendering data on each request format 2016-11-09 09:19:57 +01:00
JC
fa767ad56f Config using default Serializers to generate both CSV and XLSX files from Dossier records, problem with ODS in gem -> github issue openned 2016-11-07 17:23:58 +01:00
Julien Portalier
31272cf0f5 Fix: rebased off the develop branch (not master)
Remove textacular gem, drop `db/structure.sql` (no special indices)
and regenerates `db/schema.rb`
2016-11-04 17:14:09 +01:00
Julien Portalier
f9a5e5c5ff Drop textacular (to enable prefix matching) + disable materialized view (for the time being) + specs 2016-11-04 15:38:34 +01:00
Julien Portalier
0ea69cfc3e PostgreSQL full text search [WIP] 2016-11-04 15:34:21 +01:00
Xavier J
fe6f6ebad3 Bug fix cookie for user 2016-10-11 18:05:49 +02:00
Xavier J
d5a85d17c7 Active feature "keep actual smart listing page" 2016-10-11 17:40:59 +02:00
Xavier J
64d46a25df Add PreferenceSmartListingPage table and implement the usage 2016-10-11 15:37:16 +02:00
Xavier J
2a2ccec373 Fix bug cookie not valid for back office gestionnaire 2016-10-07 16:01:32 +02:00
Xavier J
ac971a805e Adapt search function at the PreferenceListDossier table 2016-10-07 14:58:45 +02:00
Xavier J
52249f92b5 Add filter on gestionnaire dossier list 2016-10-04 19:19:03 +02:00
Xavier J
5ff37a270e Fix with migration bad table value for nil table attr 2016-09-27 17:53:46 +02:00
Xavier J
b3d454a53b Smart listing sorting is saved on dossier list 2016-09-27 17:26:49 +02:00
Xavier J
ee9c38c0f8 Keep procedure filter when gestionnaire select on 2016-09-26 13:58:54 +02:00
Xavier J
30acd9bb3e A cookie file keep the last navigation tab for user and gestionnaire 2016-09-09 16:20:07 +02:00
Xavier J
c5035ca81e When gestionnaire follow an initiated dossier, this paste his state at 'updated' 2016-09-09 15:55:03 +02:00
Xavier J
62a0b84048 Filter by procedure is activated on route /backoffice/dossiers/procedure/:id 2016-09-08 16:21:54 +02:00
Xavier J
d5ad256919 create route and controller to filter dossier view by procedure 2016-09-06 11:07:26 +02:00
Xavier J
f03733f3ff Mail for receive dossier is now send. 2016-09-01 10:27:22 +02:00
Guillaume Lazzara
fc99dc65d6 Send notification emails when a dossier is closed. 2016-08-25 18:02:56 +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
Xavier J
e4cf25b677 Download all gestionnaire dossier with a button 2016-08-25 12:30:15 +02:00
Xavier J
5b0e01f117 delete filter procedure for gestionnaire 2016-08-22 16:36:25 +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
480431ea01 Add on gestionnaire dossier view the private form 2016-08-08 12:52:30 +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
6796ec26e8 Add suivi tab for gestionnaire 2016-07-19 17:18:41 +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
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
e2a896d0b0 Gestionnaire can invite an email contact to participate at a dossier 2016-02-08 18:16:18 +01:00
Xavier J
7a2b935c04 User and Gestionnaire sort list 2016-01-08 11:39:04 +01:00
Xavier J
3c18882407 Create facade for dossier into user and gestionnaire views 2015-12-24 15:10:20 +01:00
Xavier J
b237d7c890 Send email when gestionnaire valide a dossier 2015-12-15 15:37:46 +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
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
Xavier J
141e23a381 Code review 2015-11-30 17:03:36 +01:00
Xavier J
da49c633dc Add tabs on view list file for users 2015-11-30 14:48:37 +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
37ea69ec51 Add pagination for gestionnaire dossier
Fix test for user pagination
2015-11-26 15:47:31 +01:00
Xavier J
9f34d20475 Add search feature for gestionnaire backoffice 2015-11-17 18:21:03 +01:00
Xavier J
19b76203c4 Creation three tabs for gestionnaire back office 2015-11-13 15:23:21 +01:00
Xavier J
591f52f654 Dynamic display for champs on description and recapitulative page 2015-11-04 11:14:07 +01:00
Xavier J
8db705ec94 Revu de code OK 2015-11-02 16:36:52 +01:00
Xavier J
c09fe8e7f6 REFACTOR: Change dossier state 'Processed' To 'Closed' 2015-11-02 15:00:28 +01:00
Xavier J
da8c166331 REFACTOR: Change dossier state 'Confirmed' To 'Validated' 2015-11-02 11:45:52 +01:00
Xavier J
d53c43a7b0 Ajout du bouton traité pour les gestionnaires 2015-10-09 12:05:07 +02:00