Simon Lehericey
202d0489a1
Whitelist: links from mail to admin
2018-01-10 17:18:44 +01:00
Mathieu Magnin
440c2b5dd1
[ Fix #1098 ] add administrate custom layout to add logout link
2018-01-10 13:44:02 +01:00
Mathieu Magnin
d8d2ecf515
[ Fix #1098 ] Administrateur dashboard
2018-01-10 13:44:02 +01:00
Mathieu Magnin
c7b3bb0733
[ Fix #1098 ] Custom TypesDePieceJustificativeField for Administrate
2018-01-10 13:44:01 +01:00
Mathieu Magnin
51b94e2f53
[ Fix #1098 ] Custom TypesDeChampCollectionField for Administrate
2018-01-10 13:44:01 +01:00
Mathieu Magnin
65f0859357
[ Fix #1098 ] Using custom views to remove edit and delete button from index
...
This can be reverted when Administrate gem will include this fix : https://github.com/thoughtbot/administrate/pull/597 (>=0.5.0)
2018-01-10 13:44:00 +01:00
Mathieu Magnin
d0de9b9ae2
[ Fix #1098 ] Add procedures dashboard
2018-01-10 13:44:00 +01:00
Simon Lehericey
1473577131
[ fix #1033 ] Procedure Edition: add position field to order the champs
2018-01-10 13:27:22 +01:00
Frederic Merizen
56749769d6
[ Fix #1186 ] Rename object to subject for mail templates
2018-01-09 16:00:31 +01:00
Frederic Merizen
7f040a5cf8
[ Fix #1037 ] Add date tags to mail / attestation templates
...
- date de dépôt
- date de passage en instruction
2018-01-09 11:30:54 +01:00
Frederic Merizen
935a38bde0
[ #1037 ] Introduce format-date
function
2018-01-09 11:30:54 +01:00
gregoirenovel
fdf240cf31
Improve the wording on the “New from existing” page
2018-01-09 11:07:26 +01:00
gregoirenovel
c77558aeed
Correctly handle errors when cloning someone else’s procedure
2018-01-09 11:07:26 +01:00
gregoirenovel
a1275af55f
Use the path helper in the new procedure template
2018-01-09 11:05:19 +01:00
gregoirenovel
093d853ecc
Fix some buggy error handling code in Admin::ProcedureController#clone
2018-01-09 11:05:19 +01:00
Frederic Merizen
63ca52792b
[ #1110 ] Remove legacy tags
2018-01-09 10:39:10 +01:00
simon lehericey
2bc61f9f3f
[ fix #1097 ] Accent insensitive search
2018-01-09 10:29:54 +01:00
simon lehericey
6a2b575027
[ fix #1097 ] Add whitelist mechanisme to procedure
2018-01-09 10:29:54 +01:00
simon lehericey
f1b7a03b63
[ fix #1097 ] Add job to monitor procedures
2018-01-09 10:29:54 +01:00
simon lehericey
d7d5d7eff4
Rename new_admin_mailer to administration_mailer
2018-01-09 10:29:54 +01:00
gregoirenovel
3f2876faf6
[ Fix #1129 ] Simplify the terms checkbox message
2018-01-08 17:14:51 +01:00
gregoirenovel
301eb411cd
Remove two opensimplif-related files
...
They seem unused
2018-01-08 17:03:41 +01:00
Mathieu Magnin
04e9f7be3e
[ Fix #1149 ] Move avis actions to new gestionnaire controller
2018-01-08 16:50:15 +01:00
gregoirenovel
bf5e21d6de
[ Fix #1182 ] Add a “create new procedure from an existing one” feature
2018-01-08 14:55:07 +01:00
gregoirenovel
27a8aba53e
Allow the cloning of another admininistrateur’s procedure
2018-01-08 14:55:07 +01:00
gregoirenovel
ec5b9c86ce
Add the admin argument to Procedure#clone
2018-01-08 14:55:07 +01:00
Frederic Merizen
75a3d0f3db
[ #1110 ] use modern rather than legacy tags in default mail templates
2018-01-05 17:42:25 +01:00
Frederic Merizen
deea23139f
[ #1110 ] Use TagsSubstitutionConcern as engine for mail template tags
2018-01-05 17:42:25 +01:00
Frederic Merizen
ab63f80080
[ #1110 ] Motivation and date de décision are only tags for terminé dossiers
2018-01-05 16:35:29 +01:00
Frederic Merizen
e985439416
[ #1110 ] Use tags method rather than ALLOWED_TAGS class constant
2018-01-05 12:48:07 +01:00
Frederic Merizen
b9a1f707f5
[ #1110 ] name => libelle in mail templates
...
to match attestation templates
2018-01-05 12:48:07 +01:00
Frederic Merizen
8d77cd58c6
[ #1110 ] Make linked procedure available to mail model
2018-01-05 12:48:07 +01:00
Frederic Merizen
ad0462f7ff
[ #1110 ] Port libellé procédure tag from mail templates
2018-01-05 11:51:08 +01:00
Frederic Merizen
ee109b24e3
[ #1110 ] Port date de décision tag from mail templates
2018-01-05 11:51:08 +01:00
Frederic Merizen
6a85094e1a
[ #1110 ] Make processed_at date available for attestation generation
2018-01-05 11:51:08 +01:00
Frederic Merizen
3dfc37826a
[ #1110 ] Extract document template concern from attestation template class
2018-01-05 10:57:27 +01:00
Frederic Merizen
b603af1ec7
[ #1110 ] Simplification: directly use symbols
2018-01-04 16:20:08 +01:00
Mathieu Magnin
62d8381ef7
Remove will paginate
2018-01-03 14:35:48 +01:00
Mathieu Magnin
98ac496aa5
[ Fix #1100 ] Administrateur can renew his API Token
2017-12-26 18:30:36 +01:00
Mathieu Magnin
fab00b1674
[ Fix #1096 ] Add administration email in new administrateur email
2017-12-22 11:10:25 +01:00
Mathieu Magnin
4990595430
[ Fix #1096 ] Sign in with GitHub page
2017-12-22 11:10:24 +01:00
Mathieu Magnin
7c0fdbc9f8
[ Fix #1096 ] Github Oauth
2017-12-22 11:10:24 +01:00
gregoirenovel
6191640262
[ Fix #1102 ] Add more information to the avis confidentiality warning
2017-12-22 10:32:54 +01:00
Frederic Merizen
2ae67a44f2
[ Fix #1143 ] Set motivation before generating attestation
2017-12-22 10:23:40 +01:00
Mathieu Magnin
642dc4ba21
[ Fix #1118 ] New ui is the default ui for gestionnaire
2017-12-21 23:20:59 +01:00
Mathieu Magnin
142f01d1bb
Revert "ProcedureController: remove unused destroy method" (Sentry : #2149 )
...
This reverts commit 6ca6669144
.
2017-12-21 18:33:42 +01:00
gregoirenovel
a55463c164
Remove the dossier number from the dossier processing popover
...
- One popup_title wasn’t written so that its
combination with the dossier number made sense
- The number is already visible on the page
- The number is not that important to make a
decision (the context it adds does not have
so much value)
2017-12-21 17:42:53 +01:00
gregoirenovel
85a01a4638
Fix typos and unify the wording for dossier processing
2017-12-21 17:42:53 +01:00
gregoirenovel
8c1eeb9f25
[ Fix #1011 ] Change the “Enregistrer un brouillon” button behaviour
...
And add the “Voir mes brouillons et dossiers”
button
2017-12-21 15:05:13 +01:00
gregoirenovel
84b05a348e
[ Fix #525 ] Improve the wording of the attestation template footer label
2017-12-20 19:57:31 +01:00
gregoirenovel
280d4af5ee
Forgot to replace some commentaires/messages paths in #1122
2017-12-19 16:50:31 +01:00
Mathieu Magnin
77c28144cb
Space out select labels
2017-12-19 13:55:02 +01:00
gregoirenovel
bab4b4711a
Merge pull request #1122 from sgmap/messagerie
...
Commentaire -> message
2017-12-19 13:12:40 +01:00
gregoirenovel
2b294e2a95
[ Fix #1123 ] Remove the beta banner in production
2017-12-19 11:48:21 +01:00
gregoirenovel
a28bf91356
Commentaire -> message
2017-12-18 14:20:41 +01:00
gregoirenovel
046e1cf8f3
Mutualize some code in an avis form partial
2017-12-15 18:54:55 +01:00
gregoirenovel
ec9758a946
Mutualize some code code into a messagerie partial
2017-12-15 18:37:44 +01:00
gregoirenovel
0c995b63cf
Move the avis list partial in the shared folder
2017-12-15 18:37:44 +01:00
gregoirenovel
e4f7f20698
Mutualize some accompagnateur show template code in a partial
2017-12-15 18:37:44 +01:00
gregoirenovel
60c845986c
Remove some unused locals in the champs partial inclusions
2017-12-15 18:37:44 +01:00
gregoirenovel
0a185fb76b
Remove useless ids in the new Avis templates
2017-12-15 18:37:44 +01:00
gregoirenovel
15098d9fa2
Forgot to change some paths after the renaming in #1114
2017-12-15 18:28:08 +01:00
LeSim
bd29b3c4f8
[ fix #1039 ] hide a procedure release its procedure_path
2017-12-15 17:57:34 +01:00
LeSim
6ca6669144
ProcedureController: remove unused destroy method
2017-12-15 17:57:34 +01:00
LeSim
899f2a91dd
DossierListFacades: remove useless total_new_dossier and new_dossier_number
2017-12-15 17:38:39 +01:00
Simon Lehericey
640a42d6cc
DossierListFacade: use en_construction scope
2017-12-15 17:37:30 +01:00
Simon Lehericey
40b9a77395
Dossier: replace nouveau scope by en_construction
2017-12-15 17:37:30 +01:00
Simon Lehericey
4be6cb9126
Dossier: delete state_nouveaux which is similar to en_construction
2017-12-15 17:37:30 +01:00
LeSim
7cc69de543
Dossier: remove useless state methods and const
2017-12-15 17:37:30 +01:00
gregoirenovel
4cb84e556d
Update a class’ name
2017-12-15 15:55:24 +01:00
gregoirenovel
be1ce69f47
Improve a partial’s and a partials folder's names
2017-12-15 15:55:24 +01:00
Simon Lehericey
9c354e18eb
[fix 363] Dossier: remove next_step!
2017-12-15 15:43:30 +01:00
Simon Lehericey
e78f5b3a2d
[fix 363] Dossier: remove next_step! role var
2017-12-15 15:43:30 +01:00
Simon Lehericey
201862d450
[fix 363] Dossier: remove next_step! action = initiate, role = user
2017-12-15 15:43:30 +01:00
Simon Lehericey
907db89371
[fix 363] Dossier: remove next_step! action = follow
2017-12-15 15:43:30 +01:00
Simon Lehericey
11c010859c
[fix 363] Dossier: remove next_step! action = update
2017-12-15 15:43:30 +01:00
Simon Lehericey
629cccbf27
[fix 363] Dossier: remove next_step! action = comment
2017-12-15 15:43:30 +01:00
gregoirenovel
fb392d87c9
Improve the style of the messagerie form
...
Reduce the space between the messages and the
new message textarea
2017-12-15 14:42:41 +01:00
Simon Lehericey
c83552f423
[ fix #504 ] Dossier: without_continuation -> sans_suite
2017-12-15 12:10:54 +01:00
Simon Lehericey
2be9b8d2ba
[ fix #504 ] Dossier: refused -> refuse
2017-12-15 12:10:54 +01:00
Simon Lehericey
a13256f73d
[ fix #504 ] Dossier: closed -> accepte
2017-12-15 12:10:54 +01:00
LeSim
3dda27b281
[ fix #504 ] Dossier: received -> en_instruction
2017-12-15 12:10:54 +01:00
Simon Lehericey
72bae2c374
[ fix #504 ] Dossier: draft -> brouillon
2017-12-15 11:52:09 +01:00
LeSim
56545933a9
[ fix #504 ] Dossier: initiated -> en_construction
...
The change must not impact the api
2017-12-15 11:52:09 +01:00
Mathieu Magnin
5c46db3b3d
Improve messagerie readability
2017-12-15 11:01:48 +01:00
gregoirenovel
9766a48d64
Mutualize a duplicated render instruction
2017-12-15 10:50:58 +01:00
Mathieu Magnin
3927e5ebf9
If answer is missing on avis, notify on avis tab
2017-12-15 10:43:36 +01:00
gregoirenovel
2def3ecd20
Annotations privées look odd in a card
2017-12-14 18:32:48 +01:00
gregoirenovel
95ad67a9ad
Add more spacing below the accompagnateur-header
...
So that the design feels less cramped
2017-12-14 18:32:48 +01:00
gregoirenovel
64f9f087a0
Add some spacing to tab paragraphs and lists
...
Otherwise the personnes impliquées tab looks odd
2017-12-14 18:32:48 +01:00
gregoirenovel
9ec61a6a73
Remove the featured styling on the annotations privées tab content
2017-12-14 18:32:48 +01:00
gregoirenovel
6cc81db025
Remove a useless title
...
We do not repeat the tab title in the tab
2017-12-14 18:32:48 +01:00
Frederic Merizen
94f1a1fa0c
[ Fix #866 ] Allow use of non-breaking spaces in balise in attestation template
2017-12-14 17:22:21 +00:00
gregoirenovel
c16ca6adb1
[ Fix #1041 ] Use the tab-title style for tab titles
2017-12-14 16:39:41 +01:00
gregoirenovel
4f0e6ae467
Use the tab-title class instead of an unknown class
2017-12-14 16:39:41 +01:00
gregoirenovel
191a5a1dee
Mutualize some CSS into a class
2017-12-14 16:39:41 +01:00
gregoirenovel
b2c8a32fcd
Rename accompagneur-title to page-title
2017-12-14 16:39:41 +01:00
gregoirenovel
13d8d4bfd4
Add missing locals to partials called in the print template
2017-12-14 15:47:40 +01:00
Mathieu Magnin
7d668315db
[ Fix #1016 ] display notifications for annotations privées
2017-12-14 13:57:20 +01:00
Mathieu Magnin
c3e7e39947
[ Fix #1016 ] display notifications for avis
2017-12-14 13:57:20 +01:00