Commit Graph

122 Commits

Author SHA1 Message Date
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
ab5fd48280 Prevent mass assignment to Post#last_noted_at (#2704). 2016-10-06 09:39:57 +00:00
evazion
f4f85bd0d8 Add tests for setting pixiv_id on posts. 2016-10-03 02:29:41 +00:00
r888888888
110569708e fix tests 2016-05-26 13:17:18 -07:00
r888888888
2a87aad34e implement super voters 2016-02-22 14:11:25 -08:00
r888888888
ce3af81c9f fix tests 2016-01-18 17:13:26 -08:00
Toks
cd8bc87fa4 Don't allow new users to remove tags
fixes #2427
2015-12-05 16:16:19 -05:00
r888888888
21ab11d92a add support for saved search metatag + tests 2015-11-24 12:55:18 -08:00
r888888888
341b29ce41 fix tests 2015-08-18 17:40:53 -07:00
Toks
eb1d920c17 #2489 fix src redirect 2015-08-11 20:29:32 -04:00
r888888888
9dfaad7c98 fixes #2489: Hentai-Foundry image source update for artist finder 2015-08-11 13:48:19 -07:00
r888888888
abb232d4e6 fixes #2448: Approvers can undelete posts they already approved/uploaded 2015-07-24 14:19:40 -07:00
r888888888
dc34c68353 fixes #2427: Prevent removing all tags from post 2015-07-21 14:21:11 -07:00
r888888888
6ad6aa44c4 fixes #2432, fix tests 2015-07-14 15:13:04 -07:00
r888888888
8ef7462b6b fix tests 2015-07-06 18:32:54 -07:00
r888888888
45ffe0b68e fixes #2386, fix tests 2015-05-21 11:57:08 -07:00
r888888888
5063e326e3 Revert "remove mpixel search, remove some unused indexes on posts"
This reverts commit 11e550c385.
2015-01-18 22:56:02 -08:00
r888888888
11e550c385 remove mpixel search, remove some unused indexes on posts 2015-01-15 17:43:10 -08:00
evazion
24dcf0090a Add a few more tests for Pixiv source redirection. 2014-10-27 19:00:57 -05:00
Albert Yi
c1b3060df3 Merge pull request #2283 from evazion/fix-exact-filesize-search
Fix #2248: filesize metatag: exact match if unit is bytes
2014-10-26 16:32:22 -07:00
Toks
4519d026d7 Merge pull request #2282 from evazion/feat-autotag-ugoira
Automatically add ugoira tag to ugoira posts.
2014-10-26 15:14:10 -04:00
Toks
3194df7e85 Add more cases for normalizing pixiv source searches 2014-10-25 15:49:59 -04:00
evazion
79ec817bdc Add tests for filesize: metatag searches. 2014-10-24 22:32:32 -05:00
evazion
9bbb272b34 Automatically add ugoira tag to ugoira posts.
Note that this only adds the ugoira tag to .zip posts. It does not
remove the ugoira tag for posts converted from ugoira, but that aren't
true ugoira.
2014-10-24 22:15:43 -05:00
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
Toks
6aedbcdc6e fixes #2049 2014-01-11 14:34:03 -05:00
Toks
4ddf8d5eab #1866: Support dA urls without artist name in them 2013-12-24 16:47:41 -05:00
Toks
27c80ba621 #1326: Add checkbox to move favorites 2013-12-17 12:14:32 -05:00
Toks
1fb55d803d Fix test 2013-12-15 19:47:01 -05:00
Toks
afa4e83d9b Auto-add automatic tags whenever post is updated
Instead of being limited to when it's first uploaded.
2013-12-15 19:39:10 -05:00
Toks
d9bb174f6f fixes #2023 2013-12-10 14:25:27 -05:00
Toks
2b442253ad #1866: hentai foundry source link redirects 2013-12-08 00:13:57 -05:00
Toks
6f9054f499 Normalize Post.fast_count queries
fixes #1008, fixes #2019
2013-12-04 16:02:41 -05:00
Toks
dfb9c01bac fixes #2048 2013-11-29 17:48:20 -05:00
Toks
ddc590e7e8 fixes #2009 2013-11-27 00:03:06 -05:00
Toks
f1455c1f77 #2030: Fix regression that borked the -pool: metatag 2013-11-26 23:27:40 -05:00
Toks
e818b29ff8 Redirect more source links to work page when possible
Related to #1866. Fixes #2021.
2013-11-20 12:07:07 -05:00
Toks
fab4e81669 #2030: add test 2013-11-19 10:30:04 -05:00
Toks
d5cf4cd8bd #1968: Remove old test 2013-10-18 15:04:08 -04:00
Toks
48a0aab75a #1461: Improve test 2013-08-30 17:39:00 -04:00
Toks
cfc9f36b5e fixes #1461 2013-08-29 23:33:09 -04:00
Toks
248d008c8c #1377: Fix test 2013-08-08 16:10:00 -04:00
r888888888
e3227d1e3d fix specs 2013-08-04 17:11:51 -07:00
r888888888
303d6ce821 fixes #1863 2013-07-25 14:12:35 -07:00
Toks
938e19f384 merge branch changeable-votes 2013-06-29 15:12:38 -04:00
Toks
8c7fa25a5d add tests for #1263 2013-06-29 15:10:09 -04:00
Toks
26b54982e4 fix test
The reason the "m" abbreviation wasn't used for the age metatag is
because it could mean minutes ("mi") or months ("mo").
2013-06-13 22:15:22 -04:00
r888888888
c5a0659237 remove stale test 2013-05-31 15:41:22 -07:00
r888888888
54e5869dfc fixes #1636 2013-05-21 18:02:35 -07:00
r888888888
8ba43c8cd1 fix regression with tag post counts 2013-05-06 18:15:27 -07:00