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
815703a922
views: adjust more <meta> descriptions.
...
* Add <meta> descriptions to more pages.
* Adjust wiki/pool/forum pages to use an excerpt of the first paragraph.
2020-01-26 19:16:38 -06:00
evazion
6a984de3d5
views: refactor page titles.
...
Refactor `page_title` helper to automatically include site name.
2020-01-25 01:52:18 -06:00
evazion
f2269d39a7
wiki_pages/show: fix <meta> description tag.
...
Use an excerpt of the first paragraph rather than the entire page.
2020-01-12 20:13:44 -06:00
evazion
abacc8ebb1
views: convert helpers to partials.
2020-01-11 20:01:14 -06:00
evazion
02b9acac9e
wiki pages: replace show_or_new page with redirects.
...
* Redirect the show_or_new action to either the show page or the new
page. Don't use show_or_new to render nonexistent wikis; do that in the
regular show action instead.
* Make the show action return 404 for nonexistent wikis.
2019-11-04 15:35:47 -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
88f4a56890
Fix #3497 : Invalid DText denial of service attack.
2018-01-14 16:14:18 -06:00
evazion
7cb7c2fbab
Remove ruby DText implementation ( #3206 ).
2017-07-19 16:48:42 -05:00
r888888888
c4503e9971
Revert " #2234 comment out post previews"
...
This reverts commit 4281d1a48f .
2017-06-29 13:15:02 -07:00
Albert Yi
87bcc07fae
enable ragel parser for remaining dtext endpoints
2017-01-10 15:12:37 -08:00
Albert Yi
e78b7d2a8c
fixes #2716 : Wiki pages should be undeletable
2016-10-18 15:45:50 -07:00
r888888888
8bf743810c
show wiki page body
2016-05-13 10:38:12 -07:00
r888888888
4abd1b067f
debugging dtext
2016-04-28 14:11:29 -07:00
Toks
ed6b08e65b
Make large wiki/artist/pool title link to tag search
2014-10-13 17:44:40 -04:00
Toks
4281d1a48f
#2234 comment out post previews
2014-10-05 16:40:13 -04:00
Toks
b18bb73f4b
Implentation for #2141
2014-05-22 20:07:15 -04:00
r888888888
90f3156a73
fixes #2132
2014-04-17 14:17:11 -07:00
Toks
30a164e77b
fixes #997
2013-06-11 10:37:17 -04:00
Toks
857a5fe0f2
fix error
2013-05-31 12:57:57 -04:00
Toks
26d95f072f
style pool and wiki page titles by their category
...
fixes #1690 and #1521
2013-05-30 15:13:53 -04:00
r888888888
050d231375
revert 3ee20d2
2013-05-13 10:48:12 -07:00
Toks
3ee20d2bb7
fixes #846
2013-05-11 16:01:19 -04:00
Toks
f972ee53c0
enhance show or new wpages; move wpage preview code to helper
2013-05-11 08:31:03 -04:00
Toks
4fe7437b9c
simplify alias/implication list code for wiki pages
2013-05-04 19:09:42 -04:00
Sal-N
e8ad3f643d
Less awkward English
2013-05-05 01:26:34 +03:00
Toks
b2a43bb028
fixes #1179
2013-04-11 12:14:47 -04:00
Toks
d3dbca4ccc
fixes #1243
2013-04-09 13:48:47 -04:00
Toks
80bfb70968
fixes #1122 ; fix typo in fix for #725
2013-03-28 19:36:13 -04:00
Toks
12c27aec9d
proper fix for #725
...
show all antecedent implications on wiki instead of just the first
2013-03-28 19:27:44 -04:00
Toks
502de5a651
fixes #725
2013-03-28 19:18:30 -04:00
Toks
192acab5c3
fixes #1123
2013-03-28 19:09:18 -04:00
小太
1a03a86592
Kill trailing whitespace in erb files
2013-03-19 23:11:58 +11:00
albert
c59afe4726
fixes #944
2013-03-18 22:02:03 -07:00
albert
ea89218fdb
fixes #659
2013-02-28 18:01:54 -08:00
albert
779ff94944
fixes #208
2012-01-06 18:58:01 -05:00
albert
065ac3aefc
fixes #181
2011-12-19 17:31:15 -05:00
albert
071dfebeff
added meta description tag
2011-11-11 18:03:22 -05:00
albert
34ae712be0
fixed titles
2011-10-23 16:55:57 -04:00
albert
5444ad5107
fix dtext styles
2011-10-22 17:23:33 -04:00
albert
72e9da01b5
fixing functional tests
2011-07-17 16:42:26 -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
81aec6b950
wiki pages
2011-03-10 18:35:19 -05:00
albert
e431452a11
improved pool simple edit interface
2011-03-03 18:26:50 -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