Skip to content
This repository was archived by the owner on Feb 7, 2019. It is now read-only.

Commit 76d48d6

Browse files
authored
Merge pull request #748 from mozilla-lockbox/master
Release version 0.1.10-alpha
2 parents a159dda + b1a0a34 commit 76d48d6

File tree

106 files changed

+13534
-10403
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+13534
-10403
lines changed

.babelrc

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
{
22
"presets": [
3-
"react",
4-
["env", {"targets": {"browsers": ["firefox >= 56"]}}]
3+
"@babel/preset-react",
4+
["@babel/preset-env", {
5+
"targets": {"browsers": ["firefox >= 56"]},
6+
"useBuiltins": true,
7+
"modules": false
8+
}]
59
],
610
"plugins": [
7-
["transform-object-rest-spread", {"useBuiltins": true}]
11+
"@babel/plugin-syntax-object-rest-spread",
12+
"@babel/plugin-syntax-async-generators"
813
],
914
"env": {
15+
"production": {
16+
"presets": [
17+
"minify"
18+
]
19+
},
1020
"test": {
1121
"plugins": [
1222
"istanbul",
13-
"rewire",
14-
"transform-runtime"
23+
"rewire"
1524
]
1625
}
1726
}
File renamed without changes.

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@ module.exports = {
3333
"curly": "error",
3434
"no-console": "warn",
3535
"semi": "error",
36+
"mozilla/no-define-cc-etc": "off",
37+
"mozilla/use-chromeutils-import": "off",
3638
},
3739
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report to help us improve
4+
5+
---
6+
7+
*Please note: this project is not currently or actively planning to fix non-critical (data loss, security related) bugs. This is an experimental prototype.*
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
1. Go to '...'
15+
2. Click on '....'
16+
3. Scroll down to '....'
17+
4. See error
18+
19+
**Expected behavior**
20+
A clear and concise description of what you expected to happen.
21+
22+
**Screenshots**
23+
If applicable, add screenshots to help explain your problem.
24+
25+
**Desktop (please complete the following information):**
26+
- OS: [e.g. iOS]
27+
- Browser version [e.g. 62, Nightly 63.a.01)
28+
- Version [e.g. 22]
29+
30+
**Additional context**
31+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
*Please note: your idea may have already been considered and you may find it in an issue by searching this repository. Also, this project is not currently or actively planning to implement new features as it is an experimental prototype.*
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ __pycache__
1212
.tox
1313
*.log
1414
*.pyc
15+
.pytest_cache

.travis.yml

Lines changed: 43 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
apt:
2222
packages:
2323
- jwm
24-
env: TOXENV=integration-tests MOZ_HEADLESS=1 GECKODRIVER=0.19.1
24+
env: TOXENV=integration-tests MOZ_HEADLESS=1 GECKODRIVER=0.21.0
2525
before_install:
2626
- wget -O /tmp/geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER/geckodriver-v$GECKODRIVER-linux64.tar.gz
2727
- mkdir $HOME/geckodriver && tar xvf /tmp/geckodriver.tar.gz -C $HOME/geckodriver
@@ -37,6 +37,30 @@ jobs:
3737
script: tox
3838
after_success: skip
3939
before_deploy: skip
40+
- stage:
41+
language: python
42+
python: 3.6
43+
addons:
44+
firefox: latest-nightly
45+
apt:
46+
packages:
47+
- jwm
48+
env: TOXENV=accessibility MOZ_HEADLESS=1 GECKODRIVER=0.21.0
49+
before_install:
50+
- wget -O /tmp/geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER/geckodriver-v$GECKODRIVER-linux64.tar.gz
51+
- mkdir $HOME/geckodriver && tar xvf /tmp/geckodriver.tar.gz -C $HOME/geckodriver
52+
- export PATH=$HOME/geckodriver:$PATH
53+
- firefox --version
54+
- geckodriver --version
55+
install:
56+
- nvm install node
57+
- pip install tox
58+
before_script:
59+
- npm install
60+
- npm run package
61+
script: tox -e a11y
62+
after_success: skip
63+
before_deploy: skip
4064
- stage:
4165
language: python
4266
python: 3.6
@@ -49,20 +73,21 @@ jobs:
4973
- stage:
5074
<<: *node
5175
before_deploy: skip
52-
- stage: deploy
53-
if: branch = master
54-
<<: *node
55-
python: '3.6'
56-
script: skip
57-
deploy:
58-
edge:
59-
branch: v1.8.47
60-
provider: pages
61-
on:
62-
branch: master
63-
skip_cleanup: true
64-
local_dir: site
65-
github_token: $GITHUB_TOKEN
76+
# Re-enable this when `documentation` updates to support Babel 7.
77+
# - stage: deploy
78+
# if: branch = master
79+
# <<: *node
80+
# python: '3.6'
81+
# script: skip
82+
# deploy:
83+
# edge:
84+
# branch: v1.8.47
85+
# provider: pages
86+
# on:
87+
# branch: master
88+
# skip_cleanup: true
89+
# local_dir: site
90+
# github_token: $GITHUB_TOKEN
6691
# deploy tags to GitHub Releases
6792
- stage: deploy
6893
if: tag =~ ^\d.\d.\d
@@ -79,12 +104,13 @@ jobs:
79104

80105
script:
81106
- STRICT_LINT=1 npm run test
82-
- npm run nsp
107+
- npx nsp check || true
83108

84109
after_success:
85110
- npm run codecov
86111

87112
before_deploy:
88113
- pip install --user mkdocs
89114
- npm run package
90-
- npm run doc
115+
# Re-enable this when `documentation` updates to support Babel 7.
116+
# - npm run doc

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55

66
# Lockbox for Firefox
77

8-
Lockbox for Firefox is a work-in-progress extension for Firefox to improve upon
9-
Firefox's built-in password management. If you're interested, you should
10-
probably come back later when we have more to show!
8+
Lockbox for Firefox is an experimental extension prototype for Firefox.
119

12-
:warning: **Note: This is a rapidly evolving prototype that will change. Any
13-
data stored here is not guaranteed to be retained in future updates.**
10+
:warning: **Note: This is no longer an actively-developed prototype and not
11+
officially supported. Any data stored is not guaranteed to be retained in
12+
future updates.**
1413

1514
## [Quick Installation][install-link]
1615

@@ -32,6 +31,9 @@ please see the [`docs` directory][docs-link].
3231

3332
## Contributing ##
3433

34+
:warning: **Note: This is not an actively-developed prototype and we are not
35+
actively seeking contributions at this time.**
36+
3537
See the [guidelines][contributing-link] for contributing to this project.
3638

3739
This project is governed by a [Code Of Conduct][coc-link].
@@ -49,7 +51,7 @@ version 2.0][license-link].
4951
[waffle-link]: https://waffle.io/mozilla-lockbox/lockbox-extension
5052
[greenkeeper-image]: https://badges.greenkeeper.io/mozilla-lockbox/lockbox-extension.svg
5153
[greenkeeper-link]: https://greenkeeper.io/
52-
[install-link]: /docs/install.md
54+
[install-link]: /docs/developer/install.md
5355
[org-website]: https://mozilla-lockbox.github.io/
5456
[docs-link]: /docs
5557
[contributing-link]: docs/contributing.md

dir-list-webpack-plugin.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import fs from "fs";
6-
import path from "path";
5+
const fs = require("fs");
6+
const path = require("path");
77

88
function statPromise(path) {
99
return new Promise((resolve, reject) => {
@@ -13,7 +13,7 @@ function statPromise(path) {
1313
});
1414
}
1515

16-
export default class DirListWebpackPlugin {
16+
module.exports = class DirListWebpackPlugin {
1717
constructor(options) {
1818
this.options = {
1919
directory: undefined,
@@ -83,4 +83,4 @@ export default class DirListWebpackPlugin {
8383
});
8484
});
8585
}
86-
}
86+
};

docs/CODEOWNERS

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
11
# lockbox-extension code owners
22
# https://help.github.com/articles/about-codeowners/
33

4-
# tests should also be reviewed by @m8ttyB
5-
/test/ @jimporter @m8ttyB
4+
# integration tests and related config are maintained by PI
5+
/requirements/ @mozilla-lockbox/product-integrity
6+
/test/integration/ @mozilla-lockbox/product-integrity
7+
/.pyup.ini @mozilla-lockbox/product-integrity
8+
/setup.cfg @mozilla-lockbox/product-integrity
9+
/tox.ini @mozilla-lockbox/product-integrity
610

7-
# docs are shepherded by @devinreams
8-
/docs/ @jimporter @devinreams
11+
# test plans are maintained by PI
12+
/docs/developer/test-plan* @mozilla-lockbox/product-integrity
13+
14+
# metrics docs are maintained by Leif
15+
/docs/metrics.md @irrationalagent
16+
17+
# unit tests and related config are maintained by engineering
18+
/test/unit/ @mozilla-lockbox/desktop-engineering
19+
/test/ @mozilla-lockbox/desktop-engineering
20+
21+
# source code and all other docs are maintained by engineering
22+
/src/ @mozilla-lockbox/desktop-engineering
23+
/docs/ @mozilla-lockbox/desktop-engineering
24+
25+
# release notes are maintained by the product owners
26+
/docs/release-notes.md @mozilla-lockbox/product
927

1028
# include Flod for l10n string changes
1129
# @todo uncomment below after initial string freeze
1230
#src/webextension/locales/en-US/*.ftl @flodolo
1331

14-
# otherwise, everything is to be reviewed by @jimporter
15-
* @jimporter
32+
# otherwise, everything is to be reviewed by the desktop team
33+
* @mozilla-lockbox/desktop-engineering

0 commit comments

Comments
 (0)