Skip to content

Commit ab6553f

Browse files
authored
Merge pull request #1 from WizardLoop/dev
[1.0.0]
2 parents 671209e + ef07b72 commit ab6553f

33 files changed

+2954
-12
lines changed

.gitattributes

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Force LF line endings
2+
* text=auto eol=lf
3+
4+
# Set file types
5+
*.php text
6+
*.sh text eol=lf
7+
*.md text
8+
*.yml text
9+
*.json text
10+
*.xml text
11+
*.env text
12+
13+
# Exclude tests and dev files from export
14+
/tests export-ignore
15+
phpunit.xml export-ignore
16+
phpcs.xml export-ignore
17+
php-cs-fixer.dist.php export-ignore
18+
Makefile export-ignore
19+
.dockerignore export-ignore
20+
composer.lock export-ignore
21+
22+
README.md export-ignore
23+
CHANGELOG.md export-ignore
24+

.github/CODE_OF_CONDUCT.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# 📜 Code of Conduct
2+
3+
## Contributor Covenant Code of Conduct
4+
5+
### 🌍 Our Pledge
6+
7+
We as members, contributors, and leaders pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, faith, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
8+
9+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
10+
11+
---
12+
13+
### 🤝 Our Standards
14+
15+
Examples of behavior that contributes to a positive environment for our community include:
16+
17+
- Demonstrating empathy and kindness toward other people
18+
- Being respectful of differing opinions, viewpoints, and experiences
19+
- Giving and gracefully accepting constructive feedback
20+
- Taking responsibility and apologizing to those affected by our mistakes
21+
- Focusing on what is best not just for us as individuals, but for the overall community
22+
23+
Examples of unacceptable behavior include:
24+
25+
- The use of sexualized language or imagery, and sexual attention or advances of any kind
26+
- Trolling, insulting or derogatory comments, and personal or political attacks
27+
- Public or private harassment
28+
- Publishing others’ private information, such as a physical or email address, without their explicit permission
29+
- Other conduct which could reasonably be considered inappropriate in a professional setting
30+
31+
---
32+
33+
### 📢 Enforcement Responsibilities
34+
35+
Project maintainers 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.
36+
37+
Project maintainers have the right and responsibility to remove, edit, or reject contributions, comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct.
38+
39+
---
40+
41+
### 🛡 Enforcement
42+
43+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project team at https://wizardloop.t.me
44+
45+
All complaints will be reviewed and investigated promptly and fairly.
46+
47+
All project team members are obligated to respect the privacy and security of the reporter of any incident.
48+
49+
---
50+
51+
### 🧾 Attribution
52+
53+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
54+
55+
[homepage]: https://www.contributor-covenant.org

.github/CONTRIBUTING.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# 🤝 Contributing to GetAnyMessage
2+
3+
Thank you for considering contributing to **GetAnyMessage**! We greatly appreciate your effort to help improve this open-source project. This document will guide you through the process of contributing, including how to add new features and support for additional languages.
4+
5+
## 🧩 Ways to Contribute
6+
7+
There are many ways you can contribute to this project:
8+
9+
- 🐛 Reporting bugs
10+
- 💡 Proposing new features
11+
- 🌍 Adding or improving translations
12+
- 🧪 Writing tests
13+
- 🧼 Improving documentation
14+
15+
## 🌐 Adding a New Language
16+
17+
JewishPulse uses JSON files for localization. Here's how to add support for a new language:
18+
19+
1. Navigate to the `app/locales/` directory.
20+
2. Create a new file for your language using its ISO 639-1 code, for example:
21+
- `fr.json` for French
22+
- `es.json` for Spanish
23+
3. Copy the contents of `en.json` as a template.
24+
4. Translate the values (not the keys) to the target language.
25+
5. Save the file and verify formatting (use a JSON linter or formatter if needed).
26+
27+
Please make sure your translations are accurate and complete before submitting a pull request.
28+
29+
## 🚀 Suggesting a New Feature
30+
31+
1. Fork the repository to your own GitHub account.
32+
2. Create a new branch for your feature:
33+
```bash
34+
git checkout -b feature/my-new-feature
35+
```
36+
3. Implement your feature.
37+
4. Commit your changes and push your branch:
38+
```bash
39+
git add .
40+
git commit -m "Add new feature: My awesome idea"
41+
git push origin feature/my-new-feature
42+
```
43+
5. Open a Pull Request (PR) on the original repository:
44+
- Include a clear description of what the feature does.
45+
- Reference related issues if applicable.
46+
47+
## ✅ Code Guidelines
48+
49+
- Follow PSR-12 coding standards.
50+
- Include comments where needed.
51+
- Test your code before submitting.
52+
53+
## 🧪 Testing Your Changes
54+
55+
Make sure your code runs inside the Docker environment:
56+
```bash
57+
make up
58+
make logs
59+
```
60+
You can use `make sh` to enter the container and test directly.
61+
62+
## 📬 Get in Touch
63+
64+
If you have any questions or need guidance, feel free to open an issue or start a discussion in the repository.
65+
66+
Happy contributing! ✨

.github/FUNDING.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# These are supported funding model platforms
2+
3+
github: ['WizardLoop']
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: #
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12+
polar: # Replace with a single Polar username
13+
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14+
custom: ['https://WizardLoop.t.me']
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Bug Report 🐞
2+
description: Report a bug or issue with GetAnyMessage.
3+
title: "[Bug] "
4+
labels: [bug]
5+
body:
6+
- type: textarea
7+
id: bug
8+
attributes:
9+
label: What happened?
10+
description: Clearly describe the problem and what you expected to happen.
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: steps
15+
attributes:
16+
label: Steps to Reproduce
17+
description: List the exact steps to reproduce this bug.
18+
- type: input
19+
id: env
20+
attributes:
21+
label: Environment
22+
description: PHP version and OS.
23+
- type: textarea
24+
id: logs
25+
attributes:
26+
label: Relevant logs/output
27+
description: Include any output or error logs if relevant.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Feature Request ✨
2+
description: Suggest a new feature for GetAnyMessage!
3+
title: "[Feature] "
4+
labels: [enhancement, feature]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Feature Description
10+
description: Please describe the new feature you'd like to see.
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: example
15+
attributes:
16+
label: Usage Example
17+
description: Show a code example or output illustrating how this feature would work.
18+
- type: checkboxes
19+
id: shabbat
20+
attributes:
21+
label: Does this add new feature to the GetAnyMessage?
22+
options:
23+
- label: Yes!
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Improvement / Question 🤔
2+
description: Suggest an improvement or ask a question about GetAnyMessage.
3+
title: "[Q] "
4+
labels: [question, improvement]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Description / Question
10+
description: Clearly describe your suggestion or question.
11+
validations:
12+
required: true
13+
- type: checkboxes
14+
id: pr
15+
attributes:
16+
label: Are you planning to submit a PR?
17+
options:
18+
- label: Yes, I will submit a PR with this improvement/answer.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## 🧙 Pull Request Template
2+
3+
- [ ] Describe the purpose of this PR
4+
- [ ] Does this introduce a breaking change? (If yes, explain)
5+
- [ ] Added/updated tests if relevant
6+
- [ ] Example code included (if applicable)
7+
8+
### Additional notes:
9+
<!-- Anything else? -->

.github/SECURITY.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# 🔐 Security Policy
2+
3+
## Supported Versions
4+
5+
We release security updates for the latest stable version of GetAnyMessage. Please ensure you are using the most recent release.
6+
7+
| Version | Supported |
8+
|---------|--------------------|
9+
| 1.x | ✅ Yes |
10+
| < 1.0 | ❌ No (legacy only) |
11+
12+
---
13+
14+
## 📬 Reporting a Vulnerability
15+
16+
If you discover a security vulnerability **in the code, logic, or infrastructure** of this project:
17+
18+
- **DO NOT open a public GitHub issue.**
19+
- Instead, please report it **privately** to the maintainer via email.
20+
21+
### 📧 Contact
22+
23+
**Telegram:** [wizardloop](wizardloop.t.me/)
24+
25+
We will respond within **72 hours** and aim to resolve all verified issues promptly.
26+
27+
---
28+
29+
## 🧪 Responsible Disclosure Guidelines
30+
31+
We respectfully ask that:
32+
33+
- You provide as much detail as possible when reporting.
34+
- You **do not publicly disclose** the issue before we’ve addressed it.
35+
- You give us a reasonable time to fix the issue before disclosure.
36+
- You avoid testing vulnerabilities in a way that would harm users or systems (e.g., DoS attacks, spamming production bots, etc).
37+
38+
---
39+
40+
## 🛡️ Scope of This Policy
41+
42+
This security policy applies to:
43+
44+
- The source code in [GetAnyMessage GitHub repository](https://github.com/WizardLoop/GetAnyMessage)
45+
- Webhooks or API integrations developed under this project
46+
47+
---
48+
49+
## 🙏 Thank You

.gitignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
.env
2+
.env.local
3+
.env.*.local
4+
/vendor/
5+
/node_modules/
6+
/.idea/
7+
/.vscode/
8+
.DS_Store
9+
*.log
10+
*.cache
11+
12+
docker-compose.override.yml
13+
*.pid
14+
15+
composer.lock
16+
17+
.phpunit.result.cache
18+
/tests/output/
19+
20+
data/**/lang.txt
21+
data/**/user_config.json
22+
data/**/*.sqlite
23+
24+
/build/
25+
/dist/
26+
27+
*.bak
28+
*.swp
29+
*.swo
30+
31+
sessions
32+
docs_md
33+
session.mad
34+
*.madeline
35+
*.madeline.*
36+
madeline.phar
37+
madeline.phar.version
38+
madeline.php
39+
40+
*.save
41+
*.save.1
42+
*.save.*

0 commit comments

Comments
 (0)