Commit Graph

100 Commits

Author SHA1 Message Date
evazion
e147a34664 pool orders: disable drag-and-drop ordering for pools with >100 posts.
Previously if a pool had >100 posts then the 'Order' link wouldn't
appear in the navbar, but it was still possible to visit the pool order
page directly. If a user did so, only the first 100 posts in the pool
would be shown in the drag-and-drop widget. If they tried to reorder the
pool anyway, then everything beyond the first 100 posts would be
silently removed from the pool.

Now we always show the 'Order' link, but we disable the drag-and-drop
reordering widget when the pool has >100 posts to prevent posts from
being silently removed.
2019-08-25 21:28:32 -05:00
evazion
f151285038 views: standardize page titles. 2019-08-24 22:55:35 -05:00
evazion
7cc31b97c9 pools/show: fix pagination to respect user's posts-per-page setting. 2019-08-21 14:31:58 -05:00
evazion
fa19047220 autocomplete: add username autocompletion sitewide. 2019-08-11 15:38:39 -05:00
evazion
4f024d2360 pools/show: fix N+1 query on pool show page.
Fix a N+1 query when fetching posts to render thumbnails. Also adds
support for the `limit` url param on the posts show page.
2019-08-09 00:05:50 -05:00
Albert Yi
60cee5f452 Merge pull request #3989 from evazion/fix-3987
Wiki pages: convert other_names column to array (#3987)
2018-11-19 16:23:32 -08:00
evazion
29fdfc42a4 pools/gallery: allow searching for collection pools (#3992).
Default to showing only series pools when not doing a search. Otherwise,
when doing a search, show both series and collection pools.
2018-11-15 12:22:51 -06:00
evazion
b660aeefd7 application record: add array_attribute method.
Add `array_attribute` method that defines helper methods for converting
array attributes to or from strings.
2018-11-13 19:18:11 -06:00
evazion
115ed16a96 pools: store post_ids as array instead of string (fix #3979) 2018-11-08 15:09:31 -06:00
evazion
47e26419d3 nav menu: add html ids to secondary nav menu links (#3844). 2018-08-27 20:57:59 -05:00
evazion
bbaadda1e3 Convert keyboard shortcuts to use data-shortcut. 2018-08-12 12:09:58 -05:00
Albert Yi
cd88a8df9f fixes #3620 2018-04-12 13:00:48 -07:00
evazion
962842815d autocomplete: move artist/pool/wiki autocompletion to autocomplete.js.
* Move all autocomplete code to autocomplete.js.

* Mark autocompleted fields with `data-autocomplete="<type>"` attributes,
  instead of hardcoding input field IDs in the javascript.
2018-02-18 19:22:17 -06:00
BrokenEagle
5cdd8d8f67 Standardize position of page title and secondary links
- Removed path specification for secondary links where unneeded
2017-12-28 10:20:27 -08:00
r888888888
a8d04c91d1 add status option for pool search 2017-09-14 11:17:40 -07:00
evazion
7cb7c2fbab Remove ruby DText implementation (#3206). 2017-07-19 16:48:42 -05:00
evazion
151b276fb9 modqueue: display pools for each post (fix #3125). 2017-06-07 22:45:01 -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
ee4ebce4d7 support pool version archive 2016-12-21 11:43:46 -08:00
Type-kun
a7d553038f Add "disable-with" to most edit forms (should fix #2264) 2016-08-30 22:54:38 +05:00
r888888888
1047d1fd2b add more meta descriptions to more pages 2016-02-09 14:25:23 -08:00
r888888888
6b96032a4e fixes #2486: Blacklist indication/display across the site 2015-08-18 15:47:31 -07:00
Toks
e1dc51e026 Fix pool subnavbar links not showing up for anonymous 2015-06-22 23:37:47 -04:00
Toks
5a8674d342 fix #2239 2015-05-02 11:12:30 -04:00
Toks
1fffc2977f fixes #2121 2014-10-31 20:24:38 -04:00
Toks
ed6b08e65b Make large wiki/artist/pool title link to tag search 2014-10-13 17:44:40 -04:00
Toks
6b9e0fca12 #2245 add search form 2014-09-24 13:14:03 -04:00
r888888888
5c22d8753f Revert "make pool gallery the default view"
This reverts commit 719343cea5.
2014-09-05 22:26:47 -07:00
r888888888
719343cea5 make pool gallery the default view 2014-09-05 16:27:19 -07:00
r888888888
267df896c6 fixes #2245 2014-08-25 16:41:27 -07:00
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
Toks
4d5b81594e fixes #1916 2013-12-04 15:29:23 -05:00
Toks
2bc5605edc Allow searching for deleted pools 2013-11-01 10:07:47 -04:00
r888888888
371563332f fixes #1989 2013-10-08 14:05:11 -07:00
Toks
5c55e90810 Add link to howto:pools, fixes #1112 2013-09-24 14:04:46 -04:00
Toks
e7473f193c Improve new pool category select ui 2013-09-24 11:34:05 -04:00
Toks
e3ca0b26a7 Change pool category class location
In order to make blacklisting by category easier.
2013-07-27 11:46:35 -04:00
Toks
fb5276cfe1 Merge branch 'master' of https://github.com/r888888888/danbooru 2013-07-18 19:28:44 -04:00
r888888888
e9b877f326 fixes #1858 2013-07-18 16:23:04 -07:00
Toks
ee1390f81c Remove unnecessary html escape 2013-07-18 10:37:51 -04:00
Toks
8fb55a5ff3 fixes #1858 2013-07-17 18:46:23 -04: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
171687c910 Remove unused file 2013-07-11 21:13:25 -04:00
Toks
f4c5126b11 Add link to last page of pool from index; fixes #1848 2013-07-11 20:56:20 -04:00
Toks
d79a22a73b Remove creator column from pool index 2013-07-11 20:55:13 -04:00
Toks
cb5c4a50c5 Decrease size of pool name input 2013-07-11 20:47:46 -04:00
Toks
0544759dec fixes #1696 2013-05-30 19:05:51 -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
ce39e45594 merge pool category branch; fixes #1521 2013-05-26 08:23:46 -04:00