Matt Claypotch
95a3f23228
automatically select chart fields for the headers based on incoming data (bug 682087)
2011-10-05 02:11:40 -07:00
Jeff Balogh
c0f69dfaa5
improve readability
2011-09-27 17:18:57 -07:00
Jeff Balogh
59736cf7ec
genericize the breakdown column name
2011-09-27 17:18:57 -07:00
Andy McKay
bd0779deca
make purchase list pretty, not handling refunds yet (bug 686330)
2011-09-14 10:52:36 -07:00
Jeff Balogh
ffb6bd70ad
clean up the locale list (bug 681851)
2011-09-09 16:39:20 -07:00
Jeff Balogh
cedddc65d6
daily cron to index the latest stats (bug 684401)
2011-09-09 15:18:40 -07:00
Jeff Balogh
ce94c81bb9
switch to ES_INDEXES
2011-09-07 16:02:26 -07:00
Matt Claypotch
fe4524aed5
only show stats info box when we actually have info (bug 649518)
2011-09-06 10:58:33 -07:00
Jeff Balogh
9ce218e1a5
fixup isn't sent in the tests
2011-09-03 10:22:41 -07:00
Jeff Balogh
b4c3356f85
a command to fix up all the stats we missed
2011-09-03 09:43:43 -07:00
Jeff Balogh
5bab61f446
beware of more bad data
2011-09-03 09:43:43 -07:00
Jeff Balogh
31efd4582a
skip all the weird dates
2011-09-01 15:23:24 -07:00
Jeff Balogh
27c73ab4ef
watch out for bad data
2011-09-01 15:23:24 -07:00
Jeff Balogh
14cebc6287
what's that about?
2011-09-01 13:09:03 -07:00
Jeff Balogh
ccb0d11b8e
use elastic for stats views
2011-09-01 10:32:18 -07:00
Jeff Balogh
661066ee57
index update_counts and download_counts with elastic
2011-09-01 10:32:17 -07:00
Andy McKay
2da971c9e4
add in purchase to contribution table (bug 677516)
2011-08-18 16:21:56 -07:00
Jeff Balogh
be84c6546c
don't use db caching for stats pages, it's too much overhead
2011-08-10 13:26:50 -07:00
Jeff Balogh
4ae16c83fa
base all tests off amo.tests.TestCase
2011-07-27 15:30:08 -07:00
Gregory Koberger
9e6865cecf
Permission for sending thanks email for contributions.
2011-07-22 18:30:00 -07:00
Jeff Balogh
2f8ae7f088
increase rate limits
2011-06-16 16:08:48 -07:00
Jeff Balogh
ba0a3a4f35
switching from establish_connection to TaskSet (bug 663555)
2011-06-13 13:24:07 -07:00
Matt Claypotch
5dc1cfe79f
impala details page stuff
2011-05-04 15:15:34 -07:00
Matt Claypotch
e1624b176f
pathing stats js bundle properly
2011-04-29 16:51:26 -07:00
Matt Claypotch
76de7c47fe
Fixing loading indicators and storage for stats pages (bug 578411)
2011-04-29 16:06:31 -07:00
Matt Claypotch
42b9d1be3f
stats pages explanatory copy (bug 579580)
2011-04-12 13:59:08 -07:00
Jeff Balogh
699d8c11b9
move addons.previews.all() to a transformer
2011-02-17 09:07:12 -08:00
Andy McKay
f8f7eac524
move to new payment flow (bug 627077)
2011-02-15 11:17:11 -08:00
Jeff Balogh
c865421e09
give everything a build id
2011-02-04 11:13:17 -08:00
Jeff Balogh
03f712f6e9
@task needs **kw (bug 627608)
2011-01-24 11:47:15 -08:00
Andy McKay
4f480baa06
mirror addons models definition (bug 626545)
2011-01-18 15:53:30 +00:00
Jeff Balogh
a06679092d
don't evaluate querysets until the request cycle (bug 625735)
2011-01-14 13:25:42 -08:00
Jeff Balogh
72e38213fe
record org ids in contribution stats (bug 624446)
2011-01-10 13:41:44 -07:00
Jeff Balogh
e0c74cada3
making addon slugs work in urls (bug 620537)
2010-12-21 15:58:19 -08:00
Andy McKay
a01ce4fe1e
move license link to template
...
checking files_url
2010-12-16 16:19:14 -08:00
Jeff Balogh
59811a15e7
fix css directory structure (bug 617226)
2010-12-14 08:57:08 -08:00
Jeff Balogh
da6f5a4aa1
unique slugs for everyone
2010-12-08 18:56:57 -08:00
Kumar McMillan
c644087cba
User-disabling an Add-on is more explicit now in the model (bug 616213)
...
Renamed addon.inactive to addon.disabled_by_user everywhere in the code.
2010-12-06 15:15:09 -06:00
Andy McKay
c0ccbef35c
upgrade to latest django (bug 612467)
2010-11-19 10:39:34 -08:00
Andy McKay
23b9fd50f1
change csv header (bug 564544)
2010-11-18 13:45:25 -08:00
Wil Clouser
79e19ed2f1
Fix backtraces for suppressed emails
2010-11-16 11:40:47 -08:00
Wil Clouser
b6c26dbd19
somehow managed to delete a parenthesis :-/
2010-11-12 13:22:02 -08:00
Wil Clouser
c6e7945b96
Add logging code; bug 605519
2010-11-12 13:16:09 -08:00
Wil Clouser
b485acf429
Don't rerun old stats that will have invalid data. This happens when an element
...
we keep stats on changes state (like an add-on that moves from sandbox to
public). Related to, but doesn't close, bug 605519
2010-11-11 08:45:19 -08:00
Andy McKay
30d8473736
feedback on bug 605647
2010-11-09 13:38:47 -08:00
Andy McKay
4f93312b8b
fudge cache headers based on data
2010-11-09 12:10:13 -08:00
Wil Clouser
a283c46259
Fix a bug where stats wouldn't be calculated for requested dates; bug 605519
2010-11-04 14:16:22 -07:00
Wil Clouser
da42198fe1
Allow cross site access to stats data; bug 501060
2010-11-04 14:16:22 -07:00
Matt Claypotch
e6eabb946f
Bug 601485, In ur stats, localizin ur strings. I blanked out contrbutions because it doesn't have data and the markup was wrong anyway.
2010-10-26 15:55:22 -07:00
Ian Bicking
ee6f4bb00d
with manage.py convert_stats_to_json, never fetch more than --max-objs from the database (previously it would only never *convert* more than that many objects, but for large tables there could be a memory error simply fetching the objects)
2010-10-14 11:33:49 -05:00
Matt Claypotch
9c37e7f451
Bug 601485, l10n stats moar
2010-10-04 16:44:31 -07:00
Matt Claypotch
d1bb7346d7
stats v2
2010-09-30 20:12:31 -07:00
Matt Claypotch
bb886b55aa
moved stats into its own js folder
2010-09-30 20:12:31 -07:00
Ian Bicking
8ab589019e
This is a squash of Ian's 5 commits:
...
Allow StatsDictField to read JSON or phpserialized content. Content will always be saved as JSON. phpserialized parsing is slow, so moving to JSON will be faster, while allowing phpserialized legacy content will make data migration easier.
Also includes a command 'python manage.py convert_stats_to_json' that will update (incrementally) objects in the database.
Convert the json udpate to an optional celery task
Added ability to convert json just for a specific class and addon_id
phpserialize cannot handle unicode input (values in the serialized string refer to byte lengths); re-encode the content as UTF-8 before deserializing, then ask phpserialize to decode the resulting strings
Filter out objects with NULL values for conversion
2010-09-29 15:38:19 -07:00
Jeff Balogh
ec4c45d614
sharing for collections (bug 586444)
2010-08-25 07:53:18 -07:00
Wil Clouser
d96b6ceaa7
Migrate to use new user fields
2010-08-18 09:02:43 -07:00
Wil Clouser
3190a8dec4
Adding flush_urls to models
2010-08-16 12:13:18 -07:00
Dave Dash
f33ebf6688
stats.cron tests take <3s instead of >3s
2010-08-11 07:47:58 -07:00
Jeff Balogh
b4324abe12
switch to our custom Task class, handle rabbit downtime (bug 583314)
2010-08-02 15:58:18 -07:00
Ian Bicking
a84f18d6ca
Remove the automatic filtering out of dates with 0000-00-00
...
This filter was causing the queries to not use the most appropriate index with MySQL, slowing down queries significantly.
When queried from Python 0000-00-00 is returned as None. There might be a roundtrip problem if that None is put back into the database (NULL is not allowed on the date field). But all existing queries are date-specific, so these dates shouldn't show up, and updates are not currently done from Python or this application.
2010-08-02 16:27:44 -05:00
Wil Clouser
fc41c7a7c8
Use Unicode with CSVs; bug 580459
2010-07-28 19:20:19 -07:00
Wil Clouser
d13ba92e50
Fix a stats crash when there is no data, bug 580330
2010-07-28 14:28:17 -07:00
Jeff Balogh
7484101cc9
only count uuid=None; those are verified transactions
2010-07-22 15:37:32 -07:00
Matt Claypotch
fffaf018e2
Added application version grouping, visual cleanups, and more human-readable labels
2010-07-16 17:40:20 -04:00
Matt Claypotch
897c6974aa
Bug 573146, fixed a syntax error, helping fligtar sleep at night
2010-07-15 19:32:55 -04:00
Wil Clouser
78280defe3
fix up stats titles; bug 579082
2010-07-15 16:11:55 -07:00
Matt Claypotch
25a33ef260
Bug 578418, added csv export of current stats view
2010-07-15 18:52:32 -04:00
Matt Claypotch
eb826b0c3a
prettier loading for stats, hashes to page states
2010-07-15 16:20:12 -04:00
Matt Claypotch
57543e39a3
URLs now trigger page state
2010-07-01 16:46:22 -07:00
Matt Claypotch
21ad257ddb
Bug 509092, fixing breadcrumbs for statistics pages
2010-06-30 22:33:28 -07:00
Dave Dash
9a386cc225
OH shit! **argsgit diff
2010-06-29 19:09:35 -07:00
Matt Claypotch
0fd115f7a7
more stats wired to real data, more range sensitivity
2010-06-29 11:07:16 -07:00
Matt Claypotch
5a0fefac35
Bug 543548, topcharts now powered by real data
2010-06-26 11:58:13 -07:00
Matt Claypotch
7041277d93
fixing datepicker styling
2010-06-26 11:58:13 -07:00
Jeff Balogh
117e7b9f4d
stop the madness
2010-06-24 15:58:34 -07:00
Matt Claypotch
c6805da9f9
security, localstorage, whitespace fixes for stats
2010-06-24 14:55:18 -07:00
Jeff Balogh
be5ab7fa04
check.py cleanup
2010-06-24 09:59:36 -07:00
Ian Bicking
33f7d3b07f
cache-control for stats data (bug 564540)
2010-06-24 09:57:48 -07:00
Matt Claypotch
cd9eb2faee
removing inline JS, adding more local caching
2010-06-23 16:15:16 -07:00
Matt Claypotch
3d1655e50e
moving table config into data attributes
2010-06-23 16:14:41 -07:00
Matt Claypotch
e8a05ad932
Statistics pages initial landing
2010-06-23 16:14:41 -07:00
Dave Dash
91b88f0488
bug 569742, fixed rebasing issues.
2010-06-22 17:23:33 -07:00
Dave Dash
80dd076d99
bug 569742, move stats tasks to tasks.py
...
This will make cron.py just list the cron jobs, and tasks list all tasks
regardless of whether they are used in cron.
This also adds a new task to update total_contributions... I did this out of
order otherwise it would have been two commits. This task can be called via
cron or whenever Contributions is updated.
2010-06-22 12:44:51 -07:00
Wil Clouser
98bbf0ea1a
Adjust some log levels
2010-06-04 15:29:48 -07:00
Jeff Balogh
dead3cb957
fix up more getLogger calls
2010-05-20 10:46:02 -07:00
Wil Clouser
0030c3ae79
Accept a date for calculating global stats; bug 562236
2010-05-18 17:30:30 -07:00
Wil Clouser
673d31cfed
Fix cron error, bug 566258
2010-05-18 08:59:06 -07:00
Wil Clouser
4ea3f48599
fix broken stuff
2010-05-13 13:32:53 -07:00
Wil Clouser
8e4e52e46c
Don't override objects on stats models
2010-05-12 20:35:13 -07:00
Wil Clouser
e7a107a1b1
Slow cron job down a bit
2010-05-10 10:02:50 -07:00
Wil Clouser
1e77915dc0
Migrate global_stats to zamboni
2010-05-06 15:53:21 -07:00
Wil Clouser
56d79dc0dc
Migrate user_ratings cron job
2010-05-04 22:54:06 -07:00
Wil Clouser
e69cf15fd6
Migrate addons_collections_total
2010-05-04 11:26:42 -07:00
Wil Clouser
4451fac1cf
Migrate collection_stats cron job
2010-05-03 23:44:31 -07:00
Wil Clouser
960b835ac8
fix imports / broken tests
2010-04-30 15:26:53 -07:00
Wil Clouser
dc37ab3ef4
Zambonize `maintenance.php collections_total`
2010-04-30 15:01:57 -07:00
Dave Dash
6670c6ef91
This is python, we use __init__.py... for nothing.
2010-04-26 16:36:50 -07:00
Jeff Balogh
91bf852e7e
save subscription events from paypal (bug 560893)
2010-04-22 16:42:19 -07:00
Jeff Balogh
8908bbb57f
use ShareCountTotal for great good!
2010-04-14 17:22:27 -07:00
Wil Clouser
6f6720ebc0
Migrate from the l10n lib to Tower; bug 557339
2010-04-14 14:40:39 -07:00
Wil Clouser
705a15071e
Use DEFAULT_FROM_EMAIL; bug 557342
2010-04-09 20:49:36 -07:00
Scott McCammon
92591dc97b
added src=emailinfo to thankyou note emails, bug 554151
2010-03-22 14:57:28 -07:00
Scott McCammon
fa6f18aa57
fixed Contribution.mail_thankyou to always have a from_email address.
2010-03-21 13:52:54 -07:00
Jeff Balogh
2974554d0c
meet the developer and eula stubs
2010-03-19 12:44:53 -07:00
Wil Clouser
68f7c83900
Add DOMAIN setting
2010-03-17 14:23:48 -07:00
Scott McCammon
02bf3f3f21
added Contribution.mail_thankyou and accompanying model fields
2010-03-16 22:32:38 -07:00
Fred Wenzel
bf7b76390e
contribution element and pledge box / thermometer
2010-03-11 15:29:45 +01:00
Fred Wenzel
e7e4818e50
sharing services and helper widget + tests
2010-03-10 12:13:41 +01:00
Jeff Balogh
99000a6b74
global_stats model
2010-03-01 15:10:47 -08:00
Scott McCammon
c1a13672b1
fixed a potential TypeError when generating apps CSVs
2010-02-24 18:59:38 -08:00
Scott McCammon
85c794d8ec
added urls, views, and tests for csv/json stats
2010-02-24 10:21:25 -08:00
Scott McCammon
862b2e74f8
added sum_reduce to StatsDict which reduces the object to a single value
2010-02-24 10:21:25 -08:00
Scott McCammon
9579737660
added aggregation to StatsQuerySet summaries (Sum, Avg, DayAvg, etc)
2010-02-24 10:21:20 -08:00
Scott McCammon
b3edb3b802
record start and end of periods in stat summaries (instead of just the start)
2010-02-24 10:14:18 -08:00
Scott McCammon
68cf0eb699
added period_summary(), a wrapper around (daily|weekly|monthly)_summary()
2010-02-24 10:14:18 -08:00
Scott McCammon
b5bbd4cff8
added constant multiplication to StatsDict objects
2010-02-24 10:14:18 -08:00
Scott McCammon
0b1500bd7c
Created stats Contribution model and tests
2010-02-24 10:14:18 -08:00
Scott McCammon
0f0530630e
created custom manager and queryset for stats to support common summaries
...
This also includes a StatDictField that converts serialized php into a summable dictionary
2010-02-24 10:14:18 -08:00
Jeff Balogh
5353531044
models for update_counts and download_counts
2010-02-04 14:01:42 -08:00