Commit Graph

179 Commits

Author SHA1 Message Date
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
KeyserSosa
ab2c5eaf82 apparently there are people who still use the compressed view 2008-10-23 14:56:21 -07:00
KeyserSosa
581bba3f5a removed unused admin hooks. Also cleaned up server status pane to show current page's PID and machine name to aid in debugging 2008-10-23 14:26:33 -07:00
KeyserSosa
37584f1e54 banned subreddits should generate a 404, not a really bad 500 2008-10-22 16:40:43 -07:00
KeyserSosa
5d32a27917 error pages shouldn't trip the 503 rate limiter 2008-10-22 16:23:11 -07:00
KeyserSosa
f16c58bc42 added error handling to blanket try/except blocks in ErrorController._before__ and __after__ 2008-10-22 15:31:30 -07:00
KeyserSosa
a9a9c3d747 cosmetic update for making the button CSS easier, and widget fix to make the domain sorts work as expected 2008-10-22 15:00:51 -07:00
KeyserSosa
61b3894755 Better error handling when error handler fails. Buttons allow url to be specified as a get parameter. Also support a newwindow option for target=_new. Currently undocumented button types 4 and 5 included as well. Widget supports in place voting. Socialite toolbar included help page and link to xpi file. 2008-10-22 14:08:50 -07:00
spez
ad38d86315 ad technology ad file 2008-10-21 11:52:13 -07:00
steve
4dc864d778 dont record clicks for the time being 2008-10-16 18:38:51 -04:00
Jeremy Edberg
825ec700d0 make the widgets look better per alexis 2008-10-15 16:20:48 -07:00
KeyserSosa
e02e1539dc widget page fix for zero length lists, and /toolbar sends 404 instead of 500 when no link found 2008-10-14 11:55:42 -07:00
Jeremy Edberg
f373061205 make the button backwards compatible for deployment 2008-10-14 10:52:43 -07:00
Jeremy Edberg
000feb8583 new buttons and widgets 2008-10-14 10:31:45 -07:00
spez
02f6f8e3a0 minor updates for ie6 testing 2008-10-13 10:20:21 -07:00
KeyserSosa
2a39057a18 propagate cname auth change to admin on/off buttons 2008-10-09 14:07:48 -07:00
KeyserSosa
aba126b1b2 Allow for frameless cnamed domains from trusted domains. 2008-10-09 13:41:34 -07:00
spez
7d93d076d7 allow dashes in domain names 2008-10-06 14:30:39 -07:00
ketralnis
d31abf431c * sorting options for regular searches
* searching from the front page now searches all reddits
* 'related' now includes results from all reddits
2008-10-06 14:22:19 -07:00
spez
b675790312 fix bug where language subreddits were 404ing because their names were 2 characters long 2008-10-06 13:59:57 -07:00
spez
dff2516e36 fix wired templates for search 2008-10-06 12:00:30 -07:00