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

1276 Коммитов

Автор SHA1 Сообщение Дата
Mathieu Pillard 97f9d82cbc
Remove unused/obsolete JavaScript (#18755)
* Remove unused/obsolete JavaScript

Could do more, but that's a good chunk already...

* Remove files no longer referenced

* Remove obsolete calls to removed functions
2022-02-09 13:54:49 +01:00
Mathieu Pillard 7951dbe0a4
Remove impala templates, pages and css we don't use (#18795)
* Remove impala templates, pages and css we don't use

Also rework the few remaining things that depended on those templates and styles

* reblackify this file

* Remove obsolete tests

* Simplify header_title
2022-02-09 12:00:15 +01:00
Mathieu Pillard 57866b4a1c
Devhub dashboard: leave space for the (larger) preview in My Themes and fix RTL (#18794)
* Leave space for the (larger) preview in DevHub > My Themes

* Fix it like that

* Also fix RTL display of devhub's dashboard

* Also fix submit button white-space to allow overflow
2022-02-08 15:57:35 +01:00
Mathieu Pillard 25f96357a9
Remove devhub/base_impala.html, re-implement missing dashboard CSS as a result (#18768)
* Remove devhub/base_impala.html, re-implement missing dashboard CSS as a result

In the dashboard, there are a few minor alignment differences of 1px, as well as:
- A slightly darker shade of gray for text, to improve readability
- A slightly larger font size for the buttons
- A different pagination style to match the rest of devhub

* Actually remove base_impala.html

* Don't change this

* Adjust test with new pagination template

* Move addon_listing_header() (and new_context())
2022-02-08 10:30:56 +01:00
Mathieu Pillard 46ba98eef2
Remove ui.lightbox.js (#18741)
* Remove ui.lightbox.js

Only real usage left was in reviewer tools, though it was referenced in bundles
for pages long gone (legacy frontend, legacy discovery pane).

* Also remove images
2022-02-02 19:16:16 +01:00
Mathieu Pillard 8ebcea63f3
Remove custom datepicker from statistics page: <input type="date"> is enough (#18739) 2022-02-02 17:14:40 +01:00
Mathieu Pillard 43feed46e5
Add form to generate site permission add-ons (#18597)
* Add form to generate site permission add-ons

* Make non-submit developer agreement page generic, use it for site permission generator
2022-01-14 15:30:51 +01:00
Mathieu Pillard 9a5e869e6a
Fix icons previews when clicking on default icon in devhub (#18453)
* Fix icons previews when clicking on default icon in devhub

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

Co-authored-by: Andrew Williamson <awilliamson@mozilla.com>

Co-authored-by: Andrew Williamson <awilliamson@mozilla.com>
2021-12-06 16:00:21 +01:00
Bob Silverberg 9111fd0afa
Add a select field for ReviewActionReasons (#18244) 2021-11-09 07:38:44 -05:00
Mathieu Pillard 2a5762e90f
Allow excluding more than one rule on scannerresult admin page (#17918) 2021-09-20 10:26:59 +02:00
Mathieu Pillard a5ef72a3e1
Update copy for submission flow (#17865)
* Update copy for submission flow

* Add a translation for the test to work

* Update test link

* More links tests to update

* This test is different in version submission

* Whitespace

* Remove unlisted-specific messaging
2021-09-08 10:49:37 +02:00
Mathieu Pillard b6c6e8e108
Remove obsolete reviewers queue search functionality (#17726)
* Remove obsolete reviewers queue search functionality

* Reformat
2021-08-17 12:28:54 +02:00
Andrew Williamson dd33e7d6ca
change remaining devhub AMO policy links to ew (+ some js cleanup) (#17698) 2021-08-13 11:10:54 +01:00
Mathieu Pillard a0a409d8d6
Remove Reviewers performance view (#17702) 2021-08-13 11:48:50 +02:00
Andrew Williamson c91deaaf70
drop is_restart_required from File (and api/v5) (#17675) 2021-08-10 12:27:56 +01:00
Mathieu Pillard 386291b1bf
Find abuse reports for a particular add-on using guid and not addon_id (#17614)
* Find abuse reports for a particular add-on using guid and not addon_id

When an abuse report is submitted from a guid (what Firefox does),
no longer try to associate if with a single add-on in the database,
because we can't know which one it is.

In reviewer tools, look up abuse reports for a given add-on by guid,
so that we can find all potential abuse reports even if a guid has
been re-used.

* Small doc clarification

* Black

* Fix unused imports

* Address review comments
2021-08-02 13:36:09 +02:00
Andrew Williamson 65b589206b
replace tag selection in devhub with checkboxes (#17481)
* replace tag selection in devhub with checkboxes

* exclude dynamic theme tag (to be removed later)

* fix (existing) bug where tags wouldn't appear after edit for unlisted

* codestyle fix
2021-07-20 16:47:06 +01:00
Mathieu Pillard 5d6826ee8d
Add searching by ip address in user admin (#17505)
* Add searching by ip address in user admin

Also add more sources of IPs in known IP addresses field

* Address review comments
2021-07-20 16:35:29 +02:00
Mathieu Pillard 5ec349f1bc Remove obsolete CSS file 2021-07-12 16:44:04 +02:00
Mathieu Pillard d4bace5c89
Replace legacy assets cachebusting by staticfiles's ManifestStaticFilesStorage from django (#17464)
* Replace legacy assets cachebusting by staticfiles's ManifestStaticFilesStorage from django

* Run tests without ManifestStaticFilesStorage

* Fix tests

* Reformatting

* It's fine, since collectstatic also copies the original

* Register static directly

* Reformat comment
2021-07-12 16:06:20 +02:00
Mathieu Pillard 7c8d889ef0
Remove obsolete "pioneer" landing page (#17460) 2021-07-09 14:27:48 +02:00
Andrew Williamson 2ada9d8cd2
update default icon to simplified photon style graphic (#17200) 2021-06-01 10:23:22 +01:00
renovate[bot] 4ec1a2d7a1
Lock file maintenance (#17155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: William Durand <will+git@drnd.me>
2021-05-26 11:28:06 +02:00
Andrew Williamson 27c482fef0
update theme preview to match photon UI redesign (#17193)
* update theme preview to match photon UI redesign

* tooltip copy update
2021-05-21 16:23:01 +01:00
Mitrajit Chandra Chandra 0abe68ef8d
#16379 Tidy up predefined icon_type support in Addon / devhub (#16972)
* #16379 Tidy up predefined icon_type support

* Test files cleaned to eliminate test errors

* Codestyle error corrected

* Unused imports and variables removed

* __init__ method removed

* Unused images removed
2021-04-22 10:55:35 +01:00
Divya Nayal a55916ca83
Replaces Facebook with Instagram in Dev Hub Footer, Fixes #16938 (#16982)
Co-authored-by: Divya Nayal <43030745+divyanayal@users.noreply.github.com>
2021-04-20 15:37:14 -04:00
Mathieu Pillard 7c298b5690
Log a specific action for force disable/enable, show it in reviewer tools (#16712)
* Log a specific action for force disable/enable, show it in reviewer tools

Also set change status action user to the task user at all times,
because it's an automated action normal users aren't responsible for.

* task user doesn't necessarily exist in tests

* Fix reviewer tests

* Fix versions tests

* Fix devhub tests

* Fix blocklist tests

* Remaining test fixes
2021-03-11 11:52:43 +01:00
Andrew Williamson 3b5810722f
rm stripe/payment stuff (#16454)
* rm stripe/payment stuff

* rm some more unused constants

* revert the less auto-reformatting
2021-02-03 14:03:33 +00:00
William Durand 37b244188d
Fix stats js to handle 503s like 200s (#16376) 2021-01-26 14:39:14 +01:00
William Durand 48ebdd7914
Add switch to enable/disable BigQuery (#16304) 2021-01-15 17:36:24 +01:00
Andrew Williamson c22f6287b4
add parens to defaultlink mixin call in less file (#16251) 2021-01-04 15:38:14 +00:00
Mathieu Pillard bce0352903
Expose authors (and their role, included deleted) in add-on admin list (#16133)
* Expose authors (and their role, included deleted) in add-on admin list
2020-12-10 17:56:33 +01:00
Andrew Williamson 8c2bcdfebb
Remove icon selector from devhub +(js/css fixes for 128 size default) (#16113) 2020-12-07 14:44:30 +00:00
Mathieu Pillard 15513c1bb7
Update hint regarding allowed extensions for uploads to remove .xml (#16093)
* Update hint regarding allowed extensions for uploads to remove .xml

Opensearch add-ons are gone.

* No Oxford comma
2020-12-03 14:58:55 +01:00
Mathieu Pillard 2a034f74af
Add list of interesting accounts in local dev login page (#16085)
* Add list of interesting accounts in local dev login page

* prettier
2020-12-03 12:43:01 +01:00
renovate[bot] 2a4b9a1181
Lock file maintenance (#16041)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: William Durand <will+git@drnd.me>
2020-12-01 17:56:49 +01:00
William Durand bac109cd9c
Add js confirm() to warn admins about promoted group updates (#15990) 2020-11-12 13:40:51 +01:00
Lisa Chan e36e061e99
RE: Remove previous featured hero images (#15252)
* Remove previously utilized hero images, and updated hero/models.py

* Updated hero model
2020-11-05 12:59:23 +00:00
William Durand 4ebfb25bdd
Implement Stripe Customer Portal (#15905) 2020-11-04 09:43:11 +01:00
William Durand 9e20c0e9b4
Implement payment flow using Stripe Checkout (#15753) 2020-10-21 20:19:07 +02:00
William Durand 3cfd73550f
Remove prefix for Fenix versions (#15716) 2020-10-14 14:52:00 +02:00
Andrew Williamson 1f4f175d5e
Adjust the hero API to serve uploaded PrimaryHeroImage (#15712) 2020-10-14 09:33:33 +01:00
William Durand 5f00968a39
Remove legacy download stats (#15664) 2020-10-13 11:19:28 +02:00
William Durand 8b4255e5fa
Update stats version (#15658) 2020-10-06 17:22:29 +02:00
Andreas Wagner d131f3c78d
Add option to subscribe to unlisted submissions (#15606) 2020-10-06 11:49:24 +02:00
Mathieu Pillard 7b88a41117
Further tweak to code search results display (#15629)
- Review link is now on the channel column, always repeated
- Guid is now back to being a separate column
- Name and guid duplicates are now always eliminated
- Download link column has been added
2020-10-02 17:52:15 +02:00
William Durand 85cb8010cb
Fix wrong date on stats overview page (#15604) 2020-10-01 16:19:06 +02:00
Mathieu Pillard c5a7153c4b
Group scanner query results by add-on and channel (#15576)
* Group scanner query results by add-on and channel

The way django generates the changelist makes it a bit tricky to
customize, so we run some javascript once the dom is loaded to tweak
the rowspans, remove duplicate cells and add relevant css classnames.

* Initialize variable correctly

* Add missing const/use strict
2020-09-29 18:01:47 +02:00
Andreas Wagner 603a003f09
Remove custom admin landing page (#15314) 2020-09-25 16:18:13 +02:00
Andrew Williamson e4b190fe72
show flags in post-review queues; update promoted group icons (#15546) 2020-09-22 14:16:34 +01:00