evazion
e875f2973a
/notes, /note_versions: link directly to note within post.
...
Also adds a "»" link, linking to the note's history.
2017-07-07 16:39:10 -05:00
evazion
c13000a41e
notes: show note id in note edit dialog title.
2017-07-07 16:09:24 -05:00
evazion
ab0b4b4c67
notes: highlight notes linked via /posts/456#note-123.
2017-07-07 16:09:24 -05:00
evazion
c2e62b77fa
notes: move js initialization into initialize_all function.
2017-07-07 16:09:24 -05:00
evazion
0bc55bec74
notes: redirect /notes/123 to /posts/456#note-123.
2017-07-07 16:09:23 -05:00
evazion
df33901938
PostQueryBuilder: remove unused has_constraints attr ( #3206 ).
...
This was previously used to prevent searches that contained only negated
tags. No longer used.
2017-07-07 16:08:02 -05:00
evazion
e3922fb525
flags/appeals controllers: remove unused check_privilege method ( #3206 ).
2017-07-07 15:47:57 -05:00
evazion
24b2f2bf52
/user/dmail_filter: make available to banned users.
...
`ensure_ownership` handles the privilege check here.
2017-07-07 15:41:09 -05:00
evazion
d092b870ad
/users/:id/api_keys: make available to banned users.
...
`check_privilege` already handles the privilege check here.
2017-07-07 15:40:40 -05:00
evazion
0c79d2f09e
Removed unused controllers actions / routes ( #3206 ).
2017-07-07 15:38:06 -05:00
evazion
d786fc7a55
Removed unused UploadTagsReport controller ( #3206 ).
...
This was moved to ReportsController#upload_tags as of 7f22baa .
2017-07-07 14:46:04 -05:00
evazion
9e39d292a6
Fix /bulk_update_requests/1234.json.
2017-07-07 14:33:16 -05:00
evazion
400127c090
/saved_searches: make available to banned users.
2017-07-06 19:26:23 -05:00
evazion
f5209c7fb9
/favorites: make available to anonymous users.
2017-07-06 19:22:57 -05:00
evazion
e6a5d1e9e8
/bulk_update_requests: make available to anonymous users.
2017-07-06 19:20:38 -05:00
evazion
0ed2dafdce
/iqdb_queries: make available to anonymous users.
2017-07-06 19:18:45 -05:00
evazion
216243a354
/forum_posts/search: make available to anonymous users.
2017-07-06 19:18:15 -05:00
evazion
3a8cae4de1
/notes/search: make available to anonymous users.
2017-07-06 19:16:43 -05:00
evazion
d8f8983f94
/uploads/report_tags: make available to anonymous users.
2017-07-06 19:16:03 -05:00
evazion
ecf5040160
/uploads: make available to anonymous users.
2017-07-06 19:14:17 -05:00
evazion
bef02e0ac1
/wiki_pages/search: make available to anonymous users.
2017-07-06 19:12:17 -05:00
evazion
ef1db967f7
/dmails: allow banned users to read/delete dmails.
2017-07-06 18:39:42 -05:00
evazion
cda1ee3d88
/users: allow banned users to edit account settings.
...
The member_only check prevents banned users from editing their account
settings. This isn't needed since check_privilege handles the privilege check.
2017-07-06 18:39:42 -05:00
evazion
cc54c16fac
/artists/show_or_new: make public; add "artist doesn't exist" page.
...
* Fix access denied error when anonymous users open /artists/show_or_new.
* When the artist doesn't exist, take user to "artist doesn't exist"
page instead of redirecting to /artists/new.
2017-07-06 18:37:13 -05:00
evazion
e5598be20e
Factor out artists/show view into artists/_show layout.
2017-07-06 18:15:12 -05:00
evazion
68bf355542
upload tags report: add blacklist controls ( #3121 ).
2017-07-05 19:40:48 -05:00
Albert Yi
80fdafad45
Merge pull request #3201 from evazion/fix-transitive-implications
...
Fix #3200 : Disallow creation of superfluous implications
2017-07-05 11:50:51 -07:00
Albert Yi
5d40f5ad66
Merge pull request #3198 from evazion/feat-tumblr-dtextify-artcomm
...
Tumblr: convert artist commentaries from HTML to DText (#3184 )
2017-07-05 11:31:30 -07:00
evazion
aac1463fbf
implications: count 'queued' implications as active.
...
Bug: implications that were approved but that were still in the 'queued'
state were not seen as active yet, which led to the transitivity
validation passing because it didn't include queued implications.
2017-07-05 00:22:27 -05:00
evazion
542c673221
Fix #3200 : Disallow creation of superfluous implications.
...
Disallow transitive implications. If a -> b -> c already exists, don't
allow a -> c.
Caveat: if b -> c already exists, and we make a BUR for a -> b and a -> c,
the BUR validates even though a -> c is redundant. It only fails
when the BUR is approved.
2017-07-05 00:22:16 -05:00
evazion
cda35494a4
Disable blacklists on pages without blacklist controls. ( #3183 )
2017-07-03 15:10:36 -05:00
evazion
c3ac4f3329
Fix #3197 - Post Replacement comment: use Replacement URL instead of Final Source
...
Record the URL of the image that was actually downloaded as the replacement URL.
2017-07-02 21:00:26 -05:00
evazion
0390039621
Fix expunging posts from S3 (fixup 4c4ef5c / #3180 ).
2017-07-01 12:30:59 -05:00
evazion
1c06ae9f81
atom feeds: fix deprecation warnings in *_path helpers.
...
DEPRECATION WARNING: You are calling a `*_path` helper with the
`only_path` option explicitly set to `false`. This option will stop
working on path helpers in Rails 5. Use the corresponding `*_url` helper
instead.
2017-07-01 11:45:28 -05:00
evazion
71f84b10af
tumblr: convert commentary to dtext.
...
* Convert Tumblr commentary to DText.
* Strip extraneous whitespace in links and blockquotes.
* Add newlines after block elements to ensure they're separated from
subsequent blocks.
2017-07-01 11:15:48 -05:00
evazion
b880b07387
sources: factor out html-to-dtext code to DText.from_html.
2017-07-01 11:15:48 -05:00
r888888888
c4503e9971
Revert " #2234 comment out post previews"
...
This reverts commit 4281d1a48f .
2017-06-29 13:15:02 -07:00
r888888888
d4c89bccfc
potential fix for #3189
2017-06-29 13:09:33 -07:00
r888888888
361e98edee
fix for flagger_id_neg search case where nothing is matched
2017-06-29 13:03:36 -07:00
r888888888
d2c8e9ec6a
add without timeout block for supervoter calculation
2017-06-27 18:06:57 -07:00
r888888888
4c4ef5cc5b
fixes #3180
2017-06-27 15:12:12 -07:00
r888888888
610e2bdedd
fixes #3191
2017-06-27 14:48:55 -07:00
Albert Yi
39f91bdae7
Merge pull request #3195 from evazion/feat-batch-upload-thumbs
...
#3194 : Display thumbnails on batch upload page
2017-06-27 13:43:13 -07:00
Albert Yi
c5e3973d6a
Merge pull request #3192 from evazion/feat-replacement-remove-tags
...
Post replacements: streamline removing tags; fix replacement url.
2017-06-27 13:41:50 -07:00
evazion
e3a4bfd28c
/upload/batch: use image proxy for embedded thumbnails.
2017-06-27 13:46:59 -05:00
evazion
281ddae35d
/uploads/batch: add thumbnail previews ( #3194 ).
2017-06-27 13:31:47 -05:00
Albert Yi
d33b57b57e
Merge pull request #3188 from evazion/fix-artcomm-versions-view
...
Fix #3187 : DText is not enabled on certain views
2017-06-26 16:38:08 -07:00
Albert Yi
f0fe62f077
Merge pull request #3190 from evazion/feat-tumblr-support
...
Add Tumblr integration (#3184 )
2017-06-26 16:37:14 -07:00
evazion
9c50b24306
post replacements: add "Tags" field to dialog box.
...
* Adds a "Tags" field to the post replacement dialog box. The given tags
are added to the post after replacement.
* Prefills the Tags field with certain tags that usually need to be
removed after replacement: replaceme, image_sample, jpeg_artifacts, etc.
2017-06-26 18:17:16 -05:00
evazion
8d22ab9de8
post replacements: record upload source/filename in replacement_url.
...
* Record "file://#{filename}" as the replacement url when the
replacement comes from an uploaded file.
* Record the actual url downloaded by the upload process otherwise. This
may be different from the url given by the user, since the upload
process may rewrite the url.
2017-06-26 14:18:57 -05:00