Commit Graph

14 Commits

Author SHA1 Message Date
evazion
6b066f2cab Fix #4275: Unable to update "banned artist" entries.
Allow all users to view and edit artist entries and wiki pages belonging
to banned artists. There was little need to hide these pages from
Members, it was mainly to appease artists who didn't like us even
linking to their sites.

These restrictions also had multiple flaws:

* Banned artist information was still visible in the API.
* It was still possible to edit banned artists using the API.
* It was still possible for unprivileged users to revert banned
  artist entries or wiki pages to previous versions.
* The restrictions were inconsistent: in various places they were
  either Member-only, Gold-only, or Builder-only.
2020-01-31 02:43:08 -06:00
evazion
960e5d4ae0 views: factor out sidebar layout template.
* Factor out common sidebar layout template.
* Convert wiki pages and posts to use this template.
* Add data-layout attribute to <body> element indicating the current layout.
2019-09-28 17:50:10 -05:00
evazion
f151285038 views: standardize page titles. 2019-08-24 22:55:35 -05:00
r888888888
b8f14b6fee hide more pages for banned artists #2132 2016-01-27 17:06:13 -08:00
小太
1a03a86592 Kill trailing whitespace in erb files 2013-03-19 23:11:58 +11:00
albert
710d584ec6 style fixes 2011-11-15 18:08:01 -05:00
albert
34ae712be0 fixed titles 2011-10-23 16:55:57 -04:00
albert
e8808987d5 unified js for dtext previews 2011-10-20 18:50:16 -04:00
albert
5cf122c2e0 changes 2011-06-29 12:47:40 -04:00
albert
4717726217 wiki page, comment views 2011-03-13 03:54:32 -04:00
albert
851d1fa26d style tweaks 2011-03-11 16:35:53 -05:00
albert
ccb2def7d7 implemented javascripts for wiki pages 2011-03-11 16:29:24 -05:00
albert
9e7efbd295 stubbed in view code from old danbooru; only janitors can lock a wiki page 2011-02-28 14:18:39 -05:00
albert
099c75f9b6 wiki page func test 2011-02-02 16:11:26 -05:00