Neil Williams
ce57835394
Avoid loading pycountry in the app.
...
It takes a tonne of memory. If the countries.json file is present
(generated by "make countries") then the app will prefer to use it
saving itself megabytes of space.
2013-02-27 13:37:55 -08:00
Chad Birch
c870dde276
Add distinguished status to JSON templates
2013-02-26 16:47:01 -07:00
Chad Birch
191c249934
Exclude items hidden to the user from 'other discussions'
...
Exclude from both the listing as well as the count in the tab
2013-02-26 16:46:55 -07:00
Chad Birch
4907bc4bb1
front.py PEP8 whitespace cleanup
2013-02-26 16:46:49 -07:00
Chad Birch
676eb6fef6
Have save/unsave button toggle back and forth
...
This also removes the confirmation added in 3e74406
2013-02-26 16:46:41 -07:00
Chad Birch
bc4a9e7c96
Don't trim off over half of a suggested title
2013-02-26 16:46:28 -07:00
Chad Birch
cb0949ac45
Confirm suggest title if they already entered a title
2013-02-26 16:46:20 -07:00
Chad Birch
0eee54b008
Re-add listing-page class to body classes
2013-02-25 14:58:26 -07:00
Joe Alcorn
57e324cff2
Prevent incorrect redirection when visiting /r/subreddit/new?sort=rising
2013-02-25 13:27:18 -07:00
Chad Birch
d107d0329e
Send message to link submitter when a top-level comment is distinguished
2013-02-25 13:26:42 -07:00
Chad Birch
7a940416a8
Remove alternate labels for tabs when they're the active one
...
(This hasn't worked since April 2012 anyway)
2013-02-25 13:26:09 -07:00
Chad Birch
a129a81f34
Add body classes to all remaining subreddit pages
2013-02-25 13:25:57 -07:00
Jason Harvey
c28061e1e4
Display default thumbnail on deleted or removed links.
2013-02-25 06:02:43 -08:00
Chad Birch
9f5c86a5cd
Split rising out of new to its own tab
...
Also redirect any requests for the old rising URL to the new one
Redirect POST requests to GET (should only be necessary during push)
2013-02-22 14:36:11 -07:00
Chad Birch
e80bf458f3
Add confirmation to unsaving
2013-02-22 14:35:58 -07:00
Ricky Ramirez
3c148392b3
reddit_base: Exempt all 5xx responses from pagecache.
2013-02-22 13:33:51 -08:00
Ricky Ramirez
42db2b5daf
prefoptions: Update "volunteer to translate" link.
...
This is deliberately an absolute link so that open-source installs will
contribute back to the main i18n repository.
2013-02-22 13:33:43 -08:00
Neil Williams
bd522e5af7
Comment Votes: update CommentSortsCache *after* updating comment scores.
...
This was causing CSC to have scores based on stale (off-by-one) vote
data.
One thousand thanks to @raldi for noticing this.
2013-02-22 12:34:20 -08:00
Max Goodman
4b08a17d09
Rename "error" param to be a bit more pedantic.
...
As we more further towards errors being actual objects.
2013-02-21 14:02:37 -08:00
Max Goodman
5db4b4d755
Cleanup.
2013-02-21 14:02:37 -08:00
Max Goodman
ba78412480
Generalize wiki validator / error system.
...
* Generalize validator error class and make an Exception subclass.
* Provide per-controller handling of fatal validator errors.
* Instantiate correct http exception classes using status_map.
2013-02-21 14:02:37 -08:00
Max Goodman
dbcd5f6079
Remove unused GoldRequiredException.
2013-02-21 14:02:37 -08:00
Ricky Ramirez
927426ee1b
strings: Update gold info page link.
2013-02-21 14:02:37 -08:00
Logan Hanks
6e2231787e
Fix bug checking wiki permission on UnloggedUser.
2013-02-21 13:26:09 -08:00
Logan Hanks
cdefa89421
Add moderator permission for wiki.
2013-02-21 13:25:59 -08:00
Logan Hanks
81acc136f4
Fix memoization of X_ids and reverse_X_ids.
2013-02-20 18:11:15 -08:00
Max Goodman
e22d31be91
Use input type="email" in the registration form.
2013-02-20 15:20:49 -08:00
Max Goodman
f0b4d8fbdb
Clarify the email field in the registration form.
2013-02-20 15:20:48 -08:00
Max Goodman
b309532b4f
.compact: Layer subreddit name above logo.
...
Thanks 7oby! http://redd.it/18ccy5
2013-02-20 15:20:48 -08:00
Logan Hanks
125abe9e8f
Include all mod tool buttons for admins.
2013-02-20 14:30:50 -08:00
Logan Hanks
a3c7dd0b10
Check for posts permission in spam/reported/modqueue/unmoderated queries on multireddits and /r/mod.
2013-02-20 13:12:34 -08:00
Logan Hanks
b0738c7902
Explicitly import permission set definitions in validator.py.
2013-02-20 13:12:34 -08:00
Logan Hanks
4d252de134
Make sure is_moderator always returns permissions support.
2013-02-20 13:12:34 -08:00
Logan Hanks
de76bb6380
Add get method to StringHandler.
2013-02-20 13:12:34 -08:00
Logan Hanks
56e310105b
Add moderator permission for mail.
2013-02-20 13:12:34 -08:00
Logan Hanks
9a23deb878
Move permissions (and related strings) to lib.
2013-02-20 13:12:34 -08:00
Logan Hanks
890916859f
Add moderator permission for managing subreddit config.
2013-02-20 13:12:34 -08:00
Logan Hanks
2619be4244
Add moderator permission for access (bans, contributors, etc.).
2013-02-20 13:12:34 -08:00
Logan Hanks
5106508ed6
Add permissions editing to the edit moderators page.
2013-02-20 13:12:34 -08:00
Logan Hanks
4aed1baea9
Add moderator permission for posts (approve/remove/distinguish/nsfw).
2013-02-20 13:12:34 -08:00
Logan Hanks
dc5cc92962
Add moderator permission for flair.
2013-02-20 13:12:34 -08:00
Logan Hanks
5315281f82
Add permissions to moderator relations and VSrModerator.
2013-02-20 13:12:34 -08:00
Logan Hanks
07db3ff6d8
Add each_<userrel>() method.
2013-02-20 13:12:33 -08:00
Logan Hanks
13b64364d9
Refactor userrel.py.
2013-02-20 13:12:33 -08:00
bsimpson63
60006856cb
In validate_blob do _force_unicode on giftmessage.
2013-02-19 14:49:56 -05:00
bsimpson63
d751319715
Correctly parse usernames with hyphens from stripe charges.
2013-02-19 14:49:56 -05:00
bsimpson63
39a136fa24
PromotedLinkTraffic returns entire run when getting csv.
2013-02-19 14:49:56 -05:00
bsimpson63
caf1316d3c
Add next/prev buttons to promoted link traffic listings.
2013-02-19 14:49:56 -05:00
bsimpson63
60f907070d
VDate can take alternate date formats.
2013-02-19 14:49:56 -05:00
Ricky Ramirez
9391310c6e
Point old wiki links to their new URLs.
2013-02-19 14:49:56 -05:00