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

7800 Коммитов

Автор SHA1 Сообщение Дата
William Lachance dfd259e0ed Simplify bug column in intermittents table a bit (#3352)
* Bug ID -> Bug
* Left align column
* Make the bug number itself a link to the bug, instead of an additional link
* Use CSS instead of javascript to show/hide details link
2018-03-19 09:05:46 -07:00
George Hickman 8a1fb7befb Bug 1325838 - Remove non-testing assert statements (#3348)
* Replace settings asserts with ImproperlyConfigured
* Replace attribute asserts with AttributeError
* Replace duplicate key assert with a custom exception
   There doesn't seem like a better exception to use here so I added a
   custom one.
* Check the id exists
* Replace asserts with manual AssertionErrors
2018-03-19 08:33:59 -07:00
George Hickman fa60550f67 Bug 1320451 - Enable django_extensions when in DEBUG mode (#3351) 2018-03-19 08:12:37 -07:00
Dottori 5f68792a58 Bug1413156 - lodash to ES6: replace _.without _.values _.last usage (#3338) 2018-03-16 15:46:05 -07:00
Cameron Dawson 50034a713b
Bug 1444207 - Consolidate failure_summary_panel to /details-panel (#3341)
* Rename the component to a *Tab and move to /details-panel folder
* cleanup indentation
* cleanup props and panel elements
* Use deconstruction for props object
* simplify onclick event calls with anonymous functions
* Move filerInAddress logic to FailureSummaryTab
* Move the data-fetching into the main controller like the other
  tabs so we can do away with the special controller for the
  failure summary tab.
* Move functions to helpers instead of filters and take less
  values as params
* Eliminate failure_summary/controller
* Moved logic to either the parent controller or into helpers and
  the FailureSummaryTab
* Use helper function for bugzilla url
2018-03-16 08:55:04 -07:00
pyup.io bot 2635a241b0 Update django-extensions from 2.0.5 to 2.0.6 (#3346) 2018-03-15 20:46:41 +00:00
Dottori 31dc8dec99 Bug 1413156 - lodash to ES6: _.size to .length (#3332) 2018-03-15 13:25:11 -07:00
renovate[bot] 53870092f9 Update dependency react-day-picker to v7.1.4 (#3340) 2018-03-15 11:56:32 +00:00
Stephen Donner f3035884db Jenkins: Update Firefox via Sauce to 59.0 (#3343) 2018-03-15 11:51:49 +00:00
pyup.io bot 3ea4c38a2d Update newrelic from 2.106.1.88 to 3.0.0.89 (#3344) 2018-03-15 11:48:21 +00:00
renovate[bot] 830f1cdfe3 Update dependency popper.js to v1.14.1 (#3342) 2018-03-15 11:40:43 +00:00
Ed Morley 85ecbc1e5c
Bug 1310241 - Switch to the cache-based Django session engine (#3337)
The cache-based engine stores session data in our Redis cache rather
than in the `django_sessions` table in the MySQL database.

This has several advantages:
* faster access (session lookups occur for virtually all API requests)
* expired sessions are automatically cleaned up (the database engine
  requires that the `clearsessions` command be run periodically)
* fewer secrets being stored in the database and its backups

See:
https://docs.djangoproject.com/en/1.11/topics/http/sessions/#configuring-sessions
https://docs.djangoproject.com/en/1.11/ref/settings/#session-engine

We're not concerned about very occasional session loss, so don't need
the persistence guarantees of the related `cached_db` engine.

The `INSTALLED_APPS` entry is being removed since it's only purpose
is to load the session database model.

The tests have been adjusted to use the proper sessions API (rather
than directly accessing the session DB model) per:
https://docs.djangoproject.com/en/1.11/topics/http/sessions/#using-sessions-out-of-views
2018-03-13 23:25:54 +00:00
Ed Morley 5a1b3d60ac
Bug 1445469 - Update to geckodriver v0.20.0 (#3339)
https://github.com/mozilla/geckodriver/releases/tag/v0.20.0
2018-03-13 23:23:33 +00:00
pyup.io bot 4f35b2b55d Update django-extensions from 2.0.3 to 2.0.5 (#3328) 2018-03-13 20:30:58 +00:00
renovate[bot] 4ae2d7609d Update dependency popper.js to v1.14.0 (#3336) 2018-03-13 16:05:42 +00:00
Sebastian Hengst 76e8741f2f Bug 1444931 - Fix escaped characters in commit message tooltips (#3334) 2018-03-13 15:44:59 +00:00
Sarah Clements 30df0aae6c Bug 1367362 - Add an intermittent failures view (#3296)
Adds a new view to display intermittent test failure occurrences,
to replace the functionality currently provided by the legacy
OrangeFactor tool.

Includes the new API endpoints originally reviewed in #3271.
2018-03-13 13:52:17 +00:00
Stephen Donner 8de98e60f2 Jenkins: Bump pytest to latest, 3.4.2 (#3335) 2018-03-13 11:29:40 +00:00
Ed Morley d5e3436e45
Bug 1444644 - Update Bootstrap from v4.0.0-beta.2 to v4.0.0 (#3327)
Notably:
* the `popper.js` `DefinePlugin` entry is no longer required
* the JS/CSS imports have been adjusted to match the install docs:
  https://getbootstrap.com/docs/4.0/getting-started/webpack/
  ...which shaves 23KB off the bundle size of most pages.

Release announcements:
https://blog.getbootstrap.com/2017/12/28/bootstrap-4-beta-3/
https://blog.getbootstrap.com/2018/01/18/bootstrap-4/

Release notes:
https://github.com/twbs/bootstrap/releases/tag/v4.0.0-beta.3
https://github.com/twbs/bootstrap/releases/tag/v4.0.0

Changelog:
https://github.com/twbs/bootstrap/compare/v4.0.0-beta.3...v4.0.0
2018-03-12 17:52:01 +00:00
renovate[bot] db07f6aac2 Update lock file (#3329) 2018-03-12 14:01:43 +00:00
pyup.io bot 7ed83a2361 Update selenium from 3.10.0 to 3.11.0 (#3331) 2018-03-12 13:35:28 +00:00
pyup.io bot 15e4e645b4 Update python-dateutil from 2.6.1 to 2.7.0 (#3330) 2018-03-12 10:44:14 +00:00
renovate[bot] 033dc7940b Update dependency auth0-js to v9.3.3 (#3326) 2018-03-10 19:23:04 +00:00
Ed Morley 4dfffb38cc
Bug 1353753 - Update legacy Treestatus URLs (#3323)
TreeStatus has long since moved to:
https://mozilla-releng.net/treestatus
2018-03-10 01:58:05 +00:00
William Lachance 218a52dde6 Fix spacing in details panel when log not yet parsed (#3325) 2018-03-09 17:14:47 +00:00
Cameron Dawson cca48d14df
Bug 1444134 - Consolidate references to SERVICE_DOMAIN (#3319)
* Don't use SERVICE_DOMAIN for references to the front-end code
* Change getRootUrl to getApiUrl to better represent what it is for
* Convert other usages of SERVICE_DOMAIN to getApiUrl
* Convert usages of SERVICE_DOMAIN to getProjectUrl
* Convert uses of SERVICE_DOMAIN to getServiceUrl
* Convert tests to use ``urlHelper``
2018-03-08 15:48:31 -08:00
Cameron Dawson b221b8ca1e Bug 1437818 - Enable ESLint rule react/no-array-index-key 2018-03-08 14:14:43 -08:00
pyup.io bot 53aa668eca Update pycryptodome from 3.5.0 to 3.5.1 (#3321) 2018-03-08 20:41:46 +00:00
Ed Morley d47d386c70
Bug 1399999 - Squash Django migrations (#3318)
Django has a built-in migrations squashing feature, however it cannot
optimise across RunSQL commands and several other cases, so results in
poorly optimised migrations. As such these squashed migrations are a
combination of the output of squashmigrations, recreating the initial
migration from scratch and hand editing.

The JSONField package has also been removed, since it was only required
by the now redundant initial migration.
2018-03-08 16:30:47 +00:00
Cameron Dawson 08e1d30877 Bug 1443667 - Dead code removal: grpMap
This object is no longer used since we stopped usign clonejobs.js
2018-03-08 08:26:25 -08:00
Cameron Dawson 6e2242b2c5 Bug 1443667 - Fix 'tier' not yet assigned when getJobGroupInfo() creates map 2018-03-08 08:26:25 -08:00
pyup.io bot ec18cba3c1 Update django-extensions from 2.0.2 to 2.0.3 (#3317) 2018-03-08 14:59:34 +00:00
pyup.io bot cef5babd6e Update newrelic from 2.106.0.87 to 2.106.1.88 (#3316) 2018-03-07 23:13:32 +00:00
pyup.io bot def3557fc0 Update pycryptodome from 3.4.11 to 3.5.0 (#3314) 2018-03-07 22:11:19 +00:00
Ed Morley 101724445a Bug 1443698 - Fix/enable eslint 'no-var' and related
https://eslint.org/docs/rules/no-var
https://eslint.org/docs/rules/one-var-declaration-per-line
https://eslint.org/docs/rules/one-var
https://eslint.org/docs/rules/vars-on-top
https://eslint.org/docs/rules/block-scoped-var

Bulk of the changes performed by `--fix`, with rest by hand.
2018-03-07 19:26:18 +00:00
Ed Morley b152fc04f8 Bug 1443698 - Fix/enable eslint 'no-use-before-define'
https://eslint.org/docs/rules/no-use-before-define

Three files have been excluded from this rule entirely, since they
would require significant changes that might as well wait until they
are rewritten in React. It's likely these files may also need to be
excluded from future `var` to `let`/`const` conversions as a result.

From the AirBnb style guide GitHub issue comments:
> Some enjoy using hoisting to define helper methods at the bottom of
> the file. This guide discourages relying on hoisting; instead
> suggesting importing the helpers from another file when possible.
2018-03-07 19:26:18 +00:00
Ed Morley c26056dc23 Bug 1443698 - Fix/enable eslint 'prefer-const'
https://eslint.org/docs/rules/prefer-const

Changes performed by `--fix`.
2018-03-07 19:26:18 +00:00
Ed Morley 9b55b0cfd7 Bug 1443698 - Fix/enable eslint 'no-redeclare'
https://eslint.org/docs/rules/no-redeclare
2018-03-07 19:26:18 +00:00
Ed Morley 5f9abbf340 Bug 1443698 - Fix/enable eslint 'no-multi-assign'
https://eslint.org/docs/rules/no-multi-assign
2018-03-07 19:26:18 +00:00
Ed Morley 8ebaa1f499
Bug 1443832 - Disable compilation of class and comment directives (#3313)
Since we don't use them, and disabling improves compile performance:
https://docs.angularjs.org/guide/production#disable-comment-and-css-class-directives
2018-03-07 19:25:58 +00:00
Tom Ritter 3a9ecff51b Add a checkbox to hide result lines without one run for each side (#3303) 2018-03-07 13:28:11 -05:00
Cameron Dawson d9026820c5
Bug 1443087 - Remove requirement of try or sheriff to cancel all jobs (#3308) 2018-03-07 10:06:30 -08:00
Cameron Dawson cffdb1b0f2
Bug 1442556 - Fix slowness on filtering (#3309)
I believe this was the main bug causing the slowdown.  It was setting state
in ``filterPlatform`` which is called once per platform when a filter change is
made.  But that ``setState`` was updating ALL the platforms for that push.

* Remove unnecessary clonejobs artifact
* Fix the regression with expand/collapse counts
* Very minor optimizations and cleanup
* Add some unit tests for groups
2018-03-07 08:38:44 -08:00
Ed Morley b189c0e4f5
Annotate third-party module usage in the treeherder.app module (#3312)
So we remember to remove them once unused.
2018-03-07 15:46:29 +00:00
pyup.io bot 823bb55fcd Update django-extensions from 2.0.0 to 2.0.2 (#3311) 2018-03-07 15:10:44 +00:00
Cameron Dawson c403895caf
Bug 1442556 - Improve rendering speed in treeherder by removing refs (#3307)
These refs were not actually used, so can be removed.  It does appear to
improve rendering speed, especially when changin filtering.  I had noticed
that the JobGroup was re-rendering more times than it should, and this
change stops that.  I believe more work is to be done here, but this is one
step.

This also includes a couple other small tweaks that may help speed.
2018-03-06 10:31:05 -08:00
pyup.io bot bb89181926 Update django from 1.11.10 to 1.11.11 (#3306) 2018-03-06 17:43:14 +00:00
renovate[bot] 72e631368e Update dependency js-yaml to v3.11.0 (#3305) 2018-03-06 16:34:56 +00:00
pyup.io bot 72a90cee45 Update pytest from 3.4.1 to 3.4.2 (#3304) 2018-03-06 08:32:35 +00:00
Ed Morley 0ac1b711ff
Bug 1443023 - Pass missing $timeout prop to BugListItem (#3302)
The failure classification pin button was broken for bug suggestions
that fell under the "all others" category, since the `BugListItem`
for them weren't passed the `$timeout` prop, unlike for the
"open recent" `BugListItem` instance.
2018-03-05 16:44:48 +00:00