Commit Graph

216 Commits

Author SHA1 Message Date
KeyserSosa
230c8a9cc2 moved service monitor innards into r2.lib, updated to use ps instead of top for getting cpu and mem percentages, and added db load requests to AppServiceMonitor 2009-02-12 11:31:06 -08:00
spez
c837ef147c update copyright strings. show star on admin comments after they've been editted 2009-02-11 13:54:09 -08:00
Mike
00b2fa1f5d Merge commit 'origin/master' 2009-02-10 13:25:23 -08:00
Mike
99b4470b31 Fixed markdown so that URLs in <code> blocks no longer have
angle brackets wrapped around them
2009-02-10 11:53:40 -08:00
spez
840a6f010a akamai test failed. retreat 2009-02-09 17:18:24 -08:00
spez
47dae688aa try and prevent akamai from caching sup.json 2009-02-09 17:11:54 -08:00
spez
7ae5a34c32 added more SUP periods 2009-02-09 16:04:46 -08:00
spez
21c4e9a039 added Simple Update Protocol (SUP) support for FriendFeed. 2009-02-08 16:30:47 -08:00
spez
5b0bb8b88c updated memcache.py to 1.43 2009-02-07 14:37:52 -08:00
Jeremy Edberg
4e2cd5e316 Fix for missing target in button 3 2009-02-06 18:52:43 -08:00
Mike
07b5060aa8 no img tags in comments 2009-02-06 10:44:26 -08:00
spez
f87a4ec2ba unicdoe! 2009-02-05 12:10:06 -08:00
spez
9a89f8b895 move last_modified fields into memcache db 2009-02-05 11:04:42 -08:00
spez
9e31995570 iphone demo page 2009-02-03 16:12:02 -08:00
KeyserSosa
d1ff5a77d3 fix meta-login on login page, remove y/n on ban/unban buttons, and add id randomization on child forms to allow for validation. 2009-02-03 15:53:13 -08:00
spez
45043d5419 fix the bookmarklet to show you links from reddits you arent subscribed to 2009-02-03 15:50:37 -08:00
KeyserSosa
70c7cc1652 space compression in buttons to fix safari bug. Improved console debugging in JS. 2009-02-03 11:15:13 -08:00
KeyserSosa
f0583ecb17 updates to service monitor to allow for each app's tracking of database load. Also 'redirecting...' message on most commonly used ajax'd forms when input is accepted. 2009-02-02 14:43:27 -08:00
KeyserSosa
5494254cac fix for broken menu drop-down code on custom css subreddits. 2009-01-29 13:21:54 -08:00
KeyserSosa
d169f779af fix to api validation, and updates to service monitor to account for new database code. 2009-01-28 15:01:56 -08:00
spez
1855d7034e fix example.ini 2009-01-28 16:33:37 -05:00
spez
2a5f891abe Moved database configuration from databases.py to the ini.
Added support for load-balancing database reads.
2009-01-28 16:29:12 -05:00
KeyserSosa
8626d43030 consolidate validators that do Thing._by_fullname lookups 2009-01-27 14:26:12 -08:00
KeyserSosa
2ba7f118ba akamai test object accidentally disappeared during beta. reverting that file. 2009-01-27 12:29:36 -08:00
KeyserSosa
b554cb82fd small bugfixes; empty response no longer raises an exception; mangled thing_ids are ignored by vote; cnamed domains don't break when hitting /r/. 2009-01-27 11:20:33 -08:00
KeyserSosa
14241d19a0 service monitor fix -- prevent displaying red background for db status and bug in is_db_machine lookup 2009-01-26 16:59:29 -08:00
KeyserSosa
394f04c47c fixes to api/register and api/resetpassword 2009-01-26 15:54:43 -08:00
KeyserSosa
16fc8d5818 updates to service monitor. fix 500 on /api/info for empty listings 2009-01-26 15:33:13 -08:00
KeyserSosa
4440ccfc6e overhaul of JS and form handling code, not based on jQuery 2009-01-26 15:11:23 -08:00
KeyserSosa
7742fbfaab temporarily disable spam 2009-01-23 16:03:02 -08:00
spez
1a01375574 fix showing thumbnails to compressed users 2009-01-08 10:55:31 -08:00
spez
b14b4b0233 Fixed check of duplicate urls in promoted edit page 2009-01-04 10:17:55 -08:00
spez
87daf2d130 Fixed various promoted link bugs. Promoted links render as promoted everywhere. Added duplicate url detection to promotion creation. 2009-01-04 10:08:42 -08:00
ketralnis
3e243c2887 socialite is now hosted on https for simplified deployment 2008-12-17 14:44:47 -08:00
ketralnis
908d7a2551 Add c.user_is_sponsor to cache key, avoid showing the 'unpromote' button to non-sponsors 2008-12-17 11:45:18 -08:00
ketralnis
3248275029 Simplify the form for promoting links a bit 2008-12-17 11:01:45 -08:00
spez
ae6ba7a78e added a separate set of memcaches for the render cache 2008-12-16 15:51:43 -08:00
ketralnis
8a27ada22e Don't override __class__ on LinkCompressed or PromotedLink. Fixes a class of especially annoying bugs 2008-12-10 11:18:09 -08:00
spez
8bcdf103ba some sponsored link style changes 2008-12-04 22:16:56 -05:00
ketralnis
d4021a6dba Fix race-condition with organic box that could cause multiple links to
display at a time
2008-12-04 15:36:02 -08:00
ketralnis
1751865839 For promoted links, skip first insertion only 50% of the time 2008-12-04 14:38:37 -08:00
ketralnis
24f8c4f617 Fix miscellaneous bugs with promoted links, and reduce app-server load
by reducing calls to apy.py:POST_onload
2008-12-04 10:34:20 -08:00
spez
3600220208 converted find_parents() in comment_tree from a recursive algorithm to an iterative one to fix a bug when adding comments to really long threads 2008-12-03 13:58:32 -05:00
ketralnis
54c1055c62 Move storage of promoted links into memcachedb 2008-12-02 14:57:05 -08:00
spez
c762ddfa09 cache comment listings in the permacache 2008-12-02 12:24:19 -05:00
ketralnis
e18163e832 * now caching one organic list per user again
* tracking for promoted links is now done via an authenticated hash to prevent replays
* organic list now properly ignores spam (even for moderators) and deleted links
* clicks and views on promoted links are now only tracked when they occur in the organic box or on the comments page
* organic boxes for users with lots of Subreddit subscriptions no longer pollute the cache
* properly validating URLs for promoted links (same rules as for regular submissions)
2008-12-01 14:11:25 -08:00
ketralnis
ff29f63326 Separate the actions of registering an account and submitting a link in the rate-limiter 2008-11-20 15:54:05 -08:00
ketralnis
b306c3a5d1 Fix issue with wording in compressed links template 2008-11-20 15:52:43 -08:00
ketralnis
b758979af3 Allow admins to see spam on the /comments page 2008-11-20 15:52:08 -08:00
spez
71d9d7718b dont show custom headers if custom styles are not allowed 2008-11-19 18:55:44 -08:00