Skip to content

Commit

Permalink
Remove the Feedback Form (#2640)
Browse files Browse the repository at this point in the history
* Remove the Feedback Form

* Remove this test
  • Loading branch information
pglombardo authored Oct 17, 2024
1 parent 1bba31a commit fc512cb
Show file tree
Hide file tree
Showing 82 changed files with 325 additions and 7,197 deletions.
29 changes: 0 additions & 29 deletions app/controllers/feedbacks_controller.rb

This file was deleted.

29 changes: 0 additions & 29 deletions app/models/feedback.rb

This file was deleted.

43 changes: 0 additions & 43 deletions app/views/feedbacks/new.html.erb

This file was deleted.

9 changes: 0 additions & 9 deletions app/views/layouts/login.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
<%= render "devise/shared/links" %>
</div>
<hr class="mt-5">
<% if ENV.key?('PWPUSH_COM') %>
<div class='my-3'>
<em>
<%= _("Some domains may inadvertently block emails. If you are having trouble receiving emails, ") %>
<%= link_to _("send a message"), new_feedback_path %>
<%= _('and we can help out.') %>
</em>
</div>
<% end %>
</main>
</div>
</body>
Expand Down
57 changes: 27 additions & 30 deletions app/views/pages/about.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -95,35 +95,32 @@
</p>
</div>
<div class="col">
<% if ENV.key?('PWPUSH_COM') %>
<%= render partial: 'shared/newsletter_sign_up', cached: true %>
<% end %>
<div class="card mb-3">
<h5 class="card-header"><em class="bi bi-stars"></em> <%= _('Birthday') %></h5>
<div class="card-body">
<h5 class="card-title"><%= _('More Than 11 Years Old') %></h5>
<p class="card-text">
<%= _('The first git commit to Password Pusher was on') %>
<strong>
<%= l Date.new(2011, 12, 28), format: :long %>.
</strong>
<%= _('pwpush.com went live shortly thereafter.') %></p>
</div>
</div>
<div class="card mb-3">
<%= image_tag 'pwpush_logo.png', class: 'card-img-top', alt: 'Password Pusher Logo' %>
<div class="card-body">
<h5 class="card-title"><%= _('The Original Theme') %></h5>
<p class="card-text"><%= _('The original site design consisted of a dark background with a bold yellow font.') %></p>
</div>
</div>
<p class='text-end'><%= _('Follow for news, changes & updates.') %></p>
<div class="d-grid gap-2 d-md-block text-end mb-3">
<a href="https://www.facebook.com/pwpush/" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-facebook"></em></button></a>
<a href="https://github.com/pglombardo/PasswordPusher" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-github"></em></button></a>
<a href="https://twitter.com/pwpush" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-twitter"></em></button></a>
<a href="https://reddit.com/r/pwpush" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-reddit"></em></button></a>
<a href="https://buttondown.email/pwpush" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-newspaper"></em></button></a>
</div>
<div class="card mb-3">
<h5 class="card-header"><em class="bi bi-stars"></em> <%= _('Birthday') %></h5>
<div class="card-body">
<h5 class="card-title"><%= _('More Than 11 Years Old') %></h5>
<p class="card-text">
<%= _('The first git commit to Password Pusher was on') %>
<strong>
<%= l Date.new(2011, 12, 28), format: :long %>.
</strong>
<%= _('pwpush.com went live shortly thereafter.') %></p>
</div>
</div>
<div class="card mb-3">
<%= image_tag 'pwpush_logo.png', class: 'card-img-top', alt: 'Password Pusher Logo' %>
<div class="card-body">
<h5 class="card-title"><%= _('The Original Theme') %></h5>
<p class="card-text"><%= _('The original site design consisted of a dark background with a bold yellow font.') %></p>
</div>
</div>
<p class='text-end'><%= _('Follow for news, changes & updates.') %></p>
<div class="d-grid gap-2 d-md-block text-end mb-3">
<a href="https://www.facebook.com/pwpush/" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-facebook"></em></button></a>
<a href="https://github.com/pglombardo/PasswordPusher" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-github"></em></button></a>
<a href="https://twitter.com/pwpush" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-twitter"></em></button></a>
<a href="https://reddit.com/r/pwpush" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-reddit"></em></button></a>
<a href="https://buttondown.email/pwpush" target="_blank"><button class="btn btn-info" type="button"><em class="bi bi-newspaper"></em></button></a>
</div>
</div>
</div>
60 changes: 0 additions & 60 deletions app/views/pages/translate.html.erb

This file was deleted.

1 change: 0 additions & 1 deletion app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
<ul class="dropdown-menu" aria-labelledby="aboutDropdownMenuLink">
<li class="dropdown-item"><%= link_to _('Overview'), page_path('about'), class: 'nav-link px-2 text-muted' %></li>
<li class="dropdown-item"><%= link_to _('Documentation'), "https://docs.pwpush.com", target: "_blank", class: 'nav-link px-2 text-muted' %></li>
<li class="dropdown-item"><%= link_to _('Send Feedback'), new_feedback_path, class: 'nav-link px-2 text-muted' %></li>
</ul>
</li>
</ul>
Expand Down
25 changes: 0 additions & 25 deletions app/views/shared/_layout_icons.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,3 @@
<meta name="msapplication-TileImage" content="<%= asset_path('ms-icon-144x144.png') %>">
<meta name="theme-color" content="#ffffff">
<% end %>

<% if ENV.key?('PWPUSH_COM') %>
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@pwpush">
<meta name="twitter:creator" content="@pglombardo">
<meta name="twitter:title" content="Password Pusher">
<meta name="twitter:url" content="https://pwpush.com">
<meta name="twitter:description" content="Securely communicate passwords, data & files. Secret URLs expire after X views or X days. Track access with audit logs.">
<meta name="twitter:image:src" content="https://pwpush.fra1.cdn.digitaloceanspaces.com/branding/logos/square-logo-small.png">

<!-- Open Graph -->
<meta property="og:type" content="website">
<meta property="og:site_name" content="Password Pusher">
<meta property="og:title" content="Password Pusher">
<meta property="og:url" content="https://pwpush.com">
<meta property="og:description" content="Securely communicate passwords, data & files. Secret URLs expire after X views or X days. Track access with audit logs.">
<meta property="og:image" content="https://pwpush.fra1.cdn.digitaloceanspaces.com/branding/logos/square-logo-small.png">
<meta property="og:image:width" content="600">
<meta property="og:image:height" content="400">
<meta property="og:locale" content="<%= I18n.locale %>">
<% for lang in I18n.available_locales do %>
<meta property="og:locale:alternate" content="<%= lang %>">
<% end %>
<% end %>
17 changes: 0 additions & 17 deletions app/views/shared/_newsletter_sign_up.html.erb

This file was deleted.

8 changes: 0 additions & 8 deletions config/defaults/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -773,14 +773,6 @@ mail:
# Environment Variable Override: PWP__MAIL__MAILER_SENDER='"Password Pusher" <pglombardo@pwpush.com>'
# mailer_sender: '"Password Pusher" <oss@pwpush.com>'

### Feedback Form
feedback:
# The email that will receive the information filled out by users in the
# Feedback form.
#
# Environment Variable Override: PWP__FEEDBACK__EMAIL='my@email.com'
email: 'feedback@pwpush.com'

### Docker Pre-compilation
#
# This is useful if you modified the assets (e.g. CSS, JS, images) to customize
Expand Down
2 changes: 1 addition & 1 deletion config/locales/.translation_io
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# ignore the conflicts and "sync" again, it will fix this file for you.

---
timestamp: 1729085107
timestamp: 1729117437
Loading

0 comments on commit fc512cb

Please sign in to comment.