Skip to content

Commit b4defec

Browse files
authored
Merge pull request #1530 from MitrahSoft/LDEV-5819
2 parents 0ad6907 + 76ad432 commit b4defec

File tree

14 files changed

+71
-58
lines changed

14 files changed

+71
-58
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Path to the directory to be registered or reset.
22

33
This folder should contain
4+
45
- one or more REST enabled CFCs, i.e. with `rest=true`
56
- An `Application.cfc` (if required)

docs/03.reference/02.tags/dbinfo/_usageNotes.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ Performance tips
22

33
- Using `type="columns_minimal"` is dramatically faster than `type="columns"`
44
- With `type="table"` using `filter="table"` is also much faster
5-

docs/03.reference/02.tags/pdf/_attributes/action.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
- setInfo
1515
- thumbnail
1616
- write
17+
- extractimage (default)
18+
- extractimages (alias for `extractimage`)
1719

1820
**Note:**
1921

docs/03.reference/02.tags/pdf/tag.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ The following list describes some of the tasks you can perform with the cfpdf ta
2626
- Add and remove header/footer from PDF documents
2727
- Optimize PDF documents
2828
- Extract all the words from the pdf
29+
- Extract images from PDF documents using the `extractimage` action.

docs/04.guides/04.cookbooks/02.application-context-set-mapping/page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ component {
4242
}
4343
```
4444

45-
In difference to `this.mappings`, `this.componentpaths" and `this.customtagpaths` are taking arrays as input and not structs, because in that case there is not "virtual path" that needs to be defined.
45+
In difference to `this.mappings`, `this.componentpaths` and `this.customtagpaths` are taking arrays as input and not structs, because in that case there is not "virtual path" that needs to be defined.
4646

4747
## Advanced
4848

docs/04.guides/11.developing-with-lucee-server/03.operators/page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ description: Mathematical, Logical, Ternary, Comparison, String and Elvis Operat
104104
| --------- | -------------- | ----------- |
105105
| EQ | equals | Returns true if operands are equal, e.g. `"A" EQ "A"` is true |
106106
| == | equals | Returns true if operands are equal, e.g. `"A" == "A"` is true |
107-
| === | identical | Returns true if operands are the same object in memory, false if they are not, (Note this is different than how JavaScript's `===` operator works). **Lucee 6 === works like javascript, comparing type and value, however, prior to 6.2.3.34, it was senstive to the underlying java types [LDEV-5806](https://luceeserver.atlassian.net/browse/LDEV-5806)** |
107+
| === | identical | Returns true if operands are the same object in memory, false if they are not, (Note this is different than how JavaScript's `===` operator works). **Lucee 6 === works like javascript, comparing type and value, however, prior to 6.2.3.34, it was sensitive to the underlying java types [LDEV-5806](https://luceeserver.atlassian.net/browse/LDEV-5806)** |
108108
| NEQ | does not equal | Returns true if operands are not equal, e.g. `"A" NEQ "B"` is true |
109109
| \<\> | does not equal | Returns true if operands are not equal, e.g. `"A" <> "B"` is true |
110110
| != | does not equal | Returns true if operands are not equal, e.g. `"A" != "B"` is true |

docs/04.guides/12.deploying-lucee-server-apps/page.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ You can pre warm a lucee installation, by setting the env var `LUCEE_ENABLE_WARM
105105

106106
Lucee Docker images are already pre-warmed and Lucee 6.2 includes several improvements which make deployment faster.
107107

108-
109108
## Admin and Docs extensions
110109

111110
You will see extensions, Lucee Admin and Lucee Docs, these simply install mappings to make them available. The admin is tightly coupled to the Lucee Version, so they aren't separately deployed

docs/recipes/breaking-changes-6-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Workaround, create an Application.cfc which extends the parent Application.cfc
111111

112112
[LDEV-5323](https://luceeserver.atlassian.net/browse/LDEV-5323)
113113

114-
## Strict Equality Operator was senstive to underlying java types
114+
## Strict Equality Operator was sensitive to underlying java types
115115

116116
Lucee 6 improved the `===` operator to compare type and value, but was checking only the underlying java type, rather than cfml type, so numbers might fail
117117

docs/recipes/cfschedule-bulk-update.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
{
3-
"title": "Scheduled Tasks - efficently updating in a single operation",
3+
"title": "Scheduled Tasks - efficiently updating in a single operation",
44
"id": "cfschedule-bulk",
55
"description": "How to update scheduled tasks in a single operation",
66
"since": "6.2.3.16",
@@ -19,7 +19,7 @@
1919
}
2020
-->
2121

22-
## Efficently and reliably updating scheduled tasks in a single operation
22+
## Efficiently and reliably updating scheduled tasks in a single operation
2323

2424
Using the [[tag-schedule]] to update all tasks on application start has always been a bit slow, as each update reloads the config which is slow when updating many tasks.
2525

@@ -31,7 +31,7 @@ Note, this approach only works reliably since 6.2.3.16, as the config import / m
3131

3232
### Updating tasks in a single transaction
3333

34-
An alternative and far more efficent approach is to
34+
An alternative and far more efficient approach is to
3535

3636
1. Extract the **scheduledTasks** from `.CFConfig.json`,
3737
2. Check and modify the array of tasks if needed (i.e. track changes)
@@ -76,7 +76,7 @@ Loop over the array and modify it as needed.
7676

7777
### Tip: avoid updates when there is no change
7878

79-
It's good to avoid updating the config if there is no change, but not so important when using this efficent approach.
79+
It's good to avoid updating the config if there is no change, but not so important when using this efficient approach.
8080

8181
An easy way is to simply compare the source tasks array with the updated tasks array.
8282

docs/recipes/hooks-and-monitors.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ You can define monitors directly in your `.CFConfig.json` configuration file und
321321
```
322322

323323
**Configuration Properties:**
324+
324325
- `name`: Unique identifier for the monitor (required)
325326
- `type`: Monitor type - `action`, `request`, or `interval` (required)
326327
- `class`: Full Java class name (required unless using component)
@@ -332,6 +333,7 @@ You can define monitors directly in your `.CFConfig.json` configuration file und
332333
- `async`: Run request monitors asynchronously (optional, request monitors only, default: false)
333334

334335
**Class Definition Resolution Order:**
336+
335337
1. **OSGi Bundle** - If `bundleName` is provided
336338
2. **Maven Dependency** - If `maven` is provided
337339
3. **CFML Component** - If `component` is provided (and `class` is null)
@@ -412,6 +414,7 @@ public class MyActionMonitor implements ActionMonitor {
412414
### Use Cases
413415

414416
Action monitors are ideal for:
417+
415418
- Database query performance tracking
416419
- Lock contention analysis
417420
- Mail delivery monitoring
@@ -488,6 +491,7 @@ public class MyRequestMonitor implements RequestMonitor {
488491
### Use Cases
489492

490493
Request monitors are ideal for:
494+
491495
- Application performance monitoring (APM)
492496
- Error rate tracking
493497
- User behavior analysis
@@ -566,6 +570,7 @@ public class MyIntervalMonitor implements IntervallMonitor {
566570
### Use Cases
567571

568572
Interval monitors are ideal for:
573+
569574
- System resource monitoring
570575
- Memory leak detection
571576
- Performance baseline establishment
@@ -633,16 +638,19 @@ When implementing hooks and monitors, consider these security aspects:
633638
## Common Issues
634639

635640
**Hook Not Loading**
641+
636642
- Verify class name and path are correct
637643
- Check bundle/Maven dependencies are available
638644
- Review Lucee logs for error messages
639645

640646
**Monitor Not Triggering**
647+
641648
- Ensure monitoring is enabled in `.CFConfig.json`
642649
- Check that the monitor interface is implemented correctly
643650
- Verify the extension manifest syntax is valid
644651

645652
**Performance Issues**
653+
646654
- Keep monitor logic lightweight
647655
- Use asynchronous processing for expensive operations
648656
- Implement proper error handling to prevent monitor failures

0 commit comments

Comments
 (0)