Commit Graph

587 Commits

Author SHA1 Message Date
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
Albert Yi
23ad02fa9c fix super voter test 2016-10-10 18:14:49 -07:00
Albert Yi
d5f02abf8c fix saved search test 2016-10-10 17:29:49 -07:00
evazion
3838167dc0 Post#unvote!: Return correct score (fixes #2709).
vote.destroy sets the score in the database but not on the in-memory
post. So just reload the post from the db to get the updated score,
don't duplicate the logic of setting it again.
2016-10-08 09:07:41 +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
evazion
b6af41e0f8 Add test cases for twitter artist finder. 2016-10-05 08:13:27 +00:00
evazion
f4f85bd0d8 Add tests for setting pixiv_id on posts. 2016-10-03 02:29:41 +00:00
r888888888
5b48d272f2 add basic user revert functionality 2016-09-28 11:38:34 -07: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
4fa2741ed2 include whitecube source/rewrite strategies 2016-09-28 11:24:54 -07:00
Type-kun
9147a1b178 Update APNGInspector class and add tests (fixes #2237) 2016-09-18 14:13:11 +05:00
r888888888
ab6b5e49fe addresses #2674: aliases+updates should migrate saved searches 2016-09-14 18:48:45 -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
b0e94f59fb remove dtext perf test 2016-09-12 17:22:17 -07:00
Type-kun
a7fee8815b Fix test for dtext header IDs 2016-09-10 10:41:27 +05:00
Type-kun
8c04a9d390 Fix #2598 for old parser 2016-09-06 01:06:29 +05:00
r888888888
917e42ed29 when merging post versions, delete old version rather than updating it 2016-06-29 14:47:32 -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
45e5ea817a update tests 2016-06-12 15:12:30 -07:00
r888888888
58aa5c6d66 fix tests 2016-05-28 14:08:44 -07:00
r888888888
110569708e fix tests 2016-05-26 13:17:18 -07:00
r888888888
30415d9e1e add approver field to aliases/implications 2016-05-26 13:01:44 -07:00
r888888888
2a87aad34e implement super voters 2016-02-22 14:11:25 -08:00
r888888888
d75546a4e4 add secondary validations to aliases+implications+requests 2016-02-11 11:48:56 -08:00
r888888888
e6b16e8fe5 better validation for bulk update requests 2016-01-28 17:59:45 -08:00
r888888888
46b32448e8 fix tests 2016-01-18 17:22:27 -08:00
r888888888
ce3af81c9f fix tests 2016-01-18 17:13:26 -08:00
r888888888
5b3a4b768c fixes #2557 2015-12-17 14:29:17 -08:00
Toks
cd8bc87fa4 Don't allow new users to remove tags
fixes #2427
2015-12-05 16:16:19 -05:00
r888888888
8a63fb0f7c enable mention for comments #2466 2015-11-30 16:51:07 -08:00
r888888888
21ab11d92a add support for saved search metatag + tests 2015-11-24 12:55:18 -08:00
r888888888
2f55353cfc dont create dmails when mentioned in a quote block #2466 2015-11-06 15:02:05 -08:00
r888888888
286c71b342 smarter mention parsing #2466 2015-11-02 12:30:37 -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
34aa777aad fixes #2531: Topic merge should update updater_id 2015-10-26 12:55:42 -07:00
r888888888
6480864718 fixes #2469 2015-10-15 15:24:24 -07:00
r888888888
821c7bc2a5 add dmail notices for mentions in forum posts 2015-10-14 15:32:48 -07:00
r888888888
6ce5223399 fixes #2526: Don't allow special characters ('*', etc...) in artist names 2015-10-06 15:03:12 -07:00
r888888888
439ea4aaff fix functional tests 2015-09-23 12:57:17 -07:00
r888888888
3df9f0cdf6 fix unit tests 2015-09-23 12:13:14 -07:00
r888888888
076416c228 fix functional tests 2015-08-19 11:23:29 -07:00