Commit Graph
6202 Commits
Author SHA1 Message Date
r888888888 2d57497a9d add style 2017-09-05 15:08:43 -07:00
r888888888 bb228d5735 add favorite action underneath image 2017-09-05 14:41:33 -07:00
Albert Yi 93ce433c0c Merge pull request #3284 from lllusion3469/patch-1
Keep auth_secure cookie from deviantart
2017-08-30 12:24:18 -07:00
lllusion3469 4c3733ce5a Keep auth_secure cookie from deviantart
Unlike this projects, all other DA scrapers I found[0] require that both
"auth" and "auth_secure" are set.
While the current approach, for some reason, seems to have worked fine in
the past, it has stopped functioning on some systems, sometimes
permanently (apparently sometimes only temporarily).
I don't have the means to find out the reason behind that, since all
configurations I've tried (mobile, VPN, and regular connection +
4 seperate accounts) resulted in me being effectively logged out and
unable to view mature works after deleting the "auth_secure" cookie.
The "if auth_cookie" part might not actually be necessary, its only
purpose is to prevent unintended breakage due to lack of information
on my part.

[0]: https://github.com/4pr0n/ripme/commit/b662b46a44a087af316953b10aee537397f2fa2a#diff-aab4e263d591d1c7f23d015a2e540a32R161
     https://github.com/fake-name/xA-Scraper/commit/cbaecf55071de8ff40d21af514b48e5557c6a838#diff-9f9821e7d744874a2fe42e0a69e4b14aR33
2017-08-30 20:47:59 +02:00
r888888888 bc69badadd better error handling of failed deviant art logins 2017-08-28 16:19:41 -07:00
r888888888 840cdc817d fixes #3271 2017-08-24 15:45:19 -07:00
r888888888 b769b83262 use Cache.hash instead of Cache.sanitize 2017-08-24 15:43:38 -07:00
r888888888 18f617e08a potential fix for #3189 2017-08-24 15:39:06 -07:00
r888888888 d124ff8128 fix case when fetching pixiv sources when illust_id param comes before mode 2017-08-23 17:50:33 -07:00
r888888888 e498e03ceb add message if ccs is not available 2017-08-23 17:42:37 -07:00
evazion b69bf61f9f /artist_commentary_versions: fix body field being duplicated.
ref: https://danbooru.donmai.us/forum_topics/9127?page=197#forum_post_134924
2017-08-21 15:25:48 -05:00
evazion 9d28a2491a Fix #3270: Filter tag search results for deleted wikis. 2017-08-15 23:42:43 -05:00
Albert Yi 3e04f0f6b1 Merge pull request #3268 from tbennett6421/patch-1
update nginx config
2017-08-14 16:43:19 -07:00
Tyler Bennett 76fd54b284 update nginx config
On Ubuntu 16.04 LTS, the break in the config causes nginx to fail to restart
2017-08-12 22:19:49 -05:00
evazion b215d2112d wiki pages: normalize unicode in other names. 2017-08-12 17:15:19 -05:00
evazion 9b031a9c20 Fix #3266: Normalize fullwidth Unicode characters in translated tags. 2017-08-12 17:13:52 -05:00
Albert Yi ee38d82ba0 Merge pull request #3264 from evazion/fix-3263
Fix #3263: Remove leading whitespace on pool names
2017-08-11 12:53:53 -07:00
Albert Yi 81b8e882ed Merge pull request #3265 from evazion/fix-3262
Fix #3262: Add time remaining for upload limits on user profiles
2017-08-11 12:50:54 -07:00
evazion 6797f8564d upload limits: show full upload limits on upload page. 2017-08-10 23:58:58 -05: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 3b3abac8f6 pools: disallow asterisks and numeric-only names. 2017-08-10 18:37:22 -05:00
evazion 3b9a54f681 pools: strip leading/trailing, consecutive underscores in names (fix #3263). 2017-08-10 18:33:36 -05:00
Albert Yi 87b0dc3ae3 Merge pull request #3252 from evazion/fix-2736
Fix #2736: Comment mention dmail didn't go through
2017-08-07 16:05:05 -07:00
Albert Yi 7c21182045 Merge pull request #3253 from evazion/fix-2502
Fix #2502: Exclude empty commentary from searches.
2017-08-07 16:03:51 -07:00
Albert Yi 521927ae35 Merge pull request #3255 from evazion/fix-3254
Fix #3254, #3072: Some Twitter URLs upload wrong image.
2017-08-07 16:03:20 -07:00
evazion c270954991 Fix #3258: Fetch source data broken for https://i.pximg.net/* ugoiras. 2017-08-06 17:23:29 -05:00
evazion 2b9393a624 twitter: remove unused TwitterApi class (#3206). 2017-08-05 23:12:55 -05:00
evazion 8b70e0099b twitter: fix to handle extended tweets (fix #3254, #3072). 2017-08-05 23:12:55 -05:00
evazion b23f92fa10 Fix #2502: Exclude empty commentary from searches. 2017-08-05 18:32:31 -05:00
evazion 69d4712708 mentions: process mentions added in an edit (fix #2736) 2017-08-04 23:48:53 -05:00
evazion 4c54e18c6d mentions: factor out mention parsing to DText.parse_mentions. 2017-08-04 23:48:31 -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
evazion 7b96d9dcd4 Fix 'Deleted post filter' option applying to status:{any,all} (#3245).
https://danbooru.donmai.us/forum_topics/9127?page=196#forum_post_134342
2017-08-04 17:15:39 -05:00
evazion a56c1bbb76 artists: fix validation error when url_string has leading spaces.
Bug: if the url_string had leading spaces, when it was split the
resulting array contained the empty string, which led to a validation
error when trying to save the urls.

Fixup for #3247.
2017-08-04 01:05:25 -05:00
evazion e2c2435356 Gemfile: update dtext to 1.5.1. 2017-08-04 00:47:43 -05:00
r888888888 d32e1a51ab expand access of ccs to builders 2017-08-02 17:15:16 -07:00
Albert Yi 28dc153d87 Merge pull request #3248 from evazion/feat-tag-relation-search
Fix #2633: Search for status:active at tag_aliases and tag_implications
2017-07-31 12:53:55 -07:00
Albert Yi f63f597544 Merge pull request #3247 from evazion/fix-2346
Fix #2346: Artist URLs: auto add 'http', remove non-links
2017-07-31 12:52:33 -07:00
Albert Yi e4bc01533b Merge pull request #3245 from evazion/fix-2344
Fix #2344: Negating status metatag breaks deleted post filter.
2017-07-31 12:50:21 -07:00
Albert Yi fe6ae4b3d1 Merge pull request #3233 from evazion/feat-order-metatags
Add order:{tagcount,gentags,arttags,chartags,copytags} metatags.
2017-07-31 11:56:06 -07:00
evazion 8142f74381 aliases/implications: add status/tag type/order search options. 2017-07-29 17:43:47 -05:00
evazion 49f5a1060e aliases/implications: factor out shared code. 2017-07-29 17:13:34 -05:00
evazion 04e9b8ebff Merge branch 'fix-3246' into master-albert 2017-07-29 15:00:35 -05:00
evazion 1000f8d2e2 Fix #3246: Require nonblank body for wiki pages. 2017-07-29 14:59:42 -05:00
evazion 624444d51d artists: validate that urls are well-formed (fix #2346). 2017-07-29 01:44:05 -05:00
evazion 10614d2152 artists: show success/error message when updating artists. 2017-07-29 01:44:05 -05:00
evazion 6121b8cb25 artists: simplify artist url saving code.
Refactor the way artist urls are saved so that artist url validations
run before the artist is saved, not after.
2017-07-29 01:41:37 -05:00
evazion 1c38fbbf64 Fix #2344: Negating status metatag breaks deleted post filter. 2017-07-28 19:52:35 -05:00
evazion 4b635628cc Fix #3243: Don't create new note versions when nothing is changed. 2017-07-28 17:41:05 -05:00