Skip to content

Commit

Permalink
Update readme and markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
KCeh committed Sep 6, 2024
1 parent 771d0a6 commit 142d951
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 12 deletions.
74 changes: 74 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# 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, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, 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 [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and 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](https://www.contributor-covenant.org), version 1.4,
available [here](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html).

For answers to common questions about this code of conduct, visit
the [FAQ](https://www.contributor-covenant.org/faq) page.
42 changes: 42 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Contributing guidelines

Welcome to our project! We appreciate your interest in helping us improve it.

## How can I contribute?

There are multiple ways in which you can help us make this project even better.

- Contributing code improvements or new features
- Writing, updating, or fixing tests
- Improving documentation, including inline comments, user manuals, and developer guides

## Making changes

To make changes to the project, please follow these steps:

1. Fork the project repository.
2. Create a new branch for your changes, based on the project's main branch.
3. Make your changes. Ensure you've followed the coding style and standards.
4. Test your changes thoroughly, ensuring all existing tests pass and new tests cover your changes where appropriate.
5. Commit your changes with a clear and descriptive commit message.
6. Push your changes to your fork.
7. Create a pull request to the project's main branch.

Once we check everything, we will merge the changes into the main branch and include it in the next release.

## Guidelines for pull requests

When submitting a pull request, please ensure that:

- Your code is properly tested
- Your code adheres to the project's coding standards and style guidelines
- Your commit message is clear and descriptive
- Your pull request includes a description of the changes you have made and why you have made them

## Code of conduct

We want to ensure a welcoming environment for everyone. With that in mind, all contributors are expected to follow our [code of conduct](/CODE_OF_CONDUCT.md).

## License

By submitting a pull request you agree to release that code under the project's [license](/LICENSE).
41 changes: 29 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

![UI](ui.png)

## Description

_Sentinel_ is a simple one screen UI that provides standardised entry point for tools used in
development and QA alongside device, application and permissions data.
It's designed to be easily configured and expanded depending on needs and requirements of developers
Expand All @@ -27,6 +29,23 @@ The project is organized in the following modules:
- `tool-timber` - contains a class wrapper for Timber
- `sample` - a sample app for testing and developing


## Table of contents

* [Requirements](#requirements)
* [Usage](#usage)
* [Getting started](#getting-started)
* [Contributing](#contributing)
* [License](#license)
* [Credits](#credits)

## Requirements

This plugin has been written in Kotlin but works both inside Kotlin and Java projects. Minimum
required API level to use _Sentinel_ is *21* known
as [Android 5.0, Lollipop](https://www.android.com/versions/lollipop-5-0/).
_Sentinel_ is built with and for AndroidX projects.

## Usage

To include _Sentinel_ in your project, you have to add buildscript dependencies in your project
Expand Down Expand Up @@ -101,7 +120,7 @@ debugImplementation("com.infinum.sentinel:tool-timber:$sentinelVersion")

Now you can sync your project.

### Getting started
## Getting started

Create or inject an instance of _Sentinel_ in your Application class and start watching for
triggers:
Expand Down Expand Up @@ -257,7 +276,7 @@ _Plain_ formatter is selected by default, but selecting any other is persisted b
- `XML`
- `HTML`

## Crash monitor
### Crash monitor

_Sentinel_ has a built in default uncaught exception handler and ANR observer. If switched on in
settings, it will notify both in a form of a notification. Note that from Android 13 you need to give permission
Expand All @@ -278,7 +297,7 @@ Sentinel.setAnrListener { exception ->
}
```

## Bundle monitor
### Bundle monitor

_Sentinel_ monitors Bundle objects passed around the application mostly for size limit of 500kB,
thus avoiding _TransactionTooLarge_ exceptions.
Expand All @@ -296,21 +315,19 @@ for a specific screen, you can do so in the _AndroidManifest.xml_ by adding a _m
</activity>
```

## Requirements
## Contributing

This plugin has been written in Kotlin but works both inside Kotlin and Java projects. Minimum
required API level to use _Sentinel_ is *21* known
as [Android 5.0, Lollipop](https://www.android.com/versions/lollipop-5-0/).
_Sentinel_ is built with and for AndroidX projects.
We believe that the community can help us improve and build better a product.
Please refer to our [contributing guide](CONTRIBUTING.md) to learn about the types of contributions we accept and the process for submitting them.

## Contributing
To ensure that our community remains respectful and professional, we defined a [code of conduct](CODE_OF_CONDUCT.md) that we expect all contributors to follow.

Feedback and code contributions are very much welcome. Just make a pull request with a short
description of your changes. By making contributions to this project you give permission for your
code to be used under the same [license](LICENSE). For easier developing a `sample` application with
For easier developing a `sample` application with
proper implementations is provided. If you wish to add a new specific dependency wrapper tool,
create a new module and set it up like the ones already provided. Then create a pull request.

We appreciate your interest and look forward to your contributions.

## License

```
Expand Down
19 changes: 19 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Security

## Reporting security issues

At Infinum we are committed to ensuring the security of our software. If you have discovered a security vulnerability or have concerns regarding the security of our project, we encourage you to report it to us in a responsible manner.

If you discover a security vulnerability, please report it to us by emailing us at [email protected]. We will review your report, and if the issue is confirmed, we will work to resolve the issue as soon as possible and coordinate the release of a security patch.

## Responsible disclosure

We request that you practice responsible disclosure by allowing us time to investigate and address any reported vulnerabilities before making them public. We believe this approach helps protect our users and provides a better outcome for everyone involved.

## Preferred languages

We prefer all communication to be in English.

## Contributions

We greatly appreciate your help in keeping Infinum projects secure. Your efforts contribute to the ongoing improvement of our project's security.

0 comments on commit 142d951

Please sign in to comment.