Skip to content

Commit 145218b

Browse files
committed
boxlang certification
1 parent a10bf43 commit 145218b

File tree

9 files changed

+41
-52
lines changed

9 files changed

+41
-52
lines changed

.github/CODE_OF_CONDUCT.MD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Code of Conduct
2+
3+
Please see it in our [Contributing Guidelines](../CONTRIBUTING.md#code-of-conduct).

.github/SECURITY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Security Policy
2+
3+
Please see it in our [Contributing Guidelines](../CONTRIBUTING.md#security-vulnerabilities).

.github/SUPPORT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Support & Help
2+
3+
Please see it in our [Contributing Guidelines](../CONTRIBUTING.md#support-questions).

.github/workflows/tests.yml

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -18,66 +18,38 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
cfengine: [ "lucee@5", "adobe@2018", "adobe@2021" ]
22-
coldboxVersion: [ "^6.0.0" ]
21+
cfengine: [ "boxlang-cfml@1", "lucee@5", "lucee@6", "adobe@2021", "adobe@2023" ]
22+
coldboxVersion: [ "^7.0.0" ]
2323
experimental: [ false ]
2424
include:
25-
- cfengine: "adobe@2023"
26-
coldboxVersion: "^6.0.0"
27-
experimental: true
2825
- coldboxVersion: "be"
2926
cfengine: "lucee@5"
3027
experimental: true
3128
- coldboxVersion: "be"
32-
cfengine: "adobe@2018"
29+
cfengine: "lucee@6"
3330
experimental: true
3431
- coldboxVersion: "be"
3532
cfengine: "adobe@2021"
3633
experimental: true
3734
- coldboxVersion: "be"
38-
cfengine: "boxlang@1"
35+
cfengine: "adobe@2023"
36+
experimental: true
37+
- coldboxVersion: "be"
38+
cfengine: "boxlang-cfml@1"
3939
experimental: true
4040
steps:
4141
- name: Checkout Repository
42-
uses: actions/checkout@v3
43-
44-
# Not Needed in this module
45-
#- name: Setup Database and Fixtures
46-
# run: |
47-
# sudo /etc/init.d/mysql start
48-
# mysql -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} -e 'CREATE DATABASE coolblog;'
49-
# mysql -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} < test-harness/tests/resources/coolblog.sql
42+
uses: actions/checkout@v4
5043

5144
- name: Setup Java
52-
uses: actions/setup-java@v3
45+
uses: actions/setup-java@v4
5346
with:
5447
distribution: "temurin"
55-
java-version: "11"
48+
java-version: "21"
5649

5750
- name: Setup CommandBox CLI
5851
uses: Ortus-Solutions/[email protected]
5952

60-
- name: Update Commandbox Boxlang Module
61-
if: ${{ matrix.cfengine == 'boxlang@1' }}
62-
run:
63-
box install --force commandbox-boxlang
64-
65-
# Not Needed in this module
66-
#- name: Setup Environment For Testing Process
67-
# working-directory: ./test-harness
68-
# run: |
69-
# # Setup .env
70-
# touch .env
71-
# # ENV
72-
# printf "DB_HOST=localhost\n" >> .env
73-
# printf "DB_DATABASE=mydatabase\n" >> .env
74-
# printf "DB_DRIVER=MySQL\n" >> .env
75-
# printf "DB_USER=${{ env.DB_USER }}\n" >> .env
76-
# printf "DB_PASSWORD=${{ env.DB_PASSWORD }}\n" >> .env
77-
# printf "DB_CLASS=com.mysql.cj.jdbc.Driver\n" >> .env
78-
# printf "DB_BUNDLEVERSION=8.0.19\n" >> .env
79-
# printf "DB_BUNDLENAME=com.mysql.cj\n" >> .env
80-
8153
- name: Install Test Harness with ColdBox ${{ matrix.coldboxVersion }}
8254
run: |
8355
box install

.markdownlint.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@
1010
},
1111
"no-duplicate-header" : {
1212
"siblings_only" : true
13-
}
14-
}
13+
},
14+
"no-duplicate-heading" : {
15+
"siblings_only" : true
16+
},
17+
"no-inline-html" : false
18+
}

box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"cbi18n":"^3.0.0"
2727
},
2828
"devDependencies":{
29+
"commandbox-boxlang":"*",
2930
"commandbox-cfformat":"*",
3031
"commandbox-docbox":"*",
3132
"commandbox-dotenv":"*",
@@ -58,6 +59,5 @@
5859
"logs:2021":"server log [email protected] --follow"
5960
},
6061
"installPaths":{
61-
"cbi18n":"modules/cbi18n/"
6262
}
6363
}

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12+
### Added
13+
14+
- BoxLang certification
15+
- Add `defaultValue` to apply default values before constraints are checked
16+
1217
## [4.4.0] - 2023-10-16
1318

1419
### Added

readme.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,25 @@
1313
<a href="https://www.ortussolutions.com">www.ortussolutions.com</a>
1414
</p>
1515

16-
----
16+
# Welcome to the Validation Module for ColdBox
1717

18-
# WELCOME TO THE COLDBOX VALIDATION MODULE
18+
This module is a server side rules validation engine that can provide you with a unified approach to object, struct and form validation. You can construct validation constraint rules and then tell the engine to validate them accordingly. You can validate objects or structures and even use profiles to target specific fields for validation. The validation engine is highly extensible and can be used in any kind of application.
1919

20-
This module is a server side rules validation engine that can provide you with a unified approach to object, struct and form validation. You can construct validation constraint rules and then tell the engine to validate them accordingly.
21-
22-
## LICENSE
20+
## License
2321

2422
Apache License, Version 2.0.
2523

26-
## IMPORTANT LINKS
24+
## Important Links
2725

2826
- https://github.com/coldbox-modules/cbvalidation
2927
- https://coldbox-validation.ortusbooks.com
3028
- https://forgebox.io/view/cbvalidation
3129

32-
## SYSTEM REQUIREMENTS
30+
## Requirements
3331

32+
- BoxLang 1+
3433
- Lucee 5.x+
35-
- Adobe ColdFusion 2018+
34+
- Adobe ColdFusion 2021+
3635

3736
## Installation
3837

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
},
2222
"JVM":{
2323
"heapSize":"1024",
24-
"javaVersion":"openjdk21_jdk",
25-
"args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999 -Dboxlang.debugMode=true"
24+
"javaVersion":"openjdk21_jre",
25+
"args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8888 -Dboxlang.debugMode=true"
2626
},
2727
"cfconfig":{
2828
"file":".cfconfig.json"
@@ -31,6 +31,6 @@
3131
"BOXLANG_DEBUG":true
3232
},
3333
"scripts":{
34-
"onServerInitialInstall":"install bx-mail,bx-mysql,bx-derby,bx-compat-cfml@be,bx-unsafe-evaluate,bx-esapi --noSave"
34+
"onServerInitialInstall":"install bx-compat-cfml --noSave"
3535
}
3636
}

0 commit comments

Comments
 (0)