Skip to content
Snippets Groups Projects
Commit 5569af5b authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Doc: Project documentation

parent a195f05d
No related branches found
No related tags found
2 merge requests!43Release: Sprint/2023 06 :robot:,!41Doc: Updated Library README
# NotificationConfiguration
## Notification Configuration Library
This project contains the configuration for actions and channels for the notification system.
[[_TOC_]]
## 📝 Overview
The NotificationConfiguration library for .NET provides a set of configurations for actions and channels used in the notification system within Coscine, allowing for easy customization and management of various notifications across different applications and services.
## ⚙️ Configuration
## Placeholder
Placeholders can be used to extend the the provided texts with custom information. This is done be including the place holder within the language specific template, like this `{{examplePlaceholder}}` There are two types of placeholders that can be used: derived palceholders and custom placeholes. Derived placeholders are taken from the affected user or the project, currently the following information can be used, they are identified by an underscore:
To install this library, you can use the NuGet package manager or you can install it using the .NET CLI.
```powershell
Install-Package Coscine.NotificationConfiguration
```
or using the .NET CLI
```powershell
dotnet add package Coscine.NotificationConfiguration
```
## 📖 Usage
For examples on how we use this library, look into the source code of the following open-source [Coscine APIs](https://git.rwth-aachen.de/coscine/backend/apis) found in our public GitLab repository:
- `Notification`
... and others.
### Placeholders
Placeholders can be used to extend the the provided texts with custom information. This is done be including the place holder within the language specific template, like this `{{examplePlaceholder}}` There are two types of placeholders that can be used: *derived placeholders* and *custom placeholders*.
#### Derived placeholders
Derived placeholders are taken from the affected user or the project, currently the following information can be used, they are identified by an underscore:
```
- _targetUserName
- _projectName
Custom placeholders must be provided in the JObject that is sent to the NotificationBus:
```
#### Custom placeholders
Custom placeholders must be provided in a `JObject` that is sent to the `Notification API`:
```csharp
var obj = new JObject
{
["args"] = new JObject
......@@ -24,4 +46,28 @@ var obj = new JObject
}
};
```
To provide a clear destinction they should not use an underscore. Keep in mind that placeholders are not localized.
To provide a clear distinction they should not use an underscore. Keep in mind that placeholders are not localized.
## 👥 Contributing
As an open source plattform and project, we welcome contributions from our community in any form. You can do so by submitting bug reports or feature requests, or by directly contributing to Coscine's source code. To submit your contribution please follow our [Contributing Guideline](https://git.rwth-aachen.de/coscine/docs/public/wiki/-/blob/master/Contributing%20To%20Coscine.md).
## 📄 License
The current open source repository is licensed under the **MIT License**, which is a permissive license that allows the software to be used, modified, and distributed for both commercial and non-commercial purposes, with limited restrictions (see `LICENSE` file)
> The MIT License allows for free use, modification, and distribution of the software and its associated documentation, subject to certain conditions. The license requires that the copyright notice and permission notice be included in all copies or substantial portions of the software. The software is provided "as is" without any warranties, and the authors or copyright holders cannot be held liable for any damages or other liability arising from its use.
## 🆘 Support
1. **Check the documentation**: Before reaching out for support, check the help pages provided by the team at https://docs.coscine.de/en/. This may have the information you need to solve the issue.
2. **Contact the team**: If the documentation does not help you or if you have a specific question, you can reach out to our support team at `servicedesk@itc.rwth-aachen.de` 📧. Provide a detailed description of the issue you're facing, including any error messages or screenshots if applicable.
3. **Be patient**: Our team will do their best to provide you with the support you need, but keep in mind that they may have a lot of requests to handle. Be patient and wait for their response.
4. **Provide feedback**: If the support provided by our support team helps you solve the issue, let us know! This will help us improve our documentation and support processes for future users.
By following these simple steps, you can get the support you need to use Coscine's services as an external user.
## 📦 Release & Changelog
External users can find the _Releases and Changelog_ inside each project's repository. The repository contains a section for Releases (`Deployments > Releases`), where users can find the latest release changelog and source. Withing the Changelog you can find a list of all the changes made in that particular release and version.
By regularly checking for new releases and changes in the Changelog, you can stay up-to-date with the latest improvements and bug fixes by our team and community!
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment