be5041dc72
* v1.2: (25 commits) Bump version to 1.2.0-beta.3 Update reset button label to always show ellipsis Release v1.2.0-beta.2 Create application menu on macOS including about page, quit and basic 'Edit' menu; Fixes #60 Add option to reset app from lock screen Send platform as header with each request Release v1.2.0-beta.1 Remove announcements.json (was used for testing) Update electron-builder and electron-auto-updater dependencies Upgrade to latest electron-builder; Add option to build for linux Fix paths in test runner page Fix modulo bias in padlock.rand.randomString(); add test to ensure unique strings, even character distribution When resetting app, also reset all settings Don't save version in settings; reorganise version-related code Add option to build electron app for windows Add support for electron auto update Update cordova build hook to use new build function Get app version though various platform apis instead of hardcoding it; Display in settings Update manifest file with current version, description and author fields before writing to build dir Clean up dependencies ... |
||
---|---|---|
app | ||
chrome | ||
cordova | ||
electron | ||
lib | ||
test | ||
.eslintrc.json | ||
.gitignore | ||
.jshintrc | ||
LICENSE | ||
README.md | ||
gulpfile.js | ||
package.json |
README.md
Padlock
A minimal open source password manager built with Polymer.
Dev Setup
Install these if you haven't yet:
Now from inside the project folder, install the local requirements:
npm install
bower install
For the HTML Imports polyfill of Polymer to work, the app has to be served on a local web server. You can use whatever web server you prefer to serve the files. For example:
python -m SimpleHTTPServer 8000
Compling css files
Padlock uses the Stylus as a CSS preprocessor. Most style sheets are maintained as .styl
files and compiled locally. To compile all .styl
files to CSS, run the corresponding gulp task
gulp stylus
You can also use the --watch
flag to tell the gulp task to watch all .styl
files and recompile them whenever any of them changes.
gulp stylus --watch
Linting
Any pull request need to pass our linting rules, which are defined in the .eslintrc.json
file. To lint all files, run
gulp eslint
Testing
To run the tests, open test/runner.html
in your browser.
Contributing
Contributions are more than welcome!
- If you want to report a bug or suggest a new feauture, you can do so in the issues section
- If you want to contribute directly by committing changes, please follow the usual steps:
- Fork the repo
- Create your feature branch: git checkout -b my-feature-branch
- Make sure to lint your code before you commit! (
gulp lint
) - Commit your changes: git commit -m 'Some meaningful commit message'
- Push to the branch: git push origin my-feature-branch
- Submit a pull request!