Commit graph

2925 commits

Author SHA1 Message Date
gregoirenovel
2529caa01e Merge pull request #856 from sgmap/unify-filenames
Use underscores instead of dashes in filenames
2017-10-17 10:00:43 +02:00
gregoirenovel
e22014c0d5 Use underscores instead of dashes in filenames 2017-10-17 09:58:40 +02:00
gregoirenovel
fb7ff848af Merge pull request #855 from sgmap/fix_attestation_date
[fix  #845] Attestation: affiche les dates au format français
2017-10-16 23:39:21 +02:00
Simon Lehericey
5257d20ba0 [fix #845] Attestation: affiche les dates au format français 2017-10-16 18:54:19 +02:00
gregoirenovel
45399602c4 Merge pull request #842 from sgmap/typo-fixes
In vertical tables, invert the bold styling
2017-10-16 11:09:53 +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
gregoirenovel
c1cfe594f1 Merge pull request #843 from sgmap/fix_textarea_display
[fix #832] sanitize user input
2017-10-16 10:58:40 +02:00
Simon Lehericey
741167abec [fix #832] sanitize user input 2017-10-16 10:49:54 +02:00
LeSim
9633a194e8 Merge pull request #841 from sgmap/scope_i_style
Style: scope icon style
2017-10-16 10:46:34 +02:00
Simon Lehericey
4fab477b63 Style: scope icon style 2017-10-16 10:29:33 +02:00
gregoirenovel
8e39db409d Merge pull request #798 from sgmap/print
Allow accompagnateurs to print a Dossier
2017-10-16 10:01:47 +02:00
gregoirenovel
316d8e09b5 Allow accompagnateurs to print a Dossier 2017-10-16 09:33:58 +02:00
LeSim
38c226a659 Merge pull request #840 from sgmap/fix_email_to_wrong_recipient
[Fix #839] Send notification email in async to avoid sending same ema…
2017-10-14 09:04:01 +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
LeSim
c2ab960ff2 Merge pull request #801 from sgmap/better_header
Better header display
2017-10-12 09:17:02 +02:00
Simon Lehericey
965c9f9bf4 Header: better display 2017-10-12 09:10:22 +02:00
LeSim
95236294e4 Merge pull request #826 from sgmap/less_cookie_overflow
[fix #728] Reduce flash error size to avoid cookies overflow
2017-10-12 09:08:53 +02:00
Simon Lehericey
6f4ddb9e3e [fix #728] Reduce flash error size to avoid cookies overflow 2017-10-12 09:02:54 +02:00
gregoirenovel
dbdb6639f3 Merge pull request #829 from sgmap/delete-redis
Delete redis and actioncable
2017-10-12 07:38:10 +02:00
gregoirenovel
b2f63f7f38 Delete redis and actioncable 2017-10-12 07:21:02 +02:00
gregoirenovel
8e6aa82095 Merge pull request #830 from sgmap/procedure-links
[Fix #802] Make the procedure’s stats clickable
2017-10-12 07:19:51 +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
gregoirenovel
5c3d2fd880 Merge pull request #821 from sgmap/openstreetmap
OpenStreetMap: use openstreetmap.org to provide the tiles
2017-10-11 15:23:08 +02:00
Simon Lehericey
6a77dff916 [fix #811]OpenStreetMap: use openstreetmap.org to provide the tiles 2017-10-11 15:13:02 +02:00
gregoirenovel
2f97efe12c Merge pull request #809 from sgmap/export-perf
Export perf
2017-10-11 12:47:08 +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
8125c7265a Merge pull request #815 from sgmap/fix-812
Force a single query for some includes
2017-10-11 12:35:23 +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
ef671efb88 Merge pull request #789 from sgmap/poc_declaratoire
Poc declaratoire
2017-10-06 17:56:10 +02:00
Mathieu Magnin
bf16ad7a36 Add command to create a procedure declaratoire POC 2017-10-06 17:49:31 +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
gregoirenovel
1ff7dfe264 Merge pull request #790 from sgmap/fix_tests_with_commentaires_order
Force commentaire order to avoid tests to fail randomly
2017-10-06 11:11:45 +02:00
Mathieu Magnin
17ce3885fd Force commentaire order to avoid tests to fail randomly 2017-10-06 11:04:09 +02:00
gregoirenovel
df699336d9 Merge pull request #794 from sgmap/button-fixes
Button fixes
2017-10-06 10:55:30 +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
caa4378544 Merge pull request #793 from sgmap/header-fixes
Header fixes
2017-10-06 10:33:15 +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
gregoirenovel
52cfc8b92b Merge pull request #796 from sgmap/fix-build
Fix build
2017-10-06 10:31:27 +02:00
gregoirenovel
90c84968ae Fix failing tests
Introduced by #787
2017-10-06 10:19:02 +02:00
gregoirenovel
b079aeed48 Run all the tests when everything is filtered
To balance the filtering introduced in #785
2017-10-06 10:18:42 +02:00
LeSim
82ae008d9c Merge pull request #759 from sgmap/update_follow_mechanisme
Update follow mechanisme
2017-10-05 17:02:35 +02:00
Simon Lehericey
ffe131322e Dossier: prove a hidden dossier is no more followed 2017-10-05 16:59:26 +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
LeSim
9904fa79a4 Merge pull request #792 from sgmap/fix-791
[Fix #791] Fix a typo preventing to download the Excel file
2017-10-05 16:57:47 +02:00