evazion
64b4004bbf
tests: add favorite groups controller tests.
2017-02-06 18:48:35 -06:00
evazion
ed451b7199
tests: add reports 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
evazion
e8cf417e9c
tests: update gems to latest versions.
...
Also fix a few things that broke under shoulda-matchers 3.1.1.
2017-02-04 22:17:15 -06:00
evazion
beddc34958
tests: set Delayed::Worker.delay_jobs = false globally.
2017-02-04 17:18:51 -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
r888888888
1207faa600
fix tests
2017-01-24 16:05:06 -08:00
evazion
66e30b323c
Name changes: remove delete request button.
2017-01-15 05:03:08 +00:00
Albert Yi
f2a5d45db0
implement token bucket rate limiting
2017-01-09 17:31:14 -08:00
Albert Yi
0ea7d78584
remove usage of vcr cassettes; delete unused fixtures; fix some broken unit tests
2016-12-28 15:47:28 -08:00
evazion
0e73f3c8a9
Add tests for stickying comments.
2016-12-26 23:52:46 -06:00
Albert Yi
ee4ebce4d7
support pool version archive
2016-12-21 11:43:46 -08:00
evazion
a92120e873
Fix #2785 : Allow changing API key; require password to view or change key.
2016-12-18 06:30:48 -06:00
Albert Yi
4eb0a64135
fix exploit for viewing private dmails
2016-12-06 14:34:46 -08:00
evazion
01afc46f74
Fix failures in commenting tests.
...
Restricting users from upvoting their own comments broke some tests.
Switch these tests to downvoting instead.
2016-12-03 20:06:50 -06:00
evazion
bba080a4c5
Test mod deletion of user feedbacks.
2016-11-28 03:57:23 -06:00
evazion
2dadad395b
Add test for setting dmail filters on other people.
2016-11-12 01:10:14 -06:00
Albert Yi
eb6746a8a8
additional checks on forum topic visibility
2016-11-07 10:48:04 -08:00
evazion
6a9b68022a
Test /forum_posts?search[creator_id]=1.
2016-10-31 17:11:52 -05:00
evazion
4e9f7391e6
Test private topics don't bump forum.
2016-10-30 18:00:26 -05:00
evazion
88a8c02f4c
Test /forum_posts doesn't list private forum topics.
2016-10-30 18:00:26 -05:00
Albert Yi
589df5f301
implements #2658 : private forum topics
2016-10-24 16:56:18 -07:00
evazion
d2f3027294
Add test for moving notes between posts.
2016-10-19 22:54:39 -05:00
Albert Yi
fb1cf5edbc
Merge pull request #2726 from evazion/feat-log-tag-aliases+implications
...
Log tag aliases+implications
2016-10-19 10:07:08 -07:00
Albert Yi
2424f24fcd
return 429 for too many requests instead of 421
2016-10-18 13:33:04 -07:00
evazion
5743166e25
Add a test case for implication requests.
2016-10-18 05:22:44 -05:00
evazion
5e75dcecea
Add test cases for anon/banned/member voting.
2016-10-14 04:47:51 +00:00
Albert Yi
eaa0426c36
Merge pull request #2714 from evazion/fix-2704
...
Fix mass assignment vuln to tag alias/implication status (partial fix for #2704 ).
2016-10-11 17:48:26 -07:00
evazion
101771adb8
Aliases/implications: Add tests for status and foreign keys.
2016-10-11 08:19:52 +00:00
evazion
80895ef46e
Add tests for reverting to foreign versions.
2016-10-11 06:57:05 +00:00
evazion
cb1e1d3a94
Prevent commenting on nonexistent posts ( #2704 ).
2016-10-06 09:39:57 +00:00
evazion
8c8f4a6a8f
Fix mass assignment vuln in comment update action ( #2704 ).
...
Prevents mass assignment of `post_id`, `do_not_bump_post`, and
`is_deleted`.
2016-10-06 09:39:57 +00:00
evazion
ab5fd48280
Prevent mass assignment to Post#last_noted_at ( #2704 ).
2016-10-06 09:39:57 +00:00
r888888888
fc7afd44ea
refactor source pixiv test
...
refactor pixiv download tests
refactor upload test
refactor nico seiga test
refactor twitter tests
2016-09-28 11:25:29 -07:00
r888888888
f720641942
fix tir controller test
2016-09-12 18:05:55 -07:00
r888888888
fd38539b41
fix twitter upload tests
2016-09-12 18:02:59 -07:00
r888888888
97c89d06d8
fix pool controller test
2016-09-12 17:38:55 -07:00
r888888888
4fea400b79
fixes #2610 : Strip image metadata when creating thumbnails and samples
2016-06-15 11:38:35 -07:00
r888888888
505f3f7c03
fixes #2609 : BUR is impossible to approve
2016-06-15 11:17:19 -07:00
r888888888
d75546a4e4
add secondary validations to aliases+implications+requests
2016-02-11 11:48:56 -08:00
r888888888
46b32448e8
fix tests
2016-01-18 17:22:27 -08:00
r888888888
5b3a4b768c
fixes #2557
2015-12-17 14:29:17 -08:00
r888888888
b695a7980f
unify user notifications for permission/level changes #2470
2015-10-27 11:12:05 -07:00
r888888888
3a81f1ee8e
fixes #2470 : Neutral records to keep track of permissions
2015-10-26 14:27:34 -07:00
r888888888
6480864718
fixes #2469
2015-10-15 15:24:24 -07:00
r888888888
439ea4aaff
fix functional tests
2015-09-23 12:57:17 -07:00
r888888888
076416c228
fix functional tests
2015-08-19 11:23:29 -07:00
r888888888
f483d0e7a8
add combined flag+appeal listing for posts #262
2015-07-28 15:45:01 -07:00
Toks
e041d7d615
fix tests
2015-07-15 01:01:05 -04:00
r888888888
1d9596d7f2
fixes #2417
2015-06-29 18:17:59 -07:00