Commit Graph

5910 Commits

Author SHA1 Message Date
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
fd149fb98b fix bug with dmails 2018-05-15 16:16:38 -07:00
Albert Yi
13fda08fd9 fixes #3712 2018-05-15 14:47:14 -07:00
Albert Yi
acf327712a remove unused ccs sig helper 2018-05-15 14:37:37 -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
c36efc1f62 fixes #3710 2018-05-15 12:36:01 -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
Albert Yi
b31166a5e2 indicate when retrying pixiv connections 2018-05-11 16:26:24 -07:00
evazion
0b4e114721 Fix #3705: Rename "Flags & Appeals" now that it includes approvals. 2018-05-11 17:28:06 -05:00
evazion
0ac28634f4 Fix #3708: Post approvals sometimes displays multiple approvers for same post 2018-05-11 17:15:51 -05:00
Albert Yi
6839249e9d add logic for persisting pixiv sessions in tests 2018-05-10 13:59:57 -07:00
Albert Yi
5bfadb90c3 add retry for failed pixivapiclient auth calls 2018-05-10 11:22:23 -07:00
Albert Yi
984ab98a40 potential fix for #3672 2018-05-10 11:20:15 -07:00
Albert Yi
72f319ccf3 rename lambda references to use shorthand syntax 2018-05-10 11:18:02 -07:00
Albert Yi
320f1a426e fixes #3704 2018-05-10 10:20:51 -07:00
Albert Yi
519769d951 fixes #3706 2018-05-10 10:09:52 -07:00
Albert Yi
fe3fc51681 fix bug with postkeepermanager not loading a post from an id 2018-05-10 09:56:18 -07:00
Albert Yi
3c894eaf86 increase timeout for pixiv api connections 2018-05-10 09:49:46 -07:00
Albert Yi
1c76e7b5b1 format postkeepermanager jobs in job listing 2018-05-10 09:40:36 -07:00
Albert Yi
0d7aa921d6 add hourly check for delayed job errors 2018-05-09 17:33:02 -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
Moebius-Strip
fee9acc8a7 Remove favorites meta tag
Remove the favorites meta tag due to privacy concerns and the fact that it's no longer required.
2018-05-09 09:56:34 -07:00
Moebius-Strip
68e48e3b81 Simplify favorites link JS
Make use of the "is favorited" data to determine if the post is favorited instead of relying on the entire list of favorites.
2018-05-09 09:56:34 -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
27ca4f7cb1 post tooltips: reduce width/height, increase delay. 2018-05-07 13:18:22 -05:00
evazion
e8f5d8d8c2 site map: add approvals index, move post events to own section. 2018-05-05 14:00:58 -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
181a906766 Fix #3695: Bookmarklet breaks on pixiv fanbox direct image links. 2018-05-05 12:21:11 -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
r888888888
9822ff999b switch to non-minified versions of js libs, load unminified versions of jquery and jquery ui on non-prod environments (#3690) 2018-04-30 11:28:20 -07:00
evazion
80f8a7fee4 post tooltips: add disable button inside tooltip. 2018-04-30 02:20:06 -05:00
evazion
1d14885bd5 post tooltips: reduce width/height, grey out unless hovered. 2018-04-30 02:20:06 -05:00
evazion
93471c99c9 post tooltips: position tooltips above thumbnail. 2018-04-30 02:20:06 -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
21431892e8 post tooltips: increase delay 33%, remove gaps between tags. 2018-04-29 12:09:09 -05:00