Commit Graph

389 Commits

Author SHA1 Message Date
ketralnis
dac5fa322e Allow utils.worker to be joined explicitly 2009-07-28 15:53:51 -07:00
ketralnis
f16741269c I can do basic arithmetic, I promise 2009-07-28 15:20:12 -07:00
ketralnis
45424f6bfa Make that work with more than one sort-column 2009-07-28 14:59:04 -07:00
ketralnis
4088536192 Properly sort spam page 2009-07-28 14:48:45 -07:00
Christopher Slowe
72cad18d25 fix to last patch when no user is logged in 2009-07-28 17:14:06 -04:00
Christopher Slowe
352e8d4775 fix to /r/all/top?t=day issies; fix to caching issues with toolbar 2009-07-28 16:50:16 -04:00
ketralnis
e65311e08c Typo when submitting spammy links 2009-07-28 12:13:09 -07:00
ketralnis
dadae89bb2 Expose spam and reported listings to moderators. Lock concurrent votes. 2009-07-28 11:59:47 -07:00
spez
1fdf8cdbb3 dont precompute top_links page temporarily 2009-07-27 16:15:16 -07:00
ketralnis
ac263fba6f Don't check media embeds for validity. (Instead cleaned up the ones in production by hand) 2009-07-27 14:35:14 -07:00
ketralnis
52319ba5ab Avoid bug #417 with Safari caching of iframes
Fix thedailyshow scraper to work with their new site layout
Add GenericScraper for manually adding media content to links
2009-07-27 14:18:34 -07:00
KeyserSosa
9b649bf6ea fix browser language behavior by preserving order. Also style fix to iphone page. 2009-07-22 14:37:23 -07:00
ketralnis
cb4615e34f Just a failsafe: never ever read cookies sent to the unsafe media domain 2009-07-22 13:47:39 -07:00
KeyserSosa
b9ec9f62cf updates to API: about.json on user pages to fetch link and comment karma without scraping html; added link_title attribute to comments in places where they render in html with their link's title (profile page).
updates to iphone page.
2009-07-21 16:47:15 -07:00
ketralnis
2cf3490329 * add some new scrapers
* start showing embedded videos inside of an <iframe>. This allows us to
  embed videos from external sites without having to trust their DOM security

Note that the media_object property on new links is now a dictionary,
but old ones will still be strings
2009-07-21 14:31:11 -07:00
Mike
b02ae5a8e1 Minor fix that definitely wasn't a major security problem 2009-07-20 17:02:03 -07:00
Christopher Slowe
ecbf26ecea traffic patch for new reddits: removes zero division when there are not yet a week's worth of totals 2009-07-20 10:32:18 -07:00
Mike
47835b33db Make [M] optional, add [A] 2009-07-19 11:23:04 -07:00
ketralnis
045381ae32 * lock Thing queries run with write_cache to prevent concurrent runs of
potentially expensive queries
* don't look up default_subreddits in languages that we never store
* start respecting Subreddit.allow_top again
* fix assert syntax in cache.py
2009-07-17 10:51:44 -07:00
ketralnis
c612109da7 Temorarily roll back allow_top change while we migrate 2009-07-16 14:01:36 -07:00
Mike
6113b72ea6 Sort srbar by popularity rather than alphabetically 2009-07-16 12:39:38 -07:00
Mike
852b989f9e srbar updates 2009-07-16 12:14:14 -07:00
ketralnis
b9d93f01a9 Allow some reddits to be specifically excluded from appearing in
the default set. Will require running of
r2.lib.migrate.add_allow_top_to_srs()
2009-07-16 11:48:22 -07:00
KeyserSosa
9c4ebbbdfd Allow submissions with short enough titled to be made into T-shirts thru spreadshirt. 2009-07-15 11:03:15 -07:00
Mike
c0b98e0c3e Fixed 2.6 incompatiblity with the toolbar easter egg 2009-07-14 13:24:29 -07:00
Mike
f37cdeaeed Added user attributes. I'll be optimistic and not call this "User Attributes Checkin #1" 2009-07-14 11:16:06 -07:00
KeyserSosa
09865a2f2b caching issue with previous version 2009-07-13 15:28:41 -07:00
KeyserSosa
54faeb8aac add custom firsttext for iphones, linking out to free reddit app 2009-07-13 13:55:07 -07:00
KeyserSosa
c70106fdc8 updates to service monitor:
* assume we have hit max_connections if connection failures
 * allow checking lifetime of caches other than the data cache
2009-07-13 12:10:46 -07:00
Mike
a196cf7903 Add display_tz and fix deleted link rendering issue 2009-07-10 13:12:03 -07:00
Mike
be9fc66a91 Fixed promotion issue 2009-07-10 09:47:23 -07:00
Christopher Slowe
a0c129b8a0 fix comment rate limiter. 2009-07-09 22:08:43 -07:00
KeyserSosa
c034fe485b repair caching bug related to widget with votable buttons; add over18 parameter to subreddit json 2009-07-09 16:51:30 -07:00
Mike
eac94f7705 spam-related update 2009-07-09 13:21:44 -07:00
KeyserSosa
cb491d858e Update listing JSON template to include explicit before/after; fix validator to make /reddits/mine pagination work correctly. 2009-07-08 15:47:08 -07:00
KeyserSosa
5ea7b2e3ef * add nofollow to comment titles on low point (or banned) comments or links.
* have submissions to banned reddits generate an error message on /submit.
 * make unicode user name pages 404 rather than 500
2009-07-08 11:24:49 -07:00
KeyserSosa
9773633248 make toolbar fail gracefully on links that are private; fix /reddits listing subscriber inconsistencies 2009-07-07 16:14:23 -07:00
KeyserSosa
9fbce20016 fix to subreddit creation when user's language is not english 2009-07-07 15:05:15 -07:00
KeyserSosa
ae1f8bad87 fix meta reddit menu bug by making the unique identifier for reddits be the path rather than the name 2009-07-07 11:00:51 -07:00
Christopher Slowe
ac1f27bb25 fix to over-agressive space compression 2009-07-07 10:18:29 -07:00
Christopher Slowe
427c1ca74c fix tabbing issue. update space compression in api to stop extraneous space removal. 2009-07-06 22:06:21 -07:00
Christopher Slowe
deeb9eb5bf render fix to promoted link creation tool 2009-07-06 20:07:12 -07:00
Christopher Slowe
145bd31bfc JSON fixes to restore the iPhone app to normal working order 2009-07-06 19:24:29 -07:00
KeyserSosa
1851c84010 fix rss comment counter; make deleted/spam submissions render as such; no score minimum on comments 2009-07-06 17:47:21 -07:00
KeyserSosa
cd01700ac8 make uncachable error more specific; have menu buttons cache on GET parameters but not POST 2009-07-06 16:19:20 -07:00
KeyserSosa
83e724a668 fix to broken moderator page 2009-07-06 15:44:30 -07:00
KeyserSosa
2837bb3c45 bugfixes for caching patch 2009-07-06 15:37:48 -07:00
KeyserSosa
b2b20380dc mising new files on caching branch checkin 2009-07-06 14:47:58 -07:00
KeyserSosa
84c1375339 Epic Caching Update. Major features (mostly in r2.lib.wrapped)
* Wrapped -> Templated in cases when there is no thing to be wrapped
 * cachable templates out of cachable pieces which can be reused
 * auto-generation of cache keys for cachable content
 * c.render_style used to propagate current style to children
 * cut down on the number of c and g variables in thing templates.
 * buttons in printable.html now in printablebuttons.html with handler classes in r2.lib.pages.things (planned destination of add_props).
2009-07-06 14:36:33 -07:00
KeyserSosa
9a4b45d310 make buttons work in IE6; make score in buttons behave properly in all browsers; footer link out to redditjobs 2009-06-29 15:59:10 -07:00