Commit graph

1981 commits

Author SHA1 Message Date
Simon Lehericey
c9d4baa71b Improve the styling of the Demande tab 2017-10-17 10:14:56 +02:00
Simon Lehericey
12223c21f1 [Ref #832] Improve the display of rich text in the Demande tab 2017-10-17 10:14:56 +02:00
Simon Lehericey
267591f27e [Fix #854] Give a length to libellé cells 2017-10-17 10:14:56 +02:00
gregoirenovel
fa2ee4797b Don’t use an i tag for icons 2017-10-17 10:02:28 +02:00
gregoirenovel
67f2d6599e Add some more forgotten changes in #841 2017-10-17 10:01:26 +02:00
gregoirenovel
e3123ac320 [Fix #849] Fix the display of icons in buttons
Some changes were forgotten in #841
2017-10-17 10:01:26 +02:00
gregoirenovel
e22014c0d5 Use underscores instead of dashes in filenames 2017-10-17 09:58:40 +02:00
Simon Lehericey
5257d20ba0 [fix #845] Attestation: affiche les dates au format français 2017-10-16 18:54:19 +02:00
gregoirenovel
8ec4ffde27 In vertical tables, invert the bold styling
the label is now in bold, and the value in a
normal weight:
- it is more usual
- it allows the value to contain bold styling
2017-10-16 10:59:09 +02:00
Simon Lehericey
741167abec [fix #832] sanitize user input 2017-10-16 10:49:54 +02:00
Simon Lehericey
4fab477b63 Style: scope icon style 2017-10-16 10:29:33 +02:00
gregoirenovel
316d8e09b5 Allow accompagnateurs to print a Dossier 2017-10-16 09:33:58 +02:00
Mathieu Magnin
0f945e2fea Simplify mailer parameters to be serializable (even if mail_template.id is nil) 2017-10-13 21:27:17 +02:00
Mathieu Magnin
3ba5de88b6 [Fix #839] Send notification email in async to avoid sending same email to different users 2017-10-13 17:41:02 +02:00
Simon Lehericey
965c9f9bf4 Header: better display 2017-10-12 09:10:22 +02:00
Simon Lehericey
6f4ddb9e3e [fix #728] Reduce flash error size to avoid cookies overflow 2017-10-12 09:02:54 +02:00
gregoirenovel
b2f63f7f38 Delete redis and actioncable 2017-10-12 07:21:02 +02:00
gregoirenovel
ab625093d7 [Fix #802] Make the procedure’s stats clickable
They redirect directly to the right tabs

See http://kizu.ru/en/fun/nested-links/
for the dirty trick
2017-10-11 17:55:57 +02:00
Simon Lehericey
6a77dff916 [fix #811]OpenStreetMap: use openstreetmap.org to provide the tiles 2017-10-11 15:13:02 +02:00
gregoirenovel
fd08bb8c57 Eager-load data for downloadable dossiers
So that the export is faster
2017-10-11 12:38:00 +02: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
Mathieu Magnin
c5487657db Create a Job that receive automatically each new dossier from a specific procedure 2017-10-06 17:49:31 +02:00
Mathieu Magnin
5eff915b9d Add initiated_at to DossiersSerializer 2017-10-06 17:49:06 +02:00
Mathieu Magnin
17ce3885fd Force commentaire order to avoid tests to fail randomly 2017-10-06 11:04:09 +02:00
gregoirenovel
c58a7abbd1 Capitalize the buttons’ labels 2017-10-06 10:49:38 +02:00
gregoirenovel
6daeac8a18 Invert the buttons order in the Dossier header 2017-10-06 10:33:36 +02:00
gregoirenovel
9466e6e0da Make the hover style match the active style 2017-10-06 10:33:04 +02:00
gregoirenovel
fb769f4362 Improve the header navigation style
- The underline only underlines the text, not
  the horizontal padding

- The underline does not overlap with the grey
  border
2017-10-06 10:33:04 +02:00
Simon Lehericey
e20d403b20 DossierController: a archived dossier is not followed 2017-10-05 16:59:26 +02:00
Simon Lehericey
19b3416361 Gestionnaire: add unfollow method 2017-10-05 16:59:26 +02:00
Simon Lehericey
01da457ad0 DossierController: a dossier commented is followed 2017-10-05 16:59:26 +02:00
gregoirenovel
3bedb76701 [Fix #791] Fix a typo preventing to download the Excel file 2017-10-05 16:53:57 +02:00
Simon Lehericey
c602efee18 Gestionnaire Legacy UI: fix nouveaux dossier list filter 2017-10-05 15:58:52 +02:00
gregoirenovel
044e0e69b8 Normalize the capitalisation of tab names in the Accompagnateur header 2017-10-05 15:48:18 +02:00
gregoirenovel
002ccf3552 In the Avis header, the Instruction tab is now Avis 2017-10-05 15:47:29 +02:00
gregoirenovel
0006d42874 Move the jobs logging handling in ApplicationJob 2017-10-05 15:42:48 +02:00
gregoirenovel
51f57d983e Use ActiveJob 2017-10-05 15:42:48 +02:00
gregoirenovel
a611cace5f Do not allow to filter by explication fields 2017-10-05 14:46:09 +02:00
gregoirenovel
c586474a45 Do not show explication fields to gestionnaires 2017-10-05 14:46:09 +02:00
Sylvain
8d7450da20 Fix special chars on homepage
Deux 


LSEP apparaissent sur la home (Chrome, Windows, capture d'écran). Je les ai supprimé du fichier où ils apparaissent.
2017-10-05 13:45:05 +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
88ad986143 Remove the ordering from the dossier scopes 2017-10-02 17:45:22 +02:00
gregoirenovel
b1cfd7e1bc Extract the folders table header field into a partial 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
gregoirenovel
7036f9778b Add ProcedurePresentation 2017-10-02 17:03:30 +02:00
Simon Lehericey
c049957bbe Add disable_with on annotations_privees and avis 2017-09-29 17:16:32 +02:00
Simon Lehericey
69e5da1854 Avis Old UI: fix a path that have moved 2017-09-28 12:37:56 +02:00
Mathieu Magnin
e753c67ad6 Change WeeklyOverviewWorker for delayed_job 2017-09-27 16:47:32 +02:00
Mathieu Magnin
fbad15bc84 Change AutoArchiveProcedureWorker for delayed_job 2017-09-27 16:47:32 +02:00
Simon Lehericey
2b760c85c4 [Fix #763] Add annotations_privees to buggy annotation system 2017-09-27 15:08:34 +02:00
Simon Lehericey
f2e1480c73 Notifications: add annotations_privees 2017-09-27 12:16:33 +02:00
Simon Lehericey
04d1e0f0e8 Notification: instruction -> avis 2017-09-27 12:16:33 +02:00
Simon Lehericey
f5a227fa92 [Fix #762] move dossier instruction -> dossier annotations_privees 2017-09-27 12:16:33 +02:00
Simon Lehericey
a421f0257e [Fix #762] split annotations and avis 2017-09-27 12:08:55 +02:00
Simon Lehericey
fb5472d3f6 Dossier: remove a_instruire scope
As it s a duplication of en_instruction
2017-09-26 14:42:54 +02:00
Simon Lehericey
1cfeb10ce9 [Fix #503] Dossier: remove updated 2017-09-26 14:42:54 +02:00
Simon Lehericey
633b55aca0 [Fix #503] Dossier: remove replied 2017-09-26 14:42:54 +02:00
Simon Lehericey
030a11d98c [Fix #503] Dossier: remove unused ouvert state 2017-09-26 14:42:54 +02:00
Simon Lehericey
2eca14a731 DossierListGestionnaire: change a_traiter filter from ouvert to nouveau 2017-09-26 14:42:54 +02:00
Simon Lehericey
73357c5144 [Fix #503] Dossier: Remove waiting for gestionnaire scope 2017-09-26 14:42:54 +02:00
Simon Lehericey
460cd3e237 [Fix #503] Dossier: Remove waiting for user scope 2017-09-26 14:42:54 +02:00
Simon Lehericey
53f0a16186 BackofficeAvisController: make new avis confidentiel by default 2017-09-22 17:58:16 +02:00
Mathieu Magnin
45cf26e855 If type de champ has no dropdownlist do not crash, (sentry issue: https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1833/) 2017-09-22 14:16:00 +02:00
Mathieu Magnin
64f4bcf257 Fix if gestionnaire is nil (sentry issue : https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1865/) 2017-09-22 11:19:19 +02:00
Mathieu Magnin
356c16b1bc Hide crisp default button, to avoid usagers to spam us 2017-09-22 10:29:49 +02:00
Mathieu Magnin
6a58873ba7 Add pagination on avis 2017-09-22 10:19:26 +02:00
Mathieu Magnin
3b3f4efa18 Design kaminari pagination 2017-09-22 10:19:25 +02:00
Mathieu Magnin
2737a8d529 Add pagination on dossiers list 2017-09-22 10:19:25 +02:00
Mathieu Magnin
fdb187368d When procedure libelle is too long, don't shrink logo or button 2017-09-21 17:11:57 +02:00
Mathieu Magnin
10b22b018e Header menu should be above every dropdown content 2017-09-21 11:42:49 +02:00
Simon Lehericey
1962037728 New Design: add motivation and attestation 2017-09-21 10:50:05 +02:00
Mathieu Magnin
a927affae6 Display avis counter on header 2017-09-21 10:41:53 +02:00
Mathieu Magnin
8dace5217a Share badges style in /patron 2017-09-21 10:23:22 +02:00
gregoirenovel
5b955677c2 [Fix #719] Unformat date and yes/no values in the form 2017-09-20 17:40:43 +02:00
Simon Lehericey
11e8feacce Style: extract class describing empty stuff 2017-09-20 17:17:05 +02:00
Simon Lehericey
bacff0a178 Avis: wording 2017-09-20 15:42:26 +02:00
Simon Lehericey
3c3e303a59 Dossier instruction: can ask for a confidentiel avis 2017-09-20 15:42:26 +02:00
Simon Lehericey
caaa3169e5 Avis instruction: can ask for a confidentiel avis 2017-09-20 15:42:26 +02:00
Simon Lehericey
4dd20c17d1 Avis: extract of avis list and add confidential icon 2017-09-20 15:42:26 +02:00
Simon Lehericey
f420cde531 Icons: add lock 2017-09-20 15:42:26 +02:00
Simon Lehericey
fdbf34f04b Avis instruction: only authorized avis 2017-09-20 15:42:26 +02:00
Simon Lehericey
112e3a5793 Procedures: redirect to avis if suitable 2017-09-20 15:42:26 +02:00
Simon Lehericey
3dfd77e914 Avis: add messagerie 2017-09-20 15:42:26 +02:00
Simon Lehericey
d1540c4a68 Avis: add avis link in header 2017-09-20 15:42:26 +02:00
Simon Lehericey
88c27479ee Avis: instruction 2017-09-20 15:42:26 +02:00
Simon Lehericey
a1f9f7aa75 Avis: show 2017-09-20 15:42:26 +02:00
Simon Lehericey
3cc09c98f9 Avis: index 2017-09-20 15:42:26 +02:00
Mathieu Magnin
bce3efc5d4 [Fix #735] Change nouveau state to en construction 2017-09-20 10:38:22 +02:00
Mathieu Magnin
ca82fba170 [Fix #738] TPS link on header should navigate on same UI 2017-09-19 17:53:38 +02:00
Mathieu Magnin
e33259a464 Add download dossiers button on procedure#show 2017-09-19 13:48:10 +02:00
Mathieu Magnin
35d7bac49e Style success flash messages 2017-09-15 10:56:14 +02:00
Mathieu Magnin
b477adf586 Improve procedure logo on procedure#index 2017-09-14 11:41:19 +02:00
Mathieu Magnin
fe7f772f96 Improve procedure logo on procedure#show 2017-09-14 11:41:19 +02:00
Mathieu Magnin
66549f93bb [Fix #727] Engagement champ should behave like checkbox when displayed 2017-09-14 10:57:40 +02:00
Mathieu Magnin
9c8061d5a4 Show pieces justificatives in messagerie 2017-09-13 16:27:08 +02:00
Mathieu Magnin
581da1921e Add a flash message after comment is created 2017-09-13 16:27:08 +02:00
Mathieu Magnin
bdf754c0d8 Automatically scroll to the last message 2017-09-13 16:27:08 +02:00