r888888888
7ba7458897
fix syntax error
2017-09-12 15:43:47 -07:00
r888888888
4fb55657c0
refactor cropped images into explore/posts/intro
2017-09-12 13:03:59 -07:00
r888888888
68863ed018
fixes #3287
2017-09-08 15:01:12 -07:00
r888888888
63f7edd0c6
add toggle for testing cropped thumbnails
2017-09-06 17:02:43 -07:00
evazion
1ef363dd68
upload limits: add time remaining until next upload to profiles ( fix #3262 ).
2017-08-10 23:58:58 -05:00
evazion
bf3101da48
upload limits: show how upload limits are calculated in profiles.
...
* Allow mousing over the upload limit on profile pages to show the full
formula for the upload limit calculation. In particular, show how the
upload limit multiplier is derived from the deletion confidence.
* Refactor to avoid duplicating upload limit calculations in the
presenter, as much as possible.
2017-08-10 23:48:50 -05:00
evazion
40e006f7cb
Fix keyboard navigation in pools ( #3238 ).
...
Don't display the search navigation bar when browsing pools. Doing so
breaks the A/D keyboard shortcuts because the search navigator takes
precedence over the pool navigator.
https://danbooru.donmai.us/forum_topics/9127?page=195#forum_post_134297
2017-08-04 19:28:36 -05:00
Albert Yi
05a25a6baf
Merge pull request #3239 from evazion/fix-md5-leaks
...
Fix censored post exposures in data attributes / legacy API (#3237 )
2017-07-26 17:09:18 -07:00
evazion
f2bf756422
Fix hidden attribute leaks in data attributes ( #3237 ).
2017-07-24 20:35:12 -05:00
evazion
0129891213
Fix #1156 : Allow sequential search navigator to work without a search.
2017-07-24 19:30:30 -05:00
evazion
1b310dcc0b
Post#expunge!: fix remove_from_all_pools to clear deleted pools.
...
* Change Post#pools to return all pools, including deleted pools. This
fixes remove_all_from_pools to remove the post from deleted pools too.
* Change other users of Post#pools to explicitly select undeleted pools.
2017-07-21 00:13:20 -05:00
evazion
7cb7c2fbab
Remove ruby DText implementation ( #3206 ).
2017-07-19 16:48:42 -05:00
evazion
4c61e547b9
posts: add data-is-favorited attribute to thumbnails.
2017-05-23 11:53:04 -05:00
evazion
a3db5ba346
post replacement: move presenter methods to post_replacement.rb.
2017-05-17 00:14:41 -05:00
evazion
d40da8c5c9
post replacement: leave a system comment after replacement.
2017-05-05 16:10:43 -05:00
r888888888
3b414db844
defer to popular searches for popular tag list
2017-05-01 17:56:34 -07:00
evazion
8404064854
related_tag_calculator.rb: fix memcache lookup in inner loop.
...
Remove the category constraint option from RelatedTagCalculator.calculate_from_posts.
It slows things down and isn't used.
This method is used to calculate the related tags sidebar during
searches for single metatags. Using Tag.category_for in the inner loop
caused a memcache call on every iteration. At 100 posts per page and
20-30 tags per post, this led to up to 2000-3000 total memcache calls,
which significantly slowed pageloads.
2017-04-23 17:10:20 -05:00
r888888888
97da8f8647
deprecate tag subscriptions with warnings
2017-04-14 16:00:20 -07:00
evazion
26e8b7144a
Fix exception in h(post.source) when source is nil ( fixes #2940 ).
...
Fixes this exception:
TypeError exception raised
no implicit conversion of nil into String
app/presenters/presenter.rb:3:in `escapeHTML'
app/presenters/presenter.rb:3:in `h'
app/presenters/post_presenter.rb:91:in `data_attributes'
app/presenters/post_presenter.rb:24:in `preview'
app/presenters/post_set_presenters/base.rb:15:in `block in post_previews_html'
app/presenters/post_set_presenters/base.rb:14:in `post_previews_html'
app/views/posts/partials/index/_posts.html.erb:3:in `_app_views_posts_partials_index__posts_html_erb___2716396856929289512_70158315986180'
app/views/posts/index.html.erb:39:in `_app_views_posts_index_html_erb__1345252938355811220_70158296799280'
app/controllers/posts_controller.rb:16:in `index'
2017-03-25 23:43:20 -05:00
evazion
0793beded9
alias_and_implication_list: refactor alias/implication lookup.
...
Add alias and implications associations to Tag. Use them in
alias_and_implication list instead of duplicating the alias/implication
lookup code.
2017-03-23 02:47:21 -05:00
r888888888
19a82bde30
fix syntax error
2017-03-22 14:24:06 -07:00
evazion
d1debecd0b
Fix XSS in post thumbnail data attributes.
2017-03-21 17:17:19 -05:00
r888888888
91c21b1bac
fixes #2880 : Change link from User page "Comments in xxxx posts" to comment_bumped
2017-03-21 14:05:32 -07:00
Albert Yi
92fe0c7b7c
Merge pull request #2922 from evazion/fix-artcomm-fetch-source
...
When merging artcomms, list source as html page url, not image url.
2017-03-20 12:22:18 -07:00
r888888888
5cef0321f2
switch to use Cache.get_multi for tag types
2017-03-17 18:36:53 -07:00
evazion
2051981170
When merging artcomms, list source as html page url, not image url.
2017-03-16 18:09:59 -05:00
r888888888
da06bee0ab
revamp saved search implementation
2017-03-15 15:36:48 -07:00
evazion
b80976bce7
modqueue: link tags, like they are in /comments.
2017-02-24 21:03:14 -06:00
r888888888
aa41c41572
fixes #2876 : Changing approver/contributor privileges should log mod action
2017-02-14 12:46:54 -08:00
r888888888
ed8a8001f4
fixes #2859 : search:uncategorized should search for uncategorized saved searches
2017-02-14 11:58:43 -08:00
evazion
ec653dce71
app/presenters: remove unused forum_post/note/post_version presenters.
2017-02-06 19:07:02 -06:00
r888888888
8a93fdf18f
additional saved search fixes
2017-01-25 12:48:47 -08:00
r888888888
c7b5a4e229
add references to user statistics page about saved searches
2017-01-23 10:56:39 -08:00
evazion
1f325c19da
Show previous usernames to members; link to actual change requests.
2017-01-11 13:07:39 -06:00
Albert Yi
62956be384
hide saved search functionality if not enabled
2016-12-21 14:53:39 -08:00
Albert Yi
ee4ebce4d7
support pool version archive
2016-12-21 11:43:46 -08:00
r888888888
5b48d272f2
add basic user revert functionality
2016-09-28 11:38:34 -07:00
r888888888
de9116947f
fixes #2641
2016-08-26 15:52:37 -07:00
r888888888
6d20ecb20d
fix typo in user presenter
2016-08-22 16:29:51 -07:00
r888888888
ccf95957f9
remove week scaling for popular searches
2016-08-22 15:15:08 -07:00
r888888888
d0bbe27217
include saved searches section in user profiles
2016-08-22 14:59:43 -07:00
r888888888
5de9adf0f5
work on saved searches embedded in user profiles
2016-08-19 17:33:42 -07:00
r888888888
27264501e0
disable tag backlinking on posts for anon users (helps with web crawlers)
2016-06-14 12:14:10 -07:00
r888888888
a90750f5e1
add tags to post file urls
2016-05-23 12:10:06 -07:00
r888888888
2a87aad34e
implement super voters
2016-02-22 14:11:25 -08:00
r888888888
caf4a28b02
enable user privacy mode for displaying favorites
2016-02-22 12:18:19 -08:00
r888888888
26db5daf6a
increase favorites shown per user for similar users report
2016-02-09 16:13:37 -08:00
r888888888
2dd4b4cbff
add schema.org metatags
2016-02-09 14:02:47 -08:00
r888888888
7f9261b0cb
strip syntax for meta description tag
2016-02-04 14:10:43 -08:00
r888888888
504674b288
add rel=nofollow in more places
2016-02-03 23:47:17 -08:00