Commit Graph

4266 Commits

Author SHA1 Message Date
Max Goodman
debfb97fa7 Move display sizing logic out of linklisting template. 2014-04-10 13:21:21 -07:00
Max Goodman
8c85eb1fd3 Add /r/ to subreddit name for links in listings. 2014-04-10 13:21:21 -07:00
Max Goodman
d3b0593db5 Hide rank numbers on the front page. 2014-04-10 13:21:21 -07:00
Max Goodman
dcff90aa0c Track whether a subscription is the user's first in breadcrumbs. 2014-04-10 13:21:21 -07:00
Keith Mitchell
d4dce83ee7 Remove hit count info from search 2014-04-08 15:13:10 -07:00
Roger Ostrander
35b988c926 Admin notes: Include notes for subreddits 2014-04-08 15:13:05 -07:00
Andre D
ac43123433 docs: Fix json api type on oauth endpoints. 2014-04-08 15:13:00 -07:00
Roger Ostrander
b99a747eb0 LinkInfoPage: Include 'noindex, nofollow' for spam links 2014-04-08 10:40:02 -07:00
Brian Simpson
a63b4c3c81 Delete VBid validator.
Logic has moved to PromoteController.
2014-04-08 03:36:21 -04:00
Brian Simpson
16585041c8 Remove maximum bid restriction for sponsors. 2014-04-08 03:36:15 -04:00
Neil Williams
5f912258da Add some safety checks to award modification / creation. 2014-04-08 08:42:37 -07:00
Andre D
bbf15c1d1d wiki: Only show 3 lines of diff context. 2014-04-08 08:42:37 -07:00
Andre D
aefd1031a1 modmail: Only add to inbox if you dont have permissions. 2014-04-08 08:42:37 -07:00
Andre D
1e2d9e779f save: Use i18n. 2014-04-08 08:42:37 -07:00
Andre D
36bb6298db thumbnails: Set og:image on links with thumbnails. 2014-04-08 08:42:37 -07:00
Andre D
f8ffa3810d submit_text: Error on too long. 2014-04-08 08:42:37 -07:00
Roger Ostrander
2330f0cecd Admin notes: Include translation targets for IP addresses 2014-04-07 15:30:11 -07:00
umbrae
3f7c026916 Make chosen maxwidth available for MediaByURL cache 2014-04-07 15:25:33 -07:00
umbrae
088479691a Scrapers: Allow differing setting of widths 2014-04-07 15:25:33 -07:00
Brian Simpson
3c5e24b0d1 Update promo slideshare url. 2014-04-07 15:22:23 -07:00
Andre D
a635c9cfd3 karma: Add karma list api endpoint. 2014-04-07 15:21:49 -07:00
Andre D
faefd7bba1 trophy: Add trophy listing api. 2014-04-07 15:21:39 -07:00
Keith Mitchell
9babd2e558 /dev/api: Reorder decorators so 'view code' points to the right place 2014-04-07 15:21:22 -07:00
Keith Mitchell
7f35e59a65 Refactor "allowed_scopes" -> "required_scopes"
This makes it more clear what the parameter does.
2014-04-07 15:21:17 -07:00
Keith Mitchell
ecb85f0453 /dev/api: Fix docs for /api/v1/me/prefs 2014-04-07 15:21:10 -07:00
Keith Mitchell
1cafe49b5d OAuth: Allow use of captchas
Add support for "scopeless" oauth 2 endpoints,
set captcha endpoints to be scopeless.
2014-04-07 15:20:59 -07:00
Keith Mitchell
573433a4a2 OAuth: Fix APIv1Controller's handling of missing tokens 2014-04-07 15:20:38 -07:00
Jason Harvey
5a39d8a5a1 Do not incr_counts for links if item.is_author. 2014-04-07 04:35:32 -07:00
umbrae
331fab6b7f Scraper/Websockets: Small cleanup of debug messages, dev config. 2014-04-03 06:14:59 -04:00
Keith Mitchell
db27522eb6 /dev/api: PATCH endpoint with JSON model support 2014-04-03 13:08:45 -07:00
Keith Mitchell
c413a2e2f1 Add PATCH /api/v1/me/prefs endpoint
Allows partial update of the user's preferences
2014-04-03 13:08:36 -07:00
Keith Mitchell
3ea509d4c0 Refactor /post/options for re-use
* Create a var with the validators
* Don't always grab langs out of request.POST
* Refactor validation to a separate function
2014-04-03 13:08:26 -07:00
Keith Mitchell
f72982b914 OAuth2: Add /api/v1/me/prefs endpoint
Returns the logged in users preferences
Supports a 'fields' parameter for limiting the
response to the desired fields.
2014-04-03 13:08:19 -07:00
Keith Mitchell
79765e2cd3 Don't double ratelimit error responses 2014-04-03 13:08:09 -07:00
Keith Mitchell
3cc9896009 Add stats tracking to sitewide ratelimiting 2014-04-03 13:08:00 -07:00
Keith Mitchell
326d332825 Add sample_rate param to Stats.event_count 2014-04-03 13:07:51 -07:00
Keith Mitchell
1ba62d43ca Ratelimits: Recover if the incr fails
For a miniscule number of requests, the old value
in memcache will fall out after the call to `add`,
but before the call to `incr`. This change recovers
from that scenario.
2014-04-03 13:07:42 -07:00
Keith Mitchell
c347805646 Be consistent with cache_chain names 2014-04-03 13:07:31 -07:00
shlurbee
d19cd901f1 Add goldloggedin as a user type in GA custom variable.
This change will let us segment users by gold membership.
2014-04-03 11:42:46 -07:00
Brian Simpson
dab16c1458 Handle 'Failed' and 'Denied' PayPal IPNs.
These are noops and can be ignored.
2014-04-03 04:27:30 -04:00
Brian Simpson
17fcb723fc fetch_trackers: allow up to 100 ids. 2014-04-01 21:41:39 -04:00
Brian Simpson
691d00d39f Add PromosController for showing listings of live promos. 2014-04-01 21:41:39 -04:00
Brian Simpson
b1ddf7eac6 Make CampaignBuilder compatible with LinkListing. 2014-04-01 21:41:35 -04:00
Neil Williams
9ab04143c8 install-reddit: Install plugins about, liveupdate, meatspace by default. 2014-04-02 10:23:20 -07:00
Neil Williams
38348a27e8 install-reddit: Add some helper scripts to the install env.
These reduce typing to do paster run and paster shell by taking
advantage of the standard location of run.ini.
2014-04-02 10:23:20 -07:00
Neil Williams
11ac60fa60 install-reddit: Focus on dev-environment installs and reorganize.
Production installs should work pretty differently and I have a few
plans for that.  In the meantime, this simplifies away a few of the bits
that were ill advisedly trying to help production installs and changes
the installer to be better suited to the modern environment with plugins
etc. by putting all code in a src/ directory.
2014-04-02 10:23:20 -07:00
Brian Simpson
cc7b9f86e5 POST_subscribe: return errors rather than silently fail. 2014-04-01 07:39:31 -04:00
Roger Ostrander
d942c806d8 Domain Notes: Keep and display notes for individual domains 2014-03-31 17:53:22 -07:00
Brian Simpson
debf587e68 Show a warning message when a user changes the bid of a paid campaign. 2014-03-31 17:21:52 -04:00
Brian Simpson
47a84541f4 Send an email when a campaign's transaction is voided. 2014-03-31 17:21:52 -04:00