Neil Williams
b87d87f9a5
Determine c.secure status based on X-Forwarded-Proto header.
...
Previously, c.secure status was determined based on the domain used.
This allows for the status to vary independently of domain for greater
flexibility.
Note: it is critical that the load balancer strips any X-Forwarded-Proto
headers that may've been sent by the client.
2013-09-12 13:35:17 -07:00
Max Goodman
552e9828ab
Make request.fullurl reflect the c.secure url_scheme change.
2013-09-12 13:35:15 -07:00
Max Goodman
01582db9e6
Move CHEATER error into a flag.
2013-09-10 13:55:35 -07:00
Max Goodman
f32c951cf2
Remove obsolete .wired views.
2013-09-10 13:55:27 -07:00
Max Goodman
24eb06ab07
See you later RewriteMiddleware.
...
This appears to only have been be used for obsolete .js URL forms of
widgets.
2013-09-10 13:55:27 -07:00
Max Goodman
226245797a
Collect simple vote count stats.
2013-09-10 13:55:27 -07:00
Ricky Ramirez
fcb49ce518
health: Use one second for the timeouts.
2013-09-10 13:55:27 -07:00
Neil Williams
006add6a65
Make scraper_q start fetching secure media objects.
...
These are media objects that can be embedded safely in an HTTPS page.
Only a handful of services support this through embedly right now, and
that list is hardcoded until embedly's service API is updated.
2013-09-09 15:44:24 -07:00
Ricky Ramirez
eb6369f72c
Add health check for caches.
2013-09-09 11:35:10 -07:00
Ricky Ramirez
1e1e75482d
cache: Remove obsolete PyMemcache implementation.
2013-09-09 11:34:48 -07:00
Ricky Ramirez
707cafd8b4
utils: Remove obsolete cmd_utils module.
2013-09-09 11:34:38 -07:00
Max Goodman
2566f25a26
Add tab to listing chooser for multi explore subreddit.
2013-09-05 16:04:55 -07:00
Max Goodman
a71bc6626c
Add gold perks listing chooser tab.
2013-09-05 16:04:55 -07:00
Max Goodman
3d0e1971bf
Move sample multis list to live config.
2013-09-05 16:04:53 -07:00
Max Goodman
df2d7e91c0
Add explanation on how to hide default listing chooser display.
2013-09-05 16:04:12 -07:00
Max Goodman
07366ac83e
Move left bar collapsing to server-side preference.
2013-09-05 16:04:09 -07:00
Max Goodman
980113c89e
Remove semicolon.
2013-09-05 16:03:40 -07:00
Max Goodman
fac604ddb7
Recommend X-Modhash usage in the API docs.
2013-09-05 16:03:40 -07:00
Max Goodman
3775c67796
Update contest mode help tooltip.
2013-09-05 16:03:40 -07:00
Neil Williams
3962494ab8
Use HTTPS for all communication with embedly.
2013-09-05 12:46:09 -07:00
Neil Williams
88bac49402
Fix media embeds on promoted links.
2013-09-05 12:46:09 -07:00
Neil Williams
252437da17
Overhaul scraper_q processing.
...
This is primarily about removing the dead old scrapers in favor of a
streamlined oEmbed-based system. The new embed.ly scraper uses their
Service API to determine which URLs can be scraped through them. This
removes the giant list of domains and regexes in the code and makes the
scraper_q proc always have the latest list of scrapable domains.
2013-09-05 11:17:14 -07:00
Andre D
ee5f8e188b
redirect: Use fullurl instead of url.
2013-08-28 16:42:07 -06:00
Andre D
2bee0529d4
middleware: Add a request.fullurl.
2013-08-28 16:42:07 -06:00
Chad Birch
3dab78c514
Mod log: add support for sticky/unsticky
2013-08-28 16:42:07 -06:00
Chad Birch
ac83d83cbf
Gold partners: Add Rover.com and SOL Republic
2013-08-28 16:42:06 -06:00
Chad Birch
6be986b315
Gold partners: remove i18n
...
These offers change occasionally, are only available in the US, other
parts of these pages aren't i18n, and phrases like "10% off" cause
issues with Babel, so it's just a lot simpler overall to drop this.
2013-08-28 16:42:06 -06:00
Max Goodman
e85287f9d2
Update post expando buttons.
2013-08-28 14:20:30 -07:00
Max Goodman
a1d3e94760
Remove unused poll expando icons.
2013-08-28 14:20:30 -07:00
Max Goodman
1d76adf7f7
Only allow admins to modify system_user's multis.
2013-08-28 14:20:30 -07:00
Roger Ostrander
d63d930182
Messages: Queue yourself no matter what API endpoint used
2013-08-28 13:35:29 -07:00
Chad Birch
4f2097d08d
Spam filter settings: add "all" level
...
This level makes it so that all items of the chosen type submitted to
the subreddit will be filtered initially. This is useful for subreddits
that want to be extremely strict with their submissions, as well as for
many subreddits to be able to go into "lockdown" in the case of a raid
or something similar.
2013-08-23 12:26:29 -06:00
Arianna Story
efe9359f52
Fix very minor wording error
...
Changed "the last you hear of us" to "the last you hear from us." Surely they'll hear of reddit again.
2013-08-23 10:29:38 -07:00
Josh Wardle
e09bde8686
Language change to reddiquette on rules page
2013-08-23 10:29:38 -07:00
Neil Williams
0b4ac87a17
ImagesByWikiPage: protect against c.site not having _id36.
...
This appears to be happening in some rare corner cases because of the
wiki-embed in the registration form.
2013-08-22 17:27:47 -07:00
Max Goodman
5341ceee09
Fix subreddit header attribute name.
2013-08-22 14:35:53 -07:00
Max Goodman
d696c8cf8c
Add comment explaining subreddit JSON private attrs list.
2013-08-22 14:35:53 -07:00
Max Goodman
c565694c99
Restrict access to private subreddit data via the API.
...
Thanks to a report by Jordan Milne.
2013-08-22 14:35:36 -07:00
Max Goodman
b1dc272847
Force logged out state for .wired/.js/.embed.
...
Thanks to Jordan Milne for pointing out this oversight.
2013-08-22 14:35:36 -07:00
Neil Williams
fac84e86c3
/api/delete_sr_image: Ensure valid name submitted.
...
Previously, if an invalid image name were passed to this endpoint, it
would fail because VCssName would return an empty string and we'd never
check for the validity of the value.
Fixes reddit/reddit#883 .
2013-08-21 16:44:31 -07:00
Neil Williams
8d4ba3971b
Stop writing subreddit images to old model.
2013-08-21 14:23:51 -07:00
Chad Birch
77c658b6ce
API: Change "type" to "subreddit_type"
2013-08-21 15:21:53 -06:00
Neil Williams
903acd7e21
Cut subreddit stylesheet image reads over to new model.
2013-08-21 11:05:39 -07:00
Chad Birch
cc5d31630c
API: Add more subreddit attributes
...
Adds comment_score_hide_mins, public_traffic, submission_type,
submit_link_label, submit_text_label, type, user_is_banned,
user_is_contributor, user_is_moderator, user_is_subscriber
2013-08-21 11:57:57 -06:00
Chad Birch
a7aa31d16d
jsontemplates.py: data_attrs cleanup
...
Switched to better multi-line format/indentation, fixed whitespace,
added trailing commas, and alphabetized all attr lists.
2013-08-21 11:57:57 -06:00
Chad Birch
2c6d347b80
Link hiding: don't hide own posts due to low score
...
Also refactored logic of this section to be a lot simpler.
2013-08-21 11:57:57 -06:00
Chad Birch
bd9aa09402
Approval checkmarks: initialize approval_time
2013-08-21 11:57:57 -06:00
Chad Birch
8fe9623329
Domain media info: ensure media_object is a dict
2013-08-21 11:57:57 -06:00
Roger Ostrander
5f6ba13aaf
Subreddit options: Include more fine-grained spam controls
2013-08-20 17:53:07 -07:00
Brian Simpson
0b7bc86ea4
Selftext promoted links need full url for click redirect.
2013-08-20 13:26:02 -04:00