Commit Graph

166 Commits

Author SHA1 Message Date
David King
ff002a4bce Add backend for new gold feature: "remember my visits".
Store and mark what links users have already read, even between
computers.
2013-10-24 13:11:42 -07:00
Neil Williams
75f548b941 Remove old goldvertisement config. 2013-10-19 15:56:47 -07:00
Neil Williams
134b09a79a Replace goldvertisement with daily progress bar.
Many thanks to @chromakode for design and copy.

The old goldvertisement live config is left in for now so that old code
continues to function during rollout.
2013-10-19 15:56:47 -07:00
Neil Williams
8f7db4f3da Media Provider: Add "filesystem" provider for local nginx.
This media provider is for simple single-server installations where an
HTTP server running on the same machine handles serving of the static
media files.

An appropriate setup with nginx is now the default in the new install
script.
2013-10-14 13:55:56 -07:00
Neil Williams
5cbea9cdf4 Factor S3 media uploads out to new provider system.
This introduces a new "provider" system which allows core pieces of
code to be swapped out for different hosting setups.
2013-10-14 13:55:56 -07:00
Brian Simpson
5202a824c6 Show how many server seconds the user has paid for. 2013-10-09 16:28:43 -04:00
Neil Williams
f2cf180597 Remove remnants of legacy stylesheet systems. 2013-10-04 11:53:47 -07:00
Brian Simpson
ed18fc5b21 Delete g.countries. 2013-09-27 15:20:41 -04:00
Brian Simpson
8cf4eaea0e Open selfserve to all countries. 2013-09-27 15:20:35 -04:00
Brian Simpson
b884ef23cc Future date limit on creating campaigns. 2013-09-25 14:55:09 -04:00
Andre D
e66b786288 multis: Disable multi showcase subreddit by default. 2013-09-24 14:37:45 -07:00
Chad Birch
76c8a6e7d7 Automatic gold messages: add "bottlecap" phrases
This allows defining a set of phrases on a wiki page, and whenever an
automatic gold-related PM is sent, a random phrase is selected and
appended to the message.
2013-09-23 13:28:35 -07:00
bsimpson63
5967acfa83 Use an ad server to select promos for spotlight.
Replaces client side weighted random selection.
2013-09-18 19:40:38 -04:00
bsimpson63
a0c4a904e2 Sell campaigns by CPM. 2013-09-18 17:56:17 -04:00
Neil Williams
c0d63cf803 Start writing HTTPS-friendly subreddit stylesheets.
This does several things to subreddit stylesheets:
- stores them on the thumbs buckets rather than the main static bucket.
  (this was not desirable before on reddit.com due to CDN configuration)
- enforces a new restriction of custom (%%style%%) images only in
  stylesheets to make secure urls easier to resolve. existing subreddits
  are grandfathered in for now.
- writes, if possible as above, a second stylesheet that references
  subreddit images over https.

At some point in the future, the thumbs buckets should be directly accessible
on HTTPS via the same URLs which would remove the need for the second
stylesheet to be created and uploaded. The custom image rules and other changes
would still be good.
2013-09-17 13:39:17 -07:00
Max Goodman
22a5328422 Web frontend logging. 2013-09-16 17:15:35 -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
Ricky Ramirez
052c661f28 Add employees to example.ini 2013-08-16 16:15:31 -07:00
Ricky Ramirez
3735a63f24 Allow ratelimited user agents to have individual limits. 2013-08-07 12:14:11 -07:00
Max Goodman
f3ea04aef0 Add intro widget to listing chooser with sample multireddits. 2013-07-24 16:53:55 -07:00
Max Goodman
490d981adc Allow a static domain to be specified for subreddit stylesheets.
Since the S3 bucket we upload stylesheets to is not necessarily the same
as the rest of the statics, it is useful to be able to specify this
static domain separately.
2013-07-24 16:53:53 -07:00
Jason Harvey
111459785d Allow a maximum of 50 pending mod invites. 2013-07-22 14:38:13 -07:00
Neil Williams
713a8ee112 Shard commentstree_q processing by Link ID.
This should better isolate large threads and increase batch
effectiveness.
2013-06-19 16:12:24 -07:00
Neil Williams
b5c57aa7ed Add new dedicated memoize cache pool and start dual-writing.
Memoize creates very large objects that take up lots of space
and has weird behaviour when it gets evicted. We get some isolation
and monitoring by moving it to its own pool. Since it is sensitive
to split-brain stuff, we start out here by dual-writing to the new
pool.
2013-06-16 22:35:40 -07:00
Max Goodman
ae2b646e28 Add gold-specific sidebar message. 2013-05-22 15:41:35 -07:00
Max Goodman
79ccaca4ea Add support for a live-config sidebar info message. 2013-05-15 16:14:13 -07:00
Neil Williams
58a6496694 Allow boto to gather AWS credentials from alternate sources.
If the relevant configuration options are left blank in the ini file, we
will pass None to boto for credentials allowing it to look in other
places, including the AWS instance metadata used by Roles for EC2.
2013-05-02 13:39:26 -07:00
Max Goodman
a6c252e683 Display privacy philosophy on registration form. 2013-05-01 14:10:51 -07:00
Max Goodman
4b53396821 Privacy policy and user agreement viewer. 2013-05-01 14:10:50 -07:00
Neil Williams
61fb872026 Remove obsolete uWSGI logging configuration option. 2013-03-28 15:01:49 -07:00
Max Goodman
6101c1ad13 stats: Only track timings for interesting templates. 2013-03-21 16:54:37 -07:00
Neil Williams
3574a64992 Add an optional paste-filter compatible Gzipping middleware.
The paste-supplied gzip middleware is primarily for testing and is
insufficient in that it:

1) is unable to require a minimum size for gzipping
2) does not correctly add the "Vary: Accept-Encoding" header

it is also somewhat difficult to add those features given its structure.
2013-03-07 15:21:01 -08:00
Max Goodman
b770a4b1e2 reddit.css -> reddit.less
Note: you'll need to update your .ini stylesheet name to have a .less
extension.
2013-02-27 14:25:30 -08:00
bsimpson63
a4e0aa022f RedditGifts gold controller. 2013-02-27 17:15:27 -05:00
bsimpson63
e301b34cda Coinbase payments for reddit gold. 2013-02-15 14:12:16 -05:00
bsimpson63
3d511075a0 Stripe payments for reddit gold. 2013-02-15 14:12:15 -05:00
Neil Williams
775c795894 Use WebError Reporter objects for exception logging.
This brings log_q reporting and logging-based reporting (syslog)
together into one place as WebOb error reporters.
2013-02-14 14:18:47 -08:00
Neil Williams
14f8f73513 Remove various unused configuration settings. 2013-02-06 14:33:22 -08:00
Neil Williams
3febc83d68 Remove obsolete query_cache configuration options.
Much new code expects the query cache to always be present, especially
for stuff that is 100% Cassandra based and doesn't even have a Postgres
query to back it. These options are just cluttering up our code since
they're useless now.
2013-02-06 14:33:22 -08:00
Neil Williams
472d07ab40 Remove lingering remnants of obsolete "translator" interface.
This was obsoleted by Transifex.
2013-02-06 14:33:22 -08:00
Neil Williams
5f916f5812 Remove unused QueryController.
This was part of the obsolete query queue system.
2013-02-06 14:33:22 -08:00
Neil Williams
03022931ca fetch_trackers: Change tracking_domain config to be a full URL. 2013-01-28 12:08:22 -08:00
Max Goodman
98d0ca5e7a Move announcement_message to ZooKeeper. 2013-01-22 16:33:35 -08:00
bsimpson63
a70a6eac62 Process traffic logs on Amazon EMR. 2013-01-22 13:58:19 -05:00
Keith Mitchell
37a476677f Limit the number of campaigns per promoted link 2013-01-03 14:26:56 -08:00
Max Goodman
099b6afa6f Whisper sweet nothings to the goldmembers. 2012-12-07 15:53:11 -08:00
Max Goodman
4024dd5e8a Markdownify goldvertisements. 2012-12-07 15:53:11 -08:00
Andre D
8e188e2b3c wiki: Rename wiki_disabled to disable_wiki. 2012-12-06 14:54:13 -08:00