Neil Williams
2028bc4418
Add upstart tasks for cron jobs.
2012-05-31 12:29:07 -07:00
Neil Williams
1c1863e464
Add script to wrap cron jobs.
2012-05-29 12:15:59 -07:00
Neil Williams
e59b61d2cf
Cut get_sent query over to new query cache.
2012-05-29 12:15:59 -07:00
Neil Williams
ab039b4722
Use a different set of memcaches for locking.
2012-05-29 12:15:59 -07:00
shlurbee
76142d50cd
Remove user id from authorize.net invoice number
...
Previously, invoice number was [user_id]T[link_id]C[campaign_id].
Since campaigns are represented as Things now, their ids are longer, putting
us over the 20 char limit for invoice numbers defined in the authorize.net
xml api.
(see https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd )
Now invoice number will be T[link_id]C[campaign_id], which is still unique
across campaigns since a link is always associated with only one user
2012-05-29 11:39:16 -07:00
shlurbee
09dbd49445
Update config with new promocampaign thing table
...
Adds promocampaign table (needed for the PromoCampaign model introduced in the
previous commit) to example.ini
2012-05-24 20:24:08 -07:00
shlurbee
aa2225349e
Creates campaign model and dual-write campaigns to Thing table
...
First step of breaking campaigns out into their own data object.
Campaigns are still stored as an attribute on their promoted Link as before,
and all reads are still done from the link attribute, but writes (creation of
a campaign and edits to a campaign) are also written into a Thing table.
NOTE: This change has a configuration dependency in another repository.
The following lines must be added to the .ini file:
db_table_promocampaign = thing
db_servers_promocampaign = [YOUR SERVER NAMES HERE]
2012-05-24 16:57:34 -07:00
Brandon Carl
1e5b886fab
Removes two extraneous quotes in template HTML around IE-specific stylesheet includes.
2012-05-22 15:42:26 -07:00
Bryce Boe
c96fb01d42
Added public_description to SubredditSettingsTemplate.
2012-05-22 15:42:26 -07:00
Neil Williams
bac15c68e4
Destale c.site on subreddit settings page.
...
This should fix funkiness with changed settings getting "lost" after
the redirect/refresh catches a stale-cached version of the settings.
2012-05-22 13:37:56 -07:00
Neil Williams
5db25a86b5
Add width to subreddit midcol.
...
Since "+/-frontpage" became "subscribe" and "unsubscribe", the text is
no longer the same width. This causes the subreddits to be jagged on
/reddits listings. This fixes it by giving space (hopefully enough for
all languages) for the buttons.
2012-05-22 13:37:56 -07:00
Neil Williams
ccd6d1f8e0
On /reddits, prefix subreddit titles with /r/srname.
2012-05-22 13:37:56 -07:00
Neil Williams
dbdf637d9f
Seperate "description" and "sidebar" for subreddits.
2012-05-22 13:37:56 -07:00
Neil Williams
ac78f0b153
Start dual-writing get_sent.
2012-05-22 13:37:56 -07:00
bsimpson63
295595a397
Only look up account by subscr_id when hardcache is empty.
2012-05-22 13:37:56 -07:00
Max Goodman
7136fcbf4a
Fix self serve email in the ad inquiry page.
2012-05-22 13:37:56 -07:00
Neil Williams
9b8e8390cf
Cut inbox queries over to new query cache.
2012-05-21 15:45:28 -07:00
shlurbee
9f14001f8a
Make payment invoice number unique per campaign
...
Makes campaign id a part of the invoice number so self-serve users can create
multiple campaigns at the same bid amount without getting a duplicate
transaction error
2012-05-18 11:50:53 -07:00
Neil Williams
a97c2af1ad
locale.format -> babel.numbers.format_number
2012-05-17 15:02:40 -07:00
Neil Williams
c9c1bc6fec
Only show CNAME form items for subreddits with the option set.
2012-05-17 15:02:39 -07:00
Neil Williams
ac53a4bca2
Preserve extension and query string when doing /saved redirect.
2012-05-15 09:42:54 -07:00
Neil Williams
a0f37adb13
De-stale c.site for stylesheet requests.
...
Since we're using nginx in front of subreddit stylesheets
to protect ourselves from ponies, we need to make sure we
don't give a stale copy of the CSS when requested with the
new query param thereby poisoning nginx's cache.
2012-05-15 09:42:54 -07:00
Neil Williams
e6555cf680
Bump comment limit to 50K.
2012-05-15 09:42:53 -07:00
Neil Williams
d6cc4403ce
Make update_score take a vote object, not valid_thing.
2012-05-15 09:42:53 -07:00
Neil Williams
db4071fcf5
Revert "Log when a thing is thrown out in UserController."
...
This reverts commit ca39ec469f9832c7baedf4c651757587d5055210.
2012-05-15 09:42:53 -07:00
Keith Mitchell
3a936b3519
Add pointer to /help/search if search query was mangled
2012-05-15 08:43:50 -07:00
Max Goodman
4ec2406f70
Add missing api_doc for POST_del.
2012-05-15 08:38:29 -07:00
DEADB33F
e0aaa3e0fb
Mark text of edited self-posts with an asterisk
...
Self-text submissions which have been edited now get an edited asterisk.
Edited asterisks get title text with 'last edited time'.
2012-05-15 08:38:15 -07:00
Keith Mitchell
c209cc2f32
Switch to cloudsearch as primary search provider
...
Also, remove unused indextank files
2012-05-15 08:21:01 -07:00
Keith Mitchell
7d01b9a8f4
Skip indexing things that have only been voted on
2012-05-15 08:20:47 -07:00
Neil Williams
4111c7338a
Log when a thing is thrown out in UserController.
...
Hopefully this helps track down the cause of disappearing
items on the /liked and /disliked pages as well as providing
verification of new query cache stuff.
2012-05-04 12:38:37 -07:00
Neil Williams
6ab11b367c
Move the saved links listing to the profile page hierarchy.
2012-05-04 12:38:10 -07:00
Neil Williams
c9c959d0e8
Use 403 instead of 404 on /liked etc. when votes are private.
2012-05-04 12:35:59 -07:00
Max Goodman
8fb93b622a
Suggest a fallback method when the fancy login fails.
...
If the CORS/hoisted front page login fails for any reason, suggest
logging in via the https endpoint's login page.
2012-05-02 16:18:22 -07:00
Max Goodman
a5d4faf257
Autofocus login and password interstitial input boxes.
2012-05-02 16:18:22 -07:00
Neil Williams
896dcd0549
Add blurb explaining public's IP showing up in /account-activity.
2012-05-02 16:18:22 -07:00
Neil Williams
78d85a35a9
Cut liked/disliked pages over to new query cache.
2012-05-02 16:18:22 -07:00
Neil Williams
53549393d7
Boost max comment counts.
2012-05-02 16:18:22 -07:00
Max Goodman
28683de774
Skip messages without view privileges in builders.
2012-05-02 16:18:21 -07:00
Max Goodman
f8d7879e36
Add collapse button to the moderation tools sidebar box.
...
Also, add an id attribute to the moderation tools box.
2012-05-02 16:18:12 -07:00
Max Goodman
0ab582b2ea
Add store.js.
2012-05-02 16:09:57 -07:00
shlurbee
8cd3cc3c42
Increase length of max subreddit name in validator
...
"internationalpolitics" is longer than 20 chars
2012-05-02 16:09:57 -07:00
Keith Mitchell
70a7f311ee
Revert "Validate subreddit name when submitting a link"
...
This reverts commit 0a31396f8a7aea504518ee326feef3f31d297f30.
2012-05-02 16:09:57 -07:00
Max Goodman
3a5d967553
Rename c.allow_styles and repurpose it for convenient overriding.
...
This enables fine-grained control to un-block CSS without affecting
whether it would be displayed based on user settings or context.
2012-05-02 16:05:45 -07:00
Neil Williams
7689d9c01d
Consolidate mod permissions checks in is_moderator.
...
Also moves the modbox down one chunk.
2012-04-30 14:46:19 -07:00
Max Goodman
c15ff9fa86
Add details page for comments.
2012-04-30 14:46:19 -07:00
bsimpson63
097ccb66a9
Don't get rising if sr_ids is None.
2012-04-30 14:46:19 -07:00
Bryce Boe
611892ab19
Add title attribute to user flair and linkflair selector span.
...
This allows the full text to be discovered when the item is too long for the
entire span to be shown. This most often occurs in the flair selector.
2012-04-30 14:46:19 -07:00
shlurbee
55f1149580
Better error handling in VSubmitParent validation
...
Fixes log error - AttributeError: 'NoneType' object has no attribute 'subreddit_slow'
2012-04-30 14:46:19 -07:00
shlurbee
bb30f0a6e8
Show error message on large image upload
...
Previously if you attempted to upload a header with file size > 500kB,
the operation failed silently and the "uploading" message never went away.
Now an error message is displayed saying the image was too large.
2012-04-30 14:42:57 -07:00