Commit Graph

4836 Commits

Author SHA1 Message Date
Matt Lee
7aa0e2b56e Make min/max constraints in timing_field optional. 2014-09-02 14:36:11 -07:00
Matt Lee
c1c653fac0 Allow setting default targeting type for targeting_field. 2014-09-02 14:36:11 -07:00
Matt Lee
0e9c5cd2f1 Remove dependency on fill_campaign_editor from sponsored.js methods. 2014-09-02 14:36:11 -07:00
Matt Lee
a045074435 Make PromoteLinkEdit inherit from PromoteLinkBase.
Add methods for getting form data to PromoLinkBase.
2014-09-02 14:36:11 -07:00
Matt Lee
788549415b Allow updated UI on pages other than promoted/edit_promo. 2014-09-02 14:36:11 -07:00
Brian Simpson
50d358de0b Support collections on promoted/inventory page. 2014-09-02 14:36:10 -07:00
Matt Lee
becce7f835 Collapse creative editor when opening campaign editor. 2014-09-02 14:36:10 -07:00
Matt Lee
a193428007 Always enable the new campaign button when closing the campaign editor. 2014-09-02 14:36:10 -07:00
Brian Simpson
9236d0ef49 default_thing_wrapper: Don't set rowstyle_cls, it will get overwritten.
Builder also calls add_props, which completely overwrites the attribute.
2014-09-02 01:56:25 -04:00
Brian Simpson
774c28ed7b Don't fire pixels or fetch trackers on requested ads. 2014-09-02 01:56:19 -04:00
Brian Simpson
5243f25f4a Allow all users to view a requested ad.
Previously this was only allowed for sponsors or the owner of the ad.
2014-09-02 01:56:11 -04:00
Brian Simpson
43f7c27d31 Fix location targeting for sponsors.
Also return 403 responses for invalid location targets, rather than
setting location to None.
2014-09-02 01:56:02 -04:00
Brian Simpson
f3b1eab25f Allow sponsors to location target collections at house priority. 2014-09-02 01:55:56 -04:00
Roger Ostrander
b0ffed3ddd Details, userpage: Preserve referers 2014-09-02 14:29:09 -04:00
Brian Simpson
dcb727930e Keep midcol spacing for deleted/removed comments. 2014-08-28 04:30:57 -04:00
Brian Simpson
ed1951823a Obey sort when fetching morechildren. 2014-08-28 04:30:57 -04:00
Brian Simpson
b497b4f962 GET_info: allow lists of things. 2014-08-28 04:30:57 -04:00
Brian Simpson
2b58de12aa api: Separate GET_info and GET_button_info. 2014-08-28 04:30:52 -04:00
Chad Birch
5361dd7d74 Add a simple admin tool for giving users creddits 2014-08-27 16:13:07 -06:00
Brian Simpson
0f5ea44692 Toolbar: make comment layout like the regular site. 2014-08-27 14:43:23 -04:00
Brian Simpson
0a02ac7465 Set domain_override for new promos. 2014-08-27 14:43:23 -04:00
Brian Simpson
5d5c17581a Remove the concept of trusted sponsor accounts. 2014-08-27 14:43:23 -04:00
Brian Simpson
57f1623d3f Link: Add domain_override to defaults. 2014-08-27 14:43:23 -04:00
Brian Simpson
6354355afc Add closing paren for domain override label. 2014-08-27 14:43:18 -04:00
Brian Simpson
8c4c2b70b5 inventory: Don't penalize if all targets have been allocated. 2014-08-26 22:35:15 -04:00
umbrae
9361596d68 Register hooks on app load rather than inline 2014-08-23 00:09:05 -07:00
umbrae
52f99bcaea PM new users a welcome message. 2014-08-23 00:08:51 -07:00
Keith Mitchell
29cab429de OAuth2: Manual token revocations
Clients may now revoke tokens when they are finished. Though
not required, revocation allows clients to "dispose" of no
longer needed credentials.

This implements RFC 7009
2014-08-22 18:13:12 -07:00
Keith Mitchell
cefef7d8d2 OAuth2: Don't call get_token with empty ID 2014-08-22 18:13:12 -07:00
Brian Simpson
35918c0843 Show collapsed comment when numchildren is clicked. 2014-08-21 23:36:12 -04:00
Brian Simpson
305f66b06e Fix hiding/showing of tagline for comments collapsed for a reason. 2014-08-21 23:36:05 -04:00
Jordan Milne
f064a08b66 Plug several leaks of (username, flair) pairs for deleted users
Thanks to /u/rotorcowboy for the report!
2014-08-21 13:55:43 -07:00
Gavin
70bcb4b39b CSS Filter: Add 'order' to CSS SAFE_PROPERTIES
Allow the order property for sorting flex items
2014-08-21 13:55:43 -07:00
ArrestedDevelopment
dc131319a6 CSS Filter: Add 'will-change' to SAFE_PROPERTIES
In the browsers that support it, this property will allow for GPU-accelerated animations.
2014-08-21 13:55:43 -07:00
ArrestedDevelopment
138e43e2b4 CSS Filter: Add 'cubic-bezier' to SAFE_FUNCTIONS 2014-08-21 13:55:43 -07:00
Brian Simpson
c588a8cda1 SitewideTraffic: Show top 250 subreddits. 2014-08-20 23:29:11 -04:00
Brian Simpson
5f1d548717 traffic: Split PageviewsBySubreddit for top and specified. 2014-08-20 23:29:11 -04:00
Brian Simpson
2db5b6f858 traffic.top_last_month: Specify how many results to return. 2014-08-20 23:29:05 -04:00
Neil Williams
a968255647 Media: Switch to SHA-256 for file hashing. 2014-08-21 10:52:20 -07:00
Neil Williams
4c787ad7a0 Media: Remove truncation of filename hashes.
This was unnecessary and could potentially allow for easier collisions.
2014-08-21 10:52:20 -07:00
Brian Simpson
478fac43a4 POST_morechildren: Don't lookup comments in validator. 2014-08-20 21:04:22 -04:00
Brian Simpson
49f27e68c9 PromoteInventory: fix dict.fromkeys mutable item issues. 2014-08-20 14:56:42 -04:00
Brian Simpson
0a6d61157b Cleanup comment_skeleton inherited templates. 2014-08-20 14:56:42 -04:00
Brian Simpson
a44c297734 Comment: Don't make duplicate collapsed/noncollapsed. 2014-08-20 14:56:37 -04:00
Neil Williams
6d4436a5e7 utils.md: Allow passthrough kwargs. 2014-08-20 10:52:57 -07:00
Brian Simpson
88f0fd156d Use scraper for promoted link embeds. 2014-08-20 10:25:14 -04:00
Brian Simpson
236957c7ae media: Give option to not upload scraped thumbnail. 2014-08-20 10:25:07 -04:00
Brian Simpson
74c1166e86 Don't use a special cpm for country level targeting. 2014-08-15 10:56:48 -04:00
Brian Simpson
b33aa62dfe Use the regular cpm when targeting the technology collection. 2014-08-15 10:55:53 -04:00
Brian Simpson
6b8da18b07 Differentiate collections on inventory page. 2014-08-15 10:54:25 -04:00