Skip to content

Commit

Permalink
Version 1.1.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz committed Jun 20, 2023
1 parent e00aa27 commit ac602cf
Show file tree
Hide file tree
Showing 34 changed files with 111 additions and 73 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,44 @@

All notable changes to the "Znuny" extension will be documented in this file.

## [1.1.2]

### Snippets

#### Updated Snippets

- `znuny.ArticleObject.ArticleSearchIndexSQLJoin.code-snippets`
- `znuny.ArticleObject.ArticleSearchIndexSQLJoinNeeded.code-snippets`
- `znuny.ArticleObject.ArticleSearchIndexWhereCondition.code-snippets`
- `znuny.BackendObject.EditFieldRender.code-snippets`
- `znuny.CalendarObject.CalendarImport.code-snippets`
- `znuny.CalendarObject.TicketAppointmentProcessRule.code-snippets`
- `znuny.CustomerGroupObject.GroupCustomerAdd.code-snippets`
- `znuny.DBCRUDObject.DataAdd.code-snippets`
- `znuny.DynamicFieldValueObject.ValueSet.code-snippets`
- `znuny.ExcelObject.Array2Excel.code-snippets`
- `znuny.FormDraftObject.FormDraftAdd.code-snippets`
- `znuny.FormDraftObject.FormDraftUpdate.code-snippets`
- `znuny.GenericAgentObject.JobAdd.code-snippets`
- `znuny.HelperObject.FillTestEnvironment.code-snippets`
- `znuny.HelperObject.SetupTestEnvironment.code-snippets`
- `znuny.JWTObject.Decode.code-snippets`
- `znuny.NotificationEventObject.NotificationAdd.code-snippets`
- `znuny.NotificationEventObject.NotificationUpdate.code-snippets`
- `znuny.ParamObject.SaveFormDraft.code-snippets`
- `znuny.SchedulerDBObject.FutureTaskAdd.code-snippets`
- `znuny.SchedulerDBObject.RecurrentTaskExecute.code-snippets`
- `znuny.SchedulerDBObject.TaskAdd.code-snippets`
- `znuny.SchedulerObject.TaskAdd.code-snippets`
- `znuny.SeleniumObject.InputFieldIDMapping.code-snippets`
- `znuny.SysConfigObject.SettingAddItem.code-snippets`
- `znuny.SysConfigObject.SettingsSet.code-snippets`
- `znuny.SysConfigObject.SettingsUpdatedList.code-snippets`
- `znuny.TransitionObject.TransitionCheck.code-snippets`
- `znuny.UnitTestWebserviceObject.Mock.code-snippets`
- `znuny.UnitTestWebserviceObject.Process.code-snippets`
- `znuny.WebserviceHistoryObject.WebserviceHistoryAdd.code-snippets`

## [1.1.1]

Added missing glob node_module in package.json and vsix file.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "znuny",
"displayName": "Znuny",
"description": "Znuny is an extension that helps you to make Znuny development easier, faster and more error-free.",
"version": "1.1.1",
"version": "1.1.2",
"publisher": "dennykorsukewitz",
"icon": "doc/images/icon.png",
"license": "SEE LICENSE IN LICENSE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"body": [
"${1:my \\$SQLExtenion = \\$ArticleObject->ArticleSearchIndexSQLJoin(",
" SearchParams => {",
" ...",
" # ...",
" ConditionInline => 1,",
" ContentSearchPrefix => '*',",
" ContentSearchSuffix => '*',",
Expand All @@ -13,7 +13,7 @@
" MIMEBase_Subject => '%VIRUS 32%',",
" MIMEBase_Body => '%VIRUS 32%',",
" MIMEBase_AttachmentName => '%anyfile.txt%',",
" ...",
" # ...",
" \\},",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"body": [
"${1:my \\$Needed = \\$ArticleObject->ArticleSearchIndexSQLJoinNeeded(",
" SearchParams => {",
" ...",
" # ...",
" ConditionInline => 1,",
" ContentSearchPrefix => '*',",
" ContentSearchSuffix => '*',",
Expand All @@ -13,7 +13,7 @@
" MIMEBase_Subject => '%VIRUS 32%',",
" MIMEBase_Body => '%VIRUS 32%',",
" MIMEBase_AttachmentName => '%anyfile.txt%',",
" ...",
" # ...",
" \\},",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"body": [
"${1:my \\$SQLExtenion = \\$ArticleObject->ArticleSearchIndexWhereCondition(",
" SearchParams => {",
" ...",
" # ...",
" ConditionInline => 1,",
" ContentSearchPrefix => '*',",
" ContentSearchSuffix => '*',",
Expand All @@ -13,7 +13,7 @@
" MIMEBase_Subject => '%VIRUS 32%',",
" MIMEBase_Body => '%VIRUS 32%',",
" MIMEBase_AttachmentName => '%anyfile.txt%',",
" ...",
" # ...",
" \\},",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
" Template => { # Optional data structure of GenericAgent etc.",
" Owner => 2, # Value is accessable via field name (DynamicField_ + field name)",
" Title => 'Generic Agent Job was here', # and could be a scalar, Hash- or ArrayRef",
" ...",
" # ...",
" DynamicField_ExampleField1 => 'Value 1'",
" \\},",
" Value => 'Any value', # Optional",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
" ParentID => \\$ParentID,",
" CalendarID => \\$CalendarID,",
" UniqueID => \\$UniqueID,",
" ...",
" # ...",
" \\},",
" ...",
" # ...",
" \\},",
" \\},",
" OverwriteExistingEntities => 0, # (optional) Overwrite existing calendar and appointments, default: 0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
" DynamicField_TestDate => {",
" Module => 'Kernel::System::Calendar::Ticket::DynamicField',",
" \\},",
" ...",
" # ...",
" \\},",
" Rule => {",
" StartDate => 'DynamicField_TestDate',",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
" priority => 0,",
" rw => 0,",
" \\},",
" ...",
" # ...",
" \\},",
" UserID => \\$UserID,",
");}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"body": [
"${1:my \\$Success = \\$DBCRUDObject->DataAdd(",
" ID => '...',",
" '...',",
" # ...",
" CreateTime => '...', # optional",
" ChangeTime => '...', # optional",
");}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
" ValueDateTime => '1977-12-12 12:00:00', # optional",
" ValueInt => 123, # optional",
" \\},",
" ...",
" # ...",
" ],",
" UserID => \\$UserID,",
");}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
" \\}",
" \\},",
" ],",
" ...",
" # ...",
" ],",
" \\},",
" ],",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
" FormData => {",
" InformUserID => [ \\$InformUserID, 124, ],",
" Subject => 'Request for information',",
" ...",
" # ...",
" \\},",
" FileData => [ # optional",
" {",
Expand All @@ -17,7 +17,7 @@
" 'FileID' => 1,",
" 'Disposition' => 'attachment',",
" \\},",
" ...",
" # ...",
" ],",
" ObjectType => 'Ticket',",
" ObjectID => \\$ObjectID,",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
" FormData => {",
" InformUserID => [ \\$InformUserID, 124, ],",
" Subject => 'Request for information',",
" ...",
" # ...",
" \\},",
" FileData => [ # optional",
" {",
Expand All @@ -17,7 +17,7 @@
" 'FileID' => 1,",
" 'Disposition' => 'attachment',",
" \\},",
" ...",
" # ...",
" ],",
" ObjectType => 'Ticket',",
" ObjectID => \\$ObjectID,",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
" Name => 'JobName',",
" Data => {",
" Queue => 'SomeQueue',",
" ...",
" # ...",
" Valid => 1,",
" \\},",
" UserID => \\$UserID,",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"my \\$Result = \\$HelperObject->FillTestEnvironment(",
" Type => {",
" 'Type 1::Sub Type' => 1,",
" ...",
" # ...",
" \\}",
");}",
"${3:# would do nothing -> return an empty HashRef",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"znuny.HelperObject.SetupTestEnvironment": {
"body": [
"${1:my \\$Result = \\$HelperObject->SetupTestEnvironment(",
" ... # Parameters get passed to the FillTestEnvironment and ConfigureViews function",
" # ... # Parameters get passed to the FillTestEnvironment and ConfigureViews function",
");}",
],
"prefix": "znuny.HelperObject.SetupTestEnvironment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
" CryptJWTParameters => {",
"",
" # see https://metacpan.org/pod/Crypt::JWT#decode_jwt",
" '...' => '...',",
" # '...' => '...',",
"",
" # ...",
" \\},",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
" Name => 'Agent::OwnerUpdate',",
" Data => {",
" Events => [ 'TicketQueueUpdate' ],",
" ...",
" # ...",
" Queue => [ 'SomeQueue' ],",
" \\},",
" Message => {",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
" Name => 'Agent::OwnerUpdate',",
" Data => {",
" Events => [ 'TicketQueueUpdate' ],",
" ...",
" # ...",
" Queue => [ 'SomeQueue' ],",
" \\},",
" Message => {",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
" Subaction => undef,",
" UserID => \\$UserID,",
" CustomParam => [ 1, 2, 3, ],",
" ...",
" # ...",
" \\},",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
" # that can exists at the same time,",
" # value of 0 means unlimited",
" Data => { # data payload",
" ...",
" # ...",
" \\},",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
" # table at the same time, value of 0 means",
" # unlimited",
" Data => { # data payload",
" ...",
" # ...",
" \\},",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
" # provided) that can exists at the same",
" # time, value of 0 means unlimited",
" Data => { # data payload",
" ...",
" # ...",
" \\},",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
" # (and name if provided) that can exists at",
" # the same time, value of 0 means unlimited",
" Data => { # data payload",
" ...",
" # ...",
" \\},",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"${1:my \\$Result = \\$SeleniumObject->InputFieldIDMapping(",
" Action => 'AgentTicketZoom',",
" Mapping => {",
" ...",
" # ...",
" QueueID => \\$QueueID,",
" ...",
" # ...",
" \\},",
");}",
"${2:my \\$Result = \\$SeleniumObject->InputFieldIDMapping(",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
" 'DefaultValue' => [ 'Item 1', 'Item 2' ],",
" 'Description' => 'Simple array item(Min 1, Max 3).',",
" 'Name' => 'TestArray',",
" ...",
" # ...",
" \\},",
" Key => 'HashKey', # (optional) hash key",
" IDSuffix => '_Array3, # (optional) suffix that will be added to all input/select fields",
Expand All @@ -21,7 +21,7 @@
" {",
" 'Content' => 'Item 1',",
" \\},",
" ...",
" # ...",
" ],",
" ],",
" \\},",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
" IsValid => 1, # (optional)",
" UserModificationActive => 1, # (optional)",
" \\},",
" ...",
" # ...",
" ],",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
" ChangeTime => '2017-01-13 11:23:07',",
" IsLockedByAnotherUser => 0,",
" \\},",
" ...",
" # ...",
" ],",
" UserID => \\$UserID, # (required) Current user id",
");}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
" Queue => 'Raw',",
" DynamicField1 => 'Value',",
" Subject => 'Testsubject',",
" ...",
" # ...",
" \\},",
");}",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
" \\},",
" \\}",
" \\},",
" ...",
" # ...",
" ],",
" ...",
" # ...",
");}",
],
"prefix": "znuny.UnitTestWebserviceObject.Mock",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
" WebserviceID => \\$WebserviceID,",
" Operation => 'DesiredOperation',",
" Payload => {",
" ...",
" # ...",
" \\},",
" Response => { # optional, you can validate the response manually in the unit test via \\$Self->IsDeeply()",
" Success => 1,",
" ErrorMessage => '',",
" Data => {",
" ...",
" # ...",
" \\},",
" \\}",
");}",
Expand Down
Loading

0 comments on commit ac602cf

Please sign in to comment.