Skip to content

Commit 42d9c1a

Browse files
author
Thomas Pollinger
committed
Updates, fixes, optimizations and new scripts
1 parent 1b37406 commit 42d9c1a

54 files changed

Lines changed: 212 additions & 92 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,86 @@ about **SmartConsole for Web Site Management** (Release 16.0 and also 11.2).
44

55

66

7-
## v0.2.1 - 2018-02-05
7+
## v0.2.2 - 2018-02-06
8+
9+
### New Features
10+
11+
- New script `Get-AllProjectsExtendedInfo.ps1` with `| Format-List` or `| Format-Table` support.
12+
- New script `Get-AllProjectsForUser.ps1` with `| Format-List` or `| Format-Table` support.
13+
14+
15+
16+
17+
18+
### Breaking changes
19+
20+
- Read the [BREAKINGCHANGES.md](Wiki/BREAKINGCHANGES.md) document for more information.
21+
22+
23+
24+
25+
26+
### Engine updates and fixes
27+
28+
- Revision of the way how to get return values.
29+
30+
31+
32+
33+
34+
### General cmdlet updates and fixes
35+
36+
- Revision of all scripts to the adapted functionality.
37+
- Optimization of the scripts for pipeline functions z.b. `| Format-Table` or `| Format list` etc.
38+
39+
40+
41+
42+
43+
### Code Cleanup
44+
45+
- Optimization of queries for speed.
46+
47+
48+
49+
50+
51+
### Documentation, Graphics and Help Content
52+
53+
- Updated `OVERVIEW.md` with the new scripts.
54+
55+
56+
57+
58+
59+
### Overview
60+
61+
- Read the [OVERVIEW.md](Wiki/OVERVIEW.md) document for more information.
62+
63+
64+
65+
66+
67+
### FAQ
68+
69+
- Read the [FAQ.md](Wiki/FAQ.md) document for more information.
70+
71+
72+
73+
74+
75+
### Known Issues
76+
77+
- Read the [KNOWNISSUES.md](Wiki/KNOWNISSUES.md) document for more information.
78+
79+
80+
81+
82+
------
83+
84+
85+
86+
## v0.2.1- 2018-02-05
887

988
### Breaking changes
1089

Public/Basics/Get-MSPagePreview.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Function Get-MSPagePreview {
3636
$Request = ("<IODATA loginguid='[!guid_login!]' sessionkey='[!key!]'><PREVIEW projectguid='[!guid_project!]' loginguid='[!guid_login!]' url='/CMS/ioRD.asp' querystring='Action=Preview&amp;Pageguid=[!guid_page!]' /></IODATA>").Replace("[!guid_page!]", ($PageGUID|ConvertTo-RQLGuid));
3737
$Request = Import-MSSessionProperties -Request ($Request);
3838
[xml]$Response = Invoke-MSRQLRequest -Request ($Request);
39+
return $Response;
3940
Show-MSSessionWebServiceDebug;
4041
}
4142
end {

Public/Categories-Keywords/Get-MSCategoryData.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Function Get-MSCategoryData {
3636
$Request = ("<IODATA loginguid='[!guid_login!]' sessionkey='[!key!]'><PROJECT><CATEGORY action='load' guid='[!guid_category!]'/></PROJECT></IODATA>").Replace("[!guid_category!]", ($CategoryGUID|ConvertTo-RQLGuid));
3737
$Request = Import-MSSessionProperties -Request ($Request);
3838
[xml]$Response = Invoke-MSRQLRequest -Request ($Request);
39+
return $Response;
3940
Show-MSSessionWebServiceDebug;
4041
}
4142
end {

Public/Categories-Keywords/Get-MSCategoryKeywords.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Function Get-MSCategoryKeywords {
3535
$Request = ("<IODATA loginguid='[!guid_login!]' sessionkey='[!key!]'><PROJECT><CATEGORY guid='[!guid_category!]'><KEYWORDS action='load'/></CATEGORY></PROJECT></IODATA>").Replace("[!guid_category!]", ($CategoryGUID|ConvertTo-RQLGuid));
3636
$Request = Import-MSSessionProperties -Request ($Request);
3737
[xml]$Response = Invoke-MSRQLRequest -Request ($Request);
38+
return $Response;
3839
Show-MSSessionWebServiceDebug;
3940
}
4041
end {

Public/Categories-Keywords/Get-MSKeywordData.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Function Get-MSKeywordData {
3838
$Request = ("<IODATA loginguid='[!guid_login!]' sessionkey='[!key!]'><PROJECT><CATEGORY><KEYWORD action='load' guid='[!guid_keyword!]'/></CATEGORY></PROJECT></IODATA>").Replace("[!guid_keyword!]", ($KeywordGUID|ConvertTo-RQLGuid));
3939
$Request = Import-MSSessionProperties -Request ($Request);
4040
[xml]$Response = Invoke-MSRQLRequest -Request ($Request);
41+
return $Response;
4142
Show-MSSessionWebServiceDebug;
4243
}
4344
end {

Public/Categories-Keywords/Get-MSProjectCategories.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Function Get-MSProjectCategories {
2727
$Request = ("<IODATA loginguid='[!guid_login!]' sessionkey='[!key!]'><PROJECT><CATEGORIES action='list'/></PROJECT></IODATA>");
2828
$Request = Import-MSSessionProperties -Request ($Request);
2929
[xml]$Response = Invoke-MSRQLRequest -Request ($Request);
30+
return $Response;
3031
Show-MSSessionWebServiceDebug;
3132
}
3233
end {

Public/Categories-Keywords/Get-MSProjectCategoriesKeywords.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Function Get-MSProjectCategoriesKeywords {
2828
$Request = ("<IODATA loginguid='[!guid_login!]' sessionkey='[!key!]'><PROJECT><CATEGORIES action='get'/></PROJECT></IODATA>");
2929
$Request = Import-MSSessionProperties -Request ($Request);
3030
[xml]$Response = Invoke-MSRQLRequest -Request ($Request);
31+
return $Response;
3132
Show-MSSessionWebServiceDebug;
3233
}
3334
end {

Public/Categories-Keywords/Get-MSProjectKeywords.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Function Get-MSProjectKeywords {
2727
$Request = ("<IODATA loginguid='[!guid_login!]' sessionkey='[!key!]'><PROJECT><CATEGORY><KEYWORDS action='list'/></CATEGORY></PROJECT></IODATA>");
2828
$Request = Import-MSSessionProperties -Request ($Request);
2929
[xml]$Response = Invoke-MSRQLRequest -Request ($Request);
30+
return $Response;
3031
Show-MSSessionWebServiceDebug;
3132
}
3233
end {

Public/Categories-Keywords/New-MSCategory.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Function New-MSCategory {
3535
$Request = ("<IODATA loginguid='[!guid_login!]' sessionkey='[!key!]'><PROJECT><CATEGORY action='addnew' value='[!value!]'/></PROJECT></IODATA>").Replace("[!value!]", $CategoryName);
3636
$Request = Import-MSSessionProperties -Request ($Request);
3737
[xml]$Response = Invoke-MSRQLRequest -Request ($Request);
38+
return $Response;
3839
Show-MSSessionWebServiceDebug;
3940
}
4041
end {

Public/Categories-Keywords/New-MSKeywords.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Function New-MSKeywords {
6666
$Request = $Request.Replace("<REQUESTBODY/>", $RequestBody);
6767
$Request = Import-MSSessionProperties -Request ($Request);
6868
[xml]$Response = Invoke-MSRQLRequest -Request ($Request);
69+
return $Response;
6970
Show-MSSessionWebServiceDebug;
7071
}
7172
end {

0 commit comments

Comments
 (0)