Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

36 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Rob Hudson 7ee75c9f2d Added offline re-indexing option (bug 763722) 2012-10-23 20:56:06 +02:00
Andy McKay ba27d0e2d5 forget that extra gunk 2012-10-19 15:20:31 -07:00
Andy McKay 65a5cc32cc look at created, not addon.created (bug fix-app-counts) 2012-10-19 14:18:36 -07:00
Andy McKay efccaa7417 fix up lte in global stats (bug 801071) 2012-10-12 15:44:32 -07:00
Andy McKay 6f7a0b67f9 add in users stats 2012-10-10 13:35:00 -07:00
Andy McKay 919f74db6e add in some apps stats 2012-10-10 11:56:37 -07:00
Chris Van d8844359f9 filter apps by region on Home, Category Landing, Category Browse, Site Search, Search Suggestions (bug there-is-none, but bug 764033 is relevant) 2012-08-13 17:23:55 -07:00
Kevin Ngo 586491b0fe backend for financial data (bug 754965) 2012-05-23 15:48:46 -07:00
Andy McKay 76aa01f4c9 index Installed counts into ES (740998) 2012-04-09 13:39:32 -07:00
Kumar McMillan 8f7089359c Upgrade celery from 2.2.6 to 2.5.1 (and deps) bug 739111 2012-03-26 15:15:46 -05:00
Andy McKay 22bc13e3a5 make it a task 2012-03-08 13:22:36 -08:00
Andy McKay 6dd5ae6de6 filter correctly and id into the results 2012-03-08 10:28:32 -08:00
Wil Clouser 84e952a7d7 reduce chunk size to eliminate timeouts. Also remove unused ratelimits 2012-03-07 08:41:56 -08:00
Andy McKay 19791e0619 move collections into stats 2012-03-05 12:11:04 -08:00
Davor Spasovski 7557604505 Revert "move collection stats to es (bug 722556)"
This reverts commit 17197a2985.

Conflicts:

	apps/stats/views.py
2012-03-02 17:29:51 -08:00
Davor Spasovski 17197a2985 move collection stats to es (bug 722556) 2012-03-02 17:20:22 -08:00
Kumar McMillan 3d4cc7b58f Accept arbitrary keywords from celery like task_name= 2012-01-09 15:12:06 -06:00
Jeff Balogh 4d85434d53 drop it like it's hot 2011-10-28 15:32:58 -07:00
Jeff Balogh ce94c81bb9 switch to ES_INDEXES 2011-09-07 16:02:26 -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
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
Jeff Balogh 03f712f6e9 @task needs **kw (bug 627608) 2011-01-24 11:47:15 -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
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
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
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
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 b4324abe12 switch to our custom Task class, handle rabbit downtime (bug 583314) 2010-08-02 15:58:18 -07:00
Jeff Balogh 7484101cc9 only count uuid=None; those are verified transactions 2010-07-22 15:37:32 -07:00
Jeff Balogh 117e7b9f4d stop the madness 2010-06-24 15:58:34 -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 dc37ab3ef4 Zambonize `maintenance.php collections_total` 2010-04-30 15:01:57 -07:00