evazion
27817cffcf
Fix saved search test.
...
16) Failure:
SavedSearchTest#test_: Fetching the post ids for a search with a name should return a list of ids. [/home/danbooru/src/danbooru/test/unit/saved_search_test.rb:31]:
Expected: [1, 2, 3, 4]
Actual: []
2017-02-03 04:03:44 -06:00
evazion
ace7d0c12d
Fix moving saved searches tests.
...
4) Failure:
TagAliasTest#test_: A tag alias should move saved searches. [/home/danbooru/src/danbooru/test/unit/tag_alias_test.rb:80]:
Expected: "123 bbb 456"
Actual: "123 ... 456"
36) Failure:
Moderator::TagBatchChangeTest#test_: a tag batch change should move saved searches. [/home/danbooru/src/danbooru/test/unit/moderator/tag_batch_change_test.rb:40]:
Expected: "123 456 bbb"
Actual: "123 ... 456"
2017-02-03 04:03:44 -06:00
evazion
72502dbe2f
Fix comment voting tests.
...
2) Error:
CommentTest#test_: A comment created by an unlimited user should not allow duplicate votes. :
ActiveRecord::RecordInvalid: Validation failed: You have already voted for this comment
app/models/comment.rb:142:in `vote!'
test/unit/comment_test.rb:164:in `block (3 levels) in <class:CommentTest>'
3) Error:
CommentTest#test_: A comment created by an unlimited user should not allow upvotes by the creator. :
ActiveRecord::RecordInvalid: Validation failed: You cannot upvote your own comments
app/models/comment.rb:142:in `vote!'
test/unit/comment_test.rb:179:in `block (3 levels) in <class:CommentTest>'
2017-02-03 04:03:44 -06:00
evazion
3ee7f0770f
Fix posts controller api test.
...
1) Failure:
PostsControllerTest#test_: The posts controller for api calls passing the api limit should work. [/home/danbooru/src/danbooru/test/functional/posts_controller_test.rb:34]:
Expected response to be a <429>, but was <200>.
Expected: 429
Actual: 200
2017-02-03 04:03:43 -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
Albert Yi
a54cf09832
Merge pull request #2872 from evazion/fix-2867
...
Don't send failed uploads to IQDB (possible fix for #2867 ).
2017-02-02 11:43:58 -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
Albert Yi
7c0f9f7a58
Merge pull request #2862 from evazion/fix-ruby-2.4
...
Update gems for ruby-2.4.
2017-01-27 16:01:20 -08:00
Type-kun
8848fa2e2f
Fixes #2861
2017-01-27 20:08:43 +05:00
evazion
74cbcb3f80
Update json, rubyracer gems for ruby-2.4.
...
Fixes a couple incompatibilities with ruby 2.4.
ref: github.com/flori/json/issues/303.
ref: github.com/cowboyd/therubyracer/issues/430
2017-01-27 05:22:05 -06: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
fe86f40f92
avoid reinstantiating CustomConfiguration
2017-01-24 15:02:53 -08:00
r888888888
2aa7a8aa9c
fix for statechecker
2017-01-24 14:32:06 -08:00
r888888888
e12d5e1290
fix cap files
2017-01-24 13:15:21 -08:00
r888888888
f78160827f
remove unused config
2017-01-24 13:13:13 -08:00
r888888888
e9d41d6418
include .env to linked files for deployment
2017-01-24 13:13:13 -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
Albert Yi
06fbd80b1e
Merge pull request #2856 from evazion/feat-comment-search
...
Add more options to /comments/search
2017-01-24 12:01:47 -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
a7333f4069
dotenv: add sample .env file.
2017-01-23 18:07:52 -06:00
evazion
74bbd45cdf
dotenv: enable overriding database settings.
2017-01-23 18:07:52 -06:00
evazion
1aa2316a9e
dotenv: enable overriding rails secret token / session key.
2017-01-23 18:07:51 -06:00
evazion
f33108416e
dotenv: enable overriding danbooru_local_config.rb with env vars.
2017-01-23 18:07:51 -06:00
evazion
a72df4133e
dotenv: add config/unicorn/unicorn.rb, Procfile.
2017-01-23 18:07:51 -06:00
evazion
3eb525ad01
dotenv: add gem.
2017-01-23 16:38:14 -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
Albert Yi
33183389db
Merge pull request #2853 from evazion/fix-name-change-api
...
Fix user name change reasons being public in API
2017-01-20 11:34:31 -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