Hyozen1
547af83af8
Add background-clip and -webkit complementar properties to notes
2022-06-01 18:55:18 -03:00
NamelessContributor
c909555da8
Notes: allow using -webkit-text-stroke and related
...
These properties are widely supported: https://caniuse.com/text-stroke
Currently some notes use multiple text-shadows as a workaround:
https://danbooru.donmai.us/notes?search[body_matches]=text-shadow
2022-05-14 07:24:03 +02:00
evazion
a7dc05ce63
Enable frozen string literals.
...
Make all string literals immutable by default.
2021-12-14 21:33:27 -06:00
evazion
ed302fdf4d
docs: add documentation for various classes in app/logical.
2021-06-23 06:23:29 -05:00
evazion
07e23204b6
rubocop: fix various Rubocop warnings.
2021-06-17 04:17:53 -05:00
evazion
9a3e003272
notes: remove support for disused css properties.
...
Remove the follow properties:
* clear (wasn't used)
* list-style-* (wasn't used)
* outline (only used a few times; can be achieved with borders or
box-shadow).
* mask (not well-supported in browsers; only used a few times for
effects that could be achieved in other ways).
* text-decoration-* (use the shorthand property)
* text-transform (can be achieved in other ways)
2021-02-22 02:38:26 -06:00
BrokenEagle
a4ab165de7
Add alignment attributes for embedded notes
...
- justify-conent is for L-R alignment
- align-items is for T-B alignment
2020-04-04 02:10:33 +00:00
evazion
07a0b0b175
config: eliminate hostnames config option.
...
Eliminate the Danbooru.config.hostnames option. It was only used for
rewriting links in notes. Just using the main hostname is good enough,
there aren't any notes still using any of Danbooru's alternate domain
names.
2020-01-11 00:59:25 -06:00
evazion
309821bf73
rubocop: fix various style issues.
2019-12-22 21:23:37 -06:00
evazion
07116d1445
Mark links in notes and fetch source data box as external.
2019-10-13 18:53:46 -05:00
evazion
ff62b63bab
notes: whitelist the 'mask' css property.
...
ref: https://danbooru.donmai.us/forum_topics/9127?page=266#forum_post_153530
2018-12-29 12:08:02 -06:00
evazion
1fe6a5fc65
Fix #3225 : Exception in NoteSanitizer#relativize_links.
2017-07-19 21:13:04 -05:00
evazion
8c7c2a06e5
notes: convert internal links to Danbooru to relative urls.
2017-06-17 11:57:32 -05:00
evazion
91ed793120
notes: mark links as nofollow.
2017-06-15 22:58:22 -05:00
evazion
845b278b1e
notes: make allowed css properties explicit.
2017-06-15 22:58:22 -05:00
evazion
9570bf026c
notes: allow <rtc>, <sub>, <sup>, <hr>, <wbr> tags.
2017-06-15 22:58:22 -05:00
evazion
869ccad6ba
notes: allow all elements to have style/title attributes.
2017-06-15 22:58:14 -05:00
evazion
990f173b3d
notes: move sanitization from d_text.rb to note_sanitizer.rb.
2017-06-15 22:58:13 -05:00