From 535e920a0964321b496722ae82cc78bbd1826077 Mon Sep 17 00:00:00 2001 From: CF Mitrah Date: Thu, 13 May 2021 19:41:28 +0530 Subject: [PATCH 01/13] Added some examples and improved the pages at 13-05-2021 --- .../01.functions/cacheget/_examples.md | 13 +++++++++---- .../02.tags/dump/_attributes/metainfo.md | 2 +- docs/03.reference/02.tags/file/_examples.md | 13 +++++++++++++ .../02.tags/function/_attributes/returnType.md | 18 +++++++++++++++++- docs/03.reference/02.tags/wddx/_examples.md | 18 +++++++++++++++++- docs/04.guides/13.Various/39.cfadmin/page.md | 8 ++++++++ 6 files changed, 65 insertions(+), 7 deletions(-) diff --git a/docs/03.reference/01.functions/cacheget/_examples.md b/docs/03.reference/01.functions/cacheget/_examples.md index 30081968d..3f199aa05 100644 --- a/docs/03.reference/01.functions/cacheget/_examples.md +++ b/docs/03.reference/01.functions/cacheget/_examples.md @@ -1,5 +1,10 @@ -```luceescript+trycf - cachePut(id:'abc', value:'123',timeSpan:CreateTimeSpan(0,0,0,1),cacheName:'fruits'); - getcache = cacheGet(id:'abc',cacheName:'fruits'); - writeDump(getcache); + + +```lucee + + cachePut(id:'abc', value:'123',timeSpan:CreateTimeSpan(0,0,0,1),cacheName:'fruits'); + getcache = cacheGet(id:'abc',cacheName:'fruits'); + writeDump(getcache); + + ``` \ No newline at end of file diff --git a/docs/03.reference/02.tags/dump/_attributes/metainfo.md b/docs/03.reference/02.tags/dump/_attributes/metainfo.md index 52b8acf8f..f167e9ad3 100644 --- a/docs/03.reference/02.tags/dump/_attributes/metainfo.md +++ b/docs/03.reference/02.tags/dump/_attributes/metainfo.md @@ -1 +1 @@ -Includes information about the query in the cfdump results. \ No newline at end of file +(default:true) Includes information about the query in the cfdump results . \ No newline at end of file diff --git a/docs/03.reference/02.tags/file/_examples.md b/docs/03.reference/02.tags/file/_examples.md index 259872f62..3578021fb 100644 --- a/docs/03.reference/02.tags/file/_examples.md +++ b/docs/03.reference/02.tags/file/_examples.md @@ -1,5 +1,12 @@ ### Tag examples +### File Upload + +```lucee + + +``` + ### File Write ```lucee @@ -40,6 +47,12 @@ ### Script Examples +### File Upload + +```luceescript +fileupload(getTempDirectory(),"form.fileData"," ","makeunique"); +``` + ### File Write ```luceescript diff --git a/docs/03.reference/02.tags/function/_attributes/returnType.md b/docs/03.reference/02.tags/function/_attributes/returnType.md index ad8d8b2c6..369649de8 100644 --- a/docs/03.reference/02.tags/function/_attributes/returnType.md +++ b/docs/03.reference/02.tags/function/_attributes/returnType.md @@ -1 +1,17 @@ -String; a type name; data type of the function return value \ No newline at end of file +String; a type name; data type of the function return value + +- any +- array +- binary +- boolean +- date +- guid +- numeric +- query +- string +- struct +- UUID +- variablename +- void +- xml +- (component name) \ No newline at end of file diff --git a/docs/03.reference/02.tags/wddx/_examples.md b/docs/03.reference/02.tags/wddx/_examples.md index 48da06280..b191736be 100644 --- a/docs/03.reference/02.tags/wddx/_examples.md +++ b/docs/03.reference/02.tags/wddx/_examples.md @@ -1 +1,17 @@ -*There are currently no examples for this tag.* +```lucee+trycf + + + + + + + + + + + + + + + +``` \ No newline at end of file diff --git a/docs/04.guides/13.Various/39.cfadmin/page.md b/docs/04.guides/13.Various/39.cfadmin/page.md index 9d9d9fbed..25899beb5 100644 --- a/docs/04.guides/13.Various/39.cfadmin/page.md +++ b/docs/04.guides/13.Various/39.cfadmin/page.md @@ -15,6 +15,7 @@ Attribute name | Description _ type | Application type for installable Lucee extensions access_read | Defines the general access to the Lucee configuration read access_write | Defines the general access to the Lucee configuration write +action | Defines the action to be performed by the tag allowed_alter | Database connection property allowed_create | Database connection property allowed_delete | Database connection property @@ -226,6 +227,7 @@ getTLDs | | getUpdate | | hasPassword | | index | | +PurgeDebugPool | Purge all the debug logs removeCFX | | removeCustomTag | | removeDatasource | Removes an datasource from the current context @@ -538,6 +540,12 @@ Below you will find all the actions sorted alphabetically embedded in examples f password="password" returnVariable="proxy"> + + Date: Thu, 13 May 2021 20:06:13 +0530 Subject: [PATCH 02/13] Removed the extra blank lines --- docs/03.reference/01.functions/cacheget/_examples.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/03.reference/01.functions/cacheget/_examples.md b/docs/03.reference/01.functions/cacheget/_examples.md index 3f199aa05..679d02e41 100644 --- a/docs/03.reference/01.functions/cacheget/_examples.md +++ b/docs/03.reference/01.functions/cacheget/_examples.md @@ -1,5 +1,3 @@ - - ```lucee cachePut(id:'abc', value:'123',timeSpan:CreateTimeSpan(0,0,0,1),cacheName:'fruits'); @@ -7,4 +5,4 @@ writeDump(getcache); -``` \ No newline at end of file +``` From d911073dd3ec02d1f010de6089a6b93e28a1c074 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Thu, 13 May 2021 20:19:39 +0530 Subject: [PATCH 03/13] Update _examples.md --- docs/03.reference/01.functions/cacheget/_examples.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/03.reference/01.functions/cacheget/_examples.md b/docs/03.reference/01.functions/cacheget/_examples.md index 679d02e41..75d015333 100644 --- a/docs/03.reference/01.functions/cacheget/_examples.md +++ b/docs/03.reference/01.functions/cacheget/_examples.md @@ -4,5 +4,4 @@ getcache = cacheGet(id:'abc',cacheName:'fruits'); writeDump(getcache); - ``` From 4ed861356a1ad5542a8c7ef4ebd9589b79c82fe3 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Thu, 13 May 2021 20:26:45 +0530 Subject: [PATCH 04/13] Update page.md --- docs/04.guides/13.Various/39.cfadmin/page.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/04.guides/13.Various/39.cfadmin/page.md b/docs/04.guides/13.Various/39.cfadmin/page.md index 25899beb5..aadedd1b4 100644 --- a/docs/04.guides/13.Various/39.cfadmin/page.md +++ b/docs/04.guides/13.Various/39.cfadmin/page.md @@ -13,9 +13,9 @@ So normally the basic three attributes for the tag are action, type an Attribute name | Description -------------- | ----------------- _ type | Application type for installable Lucee extensions -access_read | Defines the general access to the Lucee configuration read -access_write | Defines the general access to the Lucee configuration write -action | Defines the action to be performed by the tag +access_read | Defines the general access to the Lucee configuration read +access_write | Defines the general access to the Lucee configuration write +action | Defines the action to be performed by the tag allowed_alter | Database connection property allowed_create | Database connection property allowed_delete | Database connection property From 9e445ebba3dedaf36e6d8fabe8931159342175d3 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Thu, 13 May 2021 20:28:20 +0530 Subject: [PATCH 05/13] Update _examples.md --- docs/03.reference/02.tags/wddx/_examples.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/03.reference/02.tags/wddx/_examples.md b/docs/03.reference/02.tags/wddx/_examples.md index b191736be..ab84a6330 100644 --- a/docs/03.reference/02.tags/wddx/_examples.md +++ b/docs/03.reference/02.tags/wddx/_examples.md @@ -13,5 +13,4 @@ - -``` \ No newline at end of file +``` From e1d2b6382868002ab6245e7c0b3c543bef246645 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Thu, 13 May 2021 20:30:39 +0530 Subject: [PATCH 06/13] Update _examples.md --- docs/03.reference/02.tags/file/_examples.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/03.reference/02.tags/file/_examples.md b/docs/03.reference/02.tags/file/_examples.md index 3578021fb..e36311568 100644 --- a/docs/03.reference/02.tags/file/_examples.md +++ b/docs/03.reference/02.tags/file/_examples.md @@ -4,21 +4,18 @@ ```lucee - ``` ### File Write ```lucee - ``` ### File Read ```lucee - ``` ### File Rename @@ -87,4 +84,4 @@ filecopy(source="#expandPath("./myNewFileName.txt")#",destination="#expandPath(" ```luceescript filedelete(source="#expandPath("./myFile.txt")#"); -``` \ No newline at end of file +``` From 8dcaec002adbd8e30b9d2616c84dc4f5155eafc0 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Thu, 10 Jun 2021 19:55:38 +0530 Subject: [PATCH 07/13] Update docs/03.reference/02.tags/dump/_attributes/metainfo.md Co-authored-by: John Bampton --- docs/03.reference/02.tags/dump/_attributes/metainfo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/03.reference/02.tags/dump/_attributes/metainfo.md b/docs/03.reference/02.tags/dump/_attributes/metainfo.md index f167e9ad3..b2cf1dedd 100644 --- a/docs/03.reference/02.tags/dump/_attributes/metainfo.md +++ b/docs/03.reference/02.tags/dump/_attributes/metainfo.md @@ -1 +1 @@ -(default:true) Includes information about the query in the cfdump results . \ No newline at end of file +(default:true) Includes information about the query in the cfdump results. From 88773893410ded3b4c51f6d6b40cf7b20da8b1b1 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Thu, 10 Jun 2021 19:55:54 +0530 Subject: [PATCH 08/13] Update docs/04.guides/13.Various/39.cfadmin/page.md Co-authored-by: John Bampton --- docs/04.guides/13.Various/39.cfadmin/page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/04.guides/13.Various/39.cfadmin/page.md b/docs/04.guides/13.Various/39.cfadmin/page.md index aadedd1b4..26d19605a 100644 --- a/docs/04.guides/13.Various/39.cfadmin/page.md +++ b/docs/04.guides/13.Various/39.cfadmin/page.md @@ -16,7 +16,7 @@ Attribute name | Description access_read | Defines the general access to the Lucee configuration read access_write | Defines the general access to the Lucee configuration write action | Defines the action to be performed by the tag -allowed_alter | Database connection property +allowed_alter | Database connection property allowed_create | Database connection property allowed_delete | Database connection property allowed_drop | Database connection property From 41f582f3602b87b7f67fc7a49aef6fdc170fed4b Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Fri, 1 Oct 2021 19:09:32 +0530 Subject: [PATCH 09/13] Update _examples.md --- docs/03.reference/02.tags/wddx/_examples.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/03.reference/02.tags/wddx/_examples.md b/docs/03.reference/02.tags/wddx/_examples.md index ab84a6330..093c942e5 100644 --- a/docs/03.reference/02.tags/wddx/_examples.md +++ b/docs/03.reference/02.tags/wddx/_examples.md @@ -1,3 +1,16 @@ +To use this tag in cfscript: + +``` + + // This WDDX packet contains a struct with 4 keys: 3 strings and 1 array of numbers + strWDDX = "
1.0.05.04.03.02.01.0Test StructTo illustrate serializing to WDDX"; + + wddx action='wddx2cfml' input=strWDDX output='example'; + + dump(example); + +``` + ```lucee+trycf From 8d4bccdaca1b6893d69051daa4efe4bf2be987d9 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Fri, 1 Oct 2021 19:13:04 +0530 Subject: [PATCH 10/13] Update _examples.md --- docs/03.reference/02.tags/wddx/_examples.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/03.reference/02.tags/wddx/_examples.md b/docs/03.reference/02.tags/wddx/_examples.md index 093c942e5..e6f2cb036 100644 --- a/docs/03.reference/02.tags/wddx/_examples.md +++ b/docs/03.reference/02.tags/wddx/_examples.md @@ -27,3 +27,4 @@ To use this tag in cfscript: ``` + From a495506a057798d843e74a03c4122c566be4346d Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Fri, 1 Oct 2021 19:13:52 +0530 Subject: [PATCH 11/13] Update _examples.md --- docs/03.reference/02.tags/wddx/_examples.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/03.reference/02.tags/wddx/_examples.md b/docs/03.reference/02.tags/wddx/_examples.md index e6f2cb036..093c942e5 100644 --- a/docs/03.reference/02.tags/wddx/_examples.md +++ b/docs/03.reference/02.tags/wddx/_examples.md @@ -27,4 +27,3 @@ To use this tag in cfscript: ``` - From 9900bd437b13286232b0871d7d146a924fcb703e Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Fri, 1 Oct 2021 19:14:38 +0530 Subject: [PATCH 12/13] Update _examples.md --- docs/03.reference/02.tags/wddx/_examples.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/03.reference/02.tags/wddx/_examples.md b/docs/03.reference/02.tags/wddx/_examples.md index 093c942e5..5bf88459c 100644 --- a/docs/03.reference/02.tags/wddx/_examples.md +++ b/docs/03.reference/02.tags/wddx/_examples.md @@ -11,6 +11,7 @@ To use this tag in cfscript: ``` + ```lucee+trycf From 01bf3da9de6f17adea08239a506cba87799602d0 Mon Sep 17 00:00:00 2001 From: Saravanamuthu Aka CF Mitrah Date: Fri, 1 Oct 2021 19:15:42 +0530 Subject: [PATCH 13/13] Update _examples.md resolve conflicts --- docs/03.reference/02.tags/wddx/_examples.md | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/docs/03.reference/02.tags/wddx/_examples.md b/docs/03.reference/02.tags/wddx/_examples.md index 5bf88459c..8a430a0b8 100644 --- a/docs/03.reference/02.tags/wddx/_examples.md +++ b/docs/03.reference/02.tags/wddx/_examples.md @@ -10,21 +10,3 @@ To use this tag in cfscript: dump(example); ``` - - -```lucee+trycf - - - - - - - - - - - - - - -```