evazion
0eff095a3e
Refactor searching text attributes.
...
* Allow using ApplicationRecord#attribute_matches to search text attributes,
and standardize models on using this instead of duplicating code.
* Remove restrictions that limited wildcard searches to Builders only in various places.
2018-08-31 19:50:46 -05:00
evazion
736c22c3ce
pixiv: fix fetch source data failing on fanbox images.
...
ref: https://danbooru.donmai.us/forum_posts/150000
2018-08-31 00:21:03 -05:00
evazion
c689a161f6
pixiv: fix failure when normalizing pixiv stacc artist urls ( #3856 ).
2018-08-30 19:24:44 -05:00
evazion
a68d12bd45
autocomplete: fix case sensitivity ( #3854 ).
...
ref: https://github.com/r888888888/danbooru/issues/3854#issuecomment-417366253 :
2018-08-30 17:38:29 -05:00
Albert Yi
9206a60760
Merge pull request #3852 from evazion/fix-twitter-direct-url
...
Twitter: fix handling of direct image urls without a referer url.
2018-08-29 17:32:54 -07:00
Albert Yi
48f2a79d13
fix artist url spec and bug with nicoseiga strategy not recognizing urls
2018-08-29 17:14:36 -07:00
evazion
a1044dbc19
twitter: fix handling of direct image urls without a referer url.
2018-08-29 17:14:57 -05:00
Albert Yi
66e413b540
Adds fuzzy string matching and prefix matching
2018-08-28 16:41:52 -07:00
Albert Yi
68c30961ac
Merge pull request #3805 from r888888888/refactor-sources
...
Refactor sources
2018-08-28 12:13:15 -07:00
evazion
604bfb0923
Fix #3846 : Subscribed forum posts link to invalid URL in email updates.
...
Test: http://localhost/rails/mailers/user_mailer/forum_notice
2018-08-27 22:04:37 -05:00
evazion
3dafca9aec
Fix #3842 : Mods can demote other mods or admins.
2018-08-25 13:52:50 -05:00
Albert Yi
762dc3da24
Refactor sources
2018-08-24 12:10:51 -07:00
evazion
4f02c7f70a
search: add status:modqueue, status:unmoderated metatags.
...
* status:modqueue = ~status:pending ~status:flagged
* status:unmoderated = status:modqueue -user:self -approver:self -disapproval:any
2018-08-23 14:48:39 -05:00
evazion
89c4fe150a
search: add disapproval:<any|none|disinterest|poor_quality|breaks_rules> metatag.
2018-08-23 14:08:02 -05:00
evazion
9a0f37e359
Fix #3715 : Provide any/none modifiers for pixiv: metatag
2018-08-22 00:25:38 -05:00
evazion
c504ad555d
Fix #3822 : Move favorites (while deleting) fails if user has also favorited destination
2018-08-19 00:54:17 -05:00
evazion
eaef616a01
Fixup tests for 03cf4c917.
2018-08-19 00:42:06 -05:00
evazion
fb91bbc6c5
Fix #3813 : Favorite limit can be bypassed.
2018-08-12 14:22:08 -05:00
evazion
202527008f
user.rb: drop unused add_favorite!, delete_favorite! methods.
...
These methods were incorrect anyway, didn't upvote/downvote the post.
2018-08-12 12:35:15 -05:00
r888888888
334d8b7c6f
Add alt_source field on uploads to deal with twitter galleries
2018-08-04 16:32:15 -07:00
Albert Yi
ea4e7f1970
Expire unused aliases and implications after 2 years of inactivity
2018-08-01 16:54:48 -07:00
Albert Yi
6ce8c72053
assign after source url for uploads
2018-07-31 10:10:50 -07:00
Albert Yi
135b97d511
additional fixes for deviantart artist search ( #3771 )
2018-07-27 12:31:26 -07:00
Albert Yi
7753461f6f
don't overwrite upload source with downloaded source
2018-07-26 18:34:00 -07:00
Albert Yi
77854349e5
testing
2018-07-26 18:11:19 -07:00
Albert Yi
9082ddf455
potential fix for #3783
2018-07-26 18:10:27 -07:00
r888888888
cc7a66438f
expose recommended posts to everyone
2018-07-23 15:05:43 -07:00
r888888888
344c46ed00
add mock recommender service for development, add user-context recommended posts
2018-07-21 14:02:57 -07:00
Albert Yi
abcef9115b
fix tests
2018-07-20 13:52:56 -07:00
Albert Yi
75162d3d8b
bug fixes + tests
2018-07-20 12:31:28 -07:00
Albert Yi
6943c70a32
potential fix for #3569
2018-07-20 10:55:39 -07:00
Albert Yi
a0205be8b5
fixes #3771
2018-07-06 11:44:07 -07:00
Albert Yi
ff6d8910b5
Merge pull request #3746 from r888888888/post-flagger-report
...
Post Flagger Report
2018-07-05 16:54:50 -07:00
Albert Yi
a9896031df
more fault tolerance for uploads
2018-07-05 15:59:06 -07:00
Albert Yi
6dfb78fca8
split out image cropping to width x height, add StorageManager::Match
2018-07-03 17:59:53 -07:00
Albert Yi
99807580d5
add cropped support for video uploads
2018-07-03 16:37:53 -07:00
Albert Yi
7f895bd91f
fix specs
2018-07-02 15:19:19 -07:00
Albert Yi
867406f410
handle the case where a file is uploaded that doesn't match whatever was preprocessed
2018-07-02 14:47:23 -07:00
Albert Yi
9a522d9fef
for upload service, move md5 validation to upload/post. exclude self when doing a self replacement.
2018-07-02 13:26:47 -07:00
Albert Yi
cdcd4d4014
Add additional post flag validation preventing targeting
2018-06-26 15:09:39 -07:00
Albert Yi
f4d5932a66
update dockerfiles
2018-06-25 17:29:01 -07:00
Albert Yi
4836804cae
bubble up upload validation errors during replacement
...
restore missing UploadService::Replacer tests
addresses #3761
2018-06-25 15:04:29 -07:00
Albert Yi
c17e0baad0
prefer file over source when both are provided ( #3767 )
2018-06-25 14:00:02 -07:00
r888888888
62235e215e
iqdb fixes
2018-06-23 11:15:14 -07:00
r888888888
3ba5c6fb51
refactor iqdb endpoints
2018-06-23 10:59:04 -07:00
Albert Yi
64446d49e1
add image cropping support
2018-06-22 14:41:57 -07:00
Albert Yi
e551ff9b0c
fix tests
2018-06-20 11:11:46 -07:00
Albert Yi
9510dead9f
refactor iqdb query support
2018-06-19 14:16:12 -07:00
Albert Yi
cc24b0a54f
fix bug with copy-pasted urls in uploads/new erroring out
2018-06-18 10:23:01 -07:00
Albert Yi
06f47cc84d
fix test
2018-06-15 14:45:36 -07:00