r888888888
78b08d8394
add new model for post replacements, add undo functionality
2017-05-12 17:11:40 -07:00
Albert Yi
dc02dcf0e0
Merge pull request #3015 from evazion/feat-replace-images
...
Fix #2949 : Sample image replacement ability
2017-05-12 17:11:29 -07:00
r888888888
5ad7f1af91
cache artist domains, show artist domains in wiki excerpt on post listing
2017-05-12 14:50:37 -07:00
r888888888
aa5a1eca6f
fixes #3035
2017-05-11 16:06:39 -07:00
Albert Yi
f623aafc04
Merge pull request #3038 from evazion/fix-upload-commentary
...
Fix commentary box on upload page (fixes #3037 )
2017-05-10 16:29:39 -07:00
evazion
b2f62482a1
Remove artist commentary handling from download rewrite strategies.
2017-05-10 18:01:51 -05:00
Albert Yi
b4097dbc8a
Merge pull request #3034 from evazion/fix-comment-order
...
Fix /comments.json returning results in undefined order.
2017-05-10 15:21:52 -07:00
evazion
a3a9a78015
/comments.json: default to id_desc order instead undefined order.
2017-05-09 18:12:37 -05:00
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