Brian Simpson
fc77bbc2e0
Create and cleanup PromoteListingController.
2014-03-06 15:59:03 -05:00
Brian Simpson
49fe4180c0
Move promote api methods to PromoteApiController.
2014-03-06 15:59:03 -05:00
Brian Simpson
d686819f11
Delete unused GET_link_thumb.
2014-03-06 15:59:03 -05:00
Brian Simpson
891099ff32
Delete obsolete /promoted routes.
2014-03-06 15:58:56 -05:00
Jason Harvey
b1d960122c
Allow users to toggle sendreplies state on existing links.
2014-03-06 10:06:28 -08:00
Jason Harvey
5f462279a1
Remove gold-gate from sendreplies feature.
2014-03-06 10:06:22 -08:00
Jason Harvey
868e37bfb0
Add sendreplies checkbox to self-serve promotion form.
...
Defaults to checked.
2014-03-06 10:06:18 -08:00
Brian Simpson
ac4795bc52
PromoteLinkForm: Display a summary of the promotion.
2014-03-05 13:22:59 -05:00
Brian Simpson
e5d292204d
Restrict promoted link style removal to saved links.
2014-03-04 15:47:52 -05:00
Brian Simpson
4dbe9a3e17
Remove special styling for promos on profile-page.
2014-03-04 15:47:46 -05:00
Brian Simpson
1cba3fccec
Allow promotions on user saved listings.
...
Also clean up logic in UserController.keep_fn.
2014-03-04 15:47:46 -05:00
Brian Simpson
eae81ace6e
UserController: move skip statement.
2014-03-04 15:47:46 -05:00
Brian Simpson
95b906b336
Delete dead code RecommendedController.
2014-03-04 15:47:40 -05:00
Brian Simpson
fa83c92339
Set children on MoreRecursion objects.
...
This ensures that the json representation will have valid name,
id, and children.
2014-03-03 17:48:22 -05:00
Brian Simpson
601684a18b
morechildren: Pass num to CommentBuilder constructor.
2014-03-03 17:48:22 -05:00
Brian Simpson
5a29a9518e
CommentBuilder: more timers.
2014-03-03 17:48:22 -05:00
Brian Simpson
600700e3d7
Cleanup builder.py.
2014-03-03 17:48:22 -05:00
Brian Simpson
09cd363714
CommentBuilder: take num as a constructor argument.
...
This follows the pattern of all other Builders.
2014-03-03 17:48:22 -05:00
Brian Simpson
f0c48da490
QueryBuilder: cleanup prewrap_fn argument retrieval.
2014-03-03 17:48:22 -05:00
Brian Simpson
d74b70e027
builder: fix up imports.
2014-03-03 17:48:22 -05:00
Brian Simpson
ecf986608a
Move get_num_children to cython file.
2014-03-03 17:48:22 -05:00
Brian Simpson
f719616638
Add a timer around get_num_children.
2014-03-03 17:48:22 -05:00
Brian Simpson
2a4408be85
Combine _builder.py into builder.py.
2014-03-03 17:48:22 -05:00
Brian Simpson
eea4b76573
Un-cythonize _builder.
2014-03-03 17:48:22 -05:00
Brian Simpson
1da1da9efe
CommentBuilder: remove typing.
2014-03-03 17:47:59 -05:00
Brian Simpson
91bf31438e
Change tab wording from "self-serve advertising" to "advertising".
2014-03-03 14:45:16 -08:00
Brian Simpson
23c0f97802
Change wording from "budget" to "total budget" in campaign editor.
2014-03-03 14:45:16 -08:00
Neil Williams
1c14acac08
js i18n: Add a plural no-op function.
...
This is for marking plurals for extraction while not actually
translating them at the time they're marked.
2014-03-03 14:45:16 -08:00
Neil Williams
b6323fa314
WebSockets: allow the caller to choose when to start connecting.
...
This allows the caller to fully set up event handlers etc. before the
first 'connecting' message is fired.
2014-03-03 14:45:16 -08:00
Neil Williams
0de32efc29
WebSockets: add some jitter to retries.
...
If the websocket server gets restarted or goes down temporarily, we
don't want everyone to be retrying at exactly the same time even though
we have exponential backoff.
2014-03-03 14:45:16 -08:00
Neil Williams
aa2e045b1a
WebSockets: increase maximum retries to 9.
...
This increases the total time it'll try to reconnect up to 34 minutes
from 17. Experience with a couple of issues with stunnel have shown it
takes a few minutes for everything to settle back down and we do want
everyone to get reconnected eventually without having to refresh.
2014-03-03 14:45:16 -08:00
Max Goodman
c9ad15aa54
Fix dead code references to controller "abort" method.
...
These are not the aborts you are looking for.
2014-02-28 17:00:39 -08:00
Max Goodman
959240ab9c
share emails: Prohibit sharing posts the user cannot view.
...
Thanks to a report by Jordan Milne (/u/largenocream).
2014-02-28 17:00:39 -08:00
Max Goodman
2a285f8f6a
emails: Foil some basic header injections.
...
Thanks to "Jordan Milne (/u/largenocream) for this suggestion.
2014-02-28 17:00:39 -08:00
Max Goodman
d59c209c56
emails: Reject sending emails with header parse errors.
...
Thanks to Jordan Milne (/u/largenocream) for
backing up our email queues^W^W^W^W^W bringing this to our attention. ;)
2014-02-28 17:00:39 -08:00
Chad Birch
5cb1f2e68d
Subreddits: prevent contradictory status changes
...
This change makes it so that is no longer possible to ban a moderator,
or add a banned user as a mod/contributor/wiki-contributor.
2014-02-27 12:11:42 -07:00
Jason Harvey
d493330346
Use a normalized sort for rising on front page and multis.
2014-02-26 16:32:12 -08:00
Jason Harvey
060de64a57
Refactor calc_rising() and adjust rising algorithm.
2014-02-26 16:32:11 -08:00
Jason Harvey
dd67f3ae83
Add a should_incr_counts attr to wrapped things.
2014-02-26 16:32:11 -08:00
Neil Williams
d2ccc40733
Automatically delete password hashes of deleted accounts.
...
The password hash is no longer necessary once an account is deleted (and
after a period of time for safety in case it needs to be restored)
2014-02-26 12:45:55 -08:00
Roger Ostrander
89762c93f0
Add TryLater: a system for scheduling events.
2014-02-26 12:45:55 -08:00
Chad Birch
44a8dd6b1d
Other discussions: only count public subreddits
2014-02-26 11:44:09 -08:00
Jason Harvey
3b6dcc9f1f
Adjust min_compress_len to 96B for srmembercaches.
2014-02-26 11:44:09 -08:00
Neil Williams
814ee55ecf
SRMember: Stop writing to the main cache pool.
...
All done!
2014-02-26 11:44:08 -08:00
Chad Birch
09a402edc3
POST_report: add hook
2014-02-26 11:44:08 -08:00
Chad Birch
7b24dacd77
compute_time_listings MINID query: order by date
2014-02-26 11:44:08 -08:00
Jason Harvey
2b83094357
Add styles for "updated" links in footer.
2014-02-26 11:44:08 -08:00
David Ehrmann
11e739e1c6
Add a cache by URL to the media scraper
...
Pull media embeds and thumbnails from a cache when cache use was requested
and cached media are available.
2014-02-25 16:25:51 -08:00
David Ehrmann
34fd7f89ca
Make the rescrape API work with the caching media scraper
...
This is a temporary workaround until a new scraper_q request message
type is added that forces a rescrape regardless of the current cache
state.
2014-02-25 16:25:51 -08:00
David Ehrmann
6cfa691fe5
Modify handle_timeout to support **kwargs
2014-02-25 16:25:51 -08:00