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

55 Коммитов

Автор SHA1 Сообщение Дата
Sean McArthur bbb1c045c4 adds PackageRevision.extra_json
* set using .set_extra_json()
* value will be passed to simplejson.loads(), and be the base dict
  for which the manifest will be. generated properties override
  user defined properties.
* includes database migration
2012-03-13 18:43:55 -07:00
Arron Schaar 929849bc5c Added migration to update person_profile and auth_user tables to utf8 2012-02-23 09:00:03 -08:00
Wil Clouser 1f73605e85 don't run this twice in prod 2012-02-15 14:49:04 -08:00
Arron Schaar 4a9e13ad91 added semi-colons to each line 2012-02-15 11:18:33 -08:00
Arron Schaar 3690966e63 added db constraint for package name/authorid 2012-02-14 15:42:58 -08:00
Piotr Zalewa 8a73e0ec70 typo fixed 2012-01-24 23:31:07 +01:00
Piotr Zalewa b6dd468681 change tables to utf8 2012-01-20 00:54:36 +01:00
Piotr Zalewa 84da7bed4f check ABH version switched on 2011-12-27 14:29:14 +01:00
Arron Schaar 71d1657d1a Merge pull request #93 from pennyfx/browserid
Fixed browserid migration and set default to off
2011-12-20 15:03:15 -08:00
Arron Schaar 2eb96a5199 fixed browserid migration and default to off 2011-12-20 15:01:55 -08:00
Arron Schaar af41bb4733 Merge pull request #91 from pennyfx/browserid
Enable BrowserID login
2011-12-19 17:28:34 -08:00
Arron Schaar 72b5993cae enable browserid by default 2011-12-19 15:07:38 -08:00
Arron Schaar caf474040d Added browserID login 2011-12-19 15:00:59 -08:00
Arron Schaar d30b973132 partial 2011-12-02 14:09:13 -08:00
Piotr Zalewa 255532fdec jsHint fixes
Alert if Add-ons Builder helper is not the current one

WARNING: switch checkAddonHelperVersion after addon Add-pons Builder
Helper will respond with version number to
window.mozFlightDeck.send({cmd: 'version'});

fixes https://bugzilla.mozilla.org/show_bug.cgi?id=687138
2011-11-16 14:16:58 +00:00
Piotr Zalewa 988a37276d add workaround for SDK Error in stdout 2011-11-03 12:33:33 +01:00
Piotr Zalewa 1ddf8bb8e9 Merge branch 'bug-690061-add_waffle' into workarounds_to_waffle 2011-11-02 16:57:54 +01:00
Piotr Zalewa d7b176b0fc Add django_waffle requirement
Create tables and settings for waffle
2011-11-02 16:47:10 +01:00
Piotr Zalewa f0a3bab793 remove WORKAROUND_SDK_MAIN setting and add a LibDirInMainAttributeWorkaround
waffle switch
2011-11-02 16:42:47 +01:00
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