From b4e238343074c293cff6caf231011b4037b681e5 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Tue, 21 Jun 2016 18:21:13 +0300 Subject: [PATCH] Added link validation and removed invalid links --- .travis.yml | 2 -- CODE_OF_CONDUCT.md | 74 ++++++++++++++++++++++++++++++++++++++++++++++ CONTRIBUTING.md | 2 +- README.md | 8 ++--- package.json | 14 +++++++-- 5 files changed, 89 insertions(+), 11 deletions(-) create mode 100644 CODE_OF_CONDUCT.md diff --git a/.travis.yml b/.travis.yml index adb5d32..8d3f89e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,7 @@ node_js: sudo: false install: - # - gem install awesome_bot - npm install script: - # - awesome_bot -f README.md -t 10 --allow-redirect - npm test diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..e66667e --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,74 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of experience, +nationality, personal appearance, race, religion, or sexual identity and +orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or +advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at [mail@sobolevn.me](mailto:mail@sobolevn.me). The project team +will review and investigate all complaints, and will respond in a way that it deems +appropriate to the circumstances. The project team is obligated to maintain +confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at [http://contributor-covenant.org/version/1/4][version] + +[homepage]: http://contributor-covenant.org +[version]: http://contributor-covenant.org/version/1/4/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 829d93d..4abfa10 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,7 +12,7 @@ Your contributions are always welcome! - Add the link: `- [project-name](http://example.com/) - A short description ends with a period.` - - Keep descriptions concise. + - Keep descriptions concise, maximum number of characters is 350. - Add a section if needed. diff --git a/README.md b/README.md index 231005a..7eacf2c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A curated list of cryptography resources and links. - + - [Theory](#theory) - [Algorithms](#algorithms) @@ -52,7 +52,7 @@ A curated list of cryptography resources and links. - [Contributing](#contributing) - [License](#license) - + - - - @@ -115,7 +115,6 @@ A curated list of cryptography resources and links. ### C -- [cryptlib](http://www.cryptlib.com/) - is an open source cross-platform software security toolkit library. - [libgcrypt](http://directory.fsf.org/wiki/Libgcrypt) - is a cryptographic library developed as a separated module of GnuPG. - [libtomcrypt](https://github.com/libtom/libtomcrypt) - is a fairly comprehensive, modular and portable cryptographic toolkit. - [NaCl](https://nacl.cr.yp.to/) - high-speed library for network communication, encryption, decryption, signatures, etc. @@ -222,7 +221,7 @@ A curated list of cryptography resources and links. ### PHP -- [halite](https://paragonie.com/project/halite) - a simple library for encryption using [libsodium](https://github.com/jedisct1/libsodium). +- [halite](https://paragonie.com/project/halite) - a simple library for encryption using `libsodium`. - [PHP Encryption](https://github.com/defuse/php-encryption) - This is a library for encrypting data with a key or password in PHP. - [TCrypto](https://github.com/timoh6/TCrypto) - TCrypto is a simple and flexible PHP 5.3+ in-memory key-value storage library. @@ -231,7 +230,6 @@ A curated list of cryptography resources and links. - [charm](https://github.com/JHUISI/charm) - a framework for rapidly prototyping cryptosystems. - [cryptography](https://cryptography.io/en/latest/) - is a Python library which exposes cryptographic recipes and primitives. - [cryptopy](https://sourceforge.net/projects/cryptopy/) - is a pure python implmentation of cryptographic algorithms and applications. -- [Google Keyczar](https://github.com/google/keyczar) - Easy-to-use crypto toolkit. - [hashids](https://github.com/davidaurelio/hashids-python) - Implementation of [hashids](http://hashids.org) in Python. - [paramiko](http://www.paramiko.org/) - a Python implementation of the SSHv2 protocol, providing both client and server functionality. - [pycrypto](https://github.com/dlitz/pycrypto) - The Python Cryptography Toolkit. diff --git a/package.json b/package.json index 78b2a35..f4c1496 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "remark": "^4.2.2", "remark-lint": "^3.2.1", "remark-lint-alphabetize-lists": "^1.0.4", - "remark-lint-ending-period": "^1.0.1" + "remark-lint-are-links-valid": "^1.0.1", + "remark-lint-list-item-punctuation": "^2.0.1" }, "remarkConfig": { "plugins": { @@ -36,8 +37,15 @@ "list-item-spacing": false, "external": [ "remark-lint-alphabetize-lists", - "remark-lint-ending-period" - ] + "remark-lint-are-links-valid", + "remark-lint-list-item-punctuation" + ], + "are-links-valid": { + "allowDuplicates": false, + "whiteListDomains": [ + "hackage.haskell.org" + ] + } } }, "settings": {