Commit Graph

199 Commits

Author SHA1 Message Date
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
spez
21127345ec dont show use custom styles on reddits with cnames 2008-11-19 18:53:11 -08:00
spez
5b1fcbed78 some restyling in the header area 2008-11-09 13:22:45 -08:00
spez
4585d61d6a attempt to fix some rendering issues in opera. because opera doesn't handle position: absolutel properly, there are still issues with the dropdown in the top bar 2008-11-08 14:59:54 -08:00
spez
519113db3e increase the space between the sr dropdown and the sr bar 2008-11-07 17:05:10 -08:00
spez
750e3327f2 raise front page limit to 50 until we have a better solution to the listing changing between next/prev 2008-11-07 16:10:07 -08:00
spez
b5a358f080 dont limit the number of reddits on the submit page 2008-11-07 15:56:21 -08:00
spez
da64becc25 dont use translation string in NamedButton 2008-11-07 15:15:31 -08:00
spez
dfe4c35648 fix ie rendering issue with the dropdown 2008-11-07 14:57:51 -08:00
spez
a4483a2f56 move comment dependency from link.js 2008-11-07 11:37:48 -08:00
spez
61fdbfcf97 fixed ie rendering bug 2008-11-07 11:09:08 -08:00
spez
5448f36c31 Replaced the subreddit box on the side with a bar across the top that lists reddits.
Removed all subreddit-subscribe checkboxes.

Limited the number of reddits that can make up a frontpag (to 25 for now).

Removed links to /reddit/mine and instead show a user's subscriptions in a sidebox on /reddits.
2008-11-07 10:31:25 -08:00
ketralnis
4b2a9d9132 Don't hide scores on the 'details' page when hide_score is set 2008-11-06 12:03:14 -08:00
ketralnis
c783b295eb typo in hide_score 2008-11-06 11:39:46 -08:00
ketralnis
3c19fd2feb * decorate promoted links
* interface for creating promoted links
* store one organic list per unique list of subreddits rather than per user
2008-11-06 10:50:50 -08:00
spez
3b273ff517 ignore malformed cookies 2008-10-29 14:14:44 -07:00
KeyserSosa
2d1203feef added links to domains and fixed comment JSON feed to include link_id and parent_id 2008-10-24 15:25:37 -07:00
spez
d9e398a7fe added a /comments and fixed an independent.co.uk button bug 2008-10-24 14:59:04 -07:00