Граф коммитов

36 Коммитов

Автор SHA1 Сообщение Дата
Sean McArthur fe724224be allow SDK.options to be null 2011-10-18 18:57:35 -05:00
Arron Schaar MBP c9abc17a50 added migration to set default value for activity_rating 2011-10-18 16:42:14 -07:00
Arron Schaar MBP 633c0e8c58 added index to packagerevision table 2011-10-13 13:52:55 -07:00
Arron Schaar MBP 890e38996e Refactored Package Activity
Updated package activity to only be calculated during the nightly cron.
(update_package_activity)

Activity is stored in Package.activity and gets picked up and indexed
on refresh_index
2011-10-11 15:16:27 -07:00
Sean McArthur cbfca58b5c improve updating of the year_of_activity
Instead of keeping a flag of is_active_today (which no longer matters if the
cron doesn't get run every day, or is out of sync), this records the
timestamp of each time the year_of_activity is updated.

Therefore, if the cron failed to run (or any other such problem), we would
still know how many days since the last activity investigation, and be able to
update just those days.
2011-10-07 17:21:57 -05:00
Sean McArthur 0c911ed424 move fill_package_activity from migration to a task
also registered as a cron, so we can call it from the command line if we need to
2011-09-29 17:46:32 -05:00
Piotr Zalewa cc469a2020 migration added 2011-09-29 20:06:35 +01:00
Sean McArthur 17eec92f0e remove stray quote 2011-09-26 18:41:21 -05:00
Piotr Zalewa 69e7664a48 fixes https://bugzilla.mozilla.org/show_bug.cgi?id=679863
Adding ability to store options for ``cfx xpi` command in SDK object

WARNING
Currently I've got an issue qhile trying to do a specific test:
./manage.py test xpi repackage.tests.test_tasks:RepackageTaskTest.test_download_and_failed_rebuild
it does work if testing only repackage (without xpi)
File is created in xpi.xpi_utils.info_write, but somehow disappears in test
2011-09-23 19:09:29 +01:00
Sean McArthur 7749261228 adds an Activity filter to search page
fixes Bug 681825 - Add "most active" facet to search
2011-09-15 16:56:40 -07:00
Piotr Zalewa 7e23a642f9 * AMO integration status no longer copied on new revision
* latest_uploaded FK introduced
* pull AMO Status on Dashboard page load
2011-09-06 18:34:56 +01:00
Piotr Zalewa 55f982786f add amo_file_id to prepare for updating amo status per version 2011-09-05 12:30:09 +01:00
Piotr Zalewa c6a4c0a65b Merge branch 'master' into bug-600422-oauth_upload 2011-08-15 19:42:26 +01:00
Piotr Zalewa 13a2162f9d * amo_status added to PackageRevision
* saving version name used to upload to AMO
* validating if upload is possible
* setting the license as DEFAULT which needs to be changed on AMO side:
2011-08-11 13:31:33 +01:00
Piotr Zalewa 683baa0ab3 * amo_status is saved in PackageRevision
* upload_to_amo moved to PackageRevision
* saving amo_id from response
* raising NotImplementedError on updating existing Add-on
2011-08-10 12:47:54 +01:00
Piotr Zalewa bf7acfda58 bug 600422
* Add amo_id which will allow syncing with AMO Addons
2011-07-29 10:08:35 +01:00
Sean McArthur c57df228a8 modified migration to try to fix all libraries that might not have been fixed 2011-07-21 14:57:12 -07:00
Sean McArthur 471534c5c4 turning migrations/ into a module, and fixing indent in 011 migration 2011-07-21 11:24:13 -07:00
Sean McArthur 4dc4082c69 use python26 alias 2011-07-21 09:51:43 -07:00
Sean McArthur acaf624a5b added logging to migration 2011-07-20 11:30:50 -07:00
Sean McArthur 37e43c1906 py migration must be in a run() method 2011-07-20 10:11:41 -07:00
Sean McArthur a149b64b67 adding handler for python migrations 2011-07-20 10:11:29 -07:00
Sean McArthur 54b66e1321 change all libraries to have module_main of 'index', and add an index.js if it doesn't have one 2011-07-20 09:48:03 -07:00
Piotr Zalewa 5ef528eff3 https://bugzilla.mozilla.org/show_bug.cgi?id=665104
* fixtures do point to mozilla user on AMO
* migrate database so mozilla user links to amo
2011-06-20 16:46:12 +01:00
Piotr Zalewa 7126afcbc0 https://bugzilla.mozilla.org/show_bug.cgi?id=659529
``name`` and ``full_name`` in PackageRevision

* Package holds the latest ``name`` and ``full_name``
* Please set name in PackageRevision.set_name(value)`
  It will change the Package only if PackageRevision is the latest
* There is still a need to change the updated dependency name
  I marked it with XXX in Sidebar.js
2011-06-09 18:35:23 +01:00
Wil Clouser 06f3303aaf Clean up tables; bug 653227 2011-05-05 12:46:29 -07:00
Sean McArthur 395e957fc0 fixing migration to only alter table that actually exist in production 2011-05-03 10:21:38 -07:00
Sean McArthur 06a5603204 fixes Bug 633100 - convert all tables to innodb and make real FKs
This reverts commit 0bdc5257e8.
2011-04-29 14:26:03 -07:00
Sean McArthur 0bdc5257e8 Revert "fixes Bug 633100 - convert all tables to innodb and make real FKs"
This reverts commit 691a211559.
2011-04-20 14:15:25 -07:00
Sean McArthur 691a211559 fixes Bug 633100 - convert all tables to innodb and make real FKs 2011-04-20 12:42:44 -07:00
Piotr Zalewa aff5c7f982 migration 2011-03-30 20:18:05 +01:00
Piotr Zalewa 9387662e76 Bug 633643
Automatic commit messages added
* Add commit messages to the hidden list
* Build commit message on Revision creation
* Update commit message if save happened before action (assigning attachments,
  etc.)
2011-03-14 11:34:19 +00:00
Piotr Zalewa 74040b14ec delete and private are working fine 2011-02-22 13:09:13 +00:00
Sean McArthur 74fb195b43 migration to use EmptyDir 2011-02-10 13:33:48 -08:00
Piotr Zalewa dfd1d758ae create doc_page migration 2011-02-09 18:41:28 -08:00
Wil Clouser 251dcaedda Add a migrations/ directory. 2011-02-07 21:52:55 -08:00