Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6642 commits
Select commit Hold shift + click to select a range
ce4ad03
selection.md French
arnaud4d Oct 8, 2026
1a2a216
sets.md French
arnaud4d Oct 8, 2026
5cbc324
spell_checker.md French
arnaud4d Oct 8, 2026
e009b75
user_interface.md French
arnaud4d Oct 8, 2026
810f028
users_and_groups.md French
arnaud4d Oct 8, 2026
2be7da4
variables.md French
arnaud4d Oct 8, 2026
9e94bda
web_area.md French
arnaud4d Oct 8, 2026
c876e3a
web_server.md French
arnaud4d Oct 8, 2026
15d12a8
web_services_client.md French
arnaud4d Oct 8, 2026
7f9376f
web_services_server.md French
arnaud4d Oct 8, 2026
8b79d83
windows.md French
arnaud4d Oct 8, 2026
dba91f1
xml.md French
arnaud4d Oct 8, 2026
49d7bba
xml_dom.md French
arnaud4d Oct 8, 2026
484751b
xml_sax.md French
arnaud4d Oct 8, 2026
6aafe34
exit.md French
arnaud4d Oct 8, 2026
26f4917
menus.md French
arnaud4d Oct 8, 2026
2051b07
overview.md French
arnaud4d Oct 8, 2026
4a963b7
service.md French
arnaud4d Oct 8, 2026
e284fe5
sso.md French
arnaud4d Oct 8, 2026
be3076c
vss.md French
arnaud4d Oct 8, 2026
e8cc8d1
user_interface.md Spanish
arnaud4d Oct 8, 2026
48b361f
users_and_groups.md Spanish
arnaud4d Oct 8, 2026
400994f
variables.md Spanish
arnaud4d Oct 8, 2026
2255a57
web_area.md Spanish
arnaud4d Oct 8, 2026
313a56f
web_server.md Spanish
arnaud4d Oct 8, 2026
bcaad85
web_services_client.md Spanish
arnaud4d Oct 8, 2026
ad1f08a
web_services_server.md Spanish
arnaud4d Oct 8, 2026
b83ab92
windows.md Spanish
arnaud4d Oct 8, 2026
9e9c904
xml.md Spanish
arnaud4d Oct 8, 2026
08029da
xml_dom.md Spanish
arnaud4d Oct 8, 2026
4f8a635
xml_sax.md Spanish
arnaud4d Oct 8, 2026
32da1bb
exit.md Spanish
arnaud4d Oct 8, 2026
4cd54a2
menus.md Spanish
arnaud4d Oct 8, 2026
7a08103
overview.md Spanish
arnaud4d Oct 8, 2026
77343ac
service.md Spanish
arnaud4d Oct 8, 2026
a8f78ec
sso.md Spanish
arnaud4d Oct 8, 2026
06913a1
vss.md Spanish
arnaud4d Oct 8, 2026
46b0ddf
triggers.md Japanese
arnaud4d Oct 8, 2026
ae71d3d
user_interface.md Japanese
arnaud4d Oct 8, 2026
16067f1
users_and_groups.md Japanese
arnaud4d Oct 8, 2026
8949aaa
variables.md Japanese
arnaud4d Oct 8, 2026
c399241
web_area.md Japanese
arnaud4d Oct 8, 2026
cd91302
web_server.md Japanese
arnaud4d Oct 8, 2026
206fd29
web_services_client.md Japanese
arnaud4d Oct 8, 2026
52d7ddb
web_services_server.md Japanese
arnaud4d Oct 8, 2026
8713ee3
windows.md Japanese
arnaud4d Oct 8, 2026
5f67bfc
xml.md Japanese
arnaud4d Oct 8, 2026
3a81694
xml_dom.md Japanese
arnaud4d Oct 8, 2026
70d3167
xml_sax.md Japanese
arnaud4d Oct 8, 2026
c21f2f5
menus.md Japanese
arnaud4d Oct 8, 2026
ab56e86
overview.md Japanese
arnaud4d Oct 8, 2026
6ac3462
service.md Japanese
arnaud4d Oct 8, 2026
7d95b04
sso.md Japanese
arnaud4d Oct 8, 2026
5faa1d4
dataclassclass.md French
arnaud4d Oct 8, 2026
bfe504b
ai.md French
arnaud4d Oct 8, 2026
b8fb90a
backup.md French
arnaud4d Oct 8, 2026
2e70714
client-server.md French
arnaud4d Oct 8, 2026
e689b4d
compatibility.md French
arnaud4d Oct 8, 2026
a453130
compiler.md French
arnaud4d Oct 8, 2026
e2c16fe
database.md French
arnaud4d Oct 8, 2026
fb8cd73
general.md French
arnaud4d Oct 8, 2026
5a769de
interface.md French
arnaud4d Oct 8, 2026
9421562
overview.md French
arnaud4d Oct 8, 2026
3879e45
security.md French
arnaud4d Oct 8, 2026
a764614
sql.md French
arnaud4d Oct 8, 2026
c3d445a
web.md French
arnaud4d Oct 8, 2026
52666a2
ai.md Spanish
arnaud4d Oct 8, 2026
3982c96
backup.md Spanish
arnaud4d Oct 8, 2026
fb8dfec
client-server.md Spanish
arnaud4d Oct 8, 2026
4969df7
compatibility.md Spanish
arnaud4d Oct 8, 2026
5bab3f3
compiler.md Spanish
arnaud4d Oct 8, 2026
c7cad96
database.md Spanish
arnaud4d Oct 8, 2026
b4a712f
general.md Spanish
arnaud4d Oct 8, 2026
65cf183
interface.md Spanish
arnaud4d Oct 8, 2026
e5e0976
overview.md Spanish
arnaud4d Oct 8, 2026
14aea34
security.md Spanish
arnaud4d Oct 8, 2026
f030501
sql.md Spanish
arnaud4d Oct 8, 2026
b07e7ae
vss.md Japanese
arnaud4d Oct 8, 2026
6877075
ai.md Japanese
arnaud4d Oct 8, 2026
4a07111
backup.md Japanese
arnaud4d Oct 8, 2026
45f0ac4
client-server.md Japanese
arnaud4d Oct 8, 2026
10df772
compatibility.md Japanese
arnaud4d Oct 8, 2026
c1451d3
compiler.md Japanese
arnaud4d Oct 8, 2026
0bf3369
database.md Japanese
arnaud4d Oct 8, 2026
29af98f
general.md Japanese
arnaud4d Oct 8, 2026
f535153
interface.md Japanese
arnaud4d Oct 8, 2026
17f1782
overview.md Japanese
arnaud4d Oct 8, 2026
09d89d3
security.md Japanese
arnaud4d Oct 8, 2026
16c7b61
sql.md Japanese
arnaud4d Oct 8, 2026
6efb260
web.md Japanese
arnaud4d Oct 8, 2026
13edd33
webserverclass.md French
arnaud4d Oct 8, 2026
fb0d42d
combobox_overview.md French
arnaud4d Oct 8, 2026
714dc65
dropdownlist_overview.md French
arnaud4d Oct 8, 2026
fc33984
properties_backgroundandborder.md French
arnaud4d Oct 8, 2026
70516f2
properties_coordinatesandsizing.md French
arnaud4d Oct 8, 2026
af42bf0
properties_reference.md French
arnaud4d Oct 8, 2026
10b7cf7
quotamanagerclass.md French
arnaud4d Oct 8, 2026
19c78b5
quotas.md French
arnaud4d Oct 8, 2026
fef86b9
webserverclass.md Spanish
arnaud4d Oct 8, 2026
473015f
data-collect.md Spanish
arnaud4d Oct 8, 2026
2245ac2
createstylesheet.md Spanish
arnaud4d Oct 8, 2026
7f98f54
button_overview.md Spanish
arnaud4d Oct 8, 2026
55a69ef
checkbox_overview.md Spanish
arnaud4d Oct 8, 2026
d8ba7e2
properties_backgroundandborder.md Spanish
arnaud4d Oct 8, 2026
f168a18
properties_coordinatesandsizing.md Spanish
arnaud4d Oct 8, 2026
a9a2328
properties_reference.md Spanish
arnaud4d Oct 8, 2026
82f4467
radio_overview.md Spanish
arnaud4d Oct 8, 2026
3f9d8d8
creating.md Spanish
arnaud4d Oct 8, 2026
0f653b8
methods.md Spanish
arnaud4d Oct 8, 2026
52fc478
write-class-method.md Spanish
arnaud4d Oct 8, 2026
f98a565
quotamanagerclass.md Spanish
arnaud4d Oct 8, 2026
d575160
quotas.md Spanish
arnaud4d Oct 8, 2026
7e7401b
dataclassclass.md Japanese
arnaud4d Oct 8, 2026
61c7565
entityselectionclass.md Japanese
arnaud4d Oct 8, 2026
4b1d47a
webserverclass.md Japanese
arnaud4d Oct 8, 2026
fde1cad
log.md Japanese
arnaud4d Oct 8, 2026
b5ab80a
restore.md Japanese
arnaud4d Oct 8, 2026
a889e53
button_overview.md Japanese
arnaud4d Oct 8, 2026
7b5072f
checkbox_overview.md Japanese
arnaud4d Oct 8, 2026
052de85
input_overview.md Japanese
arnaud4d Oct 8, 2026
5c221f9
radio_overview.md Japanese
arnaud4d Oct 8, 2026
290b0a6
text.md Japanese
arnaud4d Oct 8, 2026
1aa3077
openaifilesapi.md Japanese
arnaud4d Oct 8, 2026
7bda2be
quotamanagerclass.md Japanese
arnaud4d Oct 8, 2026
94e8dcc
mirror.md Japanese
arnaud4d Oct 8, 2026
daae579
quotas.md Japanese
arnaud4d Oct 8, 2026
f21ba42
Merge branch 'l10n_main'
arnaud4d Oct 8, 2026
65c0077
system syntax 4d folder
arnaud4d Oct 8, 2026
06aa8fc
[i18n-bot] Automatic pt translations for 48dd7e28c09e22e8809c41591b92…
github-actions[bot] Oct 8, 2026
cb02833
[i18n-bot] Automatic pt translations for 65c0077373564c049cbc1214d5a3…
github-actions[bot] Oct 8, 2026
7871900
fixes after translations
arnaud4d Oct 8, 2026
3c9bdea
[i18n-bot] Automatic pt translations for 787190022ce7d15371f5e0a9d62c…
github-actions[bot] Oct 8, 2026
94a7635
records and selection on homepage
arnaud4d Oct 9, 2026
9667c7f
New Crowdin updates (#3477)
arnaud4d Oct 9, 2026
cb1ad2c
New Crowdin updates (#3478)
arnaud4d Oct 12, 2026
cdce6d6
added params (#3479)
arnaud4d Oct 12, 2026
97d07c9
Update updates.md
arnaud4d Oct 13, 2026
f78f60f
Feature/vector index (#3481)
arnaud4d Oct 14, 2026
04376f8
[i18n-bot] Automatic pt translations for f78f60f316f49fcb5c3c098487bc…
github-actions[bot] Oct 14, 2026
a773b10
legacy translations structure
arnaud4d Oct 14, 2026
5993a97
set get index translations
arnaud4d Oct 14, 2026
45f3950
fixed documentation in Explorer
arnaud4d Oct 14, 2026
e3df337
[i18n-bot] Automatic pt translations for 45f3950c98f6f4d1ea671057f5e4…
github-actions[bot] Oct 14, 2026
db28702
New Crowdin updates (#3484)
arnaud4d Oct 15, 2026
7b1611e
Restrict translation job to the doc4d/docs fork (#3485)
Copilot Oct 15, 2026
d713be3
added missing link
arnaud4d Oct 16, 2026
9f0beff
Feature/border color (#3486)
arnaud4d Oct 16, 2026
f0f2fe7
[i18n-bot] Automatic pt translations for d713be3407ef659452f6ee21ac0f…
github-actions[bot] Oct 16, 2026
573b790
[i18n-bot] Automatic pt translations for 9f0beff5e96f503ece1fdadea5aa…
github-actions[bot] Oct 16, 2026
fee032a
New Crowdin updates (#3489)
arnaud4d Oct 19, 2026
e5bae52
many small fixes in properties (#3490)
arnaud4d Oct 20, 2026
3762464
[i18n-bot] Automatic pt translations for e5bae52c1e060c3def801306e088…
github-actions[bot] Oct 20, 2026
2e60650
fix default value
arnaud4d Oct 20, 2026
d955685
Delete Portuguese auto-translation branches after merge (#3493)
Copilot Oct 20, 2026
ab95493
[i18n-bot] Automatic pt translations for 2e60650859934c25a27373cb860a…
github-actions[bot] Oct 21, 2026
92549f3
report en 21R5 et traductions toutes versions (#3494)
arnaud4d Oct 21, 2026
769057a
fix notes
arnaud4d Oct 21, 2026
53df4ba
Update updates.md
arnaud4d Oct 21, 2026
00dcc62
[i18n-bot] Automatic pt translations for 92549f3168c8efc1b968956b2a1c…
github-actions[bot] Oct 21, 2026
67b64e5
[i18n-bot] Automatic pt translations for 769057ad4938d6ec41f7b50829cf…
github-actions[bot] Oct 21, 2026
4250439
[i18n-bot] Automatic pt translations for 53df4ba19dd264be598098815add…
github-actions[bot] Oct 21, 2026
f887bbb
fix 20
arnaud4d Oct 21, 2026
ac5af97
thread safety OBs
arnaud4d Oct 22, 2026
5ecf740
New Crowdin updates (#3500)
arnaud4d Oct 22, 2026
3eebee9
[i18n-bot] Automatic pt translations for f887bbb865d44b894731dbace2fb…
github-actions[bot] Oct 22, 2026
4785440
fix in index page
arnaud4d Oct 22, 2026
d604179
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 22, 2026
626121a
[i18n-bot] Automatic pt translations for ac5af97c033238fb0eb489d149f0…
github-actions[bot] Oct 22, 2026
15e1fb7
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 22, 2026
364171c
Update dt_time.md
arnaud4d Oct 22, 2026
1a44585
[i18n-bot] Automatic pt translations for 15e1fb76540d3b2d3ca1602214df…
github-actions[bot] Oct 22, 2026
ebf37b7
[i18n-bot] Automatic pt translations for 364171ce34ea69ea3f429b1e275c…
github-actions[bot] Oct 22, 2026
ceac980
F-0147 [ai] Show function descriptions from prototype comments in cod…
lribardi Oct 24, 2026
0991871
Merge pull request #3505 from doc4d/ai/B-001-show-function-descriptio…
lribardi Oct 25, 2026
c6b2d7e
F-0146 [ai] Provide a native MCP server
lribardi Oct 25, 2026
f094001
F-0146 [ai] Provide a native MCP server
lribardi Oct 25, 2026
b9c1d05
Merge pull request #3507 from doc4d/ai/B-4521191813414913-provide-a-n…
lribardi Oct 25, 2026
7ae723c
New Crowdin updates (#3504)
arnaud4d Oct 26, 2026
e884540
Update homepageTiles.js
arnaud4d Oct 26, 2026
e6da787
picts
arnaud4d Oct 26, 2026
4fddd0a
added info on permission
arnaud4d Oct 26, 2026
8916a90
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 26, 2026
aced2cb
New Crowdin updates (#3511)
arnaud4d Oct 27, 2026
a83a879
[i18n-bot] Automatic pt translations for 8916a907caaf277958d6d7deb849…
github-actions[bot] Oct 27, 2026
22b0ffb
fixes
arnaud4d Oct 27, 2026
34335ab
Fix/privileges claude (#3512)
arnaud4d Oct 30, 2026
0bcc423
[i18n-bot] Automatic pt translations for 34335abee05693b098f34b115401…
github-actions[bot] Oct 30, 2026
c2f7531
[i18n-bot] Automatic pt translations for 22b0ffba79cf918b37279132bd8a…
github-actions[bot] Oct 30, 2026
a98b2ad
New Crowdin updates (#3517)
arnaud4d Nov 2, 2026
cd731a1
fixes in R5
arnaud4d Nov 2, 2026
4b04a56
[i18n-bot] Automatic pt translations for cd731a1ba4edccd287ea25a224f4…
github-actions[bot] Nov 2, 2026
ece0dbd
Docs/standard actions crosstable (#3519)
arnaud4d Nov 3, 2026
9d81d1f
fixes and link fix
arnaud4d Nov 3, 2026
79ebb2e
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Nov 3, 2026
f29d6b1
[i18n-bot] Automatic pt translations for ece0dbd8894c6690a2499d2dc9c0…
github-actions[bot] Nov 3, 2026
c5c4ba4
[i18n-bot] Automatic pt translations for 79ebb2effcafcb42bf5aa68d5b8c…
github-actions[bot] Nov 3, 2026
9d4edf8
New Crowdin updates (#3523)
arnaud4d Nov 4, 2026
f39e138
Feature/embedding studio (#3524)
arnaud4d Nov 4, 2026
0ea8352
removed .gitignore from embedding studio
arnaud4d Nov 4, 2026
a4ce81b
added command numbers
arnaud4d Nov 4, 2026
b965c6d
[i18n-bot] Automatic pt translations for a4ce81b924a97b4733e516296c3c…
github-actions[bot] Nov 4, 2026
7aba015
Merge branch 'main' into main
arnaud4d Nov 4, 2026
bdbdf76
Update homepageTiles.js
arnaud4d Nov 4, 2026
4fb1153
fixes
arnaud4d Nov 5, 2026
ca5e0f3
[i18n-bot] Automatic pt translations for 7aba015bfacf73af1cffcb7cbf10…
github-actions[bot] Nov 5, 2026
e97c03b
added link to embedding studio
arnaud4d Nov 5, 2026
fd4aa55
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Nov 5, 2026
09ba30a
[i18n-bot] Automatic pt translations for 4fb1153bed4556479609cbbae56f…
github-actions[bot] Nov 5, 2026
defdc7b
Update button_overview.md
arnaud4d Nov 5, 2026
45c42fc
Update button_overview.md
arnaud4d Nov 5, 2026
d788e12
[i18n-bot] Automatic pt translations for fd4aa559eb65b1473b87f90782d5…
github-actions[bot] Nov 5, 2026
e8738f3
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Nov 5, 2026
5ede2d5
Fix/thread safety (#3533)
arnaud4d Nov 5, 2026
5ec36d2
[i18n-bot] Automatic pt translations for defdc7b0c5148c77b03608502cd9…
github-actions[bot] Nov 5, 2026
77068a5
[i18n-bot] Automatic pt translations for e8738f35ef8933111069a7712bf8…
github-actions[bot] Nov 5, 2026
1133ff1
[i18n-bot] Automatic pt translations for 5ede2d531211837d766b30312ce1…
github-actions[bot] Nov 6, 2026
4d4519f
New Crowdin updates (#3535)
arnaud4d Nov 6, 2026
c8f3ffc
New Crowdin updates (#3536)
arnaud4d Nov 9, 2026
c52fa32
fix(ViewPro): correct page titles, ids and REF tags (#3538)
e-marchand Nov 9, 2026
b0dfe33
[i18n-bot] Automatic pt translations for c52fa32203d02fb7c052fa2ddfa4…
github-actions[bot] Nov 9, 2026
e78f3e1
fixes related to translation fixes
arnaud4d Nov 9, 2026
2761c83
embedding studio rate limiting moved in sidebars
arnaud4d Nov 10, 2026
88b3f78
[i18n-bot] Automatic pt translations for e78f3e11f643afee5b46bae1b62b…
github-actions[bot] Nov 10, 2026
e57a167
Update Crowdin configuration file
arnaud4d Nov 10, 2026
d22e187
Merge branch 'main' into main
arnaud4d Nov 10, 2026
89e4c4e
Update updates.md
arnaud4d Nov 12, 2026
f47a509
[i18n-bot] Automatic pt translations for 89e4c4e12e74f0ffbd30582e5a85…
github-actions[bot] Nov 12, 2026
7bfa2c9
more precision on samesite and onhttpget (#3544)
arnaud4d Nov 12, 2026
9291038
added info note on create entity selection
arnaud4d Nov 12, 2026
1b38ae7
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Nov 12, 2026
292917e
[i18n-bot] Automatic pt translations for 1b38ae7d2ae1059af498a8dbf4cc…
github-actions[bot] Nov 12, 2026
f5d12c9
Update formObjects_overview.md
arnaud4d Nov 12, 2026
8e16982
Update formObjects_overview.md
arnaud4d Nov 12, 2026
14fd88b
fix: align MCP syntaxes with the 4D runtime [ai]
e-marchand Nov 12, 2026
3ce76be
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Nov 12, 2026
d9ac6a4
Update formObjects_overview.md
arnaud4d Nov 12, 2026
07a5737
fix: make generateFineGrainedToken expiry optional in syntax [ai]
e-marchand Nov 12, 2026
b21c94a
moved warning down
arnaud4d Nov 12, 2026
e633aaa
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Nov 12, 2026
cfe12a0
fixes from Keizuke
arnaud4d Nov 12, 2026
4125d04
[i18n-bot] Automatic pt translations for 14fd88bd746d5a6f5fdf1e44d30c…
github-actions[bot] Nov 12, 2026
d5796a3
[i18n-bot] Automatic pt translations for d9ac6a4984f488aadcadac81ddfa…
github-actions[bot] Nov 12, 2026
b675470
[i18n-bot] Automatic pt translations for e633aaacde8a0aea65657f9cf6aa…
github-actions[bot] Nov 12, 2026
d3e175a
[i18n-bot] Automatic pt translations for cfe12a0fc64142f1cac992e5a9b0…
github-actions[bot] Nov 12, 2026
223c6a0
New Crowdin updates (#3551)
arnaud4d Nov 16, 2026
33b20b3
[i18n-bot] Automatic pt translations for 07a5737089ad1ef0b46a4fdf02a0…
github-actions[bot] Nov 16, 2026
c2e2e1b
fixes in collection and VP duplicate anchor
arnaud4d Nov 16, 2026
537a16d
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Nov 16, 2026
554cf16
[i18n-bot] Automatic pt translations for 537a16dc968129c681e7849f9a7e…
github-actions[bot] Nov 16, 2026
666b3ba
Merge branch 'main' into main
arnaud4d Nov 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/API/CollectionClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ By default, *col2* elements are added at the end of the orginal collection. You
var $c; $fruits : Collection
$c:=New collection(1;2;3;4;5;6)
$fruits:=New collection("Orange";"Banana";"Apple";"Grape")
$c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6]
$c.combine($fruits;3) //$c=[1,2,3,"Orange","Banana","Apple","Grape",4,5,6]
```

<!-- END REF -->
Expand Down
14 changes: 10 additions & 4 deletions docs/API/DataStoreClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ ds.unlock() //Our copy is over, we can now unlock the datastore

</details>

<!-- REF #DataStoreClass.generateFineGrainedToken().Syntax -->**.generateFineGrainedToken**( *privilege* : Text ; *name* : Text ; *expiry* : Date {; *info* : Object} ) : Object<br/>**.generateFineGrainedToken**( *privileges* : Collection ; *name* : Text ; *expiry* : Date {; *info* : Object} ) : Object<br/>**.generateFineGrainedToken**( *settings* : Object ; *name* : Text ; *expiry* : Date {; *info* : Object} ) : Object<!-- END REF -->
<!-- REF #DataStoreClass.generateFineGrainedToken().Syntax -->**.generateFineGrainedToken**( *privilege* : Text ; *name* : Text {; *expiry* : Date {; *info* : Object}} ) : Object<br/>**.generateFineGrainedToken**( *privileges* : Collection ; *name* : Text {; *expiry* : Date {; *info* : Object}} ) : Object<br/>**.generateFineGrainedToken**( *settings* : Object ; *name* : Text {; *expiry* : Date {; *info* : Object}} ) : Object<!-- END REF -->


<!-- REF #DataStoreClass.generateFineGrainedToken().Params -->
Expand Down Expand Up @@ -347,7 +347,7 @@ Unlike `Session.setPrivileges()`, a name that is not declared in the [`roles.jso

In *name*, pass a name that identifies the token, for example the user and the client that will use it. It is the user name of the MCP sessions opened with the token.

In *expiry*, pass the expiration date of the token. It is required, and it must be later than the current date and at most 366 days ahead.
In *expiry*, pass the expiration date of the token. It must be later than the current date and at most 366 days ahead. If *expiry* is omitted, an error is raised.

In *info*, you can pass an object that 4D stores with the token as is, and passes to the [`ds.mcpAuthenticated()`](../ORDA/ordaClasses.md#function-mcpauthenticated) function when an MCP session is opened with the token. Since it cannot be modified later, store stable identifiers (such as a user ID) and read the current values in `ds.mcpAuthenticated()`. Build *info* from the authenticated session, never from values sent by the client.

Expand Down Expand Up @@ -987,7 +987,7 @@ If no *curPassphrase* or *curDataKey* is given, `.provideDataKey()` returns **nu

</details>

<!-- REF #DataStoreClass.revokeFineGrainedToken().Syntax -->**.revokeFineGrainedToken**( *id* : Text )<br/>**.revokeFineGrainedToken**( *tokenObj* : Object )<!-- END REF -->
<!-- REF #DataStoreClass.revokeFineGrainedToken().Syntax -->**.revokeFineGrainedToken**( *id* : Text ) : Boolean<br/>**.revokeFineGrainedToken**( *tokenObj* : Object ) : Boolean<!-- END REF -->


<!-- REF #DataStoreClass.revokeFineGrainedToken().Params -->
Expand All @@ -997,6 +997,7 @@ If no *curPassphrase* or *curDataKey* is given, `.provideDataKey()` returns **nu
|---|---|---|---|
|id|Text|&#8594;|Identifier of the token to revoke|
|tokenObj|Object|&#8594;|Object with a `token` property containing the token to revoke|
|Result|Boolean|&#8592;|True if the token was revoked|
</div>
<!-- END REF -->

Expand All @@ -1009,6 +1010,8 @@ You designate the token:
- in the *id* parameter, with its identifier (returned by [`.generateFineGrainedToken()`](#generatefinegrainedtoken) and [`.listFineGrainedTokens()`](#listfinegrainedtokens)),
- or in the *tokenObj* parameter, with an object whose `token` property contains the token itself (`"4dfgt_..."`), for example to let the holder of a token revoke it.

The function returns **True** if the token was revoked, **False** otherwise (for example if the token does not exist or was already revoked).

The token stops working at the next request, and the MCP sessions opened with it are closed. [Binary URLs](../WebServer/mcp-server.md#binary-attributes) already returned to the client remain valid until they expire (10 minutes at most).

When the function is called in a web context (code executed for a web or REST request), it can only revoke a token whose privileges are all held by the current session.
Expand Down Expand Up @@ -1041,7 +1044,7 @@ End if

</details>

<!-- REF #DataStoreClass.revokeOAuthGrant().Syntax -->**.revokeOAuthGrant**( *id* : Text )<!-- END REF -->
<!-- REF #DataStoreClass.revokeOAuthGrant().Syntax -->**.revokeOAuthGrant**( *id* : Text ) : Boolean<!-- END REF -->


<!-- REF #DataStoreClass.revokeOAuthGrant().Params -->
Expand All @@ -1050,13 +1053,16 @@ End if
|Parameter|Type||Description|
|---|---|---|---|
|id|Text|&#8594;|Identifier of the grant to revoke|
|Result|Boolean|&#8592;|True if the grant was revoked|
</div>
<!-- END REF -->

#### Description

The `.revokeOAuthGrant()` function <!-- REF #DataStoreClass.revokeOAuthGrant().Summary -->revokes a grant given to a user through the OAuth mode of the MCP server<!-- END REF --> (see [`.listOAuthGrants()`](#listoauthgrants)).

The function returns **True** if the grant was revoked, **False** otherwise (for example if the grant does not exist or was already revoked).

The access tokens of the grant get an HTTP 401 status from the next request, its refresh token is refused, and its MCP sessions are closed. The user must log in again from the MCP client.

When the function is called in a web context (code executed for a web or REST request), it can only revoke a grant whose privileges are all held by the current session.
Expand Down
10 changes: 6 additions & 4 deletions docs/API/MCPContextClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ End if
<!-- REF mcpcontext.error().Desc -->
## .error()

<!-- REF #MCPContextClass.error().Syntax -->**.error**( *message* : Text )<!-- END REF -->
<!-- REF #MCPContextClass.error().Syntax -->**.error**( { *message* : Text } )<!-- END REF -->

<!-- REF #MCPContextClass.error().Params -->
<div class="no-index">
Expand All @@ -131,7 +131,7 @@ End if

#### Description

The `.error()` function <!-- REF #MCPContextClass.error().Summary -->makes the current tool call return an error result with *message*<!-- END REF -->. The result has `isError: true`, and the value returned by the function is ignored.
The `.error()` function <!-- REF #MCPContextClass.error().Summary -->makes the current tool call return an error result with *message*<!-- END REF -->. The result has `isError: true`, and the value returned by the function is ignored. If *message* is omitted, the error message is empty.

`.error()` does not stop the execution of the function: call `return` after it if needed.

Expand All @@ -156,22 +156,24 @@ exposed MCP Function refund($amount : Real) : Text
<!-- REF mcpcontext.hasInput().Desc -->
## .hasInput()

<!-- REF #MCPContextClass.hasInput().Syntax -->**.hasInput**( *name* : Text ) : Boolean<!-- END REF -->
<!-- REF #MCPContextClass.hasInput().Syntax -->**.hasInput**( { *name* : Text } ) : Boolean<!-- END REF -->

<!-- REF #MCPContextClass.hasInput().Params -->
<div class="no-index">

|Parameter|Type||Description|
|---|---|---|---|
|name|Text|&#8594;|Name of a field requested with `.requireInput()`|
|Result|Boolean|&#8592;|True if the user answered this field|
|Result|Boolean|&#8592;|True if the user answered this field (or any field if *name* is omitted)|
</div>
<!-- END REF -->

#### Description

The `.hasInput()` function <!-- REF #MCPContextClass.hasInput().Summary -->returns **True** if the current call contains a verified answer of the user for the *name* field<!-- END REF -->.

If *name* is omitted or empty, `.hasInput()` returns **True** if the current call contains a verified answer of the user for at least one field.

The answer is verified when the client calls the tool again with the answers and a valid `requestState`: signed by 4D for the same token, tool, arguments, and fields, less than 10 minutes ago, and since the MCP server was last enabled. Otherwise, `.hasInput()` returns **False**.

Outside an MCP tool call, `.hasInput()` returns **False**.
Expand Down
2 changes: 1 addition & 1 deletion docs/API/WebServerClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ The <!-- REF #WebServerClass.sessionCookieSameSite.Summary -->"SameSite" session
|Constant|Value|Description|
|---|---|---|
|Web SameSite Strict|"Strict"|*Default value* - Cookies are only sent in a first-party context|
|Web SameSite Lax|"Lax"|Cookies are also sent on cross-site subrequests but only when a user is navigating to the origin site (i.e. when following a link).|
|Web SameSite Lax|"Lax"|Cookies are not sent with requests coming from other websites (images, frames, forms, scripts), except when the user navigates to the site from another website with a GET request (following a link, redirection).|
|Web SameSite None|"None"|Cookies are sent in all contexts, i.e in responses to both first-party and cross-origin requests.

See the [Session Cookie SameSite](WebServer/webServerConfig.md#session-cookie-samesite) description for detailed information.
Expand Down
6 changes: 3 additions & 3 deletions docs/Notes/updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ Read [**What’s new in 4D 21 R2**](https://blog.4d.com/whats-new-in-4d-21-r2/),
|ICU|77.1|21|This upgrade forces an automatic rebuild of alphanumeric, text and object indexes.|
|libldap|2.6.10|21||
|libsasl|2.1.28|20||
|Libuv |1.53.0|**21 R5**|Used for QUIC|
|Libuv |1.53.0|21 R5|Used for QUIC|
|libZip|1.11.4|21|Used by zip class, 4D Write Pro, svg and serverNet components|
|LZMA|5.8.1|21||
|ngtcp2|1.24.0|21 R4|Used for QUIC|
|OpenSSL|4.0.3|**21 R5**||
|ngtcp2|1.26.0|**21 R6**|Used for QUIC|
|OpenSSL|4.0.3|21 R5||
|PDFWriter|4.7.0|21|Used for [`WP Export document`](../WritePro/commands/wp-export-document.md) and [`WP Export variable`](../WritePro/commands/wp-export-variable.md) |
|SpreadJS|18.2.0|21 R2|See [this blog post](https://blog.4d.com/4d-view-pro-whats-new-in-4d-21-r2/) for an overview of the new features|
|webKit|WKWebView|19||
Expand Down
6 changes: 4 additions & 2 deletions docs/ORDA/ordaClasses.md
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ $status:=$remoteDS.Schools.registerNewStudent($student) // OK
$id:=$remoteDS.Schools.computeIDNumber() // Error "Unknown member method"
```

## onHTTPGet keyword
## `onHTTPGet` keyword

Use the `onHTTPGet` keyword to declare functions that can be called through HTTP requests using the `GET` verb. Such functions can return any web contents, for example using the [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) class.

Expand All @@ -1089,7 +1089,9 @@ The `exposed` keyword must also be added in this case, otherwise an error will b

:::caution

As this type of call is an easy offered action, the developer must ensure no sensitive action is done in such functions.
`onHTTPGet` lets the function also be called with GET, for example by following a link. Depending on the session cookie's [`SameSite` value](../WebServer/webServerConfig.md#session-cookie-samesite), a link on another website can then send a request that runs in the session of the user logged in to your application.

Use `onHTTPGet` only for functions that read and return content, such as a file to download, a picture or a report. Do not use `onHTTPGet` for a function that changes anything (i.e. that creates, modifies or deletes data, issues or revokes credentials, sends a message).

:::

Expand Down
6 changes: 5 additions & 1 deletion docs/REST/ClassFunctions.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ See [Exposed vs non-exposed functions](../ORDA/ordaClasses.md#exposed-vs-non-exp

### `onHTTPGet`

Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). For example:
Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). Functions declared with `exposed` alone can only be called with `POST`.

Declare with `onHTTPGet` only functions that read and return content: depending on the session cookie's [`SameSite` value](../WebServer/webServerConfig.md#session-cookie-samesite), a link on another website can send a request that runs in the session of a logged-in user (see the caution in [`onHTTPGet` keyword section](../ORDA/ordaClasses.md#onhttpget-keyword)).

For example:

```4d
//allowing GET requests
Expand Down
2 changes: 1 addition & 1 deletion docs/ViewPro/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ Watermark attributes are used to superimpose text or an image onto the 4D View P

\* If using text type, pass the filepath (absolute or relative) of the image. If you pass a relative path, the file should be located next to the database structure file. In Windows, the file extension must be indicated. No matter the type used to set an image, the image itself (not a reference) is stored in the 4D View Pro area and is returned by [VP Get print info](commands/vp-get-print-info.md).

## Style Objects {#style-objects} {#style-objects}
## Style Objects {#style-objects}

4D View Pro style objects and style sheets allow you to control the graphical aspects and the look of your 4D View Pro documents.

Expand Down
11 changes: 6 additions & 5 deletions docs/WebServer/webServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ title: Web Server

4D in local mode and 4D Server include a web server engine (aka http server) that enables you to design and publish powerful web applications that can make the most of your 4D databases.

:::warning Deprecated feature

Using the web server on a remote 4D (4D client) is **deprecated** as of 4D 21. It is no longer recommended to use this feature.

:::

## Easy Monitoring

Expand Down Expand Up @@ -67,3 +62,9 @@ The 4D web server supports access to data stored in your 4D applications through

`On Web Authentication`, `On Web Connection`, as well as `On REST Authentication` database methods are the entry points of requests in the web server; they can be used to evaluate and route any type of request.


:::warning Deprecated feature

Using the web server on a remote 4D (4D client) is **deprecated** as of 4D 21. It is no longer recommended to use this feature.

:::
25 changes: 21 additions & 4 deletions docs/WebServer/webServerConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -617,14 +617,31 @@ Value of the `SameSite` attribute value of the session cookie. This attribute al

Three values are available:

- "Strict" (default `SameSite` attribute value for 4D session cookies): cookies will only be sent in the first-party context, i.e. context matching the domain of the current site, and never to third-party websites.
- "Lax": Cookies are not sent on cross-site subrequests (for example to load images or frames into a third-party site), but are sent when a user is navigating to the origin site (i.e. they follow a link).
- "Strict" (default `SameSite` attribute value for 4D session cookies): the session cookie is only sent with requests coming from pages of the same site, and never with requests coming from other websites. A "site" is a domain with all its subdomains, with the same scheme: `https://app.example.com` and `https://blog.example.com` are the same site, `http://app.example.com` is another one.
- "Lax": Cookies are not sent on cross-site subrequests (for example to load images or frames into a third-party site), but are sent when a user is navigating to the origin site with a GET request (i.e. they follow a link).
- "None": Cookies are sent in all contexts, i.e in responses to both first-party and cross-origin requests. When "None" value is used, the cookie `Secure` attribute must also be set (or the cookie will be blocked).

The `Secure` attribute value of the session cookie is automatically set to "True" if the connection is HTTPS (whatever the `SameSite` attribute value).
#### Effect on exposed functions

> It is not recommended to set `SameSite=None` on a HTTP server since the `Secure` attribute will be missing (used in HTTPS only) and cookies will be blocked.
Any web page open in a user's browser can make that browser send requests to your application. If the user has opened a 4D web session in the same browser, the `SameSite` value determines whether these requests carry the 4D session cookie:
- with the cookie, the request runs in the user's session. This can be intended (from an intranet portal, for example), but a malicious website can use it to act on behalf of the user (cross-site request forgery, CSRF);
- without the cookie, the request runs as a guest.

In both cases, the function is executed only if the privileges of that session allow it.

|Request from another website to|"Strict"|"Lax"|"None"|
|---|---|---|---|
|an [exposed](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) function (POST only)|Runs as a guest|Runs as a guest|Runs in the user's session (form, script)|
|an exposed [onHTTPGet](../ORDA/ordaClasses.md#onhttpget-keyword) function (GET and POST)|Runs as a guest|Runs in the user's session through a link or a redirection; as a guest otherwise|Runs in the user's session (link, redirection, image, form, script)|


:::note Notes

- Keep in mind that a site includes its subdomains. Whatever the `SameSite` value, requests sent by pages of another application on your site (for example https://blog.example.com for https://app.example.com) run in the user's session.
- Use "None" only if your application must be used inside another website (for example in a frame), and check that each exposed function can safely run in the user's session when another website requests it.
- The `Secure` attribute value of the session cookie is automatically set to "True" if the connection is HTTPS (whatever the `SameSite` attribute value). It is not recommended to set `SameSite=None` on a HTTP server since the `Secure` attribute will be missing (used in HTTPS only) and cookies will be blocked.

:::


## Use preemptive processes
Expand Down
4 changes: 2 additions & 2 deletions docs/language-legacy/4D Environment/set-database-parameter.md
Original file line number Diff line number Diff line change
Expand Up @@ -812,9 +812,9 @@ Refer to example 2.

**Kept between two sessions**: No

**Possible values**: Positive integer. Default value = 15, minimum value = 1.
**Possible values**: Positive integer. Default value = 900, minimum value = 60.

**Description**: Timeout in minutes for client/server sessions in the event of an unexpected disconnection from the QUIC network layer. This timeout is the period of time allowed for a session during which the connection between the server and the client can be automatically reestablished following an unintended disconnection. If, at the end of this timeout, the connection has not been reestablished.
**Description**: Timeout in seconds for client/server sessions in the event of an unexpected disconnection from the QUIC network layer. This timeout is the period of time allowed for a session during which the connection between the server and the client can be automatically reestablished following an unintended disconnection. If, at the end of this timeout, the connection has not been reestablished, the client session is closed with a message.

This setting can only be set on 4D Server and applies to all new 4D remote sessions (existing sessions timeout value is untouched).

Expand Down
2 changes: 1 addition & 1 deletion docs/language-legacy/Forms/form-get-current-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ displayed_sidebar: docs

<!--REF #_command_.FORM Get current page.Summary-->The **FORM Get current page** command returns the number of the currently displayed form page or of the current form loaded by the [FORM LOAD](../commands/form-load) command.<!-- END REF-->

The *\** parameter is useful when the command is called in the context of a page type subform containing several pages. In this case, when you pass this parameter, the command changes the page of the current subform (the one that called the command). By default, when the *\** parameter is omitted, the command is always applied to the parent form.
The *\** parameter is useful when the command is called in the context of a page type subform containing several pages. In this case, when you pass this parameter, the command returns the page number of the current subform (the one that called the command). By default, when the *\** parameter is omitted, the command is always applied to the parent form.

## Example

Expand Down
Loading