fix references to report_server

This commit is contained in:
Albert Yi
2016-12-01 12:34:57 -08:00
parent f46aaad39d
commit af42f52d4a
7 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
<li class="nonessential"><%= link_to "Upload", new_upload_path %></li>
<li><%= link_to "Popular", popular_explore_posts_path %></li>
<li><%= link_to "Hot", posts_path(:tags => "order:rank") %></li>
<% if Danbooru.config.report_server %>
<% if Danbooru.config.reportbooru_server %>
<li><%= link_to "Searches", searches_explore_posts_path %></li>
<% end %>
<% unless CurrentUser.is_anonymous? %>

View File

@@ -1,7 +1,7 @@
<script type="text/javascript">
$(function() {
var tags = $("#tags").val();
$.post("<%= Danbooru.config.report_server %>/missed_searches", {
$.post("<%= Danbooru.config.reportbooru_server %>/missed_searches", {
session_id: "<%= session_id %>",
tags: tags,
sig: "<%= sig %>"

View File

@@ -1,6 +1,6 @@
<script type="text/javascript">
$(function() {
$.post("<%= Danbooru.config.report_server %>/hits", {
$.post("<%= Danbooru.config.reportbooru_server %>/hits", {
key: "<%= key %>",
value: "<%= value %>",
<% if CurrentUser.user.is_platinum? && params[:ms] %>

View File

@@ -161,7 +161,7 @@
<meta property="og:image" content="http://<%= Danbooru.config.hostname %><%= @post.large_file_url %>">
<% if Danbooru.config.enable_post_search_counts %>
<meta name="report-server" content="<%= Danbooru.config.report_server %>">
<meta name="report-server" content="<%= Danbooru.config.reportbooru_server %>">
<% end %>
<!-- Twitter properties -->

View File

@@ -23,7 +23,7 @@
<% end %>
<% if params[:queries] %>
<%= content_tag("iframe", "Loading...", :src => "#{Danbooru.config.report_server}/reports/uploads?min=#{@report.min_date}&max=#{@report.max_date}&tags=#{u(@report.queries)}&sig=#{@report.generate_sig}", :height => "700", :width => "1200", :style => "border: none;") %>
<%= content_tag("iframe", "Loading...", :src => "#{Danbooru.config.reportbooru_server}/reports/uploads?min=#{@report.min_date}&max=#{@report.max_date}&tags=#{u(@report.queries)}&sig=#{@report.generate_sig}", :height => "700", :width => "1200", :style => "border: none;") %>
<% end %>
</div>
</div>

View File

@@ -61,7 +61,7 @@
<li><%= link_to("Contributors", reports_contributors_path) %></li>
<li><%= link_to("Janitor Trials", reports_janitor_trials_path) %></li>
<li><%= link_to("Uploads", reports_uploads_path) %></li>
<% if Danbooru.config.report_server %>
<% if Danbooru.config.reportbooru_server %>
<li><%= link_to("Top Searches", searches_explore_posts_path) %></li>
<li><%= link_to("Missed Searches", missed_searches_explore_posts_path) %></li>
<li><%= link_to("Post Changes", reports_post_versions_path) %></li>

View File

@@ -6,7 +6,7 @@
<script type="text/javascript">
$(function() {
$.get("<%= Danbooru.config.report_server %>/user_searches", {
$.get("<%= Danbooru.config.reportbooru_server %>/user_searches", {
uid: <%= user.id %>,
sig: "<%= sig %>"
}, function(data) {