Skip to content

Commit 4ac5a83

Browse files
authored
20 time tracker with log analytics azure (#23)
* Add Azure Log Analytics Workspace to time_token_tracker.py * Encryption added and other improvements * Add Issue Templates. Update Docs and Reademe * Update links
1 parent 8e7b33d commit 4ac5a83

19 files changed

Lines changed: 832 additions & 190 deletions

.github/CODE_OF_CONDUCT.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible 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.
6+
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to a positive environment for our community include:
12+
13+
* Demonstrating empathy and kindness toward other people
14+
* Being respectful of differing opinions, viewpoints, and experiences
15+
* Giving and gracefully accepting constructive feedback
16+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
* Focusing on what is best not just for us as individuals, but for the overall community
18+
19+
Examples of unacceptable behavior include:
20+
21+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
22+
* Trolling, insulting or derogatory comments, and personal or political attacks
23+
* Public or private harassment
24+
* Publishing others' private information, such as a physical or email address, without their explicit permission
25+
* Contacting individual members, contributors, or leaders privately, outside designated community mechanisms, without their explicit permission
26+
* Other conduct which could reasonably be considered inappropriate in a professional setting
27+
28+
## Enforcement Responsibilities
29+
30+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
31+
32+
Community leaders 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, and will communicate reasons for moderation decisions when appropriate.
33+
34+
## Scope
35+
36+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
37+
38+
## Enforcement
39+
40+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at opensource@github.com. All complaints will be reviewed and investigated promptly and fairly.
41+
42+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
43+
44+
## Enforcement Guidelines
45+
46+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
47+
48+
### 1. Correction
49+
50+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
51+
52+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
53+
54+
### 2. Warning
55+
56+
**Community Impact**: A violation through a single incident or series of actions.
57+
58+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
59+
60+
### 3. Temporary Ban
61+
62+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
63+
64+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
65+
66+
### 4. Permanent Ban
67+
68+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
69+
70+
**Consequence**: A permanent ban from any sort of public interaction within the community.
71+
72+
## Attribution
73+
74+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at <https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
75+
76+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
77+
78+
[homepage]: https://www.contributor-covenant.org
79+
80+
For answers to common questions about this code of conduct, see the FAQ at <https://www.contributor-covenant.org/faq>. Translations are available at <https://www.contributor-covenant.org/translations>.

.github/CONTRIBUTING.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Welcome to Open-WebUI-Functions contributing guide <!-- omit in toc -->
2+
3+
Thank you for investing your time in contributing to our project!
4+
5+
Read our [Code of Conduct](https://own.dev/github-owndev-open-webui-functions-code-of-conduct) to keep our community approachable and respectable.
6+
7+
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
8+
9+
Use the table of contents icon <img alt="Table of contents icon" src="../docs/images/table-of-contents.png" width="25" height="25" /> on the top left corner of this document to get to a specific section of this guide quickly.
10+
11+
## New contributor guide
12+
13+
To get an overview of the project, read the [README](https://own.dev/github-owndev-open-webui-functions) file. Here are some resources to help you get started with open source contributions:
14+
15+
- [Finding ways to contribute to open source on GitHub](https://docs.github.com/en/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github)
16+
- [Set up Git](https://docs.github.com/en/get-started/git-basics/set-up-git)
17+
- [GitHub flow](https://docs.github.com/en/get-started/using-github/github-flow)
18+
- [Collaborating with pull requests](https://docs.github.com/en/github/collaborating-with-pull-requests)
19+
20+
21+
## Getting started
22+
23+
For more information on how we write our markdown files, see "[Using Markdown in GitHub](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)."
24+
25+
### Issues
26+
27+
#### Create a new issue
28+
29+
If you spot a problem, [search if an issue already exists](https://docs.github.com/en/github/searching-for-information-on-github/searching-on-github/searching-issues-and-pull-requests#search-by-the-title-body-or-comments). If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://own.dev/github-owndev-open-webui-functions-issues-new).
30+
31+
#### Solve an issue
32+
33+
Scan through our [existing issues](https://own.dev/github-owndev-open-webui-functions-issues) to find one that interests you. You can narrow down the search using `labels` as filters. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix.
34+
35+
### Make Changes
36+
37+
#### Make changes in the UI
38+
39+
Click **Make a contribution** at the bottom of any docs page to make small changes such as a typo, sentence fix, or a broken link. This takes you to the `.md` file where you can make your changes and [create a pull request](#pull-request) for a review.
40+
41+
<img src="../docs/images/contribution_cta.png" />
42+
43+
#### Make changes locally
44+
45+
1. Fork the repository.
46+
- Using GitHub Desktop:
47+
- [Getting started with GitHub Desktop](https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/getting-started-with-github-desktop) will guide you through setting up Desktop.
48+
- Once Desktop is set up, you can use it to [fork the repo](https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/cloning-and-forking-repositories-from-github-desktop)!
49+
50+
- Using the command line:
51+
- [Fork the repo](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo#fork-an-example-repository) so that you can make your changes without affecting the original project until you're ready to merge them.
52+
53+
3. Create a working branch and start with your changes!
54+
55+
### Commit your update
56+
57+
Commit the changes once you are happy with them.
58+
59+
### Pull Request
60+
61+
When you're finished with the changes, create a pull request, also known as a PR.
62+
- Fill the "Ready for review" template so that we can review your PR. This template helps reviewers understand your changes as well as the purpose of your pull request.
63+
- Don't forget to [link PR to issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) if you are solving one.
64+
- Enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) so the branch can be updated for a merge.
65+
Once you submit your PR, a team member will review your proposal. We may ask questions or request additional information.
66+
- We may ask for changes to be made before a PR can be merged. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch.
67+
- If you run into any merge issues, checkout this [git tutorial](https://github.com/skills/resolve-merge-conflicts) to help you resolve merge conflicts and other issues.
68+
69+
### Your PR is merged!
70+
71+
Congratulations :tada::tada: the **Open-WebUI-Functions** team thanks you :sparkles:.
72+
73+
Once your PR is merged, your posts will be made public.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
name: Contribute your own feature
2+
description: Propose and contribute a self-implemented feature for this project.
3+
labels:
4+
- enhancement
5+
- contribution
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
**Thank you for contributing to this project!**
11+
This template is intended for contributors who plan to **submit their own implementation** of a new feature or improvement.
12+
13+
Please fill out all relevant sections to help the maintainers review and integrate your work efficiently.
14+
15+
- Make sure you’ve read the [Contributing Guide](https://own.dev/github-owndev-open-webui-functions-contributing).
16+
- Before proceeding, open this issue to **coordinate with maintainers** and avoid duplicate work.
17+
18+
- type: checkboxes
19+
id: agreement
20+
attributes:
21+
label: Contribution Terms
22+
description: Confirm that you've reviewed the necessary guidelines and intend to contribute code.
23+
options:
24+
- label: I have reviewed the project’s [Code of Conduct](https://own.dev/github-owndev-open-webui-functions-code-of-conduct) and contribution guidelines.
25+
required: true
26+
- label: I plan to implement this feature myself and submit a pull request.
27+
required: true
28+
29+
- type: input
30+
attributes:
31+
label: Feature title
32+
description: A short, clear name for the feature you're implementing.
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
attributes:
38+
label: Feature overview
39+
description: |
40+
Briefly describe the feature you're planning to implement:
41+
- What problem does it solve or what benefit does it bring?
42+
- Who are the target users or use cases?
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
attributes:
48+
label: Implementation details
49+
description: |
50+
Describe your planned approach or architecture for implementing this feature.
51+
Include:
52+
- Which components/modules will be affected
53+
- APIs, libraries, or technologies you intend to use
54+
- Any design decisions or constraints
55+
validations:
56+
required: true
57+
58+
- type: textarea
59+
attributes:
60+
label: Tasks and milestones
61+
description: Break down the work into actionable steps or milestones. This will help with tracking progress.
62+
validations:
63+
required: false
64+
65+
- type: textarea
66+
attributes:
67+
label: Questions or areas for feedback
68+
description: |
69+
Do you have any uncertainties, decisions to validate, or places where you'd like early feedback from maintainers?
70+
validations:
71+
required: false
72+
73+
- type: textarea
74+
attributes:
75+
label: Additional context or references
76+
description: Link related discussions, documents, code snippets, or external resources.
77+
validations:
78+
required: false
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Documentation update
2+
description: Suggest improvements or changes to the documentation.
3+
labels:
4+
- documentation
5+
body:
6+
- type: input
7+
attributes:
8+
label: Documentation area
9+
description: What part of the documentation needs improvement? (e.g., README, API docs, Setup guide)
10+
validations:
11+
required: true
12+
13+
- type: textarea
14+
attributes:
15+
label: Suggested improvement
16+
description: Describe what should be changed or clarified and why.
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
attributes:
22+
label: Additional context
23+
description: Add references, links, or examples to help understand your suggestion.
24+
validations:
25+
required: false
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Question or Support
2+
description: Ask a question or request help using the project.
3+
labels:
4+
- question
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
**Need help or have a question?**
10+
This form is for general usage questions or support requests.
11+
Please check the [documentation](https://own.dev/github-owndev-open-webui-functions) and existing [issues](https://own.dev/github-owndev-open-webui-functions-issues) before submitting.
12+
13+
- type: input
14+
attributes:
15+
label: Question summary
16+
description: Briefly describe your question or what you need help with.
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
attributes:
22+
label: Details
23+
description: Please describe the question or issue in more detail. Include context, logs, error messages, etc. if applicable.
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
attributes:
29+
label: What have you tried?
30+
description: Share what you've already tried to solve the issue on your own.
31+
validations:
32+
required: false
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Report a bug
2+
description: Report an issue that you encountered while using the project.
3+
labels:
4+
- bug
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
**Thanks for reporting a bug!**
10+
Please complete the information below to help us reproduce and fix the issue.
11+
12+
- type: input
13+
attributes:
14+
label: Bug title
15+
description: A brief summary of the bug.
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
attributes:
21+
label: Describe the bug
22+
description: |
23+
What went wrong? Include:
24+
- What you expected to happen
25+
- What actually happened
26+
- Any error messages or screenshots
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
attributes:
32+
label: Steps to reproduce
33+
description: Describe the steps we need to take to see the issue. Be as specific as possible.
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
attributes:
39+
label: Environment
40+
description: |
41+
Provide relevant environment details:
42+
- OS, browser/device (if relevant)
43+
- Software version or commit hash
44+
- Any configuration or plugins used
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
attributes:
50+
label: Additional context
51+
description: Add links to logs, screenshots, or related issues if available.
52+
validations:
53+
required: false
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Submit an idea or proposal
2+
description: Suggest a general idea or concept for discussion, not necessarily planned for immediate implementation.
3+
labels:
4+
- idea
5+
- discussion
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
**Have an idea to share?**
11+
Use this form to submit general proposals, conceptual ideas, or directions for future development. This is a space for open-ended discussions that might not yet be tied to a concrete implementation.
12+
13+
> If you're planning to contribute code for your idea, please use the **"Contribute your own feature"** template instead.
14+
15+
- type: input
16+
attributes:
17+
label: Idea title
18+
description: A clear and concise title for your idea or proposal.
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
attributes:
24+
label: Describe your idea
25+
description: |
26+
Describe your idea or proposal in detail. Consider including:
27+
- What problem or opportunity you're addressing
28+
- How this could improve the project
29+
- Any inspiration or background
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
attributes:
35+
label: Possible directions or next steps
36+
description: What could be explored next? Are there any potential ways this idea could be evaluated or tested?
37+
validations:
38+
required: false
39+
40+
- type: textarea
41+
attributes:
42+
label: Additional context
43+
description: Add any links, discussions, screenshots, or references to support your idea.
44+
validations:
45+
required: false

0 commit comments

Comments
 (0)