dradis-plugins 3.20.0 → 4.1.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: 8aaba8d29c79bfa7129959bdc1a9bb03e07358d3936e339575cd38f4f4dd2e81
4
- data.tar.gz: c08470100b11f277eb0a725f952f74ecf4ab933c60629609cb50614b58d51f5f
3
+ metadata.gz: e5e8d28fafeee08283a345a7561c6bacb29d1117cd71a5e51e7139ab21f72211
4
+ data.tar.gz: 73a0e633400e650e008f508d5545f09ac822356a9b2bfbd663df2769d11a56c6
5
5
  SHA512:
6
- metadata.gz: 3ccc0ef7eed4bf055a4bcc2b8e6728c6cd74da76dc84efcc45c92029a625d44336b4fb441c457ba6c7a587b6c8f23439a48004c50c55622378cafa6dcf3355db
7
- data.tar.gz: adb29b7e8aad006bd7abe0e5a2e13a433db920cee36a520aad449d03ec67b9357cfd243e7745dbe646f3d6f4e0ffe611b2ac6af601a265a424327007204aa684
6
+ metadata.gz: 00a69d5789d78330c5f92df394538a05010594f1782a01315a37ef66caf7a3c1d9774e7e645ce543698d8bdb65f0b63ccd9088bf1f8158727dfa80ec1db1ec6b
7
+ data.tar.gz: 16f7ab9e1ec1b16ea2dce00bb98520ae7de0ff058daf0e18e37a12c51ddd6b0675e60639a87859ac0b4cbd453c488df390666d13f521ee596120f0dd0eb5fd84
data/CHANGELOG.md CHANGED
@@ -1,85 +1,68 @@
1
- ## Dradis Framework 3.20 (December, 2020) ##
1
+ v4.1.0 (November 2021)
2
+ - No changes
2
3
 
3
- * No changes.
4
+ v4.0.0 (July 2021)
5
+ - No changes
4
6
 
5
- ## Dradis Framework 3.19 (September, 2020) ##
7
+ v3.22.0 (April 2021)
8
+ - ContentService#create_evidence: deduplicate Evidence from integrations
6
9
 
7
- * No changes.
10
+ v3.21.0 (February 2021)
11
+ - Rename `parent` methods to `module_parent` as `Module#parent` is deprecated
8
12
 
9
- ## Dradis Framework 3.18 (July, 2020) ##
13
+ v3.20.0 (January 2021)
14
+ - No changes
10
15
 
11
- * Added PersistentPermissions module to dry up permissions endpoints.
16
+ v3.19.0 (September 2020)
17
+ - No changes
12
18
 
13
- ## Dradis Framework 3.17 (May, 2020) ##
19
+ v3.18.0 (July 2020)
20
+ - Added PersistentPermissions module to dry up permissions endpoints
14
21
 
15
- * No changes.
22
+ v3.17.0 (May 2020)
23
+ - No changes
16
24
 
17
- ## Dradis Framework 3.16 (February, 2020) ##
25
+ v3.16.0 (February 2020)
26
+ - No changes
18
27
 
19
- * No changes.
28
+ v3.15.0 (November 2019)
29
+ - No changes
20
30
 
21
- ## Dradis Framework 3.15 (November, 2019) ##
31
+ v3.14.0 (August 2019)
32
+ - No changes
22
33
 
23
- * Make ContentService Boards available in CE
34
+ v3.13.0 (June 2019)
35
+ - No changes
24
36
 
25
- ## Dradis Framework 3.14 (August, 2019) ##
37
+ v3.12.0 (March 2019)
38
+ - No changes
26
39
 
27
- * Add node to boards
40
+ v3.11.0 (November 2018)
41
+ - No changes
28
42
 
29
- ## Dradis Framework 3.13 (June, 2019) ##
43
+ v3.10.1 (November 2018)
44
+ - Do not use `Node#project_id`
30
45
 
31
- * No changes.
46
+ v3.10.0 (August 2018)
47
+ - Add default project to task options
48
+ - Avoid requiring the caller to use `set_project_scope`
49
+ - Default title sorting for content blocks
50
+ - Use AuthenticatedController as export base
32
51
 
33
- ## Dradis Framework 3.12 (March, 2019) ##
52
+ v3.9.0 (January 2018)
53
+ - No changes
34
54
 
35
- * No changes.
55
+ v3.8.0 (September 2017)
56
+ - Add ContentService#all_content_blocks method to access the current project's content blocks
57
+ - Add ContentService#create_content_blocks method to create content blocks with
58
+ - Add default_user_id attribute to the importer
36
59
 
37
- ## Dradis Framework 3.11 (November, 2018) ##
60
+ v3.7.0 (July 2017)
61
+ - Add ContentService#all_properties method to access the current project's document properties
62
+ - Don't lose :plugin and :plugin_id from ContentService#create_issue due to excessive input length
38
63
 
39
- * No changes.
40
-
41
- ## Dradis Framework 3.10.1 (November, 2018) ##
42
-
43
- * Do not use `Node#project_id`
44
-
45
- ## Dradis Framework 3.10 (August, 2018) ##
46
-
47
- * Add default project to task options
48
- * Use AuthenticatedController as export base
49
- * Default title sorting for content blocks
50
- * Avoid requiring the caller to use `set_project_scope`
51
-
52
- ## Dradis Framework 3.9 (January, 2018) ##
53
-
54
- * No changes
55
-
56
- ## Dradis Framework 3.8 (September, 2017) ##
57
-
58
- * Add ContentService#all_content_blocks method to access the current project's
59
- content blocks.
60
-
61
- * Add ContentService#create_content_blocks method to create content blocks
62
- with.
63
-
64
- * Add default_user_id attribute to the importer.
65
-
66
- ## Dradis Framework 3.7 (July, 2017) ##
67
-
68
- * Add ContentService#all_properties method to access the current project's
69
- document properties.
70
-
71
- * Don't lose :plugin and :plugin_id from ContentService#create_issue due to
72
- excessive input length.
73
-
74
- ## Dradis Framework 3.6 (April 6, 2017) ##
75
-
76
- * Split the ContentService into multiple modules.
77
-
78
- * Abandon home-grown configuration in favor of `Rails.application.config`.
79
-
80
- * An instance of ContentService and TemplateService is created for all
81
- plugins from this layer removing the need for plugin authors to create
82
- their own.
83
-
84
- * The Export / Upload base classes attempt to auto-detect the plugin module
85
- (if it isn't passed as a :plugin parameter.
64
+ v3.6.0 (April 2016)
65
+ - Abandon home-grown configuration in favor of `Rails.application.config`
66
+ - An instance of ContentService and TemplateService is created for all plugins from this layer removing the need for plugin authors to create their own
67
+ - Split the ContentService into multiple modules
68
+ - 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]
data/Gemfile CHANGED
@@ -1,10 +1,6 @@
1
- source 'https://rubygems.org'
1
+ # frozen_string_literal: true
2
2
 
3
- #gem 'dradis_core', path: '/Users/etd/dradis/git/dradis/core'
4
- #gem 'dradis', :github => 'dradis/dradisframework' # temporarily here until 3.0.0.beta is released
5
- # git "https://github.com/dradis/dradisframework.git", :branch => 'dradis3.x' do
6
- # gem 'dradis_core'
7
- # end
3
+ source 'https://rubygems.org'
8
4
 
9
5
  # Specify your gem's dependencies in dradis-html_export.gemspec
10
6
  gemspec
@@ -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 = 20
9
+ MAJOR = 4
10
+ MINOR = 1
11
11
  TINY = 0
12
12
  PRE = nil
13
13
 
@@ -22,7 +22,7 @@ module Dradis::Plugins::Upload::Base
22
22
  extend ActiveSupport::Concern
23
23
 
24
24
  included do
25
- parent.extend NamespaceClassMethods
25
+ module_parent.extend NamespaceClassMethods
26
26
  end
27
27
 
28
28
  module ClassMethods
@@ -41,7 +41,7 @@ module Dradis::Plugins::Upload::Base
41
41
  # ]
42
42
  # end
43
43
  def uploaders()
44
- [parent]
44
+ [module_parent]
45
45
  end
46
46
  end
47
47
 
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.20.0
4
+ version: 4.1.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-01-07 00:00:00.000000000 Z
11
+ date: 2021-11-18 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.6
131
+ signing_key:
131
132
  specification_version: 4
132
133
  summary: Plugin manager for the Dradis Framework project.
133
134
  test_files: