dradis-projects 4.19.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42d4e34fc7d53bb940fd0f5cfaa02dc23bd2e5f9de3320bfbd5b0ad391646f64
4
- data.tar.gz: '073480f39c9adbf801e85f4d227929c4802aec73a83e365373b43491550aef06'
3
+ metadata.gz: 229307f15b6d055ea574ce5d02aa4815f8328500fed692eadc7ed1426e424c2e
4
+ data.tar.gz: 75e42595ee10207de0c623dd4f7cf16a633801b61fd6a0f25b7a01b58ed8f57b
5
5
  SHA512:
6
- metadata.gz: ae24c349163fad87db0fcc854bee76185ede437da8bc80f44cdb12ab5d2770272d4894baa644a1a1c6a90a325d6d7c8c6237524e2b7ba263b7eaacce3b9c27e1
7
- data.tar.gz: 698ce556e9ae187dba8a5e944c79b432d4cda9190a236c1e2fdcb328b92e21fb12d7664e79398a8f681ffb057792a206e0eeaacd09c7e18030472e3ab96369ae
6
+ metadata.gz: cf33e8337fa68c633f9631da2768717d3b4a5b8946acf0b8c8522c433a33978cd0f8c6de3464ba104e5aa75c27d8427915fed3bdf83e3ebd1e38dc16ea9f8d87
7
+ data.tar.gz: b592acd9bba9b71fa73b0b0836daa61f7ae530ebd6091158d529dd95f73c4f19e1d272910bf1be2079247d2c22999afddaa8d57e4cc1ee071c9dfd08cad7d8b2
data/CHANGELOG.md CHANGED
@@ -1,135 +1,183 @@
1
- v4.19.0 (November 2025)
1
+ v5.1.0 (May 2026)
2
2
  - No changes
3
3
 
4
+ v5.0.0 (March 2026)
5
+ - Create command line exports in tmp/ rather than backup/
6
+ - Update export button styling
7
+ - Upload::Template: use SYSTEM_TYPES for special nodes.
8
+
9
+ v4.19.0 (November 2025)
10
+
11
+ - No changes
12
+
4
13
  v4.18.0 (September 2025)
5
- - Update File.exists? calls for ruby upgrade
14
+
15
+ - Update File.exists? calls for ruby upgrade
6
16
 
7
17
  v4.17.0 (July 2025)
8
- - No changes
18
+
19
+ - No changes
9
20
 
10
21
  v4.16.0 (May 2025)
11
- - No changes
22
+
23
+ - No changes
12
24
 
13
25
  v4.15.0 (December 2024)
14
- - Update tag position values on template upload
26
+
27
+ - Update tag position values on template upload
15
28
 
16
29
  v4.14.0 (October 2024)
17
- - No changes
30
+
31
+ - No changes
18
32
 
19
33
  v4.13.0 (July 2024)
20
- - No changes
34
+
35
+ - No changes
21
36
 
22
37
  v4.12.0 (May 2024)
23
- - No changes
38
+
39
+ - No changes
24
40
 
25
41
  v4.11.0 (January 2024)
26
- - No changes
42
+
43
+ - No changes
27
44
 
28
45
  v4.10.0 (September 2023)
29
- - Implement handling of project exports directly from Tylium
30
- - Update views for compatibility with Font Awesome 6
31
- - Update gemspec links
46
+
47
+ - Implement handling of project exports directly from Tylium
48
+ - Update views for compatibility with Font Awesome 6
49
+ - Update gemspec links
32
50
 
33
51
  v4.9.0 (June 2023)
34
- - Update views for compatibility with Bootstrap 5
52
+
53
+ - Update views for compatibility with Bootstrap 5
35
54
 
36
55
  v4.8.0 (April 2023)
37
- - Add exporting and uploading states
38
- - Update export button copy
56
+
57
+ - Add exporting and uploading states
58
+ - Update export button copy
39
59
 
40
60
  v4.7.0 (February 2023)
41
- - No changes
61
+
62
+ - No changes
42
63
 
43
64
  v4.6.0 (November 2022)
44
- - No changes
65
+
66
+ - No changes
45
67
 
46
68
  v4.5.0 (August 2022)
47
- - No changes
69
+
70
+ - No changes
48
71
 
49
72
  v4.4.0 (June 2022)
50
- - Provide plugin template mappings (no mappings)
73
+
74
+ - Provide plugin template mappings (no mappings)
51
75
 
52
76
  v4.3.0 (April 2022)
53
- - No changes
77
+
78
+ - No changes
54
79
 
55
80
  v4.2.0 (February 2022)
56
- - Bugs fixes:
57
- - Fix missing nodes for attachments during template and package imports
58
- - Fix missing parent nodes during template and package imports
81
+
82
+ - Bugs fixes:
83
+ - Fix missing nodes for attachments during template and package imports
84
+ - Fix missing parent nodes during template and package imports
59
85
 
60
86
  v4.1.2.1 (December 2021)
61
- - Security Fixes:
62
- - High: Authenticated author path traversal
87
+
88
+ - Security Fixes:
89
+ - High: Authenticated author path traversal
63
90
 
64
91
  v4.1.1 (November 2021)
65
- - Loosen dradis-plugins version requirement
92
+
93
+ - Loosen dradis-plugins version requirement
66
94
 
67
95
  v4.1.0 (November 2021)
68
- - No changes
96
+
97
+ - No changes
69
98
 
70
99
  v4.0.0 (July 2021)
71
- - No changes
100
+
101
+ - No changes
72
102
 
73
103
  v3.22.0 (April 2021)
74
- - No changes
104
+
105
+ - No changes
75
106
 
76
107
  v3.21.0 (February 2021)
77
- - No changes
108
+
109
+ - No changes
78
110
 
79
111
  v3.20.0 (January 2020)
80
- - Add views for the export view
81
- - Fix exporting projects with comments by deleted users
112
+
113
+ - Add views for the export view
114
+ - Fix exporting projects with comments by deleted users
82
115
 
83
116
  v3.19.0 (September 2020)
84
- - No changes
117
+
118
+ - No changes
85
119
 
86
120
  v3.18.0 (July 2020)
87
- - No changes
121
+
122
+ - No changes
88
123
 
89
124
  v3.17.0 (May 2020)
90
- - No changes
125
+
126
+ - No changes
91
127
 
92
128
  v3.16.0 (February 2020)
93
- - No changes
129
+
130
+ - No changes
94
131
 
95
132
  v3.15.0 (November 2019)
96
- - Being able to export/upload boards (v3)
97
- - Fix upload with attachments
133
+
134
+ - Being able to export/upload boards (v3)
135
+ - Fix upload with attachments
98
136
 
99
137
  v3.14.1 (October 2019)
100
- - Fix directory traversal vulnerability
138
+
139
+ - Fix directory traversal vulnerability
101
140
 
102
141
  v3.14.0 (August 2019)
103
- - No changes
142
+
143
+ - No changes
104
144
 
105
145
  v3.13.0 (June 2019)
106
- - No changes
146
+
147
+ - No changes
107
148
 
108
149
  v3.12.0 (March 2019)
109
- - No changes
150
+
151
+ - No changes
110
152
 
111
153
  v3.11.0 (November 2018)
112
- - Note and evidence comments in export/import
154
+
155
+ - Note and evidence comments in export/import
113
156
 
114
157
  v3.10.0 (August 2018)
115
- - Check project existence for default user id
116
- - Issue comments in export/import
117
- - Replace Node methods that are now Project methods
118
- - Use project scopes
158
+
159
+ - Check project existence for default user id
160
+ - Issue comments in export/import
161
+ - Replace Node methods that are now Project methods
162
+ - Use project scopes
119
163
 
120
164
  v3.9.0 (January 2018)
121
- - Add default user id as fallback for activity user when importing
122
- - Fix nodes upload
165
+
166
+ - Add default user id as fallback for activity user when importing
167
+ - Fix nodes upload
123
168
 
124
169
  v3.8.0 (September 2017)
125
- - Add parse_report_content placeholders to import/export
126
- - Add version attribute to exported methodologies
170
+
171
+ - Add parse_report_content placeholders to import/export
172
+ - Add version attribute to exported methodologies
127
173
 
128
174
  v3.7.0 (July 2017)
129
- - Skip closing the logger in thorfile
175
+
176
+ - Skip closing the logger in thorfile
130
177
 
131
178
  v3.6.0 (March 2017)
132
- - Break down the #export and #parse methods into smaller tasks
133
- - Include file version in project template export
134
- - Make the project template exporter / uploader configurable
135
- - Stop using homegrown configuration and use `Rails.application.config`
179
+
180
+ - Break down the #export and #parse methods into smaller tasks
181
+ - Include file version in project template export
182
+ - Make the project template exporter / uploader configurable
183
+ - Stop using homegrown configuration and use `Rails.application.config`
@@ -9,7 +9,7 @@
9
9
  or
10
10
 
11
11
  <%= form_tag dradis_projects.project_template_path(current_project), class: 'd-inline' do %>
12
- <button id="export-button" class="btn btn-lg">Export All as Template</button>
12
+ <button id="export-button" class="btn btn-lg btn-outline-primary">Export All as Template</button>
13
13
  <% end %>
14
14
  </div>
15
15
  <% end%>
@@ -7,8 +7,8 @@ module Dradis
7
7
  end
8
8
 
9
9
  module VERSION
10
- MAJOR = 4
11
- MINOR = 19
10
+ MAJOR = 5
11
+ MINOR = 1
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
@@ -257,11 +257,11 @@ module Dradis::Plugins::Projects::Upload::V4
257
257
  # There are exceptions to the rule, when it does not make sense to have
258
258
  # more than one of this nodes, in any given tree:
259
259
  # - the Configuration.uploadsNode node (detected by its label)
260
- # - any nodes with type different from DEFAULT or HOST
260
+ # - any system nodes: Methodology, IssueLib, ContentLib
261
261
  if label == Configuration.plugin_uploads_node
262
262
  node = project.nodes.create_with(type_id: type_id, parent_id: parent_id)
263
263
  .find_or_create_by!(label: label)
264
- elsif Node::Types::USER_TYPES.exclude?(type_id.to_i)
264
+ elsif Node::Types::SYSTEM_TYPES.include?(type_id.to_i)
265
265
  node = project.nodes.create_with(label: label)
266
266
  .find_or_create_by!(type_id: type_id)
267
267
  else
@@ -10,7 +10,7 @@ class ExportTasks < Thor
10
10
  def template
11
11
  require 'config/environment'
12
12
 
13
- template_path = options.file || Rails.root.join('backup').to_s
13
+ template_path = options.file || Rails.root.join('tmp').to_s
14
14
  FileUtils.mkdir_p(template_path) unless File.exist?(template_path)
15
15
 
16
16
  unless template_path =~ /\.xml\z/
@@ -42,7 +42,7 @@ class ExportTasks < Thor
42
42
  def package
43
43
  require 'config/environment'
44
44
 
45
- package_path = options.file || Rails.root.join('backup')
45
+ package_path = options.file || Rails.root.join('tmp').to_s
46
46
  FileUtils.mkdir_p(package_path) unless File.exist?(package_path)
47
47
 
48
48
  unless package_path.to_s =~ /\.zip\z/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dradis-projects
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.19.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Martin