Commit graph

41 commits

Author SHA1 Message Date
Frederic Merizen
63fc0b3bc3 [Fix #2584] Move Field related code to a service 2018-09-18 13:49:34 +02:00
Frederic Merizen
a94397a70c [Fix #2562] Make dossier filters case insensitive 2018-09-13 10:29:22 +02:00
gregoirenovel
00ecae5f93 Procédure → Démarche 2018-09-05 15:46:24 +02:00
gregoirenovel
81ac3d7c6b Bump development gems
- brakeman (4.3.0 → 4.3.1)
- rubocop (0.56.0 → 0.58.1)
2018-07-17 17:33:28 +02:00
Paul Chavard
edc8e24ddd Update gestionnaire filters 2018-05-24 17:54:51 +02:00
simon lehericey
6b422ceb7a [#1868] ProcedureController: rescue date parsing 2018-04-25 12:03:39 +02:00
Mathieu Magnin
621f8143bd [Fix #1654] Generate procedure export filename with libelle 2018-03-19 11:16:05 +01:00
gregoirenovel
0a9f442260 Enable some Rails cops 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
gregoirenovel
ac6ba40598 Unscope the procedures on Gestionnaire and add #visible_procedures 2018-02-23 17:12:58 +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
gregoirenovel
142241dd16 Remove notifications 2018-02-06 14:07:20 +01:00
gregoirenovel
2814fcf27e Enable the Layout/SpaceAroundKeyword cop 2018-01-18 10:53:34 +01:00
gregoirenovel
73dd58b6cd Enable the Layout/MultilineMethodCallIndentation cop 2018-01-15 22:33:13 +01:00
gregoirenovel
d6b093fd2c Do not add filters with blank values 2017-12-06 17:26:45 +01:00
gregoirenovel
8e07ade8b2 Correctly filter date columns 2017-12-06 17:26:45 +01:00
gregoirenovel
5361e4e1e9 [Fix #871] Add the date at the end of exported files 2017-11-22 17:27:57 +01:00
Simon Lehericey
2b146a6d62 Notifications: show dossiers with notification in first place 2017-11-20 17:22:52 +01:00
gregoirenovel
8281a6474e Force a single query for some includes
As explained in
https://blog.bigbinary.com/2013/07/01/preload-vs-eager-load-vs-joins-vs-includes.html

Otherwise the `where` fails because the `includes`
is done using another query
2017-10-10 18:33:20 +02:00
gregoirenovel
31b9f8950e Increase the number of dossiers on the procedure page
Plus remove some trailing whitespace
2017-10-05 13:28:24 +02:00
gregoirenovel
0705efde30 Add filtering to the dossiers table 2017-10-02 17:45:22 +02:00
gregoirenovel
801318b053 Memoize statut 2017-10-02 17:45:22 +02:00
gregoirenovel
3df9356021 Add field sort to the dossiers table 2017-10-02 17:45:22 +02:00
gregoirenovel
e1bdbec815 Allow the customization of the dossiers table 2017-10-02 17:45:22 +02:00
Mathieu Magnin
2737a8d529 Add pagination on dossiers list 2017-09-22 10:19:25 +02:00
Simon Lehericey
112e3a5793 Procedures: redirect to avis if suitable 2017-09-20 15:42:26 +02:00
Simon Lehericey
fbd16b8c75 Procedure show: add notification icon 2017-09-06 11:11:47 +02:00
Simon Lehericey
3e93d21bf5 Procedure Index: add notification icon 2017-09-06 11:11:47 +02:00
Mathieu Magnin
1e61f1388b Move layout configuration on gestionnaire controller 2017-09-06 11:11:41 +02:00
Mathieu Magnin
f3f2b6acc2 Avoid n+1 because of gestionnaire.follows?(dossier) 2017-09-06 11:11:32 +02:00
Mathieu Magnin
d780ab1c90 Avoid n+1 because of user.email 2017-09-06 11:11:32 +02:00
gregoirenovel
b4a1f4f248 Remove a useless scope call
A gestionnaire’s dossiers are already filtered so
that the brouillon ones do not appear
2017-09-06 11:11:27 +02:00
gregoirenovel
091fa1d099 Order a Gestionnaire’s procedures
First display the procédures publiées, sorted
by publication date, and then the procédures
archivées, sorted by archiving date
2017-09-06 11:11:27 +02:00
Mathieu Magnin
5b417889b2 Use same counters on procedures index than show 2017-09-06 11:11:14 +02:00
Simon Lehericey
ad1a11ab52 NewDesign: procedure show add dossier table 2017-09-06 11:11:11 +02:00
Simon Lehericey
b48af51ee9 NewDesign: procedure show only header 2017-09-06 11:11:11 +02:00
Mathieu Magnin
622a170793 Add and design new #index on procedures for gestionnaires 2017-09-06 11:11:07 +02:00
Simon Lehericey
94f8fb748f New Routes: add new_gestionnaire/procedures_controller 2017-07-03 14:09:14 +02:00