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

1025 Коммитов

Автор SHA1 Сообщение Дата
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
Christopher Grebs 3eb9d68c7b Add a proper warning if the add-on exceeds configured maxSize. (#5843)
* Add a proper warning if the add-on exceeds configured maxSize.

* adds a generic maxSize setting to our file uploader
* catches xhr 413 responses in case our javascript didn't catch
file-size and nginx aborts

Fixes #5752

* Use configured file size as value

* Remove comment from textSize method
2017-07-07 12:38:05 +02:00
Andrew Williamson 53bdbc2e4f jquery upgrade to 3.2 (#5746) 2017-07-05 13:11:51 +01:00
Andrew Williamson 4279a3a851 Add jquery.minicolors.png to temporarily work around jingo-minify bug (#5833) 2017-07-04 16:47:56 +01:00
Christopher Grebs f01aaf07ee Merge pull request #5780 from mozilla/bugfix/3510-trim-long-sources
Trim too long sources
2017-06-28 18:24:16 -07:00
Mathieu Pillard df3f1a0d16 Fix jquery.pjax callbacks breakage - the event names changed 2017-06-28 14:55:55 -07:00
Mathieu Pillard ac2b7974fa Update developer agreement / submission process for post-review (#5754)
Update developer agreement / submission process for post-review

Every developer need to read the new agreement page again, which
now contains review rules & policies as well.
2017-06-27 11:12:42 -07:00
Christopher Grebs 530f80718d Trim too long sources 2017-06-23 17:08:39 +08:00
Atique Ahmed Ziad 112ff4bcad Fix RTL issue for "Mobile Add-ons site" message banner (#5740)
Fixes #4791
2017-06-22 11:58:49 +01:00
atiqueahmedziad d31d57724d update Require Restart label in RTL
fixes #5168
2017-06-22 00:39:01 +06:00