Max Goodman
fbc8eea552
Whitespace.
2012-09-14 17:08:11 -07:00
Neil Williams
2171b300a8
vote: Fix VoteDetailsByThing aggregating backwards.
...
Voter and votee were swapped. Déjà vu!
2012-09-14 17:08:10 -07:00
Max Goodman
e86f786aeb
Add missing subreddit setting error fields.
2012-09-14 15:27:40 -07:00
Max Goodman
bf9e58ada7
Validate "wikimode" subreddit setting.
2012-09-14 15:27:40 -07:00
Max Goodman
815a432a61
Fix validation of setting subreddits to archived.
2012-09-14 15:27:40 -07:00
Max Goodman
2b53fab01f
Wait for 2 characters before querying interest bar.
2012-09-14 15:27:40 -07:00
Max Goodman
a58624b8e6
Reorder interest bar key press handling logic.
2012-09-14 15:27:39 -07:00
Max Goodman
9424f5ad81
registration: Disable submit button when username invalid.
2012-09-14 15:27:39 -07:00
Max Goodman
49adee7c15
CSS cleanup.
2012-09-14 15:27:39 -07:00
Max Goodman
ae040dd405
registration: As-you-type username availability check.
2012-09-14 15:27:39 -07:00
Max Goodman
93a8d567ae
Rename/link icons to more generic names.
2012-09-14 15:27:39 -07:00
shlurbee
5c8f678ed9
Add campaign thing name to tracking string
...
This change will make it possible to track traffic by campaign instead of just
by link.
Note that, as is, this change will cause the campaign fullname to be included
as part of the subreddit string in traffic_thingtarget and traffic_clicktarget,
two tables that are not currently used anywhere in the app.
To complete campaign traffic, the TargetedClickthroughsByCodename and
TargetedImpressionsByCodename in lib/traffic.py:make_report() will need to
be updated to store the campaign codename instead of link codename when
available.
2012-09-12 16:01:18 -07:00
shlurbee
82bd4333c6
Fix incorrectly set campaign id in weights
...
This fixes a bug where get_promotions_cached was returning the same campaign
id (the last one in the loop) for all promoted links. This bug doesn't affect
anything on the live site, but it means the per-campaign traffic data logged
prior to the fix will be inaccurate.
2012-09-12 15:45:08 -07:00
Neil Williams
5d6abdcf3b
trophies: Reduce number of trophies fetched in Trophy.by_award.
...
We usually only care about 1 trophy anyway (except on admin pages) so
this is drastically wasteful.
2012-09-12 15:35:03 -07:00
Andre D
8b85deb45b
Subreddit: Missing json attribute prevstyle
2012-09-12 15:34:40 -07:00
Andre D
a65a35f031
Wiki: Fixed being able to create restricted pages
2012-09-11 21:29:20 -07:00
Andre D
9e5590d3ea
Wiki: Fix typo
2012-09-11 21:29:20 -07:00
Andre D
345dfb3e43
Wiki: Fix xss involving page name
2012-09-11 21:29:20 -07:00
Andre D
1229a0e6c2
Wiki: Fix API typo
2012-09-11 21:29:20 -07:00
Andre D
a527104c0a
Wiki: Correctly fix getting subreddit name from revision model
2012-09-11 21:29:20 -07:00
Andre D
d10ca35bbe
Subreddit: Correct incorrect conflict exceptions
2012-09-11 21:29:20 -07:00
Andre D
024a7d55be
Subreddit: Do not show wiki tab on fake subreddits
2012-09-11 21:29:20 -07:00
Andre D
90a777511f
Wiki: Match image IDs with percent symbols like the stylesheet
2012-09-11 21:29:20 -07:00
Andre D
ac68957824
Wiki: Correct getting subreddit name from revision model
2012-09-11 21:29:20 -07:00
Andre D
78dd83a0ca
Wiki: Small cleanup on wiki model
2012-09-11 21:29:20 -07:00
Andre D
0800900624
Wiki: Corrected wiki toolbox links
2012-09-11 21:29:20 -07:00
Andre D
76c7c9bf7c
Wiki: Fix broken permission check for mod-only mode
2012-09-11 21:29:19 -07:00
Max Goodman
9fbdda300e
wiki: Add some default wiki content styles.
2012-09-11 21:29:19 -07:00
Andre D
619ff0e762
Wiki: Fix names on listing showing up as unknown
2012-09-11 21:29:19 -07:00
Andre D
69876b1510
Wiki: fix broken recent revisions listing
2012-09-11 21:29:19 -07:00
Neil Williams
b3d79b4cf0
traffic: Fix missing import of moved TrafficViewerList.
2012-09-11 21:29:19 -07:00
Andre D
0c6943ed3a
Correct broken css image filter
2012-09-11 21:29:19 -07:00
Andre D
19a02c4fd8
Wiki: Add various json endpoints
2012-09-11 15:43:07 -07:00
Andre D
0e25236146
Wiki: Add interface for banning and allowing users
2012-09-11 15:43:07 -07:00
Andre D
b83acc409d
Wiki: Add revision listing builders
2012-09-11 15:43:07 -07:00
Andre D
c0d373fb67
Subreddit: Use wiki for stylesheet/description/sidebar
2012-09-11 15:43:07 -07:00
Andre D
edc1ddebaa
Wiki: Base sylesheet
2012-09-11 15:43:07 -07:00
Andre D
5fe4e997d8
Wiki: Base wiki code
...
- Updates snudown dep
2012-09-11 15:43:07 -07:00
Andre D
ebab524e5d
Diff3: Added diff3 wrapper
2012-09-11 15:36:38 -07:00
Andre D
3c70bc8a61
Subreddit: Insert fake sr modactions into the default sr
2012-09-11 15:36:38 -07:00
Andre D
74a926b621
Errors: Add more error handler codes
2012-09-11 15:36:38 -07:00
Andre D
5267642908
Errors: Add the ability to error with json
2012-09-11 15:36:38 -07:00
Andre D
1d64fa367c
tdb_cassandra: Add the ability to remove items from views
2012-09-11 15:36:38 -07:00
Andre D
a131ae7084
Links: Add the ability to get links to urls rather than just articles
2012-09-11 15:36:38 -07:00
Andre D
a805fa6a44
tdb_cassandra: Fix unicode error in deserialization
2012-09-11 15:36:38 -07:00
bsimpson63
df32e50a70
DenormalizedView encodes dates to base64 before dumping to json.
2012-09-11 15:36:38 -07:00
bsimpson63
eab8a83da6
Add _on_commit hook for tdb_cassandra.ThingBase.
2012-09-11 15:36:38 -07:00
bsimpson63
051ec10e25
DenormalizedView that stores entire Thing in column.
2012-09-11 15:36:38 -07:00
Neil Williams
17a2e1c2f9
Make queue declarations and bindings plugin-friendly.
...
This allows plugins to declare queues and bind routing keys to them
using a declarative syntax.
This also removes some r2admin cruft from public.
2012-09-11 11:48:33 -07:00
Neil Williams
3147fc9ee5
amqp: Remove some dead code.
2012-09-11 11:48:33 -07:00