add 3rd party keyboard support to buchets (bug 922209)

This commit is contained in:
Kevin Ngo 2013-10-10 12:02:40 -07:00
Родитель 2928757ca0
Коммит 54790aa3f7
3 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -1564,7 +1564,7 @@ ALLOW_TASTYPIE_SERVICES = False
# The version we append to the app feature profile. Bump when we add new app
# features to the `AppFeatures` model.
APP_FEATURES_VERSION = 2
APP_FEATURES_VERSION = 3
# Whether to throttle API requests. Default is True. Disable where appropriate.
API_THROTTLE = True

Просмотреть файл

@ -0,0 +1,2 @@
ALTER TABLE `addons_features`
ADD COLUMN `has_thirdparty_keyboard_support` bool NOT NULL;

Просмотреть файл

@ -298,6 +298,12 @@ APP_FEATURES = OrderedDict([
'apis': ('TCPSocket', 'navigator.mozTCPSocket',
'navigator.mozTCPServerSocket')
}),
('THIRDPARTY_KEYBOARD_SUPPORT', {
'name': _lazy(u'Third-Party Keyboard Support'),
'description': _lazy(u'The app requires the platform to support '
u'third-party keyboards.'),
'apis': ('navigator.mozInputMethod',),
}),
])