Commit Graph
1923 Commits
Author SHA1 Message Date
Albert Yi f803137106 Merge pull request #3030 from evazion/feat-backups
Backup posts to S3 on creation/replacement
2017-05-08 13:39:41 -07:00
Albert Yi 0018a09f30 Merge pull request #3027 from evazion/feat-flag-cooldown
Add 3 day cooldown between flags
2017-05-08 13:05:38 -07:00
Albert Yi 646a2b3762 Merge pull request #3022 from evazion/fix-api-pretty-names
Fix #2352: Return raw usernames in API instead of pretty names.
2017-05-08 12:49:01 -07:00
Albert Yi 92c4c043f0 Merge pull request #3032 from evazion/fix-expired-bans
Fix exception when user with expired ban logs in.
2017-05-08 11:33:44 -07:00
evazion fd291c8b42 bans: fix exception when user with expired ban logs in.
`ban.destroy` fails because users have many `bans`, not a single `ban`.
Destroying the expired ban isn't necessary anyway.
2017-05-07 12:13:19 -05:00
r888888888 1b5d409c0c remove usage of postgres now() in token bucket check 2017-05-06 20:54:54 -07:00
evazion 30a1f204e9 backups: add stub backup service. 2017-05-05 22:18:28 -05:00
evazion d40da8c5c9 post replacement: leave a system comment after replacement. 2017-05-05 16:10:43 -05:00
evazion 31a38ea39a flags: add flag cooldown test. 2017-05-04 17:37:59 -05:00
evazion 3b37bb6142 flags: add 3 day flagging cooldown period. 2017-05-04 16:51:49 -05:00
evazion 8638b7527b flags: don't set is_flagged twice.
PostFlag#update_post already sets is_flagged when the flag is created.
No need to set it again.
2017-05-04 16:51:49 -05:00
evazion 9f64857719 flags: move status locked check to post_flag.rb. 2017-05-04 16:51:49 -05:00
evazion 43ad3258e5 API: fix api limits being lowered when user doesn't have api key. 2017-05-04 12:57:20 -05:00
evazion 038e40ec98 post replacement: increase grace period to 30 days. 2017-05-04 12:30:27 -05:00
evazion 7ade3b6831 Fix #2352: return raw usernames in API instead of pretty names. 2017-05-03 22:16:38 -05:00
Albert Yi b6e1958917 Merge pull request #3017 from evazion/fix-deviantart-links
Fix links to DeviantArt sources
2017-05-03 15:49:16 -07:00
evazion dd920b3ffc post replacement: disallow unhandled cases. 2017-05-02 20:41:18 -05:00
evazion ca01539c4b post replacement: delete old files after image is replaced. 2017-05-02 20:41:18 -05:00
evazion e2b988a562 post replacement: add Post#replace! method. 2017-05-02 20:41:18 -05:00
evazion b4a38c68b4 upload.rb: separate out post creation from upload processing. 2017-05-02 20:41:18 -05:00
r888888888 9757700ec7 fix post archive presenter 2017-05-02 15:57:42 -07:00
r888888888 e96e9c0105 fix for post archive presenter 2017-05-02 15:50:58 -07:00
r888888888 25b2f73546 fix for post archive presenter 2017-05-02 15:47:22 -07:00
r888888888 caf9281e3e fixes #2950 2017-05-02 15:40:17 -07:00
r888888888 66458c34b0 fixes #3014 2017-05-02 15:39:16 -07:00
evazion 93c9b622a1 post_approval.rb: log correct post id when approving deleted posts. 2017-05-02 00:01:21 -05:00
evazion 1baffb31ff Link dA sources as http://$artist.deviantart.com/art/$title-$id in sidebar.
Previously we used 'http://$artist.deviantart.com/gallery/#/d$id'. This
relied on a javascript redirect on Deviantart's end, which didn't work
for people with javascript disabled.
2017-05-01 23:29:16 -05:00
r888888888 440c5219bd memoize domains 2017-05-01 15:52:32 -07:00
r888888888 62c9beafc2 fixes #2993: Artist URL breakdown 2017-05-01 15:48:04 -07:00
Albert Yi d7e83bef79 Merge pull request #3003 from evazion/feat-noter-any-metatag
Add noter:<any|none>, commenter:<any|none> metatags
2017-05-01 14:52:30 -07:00
Albert Yi 590bfa18f6 Merge pull request #3005 from evazion/fix-ss-query-normalization
Fix #2995: Saved searches’ tags are getting reordered
2017-05-01 14:51:01 -07:00
r888888888 48e9856f37 fixes #3007: Eliminate Janitor role 2017-05-01 14:38:30 -07:00
Albert Yi 99ed0cc437 Merge pull request #3008 from evazion/fix-disallow-blank-notes
Fix #1566: disallow blank note bodies.
2017-05-01 14:18:28 -07:00
Albert Yi 279134c9bb Merge pull request #3009 from evazion/fix-dmails-search
Fix #1868: Dmail search improvements: subject, searchbox
2017-05-01 14:05:22 -07:00
evazion e10327219d /users/1234.json: include upload_limit/max_upload_limit/favorite_group_count. 2017-04-29 12:26:25 -05:00
evazion f7509433b1 /users.json: make private attributes visible to the user themselves (fix #1551). 2017-04-29 12:26:24 -05:00
evazion d1216f260e dmails: add search[title_matches] param. 2017-04-29 11:50:25 -05:00
evazion a3ecfdb79d notes: disallow blank note bodies. 2017-04-28 19:34:27 -05:00
evazion 8e5491a536 saved searches: add query normalization tests. 2017-04-28 16:26:44 -05:00
evazion 0b63dd32d1 saved searches: don't change tag ordering within queries.
Normalize queries aside from the tag ordering when they're saved.
Normalize queries including ordering when they're sent to listbooru.

This way tag ordering within searches is kept in the /saved_searches listing.
2017-04-28 16:24:07 -05:00
evazion 25aaef5afe Add tests for noter:<any|none>, comm:<any|none> metatags. 2017-04-26 16:51:34 -05:00
evazion b0626a9124 Add commenter:<any|none> metatags. 2017-04-26 16:51:34 -05:00
evazion 69d9cf3927 Add noter:<any|none> metatags. 2017-04-26 16:51:34 -05:00
Albert Yi 641f56dc2a Merge pull request #3002 from evazion/feat-artist-search
Fix #2994: More options for artist search page
2017-04-26 14:00:25 -07:00
Albert Yi 41b245d19d Merge pull request #2998 from evazion/fix-quote-stripping
Fix [quote] stripping for comments, forum post replies.
2017-04-26 12:43:30 -07:00
evazion d1188d8184 /artists: add search params: has_tag, name/other_names/group_name/any_name/url_matches. 2017-04-26 14:08:18 -05:00
evazion 869f1610fc comments: use server-side quote-stripping instead of reimplementing in js. 2017-04-24 21:15:47 -05:00
evazion 30872ebb41 Fix #2990: Wiki Autocomplete Misses On Certain Meta-wikis
/wiki_pages?search[order]=post_count didn't include wiki pages that
didn't belong to a tag. This was due to doing an inner join on the tags
table instead of a left outer join.
2017-04-23 16:55:15 -05:00
Albert Yi f503c80e0b Merge pull request #2984 from evazion/fix-mp4-avc1
Support mp4s of ftyp "avc1"
2017-04-22 01:04:11 -07:00
evazion 0b2493b2dd tag subscriptions: fix broken saved search migrations. 2017-04-21 22:48:52 -05:00