r888888888
a95af95eae
move desktop mode to user pref
2017-12-15 13:52:25 -08:00
r888888888
4dabbde05d
use full file url for open graph url if a file doesn't have a large version
2017-12-15 11:30:26 -08:00
evazion
3ce8f6e7df
/wiki_pages/show_or_new: show post count in navbar if tag exists ( #3410 ).
...
649969156 hid the post count in the navbar on /wiki_pages/new, but that
also hid the count for /wiki_pages/show_or_new?title=medium_hair, which
was wrong. Show the count when the tag exists.
2017-12-15 11:54:56 -06:00
evazion
d2df35092b
/user_feedbacks: display "Updated N minutes ago" on edited feedbacks ( #3423 ).
2017-12-15 11:16:24 -06:00
evazion
03cecf097e
Factor out duplicated p.info CSS.
...
`p.info` is used to render "Updated by so-and-so 5 minutes ago" messages as fine print.
2017-12-15 11:14:12 -06:00
evazion
4c39783d28
Fix #3424 : /iqdb_queries.json fails for certain urls.
...
Fix the HTML page -> image URL download rewrite strategy failing for
https://lohas.nicoseiga.jp/thumb/${id}i URLs.
2017-12-15 10:16:06 -06:00
r888888888
ec81b87766
include paginator in delayed::job
2017-12-13 17:15:25 -08:00
r888888888
41d4c33093
add no statement timeout block to migration
2017-12-13 15:06:25 -08:00
r888888888
ab33c22da6
update gemfile
2017-12-13 14:39:55 -08:00
Albert Yi
8471444289
Merge pull request #3411 from evazion/fix-recaptcha
...
Make recaptcha optional on signup page.
2017-12-13 14:34:22 -08:00
Albert Yi
615202e941
Merge pull request #3416 from BrokenEagle/fix-deleted-comments-visibility
...
Fix deleted comments visibility on partial index by comment
2017-12-13 14:34:12 -08:00
Albert Yi
e6482ec1bb
Merge pull request #3414 from BrokenEagle/fix-dmail-hide-notice-bug
...
Fix Dmail so that prior unread mail won't cause notice to appear
2017-12-13 14:33:58 -08:00
Albert Yi
c3f1c786e8
Merge branch 'master' into fix-recaptcha
2017-12-13 14:33:39 -08:00
Albert Yi
5f1da19f50
Merge pull request #3407 from evazion/feat-tag-autocorrect
...
Fix #3406 : Autocorrect typos during autocomplete
2017-12-13 14:33:04 -08:00
Albert Yi
04d9bcedfb
Merge pull request #3404 from evazion/fix-3278
...
Fix #3278 : Move active_record_extensions into ApplicationRecord
2017-12-13 14:31:52 -08:00
Albert Yi
962b1a2ada
Merge branch 'master' into fix-3278
2017-12-13 14:31:42 -08:00
Albert Yi
5da62eff8d
Merge branch 'master' into fix-3278
2017-12-13 14:30:08 -08:00
Albert Yi
8d5f1bccaf
Merge pull request #3403 from evazion/fix-favgroup-race
...
Fix race condition when adding posts to favgroups
2017-12-13 14:28:38 -08:00
Albert Yi
42454dddcb
Merge pull request #3402 from evazion/fix-3039
...
Fix test failures under ruby 2.4
2017-12-13 14:28:25 -08:00
Albert Yi
f3b21a0dd5
Merge pull request #3401 from evazion/fix-akismet-integration
...
Fix dmail failures when akismet isn't configured.
2017-12-13 14:27:24 -08:00
Albert Yi
850ac353ed
Merge pull request #3399 from BrokenEagle/fix-gold-safemode-message
...
Changed safe mode error message for Gold+ users
2017-12-13 14:26:50 -08:00
Albert Yi
1d901e9307
Merge pull request #3357 from evazion/feat-soft-post-validations
...
Post editing: add warning when creating new tags (#3352 )
2017-12-13 14:24:51 -08:00
evazion
5819afced7
Fix #3412 : Mass updates incorrectly move saved searches.
2017-12-06 14:46:12 -06:00
evazion
d6d73404a9
Apply aliases to characters in <character>_(cosplay) tags ( #3409 ).
2017-12-06 12:47:27 -06:00
evazion
131c0109d4
Address #3415 : og:image meta tags can point to video files.
2017-12-06 09:47:57 -06:00
BrokenEagle
839f0f653f
Changed safe mode error message for Gold+ users
...
- Made explicit the error messages and their order
- Banned takes priority, then Gold+, then Safe
- Made the groups exclusive of each other
2017-12-05 19:08:01 -08:00
evazion
acd49be4cc
Fix #3419 : Deleting a post doesn't clear parent's "parent" status.
...
Bug: when deleting a child post and the "Move favorites to parent?" option is
set, the parent's has_active_children flag is not cleared.
`give_favorites_to_parent` moves the votes, and moving the votes has the
side effect of reloading the post (to get the new score). But reloading
the post wipes out the is_deleted_changed? flag, which is used by `update_parent_on_save`.
Fix: update the `is_deleted` flag *before* moving favorites, so that the
`update_parent_on_save` callback runs before `give_favorite_to_parent` runs.
2017-12-05 19:35:15 -06:00
evazion
feb3ec0750
Fix #3417 : Deleting a user's comment credits the change to them.
2017-12-02 19:41:37 -06:00
BrokenEagle
f346d6e35d
Fix deleted comments visibility on partial index by comment
2017-12-01 16:30:44 -08:00
BrokenEagle
b325b85df3
Fixed so prior unread dmails won't cause notice to appear
2017-12-01 12:51:55 -08:00
evazion
8d8a2f9c1e
Make recaptcha optional on signup page.
2017-11-29 18:09:37 -06:00
evazion
2000719227
/wiki_pages: get navbar post count from tags table.
...
Post.fast_count is dependent on the current user's settings. This meant
that tag counts in wiki pages could be different from the tag counts
displayed in tag lists.
2017-11-29 13:12:53 -06:00
evazion
649969156e
/wiki_pages: don't show post count in navbar when creating new wikis.
2017-11-29 12:56:58 -06:00
evazion
3c6a613964
Fix #3410 : Unable to create a new wiki page.
...
Fix `Post.fast_count(nil)` failing when the user had the "safe mode" or
"deleted post filter" options turned on.
2017-11-29 12:34:07 -06:00
evazion
dd8e3bbb94
tags: add trigram index on tag names.
2017-11-27 15:21:19 -06:00
evazion
44f4befa5a
autocomplete: add automatic typo correction.
...
If normal autocomplete fails to find any results, try doing a
fuzzy name search instead. This will correct simple typos.
2017-11-27 15:21:19 -06:00
evazion
f4d279771f
/tags: add fuzzy name search params (search[fuzzy_name_matches], search[order]=similarity).
2017-11-27 15:21:19 -06:00
evazion
4939c0345a
Fix test failures when removing posts from deleted pools.
...
These tests failed because removing posts from deleted pools is now
Builder-only.
2017-11-26 18:10:08 -06:00
evazion
a7566ae851
post_view_count_service_test.rb: fix test failure.
2017-11-26 16:17:21 -06:00
evazion
255082d3b5
tumblr: fix test failure.
2017-11-26 15:37:51 -06:00
evazion
1c5c3b5f9f
Include paginator extensions in ApplicationRecord.
2017-11-26 15:34:44 -06:00
evazion
ec6d553fa6
Move execute_sql / select_value_sql etc to ApplicationRecord.
2017-11-26 13:57:52 -06:00
evazion
45cecff1a6
Move with_timeout / without_timeout to ApplicationRecord.
2017-11-26 13:57:52 -06:00
evazion
5b89f56c2e
Move PostgresExtensions to ApplicationRecord.
2017-11-26 13:57:51 -06:00
evazion
8a0f600ac2
uploads: fix rating:S not being recognized by rating validator.
2017-11-26 11:54:13 -06:00
evazion
6d9708a22e
posts: don't warn about missing artist tags for official_art.
2017-11-26 11:43:46 -06:00
evazion
80e115b600
favgroups: fix race condition when adding posts to favgroups.
...
Adding or removing a post id to a favgroup's post_ids string is
non-atomic. Lock it to prevent simultaneous updates to the same favgroup
from clobbering each other.
Same bug as #3091 .
2017-11-26 11:02:39 -06:00
evazion
810b6b8b99
Fix #3039 : Test failures under ruby 2.4.
2017-11-25 21:52:32 -06:00
evazion
127e4e385b
Fix dmail failures when akismet isn't configured.
2017-11-25 21:46:32 -06:00
evazion
bc3e2438d9
posts: add tests for warning validations.
2017-11-25 17:03:33 -06:00