dradis-plugins 3.21.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: effda0b5e549316b2970ee0971d4635e1bec62747fbd5496284488aa0ef44c64
4
- data.tar.gz: b53a7c3c71dab6fc669800b010c300198782cd5bd3f481b7ba8c6b0887e4f7e0
3
+ metadata.gz: 1b56de87e8607f405703cb8ece73e2cdf6f514aa7c6c7fd89c2fefd8b5f39d1d
4
+ data.tar.gz: 33f2149b1749c99e9c31df1c8b97e26b839b5ee935f4ba8bb09ac62237f3e136
5
5
  SHA512:
6
- metadata.gz: e101f0195effda68b32c0388e125087f4839bf8e3925fe50ddbd8825e4cdab0f670b9d21d4c3dadfea3723c33af281de98a3c38d5dd5cbbba8ce9fabf9ccf001
7
- data.tar.gz: 58ebfdaf92b640cf873e28e942930a1d5bddd4bf17a37a2e98b3224be563ae6e460c635f0066e05981f6626f565d41bdfe511f6bc37aab37e2a2e2e66d52c145
6
+ metadata.gz: 66442e0dca27ba296ed4a54468586341a837a1ed0155782f8c622b5d012d8ef32a01219e96c6fbcbb08499fef52162245612cd4d0616d35bd88b100737b78886
7
+ data.tar.gz: 61424c09130289f723a4e86a193db3207bf6faa2d9b70e7d2c1803b9e78249bf7ee0b2ed24660acfb1a2abe98de5e6b5ba81b75bcaece60113170dd6cae7f8f3
data/CHANGELOG.md CHANGED
@@ -1,89 +1,71 @@
1
- ## Dradis Framework 3.21 (February, 2021) ##
1
+ v4.2.0 (February 2022)
2
+ - No changes
2
3
 
3
- * Rename `parent` methods to `module_parent` as `Module#parent` is deprecated.
4
+ v4.1.0 (November 2021)
5
+ - No changes
4
6
 
5
- ## Dradis Framework 3.20 (January, 2021) ##
7
+ v4.0.0 (July 2021)
8
+ - No changes
6
9
 
7
- * No changes.
10
+ v3.22.0 (April 2021)
11
+ - ContentService#create_evidence: deduplicate Evidence from integrations
8
12
 
9
- ## Dradis Framework 3.19 (September, 2020) ##
13
+ v3.21.0 (February 2021)
14
+ - Rename `parent` methods to `module_parent` as `Module#parent` is deprecated
10
15
 
11
- * No changes.
16
+ v3.20.0 (January 2021)
17
+ - No changes
12
18
 
13
- ## Dradis Framework 3.18 (July, 2020) ##
19
+ v3.19.0 (September 2020)
20
+ - No changes
14
21
 
15
- * Added PersistentPermissions module to dry up permissions endpoints.
22
+ v3.18.0 (July 2020)
23
+ - Added PersistentPermissions module to dry up permissions endpoints
16
24
 
17
- ## Dradis Framework 3.17 (May, 2020) ##
25
+ v3.17.0 (May 2020)
26
+ - No changes
18
27
 
19
- * No changes.
28
+ v3.16.0 (February 2020)
29
+ - No changes
20
30
 
21
- ## Dradis Framework 3.16 (February, 2020) ##
31
+ v3.15.0 (November 2019)
32
+ - No changes
22
33
 
23
- * No changes.
34
+ v3.14.0 (August 2019)
35
+ - No changes
24
36
 
25
- ## Dradis Framework 3.15 (November, 2019) ##
37
+ v3.13.0 (June 2019)
38
+ - No changes
26
39
 
27
- * Make ContentService Boards available in CE
40
+ v3.12.0 (March 2019)
41
+ - No changes
28
42
 
29
- ## Dradis Framework 3.14 (August, 2019) ##
43
+ v3.11.0 (November 2018)
44
+ - No changes
30
45
 
31
- * Add node to boards
46
+ v3.10.1 (November 2018)
47
+ - Do not use `Node#project_id`
32
48
 
33
- ## Dradis Framework 3.13 (June, 2019) ##
49
+ v3.10.0 (August 2018)
50
+ - Add default project to task options
51
+ - Avoid requiring the caller to use `set_project_scope`
52
+ - Default title sorting for content blocks
53
+ - Use AuthenticatedController as export base
34
54
 
35
- * No changes.
55
+ v3.9.0 (January 2018)
56
+ - No changes
36
57
 
37
- ## Dradis Framework 3.12 (March, 2019) ##
58
+ v3.8.0 (September 2017)
59
+ - Add ContentService#all_content_blocks method to access the current project's content blocks
60
+ - Add ContentService#create_content_blocks method to create content blocks with
61
+ - Add default_user_id attribute to the importer
38
62
 
39
- * No changes.
63
+ v3.7.0 (July 2017)
64
+ - Add ContentService#all_properties method to access the current project's document properties
65
+ - Don't lose :plugin and :plugin_id from ContentService#create_issue due to excessive input length
40
66
 
41
- ## Dradis Framework 3.11 (November, 2018) ##
42
-
43
- * No changes.
44
-
45
- ## Dradis Framework 3.10.1 (November, 2018) ##
46
-
47
- * Do not use `Node#project_id`
48
-
49
- ## Dradis Framework 3.10 (August, 2018) ##
50
-
51
- * Add default project to task options
52
- * Use AuthenticatedController as export base
53
- * Default title sorting for content blocks
54
- * Avoid requiring the caller to use `set_project_scope`
55
-
56
- ## Dradis Framework 3.9 (January, 2018) ##
57
-
58
- * No changes
59
-
60
- ## Dradis Framework 3.8 (September, 2017) ##
61
-
62
- * Add ContentService#all_content_blocks method to access the current project's
63
- content blocks.
64
-
65
- * Add ContentService#create_content_blocks method to create content blocks
66
- with.
67
-
68
- * Add default_user_id attribute to the importer.
69
-
70
- ## Dradis Framework 3.7 (July, 2017) ##
71
-
72
- * Add ContentService#all_properties method to access the current project's
73
- document properties.
74
-
75
- * Don't lose :plugin and :plugin_id from ContentService#create_issue due to
76
- excessive input length.
77
-
78
- ## Dradis Framework 3.6 (April 6, 2017) ##
79
-
80
- * Split the ContentService into multiple modules.
81
-
82
- * Abandon home-grown configuration in favor of `Rails.application.config`.
83
-
84
- * An instance of ContentService and TemplateService is created for all
85
- plugins from this layer removing the need for plugin authors to create
86
- their own.
87
-
88
- * The Export / Upload base classes attempt to auto-detect the plugin module
89
- (if it isn't passed as a :plugin parameter.
67
+ v3.6.0 (April 2016)
68
+ - Abandon home-grown configuration in favor of `Rails.application.config`
69
+ - An instance of ContentService and TemplateService is created for all plugins from this layer removing the need for plugin authors to create their own
70
+ - Split the ContentService into multiple modules
71
+ - The Export / Upload base classes attempt to auto-detect the plugin module (if it isn't passed as a :plugin parameter)
@@ -0,0 +1,12 @@
1
+ [v#.#.#] ([month] [YYYY])
2
+ - [future tense verb] [feature]
3
+ - Upgraded gems:
4
+ - [gem]
5
+ - Bugs fixes:
6
+ - [future tense verb] [bug fix]
7
+ - Bug tracker items:
8
+ - [item]
9
+ - Security Fixes:
10
+ - High: (Authenticated|Unauthenticated) (admin|author|contributor) [vulnerability description]
11
+ - Medium: (Authenticated|Unauthenticated) (admin|author|contributor) [vulnerability description]
12
+ - Low: (Authenticated|Unauthenticated) (admin|author|contributor) [vulnerability description]
@@ -7,10 +7,11 @@ module Dradis::Plugins::ContentService
7
7
  node = args.fetch(:node, default_node_parent)
8
8
  issue = args[:issue] || default_evidence_issue
9
9
 
10
- evidence = node.evidence.new(issue_id: issue.id, content: content)
10
+ # Using node.evidence.new would result in some evidence being saved later on.
11
+ evidence = ::Evidence.new(issue_id: issue.id, content: content, node_id: node.id)
11
12
 
12
13
  if evidence.valid?
13
- evidence.save
14
+ evidence = ::Evidence.find_or_create_by(issue_id: issue.id, node_id: node.id, content: content)
14
15
  else
15
16
  try_rescue_from_length_validation(
16
17
  model: evidence,
@@ -6,8 +6,8 @@ module Dradis
6
6
  end
7
7
 
8
8
  module VERSION
9
- MAJOR = 3
10
- MINOR = 21
9
+ MAJOR = 4
10
+ MINOR = 2
11
11
  TINY = 0
12
12
  PRE = nil
13
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dradis-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.21.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Martin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-12 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -62,6 +62,7 @@ files:
62
62
  - ".gitignore"
63
63
  - ".rspec"
64
64
  - CHANGELOG.md
65
+ - CHANGELOG.template
65
66
  - CONTRIBUTING.md
66
67
  - Gemfile
67
68
  - LICENSE
@@ -111,7 +112,7 @@ homepage: http://dradisframework.org
111
112
  licenses:
112
113
  - GPL-2
113
114
  metadata: {}
114
- post_install_message:
115
+ post_install_message:
115
116
  rdoc_options: []
116
117
  require_paths:
117
118
  - lib
@@ -126,8 +127,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
127
  - !ruby/object:Gem::Version
127
128
  version: '0'
128
129
  requirements: []
129
- rubygems_version: 3.2.4
130
- signing_key:
130
+ rubygems_version: 3.1.4
131
+ signing_key:
131
132
  specification_version: 4
132
133
  summary: Plugin manager for the Dradis Framework project.
133
134
  test_files: