Logan Hanks
9e3bfd4adf
Fix UI updates when flair templates are edited.
2012-04-11 15:31:47 -07:00
Logan Hanks
6a9b8cc635
Make link flair in /about/flair subject to link styling.
2012-04-11 15:31:47 -07:00
Logan Hanks
1f095fb828
Make the link flair selector functional.
2012-04-11 15:31:47 -07:00
Logan Hanks
26db7f7ced
Add link flair to moderation logging.
2012-04-11 15:31:47 -07:00
Logan Hanks
1861d7933e
Add link flair support to the flair selector.
2012-04-11 15:31:47 -07:00
Logan Hanks
6d4faa8778
Add a rough implementation of link flair.
2012-04-11 15:31:47 -07:00
Logan Hanks
105402fff0
Add new tab for link flair templates.
2012-04-11 15:31:47 -07:00
Logan Hanks
a96a6afae6
Modify FlairTemplateBySubredditIndex to also store a separate index of link flair templates.
2012-04-11 15:31:47 -07:00
Logan Hanks
e33f6f606a
Use a new validator specific to flair for accounts.
...
This change reverts VExistingUname to its simpler pre-flair
implementation.
2012-04-11 15:31:47 -07:00
Keith Mitchell
f48bd6613e
Update the search box dropdown with new syntax
2012-04-11 15:31:36 -07:00
Neil Williams
b0ad6eadf0
Import _strptime early to avoid errors on import in threads.
2012-04-11 15:31:23 -07:00
Keith Mitchell
3d87a7956a
Add pointer to /help/search if search query was mangled
2012-04-11 15:31:03 -07:00
Neil Williams
24854c9c31
Bail out if CSS validation has errors.
...
This fixes the "unicode has no attribute cssText" error
that is caused by stylesheets larger than 100K.
Note: one functionality change here is that the site won't
show the preview table when validation fails now. (but that
should be fine since the bad stylesheet won't be applied)
2012-04-10 10:51:59 -07:00
Neil Williams
7a3c17578b
Print a warning if someone tries to edit strange usertext.
2012-04-10 10:51:59 -07:00
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