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

34050 Коммитов

Автор SHA1 Сообщение Дата
Christopher Grebs 7d8d74ee3b
Make delete user copy more clear about what happens if you log in again.
Fixes #2451
2018-01-30 14:32:19 +01:00
Mathieu Pillard 544274cba0
Merge pull request #7428 from diox/status-disabling-activity-log
Make ActivityLog creation with amo.LOG.CHANGE_STATUS more consistent
2018-01-30 13:17:09 +01:00
Maykon Chagas ff0109073c Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
Localization authors:
- Maykon Chagas <mchagas@riseup.net>
2018-01-30 11:10:56 +00:00
Yaron Shahrabani 460b180d5d Pontoon: Update Hebrew (he) localization of AMO
Localization authors:
- Yaron Shahrabani <sh.yaron@gmail.com>
2018-01-30 10:51:13 +00:00
Christopher Grebs e949076363
Add use-autograph flag, time autograph specific signing calls. (#7401)
* Add use-autograph flag, make use of it everywhere.

This adds support for a use-autograph flag to our management commands,
signing and language pack fetching to allow us to enable it gradually
and to re-sign add-ons manually with autograph for testing purposes.

Fixes #7380

* Use different statsd key for autograph signing.

* Various cleanups and fixes

* Fix command tests and others

* Fix ui-tests

* Unify flag usage, fix crypto tests

* Fix sign_file calls

* Just not use autograph for langpacks unless we switch it on for the broad mass.

* Fix tests and codestyle

* More codestyle...
2018-01-30 11:14:16 +01:00
Mozilla Pontoon f1d1289a86 Pontoon: Update Czech (cs) localization of AMO 2018-01-30 09:51:02 +00:00
Fjoerfoks e8203ecbef Pontoon: Update Frisian (fy-NL) localization of AMO
Localization authors:
- Fjoerfoks <fryskefirefox@gmail.com>
2018-01-30 09:10:54 +00:00
Fjoerfoks 10a96bdcdb Pontoon: Update Frisian (fy-NL) localization of AMO
Localization authors:
- Fjoerfoks <fryskefirefox@gmail.com>
2018-01-30 08:51:06 +00:00
Christopher Grebs d52015d365
Default to 'and' operator for match queries. Remove slug search, prioritize exact matches more. (#7303)
* Default to 'and' operator for match queries. Remove slug search, prioritize exact matches more.

References many "component: search" issues. What I tested with a
database of all public add-ons:

Example searches:

tab center redux - should find "Tab Center Redux" while "Tab Mix Plus" is probably second and "Redux DevTools" 4th or so
Open Image in New Tab -> should find "Open Image in New Tab" while "Open Bookmarks in New Tab" should be 2nd or 3rd
CoinHive -> Finds "Coinhive Blocker", "CoinBlock" (prefix search) and "NoMiners" (description)
Privacy -> Finds "Privacy Badger", "Privacy Pass", "Privacy Settings", "Google Privacy" (probably 4th or so) and "Blur" (summary + description + many users). Scores "Ghostery" on the first page but ranks it in the middle
firebu -> Finds "Firebug", "Firebug Autocompleter", "Firefinder for Firebug"
fireb -> Scores "Fire Drag" first, puts "Firebug" approximately 3rd or so
Menu Wizzard -> Finds "Menu Wizard" (fuzzy, typo) first, then "Add-ons Manager Context Menu" apparently because it matches good in the title and has many users
Frame Demolition -> Finds "Frame Demolition"
Demolition -> Finds only "Frame Demolition", same for "Demolation" (typo)
reStyle -> Finds "reStyle" and scores a few add-ons that match on "restore" next since the term is similar
MegaUpload DownloadHelper -> finds "MegaUpload DownloadHelper" first, scores "Video DownloadHelper" and "RadpidShare DownloadHelper" next. Doesn't find "Popup Blocker" anymore as currently happening on -prod
MegaUpload -> only finds "MegaUpload DownloadHelper" and nothing else
No Flash -> Scores "No Flash" first, then depending on users "Download Flash and Video", "YouTube Flash Video Player" and "YouTube Flash Player" (not necessarily in that order)
Disable Hello, Pocket & Reader+ -> finds "Disable Hello, Pocket & Reader+" first (yeay!), then scores "Reader", "Disable WebRTC" and "In My Pocket" next similarly to what's happening on -prod currently

Not working yet:

privacybadger -> "Privacy Badger" -> will probably need some kind of ngram filtering and analyzing (#591)
eyes -> 'decentraleyes' -> Not sure this should actually work, will probably need some more analyzing too (#591)

Not sure if it's specifically only because of these changes but #3248 is fixed.

This potentially fixes #7244, #6891, #6837, #6417, mozilla/addons#359.

Not sure if this fixes #mozilla/addons#567 but the results look much more promising and the amount of results doesn't explode here. I only have 2.8k add-ons for testing though so I'm not too sure.

And might be relevant to #6137.

This is a big step towards #2661, I doubt we can call this fixed though.

* Fix name tests

* Speed up ES tests, make scoring results more predictable by using only one shard and one replica

* Add tests

* Only test on new apiv3 based search.

* Fixup 'get_results'

* Remove debug print

* Isort imports

* Fix test settings, I'm blind.

* Adapt number of shards to what we define in settings_test

* Test search for grapple

* Remove property filtering in legacy api search, fix tests, fix flake8

* Add comment explaining shard config

* Fix tests again, add default platform, fix total counts again.

* Try to do some fixture cleanup, let's see...

* More test refactoring, make use of dfs-query-then-fetch during tests, allow us to test this later too via a waffle flag.

* Don't use waffle flag for legacy search, only for apiv3 searches.

* Fix unused import, fix usage of 'params'

* Use query-then-fetch in a regular addons-view tool, fix a few more tests to be able to handle the waffle-flag

* Create the dfs query then fetch flag only in ESTestCase, delete it properly. More serializer fixes

* precache the waffle flag for autocomplete tests too

* Minor cleanups

* Add docs, fix code style

* Add a todo

* Fix codestyle
2018-01-30 06:26:30 +01:00
manxmensch 44fff9d4a1 Pontoon: Update Malay (ms) localization of AMO
Localization authors:
- manxmensch <manxmensch@gmail.com>
2018-01-30 02:51:17 +00:00
manxmensch 0e8948157e Pontoon: Update Malay (ms) localization of AMO
Localization authors:
- manxmensch <manxmensch@gmail.com>
2018-01-30 02:33:31 +00:00
YFdyh000 cae0de0072 Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Localization authors:
- YFdyh000 <yfdyh000@gmail.com>
2018-01-29 23:32:27 +00:00
Rodrigo 8954751036 Pontoon: Update Portuguese (Portugal) (pt-PT) localization of AMO
Localization authors:
- Rodrigo <rodrigo.mcunha@hotmail.com>
2018-01-29 22:11:32 +00:00
Maykon Chagas aac00384cc Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
Localization authors:
- Maykon Chagas <mchagas@riseup.net>
2018-01-29 20:51:24 +00:00
Maykon Chagas d08cfefc71 Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
Localization authors:
- Maykon Chagas <mchagas@riseup.net>
2018-01-29 20:32:30 +00:00
Lan Glad 12a1899c6f Pontoon: Update Slovenian (sl) localization of AMO
Localization authors:
- Lan Glad <upwinxp@gmail.com>
2018-01-29 20:11:50 +00:00
Maykon Chagas 7bc27d478a Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO
Localization authors:
- Maykon Chagas <mchagas@riseup.net>
2018-01-29 20:11:20 +00:00
Lan Glad f0245027b8 Pontoon: Update Slovenian (sl) localization of AMO
Localization authors:
- Lan Glad <upwinxp@gmail.com>
2018-01-29 19:51:37 +00:00
Lan Glad dc956811e8 Pontoon: Update Slovenian (sl) localization of AMO
Localization authors:
- Lan Glad <upwinxp@gmail.com>
2018-01-29 19:31:28 +00:00
Lan Glad 8ac2398cbb Pontoon: Update Slovenian (sl) localization of AMO
Localization authors:
- Lan Glad <upwinxp@gmail.com>
2018-01-29 19:10:44 +00:00
Christopher Grebs 5307f487a7
Merge pull request #7432 from mozilla/revert-docker-changes
Revert our centos -> debian docker image changes.
2018-01-29 19:40:40 +01:00
Christopher Grebs 22f864bd14
Revert our centos -> debian docker image changes.
Revert "docker: Fix Debian build issue for python package"

This reverts commit 2239e8483e.

Revert "docker: Include uwsgi plugin"

This reverts commit 807420bf16.

Revert "docker: Include uwsgi"

This reverts commit ceb36b5890.

Revert "docker: Update deploy to use Docker Python image"

This reverts commit 916547d2b5.

Revert "docker: Remove ‘centos’ from docker-indicating file"

This reverts commit d34b92e0e8.

Revert "docker: Update build to use Docker Python image"

This reverts commit b08b51375d.
2018-01-29 19:38:04 +01:00
Michael Köhler 49389bd642 Pontoon: Update German (de) localization of AMO
Localization authors:
- Michael Köhler <michael.koehler1@gmx.de>
2018-01-29 18:32:12 +00:00
avelper 323219fcff Pontoon: Update Spanish (es) localization of AMO
Localization authors:
- avelper <avelper@mozilla-hispano.org>
2018-01-29 18:11:47 +00:00
Georgianizator 18ce196080 Pontoon: Update Georgian (ka) localization of AMO
Localization authors:
- Georgianizator <georgianization@outlook.com>
2018-01-29 18:11:21 +00:00
Christopher Grebs d98a07ba88
Merge pull request #7431 from mozilla/pc/docker
docker: Fix Debian build issue for python package
2018-01-29 19:00:35 +01:00
Philip Cristiano 2239e8483e docker: Fix Debian build issue for python package
Explained best at https://github.com/pypa/virtualenv/issues/410

Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783738
2018-01-29 12:55:37 -05:00
avelper b720d28c98 Pontoon: Update Spanish (es) localization of AMO
Localization authors:
- avelper <avelper@mozilla-hispano.org>
2018-01-29 17:51:04 +00:00
Christopher Grebs 866e81c56b
Merge pull request #7430 from philipcristiano/pc/docker
docker: Include uwsgi plugin
2018-01-29 18:24:04 +01:00
Philip Cristiano 807420bf16 docker: Include uwsgi plugin 2018-01-29 12:21:03 -05:00
Georgianizator a0d550cb9e Pontoon: Update Georgian (ka) localization of AMO
Localization authors:
- Georgianizator <georgianization@outlook.com>
2018-01-29 17:10:47 +00:00
Andrew Williamson d2d547948e
Speed up LanguageTools API by cutting out current_version from response (#7403) 2018-01-30 01:04:19 +08:00
Andreas Pettersson 8a8e32e517 Pontoon: Update Swedish (sv-SE) localization of AMO
Localization authors:
- Andreas Pettersson <az@kth.se>
2018-01-29 16:51:01 +00:00
Mathieu Pillard fa7fd8d4b9 Make ActivityLog creation with amo.LOG.CHANGE_STATUS more consistent
This fixes the string used by the status when displaying activity logs
for this action, regardless of the source, handling translations correctly.

Previously depending on the source you could end up with things like
"foo status changed to 5" or "foo status changed to Aprobado"...
2018-01-29 17:43:40 +01:00
ItielMaN f306fd46a7 Pontoon: Update Hebrew (he) localization of AMO
Localization authors:
- ItielMaN <itiel_yn8@walla.com>
2018-01-29 16:31:33 +00:00
ItielMaN 8384c9e454 Pontoon: Update Hebrew (he) localization of AMO
Localization authors:
- ItielMaN <itiel_yn8@walla.com>
- Yaron Shahrabani <sh.yaron@gmail.com>
2018-01-29 16:13:31 +00:00
Ton 29354a7cc3 Pontoon: Update Dutch (nl) localization of AMO
Localization authors:
- Ton <tonnes.mb@gmail.com>
2018-01-29 16:13:15 +00:00
Michael Wolf 2da6669c29 Pontoon: Update Sorbian, Lower (dsb) localization of AMO
Localization authors:
- Michael Wolf <milupo@sorbzilla.de>
2018-01-29 15:51:41 +00:00
Ton a7f0bf0e64 Pontoon: Update Dutch (nl) localization of AMO
Localization authors:
- Ton <tonnes.mb@gmail.com>
2018-01-29 15:51:09 +00:00
Rhoslyn Prys f7ef3c4ad3 Pontoon: Update Welsh (cy) localization of AMO
Localization authors:
- Rhoslyn Prys <rprys@yahoo.com>
2018-01-29 15:35:13 +00:00
Michael Wolf c6281f7706 Pontoon: Update Sorbian, Upper (hsb) localization of AMO
Localization authors:
- Michael Wolf <milupo@sorbzilla.de>
2018-01-29 15:34:55 +00:00
Michael Wolf 00255ef12e Pontoon: Update Sorbian, Lower (dsb) localization of AMO
Localization authors:
- Michael Wolf <milupo@sorbzilla.de>
2018-01-29 15:34:34 +00:00
Mozilla Pontoon 12cc9cda1e Pontoon: Update Hebrew (he) localization of AMO 2018-01-29 15:34:01 +00:00
Michael Wolf 24b01cc4aa Pontoon: Update Sorbian, Lower (dsb) localization of AMO
Localization authors:
- Michael Wolf <milupo@sorbzilla.de>
2018-01-29 15:11:53 +00:00
ItielMaN 0d8a046f34 Pontoon: Update Hebrew (he) localization of AMO
Localization authors:
- ItielMaN <itiel_yn8@walla.com>
2018-01-29 15:11:31 +00:00
Christopher Grebs 241d52fce4
Merge pull request #7426 from philipcristiano/pc/docker
docker: Include uwsgi
2018-01-29 16:05:46 +01:00
Andrew Williamson 3d8bc5bede
Remove Viewer and Support add-on author roles. (#7384) 2018-01-29 23:02:34 +08:00
Michael Wolf ede144c78b Pontoon: Update Sorbian, Lower (dsb) localization of AMO
Localization authors:
- Michael Wolf <milupo@sorbzilla.de>
2018-01-29 14:51:25 +00:00
Philip Cristiano ceb36b5890 docker: Include uwsgi
And link from the Centos location to allow for puppet to remain the same for the time being. 

It can change later to support Debian after this is deployed
2018-01-29 09:51:00 -05:00
Bjørn I 39d4872ed9 Pontoon: Update Norwegian Nynorsk (nn-NO) localization of AMO
Localization authors:
- Bjørn I. <bjorn.svindseth@online.no>
2018-01-29 14:32:04 +00:00