dradis-projects 4.19.0 → 5.0.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: 8407d21b8fd6f560ba9044f896ddc711fae024d8750e7cb416914da0b4a32248
4
+ data.tar.gz: 94ec0046a0ffdab8e31109b66980bf0bae5afdbfd055103c46c0ea5820691076
5
5
  SHA512:
6
- metadata.gz: ae24c349163fad87db0fcc854bee76185ede437da8bc80f44cdb12ab5d2770272d4894baa644a1a1c6a90a325d6d7c8c6237524e2b7ba263b7eaacce3b9c27e1
7
- data.tar.gz: 698ce556e9ae187dba8a5e944c79b432d4cda9190a236c1e2fdcb328b92e21fb12d7664e79398a8f681ffb057792a206e0eeaacd09c7e18030472e3ab96369ae
6
+ metadata.gz: d28dc101da59ea03d5b4ec66787c453647b0f771960491015c17d4ab7b57d283cfb3b9d4034f605dee7d97e2db1fbee57637957cac72749b493e17490080c4ef
7
+ data.tar.gz: be754cef83484b812ec54df04a6171f4fc35d708ecf6c10f90d57878ae4b000fb6f1d912d2dc4cb7d17269392a03afd2493bcf7e4f498cb05c8047c9f0c8901b
data/CHANGELOG.md CHANGED
@@ -1,135 +1,180 @@
1
+ v5.0.0 (March 2026)
2
+ - Create command line exports in tmp/ rather than backup/
3
+ - Update export button styling
4
+ - Upload::Template: use SYSTEM_TYPES for special nodes.
5
+
1
6
  v4.19.0 (November 2025)
2
- - No changes
7
+
8
+ - No changes
3
9
 
4
10
  v4.18.0 (September 2025)
5
- - Update File.exists? calls for ruby upgrade
11
+
12
+ - Update File.exists? calls for ruby upgrade
6
13
 
7
14
  v4.17.0 (July 2025)
8
- - No changes
15
+
16
+ - No changes
9
17
 
10
18
  v4.16.0 (May 2025)
11
- - No changes
19
+
20
+ - No changes
12
21
 
13
22
  v4.15.0 (December 2024)
14
- - Update tag position values on template upload
23
+
24
+ - Update tag position values on template upload
15
25
 
16
26
  v4.14.0 (October 2024)
17
- - No changes
27
+
28
+ - No changes
18
29
 
19
30
  v4.13.0 (July 2024)
20
- - No changes
31
+
32
+ - No changes
21
33
 
22
34
  v4.12.0 (May 2024)
23
- - No changes
35
+
36
+ - No changes
24
37
 
25
38
  v4.11.0 (January 2024)
26
- - No changes
39
+
40
+ - No changes
27
41
 
28
42
  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
43
+
44
+ - Implement handling of project exports directly from Tylium
45
+ - Update views for compatibility with Font Awesome 6
46
+ - Update gemspec links
32
47
 
33
48
  v4.9.0 (June 2023)
34
- - Update views for compatibility with Bootstrap 5
49
+
50
+ - Update views for compatibility with Bootstrap 5
35
51
 
36
52
  v4.8.0 (April 2023)
37
- - Add exporting and uploading states
38
- - Update export button copy
53
+
54
+ - Add exporting and uploading states
55
+ - Update export button copy
39
56
 
40
57
  v4.7.0 (February 2023)
41
- - No changes
58
+
59
+ - No changes
42
60
 
43
61
  v4.6.0 (November 2022)
44
- - No changes
62
+
63
+ - No changes
45
64
 
46
65
  v4.5.0 (August 2022)
47
- - No changes
66
+
67
+ - No changes
48
68
 
49
69
  v4.4.0 (June 2022)
50
- - Provide plugin template mappings (no mappings)
70
+
71
+ - Provide plugin template mappings (no mappings)
51
72
 
52
73
  v4.3.0 (April 2022)
53
- - No changes
74
+
75
+ - No changes
54
76
 
55
77
  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
78
+
79
+ - Bugs fixes:
80
+ - Fix missing nodes for attachments during template and package imports
81
+ - Fix missing parent nodes during template and package imports
59
82
 
60
83
  v4.1.2.1 (December 2021)
61
- - Security Fixes:
62
- - High: Authenticated author path traversal
84
+
85
+ - Security Fixes:
86
+ - High: Authenticated author path traversal
63
87
 
64
88
  v4.1.1 (November 2021)
65
- - Loosen dradis-plugins version requirement
89
+
90
+ - Loosen dradis-plugins version requirement
66
91
 
67
92
  v4.1.0 (November 2021)
68
- - No changes
93
+
94
+ - No changes
69
95
 
70
96
  v4.0.0 (July 2021)
71
- - No changes
97
+
98
+ - No changes
72
99
 
73
100
  v3.22.0 (April 2021)
74
- - No changes
101
+
102
+ - No changes
75
103
 
76
104
  v3.21.0 (February 2021)
77
- - No changes
105
+
106
+ - No changes
78
107
 
79
108
  v3.20.0 (January 2020)
80
- - Add views for the export view
81
- - Fix exporting projects with comments by deleted users
109
+
110
+ - Add views for the export view
111
+ - Fix exporting projects with comments by deleted users
82
112
 
83
113
  v3.19.0 (September 2020)
84
- - No changes
114
+
115
+ - No changes
85
116
 
86
117
  v3.18.0 (July 2020)
87
- - No changes
118
+
119
+ - No changes
88
120
 
89
121
  v3.17.0 (May 2020)
90
- - No changes
122
+
123
+ - No changes
91
124
 
92
125
  v3.16.0 (February 2020)
93
- - No changes
126
+
127
+ - No changes
94
128
 
95
129
  v3.15.0 (November 2019)
96
- - Being able to export/upload boards (v3)
97
- - Fix upload with attachments
130
+
131
+ - Being able to export/upload boards (v3)
132
+ - Fix upload with attachments
98
133
 
99
134
  v3.14.1 (October 2019)
100
- - Fix directory traversal vulnerability
135
+
136
+ - Fix directory traversal vulnerability
101
137
 
102
138
  v3.14.0 (August 2019)
103
- - No changes
139
+
140
+ - No changes
104
141
 
105
142
  v3.13.0 (June 2019)
106
- - No changes
143
+
144
+ - No changes
107
145
 
108
146
  v3.12.0 (March 2019)
109
- - No changes
147
+
148
+ - No changes
110
149
 
111
150
  v3.11.0 (November 2018)
112
- - Note and evidence comments in export/import
151
+
152
+ - Note and evidence comments in export/import
113
153
 
114
154
  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
155
+
156
+ - Check project existence for default user id
157
+ - Issue comments in export/import
158
+ - Replace Node methods that are now Project methods
159
+ - Use project scopes
119
160
 
120
161
  v3.9.0 (January 2018)
121
- - Add default user id as fallback for activity user when importing
122
- - Fix nodes upload
162
+
163
+ - Add default user id as fallback for activity user when importing
164
+ - Fix nodes upload
123
165
 
124
166
  v3.8.0 (September 2017)
125
- - Add parse_report_content placeholders to import/export
126
- - Add version attribute to exported methodologies
167
+
168
+ - Add parse_report_content placeholders to import/export
169
+ - Add version attribute to exported methodologies
127
170
 
128
171
  v3.7.0 (July 2017)
129
- - Skip closing the logger in thorfile
172
+
173
+ - Skip closing the logger in thorfile
130
174
 
131
175
  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`
176
+
177
+ - Break down the #export and #parse methods into smaller tasks
178
+ - Include file version in project template export
179
+ - Make the project template exporter / uploader configurable
180
+ - 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 = 0
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.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Martin