Commit Graph

3331 Commits

Author SHA1 Message Date
Chad Birch
9fa7e0b515 Subreddit settings: add ability to define a sticky
This allows subreddits to define a single self-post from inside the same
subreddit, which will be "stuck" to the top of the subreddit's hot page,
with distinct styling. Outside of viewing the subreddit's hot page
individually, the post will behave as normal. It also can only be hidden
by the user manually, and will not automatically hide due to being below
their score threshold, or being upvoted/downvoted with one of the user
preferences that normally hides posts they vote on.
2013-08-05 12:16:01 -06:00
Andre D
5cdd6f7530 about/moderators.json: Include permissions. 2013-08-05 12:15:55 -06:00
Chad Birch
19395afbd7 exclude_banned_modqueue: apply to unmoderated as well 2013-08-05 12:15:50 -06:00
Brian Simpson
639dab92d4 Don't create votehash attribute on each thing. 2013-07-26 20:22:35 -04:00
Brian Simpson
4408f479a7 Generalize votehash from organic to vote_info. 2013-07-26 20:22:35 -04:00
Brian Simpson
1936ed6b5f DenormalizedRelation/View: replace opaque with kwargs. 2013-07-26 20:22:24 -04:00
Andre D
2339b83111 _by_fullname: Fix tdb_cassandra Thing implementation. 2013-07-29 15:01:18 -07:00
Brian Simpson
81683b2d97 XML support for modaction. 2013-07-29 15:01:17 -07:00
Brian Simpson
06d33dfc08 PromoteReport: add link url to csv output. 2013-07-29 15:01:17 -07:00
Brian Simpson
6844a60f0f PromoteReport: show total clicks and impressions by link. 2013-07-29 15:01:16 -07:00
Brian Simpson
1efb1d6aae GET_moderationlog: add "private" extension_handling. 2013-07-29 15:01:16 -07:00
Brian Simpson
e99e5b0fb9 Add moderator listings to rss feeds. 2013-07-29 15:01:15 -07:00
bsimpson63
652df50026 Cleanup goldthanks messages and clarify delay for google checkout. 2013-07-29 15:01:15 -07:00
Chad Birch
79624db06f Add "golden tikkit" style for messages 2013-07-29 15:01:14 -07:00
Roger Ostrander
6abcb0d525 Ratelimit: Disregard exempt users 2013-07-29 14:51:04 -07:00
bsimpson63
f734be79b2 Don't make a traffic tabmenu item on LinkInfoPage.
Route was broken and there's a link to traffic on the Link.
2013-07-29 14:51:04 -07:00
Brian Simpson
84c6d101a4 Allow promoted links on restricted subreddits. 2013-07-25 09:20:25 -04:00
Max Goodman
c28d748156 Persist url path and query params in /me/m/ redirect. 2013-07-26 17:17:20 -07:00
Max Goodman
8e48fae142 Persist url query params through /u/ redirect. 2013-07-26 17:17:20 -07:00
Chad Birch
0baba4bb54 Post buttons: Allow wrapping on smaller screens 2013-07-26 17:17:20 -07:00
Chad Birch
eb5fb72d63 Mod tools: move above list of subreddits in multis 2013-07-24 16:54:45 -07:00
Chad Birch
38ae79be7e Mod log: remove final public 'ham' usage 2013-07-24 16:54:00 -07:00
Chad Birch
337b5979b9 Ignore reports: hide button for removed items 2013-07-24 16:54:00 -07:00
Chad Birch
5b922f14aa Mod buttons: normalize labels 2013-07-24 16:54:00 -07:00
Logan Hanks
5c3b86b396 Fix injection vulnerability and jquery path in applying link flair. 2013-07-24 16:54:00 -07:00
Max Goodman
fdf072b38a Allow 2-character language subreddits to be added to multis. 2013-07-24 16:54:00 -07:00
Max Goodman
70b05812b0 Raise exception with details for RedditErrors missing status codes. 2013-07-24 16:54:00 -07:00
Max Goodman
ab26338550 Fix missing interest bar.xml template stub. 2013-07-24 16:54:00 -07:00
Max Goodman
ba95f53547 Add missing title property to SubSR.
Fixes AttributeError on /reddits.rss.
2013-07-24 16:54:00 -07:00
Max Goodman
e7ecfa180c It's helpful to return Deferred objects you create.
Fixes making hoisted logins from the front page.
2013-07-24 16:54:00 -07:00
Max Goodman
bf93f3c65e Fix missed user_path refactoring. 2013-07-24 16:54:00 -07:00
Max Goodman
c54f15cf89 Obscure personal multi referers behind /me/m/... URLs.
This makes browsing multis you own go through /me/m/multiname insead of
/user/username/m/multiname so that your username is not visible in HTTP
referer headers. Sadly, this makes copy-pasting multi URLs more
cumbersome, but until we can block referers another way (https?), it's
the simplest option we could find.
2013-07-24 16:54:00 -07:00
Max Goodman
46428502d2 Fix submit page for .compact.
Sadly Ack didn't list .compact files during the SubredditSelector
refactor.
2013-07-24 16:54:00 -07:00
Max Goodman
b5a3dd2036 Only display public multireddits in user page sidebar. 2013-07-24 16:54:00 -07:00
Max Goodman
6e4f2d8d15 Fix the column widths of the user page multi list.
The width of em units were varying across platforms wrt the box size.
2013-07-24 16:53:59 -07:00
Max Goodman
00a8ea3fd5 Add hover tooltip for ellipsized multi names. 2013-07-24 16:53:59 -07:00
Max Goodman
0e0b0aa218 Use background attachment to position sidebar grippy image.
Fixed positioning was causing the grippy image to bleed out of the
sidebar when scrolling horizontally on small viewports.
2013-07-24 16:53:59 -07:00
Max Goodman
977076e92c Fudge the height of the page for long listing choosers.
This is a hack to ensure that the listing chooser is entirely visible on
the page until we can improve the positioning/scrolling of the listing
chooser sidebar.
2013-07-24 16:53:59 -07:00
Max Goodman
814ae1e1e0 Listing chooser collapse grippy usability improvements.
* Increase thickness of grippy.
* Grippy icons with arrows pointing in the direction of show/hide.
* Invisible extra width for easy targeting.
2013-07-24 16:53:59 -07:00
Max Goodman
880a636d30 Consolidate listing chooser LESS code; shorten variable names. 2013-07-24 16:53:59 -07:00
Max Goodman
7e4ba7c987 Make user page multi list multi-column and summarized.
Borrows a modified version of r.ui.Summarize, originally written for
another project by @spladug.
2013-07-24 16:53:59 -07:00
Max Goodman
7ffe7332e4 Make reddit-init.js a LocalizedModule. 2013-07-24 16:53:59 -07:00
Max Goodman
11721d6630 js.py: Only include permissions strings if referenced. 2013-07-24 16:53:59 -07:00
Max Goodman
843e968052 Prevent inner form throbbers when parent element is working.
This keeps the copy and rename form throbbers from showing when an
operation is in progress on their parent form.
2013-07-24 16:53:59 -07:00
Max Goodman
570724107b Treat empty inputs as non-errors in two wiki validators.
If VLength (or its subclass) gets an empty input, by default it will set
an error state. This error state now has a code param, which causes wiki
code to treat it as fatal. This change disables the empty error in two
places, when appropriate.
2013-07-24 16:53:59 -07:00
Max Goodman
6d82ec79f7 Set multis to private after copying.
One more time with feeling. :)
2013-07-24 16:53:59 -07:00
Max Goodman
737384513c Add more verbose JSON validation errors. 2013-07-24 16:53:59 -07:00
Max Goodman
e994fa6a8a Properly distinguish JSON parse errors from empty values. 2013-07-24 16:53:59 -07:00
Max Goodman
e195ee0706 Rename BAD_JSON -> JSON_PARSE_ERROR.
I intend to prefix JSON related errors with 'JSON'.
2013-07-24 16:53:59 -07:00
Max Goodman
e03cb367d3 Fix multi copy ownership setting. 2013-07-24 16:53:59 -07:00