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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8407d21b8fd6f560ba9044f896ddc711fae024d8750e7cb416914da0b4a32248
|
|
4
|
+
data.tar.gz: 94ec0046a0ffdab8e31109b66980bf0bae5afdbfd055103c46c0ea5820691076
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
7
|
+
|
|
8
|
+
- No changes
|
|
3
9
|
|
|
4
10
|
v4.18.0 (September 2025)
|
|
5
|
-
|
|
11
|
+
|
|
12
|
+
- Update File.exists? calls for ruby upgrade
|
|
6
13
|
|
|
7
14
|
v4.17.0 (July 2025)
|
|
8
|
-
|
|
15
|
+
|
|
16
|
+
- No changes
|
|
9
17
|
|
|
10
18
|
v4.16.0 (May 2025)
|
|
11
|
-
|
|
19
|
+
|
|
20
|
+
- No changes
|
|
12
21
|
|
|
13
22
|
v4.15.0 (December 2024)
|
|
14
|
-
|
|
23
|
+
|
|
24
|
+
- Update tag position values on template upload
|
|
15
25
|
|
|
16
26
|
v4.14.0 (October 2024)
|
|
17
|
-
|
|
27
|
+
|
|
28
|
+
- No changes
|
|
18
29
|
|
|
19
30
|
v4.13.0 (July 2024)
|
|
20
|
-
|
|
31
|
+
|
|
32
|
+
- No changes
|
|
21
33
|
|
|
22
34
|
v4.12.0 (May 2024)
|
|
23
|
-
|
|
35
|
+
|
|
36
|
+
- No changes
|
|
24
37
|
|
|
25
38
|
v4.11.0 (January 2024)
|
|
26
|
-
|
|
39
|
+
|
|
40
|
+
- No changes
|
|
27
41
|
|
|
28
42
|
v4.10.0 (September 2023)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
49
|
+
|
|
50
|
+
- Update views for compatibility with Bootstrap 5
|
|
35
51
|
|
|
36
52
|
v4.8.0 (April 2023)
|
|
37
|
-
|
|
38
|
-
|
|
53
|
+
|
|
54
|
+
- Add exporting and uploading states
|
|
55
|
+
- Update export button copy
|
|
39
56
|
|
|
40
57
|
v4.7.0 (February 2023)
|
|
41
|
-
|
|
58
|
+
|
|
59
|
+
- No changes
|
|
42
60
|
|
|
43
61
|
v4.6.0 (November 2022)
|
|
44
|
-
|
|
62
|
+
|
|
63
|
+
- No changes
|
|
45
64
|
|
|
46
65
|
v4.5.0 (August 2022)
|
|
47
|
-
|
|
66
|
+
|
|
67
|
+
- No changes
|
|
48
68
|
|
|
49
69
|
v4.4.0 (June 2022)
|
|
50
|
-
|
|
70
|
+
|
|
71
|
+
- Provide plugin template mappings (no mappings)
|
|
51
72
|
|
|
52
73
|
v4.3.0 (April 2022)
|
|
53
|
-
|
|
74
|
+
|
|
75
|
+
- No changes
|
|
54
76
|
|
|
55
77
|
v4.2.0 (February 2022)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|
-
|
|
62
|
-
|
|
84
|
+
|
|
85
|
+
- Security Fixes:
|
|
86
|
+
- High: Authenticated author path traversal
|
|
63
87
|
|
|
64
88
|
v4.1.1 (November 2021)
|
|
65
|
-
|
|
89
|
+
|
|
90
|
+
- Loosen dradis-plugins version requirement
|
|
66
91
|
|
|
67
92
|
v4.1.0 (November 2021)
|
|
68
|
-
|
|
93
|
+
|
|
94
|
+
- No changes
|
|
69
95
|
|
|
70
96
|
v4.0.0 (July 2021)
|
|
71
|
-
|
|
97
|
+
|
|
98
|
+
- No changes
|
|
72
99
|
|
|
73
100
|
v3.22.0 (April 2021)
|
|
74
|
-
|
|
101
|
+
|
|
102
|
+
- No changes
|
|
75
103
|
|
|
76
104
|
v3.21.0 (February 2021)
|
|
77
|
-
|
|
105
|
+
|
|
106
|
+
- No changes
|
|
78
107
|
|
|
79
108
|
v3.20.0 (January 2020)
|
|
80
|
-
|
|
81
|
-
|
|
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
|
-
|
|
114
|
+
|
|
115
|
+
- No changes
|
|
85
116
|
|
|
86
117
|
v3.18.0 (July 2020)
|
|
87
|
-
|
|
118
|
+
|
|
119
|
+
- No changes
|
|
88
120
|
|
|
89
121
|
v3.17.0 (May 2020)
|
|
90
|
-
|
|
122
|
+
|
|
123
|
+
- No changes
|
|
91
124
|
|
|
92
125
|
v3.16.0 (February 2020)
|
|
93
|
-
|
|
126
|
+
|
|
127
|
+
- No changes
|
|
94
128
|
|
|
95
129
|
v3.15.0 (November 2019)
|
|
96
|
-
|
|
97
|
-
|
|
130
|
+
|
|
131
|
+
- Being able to export/upload boards (v3)
|
|
132
|
+
- Fix upload with attachments
|
|
98
133
|
|
|
99
134
|
v3.14.1 (October 2019)
|
|
100
|
-
|
|
135
|
+
|
|
136
|
+
- Fix directory traversal vulnerability
|
|
101
137
|
|
|
102
138
|
v3.14.0 (August 2019)
|
|
103
|
-
|
|
139
|
+
|
|
140
|
+
- No changes
|
|
104
141
|
|
|
105
142
|
v3.13.0 (June 2019)
|
|
106
|
-
|
|
143
|
+
|
|
144
|
+
- No changes
|
|
107
145
|
|
|
108
146
|
v3.12.0 (March 2019)
|
|
109
|
-
|
|
147
|
+
|
|
148
|
+
- No changes
|
|
110
149
|
|
|
111
150
|
v3.11.0 (November 2018)
|
|
112
|
-
|
|
151
|
+
|
|
152
|
+
- Note and evidence comments in export/import
|
|
113
153
|
|
|
114
154
|
v3.10.0 (August 2018)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
-
|
|
122
|
-
|
|
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
|
-
|
|
126
|
-
|
|
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
|
-
|
|
172
|
+
|
|
173
|
+
- Skip closing the logger in thorfile
|
|
130
174
|
|
|
131
175
|
v3.6.0 (March 2017)
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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%>
|
|
@@ -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
|
|
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::
|
|
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
|
data/lib/tasks/thorfile.rb
CHANGED
|
@@ -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('
|
|
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('
|
|
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/
|