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

1234 Коммитов

Автор SHA1 Сообщение Дата
Andrew Williamson dbb9d8cd49
Add admin support for adding/editing primary hero shelf items (#11949) 2019-07-29 17:16:09 +01:00
Andrew Williamson c00d2684df create primary hero shelve model, serializer, view 2019-07-18 14:26:06 +01:00
Mathieu Pillard 5514018ffb Prevent developers from disabling/deleting latest version of recommended add-on 2019-06-04 13:07:26 +02:00
Mathieu Pillard b9e9c3d531
Add all fields/info needed in abuse admin detail page (#11543)
* Add all fields/info needed in abuse admin detail page

* Set readonly_fields explicitly in the admin without using editable=False

DRF uses editable=False, and we definitely want those fields to be
writeable in the API.

* Add comment explaining use of Paginator()
2019-05-31 13:37:59 +02:00
Mathieu Pillard 129a1c0da9 Display more data about abuse reports in reviewer tools 2019-04-25 12:46:49 +02:00
Mathieu Pillard 49ffbfb213
Merge pull request #11088 from diox/reviewer-alias
Add reviewer name alias for reviewers to hide their actual name
2019-04-03 13:02:10 +02:00
Andrew Williamson fc224722b4
remove legacy_discovery (#11092) 2019-04-02 16:15:23 +01:00
Mathieu Pillard 90c8201eb9 Add reviewer name alias for reviewers to hide their actual name
It's used when exposing reviewer name to developers for reviewer
actions - regular actions still use the normal name, even when
made by a reviewer.
2019-04-01 13:07:12 +02:00
Kumar McMillan d7b9e6cc6a
Link to Code Manager from reviewer tools (#11038) 2019-03-28 23:35:03 -05:00
Andrew Williamson 275b8d5cd2
fix missing toolbar_field property from wizard generated zip (#11017) 2019-03-26 16:40:37 +00:00
Mathieu Pillard 138a36ec7e Remove more references to obsolete collections js files (#11012) 2019-03-25 17:27:01 -04:00
Mathieu Pillard 203343af94
Merge pull request #10983 from diox/rm-legacy-collections-pages
Remove legacy pages related to collections
2019-03-25 12:02:28 +01:00
Andrew Williamson b502c5eafd
update to new theme properties (#10975) 2019-03-21 15:31:31 +00:00
Mathieu Pillard 29e43c8431 Remove legacy pages related to collections 2019-03-21 16:12:44 +01:00
Mathieu Pillard e9cb26f6ba Remove all traces of jetpack-specific code
Jetpack is the old Add-on SDK, we used to treat those in a special way, but
today everything should be WebExtension so that code can go.
2019-03-20 17:19:26 +01:00
Andrew Williamson abe16fed54
restore widget_attrs for UserEmailField (+rename) (#10915) 2019-03-12 12:57:57 +00:00
Andrew Williamson 20328da9e4
frontend has the user admin edit url in a slightly different location (#10829) 2019-03-04 09:46:16 +00:00
suhailsinghbains 524aa54d7f Fixes #10493: Text Aligned Properly in dev-hub 2019-02-25 17:13:51 +05:30
Christopher Grebs f26a150086
Remove amo-validator, remove support for uploading legacy-addons. (#10553)
* Remove amo-validator, remove more support for uploading legacy-addons.

This is dropping most of our compatibility checks for legacy add-ons and
completely blocks them from being uploaded.

We workaround this block for mozilla-signed add-ons by issuing the same
error, just as a warning instead of an actual error.

This affected *loads* of our tests so the PR contains more test-changes
then I'd like.

In addition to that this PR adds file extension validation for uploads,
we only did that in our JavaScript and never in our code. So from now
on, we have a hard limit to only allow whatever is in
`VALID_EXTENSIONS`.

Further...

* drop amo-validator and related dependencies
* remove `dump_apps` management command
* removed unused fixture files from the repo

Fixes #10502

Future improvement idea for our test-suite: Unify add-on file fixtures
under one single folder to avoid any duplication.

There is most certainly some more improvements that could be made to
code and test structure but I went for the least changes, it's way too
huge already :-/

* Fix syntax error in JavaScript, thus ui tests

* Switch back to passing 'channel' around

* Move valid addon file extensions to constants/base

* Fix validate() call

* Fix more tests

* Update src/olympia/devhub/tests/test_views_validation.py

Co-Authored-By: EnTeQuAk <cg@webshox.org>

* Remove old comment

* Issue description specific only to Thunderbird and Seamonkey if targeting thunderbird or seamonkey
2019-02-01 08:52:04 +01:00
Varun Dey a86ea6e9aa Fix white rectangle around login nav menu (#10545) 2019-01-31 16:01:46 +08:00
Mathieu Pillard 3b2a5855e7
Generate and use /static/js/i18n/{locale}.js instead of using a dynamic view (#10372)
Generate and use /static/js/i18n/{locale}.js instead of using a dynamic view
2019-01-15 11:49:31 +01:00
Mathieu Pillard 2a5aa84ad0 Rename model fields approvalnotes to approval_notes and releasenotes to release_notes 2019-01-03 14:08:40 +01:00
ajupazhamayil 72c930b262 issue:7340-remove all the code related to multi-process status except message ids in django.po files (In locale folder) 2018-12-11 18:15:45 +05:30
Christopher Grebs 69aba0e9ef
Remove raven.js from legacy + devhub pages.
Unless I'm mistaken there isn't anyone to really look at this and most
errors and problems should be related to legacy pages anyway.

Let's remove things we're not using or looking at.

Fixes #4845
2018-12-03 14:11:49 +01:00
Andrew Williamson 23591b05c0
autocrop name/summary in non-default locales on submit (#10118) 2018-11-30 10:05:46 +00:00
Andrew Williamson ed024da8df
publize 128px icon as a standard icon size; only generate 32, 64, 128 (#10092) 2018-11-28 13:08:05 +00:00
Andrew Williamson 2b1a19bbc1
Drop obsolete addon properties (#10062) 2018-11-26 19:08:01 +00:00
Andrew Williamson 96f4d789a6
have combined name and summary length restriction (#10059) 2018-11-26 09:51:32 +00:00
Mathieu Pillard a000d04b83 Fix featured collection admin
It used elasticsearch to search through collections, which hasn't
been working for a while as we removed that functionality...
2018-11-12 15:25:54 +01:00
Andrew Williamson dad8254bd6
Serve background images to reviewers via a JSON endpoint (#9916) 2018-11-06 17:08:21 +00:00
Andrew Williamson 3cdb1b0d9d
toolbar elements should fallback to textcolor if toolbar_text not set (#9859) 2018-11-05 13:46:40 +00:00
Andrew Williamson 6a13910a65
update the manifest _after_ we generate the filename (#9874) 2018-11-02 18:59:54 +00:00
Mohit Bansal (Philomath) b97ef5bb78 Fixes #9667 (#9860) 2018-11-02 10:06:27 +00:00
Andrew Williamson c09a5fb62f
serve previous theme background image as json via devhub endpoint (#9847) 2018-10-30 16:56:33 +00:00
Andrew Williamson 890af4d0bc
display addons-server thrown validation errors in theme wizard (#9822) 2018-10-29 10:50:06 +00:00
Christopher Grebs 98ed6889a4
Remove olympia.compat app and related code. (#9720)
Fixes #9515
Also fixes bugzilla.mozilla.org/show_bug.cgi?id=1390960

None of these are used in modern WebExtension world, the urls and views
we're deleting here have <5 requests per day according to datadog.

There may be a bit more css and js/html code we're able to delete but I
tried to be conservative and not remove too much.

This doesn't remove the data from ElasticSearch or models yet, I'll file
separate issues for these.

Also removes a handful of unused json fixtures along the way:

* src/olympia/addons/fixtures/addons/update-strict-compat-version.json
* src/olympia/amo/fixtures/base/charity.json
* src/olympia/amo/fixtures/base/garbage.json
* src/olympia/amo/fixtures/base/licenses.json
* src/olympia/devhub/fixtures/devhub/addon-compat-results.json
* src/olympia/legacy_discovery/fixtures/legacy_discovery/discoverymodules.json
* src/olympia/ratings/fixtures/ratings/three-reviews.json
2018-10-17 18:07:25 +02:00
Andrew Williamson d045cc1adf
description in submission flow (#9689) 2018-10-17 17:06:33 +01:00
Christopher Grebs 5655295e05
Run validator via subprocess, huge cleanup along the way (#9682)
This ports all amo-validator related code to run via subprocess. This
makes us less blocked by it not running on Python 3, there may still be
some installation / execution related bits to actually run it via python
2 instead of python 3 but that's something for later.

* Cleans up how and where we're setting _BIN settings for all the
binaries we're calling
* Backports `unicodehelper` from validator
* Removes `requeue_uploads` since it's been broken and unused for at
least 3-4 years
* Remove Standalone Add-on Compatibility Checker (/developers/addon/check-compatibility/)
* Remove compat-check related bits from standalone add-on upload
* Remove more bulk compat report stuff that isn't used anymore
* Removed zadmin application_versions.json view, unused

Fixes #9670
"Fixes" #8857
2018-10-16 08:30:16 +02:00
Andrew Williamson 6c8ab97032
preload theme wizard with existing properties (#9644) 2018-10-15 16:14:49 +01:00
Shatrughn Gupta d5172f3b1a Fix words breaking in-between in addon descriptions (#9587)
* fix max-width for details in pages

* remove word-break: break-all

.. to avoid breaking words in between.
2018-10-08 12:58:20 +02:00
Christopher Grebs 5005078f91
Update firefox icon, fix positioning. (#9452)
Fixes #9451

This does not touch the manually created sprites in static/img, this
should be a separate issue I guess.

I'd like to get this cherry-picked into this weeks tag.

![screenshot from 2018-09-18 20-01-50](https://user-images.githubusercontent.com/139033/45706986-e873a800-bb7d-11e8-8662-3d22117b2835.png)
2018-09-19 11:56:43 +02:00
Yash Sharma b3d0d4061c Fix single quote location (#9457) 2018-09-19 08:45:55 +01:00
Christopher Grebs 9ddead6531
Replace platform support with plain application selection during submission
This pull request removes supported platform selection and replaces it
with selecting application explicitly. This way the developer can choose
between "Firefox" and "Firefox for Android" support and platforms are
always naively set to "PLATFORMS_ALL" since we want to get rid of
platforms eventually.

This cleans up most of the platform selection code that resides in devhub, views and templates since it's essentially unused now
This doesn't touch any of the platform handling in models since all of that has to continue working for legacy add-ons and WebExtensions that have different platforms selected
We are defaulting to "Firefox" (Desktop) compatibility with Android compatibility being optional

Regarding static themes, they are only compatible with Firefox Desktop currently which works seemlessly since we are defaulting to Firefox Desktop compatibility by default anyway and you can't select explicit Android compatibility for static themes.

That's why I removed all that "platforms to exclude" code and didn't implement a replacement for compatibility apps, any objections to that? We can do that if we have to, e.g if we decide to default to Firefox and Android support for regular WebExtensions.

Fixes #8752
Fixes #6067

This allows selecting support for an application directly during submission
2018-09-18 08:14:05 +02:00
Yash Sharma 3df718761f Pluralising strings in static/js/impala (#9376) 2018-09-13 08:06:13 +01:00
Jasmin Bom 09e98191d1 Add margin before separator line on 2nd page of theme wizard 2018-09-01 15:27:54 +02:00
Mathieu Pillard 0e7a7bb9de Fix ERROR: Unexpected token: keyword (const) in devhub-all.js 2018-08-31 19:09:45 +02:00
Andrew Williamson d76372eec5
prevent large static theme uploads (#9305) 2018-08-31 09:29:30 +01:00
Christopher Grebs 3fd0677a2e
Add note to developer to remember to enter reviewer notes. (#9211)
Fixes #9149

I kinda disagreed with the recommendation rom the issue because then we have the word "submit" or "submission" in that sentence way too many times. I don't mind adding it though 🤷‍♂️ 

> when fixing this, it might be a good idea to also address the following section from the Source code upload form:
>     There is a text in the PRD which was partially omitted in the implementation:
>     PRD: "You may need to submit source code with your submission. "
>     AMO: "You may need to submit source code"

If the user submits the source code:

![screenshot from 2018-08-21 06-50-34](https://user-images.githubusercontent.com/139033/44380978-84be7680-a50e-11e8-936a-09db3278a240.png)
2018-08-21 16:22:18 +02:00
Andrei Petre e096ba2a61 Fix DevHub title overlap in some languages. (#7298) 2018-08-16 12:04:19 -07:00
Rihan 0fa80ccb26 fix issue #6698: unbroken strings wrapped using word-break CSS property 2018-08-10 17:15:53 -07:00
Andrew Williamson 61178eeb00
make source upload a seperate upload step before details (#9086)
* make source upload a separate upload step before details

* standard bullet points

* drop webpack link; italitize tech names as per prd.

* copy updates and css restructuring

* Add JS to drop any source file from submission if 'no' is selected.

* && because Javascript
2018-08-08 15:24:59 +01:00
Andrew Williamson d818c38f49
adjust slug generation JS to not overwrite a generated slug with "" (#9087) 2018-08-07 15:58:38 +01:00
Mathieu Pillard b95610846f Follow changes in the theme name immediately in static theme wizard 2018-07-26 12:53:23 +02:00
Andrew Williamson 4e39b90f06
Addon name only containing invalid chars should be a random slug (#8913) 2018-07-19 19:35:51 +01:00
Mathieu Pillard 6304aa18fe Display the locale next to the translation in discovery items admin preview 2018-07-10 13:00:27 +02:00
Mathieu Pillard 9a9031869e Show preview of the content in disco pane recommendations admin tool 2018-07-09 23:52:49 +02:00
Mathieu Pillard 3b1e8bfa04
Merge pull request #8762 from diox/discovery-editorialized-recommendations-admin
Add admin tool to enter custom heading/description for disco pane recommendations
2018-07-06 13:59:22 +02:00
Christopher Grebs e3afc91036
Fix broken border-color 2018-07-06 07:08:52 +02:00
Mathieu Pillard 486f169a2b Add admin tool to enter custom heading/description for disco pane recommendations 2018-07-05 14:41:16 +02:00
Christopher Grebs 89678f268a
Fix width of add-on modified details in my-addons section.
Fixes #8565
2018-07-04 16:44:53 +02:00
Andrew Williamson 3298a7bc49
make background filename always visible in reviewer tools (#8655) 2018-06-26 11:18:26 +01:00
Andrew Williamson 323e77597e
Fix larger thumbnails in reviewer tools and legacy frontend by locking the size (#8590) 2018-06-21 13:28:02 +01:00
Mathieu Pillard 39ddb65aef Remove features from collections that won't be ported to the new frontend
This removes the following features from collections:
- Ability to browse all public collections and sort through them
- Collection feeds
- Collection admin edition (the functionality is kept but instead
  moved to the django admin)
- Collection contributors (instead, just allow people with
  Collections:Contribute to edit add-ons of the featured themes
  collection.

This allows us to get rid of some long-standing performance issues with
the database queries associated with those features, improving overall
stability of the site.

Database migration removing collections_users table will be added
in a later commit to keep backwards-compatibility when this one is
pushed to production.
2018-06-18 14:52:59 +02:00
Ankush Chadda f779959de0 Fix unbroken strings (#8489)
Fixes #8166
2018-06-15 06:35:21 -07:00
lavish205 795da20bb0 Fixed #4658: Remove Tabzilla from devhub 2018-06-14 03:48:04 +05:30
Andrew Williamson 559dfd8b86
Expose static theme preview in devhub my addons lists (#8458) 2018-06-08 18:26:51 +01:00
Mathieu Pillard 9b2b87d2df
Merge pull request #8465 from diox/translations-in-admin
Unhide translations widgets in the django admin
2018-06-08 17:14:38 +02:00
Christopher Grebs c89ba5abda
Merge pull request #8463 from deepanshu-jain1999/issue_7783
Fix Issue #7783
2018-06-08 07:36:18 +02:00
deepanshu-jain1999 9fe4abde6a Fix issue #7783 2018-06-07 20:25:00 +05:30
Mathieu Pillard 5275da6963 Unhide translations widgets in the django admin
Also add a bit of custom css/js to make them easier to edit.
2018-06-07 13:40:10 +02:00
Ankush Chadda 7ca6600783 fix #8166 (#8419) 2018-06-05 14:58:18 +01:00
Andrew Williamson 9ab2b46cf2
static theme simple preview (#8268) 2018-05-18 14:47:57 +01:00
Shivam Singhal 8f559caf19 Fixing 8224 updating firefox logo in header (#8257) 2018-05-15 16:49:51 +01:00
Mathieu Pillard a6481b3b10 Prevent developers from having several active api keys at the same time 2018-05-11 15:26:24 +02:00
Andreas Wagner 2cff8860be Remove langpack import 2018-05-09 13:36:02 +02:00
Andreas Wagner 828dda1937
Remove all beta versions code (#8100)
Remove all beta versions code
2018-04-24 21:17:03 +02:00
Andrew Williamson 8ec0e476ce
add zoom image viewer from LWT review tool to static themes. (#8030) 2018-04-13 15:49:17 +08:00
Andrew Williamson 3f98c4e332
add static theme admin review flag (#8020) 2018-04-10 23:44:54 +08:00
Christopher Grebs bf8b503a65
Make version deletion modal dialog much more red.
The warnings are really not so easy to see and don't stand out enough
imho. Let's make 'em a bit more red.

Fixes #7984
2018-04-06 15:14:02 +02:00
Mathieu Pillard 386f702d31 Bring back border on table with add-on info in review page
(it depends on the presence of the object-lead class on a parent,
 but we need to adjust the padding accordingly now that the styles
 have been simplified)
2018-03-27 13:45:10 +02:00
Mathieu Pillard d9537c4744 Fix screenshot and addon info placement on review page 2018-03-26 13:40:26 +02:00
Mathieu Pillard aaa1022d06 Get rid of floats in the addon info part of the review page, fixing lightbox 2018-03-23 15:15:40 +01:00
Sanyam Khurana e54a1691c5 Fixes #5379: Remove footer field from theme submission form (#7718)
* Fix #5379: Remove footer field from theme submission form

* Address review comments

* Address review comments
2018-03-21 15:01:39 +01:00
Andrew Williamson 3faf451dca
remove Stylus (#7820) 2018-03-19 22:19:31 +08:00
Andrew Williamson 187bee262e
Review page changes for static themes (#7805) 2018-03-16 23:06:57 +08:00
Mathieu Pillard 9349e21f4f Disable "Create a Theme" link during add-on upload 2018-03-14 12:40:40 +01:00
Mathieu Pillard 1b4b7ca4b8 Refactor reviewer flags API into a single endpoint 2018-03-12 20:18:23 +01:00
Andrew Williamson 1194555e04
slightly resize wizard fields; have tooltip icon stick to required/optional label (#7754) 2018-03-09 17:05:01 +08:00
Andrew Williamson f61ebbf0f2
fix color chooser popup in RTL locales (#7732) 2018-03-07 00:10:44 +08:00
Sanyam Khurana 50ef56409e Fixes #5116: Fix profile picture dimension on Dev hub page (#7709) 2018-03-06 17:52:03 +08:00
Sean Prashad 29e579f373
Apply CSS updates to #submit-form id 2018-02-26 09:54:27 -05:00
Sean Prashad 33b6483052
Revert border-width CSS class 2018-02-26 09:51:10 -05:00
Sean Prashad 7cf6a6541e
Add border-width CSS class to style te Browser preview section 2018-02-24 14:19:44 -05:00
Sean Prashad a5264ee635
Revert padding and width for .item CSS class 2018-02-24 13:45:37 -05:00
Sean Prashad de9bdf85a5
Format separator line width and placement 2018-02-23 23:11:41 -05:00
Mathieu Pillard 5d84077f79
Merge pull request #7628 from diox/locale-switcher-dutch-frysk-fix
Fix locale chooser confusion between Dutch (nl) and Frysk (fy-nl)
2018-02-23 17:13:51 +01:00
Raffaele 6c8ef890ff Fixes #3098. (#7591)
Prevent devhub from showing success message when edit errors occur
2018-02-22 12:58:25 +01:00
Mathieu Pillard 8c5da5cffd Fix locale chooser confusion between Dutch (nl) and Frysk (fy-nl)
It was matching against anything ending with the locale chosen,
therefore picking fy-nl over nl...
2018-02-21 22:57:31 +01:00
Andreas Wagner ff0cb96af9
Update devhub landing page logo (#7603) 2018-02-20 12:06:41 +01:00
Mathieu Pillard 8789f550e5
Merge pull request #7562 from diox/deadline-for-info-requests
Add a (soft) deadline for requests for information
2018-02-19 12:35:02 +01:00
Mathieu Pillard 2a377a01cb Add a (soft) deadline for requests for information 2018-02-14 12:52:20 +01:00
Andreas Wagner 18078e2ec3
Merge pull request #7530 from SeanPrashad/issue-7301
Fixes #7301: Add outline: none; to .site-title.prominent <a> tag
2018-02-09 17:10:25 +01:00
Sean Prashad acc4a96767
Add outline: none; to .site-title.prominent <a> tag 2018-02-08 22:16:01 -05:00
Andrew Williamson 84b71dbff4
add some js to handle different background image sizes in static theme wizard (#7447) 2018-02-01 23:37:27 +08:00
Mathieu Pillard e36b4d9252
Add option to disable auto-approvals on an add-on (#7407)
Add option to disable auto-approvals on an add-on
2018-01-30 18:16:25 +01:00
Andrew Williamson 49533b3678
yet more static theme wizard changes (#7417) 2018-01-30 23:19:33 +08:00
Sean f261b1cb1e Add white space around private whiteboard area (#7413) 2018-01-29 18:37:44 +08:00
Vishal Sharma 160d15ba36 Fixed broken comments in reviewer/theme/logs and reviewer/theme/history (#7382) 2018-01-24 20:48:41 +08:00
Vishal Sharma af20fe6b1c Removed checkbox condition from upload-addon.js 2018-01-23 23:52:00 +05:30
Vishal Sharma 786c6d88b6 Removed StandaloneForm and replaced with DistributionChoiceForm to replace checkbox on validator and compatibility page with radio button. (#7329) 2018-01-23 21:44:12 +08:00
Andrew Williamson 09935a30e7
svg tinkering to make preview look better; enable opacity. (#7357) 2018-01-22 22:48:11 +08:00
Mathieu Pillard 8b93fb629d
Merge pull request #7347 from diox/reviewers-more-actions
Implement extra inline actions on the review page for reviewers and admins
2018-01-22 14:29:20 +01:00
Andrew Williamson 25e496d2f3
drop margin and tooltips from cc license options; add explanation link. (#7325) 2018-01-22 21:06:02 +08:00
Mathieu Pillard 8931c9fd23 Implement extra inline actions on the review page for reviewers and admins
- Subscribing to notifications
- Force disabling/enabling of an add-on (admins)
- Clear needs admin code/content review flag (admins)
2018-01-19 16:25:25 +01:00
Andrew Williamson 7b8c9dda34
Generate a simple version number for new wizard versions. (#7304) 2018-01-17 00:29:46 +08:00
Vishal Sharma 1136c65b29 [Dev Hub] Added ratings to listings in signed-in view. (#7274) 2018-01-16 20:28:33 +08:00
Andrew Williamson a6a6d2c071
theme generator changes - default colors; label/tooltip/header changes; (#7276) 2018-01-15 22:57:41 +08:00
Vishal Sharma 03b4e861b7 Fixed CSS for language pie chart legend in add-on stats. (#7295) 2018-01-15 12:04:31 +00:00
Andrew Williamson 0a7a2cd69f
devhub submit describe form fixes for static themes (#7248) 2018-01-11 23:15:59 +00:00
Andrew Williamson 3562341997
Hide 'Create a Theme' div once validation on an upload is complete (#7241) 2018-01-09 19:34:16 +00:00
Vishal Sharma 7b17aeac9e Underlined and colored resume link on hovering in manage my submissions. (#7231) 2018-01-09 13:34:49 +00:00
Andrew Williamson 48bfd4b225
Move Create Theme button on upload step to seperate div (#7159) 2018-01-03 17:54:54 +00:00
Jesse Cochran 6678382f6a
Update developer.css
Updated `div.review-entry pre` selector in developer.css from 

```
word-break: break-all;
```

to 

```
max-width: 650px;
word-wrap: break-word; 
```
2017-12-22 11:30:20 -05:00
Philipp Kewisch 4e5164ac55 Add a private whiteboard for reviewers
[fixes #7065]
2017-12-04 10:45:15 +01:00
Andrew Williamson 063f706f29
now with extra version magic (#7036) 2017-11-29 12:43:50 +00:00
Mathieu Pillard 3636ea00bd Replace reviewers home with the new dashboard, move reviewer tools to /reviewers/ 2017-11-27 23:01:44 +01:00
Andrew Williamson afa92c9947
Static theme wizard (#6993) 2017-11-24 14:41:59 +00:00
Mathieu Pillard d2cd739747 Implement separate needs admin code review and needs admin content review flags 2017-11-23 13:21:35 +01:00
Daniel Schep 75602fdddd
update AMO badges with Firefox Quantum icon 2017-11-22 20:51:57 -05:00
Phillyp Henning d5b599b45e Issue #2167 adding only css (#6976) 2017-11-21 21:54:55 +00:00
Mathieu Pillard f6c80c7390 Implement new unified reviewer dashboard
Standalone version for now, living at /editors/dashboard. Once fully
tested it will replace the old home.
2017-11-16 15:10:23 +01:00
Mathieu Pillard 0af406cbdc
Rename `reviews` to `ratings` internally (#6776)
* Move 'reviews' to 'ratings' to avoid confusion with 'reviewers'
* Change ratings URL names
* Rename Review* models/forms/etc to Rating*
* Rename total_reviews/text_reviews_count/ratings
* Rename activity constants
2017-11-13 18:31:18 +01:00
Mathieu Pillard d2411fd0b6 Rename editors to reviewers everywhere except in the URLs
URLs to follow in a later commit, it will need redirects etc.
2017-10-23 15:55:32 +02:00
Andrew Williamson bba78ddf2f rm remaining old paypal contributions refs (except stats) (#6743) 2017-10-20 16:19:08 +01:00
Mathieu Pillard 746187836b Merge pull request #6744 from diox/try-new-frontend-link-with-design-adjustments-2
More design adjustments for the try the new frontend banner
2017-10-20 15:39:45 +02:00
Andrew Williamson 89588b4c61 Add creative commons licenses and wizard selector (#6740) 2017-10-20 14:15:14 +01:00
Mathieu Pillard 67ad8c92fa More design adjustments for the try the new frontend banner
- Use Fira (SemiBold)
- Use the provided svg for the close button
- Only display on the homepage for now
2017-10-20 12:35:33 +02:00
Mathieu Pillard edbccf5d24 Merge pull request #6723 from diox/try-new-frontend-link-with-design-adjustments-1
Readjust position of the "AMO is getting a new look" banner
2017-10-19 16:52:07 +02:00
Mathieu Pillard 9e00389665 Color weights in reviewer tools auto-approved queue (#6717)
Color weights in reviewer tools auto-approved queue
2017-10-19 12:59:29 +02:00
Mathieu Pillard 527ca646e1 Readjust position of the "AMO is getting a new look" banner
- border-bottom on header needs to go for the banner to be
  seamlessly displayed below
- scrollback hack is replaced with a overflow-x: hidden on the
  body because it causes a slight misalignment that is difficult
  to overcome without additional markup (which differs depending
  on which platform you're using, which does not help...)
- padding/line-height adjusted per mocks
2017-10-18 18:18:48 +02:00
Andrew Williamson dfed53dbac Add single choice category selection for static themes (#6685) 2017-10-17 17:32:02 +01:00
Mathieu Pillard 7165b7441b Add some styling to the notification to try out the new site
(Also move it lower as per spec)
2017-10-17 16:59:06 +02:00
Mathieu Pillard 909c5ac86a Fix indentation of this comment 2017-10-17 11:37:21 +02:00
Mathieu Pillard ae8d3a3411 Add dismissable banner to legacy frontend with link to try the new site
The banner is behind a 'try-new-frontend' waffle, which defaults to off
for the moment.

A few yaks had to be shaved to achieve all this:
- The banner code was separated and called from zamboni/global.js, in
  order to be shown on non-impala pages (i.e. themes).
- The banner code was modified to try to only display one banner at a
  time.
- Because the banners were not shown in non-impala pages before, some
  tweaks to the layout css properties were made, to make sure the banner
  have the correct margin everywhere.
- The mobile site link handling code prevents default to avoid following
  a link to '#'.
2017-10-16 17:15:12 +02:00
Andrew Williamson 8d7a120467 Start implementing static theme submission (#6628) 2017-10-10 16:17:31 +01:00
Ian Henderson c5569b79aa issue 4210 - limited resizing of tr textareas to vertical movement (#6554) 2017-10-02 19:40:52 +01:00
Michael Kelly e6a101d217 Add enrollment page for Firefox Pioneer. (#6529) 2017-09-27 16:27:25 -05:00
Mathieu Pillard 90d1d1bf5c Fix category selection in submission now that there is a second "misc"
Make sure the categories being considered belong to the same group
when firing "onchange" on the checkboxes...
2017-09-21 17:28:10 +02:00
Stuart Colville ac5e02730c Update favicon and bust cache (#6435)
* Update favicon and bust cache

* Use existing cache-busting mechanism
2017-09-15 19:01:35 +01:00
Stuart Colville 666a87178b Update new favicon (#6416) 2017-09-15 13:57:02 +01:00
Mathieu Pillard f9cbac1c81 Merge pull request #6389 from diox/show-download-anyway-in-versions-page
Show "download anyway" links in versions page
2017-09-13 12:02:50 +02:00
Andrew Williamson 00c3711a1a add footer links (#6325) 2017-09-12 13:21:44 +01:00
Mathieu Pillard baa9967a2a Show "download anyway" links in versions page 2017-09-12 12:50:38 +02:00
Mathieu Pillard 2bb1a67d09 Fix various layout issues caused by 748878cf
Unfortunately the "featured" class is used everywhere, for all kinds
of things. So we only want to drop the width/height auto on the
featured section of the browse pages where it also has the
listing-grid class.
2017-09-08 10:30:38 +02:00
Stuart Colville 8dd0a94eb5 Revert #6344 (#6358) 2017-09-07 19:25:35 +01:00
Trishul 8f43a9388b I6342: Fixes broken layout in theme details page (#6344) 2017-09-06 16:14:47 +01:00
Atique Ahmed Ziad 6f527e02d0 Fix blank horizontal scroll on addons details page (#6284) 2017-09-05 16:49:05 +01:00
Atique Ahmed Ziad 296c52e5b1 Fix 'What's New' banner for Italiano (#6327) 2017-09-05 16:16:36 +01:00
Mathieu Pillard 748878cf6f Fix featured extensions "jumping around" as you hover them.
Though the main fix is to remove the width/height: auto, removing
the compatibility messages also help prevent potential display issues
because it makes the box smaller. A user on Chrome probably does not
care much about which version of Firefox or which platforms the
add-ons are compatible with anyway.
2017-09-01 18:57:51 +02:00
Andrew Williamson 04263d1075 Show contribute button with link to new contribution url, if set (#6274) 2017-08-30 12:36:05 +08:00
Andrew Williamson 8307241c24 Add contributions url field to form and model; add warning to old payment pages. (#6252) 2017-08-28 17:25:03 +08:00
Apoorva Pandey ba56769321 Increases line height to reduce clipping (#6256) 2017-08-28 13:49:24 +08:00
Mathieu Pillard c96794a76a Always show install buttons in listing pages when compatible 2017-08-24 15:51:51 +02:00
Trishul 9aede74c80 [RTL]Number of users in add-ons details pages is not correctly aligned #3649 (#6217) 2017-08-24 16:47:54 +08:00
Mathieu Pillard 9ca1e88b94 Display only one download anyway link when multiple platforms are available
(Hide it entirely if platform does not match : we would not know which one
 to show...)
2017-08-22 13:26:29 +02:00
Mathieu Pillard 2c1b312352 Properly reverse the download url instead of using js to build it 2017-08-22 12:37:20 +02:00
Mathieu Pillard f2ec525006 Remove stray console.log 2017-08-21 19:06:09 +02:00
Mathieu Pillard c75b7dc1a6 Only show download anyway button for incompatible add-ons, force download 2017-08-21 19:03:02 +02:00
Christopher Grebs 5b14f9212b Merge pull request #6211 from tsl143/I6086
I6086: enhancement to the fix(textAlign:right)
2017-08-21 16:43:44 +02:00
Mathieu Pillard 26fefc4274 Hide the install button entirely for incompatible versions in listing pages (#6195)
* Hide the install button entirely for incompatible versions in listing pages

Also show "download anyway" button when incompatible (it was already
displayed when showing the "Only with Firefox" button, this makes it
available to every incompatible situation)

* space after comma
2017-08-21 15:22:20 +02:00
Trishul Goel c0d959eba5 I6086: enhancement to the fix(textAlign:right) 2017-08-21 18:04:09 +05:30
Trishul Goel 13fa795f1b I6086: Incompatibility message is not entirely RTL in listing pages 2017-08-21 14:21:43 +05:30
Trishul Goel 15c4beb992 I5224: WebExtension compatibility label is not correctly RTL 2017-08-18 07:38:12 +05:30
Mathieu Pillard 258284c1bd Display "Only with Firefox" button with personas as well 2017-08-17 12:47:00 +02:00
Mathieu Pillard 186604469a Don't apply 'concealed' class to 'Get Firefox Now!' button
It's not supposed to be disabled, it should not need that class.
2017-08-16 23:45:18 +02:00
Mathieu Pillard df39c05a6a Merge pull request #6157 from diox/consider-bsd-is-linux
Consider BSD as Linux for browser compatibility purposes
2017-08-11 17:20:51 +02:00
Mathieu Pillard 3e23ed0749 Consider BSD as Linux for browser compatibility purposes
We don't officially support BSD, but this small change should
improve the life of its users by letting them install add-ons
marked as compatible with Linux instead of "All platforms".
2017-08-11 14:00:12 +02:00
Mathieu Pillard 236fa6c11e Unify disabled buttons behavior across the site
This commit contains multiple small changes that go together:

Some pages are not "impala"-ed and therefore don't get the impala
and restyle styles, so they weren't getting the pointer-events: none
rule that disable the buttons. Fixing those pages would require a
lot more work, so the impala button styles have been added to the
base css bundle instead.

In addition, the restyle was setting pointer-events: all on disabled
buttons, but since we are no longer showing the popup on those buttons
we can remove that.

It was also possible in some pages to get the wrong style for a
a.button element with an href that you had already visited, because
the restyle wasn't targeting visited links, so this is changed as
well. Since doing this added more rules that previously weren't
always applied, the background position and color of the concealed
button also had to be specified.

Finally, there was an extra case where the more-versions link was
missing the newline that separates it from the compatibility info,
this was fixed.
2017-08-10 13:25:41 +02:00
Mathieu Pillard 60a26b345b Don't filter search with Firefox version if it's < 57 2017-08-08 12:09:57 +02:00
Mathieu Pillard 3a68124f6b Merge pull request #6058 from diox/remove-missing-images-from-css
Remove references to broken images from the CSS
2017-08-01 11:21:10 +02:00
Mathieu Pillard 65f91aba29 Small tweaks to version incompatibility message display
- Hide the message in versions page
- Make padding/margin of that message more uniform accross pages
- Align text on the left cause there might be a lot of it
2017-07-31 17:27:16 +02:00
Mathieu Pillard c7f3f21ad9 Remove references to broken images from the CSS 2017-07-31 14:08:01 +02:00
Mathieu Pillard 2101466bfa Remove extra popup when add-on is incompatible, prevent installing entirely 2017-07-28 12:42:43 +02:00
Gregg Lind d2a0cc6228 Fix #5994 - Static Consent Page for 16 - Pioneer 2017-07-24 14:17:17 -05:00
Christopher Grebs 371a65c35d Merge pull request #5959 from tsl143/I5590
Add-on browser incompatibility red mark is not RTL #5590
2017-07-21 12:15:37 +02:00
Mathieu Pillard 43492d8d88 Make dictionaries ignore app compatibility (#5962)
* Make dictionaries ignore app compatibility

* s/data-no_compat-necessary/data-no-compat-necessary/ for consistency
2017-07-20 15:36:41 +02:00
Apoorva Pandey 939eba11b8 Hard-codes the en-US locale in all links to MDN (#5898)
Hard-code the 'en-US' locale in all links to MDN
2017-07-20 13:06:21 +02:00
Trishul Goel 4f14c8d5a8 Add-on browser incompatibility red mark is not RTL #5590 2017-07-20 15:43:43 +05:30
Christopher Grebs 228c637fbe Merge pull request #5942 from tsl143/I5800
Add-ons icons are not RTL in search suggestions #5800
2017-07-20 11:33:35 +02:00
luke crouch 828b842c9a Privacy shield studies (#5884)
* containers shield study page

* Add consent page for Privacy Settings shield study

* update Containers to shield_study_15

* final .xpi urls

* make and use shield_study_1[45]/main.css files

* make and use static/img/shield_study_1[45]
2017-07-19 15:10:56 +02:00
Trishul Goel ae67f2694e Add-ons icons are not RTL in search suggestions #5800 2017-07-18 21:27:46 +05:30
Andrew Williamson 3725414dcd Add Addon.requires_payment to model, api, devhub, and reviewer tools (#5893) 2017-07-17 14:27:29 +01:00
Christopher Grebs 1ecdec1c6e Fix gettext call for add-on uploading 2017-07-17 10:34:29 +02:00
Matthew Riley MacPherson 92b0e27974 feat: Disable GA when DNT is enabled (fix #5901) 2017-07-13 13:59:53 +01:00
Mathieu Pillard a91145bf55 Merge pull request #5885 from diox/post-review-shown-validation-flags
Display more validation warnings in submission flow after upload
2017-07-12 12:26:12 +02:00
Stuart Colville ca9744cf3d Pass selector explicitly (#5883) 2017-07-11 14:50:08 +01:00
Mathieu Pillard aaff87452e Display more validation warnings in submission flow after upload 2017-07-11 15:38:51 +02:00
Christopher Grebs 0f35449ab0 Send addon_id as POST for ajax new collection create (#5879)
* Re-add support for addon_id support as GET argument.

This is a regression introduced in 218c0c75df

Fixes #5854

* Fix this the right way, make javascript behave and send the addon_id as
POST.

* Remove test
2017-07-11 14:01:29 +02:00
Mathieu Pillard a9aa802333 Expose is_restart_required property on files in the search/detail API (#5858)
* Expose is_restart_required property on files in the search/detail API

* Fix mapping tests

* Replace no_restart field (and HTML/CSS for consistency) by is_restart_required

* Move migration now that 953 is taken

* Remove old model field entirely.
2017-07-11 13:44:37 +02:00
Kamyar Ardekani 2cc40c07f4 Web Health Study consent (bug 1378555) fixes #5875 (#5876)
* Web Health Study consent (bug 1378555) fixes #5875 

* better accessibility
2017-07-11 12:43:54 +02:00