From bdb09a014b121430ba4aab77575360e03436fac3 Mon Sep 17 00:00:00 2001 From: Daniel Martin <53006+etdsoft@users.noreply.github.com> Date: Tue, 26 Mar 2024 17:22:40 +0100 Subject: [PATCH 1/2] Update links to new domain --- app/views/activities/_feed.html.erb | 2 +- app/views/activities/index.html.erb | 2 +- app/views/boards/_board.html.erb | 2 +- app/views/boards/_empty_state_actions.html.erb | 8 ++++---- app/views/boards/index.html.erb | 2 +- app/views/boards/modals/_new_board_form.html.erb | 2 +- app/views/comments/_new_public_comment.html.erb | 2 +- app/views/configurations/index.html.erb | 4 ++-- app/views/export/_no_templates.html.erb | 2 +- app/views/export/index.html.erb | 4 ++-- app/views/issues/_empty_import_ce.html.erb | 4 ++-- app/views/issues/_empty_state_actions.html.erb | 2 +- app/views/issues/_import_box.html.erb | 4 ++-- app/views/issues/_send_to_menu.html.erb | 4 ++-- app/views/issues/evidence/index.html.erb | 2 +- app/views/issues/import.html.erb | 2 +- app/views/issues/index.html.erb | 2 +- app/views/issues/merge/new.html.erb | 2 +- app/views/layouts/mailer.html.erb | 2 +- app/views/layouts/tylium/_modals.html.erb | 2 +- app/views/layouts/tylium/_navbar.html.erb | 16 ++++++++-------- app/views/layouts/tylium/_nodes.html.erb | 2 +- .../layouts/tylium/_project_teaser.html.erb | 2 +- app/views/markup/help.html.erb | 2 +- app/views/nodes/show.html.erb | 2 +- app/views/nodes/show/_evidence.html.erb | 2 +- app/views/nodes/show/_notes.html.erb | 2 +- app/views/nodes/show/_properties.html.erb | 2 +- app/views/notifications/_notifications.html.erb | 2 +- app/views/projects/boards/_summary.html.erb | 2 +- app/views/projects/issues/_summary.html.erb | 2 +- app/views/qa/issues/index.html.erb | 2 +- app/views/tags/index.html.erb | 2 +- engines/dradis-api/dradis-api.gemspec | 2 +- 34 files changed, 49 insertions(+), 49 deletions(-) diff --git a/app/views/activities/_feed.html.erb b/app/views/activities/_feed.html.erb index 54a13019a..6583593a3 100644 --- a/app/views/activities/_feed.html.erb +++ b/app/views/activities/_feed.html.erb @@ -21,7 +21,7 @@ <% else %> <%= render 'shared/empty_state', name: 'activity', - docs_link: 'https://dradisframework.com/support/guides/projects/activity.html', + docs_link: 'https://dradis.com/support/guides/projects/activity.html', docs_name: 'the activity feed', text: 'If you have to step away from the project, check the feed to find out what\'s new.' %> diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb index 754077c82..bb731f493 100644 --- a/app/views/activities/index.html.erb +++ b/app/views/activities/index.html.erb @@ -25,7 +25,7 @@ <% else %> <%= render 'shared/empty_state', name: 'activity', - docs_link: 'https://dradisframework.com/support/guides/projects/activity.html', + docs_link: 'https://dradis.com/support/guides/projects/activity.html', docs_name: 'the activity feed', text: 'As you make progress this page will show you different milestones you go through. Have to step out for a meeting or off on leave for a couple of days? Review the feed when you get back to get a sense of what\'s new.' %> diff --git a/app/views/boards/_board.html.erb b/app/views/boards/_board.html.erb index cf736caf6..d8672cb5b 100644 --- a/app/views/boards/_board.html.erb +++ b/app/views/boards/_board.html.erb @@ -83,7 +83,7 @@ <%= render 'shared/empty_state', actions_partial: 'boards/board/empty_state_actions', name: 'list', - docs_link: 'https://dradisframework.com/support/guides/projects/methodologies.html#list', + docs_link: 'https://dradis.com/support/guides/projects/methodologies.html#list', text: 'Use lists to organize tasks in the methodology board.' %> <% end %> diff --git a/app/views/boards/_empty_state_actions.html.erb b/app/views/boards/_empty_state_actions.html.erb index e181619ea..55e157661 100644 --- a/app/views/boards/_empty_state_actions.html.erb +++ b/app/views/boards/_empty_state_actions.html.erb @@ -12,10 +12,10 @@
Get started quickly by using templates that have been created by us or the Dradis Community:
You can also find more tamplates in our portal: diff --git a/app/views/boards/index.html.erb b/app/views/boards/index.html.erb index 91b4a2d28..542d5e235 100644 --- a/app/views/boards/index.html.erb +++ b/app/views/boards/index.html.erb @@ -37,7 +37,7 @@ <% else %> <%= render 'shared/empty_state', actions_partial: 'boards/empty_state_actions', - docs_link: 'https://dradisframework.com/support/guides/projects/methodologies.html', + docs_link: 'https://dradis.com/support/guides/projects/methodologies.html', name: 'methodology', text: 'Drive consistency and quality by using a standard methodology for each assessment type.' %> diff --git a/app/views/boards/modals/_new_board_form.html.erb b/app/views/boards/modals/_new_board_form.html.erb index 590da186b..dc8c81b9c 100644 --- a/app/views/boards/modals/_new_board_form.html.erb +++ b/app/views/boards/modals/_new_board_form.html.erb @@ -41,7 +41,7 @@ Log in as admin: Templates > Methodologies
<% end %> - Download more templates diff --git a/app/views/comments/_new_public_comment.html.erb b/app/views/comments/_new_public_comment.html.erb index aa2d8f4f6..30a80a99f 100644 --- a/app/views/comments/_new_public_comment.html.erb +++ b/app/views/comments/_new_public_comment.html.erb @@ -1,3 +1,3 @@ - + Post comment to results portal diff --git a/app/views/configurations/index.html.erb b/app/views/configurations/index.html.erb index 0397e96be..ff895d3bf 100644 --- a/app/views/configurations/index.html.erb +++ b/app/views/configurations/index.html.erb @@ -3,8 +3,8 @@ <% if @configs.count == 0 %>Import plugins like VulnDB or MediaWiki require configuration and will display here when they are enabled.
-For more details on enabling add-ons, see our Enable/Disable Add-ons guide.
+Import plugins like VulnDB or MediaWiki require configuration and will display here when they are enabled.
+For more details on enabling add-ons, see our Enable/Disable Add-ons guide.
Read more about <%= link_to 'report templates', 'https://dradisframework.com/support/guides/administration/report_templates.html', target: '_blank' %>.
+Read more about <%= link_to 'report templates', 'https://dradis.com/support/guides/administration/report_templates.html', target: '_blank' %>.
You'll need an import plugin like:
diff --git a/app/views/issues/_empty_state_actions.html.erb b/app/views/issues/_empty_state_actions.html.erb index b9628e90c..f33483374 100644 --- a/app/views/issues/_empty_state_actions.html.erb +++ b/app/views/issues/_empty_state_actions.html.erb @@ -32,7 +32,7 @@All the usual suspects are supported: - Nessus, Nmap, Burp... + Nessus, Nmap, Burp...
Libraries:
<% else %> <% Dradis::Plugins::with_feature(:import).each do |plugin| %> diff --git a/app/views/issues/_send_to_menu.html.erb b/app/views/issues/_send_to_menu.html.erb index 9b20825ab..bd20f7cce 100644 --- a/app/views/issues/_send_to_menu.html.erb +++ b/app/views/issues/_send_to_menu.html.erb @@ -14,12 +14,12 @@ <% if sync_plugins.any? %> <% end %> - Built-in IssueLibrary + Built-in IssueLibrary <% end %> <% unless defined?(Dradis::Pro) && defined?(Dradis::Pro::Plugins::Remediationtracker) %> <% if sync_plugins.any? %> <% end %> - Built-in Remediation Tracker + Built-in Remediation Tracker <% end %> <% end %> diff --git a/app/views/issues/evidence/index.html.erb b/app/views/issues/evidence/index.html.erb index 6b1e87bba..0f3c90803 100644 --- a/app/views/issues/evidence/index.html.erb +++ b/app/views/issues/evidence/index.html.erb @@ -34,7 +34,7 @@Use evidence to detail changes from one instance of the vulnerability to the next: port number, specific versions, banners grabbed by scanners, etc.
diff --git a/app/views/issues/import.html.erb b/app/views/issues/import.html.erb index 7a23bdccf..2bdb0d8cb 100644 --- a/app/views/issues/import.html.erb +++ b/app/views/issues/import.html.erb @@ -100,7 +100,7 @@- Learn + Learn more about merging issues.
diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index 291b1b3ee..038fbb77d 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -61,7 +61,7 @@ <% end %>Check out our support website for more details on supported styles.
+Check out our support website for more details on supported styles.
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index c179148bc..4dd842b99 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb @@ -12,7 +12,7 @@ NotesEnsure the accuracy and completeness of your data by QA-ing issues. Once there are issues marked as 'ready for review' you'll be able to go through each one here, make any necessary changes, leave comments, publish, etc.
<% end %> diff --git a/app/views/tags/index.html.erb b/app/views/tags/index.html.erb index 1b84c65d4..50d21e181 100644 --- a/app/views/tags/index.html.erb +++ b/app/views/tags/index.html.erb @@ -22,7 +22,7 @@Use tags to flag and/or organize your issues.
diff --git a/engines/dradis-api/dradis-api.gemspec b/engines/dradis-api/dradis-api.gemspec index 2fef7ab13..d326ea403 100644 --- a/engines/dradis-api/dradis-api.gemspec +++ b/engines/dradis-api/dradis-api.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |gem| gem.email = ['>moc.stoorytiruces@liame<'.reverse] gem.description = 'REST HTTP API for Dradis Framework' gem.summary = 'Dradis HTTP API' - gem.homepage = 'http://dradisframework.org' + gem.homepage = 'https://dradis.com/ce/' gem.files = `git ls-files`.split($\) gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } From 498449634963703f41bcfa8bff24077a06489395 Mon Sep 17 00:00:00 2001 From: Daniel Martin <53006+etdsoft@users.noreply.github.com> Date: Tue, 26 Mar 2024 17:30:13 +0100 Subject: [PATCH 2/2] Lint .gemspec --- engines/dradis-api/dradis-api.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/dradis-api/dradis-api.gemspec b/engines/dradis-api/dradis-api.gemspec index d326ea403..48e9c1b8f 100644 --- a/engines/dradis-api/dradis-api.gemspec +++ b/engines/dradis-api/dradis-api.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |gem| gem.homepage = 'https://dradis.com/ce/' gem.files = `git ls-files`.split($\) - gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } + gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ['lib']