Commit Graph

1957 Commits

Author SHA1 Message Date
Max Goodman
9d97503ccb Move space escaping to individual tagline templates. 2012-10-09 16:23:36 -07:00
Keith Mitchell
e673f1f977 error pages: c.errors sometimes not set
With the proper import this time.
2012-10-09 15:52:14 -07:00
Keith Mitchell
77731b52f9 Whitespace changes for @spladug 2012-10-09 15:52:14 -07:00
Keith Mitchell
dca1431548 search: Make 'flair' a searchable field again 2012-10-09 15:52:13 -07:00
Keith Mitchell
a392ef2ffe css: Remove -moz/-webkit-border-radius
Removed from reddit.css, per:
	http://caniuse.com/#search=border-radius
2012-10-09 15:52:13 -07:00
Keith Mitchell
a444de7341 Gold: Add proper "Thanks!" landing page 2012-10-09 15:52:13 -07:00
Keith Mitchell
239d01ee67 analytics: Track gold checkouts via Analytics
This adds the necessary HTML and JS to the gold
checkout pages to get google analytics data on
those actions.
2012-10-09 15:52:13 -07:00
Neil Williams
1a30a7012f Revert "Move /comments to new query cache."
Looks like we'll have to figure out a different data model for this
one. It's just too high-volume.

This reverts commit 56852f1f068b7fb1dc83d547e383e93b3877abb9.
2012-10-09 15:44:59 -07:00
Max Goodman
47549b4bb3 Defer translating system messages.
Currently, messages are sent using the language of the sender, which
doesn't work well for system messages. We're going to avoid translating
them for now until we can return such messages in the language of the
receiver.
2012-10-09 15:38:13 -07:00
Max Goodman
db7b531a71 Change moderator adding to an invite system. 2012-10-09 15:38:13 -07:00
Max Goodman
7706f844f3 Generalize moderator toggle UI styles. 2012-10-09 15:38:13 -07:00
Max Goodman
8f3084f03d Remove unused UserList.addable property. 2012-10-09 15:38:12 -07:00
Max Goodman
8edf4d5fec UserList wants to be with its friends. 2012-10-09 15:38:12 -07:00
Max Goodman
fa856f515e Whitespace. 2012-10-09 15:38:12 -07:00
Max Goodman
61ae776245 Fix spacing in message taglines. 2012-10-09 15:38:12 -07:00
Max Goodman
4c7eb1b561 Add modmail handling to user added system notifications. 2012-10-09 15:38:12 -07:00
Max Goodman
f23bef2445 Move POST_friend notifications to a system messages lib. 2012-10-09 15:38:12 -07:00
Max Goodman
ca3ce29cf4 Deduplicate sr friend types. 2012-10-09 15:34:37 -07:00
Max Goodman
136826343e Make SR UserRel list diff friendly. 2012-10-09 15:33:15 -07:00
cswider
d3f82297d1 Set header separator cursor to the default cursor. 2012-10-09 15:33:15 -07:00
Kevin Kress
6d5952703b Remove unreferenced models files.
2 files that haven't been updated since 2008.
2012-10-09 15:33:15 -07:00
Max Goodman
736b4866b9 This alt text has no semantic value. 2012-10-05 15:42:46 -07:00
Max Goodman
3c1f792679 Silly tooltips. 2012-10-05 15:42:46 -07:00
Max Goodman
57e8bbe6bb Brick the submit page rule reminder. 2012-10-05 15:42:46 -07:00
shlurbee
0e238fa9a3 Don't create new record for failed transaction
This fixes a bug where "authorized" bid records with trans_id 0 were showing
up in the bid history.
2012-10-05 15:25:04 -07:00
shlurbee
242a4fbe67 Cass data store for promotion metrics
Used in inventory prediction.
2012-10-05 15:25:02 -07:00
shlurbee
ba77b47457 Inventory prediction functions
Fetch and store min daily pageviews from last 2 weeks for every subreddit in the traffic db
2012-10-05 15:24:56 -07:00
Keith Mitchell
3326bb153c search: Metaclasses are dangerous tools 2012-10-04 15:54:43 -07:00
Keith Mitchell
fe7b7ef7e7 search: sr.sidebar is actually sr.description 2012-10-04 15:54:37 -07:00
Keith Mitchell
7000b97490 search: Be less silent on errors 2012-10-04 15:54:31 -07:00
Max Goodman
9ab5856d37 Make adminon/adminoff point to SSL pages. 2012-10-04 15:12:56 -07:00
Max Goodman
41dcb2c924 Add a rules reminder to the submit page. 2012-10-04 15:12:56 -07:00
Keith Mitchell
4e484c86a0 search: Rephrase search help drop down 2012-10-04 15:12:55 -07:00
shlurbee
a2f560cb63 Campaign url that redirects to edit_promo page
New route that takes the id36 of a promocampaign as a param and redirects to
the edit_promo page for the associated promoted link. Useful for looking up a
campaign without having to open paster shell.
2012-10-03 14:39:28 -07:00
shlurbee
829b0a312f Check authorize.net payment profile limit
Authorize.net enforces a limit (10) on the number of payment profiles that can
be created by one user. Now we disable the "create new profile" menu item
when the limit has been reached.
2012-10-03 14:39:21 -07:00
shlurbee
5328df8ec8 Clean AuthorizeNetException message
Removes credit card number from exception error message to make sure it
doesn't show up in logs
2012-10-03 14:39:11 -07:00
Keith Mitchell
a0d84ad08a js.py: get_lang() sometimes returns None
This happens mostly when attempting to create an error
document.
2012-10-03 14:38:38 -07:00
Keith Mitchell
992eaf7394 Add schema to reddit's l2cs parser
This should eliminate user 'error' where the user
tries to search against a field that doesn't exist

It also paves the way for more schema-based features
in the future.
2012-10-03 14:38:29 -07:00
Logan Hanks
d2e060f0b2 Add "modlog" oauth2 scope. 2012-10-02 11:00:58 -07:00
Logan Hanks
1ac52595b6 Add a json template for ModAction. 2012-10-02 11:00:58 -07:00
Neil Williams
496924cf56 /reddits: Filter over18 subreddits app-side.
This avoids doing a join that will filter out all subreddits which have
never changed their preference. That is, since the over18 data attribute
has a default value it will not have a data row unless changed and the
natural join caused by the data-attribute filter will implicitly discard
any subreddits that don't have the data attribute.

Fixes reddit/reddit#527.
2012-10-02 11:00:58 -07:00
bsimpson63
252ee3e551 Special handling in Link.keep_fn to show spam on domain pages.
Keep spam only if the user moderates the link's subreddit.
2012-10-02 11:00:58 -07:00
Neil Williams
d86a7fe89f pagecache: Show memcached errors in app logs when writes fail.
This gives us a little more information on failed writes to the
pagecache, though we probably won't see any because of no_reply mode.
2012-10-02 11:00:58 -07:00
Neil Williams
1c290ef114 Remove unused query stats collector. 2012-10-01 14:30:57 -07:00
Bryce Boe
9a19477b23 Add count to morecomments json. 2012-10-01 14:30:57 -07:00
Andre D
8b5425b9b0 validator: Reset has_errors every call. 2012-10-01 14:30:57 -07:00
Neil Williams
d6d625b92a Allow sponsors to see comments on pre-run/rejected promos. 2012-10-01 13:49:34 -07:00
Logan Hanks
77f219ecf4 Rename "Moderating Flair" scope to "Moderate Flair". 2012-10-01 13:49:34 -07:00
Logan Hanks
818cc8982b Clean up oauth info bar on login page. 2012-10-01 13:49:34 -07:00
Logan Hanks
22b49edc3c Add oauth-only view of api docs. 2012-10-01 13:49:34 -07:00