Commit Graph

104 Commits

Author SHA1 Message Date
evazion
1a52f9db2b wiki pages: add wildcard support to "other names" search. 2017-05-24 14:59:00 -05:00
evazion
4631262374 Fix broken tag autocomplete on multiple pages.
Mark all tag <input>s with a `data-autocomplete` attribute, instead of
hardcoding a list of html IDs to autocomplete in javascript.

This way should be less error prone. It fixes autocomplete in several places:

* Autocomplete for the search box on /posts didn't work in the
  responsive layout. This was because /posts has two search boxes that
  both have the id `tags`: one in the normal sidebar, and one in the
  responsive tag list. $("#tags") only initialized autocomplete on the
  first one.

* Autocomplete didn't work on the aliases or implications pages. This
  was due to selecting the wrong html ids.
2017-04-22 15:24:03 -05:00
Albert Yi
441022960a Merge pull request #2968 from evazion/fix-wiki-rename
Fix #2964: prevent renaming wikis with non-empty tags.
2017-04-10 14:53:33 -07:00
evazion
1b572c592c wikis: disallow renaming unless tag is empty (fix #2964). 2017-04-10 16:40:42 -05:00
evazion
b9693827c3 /wiki_pages: sort autocomplete by post count.
* Add search[order]=post_count param to /wiki_pages.
* Make autocomplete do a prefix match ordered by post count, so that it
  works the same way that tag autocomplete does elsewhere.
2017-04-07 18:25:31 -05:00
evazion
7571cda640 hotkeys: add E to edit, shift+D to delete to artists, pools, wiki, forum. 2017-01-24 02:46:00 -06: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
Type-kun
93fca3ce2b Amend wiki listing and general timezone formats (fixes #2649) 2016-09-01 22:37:09 +05:00
Type-kun
a7d553038f Add "disable-with" to most edit forms (should fix #2264) 2016-08-30 22:54:38 +05: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
r888888888
b8f14b6fee hide more pages for banned artists #2132 2016-01-27 17:06:13 -08:00
r888888888
1d9596d7f2 fixes #2417 2015-06-29 18:17:59 -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
198ab5f2d1 Add hint for renaming wikis/artists 2014-06-25 11:32:23 -04:00
Toks
beb3f1d542 Add wiki page edit shortcut 2014-06-17 15:44:14 -04:00
Toks
624f2c704b Add wiki search option for whether other names are present 2014-06-14 14:17:06 -04:00
Toks
aebeffb888 #2141 add link to help page 2014-05-27 16:13:24 -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
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
Toks
46aad0d3f1 fixes #1576
The "params[:order] ||= params.delete(:sort)" is to support existing
links using sort.
2013-07-12 13:18:19 -04:00
Toks
c256ab5081 Merge branch 'more-excerpts' 2013-07-09 14:01:41 -04:00
Toks
be0b4cc98e Remove wiki excerpt partial
Was moved in 83c6428208
2013-07-09 13:06:59 -04:00
Toks
a70fce91c0 add artist link on new wiki pages 2013-07-07 19:56:59 -04:00
Toks
30a164e77b fixes #997 2013-06-11 10:37:17 -04:00
Toks
a9708b9efa fixes #1654 2013-06-05 12:36:53 -04:00
ToksT
00c9c02e87 fixes #1706 2013-06-04 22:34:59 -03:00
r888888888
c936fe5796 fixes #1698 2013-05-31 14:56:48 -07: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
Toks
77dfd91702 fixes #1658; fixes #1592 2013-05-25 19:49:19 -04:00
Toks
5aeab8247c fixes #1433 2013-05-20 10:40:19 -04:00
Toks
cac44403e2 wiki title consistency 2013-05-16 22:01:08 -04:00
r888888888
050d231375 revert 3ee20d2 2013-05-13 10:48:12 -07:00
Toks
aa3b1a0c4d more visually distinct wiki page notice 2013-05-11 16:02:33 -04: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
r888888888
49de333b74 fixes #1579 2013-05-07 17:58:27 -07:00
Toks
4fe7437b9c simplify alias/implication list code for wiki pages 2013-05-04 19:09:42 -04:00
ToksT
2ad34653f7 consistency fix 2013-05-04 19:32:56 -03:00
Sal-N
e8ad3f643d Less awkward English 2013-05-05 01:26:34 +03:00
Toks
9982c94f68 fixes #1278; fixes #1279 2013-04-11 14:27:39 -04: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
8b33cac661 replace old user links with new format 2013-04-04 23:16:28 -04:00
Toks
af44e99130 adds more user class support 2013-03-31 22:02:53 -04:00
Toks
c51c3e800a Merge branch 'testing'
Conflicts:
	app/views/artists/_quick_search.html.erb
	app/views/pools/_quick_search.html.erb
	app/views/tags/_quick_search.html.erb
	app/views/wiki_pages/_quick_search.html.erb
2013-03-30 15:50:31 -04:00