Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
12c186f
New Crowdin updates (#2866)
arnaud4d Aug 8, 2025
a2940e4
New Crowdin updates (#2869)
arnaud4d Aug 11, 2025
49174d2
fixed links in command legacy
arnaud4d Aug 11, 2025
0e7cc3a
New Crowdin updates (#2871)
arnaud4d Aug 13, 2025
5995a99
New Crowdin updates (#2873)
arnaud4d Aug 18, 2025
b327f46
New Crowdin updates (#2874)
arnaud4d Aug 20, 2025
eeea999
New Crowdin updates (#2875)
arnaud4d Aug 21, 2025
bb00c8d
New Crowdin updates (#2876)
arnaud4d Aug 22, 2025
3d04900
fix links
arnaud4d Aug 22, 2025
53c61a4
New Crowdin updates (#2878)
arnaud4d Aug 25, 2025
36f94b1
New Crowdin updates (#2879)
arnaud4d Aug 26, 2025
b1fe070
blog posts ref
arnaud4d Aug 26, 2025
3d876ec
New Crowdin updates (#2880)
arnaud4d Aug 27, 2025
549e701
fix links
arnaud4d Aug 27, 2025
a2b9d86
New Crowdin updates (#2883)
arnaud4d Aug 28, 2025
3790db4
New Crowdin updates (#2885)
arnaud4d Sep 1, 2025
bdd7864
New Crowdin updates (#2887)
arnaud4d Sep 2, 2025
9d561c6
New Crowdin updates (#2889)
arnaud4d Sep 3, 2025
0b134f2
New Crowdin updates (#2866)
arnaud4d Aug 8, 2025
d801ffe
fixed links in command legacy
arnaud4d Aug 11, 2025
1d12c7a
New Crowdin updates (#2871)
arnaud4d Aug 13, 2025
d595566
New Crowdin updates (#2873)
arnaud4d Aug 18, 2025
7509cf8
New Crowdin updates (#2874)
arnaud4d Aug 20, 2025
b542c95
New Crowdin updates (#2875)
arnaud4d Aug 21, 2025
25d136c
New Crowdin updates (#2876)
arnaud4d Aug 22, 2025
950d633
fix links
arnaud4d Aug 22, 2025
655ad9c
New Crowdin updates (#2878)
arnaud4d Aug 25, 2025
021472c
New Crowdin updates (#2879)
arnaud4d Aug 26, 2025
357f92c
New Crowdin updates (#2880)
arnaud4d Aug 27, 2025
7199228
New Crowdin updates (#2883)
arnaud4d Aug 28, 2025
08fd733
New Crowdin updates (#2887)
arnaud4d Sep 2, 2025
6b7a481
Revert "Merge branch 'tempo2'"
arnaud4d Sep 3, 2025
5cb037d
Reapply "Merge branch 'tempo2'"
arnaud4d Sep 3, 2025
114e751
fixes
arnaud4d Sep 3, 2025
e19d5a8
New Crowdin updates (#2893)
arnaud4d Sep 4, 2025
603af2b
New Crowdin updates (#2897)
arnaud4d Sep 5, 2025
e17d040
New Crowdin updates (#2899)
arnaud4d Sep 8, 2025
0a58182
updated see alsos
arnaud4d Sep 8, 2025
81ae440
New Crowdin updates (#2900)
arnaud4d Sep 9, 2025
7474292
New Crowdin updates (#2906)
arnaud4d Sep 12, 2025
e031d3a
Writepro/user legacy import (#2910)
mouna-elmaazouzi Sep 16, 2025
541d4d9
New/homepage (#2914)
arnaud4d Sep 18, 2025
ef0289d
New Crowdin updates (#2924)
arnaud4d Sep 22, 2025
77f4779
New Crowdin updates (#2925)
arnaud4d Sep 23, 2025
68db6de
Feature/published components (#2932)
arnaud4d Sep 25, 2025
22948a3
after closure dependencies
arnaud4d Sep 25, 2025
9683239
New Crowdin updates (#2934)
arnaud4d Sep 29, 2025
ee540e0
fix links components
arnaud4d Sep 29, 2025
e3974c9
New Crowdin updates (#2942)
arnaud4d Oct 1, 2025
ff1f933
New Crowdin updates (#2943)
arnaud4d Oct 2, 2025
1092117
removed old files
arnaud4d Oct 3, 2025
3c8d196
delete
guillaume-kotulski Oct 6, 2025
01d18f1
New Crowdin updates (#2952)
arnaud4d Oct 7, 2025
22d2a82
fixed otp token
arnaud4d Oct 7, 2025
83dc448
New Crowdin updates (#2953)
arnaud4d Oct 7, 2025
4de144a
Feature/webarea session (#2954)
arnaud4d Oct 7, 2025
c00add2
removed pt
arnaud4d Oct 7, 2025
de477f7
Feature/aikit/tools response (#2955)
arnaud4d Oct 7, 2025
f1eff46
updated sort syntax
arnaud4d Oct 7, 2025
5a5539d
fixed exposed for shared sessions and added note in web areas
arnaud4d Oct 8, 2025
58fe937
New Crowdin updates (#2956)
arnaud4d Oct 8, 2025
d97dd9a
Update updates.md
arnaud4d Oct 8, 2025
ec8c455
Update client-server.md
arnaud4d Oct 8, 2025
acdcebf
quic enhanced
arnaud4d Oct 8, 2025
b55eb1d
Update updates.md
arnaud4d Oct 8, 2025
4c0e922
Feature/orda event save drop (#2957)
arnaud4d Oct 8, 2025
44f8eb6
events orda
arnaud4d Oct 8, 2025
e960b29
Update EntityClass.md
arnaud4d Oct 8, 2025
123d660
Update orda-events.md
arnaud4d Oct 8, 2025
c8bab35
Update orda-events.md
arnaud4d Oct 8, 2025
87f8268
Update EntityClass.md
arnaud4d Oct 8, 2025
697050f
after closure events
arnaud4d Oct 8, 2025
20c2a96
fixed error handler components
arnaud4d Oct 8, 2025
25dfb8f
New Crowdin updates (#2958)
arnaud4d Oct 9, 2025
3b83c96
fixes log recording
arnaud4d Oct 9, 2025
244ec8c
fix tcp udp log
arnaud4d Oct 9, 2025
2589064
updated tcpudp logs
arnaud4d Oct 9, 2025
2323481
Featurre/http headers (#2959)
arnaud4d Oct 9, 2025
79d2076
Feature/winui (#2960)
arnaud4d Oct 9, 2025
443a157
New Crowdin updates (#2961)
arnaud4d Oct 10, 2025
5f03f4a
Feature/sessionremoteanderrors (#2962)
arnaud4d Oct 10, 2025
0cd870e
New Crowdin updates (#2963)
arnaud4d Oct 10, 2025
730ae71
Update updates.md
arnaud4d Oct 10, 2025
d88a64d
version 21 created
arnaud4d Oct 10, 2025
231ccb4
fixes and removed banner
arnaud4d Oct 13, 2025
402da10
added qodly pro links
arnaud4d Oct 13, 2025
fe2440c
removed useless files
arnaud4d Oct 13, 2025
f5fb6f4
New Crowdin updates (#2964)
arnaud4d Oct 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 14 additions & 3 deletions docs/API/CollectionClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -2230,7 +2230,7 @@ You can also pass a criteria parameter to define how the collection elements mus
|Constant| Type|Value|Comment|
|---|---|---|---|
|ck ascending|Integer|0|Elements are ordered in ascending order (default)|
|ck descending|Integer|1|Elements are ordered in descending order
|ck descending|Integer|1|Elements are ordered in descending order|

This syntax orders scalar values in the collection only (other element types such as objects or collections are returned unordered).

Expand Down Expand Up @@ -3421,12 +3421,13 @@ You want to know if at least one collection value is >0.

</details>

<!-- REF #collection.sort().Syntax -->**.sort**() : Collection<br/>**.sort**( *formula* : 4D.Function { ; *...extraParam* : any } ) : Collection<br/>**.sort**( *methodName* : Text { ; *...extraParam* : any } ) : Collection <!-- END REF -->
<!-- REF #collection.sort().Syntax -->**.sort**() : Collection<br/>**.sort**( *ascOrDesc* : Integer ) : Collection <br/>**.sort**( *formula* : 4D.Function { ; *...extraParam* : any } ) : Collection<br/>**.sort**( *methodName* : Text { ; *...extraParam* : any } ) : Collection<!-- END REF -->


<!-- REF #collection.sort().Params -->
|Parameter|Type||Description|
|---------|--- |:---:|------|
|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)|
|formula|4D.Function|->|Formula object|
|methodName|Text|->|Name of a method|
|extraParam |any |->|Parameter(s) for the method|
Expand All @@ -3440,7 +3441,17 @@ The `.sort()` function <!-- REF #collection.sort().Summary -->sorts the elements

>This function modifies the original collection.

If `.sort()` is called with no parameters, only scalar values (number, text, date, booleans) are sorted. Elements are sorted by default in ascending order, according to their type. If the collection contains elements of different types, they are first grouped by type and sorted afterwards. Types are returned in the following order:
If `.sort()` is called with no parameters, only scalar values (number, text, date, booleans) are sorted. Elements are sorted by default in ascending order, according to their type.
You can also pass one of the following constants in the *ascOrDesc* parameter:

|Constant| Type|Value|Comment|
|---|---|---|---|
|ck ascending|Integer|0|Elements are ordered in ascending order (default)|
|ck descending|Integer|1|Elements are ordered in descending order|

This syntax orders scalar values in the collection only (other element types such as objects or collections are returned unordered).

If the collection contains elements of different types, they are first grouped by type and sorted afterwards. Types are returned in the following order:

1. null
2. booleans
Expand Down
31 changes: 19 additions & 12 deletions docs/API/EntityClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ vCompareResult3 (only differences on $e1 touched attributes are returned)

|Release|Changes|
|---|---|
|21|Added status 7 and 8|
|17|Added|

</details>
Expand All @@ -360,7 +361,7 @@ Otherwise, you can pass the `dk force drop if stamp changed` option in the *mode

**Result**

The object returned by `.drop( )` contains the following properties:
The object returned by `.drop()` contains the following properties:

|Property| | Type |Description|
|---|---|--- |---|
Expand All @@ -387,10 +388,12 @@ The object returned by `.drop( )` contains the following properties:

|Constant| Value| Comment|
|---|---|---|
|`dk status entity does not exist anymore`|5|The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using entity.drop( ), this error can be returned when dk force drop if stamp changed option is used. When using entity.lock(), this error can be returned when dk reload if stamp changed option is used</li> **Associated statusText**: "Entity does not exist anymore"|
|`dk status entity does not exist anymore`|5|The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using entity.drop(), this error can be returned when dk force drop if stamp changed option is used. When using entity.lock(), this error can be returned when dk reload if stamp changed option is used.</li> **Associated statusText**: "Entity does not exist anymore"|
|`dk status locked`|3|The entity is locked by a pessimistic lock.<br/> **Associated statusText**: "Already locked"|
|`dk status validation failed`| 7| Non fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Mild Validation Error"|
|`dk status serious error`| 4| A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.<br/>**Associated statusText**: "Other error"
|`dk status stamp has changed`| 2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<br/><li>with `.save( )`: error only if the `dk auto merge` option is not used</li><li>with `.drop( )`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><li>**Associated statusText**: "Stamp has changed"</li>|
|`dk status serious validation error`| 8| Fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Serious Validation Error"|
|`dk status stamp has changed`| 2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<br/><li>with `.save()`: error only if the `dk auto merge` option is not used</li><li>with `.drop()`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><li>**Associated statusText**: "Stamp has changed"</li>|
|`dk status wrong permission`|1|The current privileges do not allow the drop of the entity. **Associated statusText**: "Permission Error"|

#### Example 1
Expand Down Expand Up @@ -987,10 +990,11 @@ The object returned by `.lock()` contains the following properties:

|Constant |Value| Comment|
|---|---|---|
|`dk status entity does not exist anymore`| 5 |The entity no longer exists in the data. This error can occur in the following cases:<li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop( )`, this error can be returned when dk force drop if stamp changed option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>**Associated statusText**: "Entity does not exist anymore"|
|`dk status entity does not exist anymore`| 5 |The entity no longer exists in the data. This error can occur in the following cases:<li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop()`, this error can be returned when dk force drop if stamp changed option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>**Associated statusText**: "Entity does not exist anymore"|
|`dk status locked`| 3 |The entity is locked by a pessimistic lock.**Associated statusText**: "Already locked"
|`dk status serious error`| 4 |A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.**Associated statusText**: "Other error"|
|`dk status stamp has changed`|2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<li>with `.save( )`: error only if the `dk auto merge` option is not used</li><li>with `.drop( )`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><br/>**Associated statusText**: "Stamp has changed"|
|`dk status mild validation error`|7|Can be returned by the developer only in validate events and do not require|
|`dk status serious error`| 4 |A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.<br/>**Associated statusText**: "Other error"|
|`dk status stamp has changed`|2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<li>with `.save()`: error only if the `dk auto merge` option is not used</li><li>with `.drop()`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><br/>**Associated statusText**: "Stamp has changed"|

#### Example 1

Expand Down Expand Up @@ -1149,7 +1153,7 @@ The object returned by `.reload( )` contains the following properties:

|Constant| Value| Comment|
|---|---|---|
|`dk status entity does not exist anymore`|5|The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop( )`, this error can be returned when `dk force drop if stamp changed` option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>***Associated statusText***: "Entity does not exist anymore"|
|`dk status entity does not exist anymore`|5|The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop()`, this error can be returned when `dk force drop if stamp changed` option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>***Associated statusText***: "Entity does not exist anymore"|
|`dk status serious error`|4| A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.<br/>***Associated statusText***: "Other error"|

#### Example
Expand Down Expand Up @@ -1180,6 +1184,7 @@ The object returned by `.reload( )` contains the following properties:

|Release|Changes|
|---|---|
|21|Added status 7 and 8|
|17|Added|

</details>
Expand Down Expand Up @@ -1241,11 +1246,13 @@ The following values can be returned in the `status` and `statusText` properties

|Constant| Value |Comment|
|---|---|---|
|`dk status automerge failed`| 6| (Only if the `dk auto merge` option is used) The automatic merge option failed when saving the entity.**Associated statusText**: "Auto merge failed"|
|`dk status entity does not exist anymore`| 5| The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop( )`, this error can be returned when `dk force drop if stamp changed` option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>**Associated statusText**: "Entity does not exist anymore"|
|`dk status locked`| 3| The entity is locked by a pessimistic lock.**Associated statusText**: "Already locked"
|`dk status serious error`|4|A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.**Associated statusText**: "Other error"|
|`dk status stamp has changed`|2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<br/><li>with `.save( )`: error only if the `dk auto merge` option is not used</li><li>with `.drop( )`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><br/>**Associated statusText**: "Stamp has changed"|
|`dk status automerge failed`| 6| (Only if the `dk auto merge` option is used) The automatic merge option failed when saving the entity. **Associated statusText**: "Auto merge failed"|
|`dk status entity does not exist anymore`| 5| The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop()`, this error can be returned when `dk force drop if stamp changed` option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>**Associated statusText**: "Entity does not exist anymore"|
|`dk status locked`| 3| The entity is locked by a pessimistic lock. **Associated statusText**: "Already locked"|
|`dk status validation failed`| 7| Non fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Mild Validation Error"|
|`dk status serious error`|4|A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc. **Associated statusText**: "Other error"|
|`dk status serious validation error`| 8| Fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Serious Validation Error"|
|`dk status stamp has changed`|2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<br/><li>with `.save()`: error only if the `dk auto merge` option is not used</li><li>with `.drop()`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><br/>**Associated statusText**: "Stamp has changed"|
|`dk status wrong permission`|1|The current privileges do not allow the save of the entity. **Associated statusText**: "Permission Error"|

#### Example 1
Expand Down
Loading
Loading