Max Goodman
04be215974
Use <time> element with a title attribute for comments and submissions.
...
Based on a commit by Zeno <zenomcdohl@gmail.com >.
2011-06-21 14:55:18 -07:00
Logan Hanks
5fd545393a
Don't count deletions of already-deleted comments.
2011-06-20 16:28:15 -07:00
Brian Simpson
51bcbfbc97
Method _key_from_url() now returns case sensitive results for special domains (e.g. imgur.com, youtube.com). They are defined as case_sensitive_domains in the .ini file
2011-06-20 16:07:28 -07:00
Chris Johnson
1b030c310d
Added option to hide user profile from robots.
2011-06-20 15:48:56 -07:00
Logan Hanks
49637884b8
Fix voting when template_debug=true.
...
Remove leading/trailing whitespace from thing_css_class for printables.
Fixes #85 .
2011-06-20 14:39:16 -07:00
Logan Hanks
fd02caf035
Make comment count maintenance more transactional.
...
Move comment (re)counting for links to comment_tree.py. This should help
make comment counts more consistent. Fixes #44 , fixes #60 .
2011-06-20 14:31:53 -07:00
Neil Williams
06f4b9eccf
Use [removed] instead of [deleted] for expunged.
2011-06-20 13:45:39 -07:00
Neil Williams
d99dece64b
Honor selftext-expunging in JSON API.
2011-06-20 13:45:24 -07:00
Neil Williams
8d7f4f253d
"reddit: the front page of the internet"
2011-06-20 13:44:33 -07:00
Max Goodman
e0099cd68e
Add names.json to the gitignore.
2011-06-20 12:13:45 -07:00
Max Goodman
74291f9df1
Skip creating existing static file links.
2011-06-20 12:12:23 -07:00
Max Goodman
01bd1eac3a
Add missing external function import to frame.compact.
2011-06-20 12:12:23 -07:00
Max Goodman
0d9877f56b
Clean up any old .md5 files in make clean_names.
2011-06-20 12:12:23 -07:00
Max Goodman
21e447a520
Break name file cleaning off into its own make target.
2011-06-20 12:12:23 -07:00
Max Goodman
5e03b19ce8
Don't remove inis in make clean_static
2011-06-20 12:12:23 -07:00
Max Goodman
55617ffc8f
Remove static url hash middleware since we now generate named symlinks.
2011-06-20 12:12:23 -07:00
Max Goodman
beb970fd56
Switch to symlinks for unique static filenames.
...
Disable static hash middleware, since it is no longer necessary.
2011-06-20 12:12:23 -07:00
Max Goodman
02ea20d23f
Load the stylesheet before javascript to ensure parallel downloading.
2011-06-20 12:12:23 -07:00
Max Goodman
1733261a52
Add unique hashed filename json mapping file for serving static files.
...
When make is run, unique filenames are generated for JavaScript and CSS
files in /public/static/. Filenames are generated by appending a 64 bit
truncated SHA1 hash in websafe base64 format before the extension. The
filename mapping is stored in /public/static/names.json. Unique
filenames are now inserted by the static() template helper. Hashed
filenames can be served by Pylons, and hashed names are checked against
the names.json mapping when requested.
2011-06-20 12:12:23 -07:00
Max Goodman
e1f5b3b5ed
Add jQuery to static files since it's no longer handled by the Makefile.
2011-06-20 12:12:23 -07:00
Max Goodman
555b5c17e8
Use python2.6 in the Makefile.
2011-06-20 12:12:23 -07:00
Max Goodman
542e22ffa8
New JS compilation, localization, and module system.
...
Add Google Closure Compiler to contribs for JS compilation.
2011-06-20 12:12:23 -07:00
Max Goodman
9a88e97b22
Add config-free "standalone" option to the 'paster run' command.
2011-06-20 12:11:27 -07:00
Logan Hanks
6c7a5bc18b
add vim swap files to .gitignore
2011-06-17 12:10:37 -07:00
Logan Hanks
2734d5800c
Add xhtml entity definitions via minimal DTD before parsing markdown output. Fixes issue #38 .
2011-06-16 15:18:11 -07:00
Brian Simpson
8995bb1650
Deleting accounts now works in languages other than English
2011-06-16 14:21:06 -07:00
Neil Williams
2cf4b0b5d7
Really don't use comment page cache for moderators
2011-06-09 11:39:37 -07:00
Max Goodman
c90729aa15
Fix ordering of friend user attr flag.
2011-06-08 17:04:51 -07:00
Neil Williams
06913a25a7
Don't die if votes are missing some information.
2011-06-08 17:04:49 -07:00
Max Goodman
12db75ee85
Remove dead code.
2011-06-06 12:36:50 -07:00
Max Goodman
95865f8772
Disable template reload checks upon template rendering.
2011-06-06 12:36:40 -07:00
Neil Williams
b15470271c
Update embed.ly domain list.
2011-06-06 12:36:32 -07:00
Neil Williams
46aad179b2
__eq__ must be paired with __ne__ for sanity.
2011-06-06 12:36:13 -07:00
Neil Williams
b14ab0d422
Add Subreddit.__eq__ to fix == comparisons.
...
This fixes several bugs that were using the default (identity
comparison) to check if two subreddits were the same. Sometimes
the two subreddit objects referred to the same subreddit but
weren't the same instance.
Fixes:
https://github.com/reddit/reddit/issues/42
https://github.com/reddit/reddit/issues/47
2011-06-03 10:18:20 -07:00
Max Goodman
9194116766
Update the footer link to the reddit source code.
2011-06-02 12:31:38 -07:00
Max Goodman
279a0dbc74
Fix comments panel toggling logic.
2011-06-02 12:27:16 -07:00
Max Goodman
bb7e1b6921
Add toolbar comments panel as an external frame so hide/show requests work.
2011-06-02 12:27:16 -07:00
Max Goodman
8b0e4c07af
Remove dead code that was causing a JS exception.
2011-06-02 12:27:16 -07:00
Max Goodman
f99959c7eb
Skip firing a tracking pixel if we're on a secure domain.
2011-06-01 13:57:36 -07:00
Max Goodman
c6f0b6ffa8
Display powered_by_reddit logo in https if on a secure domain.
2011-06-01 13:57:36 -07:00
Max Goodman
20069e7c93
Use https urls for s3 hosted header images when we're on a secure domain.
2011-06-01 13:57:36 -07:00
Max Goodman
d89e79ad66
Include the host ports in the secure_domains set.
2011-06-01 13:57:35 -07:00
Max Goodman
6a7ebd7e7b
Load jQuery from a secure source on secure domains.
2011-06-01 13:57:31 -07:00
Neil Williams
2ed20d4b1a
Display removed selftext as "[deleted]".
...
When a self-post is manually removed (via the "remove" button)
by an admin or a moderator, the text of that self post will be
displayed as "[deleted]" unless the viewer is an admin, mod of
the subreddit the post is in, or the author of the content.
2011-06-01 13:39:30 -07:00
Max Goodman
8c56f89663
Load unauthed button requests via JSONP from buttons.reddit.com.
2011-05-27 16:01:14 -07:00
Max Goodman
d1ae1650bf
Pass buttons.reddit.com requests through the subreddit redirect logic.
2011-05-27 16:01:13 -07:00
Max Goodman
6087bddfe5
Move buttons to jQuery 1.6.1.
2011-05-27 16:01:13 -07:00
Max Goodman
2d6e16014f
Point buttons to compressed assets. Clean up headers.
2011-05-27 16:01:13 -07:00
Max Goodman
99b2839032
Add site speed tracking to Google Analytics.
2011-05-27 16:01:13 -07:00
Max Goodman
77b7cfac36
Add loggedin/logged out differentiation to Google Analytics.
2011-05-27 16:01:13 -07:00