Commit Graph

1142 Commits

Author SHA1 Message Date
Dave Pifke
fb0b650490 Automatically generate API documentation.
Needs CSS love and some rewriting of the docstrings that are now
exposed, but otherwise complete.
2012-03-26 15:50:28 -07:00
klocatelli
f1dc6548f8 Look further into a document to find its title.
Allows "fetch title" to work on youtube again.
2012-03-26 14:35:12 -07:00
Neil Williams
92cf3610f7 Rearrange CSS preview page -- put preview at top. 2012-03-26 14:35:07 -07:00
Neil Williams
a3fae4650f Don't use g.default_sr for preview links.
On reddit.com it's /r/reddit.com which is pretty
barren these days :)
2012-03-26 14:34:55 -07:00
Neil Williams
b279d29ee2 Use query cache to get preview comments for subreddit CSS. 2012-03-26 14:34:50 -07:00
Neil Williams
0f7e3a69f2 Allow private code to have a say in ratelimiting. 2012-03-26 14:34:44 -07:00
bsimpson63
ca01b8c622 Allow users to remove their email address. 2012-03-20 21:11:46 -07:00
ughblah
9886db8de9 Restrict show_friends to only display [F] in div.content 2012-03-21 13:13:53 -07:00
Neil Williams
ee28a0f321 Convert /comments to new query cache. 2012-03-21 13:13:48 -07:00
Neil Williams
8a7d2a8990 Add debug logging to the new query cache. 2012-03-21 13:13:41 -07:00
Neil Williams
afb4de999e Allow CachedQueryMutator to be used not as a context manager. 2012-03-21 13:13:35 -07:00
Neil Williams
b284dc80ae Convert to JSON for query cache storage. 2012-03-21 13:13:28 -07:00
Neil Williams
8fd2169e4f ColumnFamily.get's column_count defaults to 100. Set it higher. 2012-03-21 13:13:23 -07:00
ughblah
1d84f7e5f5 Removed midcol and rank sizing from replace_things function 2012-03-19 15:52:20 -07:00
ughblah
a516ca9ed1 Removed midcol and rank sizing from insert_things function 2012-03-19 15:51:18 -07:00
Keith Mitchell
8b1911d09b Make _defaults dicts more diffable 2012-03-19 15:51:13 -07:00
Keith Mitchell
38eef5483e Add 'from_sr' to Message defaults 2012-03-19 15:51:09 -07:00
Neil Williams
e4ef53b888 Google Analytics: trackPageLoadTime is deprecated.
Site speed is sampled on 1% of requests automatically
as part of _trackPageview. This is the maximum allowed
by Google for properties with >1M hits / day.
2012-03-19 10:52:11 -07:00
Neil Williams
9c9d2e45e8 Google Analytics: use short form of _gaq.push. 2012-03-19 10:52:05 -07:00
ughblah
c20cedffa5 Child comments were showing vote of deleted parent
Fix issue where child comment would get vote of parent if parent deleted
2012-03-15 14:14:23 -07:00
Stuart Powers
73ed5e3f61 Don't use dropdown on mobile for top/controversial
changed navmenu.compact to use a ${flatlist()} for rendering time options
2012-03-15 14:14:18 -07:00
Keith Mitchell
c642d437dc NameError in cache.py error handling 2012-03-15 14:14:10 -07:00
Kay Zhu
70e4d87e7a Fix #205: message compose generates errors in IE
Now uses JQuery.inArray() instead of Array.indexOf()
2012-03-15 14:14:04 -07:00
Max Goodman
ffef0ef9d7 Only show moderators in the "banned_by" api attribute. 2012-03-15 14:13:10 -07:00
ughblah
8b08c8ef55 Fix issue with up/down votes from recently viewed links causing score to disappear 2012-03-14 11:56:01 -07:00
Neil Williams
a42505c50a Keep admin cookie around if actively used. 2012-03-14 11:55:42 -07:00
bsimpson63
8814f6ad09 More functional spam and remove buttons on all items. 2012-03-13 04:24:52 -07:00
bsimpson63
d2c3d23692 Dismiss action on items that are spam. 2012-03-13 04:24:46 -07:00
Neil Williams
33b15bc265 Split the admin cookie out from the session cookie. 2012-03-13 15:46:37 -07:00
Neil Williams
e186b4cd98 Require a password to turn admin mode on. 2012-03-13 15:46:36 -07:00
Keith Mitchell
975c06bb5d ConfigParser should be case sensitive 2012-03-13 15:14:37 -07:00
Bryce Boe
aa3bb982dc JSON response for submission API now returns url, id, and name. 2012-03-13 12:49:05 -07:00
Dmitry Kuznetsov
92287f219d Return more correct HTTP status for Content-Length
* 413 Request Entity Too Large for "too big" case
* 411 Length Required for missing header case
* 400 Bad Request for invalid header case
2012-03-13 12:48:54 -07:00
Dmitry Jemerov
b1a53e57d3 admins see count of reports in link/comment JSON 2012-03-13 12:48:46 -07:00
ughblah
2fa39c58dd Fix form hiding on cancel button click 2012-03-13 11:51:16 -07:00
Keith Mitchell
8d7e6a4a81 Make updateini.py sexy 2012-03-13 10:14:32 -07:00
Keith Mitchell
4070cf7390 Synchronize r2.pot 2012-03-08 11:53:30 -08:00
Max Goodman
2c2ed24b05 Add neutral pretty-button state for "remove-link" button. 2012-03-07 01:19:24 -08:00
Max Goodman
c8cdc91b2e Clean up pretty-button styles. 2012-03-07 01:19:15 -08:00
Max Goodman
d88e29e89c Reorder button indexes. 2012-03-07 01:18:28 -08:00
Max Goodman
7c6fff648c Clean up some big-mod-buttons frontend code. 2012-03-07 01:18:28 -08:00
bsimpson63
f5b829bcb8 Spam and remove options for big_modbuttons. 2012-03-07 01:18:28 -08:00
bsimpson63
2a8876bfb6 Remove things as spam or not spam. 2012-03-06 14:39:59 -08:00
Sanil Mohandas
1088fe73db Make links in comments and submitter/subreddit button links open in new tab based on preference 2012-03-06 14:39:51 -08:00
Max Goodman
714f4481b7 Add body class for messages pages. 2012-03-06 14:39:42 -08:00
Max Goodman
ae404e88ac Whitespace. 2012-03-06 14:39:34 -08:00
Max Goodman
6a19b666e7 Add multi-page body class for MultiReddits. 2012-03-06 14:39:27 -08:00
Max Goodman
85b1eb8cb5 Allow CSS on the community settings page for sidebar editing. 2012-03-06 14:39:18 -08:00
Neil Williams
7b762d2c78 Take advantage of pycassa doing zero retries on counter ops now.
This means fewer connections to Cassandra as we don't
need an extra connection pool.
2012-03-06 14:39:06 -08:00
Keith Mitchell
6dbe531ff2 Don't reveal banner's identity when replying 2012-03-05 16:54:11 -08:00