Skip to content

Commit 938a4b1

Browse files
committed
feat: Add Code of Conduct, Contributing guidelines, License, and Security Policy documents
- Implemented a comprehensive Code of Conduct to foster a welcoming community. - Created a detailed CONTRIBUTING.md file outlining contribution processes and guidelines. - Added an MIT License with a legal use restriction clause. - Established a Security Policy detailing supported versions, security features, and reporting procedures. - Updated composer.json for project metadata and dependencies.
1 parent 1e3d584 commit 938a4b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+4645
-935
lines changed

.editorconfig

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.php]
12+
indent_size = 4
13+
14+
[*.js]
15+
indent_size = 2
16+
17+
[*.{css,scss,sass}]
18+
indent_size = 2
19+
20+
[*.{html,htm}]
21+
indent_size = 2
22+
23+
[*.{json,yml,yaml}]
24+
indent_size = 2
25+
26+
[*.md]
27+
trim_trailing_whitespace = false
28+
29+
[Makefile]
30+
indent_style = tab

.gitattributes

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
# ============================================================================
2+
# WebCodeFTP - Git Attributes
3+
# ============================================================================
4+
5+
# Auto detect text files and perform LF normalization
6+
* text=auto
7+
8+
# ============================================================================
9+
# SOURCE CODE
10+
# ============================================================================
11+
*.php text eol=lf diff=php
12+
*.js text eol=lf
13+
*.ts text eol=lf
14+
*.jsx text eol=lf
15+
*.tsx text eol=lf
16+
*.css text eol=lf
17+
*.scss text eol=lf
18+
*.sass text eol=lf
19+
*.less text eol=lf
20+
21+
# ============================================================================
22+
# TEMPLATES / MARKUP
23+
# ============================================================================
24+
*.html text eol=lf
25+
*.htm text eol=lf
26+
*.xml text eol=lf
27+
*.svg text eol=lf
28+
29+
# ============================================================================
30+
# CONFIGURATION / DATA
31+
# ============================================================================
32+
*.json text eol=lf
33+
*.yml text eol=lf
34+
*.yaml text eol=lf
35+
*.toml text eol=lf
36+
*.ini text eol=lf
37+
*.conf text eol=lf
38+
*.config text eol=lf
39+
.htaccess text eol=lf
40+
.editorconfig text eol=lf
41+
42+
# ============================================================================
43+
# DOCUMENTATION
44+
# ============================================================================
45+
*.md text eol=lf
46+
*.txt text eol=lf
47+
*.rst text eol=lf
48+
LICENSE text eol=lf
49+
README text eol=lf
50+
CHANGELOG text eol=lf
51+
CONTRIBUTING text eol=lf
52+
53+
# ============================================================================
54+
# SCRIPTS
55+
# ============================================================================
56+
*.sh text eol=lf
57+
*.bash text eol=lf
58+
*.bat text eol=crlf
59+
*.cmd text eol=crlf
60+
*.ps1 text eol=crlf
61+
62+
# ============================================================================
63+
# IMAGES
64+
# ============================================================================
65+
*.png binary
66+
*.jpg binary
67+
*.jpeg binary
68+
*.gif binary
69+
*.ico binary
70+
*.webp binary
71+
*.svg text
72+
*.bmp binary
73+
*.tiff binary
74+
75+
# ============================================================================
76+
# FONTS
77+
# ============================================================================
78+
*.ttf binary
79+
*.otf binary
80+
*.woff binary
81+
*.woff2 binary
82+
*.eot binary
83+
84+
# ============================================================================
85+
# ARCHIVES
86+
# ============================================================================
87+
*.zip binary
88+
*.tar binary
89+
*.gz binary
90+
*.bz2 binary
91+
*.7z binary
92+
*.rar binary
93+
94+
# ============================================================================
95+
# DOCUMENTS
96+
# ============================================================================
97+
*.pdf binary
98+
*.doc binary
99+
*.docx binary
100+
*.xls binary
101+
*.xlsx binary
102+
*.ppt binary
103+
*.pptx binary
104+
105+
# ============================================================================
106+
# MEDIA
107+
# ============================================================================
108+
*.mp4 binary
109+
*.mov binary
110+
*.avi binary
111+
*.mp3 binary
112+
*.wav binary
113+
*.ogg binary
114+
115+
# ============================================================================
116+
# COMPOSER
117+
# ============================================================================
118+
composer.json text eol=lf
119+
composer.lock text eol=lf linguist-generated=true
120+
121+
# ============================================================================
122+
# GIT
123+
# ============================================================================
124+
.gitattributes text eol=lf
125+
.gitignore text eol=lf
126+
.gitkeep text eol=lf
127+
128+
# ============================================================================
129+
# GITHUB
130+
# ============================================================================
131+
.github/**/* text eol=lf
132+
133+
# ============================================================================
134+
# EXPORT IGNORE (files not included in git archive)
135+
# ============================================================================
136+
.gitattributes export-ignore
137+
.gitignore export-ignore
138+
.github/ export-ignore
139+
.editorconfig export-ignore
140+
.php-cs-fixer.dist.php export-ignore
141+
phpunit.xml export-ignore
142+
tests/ export-ignore
143+
.vscode/ export-ignore
144+
.idea/ export-ignore
145+
CONTRIBUTING.md export-ignore
146+
CODE_OF_CONDUCT.md export-ignore
147+
CLAUDE.md export-ignore

.github/FUNDING.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# These are supported funding model platforms
2+
3+
github: codebyoul
4+
ko_fi: codebyoul
5+
custom: ['https://www.paypal.com/donate/?hosted_button_id=5AX5S82LDZQ8N']
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
name: Bug Report
2+
description: Report a bug or issue with WebCodeFTP
3+
title: "[Bug]: "
4+
labels: ["bug", "needs-triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a bug! Please fill out the information below to help us resolve the issue.
10+
11+
- type: textarea
12+
id: description
13+
attributes:
14+
label: Bug Description
15+
description: A clear and concise description of what the bug is.
16+
placeholder: Describe the bug...
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: steps
22+
attributes:
23+
label: Steps to Reproduce
24+
description: Steps to reproduce the behavior
25+
placeholder: |
26+
1. Go to '...'
27+
2. Click on '...'
28+
3. Scroll down to '...'
29+
4. See error
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: expected
35+
attributes:
36+
label: Expected Behavior
37+
description: What you expected to happen
38+
placeholder: Describe what should happen...
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: actual
44+
attributes:
45+
label: Actual Behavior
46+
description: What actually happened
47+
placeholder: Describe what actually happened...
48+
validations:
49+
required: true
50+
51+
- type: dropdown
52+
id: php-version
53+
attributes:
54+
label: PHP Version
55+
description: What PHP version are you using?
56+
options:
57+
- "8.0"
58+
- "8.1"
59+
- "8.2"
60+
- "8.3"
61+
- Other (please specify in additional context)
62+
validations:
63+
required: true
64+
65+
- type: dropdown
66+
id: webserver
67+
attributes:
68+
label: Web Server
69+
description: What web server are you using?
70+
options:
71+
- Apache
72+
- Nginx
73+
- Other (please specify in additional context)
74+
validations:
75+
required: true
76+
77+
- type: dropdown
78+
id: browser
79+
attributes:
80+
label: Browser
81+
description: What browser are you using?
82+
options:
83+
- Chrome
84+
- Firefox
85+
- Safari
86+
- Edge
87+
- Other (please specify in additional context)
88+
validations:
89+
required: true
90+
91+
- type: textarea
92+
id: logs
93+
attributes:
94+
label: Error Logs
95+
description: If applicable, add error logs from logs/app.log or browser console
96+
placeholder: Paste error logs here...
97+
render: shell
98+
99+
- type: textarea
100+
id: screenshots
101+
attributes:
102+
label: Screenshots
103+
description: If applicable, add screenshots to help explain your problem
104+
105+
- type: textarea
106+
id: context
107+
attributes:
108+
label: Additional Context
109+
description: Add any other context about the problem here
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Feature Request
2+
description: Suggest a new feature or enhancement for WebCodeFTP
3+
title: "[Feature]: "
4+
labels: ["enhancement", "needs-triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a new feature! Please provide as much detail as possible.
10+
11+
- type: textarea
12+
id: problem
13+
attributes:
14+
label: Problem Statement
15+
description: Is your feature request related to a problem? Please describe.
16+
placeholder: I'm frustrated when...
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: solution
22+
attributes:
23+
label: Proposed Solution
24+
description: Describe the solution you'd like
25+
placeholder: I would like...
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: alternatives
31+
attributes:
32+
label: Alternatives Considered
33+
description: Describe any alternative solutions or features you've considered
34+
placeholder: Other approaches could be...
35+
36+
- type: dropdown
37+
id: priority
38+
attributes:
39+
label: Priority
40+
description: How important is this feature to you?
41+
options:
42+
- Low - Nice to have
43+
- Medium - Would improve workflow
44+
- High - Critical for my use case
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
id: context
50+
attributes:
51+
label: Additional Context
52+
description: Add any other context, mockups, or screenshots about the feature request here
53+
54+
- type: checkboxes
55+
id: contribution
56+
attributes:
57+
label: Contribution
58+
description: Would you be willing to contribute this feature?
59+
options:
60+
- label: I would be willing to submit a pull request for this feature

0 commit comments

Comments
 (0)