Skip to content

Commit e7adee1

Browse files
committed
feat: initial commit
0 parents  commit e7adee1

3,002 files changed

Lines changed: 516429 additions & 0 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
indent_style = space
12+
indent_size = 4

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: Bug Report
2+
description: Report a general Winter CMS or Storm library issue. See our policy below if reporting a security issue.
3+
labels: ["Status: Review Needed", "Type: Unconfirmed Bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for your interest in improving Winter CMS! To avoid duplicate issues please ensure that no previous issues already cover the problem you wish to report before you submit your report. Otherwise, feel free to fill out the form below to submit an issue.
9+
10+
**Please do not use this form to report a security issue. For security issues, review our [Security Policy](https://github.com/wintercms/winter/security/policy).**
11+
- type: dropdown
12+
id: build
13+
attributes:
14+
label: Winter CMS Build
15+
description: Please select the Winter CMS build that you encountered your issue with. You can find the version in the **Updates & Plugins** section of the Settings page of the Backend, or by running the `php artisan winter:version` command.
16+
options:
17+
- dev-develop
18+
- 1.2
19+
- 1.1
20+
- 1.0 (please try updating first)
21+
- Other (please specify below)
22+
validations:
23+
required: true
24+
- type: dropdown
25+
id: php_version
26+
attributes:
27+
label: PHP Version
28+
description: Please provide us the branch of PHP version. For example, for PHP version 7.4.9, select `7.4`, or for PHP version 8.0.1, select `8.0`.
29+
options:
30+
- 8.1
31+
- 8.0
32+
- 7.4
33+
- 7.3
34+
- 7.2
35+
- Other (please specify below)
36+
validations:
37+
required: true
38+
- type: dropdown
39+
id: database
40+
attributes:
41+
label: Database engine
42+
description: Please provide us with the database server type you are running.
43+
options:
44+
- MySQL/MariaDB
45+
- PostgreSQL
46+
- SQLite
47+
- SQL Server
48+
- No database
49+
- Other (please specify below)
50+
validations:
51+
required: true
52+
- type: input
53+
id: plugins
54+
attributes:
55+
label: Plugins installed
56+
description: If any plugins are installed, please list them here in the format `Author.PluginName, Author2.PluginName, etc`.
57+
- type: textarea
58+
id: description
59+
attributes:
60+
label: Issue description
61+
description: Please describe the issue in as much detail as possible. Include screenshots of error messages or copy and paste any logs that result from the issue occurring.
62+
validations:
63+
required: true
64+
- type: textarea
65+
id: replication
66+
attributes:
67+
label: Steps to replicate
68+
description: Please list the steps that you took in order for the issue to occur.
69+
validations:
70+
required: true
71+
- type: textarea
72+
id: workaround
73+
attributes:
74+
label: Workaround
75+
description: If you have a workaround, please detail it here, for the benefit of other users who encounter the issue.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Pre-Pull Request Discussion
2+
description: If you intend to submit a PR and wish to discuss it first, start here.
3+
labels: ["Status: Review Needed", "Type: Conceptual Enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for your interest in submitting a pull request to Winter CMS. We always value contributions from our community. If you wish to start a discussion on the pull request before submission, such as discussing implementation details, please use this form.
9+
- type: dropdown
10+
id: subsystem
11+
attributes:
12+
label: Package targeted
13+
description: Please select which portion of Winter CMS your PR is targeting.
14+
options:
15+
- Winter CMS
16+
- Storm Library
17+
- Both
18+
- Other (please specify below)
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: description
23+
attributes:
24+
label: Description
25+
description: Please describe what your PR is intending to do.
26+
validations:
27+
required: true
28+
- type: textarea
29+
id: compatibility
30+
attributes:
31+
label: Will this change be backwards-compatible?
32+
description: Please describe if this intended change may break backwards compatibility or not. If it does, state the rationale in which you believe this to be an acceptable break in backwards compatibility.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: General Winter CMS Support
4+
url: https://wintercms.com/support
5+
about: If you need help with Winter CMS, please review our support options.
6+
- name: Discord
7+
url: https://discord.gg/D5MFSPH6Ux
8+
about: Join us on Discord for general discussions and one-on-one help.
9+
- name: Feature Requests
10+
url: https://github.com/wintercms/winter/discussions
11+
about: Please post an Idea thread to the Discussions section for feature requests.
12+
- name: Documentation Issue
13+
url: https://github.com/wintercms/docs
14+
about: For documentation issues, please submit an issue or PR to the Docs repository.

.github/assets/Github Banner.png

500 KB
Loading

.github/workflows/archive.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Archive
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
archive:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v1.1.0
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
days-before-stale: 182
15+
days-before-close: 3
16+
stale-issue-message: >
17+
This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months.
18+
19+
If this issue is still relevant or you would like to see it actioned, please respond within 3 days.
20+
21+
If this issue is critical for your business, please reach out to us at wintercms@luketowers.ca.
22+
stale-pr-message: >
23+
This pull request will be closed and archived in 3 days, as there has been no activity in this pull request for the last 6 months.
24+
25+
If you intend to continue working on this pull request, please respond within 3 days.
26+
27+
If this pull request is critical for your business, please reach out to us at wintercms@luketowers.ca.
28+
stale-issue-label: 'Status: Archived'
29+
stale-pr-label: 'Status: Archived'
30+
exempt-issue-label: 'Status: In Progress'
31+
exempt-pr-label: 'Status: In Progress'
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Code Quality
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- 1.0
8+
- 1.1
9+
- 1.2
10+
- develop
11+
12+
jobs:
13+
codeQuality:
14+
runs-on: ubuntu-latest
15+
name: PHP
16+
steps:
17+
- name: Cancel previous incomplete runs
18+
uses: styfle/cancel-workflow-action@0.8.0
19+
with:
20+
access_token: ${{ github.token }}
21+
22+
- name: Checkout changes
23+
uses: actions/checkout@v2
24+
with:
25+
fetch-depth: 0
26+
27+
- name: Install PHP and PHP Code Sniffer
28+
uses: shivammathur/setup-php@v2
29+
with:
30+
php-version: 8.0
31+
extensions: curl, fileinfo, gd, mbstring, openssl, pdo, pdo_sqlite, sqlite3, xml, zip
32+
tools: phpcs
33+
34+
- name: Run code quality checks (on push)
35+
if: github.event_name == 'push'
36+
run: ./.github/workflows/utilities/phpcs-push ${{ github.sha }}
37+
38+
- name: Run code quality checks (on pull request)
39+
if: github.event_name == 'pull_request'
40+
run: ./.github/workflows/utilities/phpcs-pr ${{ github.base_ref }}
41+
codeQualityJS:
42+
runs-on: ubuntu-latest
43+
name: JavaScript
44+
steps:
45+
- name: Checkout changes
46+
uses: actions/checkout@v2
47+
with:
48+
fetch-depth: 0
49+
50+
- name: Install Node
51+
uses: actions/setup-node@v1
52+
with:
53+
node-version: 12
54+
55+
- name: Install Node dependencies for System Module
56+
working-directory: ./modules/system
57+
run: npm install
58+
59+
- name: Run code quality checks on System Module
60+
working-directory: ./modules/system
61+
run: npx eslint .
62+
63+
- name: Install Node dependencies for Backend Module
64+
working-directory: ./modules/backend
65+
run: npm install
66+
67+
- name: Run code quality checks on Backend Module
68+
working-directory: ./modules/backend
69+
run: npx eslint .

.github/workflows/subsplit.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Module sub-split
2+
3+
on:
4+
push:
5+
create:
6+
delete:
7+
8+
jobs:
9+
split:
10+
name: Sub-split
11+
runs-on: ubuntu-latest
12+
container: wintercms/cli:0.3.4
13+
env:
14+
WINTER_CLI_GITHUB_TOKEN: ${{ secrets.WINTER_SPLIT_TOKEN }}
15+
steps:
16+
- name: Create tag
17+
if: github.event_name == 'create' && github.ref_type == 'tag'
18+
run: winter split -a "${{ github.ref_name }}"
19+
- name: Delete branch
20+
if: github.event_name == 'delete' && github.ref_type == 'branch'
21+
run: winter split --remove-branch="${{ github.event.ref }}"
22+
- name: Delete tag
23+
if: github.event_name == 'delete' && github.ref_type == 'tag'
24+
run: winter split --remove-tag="${{ github.event.ref }}"
25+
- name: Push
26+
if: github.event_name == 'push'
27+
run: winter split -b "${{ github.ref_name }}"

0 commit comments

Comments
 (0)