Skip to content

Commit 5f8d263

Browse files
Merge branch 'Ortus-Solutions:development' into development
2 parents 1f2c6f1 + 266c49e commit 5f8d263

File tree

12 files changed

+29
-20
lines changed

12 files changed

+29
-20
lines changed

.github/workflows/lts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
##########################################################################################
1919
format:
2020
name: Code Auto-Formatting
21-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v4
2424

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
format_check:
2121
name: Checks Source Code Formatting
22-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout Repository
2525
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ jobs:
222222
prep_next_release:
223223
name: Prep Next Release
224224
if: github.ref != 'refs/heads/development'
225-
runs-on: ubuntu-20.04
225+
runs-on: ubuntu-latest
226226
needs: [ build ]
227227
steps:
228228
- name: Checkout Development Repository

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
##########################################################################################
2525
format:
2626
name: Code Auto-Formatting
27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-latest
2828
steps:
2929
- uses: actions/checkout@v4
3030

.github/workflows/tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
tests:
1212
name: Test Suites
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
env:
1515
DB_USER: root
1616
DB_PASSWORD: root
@@ -24,6 +24,15 @@ jobs:
2424
experimental: [ false ]
2525
include:
2626
# Lucee 6 has a regression
27+
- cfengine: "boxlang@1"
28+
coldboxVersion: "^7"
29+
jdkVersion: "21"
30+
experimental: true
31+
- cfengine: "boxlang@1"
32+
coldboxVersion: "be"
33+
jdkVersion: "21"
34+
experimental: true
35+
# Lucee 6 has a regression
2736
- cfengine: "lucee@6"
2837
coldboxVersion: "^7"
2938
jdkVersion: "21"

box.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@
2525
],
2626
"dependencies":{
2727
"coldbox":"be",
28-
"commandbox-migrations":"^5.0.0"
28+
"commandbox-migrations":"*"
2929
},
3030
"devDependencies":{
31-
"testbox":"^5.0.0+1",
32-
"commandbox-boxlang":"*",
31+
"commandbox-boxlang":"*",
3332
"commandbox-cfformat":"*",
34-
"commandbox-cfconfig":"*",
3533
"commandbox-docbox":"*",
34+
"testbox":"*",
3635
"cbdebugger":"*",
3736
"route-visualizer":"*"
3837
},

modules/contentbox/models/content/BaseContent.cfc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ component
161161
column ="expireDate"
162162
notnull="false"
163163
ormtype="timestamp"
164-
default=""
165164
index ="idx_expireDate";
166165

167166
property

modules/contentbox/models/content/EntryService.cfc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@ component extends="ContentService" singleton {
169169
// we use HQL so we can be DB independent using the map() hql function thanks to John Wish, you rock!
170170
var hql = "SELECT new map( count(*) as count, YEAR(publishedDate) as year, MONTH(publishedDate) as month )
171171
FROM cbEntry
172-
WHERE isPublished = true
172+
WHERE isPublished = :isPublished
173173
AND passwordProtection = ''
174174
AND publishedDate <= :now
175175
GROUP BY YEAR(publishedDate), MONTH(publishedDate)
176176
ORDER BY 2 DESC, 3 DESC";
177177
// run report
178-
return executeQuery( query = hql, params = { "now" : now() } );
178+
return executeQuery( query = hql, params = { "isPublished" : true, "now" : now() } );
179179
}
180180

181181
/**
@@ -202,10 +202,10 @@ component extends="ContentService" singleton {
202202
){
203203
var results = {};
204204
var hql = "FROM cbEntry
205-
WHERE isPublished = true
205+
WHERE isPublished = :isPublished
206206
AND passwordProtection = ''
207207
AND publishedDate <= :now";
208-
var params = {};
208+
var params = { "isPublished" : true };
209209
params[ "now" ] = now();
210210

211211
// Site

modules/contentbox/modules/contentbox-admin/views/settings/index.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</li>
4343
<li class="nav-item">
4444
<a href="##login_options" data-toggle="tab" class="nav-link">
45-
<i class="fa fa-sign-in fa-lg"></i> Login
45+
<i class="fa fa-sign-in-alt fa-lg"></i> Login
4646
</a>
4747
</li>
4848
<li class="nav-item">

[email protected]

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"app":{
3-
"cfengine":"boxlang@be",
4-
"serverHomeDirectory":".engine/boxlang"
3+
"cfengine":"boxlang@be",
4+
"serverHomeDirectory":".engines/boxlang"
55
},
66
"name":"contentbox-boxlang",
77
"JVM":{
8-
"javaVersion":"openjdk21_jre",
8+
"javaVersion":"openjdk21_jre",
99
"heapSize":"1024",
1010
"args":"-Dcom.sun.net.ssl.enableECC=false -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999"
1111
},
@@ -31,7 +31,7 @@
3131
"cfconfig":{
3232
"file":".cfconfig.json"
3333
},
34-
"env":{
34+
"env":{
3535
"BOXLANG_DEBUG":true
3636
},
3737
"scripts":{

0 commit comments

Comments
 (0)