Albert Yi
2f142ab1aa
Merge pull request #3643 from evazion/fix-3642
...
Fix #3642 : Issues with sequential pagination
2018-04-16 16:16:22 -07:00
evazion
e49e6f49bb
Fix #3641 : Can't add tags via Add Commentary dialog.
2018-04-16 12:12:28 -05:00
evazion
2c46191f99
artists: fix edit form fields not being prefilled.
...
* Fix the artist URLs field not being prefilled when clicking
"Create new artist" in the "Fetch source data" box.
* Fix the artist name field not being prefilled when clicking
"Create new artist entry" on the /artists/show_or_new?name=<name> page.
2018-04-14 21:26:45 -05:00
evazion
d42ef7d7dc
Fix #3642 : Issues with sequential pagination.
...
As of Rails 5, overriding `to_a` on an ActiveRecord collection does
nothing. We need to override `records` instead.
ref: cdd45fa09d
2018-04-14 10:56:20 -05:00
evazion
074b66bf27
pagination: prefer extending over `extend.
...
The `extending` method is the preferred way to add methods to an ActiveRecord collection.
* http://api.rubyonrails.org/classes/ActiveRecord/QueryMethods.html#method-i-extending
* https://ruby-doc.org/core-2.5.0/Object.html#method-i-extend
2018-04-14 10:56:16 -05:00
evazion
d2e2b3d2b1
pagination: add paginator tests.
2018-04-14 10:56:16 -05:00
evazion
5c94c0cefe
Fix #3640 : Can't undo votes.
2018-04-13 22:50:13 -05:00
evazion
d66df41b58
Revert "common.js: show error on ajax failures." ( #3640 )
...
This reverts commit ad66b8abc9 .
2018-04-13 22:50:03 -05:00
evazion
302994e5d9
Fix #3639 : Favorite count pixiv tags aren't skipped by translated tags.
2018-04-13 22:39:52 -05:00
Albert Yi
f2adbba241
switch postarchive to use belongs_to_updater ( fixes #3629 )
2018-04-13 12:29:48 -07:00
Albert Yi
06559c4ae4
fix missing urls in artists ( fixes #3632 )
2018-04-13 12:25:49 -07:00
Albert Yi
31a9605ecb
fix source mapping for deviantart sources on origin-orig subdomain ( fixes #3617 )
2018-04-13 11:56:03 -07:00
Albert Yi
32025b77d3
remove fav_string from posts api unless user is moderator ( fixes #3633 )
2018-04-13 11:45:50 -07:00
evazion
28cd633210
Fix #3637 : Bookmarklet fails on artstation for some posts.
2018-04-13 11:18:09 -05:00
evazion
76792431be
Fix #3636 : Tag similarity on autocomplete no longer working.
2018-04-13 00:37:47 -05:00
evazion
bca483cefd
Fix #3628 : Retry button is displayed for failed uploads that cannot succeed even if retried
2018-04-12 22:14:06 -05:00
evazion
e4096460eb
Fix #3622 : Approval links on mod queue have same ID attribute.
2018-04-12 21:48:09 -05:00
evazion
611dacfd22
modqueue: remove dead "approve all" / "hide all" code (disabled since #2446 ).
2018-04-12 21:43:42 -05:00
evazion
af02113e3c
/wiki_pages/new: fix "param is missing or the value is empty: wiki_page"
2018-04-12 21:31:34 -05:00
evazion
bc0488df26
Fix #3631 : Can no longer edit existing notes.
2018-04-12 18:31:07 -05:00
Albert Yi
19cc8ebf9e
fixes #3630
2018-04-12 16:02:41 -07:00
evazion
af9a09c2cb
Fix #3626 : Artist creation page doesn't autocomplete the name anymore.
2018-04-12 16:23:59 -05:00
Albert Yi
5546d9e98b
fixes #3627
2018-04-12 14:20:02 -07:00
Albert Yi
b99600bbbe
fixes #3625
2018-04-12 14:12:27 -07:00
Albert Yi
c785d00eb6
remove window.console.log
2018-04-12 13:58:28 -07:00
Albert Yi
9975b2dd35
don't require saved_search params when creating a new saved search
2018-04-12 13:56:02 -07:00
Albert Yi
26a2e60d04
fixes #3623
2018-04-12 13:36:56 -07:00
Albert Yi
883b36ac2e
fixes #3620
2018-04-12 13:00:48 -07:00
Albert Yi
cd88a8df9f
fixes #3620
2018-04-12 13:00:48 -07:00
evazion
ad1ed5a510
Fix #3623 : Changes to existing notes aren't being saved.
2018-04-12 14:52:50 -05:00
Albert Yi
37ba6714d1
fixes #3617
2018-04-12 12:11:27 -07:00
Albert Yi
d747ffc640
fixes #3621
2018-04-12 12:09:33 -07:00
Albert Yi
c9fe91c74b
fix base dir for image distribute rake task
2018-04-12 10:48:53 -07:00
Albert Yi
03e2a2ca3b
add rake task for distributing images using storage managers
2018-04-12 10:40:24 -07:00
Albert Yi
25f371c8c6
Merge branch 'master' of github.com:r888888888/danbooru
2018-04-12 09:53:02 -07:00
Albert Yi
e4e79c027e
Merge pull request #3618 from evazion/fix-rails-5.1-bugs
...
Fix rails 5.1 bugs
2018-04-12 09:44:18 -07:00
evazion
159b0e8a22
tests: add daily & weekly maintenance tests.
2018-04-11 22:33:28 -05:00
evazion
4233d2149f
Fix delete_all / destroy_all calls.
2018-04-11 22:33:11 -05:00
Albert Yi
b0ac895964
remove unused attr_accessor
2018-04-11 14:09:45 -07:00
Albert Yi
d9d98f05c2
Merge branch 'rails-5.1'
2018-04-11 11:40:36 -07:00
Albert Yi
a25629bff9
fixes #3594
2018-04-11 11:14:58 -07:00
Albert Yi
c46996f937
Merge pull request #3616 from evazion/fix-deviantart-api
...
Fix #3260 : Exception when uploading certain DeviantArt posts
2018-04-10 16:54:44 -07:00
evazion
ab25e73cd7
deviantart: replace html scraper with api client ( #3260 ).
2018-04-09 20:53:14 -05:00
evazion
2d6b7177de
deviantart: add api client.
2018-04-09 20:53:06 -05:00
Albert Yi
485c3b01c7
add uploader-id and top-tagger-id data attrs to post previews
2018-04-09 11:12:07 -07:00
Albert Yi
23fef71346
Merge pull request #3609 from evazion/fix-3603
...
Fix #3603 : Unable to view images on Hijiribe/Sonohara when Danbooru is blocked
2018-04-09 10:56:00 -07:00
Albert Yi
5f33238074
Merge pull request #3612 from evazion/fix-iqdb-errors
...
Improve IQDB error handling
2018-04-09 10:53:40 -07:00
evazion
40827442c7
Fix #3614 : IQDB: don't index placeholder thumbnails.
2018-04-08 12:15:24 -05:00
evazion
2cbec785ea
Fix #3613 : Broken preview images for flash files.
2018-04-08 11:49:30 -05:00
evazion
5f930630e5
danbooru_default_config.rb: allow setting boolean options in env vars.
...
Allow setting e.g. `aws_s3_enabled?` with DANBOORU_AWS_S3_ENABLED="true"
in the .env file.
2018-04-08 11:24:53 -05:00