Albert Yi
a6e972a6e6
abort on dup md5 preprocessing
2018-06-14 17:52:41 -07:00
Albert Yi
b0c2ddba8b
update tests
2018-06-14 17:52:41 -07:00
Albert Yi
0e6c358701
add drag and drop file uploads w/async processing
...
[skip ci]
2018-06-14 17:52:41 -07:00
Albert Yi
fdd7582fb0
add support for upload preprocessing
2018-06-14 17:52:41 -07:00
Albert Yi
b561a6d9ab
fixes #3742
2018-06-14 17:10:07 -07:00
Albert Yi
2ec9aad320
fixes #3735
2018-06-05 13:23:30 -07:00
Albert Yi
52de1fb981
clear artist urls before saving url string ( fixes #3731 )
2018-06-04 17:37:43 -07:00
r888888888
ca842cc6d9
fixes #3727
2018-05-26 12:58:19 -07:00
Albert Yi
977779801d
remove uniqueness constraint on urls ( #3272 )
2018-05-25 11:31:59 -07:00
Albert Yi
6ad774b939
add more deterministic ordering for post versions
2018-05-25 10:43:03 -07:00
Albert Yi
63ab637419
potential fix for #3727
2018-05-25 10:16:52 -07:00
Albert Yi
b7c4df2df0
fixes #3724
2018-05-24 10:24:14 -07:00
Albert Yi
4b790e163e
lower priority of twitter urls
...
[skip ci]
2018-05-16 16:09:31 -07:00
Albert Yi
fcd80b6043
Artist urls can be prepended with a '-' to mark is inactive ( #3388 )
2018-05-16 16:04:05 -07:00
Albert Yi
6acaf999a1
additional error handling in tests
2018-05-15 17:25:55 -07:00
Albert Yi
13fda08fd9
fixes #3712
2018-05-15 14:47:14 -07:00
Albert Yi
a0aa2f3f4a
fixes #3276
2018-05-15 14:30:28 -07:00
Albert Yi
8bb890e4d0
fixes #3277
2018-05-15 14:19:45 -07:00
Albert Yi
308cfc2376
reduce constraints for when to show forum post vote links ( #3691 )
2018-05-15 11:20:16 -07:00
Albert Yi
32ad389581
Merge branch 'circleci-fixes'
2018-05-15 10:34:26 -07:00
Albert Yi
8b16934aaa
skip pixiv-related tests that throw networking errors
2018-05-15 10:19:20 -07:00
Albert Yi
8d5db3723b
skip tests that throw an net::opentimeout error
2018-05-14 10:45:46 -07:00
Albert Yi
9310b39fda
hide forum votes if the request is not pending
2018-05-11 17:05:26 -07:00
evazion
0ac28634f4
Fix #3708 : Post approvals sometimes displays multiple approvers for same post
2018-05-11 17:15:51 -05:00
Albert Yi
72f319ccf3
rename lambda references to use shorthand syntax
2018-05-10 11:18:02 -07:00
Albert Yi
1c76e7b5b1
format postkeepermanager jobs in job listing
2018-05-10 09:40:36 -07:00
Albert Yi
bc4010fe6c
when PostKeeperManager.check_and_update fails, retry ( fixes #3699 )
2018-05-09 17:09:20 -07:00
Albert Yi
99012ff342
fix tests
2018-05-09 11:59:51 -07:00
Albert Yi
79ea6f7e6c
Add Docker and Travis config files to enable CI tests
...
Also fixes some Rails 6.0 deprecation warnings
2018-05-09 09:56:38 -07:00
Albert Yi
3b8a1703ff
Merge pull request #3701 from evazion/fix-3579
...
Fix #3579 : Add post approval index
2018-05-07 17:36:41 -07:00
Albert Yi
23bef55632
Merge pull request #3700 from evazion/fix-3659
...
Fix uploads getting stuck in 'processing' state (fix #3659 )
2018-05-07 17:36:03 -07:00
Albert Yi
3d3bae1228
Merge pull request #3697 from evazion/fix-3696
...
Fix #3696 : API: handle boolean params consistently
2018-05-07 17:35:29 -07:00
evazion
a22bf20230
post tooltips: add header bar with more post info.
...
Add a header bar containing the following information:
* Uploader + top tagger + upload date
* Score, favorite count, comment count
* Rating
* Source (Pixiv, Twitter, etc)
* Image dimensions
Also list series pools with tags.
2018-05-07 13:18:22 -05:00
evazion
bfecbffb97
post approvals: add to post events page.
2018-05-05 14:00:58 -05:00
evazion
7c1d5e25fb
post approvals: add index page + search options ( fix #3579 ).
2018-05-05 14:00:49 -05:00
evazion
c584ca5b19
Fix uploads getting stuck in 'processing' state ( fix #3659 ).
...
Bug: if an upload timed out while downloading the file, Upload#process!
would catch the error and attempt to retry, but since the upload was
already in the 'processing' state, on the second try `process!` would
bail out immediately and leave the upload stuck in the 'processing' state.
Fix: remove the retry logic from Upload#process!. Let Downloads::File#download!
(which had its own retry logic) handle it instead.
2018-05-05 11:42:40 -05:00
evazion
216d735f24
Fix #3696 : API: handle boolean params consistently
...
* Use ApplicationRecord#attribute_matches to handle boolean attributes
consistently in search methods.
* Add support for searching various boolean attributes that previously
weren't supported.
2018-05-03 19:57:14 -05:00
evazion
c7492343ce
String: add truthy? & falsy? core extensions.
...
* Add `truthy?` and `falsy?` core extensions to String.
* Use `truthy?` and `falsy?` to replace ad-hoc parsing of boolean
parameters in various places.
2018-05-03 19:57:14 -05:00
evazion
96669ca4b5
Fix #3694 : Favgroup UX issues.
2018-05-03 00:53:42 -05:00
evazion
7e99a1b38b
artist commentary form: add partial_commentary checkbox.
...
Add a checkbox for adding/removing the partial_commentary tag in the
artist commentary form.
ref: https://danbooru.donmai.us/forum_topics/15101 .
2018-04-29 22:05:59 -05:00
evazion
a6499b5169
post tooltips: add disable option ( #3689 ).
...
* Add "disable post tooltips" account setting.
* Add back title attribute for when fancy tooltips are disabled.
2018-04-28 23:50:51 -05:00
r888888888
185d4ef81f
split out tag_relationship has_one relationship on forum post to alias/impication ( #3686 )
2018-04-28 19:28:17 -07:00
r888888888
015aa5abfe
fixes #3686
2018-04-28 17:42:39 -07:00
Albert Yi
d4b1782431
allow more forum posts to be voted on ( fixes #3677 )
2018-04-27 16:18:31 -07:00
Albert Yi
72e7f706df
fix scoping bug in dmail
2018-04-27 15:04:27 -07:00
Albert Yi
664a3f02e2
fixes for failed cron maintenance tasks
...
* update rails scripts for 5.2
* system dmails should be scoped to system
* fix broken url generator in forum notices
2018-04-27 15:01:40 -07:00
evazion
2f1d185c3e
/posts.json: add is_favorited attribute ( #3633 )
...
ref: https://github.com/r888888888/danbooru/issues/3633#issuecomment-384863568 .
2018-04-27 00:48:53 -05:00
Albert Yi
f2b525a6d2
Implement forum topic voting and tag change pruning ( #3580 )
2018-04-26 15:31:06 -07:00
Albert Yi
b0a3f574ed
fixes #3574
2018-04-25 14:31:11 -07:00
Albert Yi
f3e62f43ba
Merge pull request #3658 from evazion/fix-3657
...
Fix #3657 : Add improvements to the uploads interface
2018-04-20 16:03:39 -07:00