Commit Graph

444 Commits

Author SHA1 Message Date
evazion
c46b31aa9c Prevent reverting to foreign versions (fixes #2711). 2016-10-11 06:57:46 +00: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
ab5fd48280 Prevent mass assignment to Post#last_noted_at (#2704). 2016-10-06 09:39:57 +00:00
evazion
d38e83cd00 Refactor Post#parse_pixiv_id to use illust_id_from_url (fix #2695).
* Make illust_id_from_url a public class method instead of a protected
  instance method so that Post#parse_pixiv_id can use it.
* Also make illust_id_from_url swallow the exception that
  illust_id_from_url! throws so that parse_pixiv_id can use it.
2016-10-03 02:29:45 +00:00
Type-kun
02b8f37515 Allow source:"text with spaces", also allow source: for post edit 2016-09-19 19:33:21 +05:00
Type-kun
62773852f7 Add automatic APNG detection (#2237) 2016-09-08 00:48:39 +05:00
r888888888
52a2add18c add check if google apis are enabled 2016-08-22 16:10:20 -07:00
r888888888
0a65302f12 remove uniqueness constraint on postupdates 2016-08-22 16:09:20 -07:00
r888888888
3c42df51c9 add framework for post update pushes to pubsub 2016-08-19 17:51:47 -07:00
r888888888
28aa7f30d5 disable pubsub 2016-08-13 10:35:38 -07:00
r888888888
a55aa73b25 remove debugging 2016-08-12 13:35:11 -07:00
r888888888
1974db27b6 consolidate update_column calls on posts 2016-08-12 13:34:02 -07:00
r888888888
ba5e43d127 updated rules about self artwork 2016-08-12 11:39:55 -07:00
r888888888
7026e11adc fixes #2623: bugs with art commentary tags 2016-07-28 15:53:23 -07:00
r888888888
5cd1a34700 add google pubsub integration 2016-07-27 17:20:48 -07:00
r888888888
35a6f60dc4 add options for modifying commentary/commentary_request tags on form #2623 2016-07-19 16:49:19 -07:00
r888888888
37bc7279e3 fixes #2622: Create a source normalization rule for the HTTPS version of pixiv.net 2016-07-18 17:18:56 -07:00
r888888888
917e42ed29 when merging post versions, delete old version rather than updating it 2016-06-29 14:47:32 -07:00
r888888888
681fc62f06 change seo tag boundary to __ 2016-06-21 13:24:26 -07:00
r888888888
145229c49f cache essential tag string for an hour 2016-06-20 14:45:22 -07:00
r888888888
bdd408952b add user option for disabling tagged filenames 2016-05-26 10:16:13 -07:00
r888888888
ba65ec3e18 improve seo tagging, update nginx config file 2016-05-23 17:05:23 -07:00
r888888888
a90750f5e1 add tags to post file urls 2016-05-23 12:10:06 -07:00
r888888888
0b214a834b call postgres notify after any post change 2016-05-06 16:49:36 -07:00
r888888888
1d727e1269 fixes #2594: IQDB index stays the same after expunge 2016-05-03 12:20:31 -07:00
r888888888
51e77dbb9c favoriting upvotes only if you are gold 2016-03-14 16:21:23 -07:00
r888888888
c4b196ac8b add tag info to newrelic timeout errors 2016-03-10 11:02:26 -08:00
r888888888
d27807c23a store supervoter scores in post vote score 2016-02-24 14:35:07 -08:00
r888888888
bb3eb9f980 favoriting now triggers an upvote 2016-02-22 17:02:15 -08:00
r888888888
2a87aad34e implement super voters 2016-02-22 14:11:25 -08:00
r888888888
caf4a28b02 enable user privacy mode for displaying favorites 2016-02-22 12:18:19 -08:00
r888888888
8165cbfd63 temp fix for bad crawlers 2016-02-17 12:12:24 -08:00
r888888888
81684e6421 use replica db for calculating post counts 2016-01-28 18:31:03 -08:00
r888888888
9d3d7abedc add support for read only post queries 2016-01-25 16:40:23 -08:00
r888888888
ce3af81c9f fix tests 2016-01-18 17:13:26 -08:00
r888888888
8498ba1188 more strict constraints on fast count 2016-01-07 17:44:32 -08:00
r888888888
8208a2341e fix sql query 2016-01-03 13:23:29 -08:00
r888888888
5eba09f308 improved logic for post fast count 2016-01-03 00:14:04 -08:00
r888888888
fe6b9d42c3 improved Post.fast_count 2016-01-02 10:02:05 -08:00
r888888888
05adc679a3 optimize Post.fast_count for some basic queries 2016-01-02 09:45:59 -08:00
r888888888
ab325d48bf optimize favorite delete, ignore statement timeout when expunging posts #2556 2015-12-07 14:53:15 -08:00
Toks
cd8bc87fa4 Don't allow new users to remove tags
fixes #2427
2015-12-05 16:16:19 -05:00
r888888888
e24d6e49bc fixes #2555: Twitter card metadata should render even for large images 2015-11-30 11:05:42 -08:00
Toks
f0a5dc35fc Don't store timeouts in post count cache
related #2528
2015-11-13 01:35:37 -05:00
Toks
40800988a8 Fix new users being able to remove posts from pools 2015-10-22 22:25:02 -04:00
r888888888
6480864718 fixes #2469 2015-10-15 15:24:24 -07:00
Toks
25ded91d4a #2499 disallow manually adding mp4 tag 2015-08-30 18:26:31 -04:00
r888888888
92c68db37a addresses #2499: Support uploading mp4 video 2015-08-25 17:02:57 -07:00
r888888888
5f9a6aa0c1 fixes #2465: Switch Twitter cards to use summary card+image 2015-08-25 16:36:05 -07:00
Toks
eb1d920c17 #2489 fix src redirect 2015-08-11 20:29:32 -04:00