Commit graph

15252 commits

Author SHA1 Message Date
gregoirenovel
f8a6765367 [Fix #2540] Allow an instructeur to send a dossier to several instructeurs 2018-09-11 18:00:24 +02:00
gregoirenovel
523edac4c5 Scope the select2 config call 2018-09-11 18:00:23 +02:00
Pierre de La Morinerie
f555c44f15
Merge pull request #2546 from betagouv/improve-footer
Improve footer
2018-09-11 17:58:09 +02:00
gregoirenovel
fc470e9c71 Fix some spacing issues in the footer 2018-09-11 16:30:54 +02:00
gregoirenovel
04c5667b92 For footer columns, keep the same bottom margin at any width 2018-09-11 16:30:15 +02:00
gregoirenovel
61c41fa9cb Lower the footer inner padding 2018-09-11 16:28:08 +02:00
gregoirenovel
1def444d0f Do not add an empty ul to the DOM 2018-09-11 16:02:09 +02:00
gregoirenovel
8ab5dc95db Merge branch 'dev' 2018-09-11 14:44:25 +02:00
Paul Chavard
c5990bbb13
Merge pull request #2530 from tchak/refactor-publish
Refactor publish
2018-09-11 10:51:35 +02:00
Paul Chavard
631df3197a Add uniqueness validation to procedure path 2018-09-11 10:38:31 +02:00
Paul Chavard
2770f1db82 Archive only when path changes owner 2018-09-11 10:38:31 +02:00
Paul Chavard
be51802983 Add reopen aasm event 2018-09-11 10:38:31 +02:00
Paul Chavard
5a794cbb08 Use Procedure#publish_or_reopen! 2018-09-11 10:38:31 +02:00
Paul Chavard
ec3a0dc4cf Use Procedure#publish_with_path! 2018-09-11 10:38:31 +02:00
Paul Chavard
b3f8b68b99 Add Procedure#publish_with_path! 2018-09-11 10:38:31 +02:00
Paul Chavard
e6485603c4 Add ProcedurePath#valid? 2018-09-11 10:38:31 +02:00
Paul Chavard
f2f3c54147 Procedure: update -> update! 2018-09-11 10:38:31 +02:00
Paul Chavard
7a322266fa Make aasm related methods private 2018-09-11 10:38:31 +02:00
Paul Chavard
de908ef4be Extract ProcedurePath#find_by_path 2018-09-11 10:38:31 +02:00
gregoirenovel
9a216ae705
Merge pull request #2539 from betagouv/fix-stats
Improve the ratings stats
2018-09-11 10:26:08 +02:00
gregoirenovel
50019e5317 Show user satisfaction in percentages 2018-09-11 10:17:40 +02:00
gregoirenovel
26e0ada3d4 Improve the ratings stats
Make sure that for each data point, we have do not
have any partial data (e.g. a week that hasn’t
finished yet)
2018-09-11 10:17:40 +02:00
gregoirenovel
02a8693f7b
Merge pull request #2542 from betagouv/fix-feedbacks
FeedbacksController should inherit from UserController
2018-09-11 10:17:31 +02:00
gregoirenovel
05d2988f61 Format FeedbackController like the other controllers 2018-09-11 10:10:43 +02:00
gregoirenovel
d504af3216 FeedbacksController should inherit from UserController 2018-09-11 10:10:43 +02:00
Pierre de La Morinerie
c37e672112
Merge pull request #2538 from betagouv/improve-messagerie-css
Improve messagerie CSS
2018-09-11 10:06:36 +02:00
gregoirenovel
ce458764f1 from-me is only relevant when the message is in a messages-list 2018-09-08 10:12:28 +02:00
gregoirenovel
6a475981e3 The relative message width is only relevant in messages-list 2018-09-08 10:12:28 +02:00
gregoirenovel
afae82c5ba Remove a useless import in messagerie.scss 2018-09-08 10:12:28 +02:00
gregoirenovel
7482b859d5 Extract the message class into its own file 2018-09-08 10:12:28 +02:00
gregoirenovel
a4367c0809 Extract some more CSS classes from .messagerie to .messagge 2018-09-08 10:12:28 +02:00
gregoirenovel
94e5f856d3 Extract some CSS in a .message class 2018-09-08 10:12:28 +02:00
gregoirenovel
e2091fabdf Unscope .messages-list 2018-09-08 10:12:28 +02:00
gregoirenovel
5b7213816e
Merge pull request #2537 from tchak/dossier-link
Refactor dossier_link champ
2018-09-08 10:12:06 +02:00
Paul Chavard
b63038faca Allow administrateur to try dossier info on aperçu page 2018-09-07 19:41:34 +01:00
Paul Chavard
f3333595a0 Drop text_summary endpoint 2018-09-07 19:41:34 +01:00
Paul Chavard
212dee1565 Drop unused js 2018-09-07 19:41:33 +01:00
Paul Chavard
c49db4b5a4 Add a champs/dossier_link endpoint and use it to fetch dossier info 2018-09-07 19:41:33 +01:00
Paul Chavard
e2a2748e79 Expose authenticated_logged_user! method 2018-09-07 17:11:19 +01:00
Paul Chavard
7e94f7778a Disable csrf forgery protection in test environement 2018-09-07 17:11:19 +01:00
gregoirenovel
98a3ce038b Merge branch 'dev' 2018-09-07 12:23:54 +02:00
gregoirenovel
9c9e4b096d
Merge pull request #2528 from tchak/instructeur-published-drafts
Instructeur published drafts and better info on show page
2018-09-07 12:23:27 +02:00
Paul Chavard
5dadaa1a8d Show brouillon tag on procedure names in user and instructeur lists 2018-09-07 11:21:50 +01:00
Paul Chavard
23017f4b17 Show better lien information on procedure page 2018-09-07 11:21:07 +01:00
Paul Chavard
23170f54c0 Instructeur should see published drafts 2018-09-07 11:20:16 +01:00
gregoirenovel
eb25c7b22d
Merge pull request #2531 from betagouv/ameliorations-messagerie
Améliorations à la messagerie
2018-09-07 12:03:55 +02:00
Pierre de La Morinerie
1da0321c26 messagerie: never display full sender email
See #2307
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
353ab812fc messagerie: fix 'Invité' label in message sender 2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
211674435e messagerie: better format message dates 2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
fe13871380 messagerie: add explanation for usagers 2018-09-07 12:02:26 +02:00