Neil Williams
40391e00d1
Print a warning if someone votes on a weird Thing.
2012-04-10 10:51:59 -07:00
Neil Williams
77f9c2526a
Add missing import to promotecontroller.py
2012-04-05 13:53:07 -07:00
bsimpson63
ca1e5752a3
Be nice and try to get the SRMember relation for myreddits.
2012-04-05 13:53:02 -07:00
Keith Mitchell
bb5cfa0ccf
Fix string formatting issue in ipn.py
2012-04-05 13:52:56 -07:00
Chad Birch
1fd9a080b6
Make /r/mod/about/spam also include filtered comments.
2012-04-03 10:48:44 -07:00
Keith Mitchell
d260236520
Add hover with exact timestamp for messages
2012-04-03 10:48:44 -07:00
Bryce Boe
e2fd083cb4
Modify "friend" and "unfriend" API methods to only require "container" parameter when the action is upon a user, and to utilize the c.site (or 'r' parameter) when the action is upon a subreddit.
2012-04-03 10:48:44 -07:00
Bryce Boe
07d8675a3c
Don't filter NSFW listings when using the API.
2012-04-03 10:48:44 -07:00
Bryce Boe
9843a59516
JSON output returns ratelimit in seconds and ratelimit doesn't occur when fewer than 3 seconds.
2012-04-03 10:48:44 -07:00
Bryce Boe
05062bfd87
Fix 500 error when attempting to subscribe to a non-existent subreddit.
2012-04-03 10:48:44 -07:00
Logan Hanks
4740772d23
Redirect /t/timereddit/* to /r/t:timereddit/*.
2012-04-03 10:48:44 -07:00
bsimpson63
72ae91d220
Start dual-writing reported_links and reported_comments.
2012-04-02 14:12:42 -07:00
bsimpson63
62ec39460c
Start dual-writing spam_links and spam_comments.
2012-04-02 14:12:42 -07:00
bsimpson63
5f9acdc75b
Handle comments from spam users.
2012-04-02 14:12:42 -07:00
Neil Williams
242b71310f
Start dual-writing the rel queries.
2012-04-02 14:12:42 -07:00
Neil Williams
ca099a4a96
Add magic decorator for dual-writing cached queries.
2012-04-02 14:12:42 -07:00
Neil Williams
17ae72cf09
Renaming: user_rel_query isn't just for users.
2012-04-02 14:12:42 -07:00
Neil Williams
44e001b778
CachedQuery.update() should only grab MAX_CACHED_ITEMS things.
2012-04-02 14:12:42 -07:00
bsimpson63
3bf0d69e30
Hack to allow CachedQuery into MergedCachedResults.
2012-03-30 15:46:12 -07:00
bsimpson63
27f6d93051
Remove trials from modqueue.
2012-03-30 15:46:07 -07:00
bsimpson63
bcd39e132e
Use SubredditQueryCache for spam filtered things.
2012-03-30 15:45:59 -07:00
Max Goodman
b352a8ce22
Use abspath when determining api_doc file paths.
2012-03-30 15:45:53 -07:00
Ricky Ramirez
06db06f8e3
Validate gold users correctly
...
Return a 403 Forbidden instead of raising an exception that never gets caught
2012-03-30 12:22:10 -07:00
Neil Williams
b68a879b04
Record i18n version as well.
2012-03-29 11:39:12 -07:00
Neil Williams
955471333a
Pull git version check into reusable function.
2012-03-29 11:39:12 -07:00
Neil Williams
1f59a11b62
Add hook for private code to add stuff to g.
2012-03-29 11:39:12 -07:00
Neil Williams
057dfc99cd
Include git revision IDs in /health response.
2012-03-29 11:39:12 -07:00
Keith Mitchell
cae85cf548
Reddit -> reddit in promo email
2012-03-29 11:37:14 -07:00
Keith Mitchell
abe385cc74
Add note to top of generated ini files
2012-03-29 11:36:53 -07:00
Max Goodman
14f84678ea
Link to the correct file source in "view code" api docs links.
2012-03-28 15:09:01 -07:00
Neil Williams
9d69c78b36
Add data attributes for ups and downs on links and comments.
2012-03-28 15:09:01 -07:00
DEADB33F
83edb3bb0d
Add data-fullname attribute to moderation log.
2012-03-28 15:09:01 -07:00
Logan Hanks
e78bd5e32a
Fix sampling of Thing._byID cache hit/miss rate.
2012-03-27 16:09:13 -07:00
Logan Hanks
259559f224
Access CacheStats from Thing._byID more safely.
2012-03-27 16:09:02 -07:00
Logan Hanks
66fa3d3212
Keep count of Thing._byID cache hits/misses.
2012-03-27 16:05:33 -07:00
Neil Williams
bffc43e0c4
Revert "Convert /comments to new query cache."
...
This reverts commit c91f8a0d09c892c8d46d15bb0e788cc7a8f3889e.
We will have to do this query a different way. The speed
at which new items cycle through this causes tombstones
to pile up and queries become awfully slow.
2012-03-27 16:01:43 -07:00
Neil Williams
1857e8415c
Add link to press contact page to /feedback.
2012-03-27 16:00:58 -07:00
Neil Williams
cfd93ee618
Add a custom header to private subreddit CSS.
...
We'll use this header to disable infrastructure-level
caching to protect subreddit privacy.
2012-03-27 15:59:05 -07:00
Neil Williams
603e14abeb
Make ip_and_slash16 resilient to bizarre extra spaces.
2012-03-27 15:18:51 -07:00
ughblah
6bf6064305
Moved "sponsored link" text left to space it out from "what's this" link
2012-03-27 15:18:51 -07:00
Max Goodman
e745eec6fd
Add tabindex to the password interstitial.
2012-03-27 15:18:51 -07:00
Max Goodman
da91580dc6
Fix api docs line number computation.
2012-03-27 15:18:51 -07:00
bsimpson63
8b17ea8c20
Admin menu item for modqueue.
2012-03-27 15:18:51 -07:00
Neil Williams
dc2bd127b7
Show moderated subreddits in /r/mod sidebar.
2012-03-27 15:18:51 -07:00
Neil Williams
e6b88800f1
Unify ModContribSR and MultiReddit interfaces and simplify downstream.
2012-03-27 15:18:51 -07:00
Keith Mitchell
3e40a58d42
Get rid of check_essentials hack
2012-03-27 15:18:51 -07:00
Max Goodman
b391fd5dd5
Add API rules link and revamp the docs introduction.
2012-03-26 15:52:13 -07:00
Max Goodman
1462cd3ae2
Add documentation examples to flesh out api_docs.
2012-03-26 15:52:13 -07:00
Max Goodman
e62dcd38af
Refactor subreddit about.json to enable separate api_docs.
2012-03-26 15:52:13 -07:00
Max Goodman
ffca452407
Refactor ListingController so api_doc can get param info.
...
By moving @base_listing to the same function as @api_doc, the validators
@base_listing adds become accessible to the parameter documentation. As
far as I can tell, this is the only place build_listing is called, so I
believe this transformation is safe.
2012-03-26 15:52:12 -07:00