Skip to content

Commit 51d42e5

Browse files
committed
Merge branch 'development'
2 parents f2cabbe + 927fefa commit 51d42e5

File tree

493 files changed

+31592
-17982
lines changed

Some content is hidden

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

493 files changed

+31592
-17982
lines changed

.cfconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"systemErr":"System",
3+
"systemOut":"System",
4+
"adminPassword" : "coldbox",
25
"caches": {
36
"default": {
47
"storage": "false",
@@ -26,5 +29,6 @@
2629
},
2730
"debuggingEnabled": false,
2831
"ajaxDebugWindowEnabled": false,
29-
"debuggingReportExecutionTimes": false
32+
"debuggingReportExecutionTimes": false,
33+
"maxCFThreads":100
3034
}

.cfformat.json

Lines changed: 54 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,62 @@
11
{
2-
"brackets.padding": true,
3-
"strings.quote": "double",
4-
"strings.attributes.quote": "double",
2+
"array.empty_padding": false,
3+
"array.padding": true,
4+
"array.multiline.min_length": 50,
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,
515
"function_call.empty_padding": false,
6-
"function_call.padding": true,
7-
"function_declaration.padding": true,
16+
"function_call.padding": true,
817
"function_call.multiline.leading_comma.padding": true,
9-
"function_declaration.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": 50,
23+
"function_declaration.padding": true,
1024
"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": 50,
1129
"function_declaration.group_to_block_spacing": "compact",
30+
"function_anonymous.empty_padding": false,
31+
"function_anonymous.group_to_block_spacing": "compact",
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": 50,
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": 100,
45+
"metadata.multiline.element_count": 3,
46+
"metadata.multiline.min_length": 50,
47+
"method_call.chain.multiline" : 3,
48+
"newline":"\n",
49+
"property.multiline.element_count": 3,
50+
"property.multiline.min_length": 30,
51+
"parentheses.padding": true,
52+
"strings.quote": "double",
53+
"strings.attributes.quote": "double",
54+
"struct.separator": " : ",
1255
"struct.padding": true,
1356
"struct.empty_padding": false,
14-
"struct.multiline.leading_comma.padding" : true,
15-
"array.empty_padding":false,
16-
"array.padding":true,
17-
"array.multiline.leading_comma.padding":true,
18-
"binary_operators.padding":true,
19-
"for_loop_semicolons.padding":true,
20-
"indent_size":4,
21-
"parentheses.padding":true,
22-
"struct.separator":" : ",
23-
"tab_indent":true,
24-
"keywords.block_to_keyword_spacing" : "spaced",
25-
"keywords.group_to_block_spacing" : "spaced",
26-
"keywords.padding_inside_group" : true,
27-
"keywords.spacing_to_block" : "compact",
28-
"keywords.spacing_to_group" : true
57+
"struct.multiline.leading_comma": false,
58+
"struct.multiline.leading_comma.padding": true,
59+
"struct.multiline.element_count": 2,
60+
"struct.multiline.min_length": 60,
61+
"tab_indent": true
2962
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ apidocs/docbox/*
3131
ApplicationTemplates/*
3232
tests/suites/loadtests/logs
3333
test-harness/**/route-visualizer
34+
system/exceptions/node_modules/**
3435

3536
# Custom Settings
3637
test-harness/config/runtime.properties.cfm

.markdownlint.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"line-length": false,
3+
"single-h1": false,
4+
"no-hard-tabs" : false,
5+
"fenced-code-language" : false,
6+
"no-bare-urls" : false,
7+
"first-line-h1": false,
8+
"no-multiple-blanks": {
9+
"maximum": 2
10+
},
11+
"no-duplicate-header" : {
12+
"siblings_only" : true
13+
}
14+
}

.travis.yml

Lines changed: 48 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: java
2+
os: "linux"
23
group: deprecated-2017Q2
34

45
notifications:
@@ -8,13 +9,12 @@ notifications:
89
env:
910
global:
1011
# TARGET RELEASE VERSION: BUMP AS NEEDED
11-
- COLDBOX_VERSION=5.6.2
12+
- COLDBOX_VERSION=6.0.0
13+
- COLDBOX_PRERELEASE=false
1214
matrix:
13-
- ENGINE=lucee@4.5 ANT_TARGET=build.all
14-
- ENGINE=lucee@5 ANT_TARGET=run-tests
15-
- ENGINE=adobe@11 ANT_TARGET=run-tests
16-
- ENGINE=adobe@2016 ANT_TARGET=run-tests
17-
- ENGINE=adobe@2018 ANT_TARGET=run-tests
15+
- ENGINE=lucee@5 # Build Entire Frameworks
16+
- ENGINE=adobe@2016 ANT_TARGET=run-tests #just run tests
17+
- ENGINE=adobe@2018 ANT_TARGET=run-tests #just run tests
1818

1919
branches:
2020
only:
@@ -23,8 +23,6 @@ branches:
2323

2424
dist: trusty
2525

26-
sudo: required
27-
2826
addons:
2927
apt:
3028
packages:
@@ -47,6 +45,8 @@ install:
4745
- box config set endpoints.forgebox.APIToken=$FORGEBOX_API_TOKEN > /dev/null
4846

4947
before_script:
48+
# Set Travis Tag
49+
- TRAVIS_TAG=${COLDBOX_VERSION}
5050
# create test database
5151
- mysql -u root -e 'create database coolblog;'
5252
# import database
@@ -61,7 +61,8 @@ before_script:
6161

6262
script:
6363
# Execute build via ANT
64-
- ant -Dcoldbox.version=$COLDBOX_VERSION -DisTravis=true -Dbuild.branch=$TRAVIS_BRANCH -Dbuild.number=$TRAVIS_BUILD_NUMBER -f build/build.xml $ANT_TARGET
64+
- ant -DisPreRelease=${COLDBOX_PRERELEASE} -Dcoldbox.version=$COLDBOX_VERSION -DisTravis=true -Dbuild.branch=$TRAVIS_BRANCH -Dbuild.number=$TRAVIS_BUILD_NUMBER -f build/build.xml $ANT_TARGET
65+
#- ls -l $TRAVIS_BUILD_DIR
6566

6667
after_failure:
6768
- cd $TRAVIS_BUILD_DIR
@@ -71,7 +72,7 @@ after_failure:
7172
# Spit out our Commandbox log in case we need to debug
7273
- box server log name=$ENGINE
7374
- cat `box system-log`
74-
- ls -l $TRAVIS_BUILD_DIR/apidocs
75+
- ls -lr $TRAVIS_BUILD_DIR
7576

7677
deploy:
7778
# Binary Deployments
@@ -80,22 +81,23 @@ deploy:
8081
branch:
8182
- master
8283
- development
83-
condition: "$ENGINE = lucee@4.5"
84+
condition: "$ENGINE = lucee@5"
8485
skip_cleanup: true
8586
#AWS Credentials need to be set in Travis
8687
access_key_id: $AWS_ACCESS_KEY
8788
secret_access_key: $AWS_ACCESS_SECRET
8889
bucket: "downloads.ortussolutions.com"
89-
local-dir: artifacts
90+
local-dir: $TRAVIS_BUILD_DIR/artifacts
9091
upload-dir: ortussolutions
9192
acl: public_read
93+
9294
# API Docs Deployment
9395
- provider: s3
9496
on:
9597
branch:
9698
- master
9799
- development
98-
condition: "$ENGINE = lucee@4.5"
100+
condition: "$ENGINE = lucee@5"
99101
skip_cleanup: true
100102
#AWS Credentials need to be set in Travis
101103
access_key_id: $AWS_ACCESS_KEY
@@ -104,6 +106,39 @@ deploy:
104106
local-dir: $TRAVIS_BUILD_DIR/build-coldbox/apidocs
105107
acl: public_read
106108

109+
# Github Release only on Master
110+
- provider: releases
111+
token: ${GITHUB_TOKEN}
112+
on:
113+
branch:
114+
- master
115+
condition: "$ENGINE = lucee@5"
116+
skip_cleanup: true
117+
edge: true
118+
file_glob: true
119+
file: $TRAVIS_BUILD_DIR/artifacts/**/*
120+
release_notes_file: $TRAVIS_BUILD_DIR/changelog.md
121+
name: v${TRAVIS_TAG}
122+
tag_name: v${TRAVIS_TAG}
123+
overwrite: true
124+
125+
# Github Pre-Releases
126+
- provider: releases
127+
token: ${GITHUB_TOKEN}
128+
on:
129+
branch:
130+
- development
131+
condition: "$ENGINE = lucee@5 && $COLDBOX_PRERELEASE = true"
132+
skip_cleanup: true
133+
edge: true
134+
file_glob: true
135+
file: $TRAVIS_BUILD_DIR/artifacts/**/*
136+
release_notes_file: $TRAVIS_BUILD_DIR/changelog.md
137+
name: v${COLDBOX_VERSION}
138+
tag_name: v${COLDBOX_VERSION}
139+
overwrite: true
140+
prerelease: true
141+
107142
after_deploy:
108143
# publish ColdBox
109144
- cd $TRAVIS_BUILD_DIR/artifacts/coldbox/$COLDBOX_VERSION && box forgebox publish

box-original.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,21 @@
66
"slug": "coldbox",
77
"packageDirectory": "coldbox",
88
"type": "mvc",
9-
"keywords": "mvc,conventions,coldbox",
9+
"keywords": "mvc,hmc,conventions,coldbox",
1010
"homepage": "https://www.coldbox.org",
1111
"documentation": "https://coldbox.ortusbooks.com/",
1212
"repository": {
1313
"type": "git",
1414
"url": "https://github.com/coldbox/coldbox-platform"
1515
},
1616
"bugs": "https://ortussolutions.atlassian.net/browse/COLDBOX",
17-
"shortDescription": "A conventions based MVC development framework",
18-
"license": [{
17+
"shortDescription": "A conventions based HMVC development framework",
18+
"license": [
19+
{
1920
"type": "Apache2",
2021
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
21-
}],
22+
}
23+
],
2224
"contributors": [
2325
"Brad Wood <bdw429s@gmail.com>",
2426
"Curt Gratz <gratz@computerknowhow.com>"
@@ -30,11 +32,6 @@
3032
"testbox",
3133
"*/.md"
3234
],
33-
"testbox": {
34-
"runner": [{
35-
"default": "http://localhost:8599/tests/runner.cfm"
36-
}]
37-
},
3835
"devDependencies": {
3936
"testbox": "^3.0.0"
4037
},

box.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"slug":"coldbox",
77
"packageDirectory":"coldbox",
88
"type":"mvc",
9-
"keywords":"mvc,conventions,coldbox",
9+
"keywords":"mvc,hmvc,conventions,coldbox",
1010
"homepage":"https://www.coldbox.org",
1111
"documentation":"https://coldbox.ortusbooks.com/",
1212
"repository":{
1313
"type":"git",
1414
"url":"https://github.com/coldbox/coldbox-platform"
1515
},
1616
"bugs":"https://ortussolutions.atlassian.net/browse/COLDBOX",
17-
"shortDescription":"A conventions based MVC development framework",
17+
"shortDescription":"A conventions based HMVC development framework",
1818
"license":[
1919
{
2020
"type":"Apache2",
@@ -39,10 +39,20 @@
3939
]
4040
},
4141
"devDependencies":{
42-
"testbox":"^3.0.0"
42+
"testbox":"^4.1.0"
4343
},
4444
"installPaths":{
4545
"testbox":"testbox/"
4646
},
47-
"scripts":{}
47+
"scripts":{
48+
"format":"cfformat run system/**/*.cfc,tests/specs/**/*.cfc --overwrite",
49+
"format:watch":"cfformat watch system/**/*.cfc,tests/specs/**/*.cfc ./.cfformat.json",
50+
"format:check":"cfformat check system/**/*.cfc,tests/specs/**/*.cfc",
51+
"start:lucee":"server start serverConfigFile='server-lucee@5.json' --force",
52+
"start:2016":"server start serverConfigFile='server-adobe@2016.json' --force",
53+
"start:2018":"server start serverConfigFile='server-adobe@2018.json' --force",
54+
"log:lucee":"server log coldbox-lucee@5 --follow",
55+
"log:2016":"server log coldbox-adobe@2016 --follow",
56+
"log:2018":"server log coldbox-adobe@2018 --follow"
57+
}
4858
}

0 commit comments

Comments
 (0)