gregoirenovel
535f9004bf
Admins can delete the attestation template's logo
2018-09-24 10:15:22 +02:00
gregoirenovel
d649e29bb0
[ Fix #1979 ] Admins can delete the attestation template's signature
2018-09-24 10:15:02 +02:00
gregoirenovel
0c9628c180
Fix some files according the the .editorconfig rules
2018-09-20 16:23:09 +02:00
Paul Chavard
db1a93ab35
fix procédure -> démarche
2018-09-18 11:22:06 +02:00
Paul Chavard
3f6cc668a7
Implement check_availability route
2018-09-12 12:37:15 +02:00
Paul Chavard
23017f4b17
Show better lien information on procedure page
2018-09-07 11:21:07 +01:00
gregoirenovel
00ecae5f93
Procédure → Démarche
2018-09-05 15:46:24 +02:00
gregoirenovel
75ee41b7fa
[ Fix #2494 ] Improve deletion warning text
2018-08-31 15:41:51 +02:00
gregoirenovel
c015365057
Fix case typos
2018-08-30 14:23:45 +02:00
gregoirenovel
3662b82039
accompagnateur → instructeur
2018-08-29 23:09:08 +02:00
gregoirenovel
2d3b553e4d
Use enum to the fullest with TypeDeChamp.type_champs
2018-08-29 17:31:08 +02:00
gregoirenovel
6b1ab9b552
Remove a now useless facade
2018-08-28 15:38:39 +02:00
gregoirenovel
19789b6848
Remove the stats part of the procedure info page for admins
...
- the numbers are wrong (:termine state does not
exist)
- the chart does not work
2018-08-28 15:19:31 +02:00
Paul Chavard
b8ef5d823f
Fix modal close action
2018-08-28 12:18:43 +01:00
Paul Chavard
1af4b2aa6e
Fix transfer modal not opening
2018-08-23 11:22:03 +02:00
gregoirenovel
a86e3a3156
Don’t change a button’s text when disabled after click
2018-08-23 10:59:11 +02:00
Paul Chavard
e1f1827320
Replace typeahead with simpler autocomplete
2018-08-22 17:17:33 +02:00
Paul Chavard
b57c22cafe
Refactor publish dialog
2018-08-14 16:39:11 +02:00
Paul Chavard
ea68c75361
Use delegated events instead of local handlers
2018-08-13 08:34:10 +02:00
Paul Chavard
8bf5dedd80
Ruby helpers for js.erb responses
2018-08-13 08:34:10 +02:00
Paul Chavard
8625c9d0bc
Make right click work on procedure list links
2018-08-08 12:19:19 +02:00
Pierre de La Morinerie
f55f949b58
admin: disable fade on publish modal
...
It makes Capybara tests brittle.
2018-08-07 14:28:52 +02:00
Pierre de La Morinerie
0b474a5b32
admin: explain purpose of the /admin/gestionnaires page
2018-07-04 12:11:00 +02:00
Pierre de La Morinerie
b0a9e49549
procedures: group new_from_existing list by organization
...
As procedures are not grouped by Service (which are unique to an
administrator) but by organization, this allows procedures with the same
organization name to be displayed together.
2018-07-03 23:43:42 +02:00
Paul Chavard
d0a6957862
Remove old cerfa code
2018-06-28 15:16:20 +02:00
Frederic Merizen
15e8d8af05
[ #1421 ] Add linked dropown fields
2018-06-21 16:19:20 +02:00
Frederic Merizen
521aec6af9
[ #1568 ] Remove old previsualisation code
2018-06-19 12:42:46 +02:00
Pierre de La Morinerie
0bef35946f
procedure: make sentence shorter
...
Before: "Affectez des accompagnateurs à votre procédure.Affectez un
service à votre procédure.
After: "Affectez des accompagnateurs et un service à votre procédure."
2018-06-13 11:59:40 +02:00
Pierre de La Morinerie
367ac0dd5a
procedure: avoid tooltip being hidden by the navbar
2018-06-13 11:59:40 +02:00
Frederic Merizen
fd2fd83aac
Remove erroneous space in haml
2018-06-13 10:21:57 +02:00
Frederic Merizen
52bb40ab20
[ #1946 ] Show retention times in procedure administration summary
2018-06-01 17:35:04 +02:00
Frederic Merizen
648483ac76
[ #1946 ] Allow admins to edit data retention time
2018-06-01 16:46:39 +02:00
simon lehericey
18ad227df5
[ fix #1897 ] Procedure: can delete a deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
fa14db1cbf
Procedure: add deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
a96889310b
Procedure: add legal reference
2018-05-31 16:55:31 +02:00
Mathieu Magnin
cf36d7f1ed
[ Fix #1801 ] use the new string_to_html method
2018-05-24 18:05:41 +02:00
Frederic Merizen
678baaf362
Unroll loop with ifs
2018-05-22 18:35:23 +02:00
simon lehericey
928227a610
Procedure: remove now duplicate organisation and direction
2018-05-18 16:21:27 +02:00
simon lehericey
f2357acb27
Service: cannot published a procedure without a service
2018-05-18 16:21:26 +02:00
simon lehericey
abccdab6ab
Admin Procedure Show: simple cleaning
2018-05-18 16:21:26 +02:00
Frederic Merizen
26f9ec0122
[ Fix #1825 ] Also show previews for archived procedures
2018-05-09 18:28:41 +02:00
Frederic Merizen
4308535450
[ Fix #1833 ] Remove library button from new procedure from scratch screen
2018-05-09 16:16:43 +02:00
Frederic Merizen
93e068421b
[ #1833 ] New procedure button defaults to procedure library
2018-05-09 16:16:09 +02:00
Frederic Merizen
5fd5c3ee5b
[ #1833 ] Add ‘create from scratch’ button to procedure library
2018-05-09 16:15:19 +02:00
gregoirenovel
09909b9293
[ Fix #1835 ] Transférer -> Envoyer une copie
2018-04-26 15:19:18 +02:00
simon lehericey
e5b5913d29
[ fix #1824 ] link preview button to preview page
2018-04-24 16:54:05 +02:00
Paul Chavard
45019ce75c
Use Flipflop instead of Feature
2018-04-18 16:51:21 +02:00
simon lehericey
7f788c4f06
[ fix #1826 ] Library: add contact link
2018-04-16 11:28:22 +02:00
simon lehericey
5667cfe747
[ fix #675 ] upload notice in DS
2018-04-12 10:44:58 +02:00
simon lehericey
0ab526de5a
[ fix #932 ] Let an adminstrateur upload a pj template
2018-04-09 18:19:24 +02:00
Paul Chavard
27592ae072
Add simple web hooks to procedures
2018-04-09 11:02:24 +02:00
Frederic Merizen
b27218c7c4
[ #1563 ] Display attestation / closed mail discrepancy alert in admin interface
...
- When changing emails
- When changing attestation
- As a safety net, on summary page
2018-04-06 10:18:56 +02:00
Frederic Merizen
a2ffc4357d
[ #1563 ] Generate a helpful alert on attestation / closed mail mismatch
2018-04-06 10:18:56 +02:00
Frederic Merizen
d825c3d586
[ Fix #1689 ] Only allow plain text for procedure descriptions
2018-03-29 10:52:37 +02:00
gregoirenovel
8bf09ac2d4
Do not center balises
2018-03-14 16:45:34 +01:00
gregoirenovel
3f92fe9755
[ Fix #1589 ] Keep all the balises’ spaces
2018-03-14 16:45:34 +01:00
Mathieu Magnin
109b48ad01
[ Fix #1573 ] Display multiples spaces from libelle in attestation tags
2018-03-07 17:22:43 +01:00
gregoirenovel
948a29aea2
Use link_to helper
2018-02-23 17:12:24 +01:00
gregoirenovel
08f364ccdc
Add constants
2018-02-23 17:12:24 +01:00
gregoirenovel
1b1460c191
Move a service to the gestionnaire model
2018-02-23 17:12:24 +01:00
gregoirenovel
93d8470321
Put the piece justificative champ behind a feature flag
2018-02-15 12:04:03 +01:00
Paul Chavard
52749713ab
Remove ChampPublic/ChampPrivate STI
2018-02-13 12:07:13 +01:00
Mathieu Magnin
50f35ee905
[ Fix #1296 ] Birthday field is optional in procedure
2018-02-07 15:57:48 +01:00
gregoirenovel
f306dd636e
Refactor some complex code
2018-01-30 16:56:49 +01:00
Paul Chavard
6a43248cb3
Fix CSS injection
2018-01-16 14:02:10 +01:00
gregoirenovel
7c34807f46
Don’t use unless
2018-01-12 11:32:43 +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
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
bf5e21d6de
[ Fix #1182 ] Add a “create new procedure from an existing one” feature
2018-01-08 14:55:07 +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
Mathieu Magnin
98ac496aa5
[ Fix #1100 ] Administrateur can renew his API Token
2017-12-26 18:30:36 +01:00
gregoirenovel
84b05a348e
[ Fix #525 ] Improve the wording of the attestation template footer label
2017-12-20 19:57:31 +01:00
gregoirenovel
731e1b6787
[ Fix #164 ] Make the organisme field mandatory
2017-11-29 10:36:22 +01:00
Simon Lehericey
92beb321a4
typo
2017-10-27 17:28:50 +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
gregoirenovel
c464a6faba
[ Fix #168 ] Sort published and archived procedures by publication_date
2017-07-18 13:44:03 +02:00
gregoirenovel
32e0fa9f69
Add Procedure#publiee_ou_archivee?
2017-07-13 17:01:39 +02:00
gregoirenovel
2b7a148540
Remove Procedure#published?
2017-07-13 17:01:38 +02:00
gregoirenovel
36bee67085
Add Procedure#brouillon?
2017-07-13 17:01:38 +02:00
gregoirenovel
9a7d5d1833
Add Procedure#publiee?
2017-07-13 15:44:18 +02:00
gregoirenovel
cfec05506a
Rename Procedure#archived? -> #archivee?
2017-07-13 15:32:13 +02:00
Simon Lehericey
4ae9d8ef0d
[ Fix #592 ] Convert html_safe to sanitize
2017-07-13 10:14:16 +02:00
Mathieu Magnin
70c7c42e1f
[ Fix #430 ] Add delete procedure button
2017-07-04 14:34:26 +02:00
Simon Lehericey
48e881f9ec
[ FIX #491 ] Attestation: allow administrateur to change attestation template on a published procedure
2017-07-04 13:59:54 +02:00
Simon Lehericey
8aaf7df579
AttestationTemplate edit: id.nil => new_record?
2017-07-04 13:59:54 +02:00
gregoirenovel
38400cc2ce
Fix a capitalization mistake
2017-07-03 10:19:45 +02:00
Simon Lehericey
3d99407495
[ Fix #499 ] Attestation: add maxlength to footer
2017-06-27 13:35:01 +02:00
Simon Lehericey
81984d2883
Attestation: remove misleading footer placeholder
2017-06-27 13:34:49 +02:00
Simon Lehericey
c16c19f8e6
[ Fix #499 ] Attestation: footer is now an text_field instead of a text_area
2017-06-27 13:14:47 +02:00
gregoirenovel
96dd853dbb
[ Fix #396 ] Don’t submit the publish form after a transfer
2017-06-26 10:51:28 +02:00
gregoirenovel
ed51c77895
Correctly display the success message when transfer was successful
2017-06-26 10:51:28 +02:00
gregoirenovel
12f61b490a
Reformat transfer.js.erb
2017-06-26 10:51:28 +02:00
gregoirenovel
8d9ca18406
Improve spacing in _model_transfer.html.haml
2017-06-26 10:51:27 +02:00
gregoirenovel
0e3f431d7d
Fix indentation in _modal_transfer.html.haml
2017-06-26 10:51:26 +02:00
gregoirenovel
bd2fcebf95
Change a silly title
2017-06-26 10:51:26 +02:00