Skip to content

Commit 506e465

Browse files
committed
Open Source files
1 parent 63c7476 commit 506e465

File tree

3 files changed

+187
-0
lines changed

3 files changed

+187
-0
lines changed

CODE_OF_CONDUCT.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
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.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
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.
28+
29+
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.
30+
31+
## Scope
32+
33+
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.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. 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.
38+
39+
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.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

CONTRIBUTING.md

+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# Contributing to Sing App
2+
3+
Your contributions are welcome and are greatly appreciated! Every little bit helps, and credit
4+
will always be given.
5+
6+
Please take a moment to review this document in order to make the contribution process easy and
7+
effective for everyone involved.
8+
9+
## Conduct
10+
11+
Please, follow the [golden rule](https://en.wikipedia.org/wiki/Golden_Rule). Be respectful, even to
12+
those that are disrespectful.
13+
14+
## Feedback
15+
16+
Feedback is the breakfast for champions! We'd love to hear your opinions, discuss potential
17+
improvements, architecture, theory, internal implementation, etc. Please, join or start a new
18+
conversation in our [issue tracker](https://github.com/flatlogic/react-dashboard/issues).
19+
20+
## Documentation
21+
22+
We need your help with improving documentation to the project. This might be the easiest way for
23+
you to contribute, because you don't even need to clone the repo but can edit or create new `.md`
24+
files right from GitHub website as described [here](https://help.github.com/articles/editing-files-in-your-repository/).
25+
26+
## Bugs & Feature Requests
27+
28+
Before opening an issue, please:
29+
30+
* Check [Documentation](https://demo.flatlogic.com/sing-app/documentation).
31+
* Search the [issue tracker](https://github.com/flatlogic/sing-app/issues) to make sure
32+
your issue hasn’t already been reported.
33+
* If your issue sounds more like a question, please post it on StackOverflow.com instead with the
34+
tag [sing-app](http://stackoverflow.com/questions/tagged/sing-app).
35+
36+
## Pull Requests
37+
38+
Before you submit a [pull request](https://help.github.com/articles/using-pull-requests/) from your
39+
forked repo, check that it meets these guidelines:
40+
41+
* If the pull request adds functionality, the docs should be updated as part of the same PR.
42+
* Create a separate PR for each small feature or bug fix.
43+
* [Squash](http://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git)
44+
your commits into one for each PR.
45+
* When contributing to an opt-in feature, apply the `[feature/...]` tag as a prefix to your PR title
46+
47+
## Style Guide
48+
49+
We follow [Airbnb's Style Guide](https://github.com/airbnb/javascript) for best practices writing javascript code.
50+
51+
## Commit Message Guidelines
52+
53+
We have very precise rules over how our git commit messages can be formatted. This leads to **more
54+
readable messages** that are easy to follow when looking through the **project history**. But also,
55+
we use the git commit messages to **generate the ngx-admin change log**.
56+
57+
### Commit Message Format
58+
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
59+
format that includes a **type**, a **scope** and a **subject**:
60+
61+
```
62+
<type>(<scope>): <subject>
63+
<BLANK LINE>
64+
<body>
65+
<BLANK LINE>
66+
<footer>
67+
```
68+
69+
The **header** is mandatory and the **scope** of the header is optional.
70+
71+
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier
72+
to read on GitHub as well as in various git tools.
73+
74+
### Revert
75+
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of
76+
the reverted commit. In the body it should say: `This reverts commit <hash>.`, where the hash is
77+
the SHA of the commit being reverted.
78+
79+
### Type
80+
Must be one of the following:
81+
82+
* **feat**: A new feature
83+
* **fix**: A bug fix
84+
* **docs**: Documentation only changes
85+
* **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing
86+
semi-colons, etc)
87+
* **refactor**: A code change that neither fixes a bug nor adds a feature
88+
* **perf**: A code change that improves performance
89+
* **test**: Adding missing tests or correcting existing tests
90+
* **build**: Changes that affect the build system, CI configuration or external dependencies
91+
(example scopes: gulp, broccoli, npm)
92+
* **chore**: Other changes that don't modify `src` or `test` files
93+
* **relese**: Release version commit
94+
95+
### Scope
96+
The scope could be anything specifying place of the commit change. For example
97+
`menu`, `sidebar`, etc.
98+
99+
### Subject
100+
The subject contains succinct description of the change:
101+
102+
* use the imperative, present tense: "change" not "changed" nor "changes"
103+
* don't capitalize first letter
104+
* no dot (.) at the end
105+
106+
### Body
107+
Optional. Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
108+
The body should include the motivation for the change and contrast this with previous behavior.
109+
110+
### Footer
111+
Optional. The footer should contain any information about **Breaking Changes** and is also the place to
112+
reference GitHub issues that this commit **Closes**.
113+
114+
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines.
115+
The rest of the commit message is then used for this.
116+
117+
## License
118+
119+
By contributing to Sing App, you agree that your contributions will be licensed under its
120+
[MIT license](https://github.com/flatlogic/sing-app/blob/master/LICENSE).

LICENCE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Flatlogic, LLC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)