Files
danbooru/app/logical
evazion 853ddc7cda tag.rb: validate tag names.
Makes these tag names invalid when tagging posts:

* Blank names (e.g. ___).
* Non-ASCII characters (Japanese text).
* Non-printable characters (e.g. control characters < 0x20).
* Leading or trailing underscores, or consecutive underscores. Reason:
  `_foo__bar_` and `foo_bar` both render as `foo bar` in the tag list.
* Leading `-` or `~`, or '*' (-foo, ~foo, foo*bar). Previously
  these were silently stripped, but that meant tagging a post with e.g.
  `*-foo` tagged the post with the invalid tag `-foo`.
* Tag type prefixes (e.g. `character:character:hatsune_miku` no longer creates
  the literal tag `character:hatsune_miku`).
* Metatags (order:score, user:evazion, etc).
2017-02-08 23:30:23 -06:00
..
2016-11-07 10:48:04 -08:00
2016-12-02 13:21:56 -08:00
2014-02-28 16:40:11 -08:00
2014-05-23 14:15:45 -04:00
2017-01-03 16:02:36 -08:00
2013-04-09 15:31:49 -04:00
2017-02-02 00:53:56 -06:00
2015-12-28 12:26:20 -08:00
2013-04-14 18:22:25 -07:00
2015-02-15 12:23:53 -08:00
2015-09-23 12:57:17 -07:00
2017-01-03 15:04:47 -08:00