Javi Martín
8b73cfc019
Sanitize annotation context before displaying it
...
There's a case where we would face a Cross-Site Scripting attack. An
attacker could use the browser's developer tools to add (on their
browser) a `<code>` tag with a `<script>` tag inside in the text of the
draft version. After doing so, commenting on that text would result in
the attacker's JavaScript being executed.
2019-10-08 18:46:20 +02:00
Javi Martín
911fe4e481
Simplify calls to render partial
...
We're also adding a bit of consistency, since most of our calls to
partial rendering omit the `partial` and `locals` keys.
2019-09-04 15:00:36 +02:00
Javi Martín
4c35df4812
Use double quotes inside string interpolation
2019-03-25 14:58:54 +01:00
Julian Herrero
2b83be1c7c
Use double quotes in app/views/legislation
2019-03-19 12:16:50 +01:00
decabeza
6f4f161076
Adds help gif on legislation processes with texts
2018-07-05 18:10:06 +02:00
decabeza
ee7ca37d18
Removes unused css
2018-03-07 17:18:27 +01:00
Bertocq
553348eaad
Convert phase to symbol before comparision for active dates
2017-09-05 16:18:36 +02:00
decabeza
827e4702a9
removes duplicated social share partial on legislation views
2017-08-16 13:40:46 +02:00
Bertocq
6c386ffd95
Make comments count display optional using a variable on comments comment_tree partial
2017-06-26 19:23:49 +02:00
decabeza
28e17b870c
unifies styles and html code
2017-05-24 13:03:25 +02:00
Amaia Castro
3ab6adbb1b
Refactor share buttons partial to use gem helper
2017-03-25 13:54:33 +01:00
Fernando Blat
16c365ca1d
Improve social networks share text
2017-02-16 16:13:31 +01:00
Martín González
9962202b0d
Invert share buttons layout
2017-02-15 19:47:58 +01:00
Amaia Castro
2efa72ddd5
Merge branch 'legislation-module-stable' into 107-social-share-for-annotations
2017-02-14 18:14:00 +01:00
Martín González
af52fb5670
Improve social share buttons position for the annotations index and specific annotations
2017-02-14 17:11:02 +01:00
Amaia Castro
8e741a6b4f
Refactor and use first node start + quote + last node end for the context
2017-02-13 09:53:36 +01:00
Amaia Castro
b298fb7316
Show annotation context in annotation page
...
Only works with quotes within the same html node for now
2017-02-10 15:35:42 +01:00
Amaia Castro
d656de680d
Social share buttons for annotation
2017-02-09 15:32:42 +01:00
Martín González
076c5d2784
Use the full width key dates html where is possible, fix svg margin
2017-01-18 13:05:16 +01:00
Amaia Castro
53e9837db3
Change texts for legislation questions comments
2017-01-17 15:42:42 +01:00
Amaia Castro
f974883556
Refactor legislation comments partials
2017-01-11 16:27:22 +01:00
Amaia Castro
f43f13e826
Create first comment automatically from the annotation
2017-01-09 17:03:00 +01:00
Amaia Castro
b8f034d896
Legislation annotations/comments page
2017-01-09 09:29:15 +01:00