Skip to content

Commit dd180f7

Browse files
committed
Initial commit
0 parents  commit dd180f7

File tree

1,137 files changed

+389267
-0
lines changed

Some content is hidden

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

1,137 files changed

+389267
-0
lines changed

.cfformat.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"array.empty_padding": false,
3+
"array.padding": true,
4+
"array.multiline.min_length": 40,
5+
"array.multiline.element_count": 2,
6+
"array.multiline.leading_comma.padding": true,
7+
"array.multiline.leading_comma": false,
8+
"alignment.consecutive.assignments": true,
9+
"alignment.consecutive.properties": true,
10+
"alignment.consecutive.params": true,
11+
"brackets.padding": true,
12+
"comment.asterisks": "align",
13+
"binary_operators.padding": true,
14+
"for_loop_semicolons.padding": true,
15+
"function_call.empty_padding": false,
16+
"function_call.padding": true,
17+
"function_call.multiline.leading_comma.padding": true,
18+
"function_call.casing.builtin": "cfdocs",
19+
"function_call.casing.userdefined": "camel",
20+
"function_call.multiline.element_count": 3,
21+
"function_call.multiline.leading_comma": false,
22+
"function_call.multiline.min_length": 40,
23+
"function_declaration.padding": true,
24+
"function_declaration.empty_padding": false,
25+
"function_declaration.multiline.leading_comma": false,
26+
"function_declaration.multiline.leading_comma.padding": true,
27+
"function_declaration.multiline.element_count": 3,
28+
"function_declaration.multiline.min_length": 40,
29+
"function_declaration.group_to_block_spacing": "spaced",
30+
"function_anonymous.empty_padding": false,
31+
"function_anonymous.group_to_block_spacing": "spaced",
32+
"function_anonymous.multiline.element_count": 3,
33+
"function_anonymous.multiline.leading_comma": false,
34+
"function_anonymous.multiline.leading_comma.padding": true,
35+
"function_anonymous.multiline.min_length": 40,
36+
"function_anonymous.padding": true,
37+
"indent_size": 4,
38+
"keywords.block_to_keyword_spacing": "spaced",
39+
"keywords.group_to_block_spacing": "spaced",
40+
"keywords.padding_inside_group": true,
41+
"keywords.spacing_to_block": "spaced",
42+
"keywords.spacing_to_group": true,
43+
"keywords.empty_group_spacing": false,
44+
"max_columns": 120,
45+
"metadata.multiline.element_count": 3,
46+
"metadata.multiline.min_length": 40,
47+
"newline": "\n",
48+
"property.multiline.element_count": 3,
49+
"property.multiline.min_length": 40,
50+
"parentheses.padding": true,
51+
"strings.quote": "double",
52+
"strings.convertNestedQuotes": false,
53+
"strings.attributes.quote": "double",
54+
"struct.separator": " : ",
55+
"struct.padding": true,
56+
"struct.empty_padding": false,
57+
"struct.multiline.leading_comma": false,
58+
"struct.multiline.leading_comma.padding": true,
59+
"struct.multiline.element_count": 2,
60+
"struct.multiline.min_length": 40,
61+
"tab_indent": true
62+
}

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1

.github/workflows/cron.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Cron
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * 1
6+
7+
jobs:
8+
tests:
9+
runs-on: ubuntu-latest
10+
name: Tests
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
cfengine: ["lucee@5", "lucee@be", "adobe@2018", "adobe@2021", "adobe@be"]
15+
coldbox: ["coldbox@6", "coldbox@be"]
16+
javaVersion: ["openjdk8", "openjdk11"]
17+
steps:
18+
- name: Checkout Repository
19+
uses: actions/checkout@v2
20+
21+
- name: Setup Java JDK
22+
uses: actions/[email protected]
23+
with:
24+
java-version: 11
25+
26+
- name: Set Up CommandBox
27+
uses: elpete/[email protected]
28+
29+
- name: Install dependencies
30+
run: |
31+
box install
32+
box install ${{ matrix.coldbox }} --noSave
33+
34+
- name: Start server
35+
run: |
36+
box server start cfengine=${{ matrix.cfengine }} javaVersion=${{ matrix.javaVersion }} --noSaveSettings
37+
# Install Adobe 2021 cfpm modules
38+
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
39+
box run-script install:2021
40+
fi
41+
42+
- name: Install Playwright dependencies
43+
run: |
44+
java -cp "lib/*" -Dplaywright.cli.dir="lib/driver/linux/" com.microsoft.playwright.CLI install-deps
45+
java -cp "lib/*" -Dplaywright.cli.dir="lib/driver/linux/" com.microsoft.playwright.CLI install --with-deps chromium
46+
47+
- name: Run TestBox Tests
48+
run: box testbox run

.github/workflows/pr.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: PRs and Branches
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- "main"
7+
- "master"
8+
- "development"
9+
pull_request:
10+
branches:
11+
- main
12+
- master
13+
- development
14+
15+
jobs:
16+
tests:
17+
runs-on: ubuntu-latest
18+
name: Tests
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
cfengine: ["lucee@5", "adobe@2018", "adobe@2021"]
23+
coldbox: ["coldbox@6"]
24+
steps:
25+
- name: Checkout Repository
26+
uses: actions/checkout@v2
27+
28+
- name: Setup Java JDK
29+
uses: actions/[email protected]
30+
with:
31+
java-version: 11
32+
33+
- name: Set Up CommandBox
34+
uses: elpete/[email protected]
35+
36+
- name: Install dependencies
37+
run: |
38+
box install
39+
box install ${{ matrix.coldbox }} --noSave
40+
41+
- name: Start server
42+
run: |
43+
box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
44+
# Install Adobe 2021 cfpm modules
45+
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
46+
box run-script install:2021
47+
fi
48+
49+
- name: Install Playwright dependencies
50+
run: |
51+
java -cp "lib/*" -Dplaywright.cli.dir="lib/driver/linux/" com.microsoft.playwright.CLI install-deps
52+
java -cp "lib/*" -Dplaywright.cli.dir="lib/driver/linux/" com.microsoft.playwright.CLI install --with-deps chromium
53+
54+
- name: Run TestBox Tests
55+
run: box testbox run
56+
57+
format:
58+
runs-on: ubuntu-latest
59+
name: Format
60+
steps:
61+
- name: Checkout Repository
62+
uses: actions/checkout@v2
63+
64+
- name: Setup Java JDK
65+
uses: actions/[email protected]
66+
with:
67+
java-version: 11
68+
69+
- name: Set Up CommandBox
70+
uses: elpete/[email protected]
71+
72+
- name: Install CFFormat
73+
run: box install commandbox-cfformat
74+
75+
- name: Run CFFormat
76+
run: box run-script format
77+
78+
- name: Commit Format Changes
79+
uses: stefanzweifel/git-auto-commit-action@v4
80+
with:
81+
commit_message: Apply cfformat changes

.github/workflows/prerelease.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Prerelease
2+
3+
on:
4+
push:
5+
branches:
6+
- development
7+
8+
jobs:
9+
tests:
10+
name: Tests
11+
if: "!contains(github.event.head_commit.message, '__SEMANTIC RELEASE VERSION UPDATE__')"
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
cfengine: ["lucee@5", "adobe@2018", "adobe@2021"]
17+
coldbox: ["coldbox@6"]
18+
steps:
19+
- name: Checkout Repository
20+
uses: actions/checkout@v2
21+
22+
- name: Setup Java JDK
23+
uses: actions/[email protected]
24+
with:
25+
java-version: 11
26+
27+
- name: Set Up CommandBox
28+
uses: elpete/[email protected]
29+
30+
- name: Install dependencies
31+
run: |
32+
box install
33+
box install ${{ matrix.coldbox }} --noSave
34+
35+
- name: Start server
36+
run: |
37+
box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
38+
# Install Adobe 2021 cfpm modules
39+
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
40+
box run-script install:2021
41+
fi
42+
43+
- name: Install Playwright dependencies
44+
run: |
45+
java -cp "lib/*" -Dplaywright.cli.dir="lib/driver/linux/" com.microsoft.playwright.CLI install-deps
46+
java -cp "lib/*" -Dplaywright.cli.dir="lib/driver/linux/" com.microsoft.playwright.CLI install --with-deps chromium
47+
48+
- name: Run TestBox Tests
49+
run: box testbox run
50+
51+
# release:
52+
# name: Semantic Release
53+
# if: "!contains(github.event.head_commit.message, '__SEMANTIC RELEASE VERSION UPDATE__')"
54+
# needs: tests
55+
# runs-on: ubuntu-latest
56+
# env:
57+
# GA_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
58+
# steps:
59+
# - name: Checkout Repository
60+
# uses: actions/checkout@v2
61+
# with:
62+
# fetch-depth: 0
63+
64+
# - name: Setup Java JDK
65+
# uses: actions/[email protected]
66+
# with:
67+
# java-version: 11
68+
69+
# - name: Set Up CommandBox
70+
# uses: elpete/[email protected]
71+
72+
# - name: Install and Configure Semantic Release
73+
# run: |
74+
# box install commandbox-semantic-release
75+
# box config set endpoints.forgebox.APIToken=${{ secrets.FORGEBOX_TOKEN }}
76+
# box config set modules.commandbox-semantic-release.plugins='{ "VerifyConditions": "GitHubActionsConditionsVerifier@commandbox-semantic-release", "FetchLastRelease": "ForgeBoxReleaseFetcher@commandbox-semantic-release", "RetrieveCommits": "JGitCommitsRetriever@commandbox-semantic-release", "ParseCommit": "ConventionalChangelogParser@commandbox-semantic-release", "FilterCommits": "DefaultCommitFilterer@commandbox-semantic-release", "AnalyzeCommits": "DefaultCommitAnalyzer@commandbox-semantic-release", "VerifyRelease": "NullReleaseVerifier@commandbox-semantic-release", "GenerateNotes": "GitHubMarkdownNotesGenerator@commandbox-semantic-release", "UpdateChangelog": "FileAppendChangelogUpdater@commandbox-semantic-release", "CommitArtifacts": "NullArtifactsCommitter@commandbox-semantic-release", "PublishRelease": "ForgeBoxReleasePublisher@commandbox-semantic-release", "PublicizeRelease": "GitHubReleasePublicizer@commandbox-semantic-release" }'
77+
78+
# - name: Run Semantic Release
79+
# env:
80+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
# run: box semantic-release --prerelease

.github/workflows/release.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
9+
jobs:
10+
tests:
11+
name: Tests
12+
if: "!contains(github.event.head_commit.message, '__SEMANTIC RELEASE VERSION UPDATE__')"
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
cfengine: ["lucee@5", "adobe@2018", "adobe@2021"]
18+
coldbox: ["coldbox@6"]
19+
steps:
20+
- name: Checkout Repository
21+
uses: actions/checkout@v2
22+
23+
- name: Setup Java JDK
24+
uses: actions/[email protected]
25+
with:
26+
java-version: 11
27+
28+
- name: Set Up CommandBox
29+
uses: elpete/[email protected]
30+
31+
- name: Install dependencies
32+
run: |
33+
box install
34+
box install ${{ matrix.coldbox }} --noSave
35+
36+
- name: Start server
37+
run: |
38+
box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
39+
# Install Adobe 2021 cfpm modules
40+
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
41+
box run-script install:2021
42+
fi
43+
44+
- name: Install Playwright dependencies
45+
run: |
46+
java -cp "lib/*" -Dplaywright.cli.dir="lib/driver/linux/" com.microsoft.playwright.CLI install-deps
47+
java -cp "lib/*" -Dplaywright.cli.dir="lib/driver/linux/" com.microsoft.playwright.CLI install --with-deps chromium
48+
49+
- name: Run TestBox Tests
50+
run: box testbox run
51+
52+
release:
53+
name: Semantic Release
54+
if: "!contains(github.event.head_commit.message, '__SEMANTIC RELEASE VERSION UPDATE__')"
55+
needs: tests
56+
runs-on: ubuntu-latest
57+
env:
58+
GA_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
59+
steps:
60+
- name: Checkout Repository
61+
uses: actions/checkout@v2
62+
with:
63+
fetch-depth: 0
64+
65+
- name: Setup Java JDK
66+
uses: actions/[email protected]
67+
with:
68+
java-version: 11
69+
70+
- name: Set Up CommandBox
71+
uses: elpete/[email protected]
72+
73+
- name: Install and Configure Semantic Release
74+
run: |
75+
box install commandbox-semantic-release
76+
box config set endpoints.forgebox.APIToken=${{ secrets.FORGEBOX_TOKEN }}
77+
box config set modules.commandbox-semantic-release.targetBranch=main
78+
box config set modules.commandbox-semantic-release.plugins='{ "VerifyConditions": "GitHubActionsConditionsVerifier@commandbox-semantic-release", "FetchLastRelease": "ForgeBoxReleaseFetcher@commandbox-semantic-release", "RetrieveCommits": "JGitCommitsRetriever@commandbox-semantic-release", "ParseCommit": "ConventionalChangelogParser@commandbox-semantic-release", "FilterCommits": "DefaultCommitFilterer@commandbox-semantic-release", "AnalyzeCommits": "DefaultCommitAnalyzer@commandbox-semantic-release", "VerifyRelease": "NullReleaseVerifier@commandbox-semantic-release", "GenerateNotes": "GitHubMarkdownNotesGenerator@commandbox-semantic-release", "UpdateChangelog": "FileAppendChangelogUpdater@commandbox-semantic-release", "CommitArtifacts": "NullArtifactsCommitter@commandbox-semantic-release", "PublishRelease": "ForgeBoxReleasePublisher@commandbox-semantic-release", "PublicizeRelease": "GitHubReleasePublicizer@commandbox-semantic-release" }'
79+
80+
- name: Run Semantic Release
81+
env:
82+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
run: box semantic-release

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/testbox
2+
/tests/results
3+
/tests/resources/app/coldbox
4+
/node_modules
5+
/modules
6+
jmimemagic.log
7+
8+
.vscode

CHANGELOG.md

Whitespace-only changes.

0 commit comments

Comments
 (0)