Commit Graph

2636 Commits

Author SHA1 Message Date
Max Goodman
a20bd596fa Use breadcrumbs to determine last click highlighting.
Increase breadcrumb collection length to accomodate a single back/forward
button usage after a click.
2013-02-27 17:16:11 -05:00
Max Goodman
e1dfc7709c Remove unused function argument. 2013-02-27 17:16:11 -05:00
Max Goodman
dbad14d816 More granular breadcrumb storage length. 2013-02-27 17:16:11 -05:00
Max Goodman
28d3388642 Add debug util functions to base.js. 2013-02-27 17:16:11 -05:00
bsimpson63
09a0f91ae9 Loggedout users always get a promoted link in the spotlight. 2013-02-27 17:16:11 -05:00
bsimpson63
c886c59cc8 Add promoted_link tools. 2013-02-27 17:16:11 -05:00
bsimpson63
fc784dd5e1 Delete insert_promoted. 2013-02-27 17:16:11 -05:00
bsimpson63
3e4fcb3d19 Delete benchmark_promoted. 2013-02-27 17:16:11 -05:00
bsimpson63
f7f346afa7 Client side shuffling spotlight content. 2013-02-27 17:16:11 -05:00
bsimpson63
beffa52966 Insert promoted links according to promoted_every_n. 2013-02-27 17:16:10 -05:00
bsimpson63
f1caa0542a organic: Delete unused organic_length. 2013-02-27 17:16:10 -05:00
bsimpson63
eb985d12a7 Delete organic_pos. 2013-02-27 17:15:55 -05:00
bsimpson63
a4e0aa022f RedditGifts gold controller. 2013-02-27 17:15:27 -05:00
bsimpson63
6ce383ea0e reverse_gold_purchase only needs transaction_id. 2013-02-27 17:15:26 -05:00
bsimpson63
9bdea7995a Don't assume months from pennies. 2013-02-27 17:15:26 -05:00
bsimpson63
94ac1596f9 Typo in complete_gold_purchase. 2013-02-27 17:15:10 -05:00
Neil Williams
ac4e5e5382 fetch_things2: Assert that a sort order is provided.
Otherwise you end up in a bizarro infinite loop.
2013-02-27 14:03:48 -08:00
Logan Hanks
89cea3e439 Disable changing one's own permissions. 2013-02-27 14:02:05 -08:00
Logan Hanks
c751ff0132 Allow limited mods to demod themselves. 2013-02-27 14:01:57 -08:00
Logan Hanks
6a59536f4d Make ModList narrower and remove sendmessage col. 2013-02-27 14:01:36 -08:00
Logan Hanks
1e4e678462 Fix permission control in the moderator invitation form. 2013-02-27 14:01:28 -08:00
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