evazion
64b4004bbf
tests: add favorite groups controller tests.
2017-02-06 18:48:35 -06:00
evazion
d74503ae05
tests: add misc controller tests.
2017-02-06 18:48:35 -06:00
r888888888
5c16e9ce48
add download strategy for artstation
2017-02-06 12:03:00 -08:00
evazion
98b0b2c5d8
tests: fix Net::HTTP::Persistent::Error: too many connection resets.
...
Works around connection reset errors in the test suite by disabling
persistent connections.
20) Error:
Sources::PixivTest#test_: in all cases fetching source data for a new manga image should get the tags. :
Net::HTTP::Persistent::Error: too many connection resets (due to closed stream - IOError) after 0 requests on 47071328584700, last used 1.842702476 seconds ago
app/logical/pixiv_web_agent.rb:46:in `build'
app/logical/sources/strategies/pixiv.rb:104:in `agent'
app/logical/sources/strategies/pixiv.rb:72:in `get'
app/logical/sources/site.rb:6:in `get'
test/unit/sources/pixiv_test.rb:7:in `get_source'
test/unit/sources/pixiv_test.rb:64:in `block (3 levels) in <class:PixivTest>'
ref: github.com/sparklemotion/mechanize/issues/123
ref: http://www.rubydoc.info/gems/mechanize/Mechanize#retry_change_requests%3D-instance_method
2017-02-04 17:07:00 -06:00
r888888888
3965903210
fixes #2875 : Encoding::CompatibilityError on /explore/posts/searches
2017-02-03 14:44:13 -08:00
Albert Yi
4357c6e718
Merge pull request #2874 from evazion/fix-tests
...
Fix various failing tests
2017-02-03 14:28:42 -08:00
Albert Yi
3a06e5486c
Merge pull request #2873 from evazion/fix-hotkeys
...
Disable left/right keys for prev/next page on /posts/:id.
2017-02-03 14:28:03 -08:00
r888888888
497011289f
fixes #2865 : Undeleting a post doesn't resolve flags
2017-02-03 14:22:21 -08:00
evazion
a327854017
Fix post_update_count increment test.
...
7) Failure:
PostTest#test_: Tagging: A post that has been updated should increment the updater's post_update_count. [/home/danbooru/src/danbooru/test/unit/post_test.rb:1010]:
"CurrentUser.post_update_count" didn't change by 1.
Expected: 1
Actual: 3
2017-02-03 04:04:02 -06:00
evazion
e98e7f1ea7
Fix note_update_count increment test.
...
5) Failure:
NoteTest#test_: In all cases updating a note should increment the updater's note_update_count. [/home/danbooru/src/danbooru/test/unit/note_test.rb:113]:
"CurrentUser.note_update_count" didn't change by 1.
Expected: 1
Actual: 0
2017-02-03 04:03:44 -06:00
evazion
43086634cf
hotkeys: fix shift+r => mark forum as read.
...
Also fix issue with a note handler being rebound instead of unbound.
2017-02-03 03:48:22 -06:00
evazion
d71136ce72
Disable left/right for prev/next page on /posts/:id.
...
Interferes with horizontal scrolling of wide images.
2017-02-03 03:40:32 -06:00
Albert Yi
7a05af657a
Merge pull request #2871 from evazion/feat-filetype-metatag
...
Add filetype: metatag.
2017-02-02 11:44:33 -08:00
evazion
50b793d129
Don't send failed uploads to IQDB (possible fix for #2867 ).
2017-02-02 01:26:59 -06:00
evazion
558e4e5443
Add filetype: metatag.
2017-02-02 00:53:56 -06:00
r888888888
cee6a8331a
bug fix for janitor trial mailer
2017-02-01 10:49:59 -08:00
Type-kun
8848fa2e2f
Fixes #2861
2017-01-27 20:08:43 +05:00
Type-kun
1d25d1315a
Fix comment search bugs (secondary ordering, non-bumping typo)
2017-01-27 14:12:16 +05:00
r888888888
8a93fdf18f
additional saved search fixes
2017-01-25 12:48:47 -08:00
r888888888
1207faa600
fix tests
2017-01-24 16:05:06 -08:00
r888888888
98b305b4db
add link to mod+ topics
2017-01-24 13:13:13 -08:00
r888888888
16e7043477
remove reference to danbooru version in footer
2017-01-24 13:13:13 -08:00
Albert Yi
1d4413bdf9
Merge pull request #2858 from evazion/feat-update-hotkeys
...
Add additional hotkeys
2017-01-24 13:03:55 -08:00
Albert Yi
d7662c1f2b
Merge pull request #2857 from evazion/feat-dotenv
...
Add dotenv support
2017-01-24 12:02:33 -08:00
evazion
8d65ae840b
hotkeys: document new bindings.
2017-01-24 02:46:01 -06:00
evazion
cfeb95c8a8
hotkeys: add left arrow, right arrow bindings for prev/next page.
2017-01-24 02:46:01 -06:00
evazion
7571cda640
hotkeys: add E to edit, shift+D to delete to artists, pools, wiki, forum.
2017-01-24 02:46:00 -06:00
evazion
c3fa653fc5
hotkeys: refactor to use .on(), namespaces.
...
* Use .on() instead of .bind() because bind is deprecated in jquery 3.0.
* Ensure enable-js-navigation is always respected.
* Namespace keybindings so they may be disabled by userscripts with
e.g. $(document).off("keydown.danbooru") or $(document).off("next_page").
2017-01-24 02:45:55 -06:00
evazion
ecf22adc7d
/comments/search: add more search params; style as inline form.
2017-01-23 22:13:00 -06:00
evazion
caaff24112
/comments?group_by=comment: add is_sticky/is_deleted/do_not_bump_post/order params.
2017-01-23 22:13:00 -06:00
evazion
74bbd45cdf
dotenv: enable overriding database settings.
2017-01-23 18:07:52 -06:00
Albert Yi
6430a9b0a4
Merge pull request #2855 from evazion/feat-comment-metatags
...
Add order:comment_bumped, order:comment_bumped_asc metatags.
2017-01-23 11:22:17 -08:00
r888888888
c7b5a4e229
add references to user statistics page about saved searches
2017-01-23 10:56:39 -08:00
evazion
601b439f96
Add order:comment_bumped, order:comment_bumped_asc metatags.
2017-01-21 11:10:40 +00:00
r888888888
48e66cddbb
fixes #2849 : IP address search is broken
2017-01-20 15:37:26 -08:00
r888888888
e80096bf19
fixes #2850 : NoMethodError exception when sending DMail
2017-01-20 12:37:43 -08:00
Albert Yi
fa94eafef3
Merge pull request #2852 from evazion/fix-deleted-name-changes
...
Fix #2851 : Account deletion should remove name change requests.
2017-01-20 11:35:54 -08:00
evazion
c6966268a2
Remove 'reason' from name change request form; update copy.
2017-01-19 23:42:39 +00:00
evazion
afb8eeea30
Fix exploit making user name change reasons being public in API.
2017-01-19 23:41:36 +00:00
evazion
7486bb0add
Fix #2851 : Account deletion should remove name change requests.
...
Hides name change requests for deleted users (username matches /user_[0-9]+~*/).
2017-01-19 22:32:13 +00:00
Type-kun
75c13cc953
Possible fix for issue #2849
2017-01-19 14:51:53 +05:00
r888888888
bfa56a860c
fixes #2415 : "Random post" causes RecordNotFound exceptions
2017-01-18 14:12:12 -08:00
r888888888
a919da4dd6
add id attributes to secondary links for posts
2017-01-17 17:59:37 -08:00
r888888888
237c997ae1
remove usage of increment! #2835
2017-01-17 15:46:21 -08:00
r888888888
a53341d112
fixes #2846 : revert postvote js change
2017-01-17 14:56:14 -08:00
Albert Yi
268b7b99ad
fix nil error
2017-01-16 15:41:46 -08:00
Albert Yi
ae442c3391
fixes #2760 : unable to register an account with a blank email
2017-01-16 14:56:08 -08:00
Albert Yi
bdac591266
fixes #2838
2017-01-16 12:57:43 -08:00
Albert Yi
a49394e6cd
Merge pull request #2842 from evazion/fix-user-name-changes
...
Minor user name changes improvements.
2017-01-16 11:50:51 -08:00
Albert Yi
6b5b92e02e
Merge pull request #2840 from evazion/fix-pixiv-dupe-orig
...
Fix #2839 : "Original" tag shows up twice in Pixiv source data
2017-01-16 11:35:52 -08:00