Files
danbooru/app/views/static/site_map.html.erb
evazion 075199cd1e Remove /ip_addresses page.
Remove the /ip_addresses page. This page allowed moderators to search
users by IP, and to see recent activity tied to an IP. However, it was
limited to IPs tied to uploads, comments, dmails, artist edits, note
edits, and wiki edits.

Remove this page because it was limited in scope and because there are
better ways of doing what it did. The /user_events page is better at
catching sockpuppets because it tracks IPs for every login, not just for
certain types of edits. And the /user_actions page is better at
monitoring user activity because it shows all activity associated with
an account, not just for certain types of edits.

Removing this allows us to drop IP addresses from all tables besides the
user_events table. This is good because these IPs are no longer necessary
for any purpose, and because storing them forever is a liability.
2022-09-17 21:32:26 -05:00

201 lines
7.7 KiB
Plaintext

<% page_title "Site Map" %>
<div id="c-static">
<div id="a-site-map" class="fixed-width-container space-y-4 md:flex md:space-y-0">
<section class="flex-auto space-y-4">
<ul>
<li><h2>Posts</h2></li>
<li><%= link_to("Posts", posts_path) %></li>
<li><%= link_to("Upload", new_upload_path) %></li>
<li><%= link_to("Popular", popular_explore_posts_path) %></li>
<li><%= link_to("Curated", curated_explore_posts_path) %></li>
<li><%= link_to("Votes", post_votes_path) %></li>
<li><%= link_to("Most Viewed", viewed_explore_posts_path) %></li>
<li><%= link_to("Similar Image Search", iqdb_queries_path) %></li>
<li><%= link_to_wiki "Help", "help:posts" %></li>
</ul>
<ul>
<li><h2>Post Events</h2></li>
<li><%= link_to("Tag History", post_versions_path) %></li>
<li><%= link_to("Approvals", post_approvals_path) %></li>
<li><%= link_to("Disapprovals", post_disapprovals_path) %></li>
<li><%= link_to("Appeals", post_appeals_path) %></li>
<li><%= link_to("Flags", post_flags_path) %></li>
<li><%= link_to("Replacements", post_replacements_path) %></li>
</ul>
<ul>
<li><h2>Artists</h2></li>
<li><%= link_to("Artists", artists_path) %></li>
<li><%= link_to("History", artist_versions_path) %></li>
<li><%= link_to_wiki "Help", "help:artists" %></li>
</ul>
<ul>
<li><h2>Artist commentary</h2></li>
<li><%= link_to("Commentary", artist_commentaries_path) %></li>
<li><%= link_to("History", artist_commentary_versions_path) %></li>
<li><%= link_to_wiki "Help", "help:artist_commentary" %></li>
</ul>
</section>
<section class="flex-auto space-y-4">
<ul>
<li><h2>Tags</h2></li>
<li><%= link_to("Tags", tags_path) %></li>
<li><%= link_to("History", tag_versions_path) %></li>
<li><%= link_to("Aliases", tag_aliases_path) %></li>
<li><%= link_to("Implications", tag_implications_path) %></li>
<li><%= link_to("AI Tags", ai_tags_path) %></li>
<li><%= link_to("Related Tags", related_tag_path) %></li>
<li><%= link_to_wiki "Cheat sheet", "help:cheatsheet" %></li>
<li><%= link_to_wiki "Help", "help:tags" %></li>
</ul>
<ul>
<li><h2>Notes</h2></li>
<li><%= link_to("Notes", notes_path) %></li>
<li><%= link_to("History", note_versions_path) %></li>
<li><%= link_to_wiki "Help", "help:notes" %></li>
</ul>
<ul>
<li><h2>Pools</h2></li>
<li><%= link_to("Pools", pools_path) %></li>
<li><%= link_to("Gallery", gallery_pools_path) %></li>
<% if PoolVersion.enabled? %>
<li><%= link_to("History", pool_versions_path) %></li>
<% end %>
<li><%= link_to_wiki "Help", "help:pools" %></li>
</ul>
<ul>
<li><h2>Reports</h2></li>
<li><%= link_to("User Reports", "https://isshiki.donmai.us/user-reports") %></li>
<li><%= link_to("Top Searches", searches_explore_posts_path) %></li>
<li><%= link_to("Missed Searches", missed_searches_explore_posts_path) %></li>
</ul>
</section>
<section class="flex-auto space-y-4">
<% if Danbooru.config.comments_enabled?.to_s.truthy? %>
<ul>
<li><h2>Comments</h2></li>
<li><%= link_to("Comments", comments_path) %></li>
<li><%= link_to("Search", search_comments_path) %></li>
<li><%= link_to("Votes", comment_votes_path) %></li>
<li><%= link_to("RSS", comments_path(:atom)) %></li>
<li><%= link_to_wiki "Help", "help:comments" %></li>
</ul>
<% end %>
<% if Danbooru.config.forum_enabled?.to_s.truthy? %>
<ul>
<li><h2>Forum</h2></li>
<li><%= link_to("Forum", forum_topics_path) %></li>
<li><%= link_to("Search", search_forum_posts_path) %></li>
<li><%= link_to("Bulk Update Requests", bulk_update_requests_path) %></li>
<li><%= link_to("Votes", forum_post_votes_path) %></li>
<li><%= link_to("RSS", forum_topics_path(:atom)) %></li>
<li><%= link_to_wiki "Help", "help:forum" %></li>
</ul>
<% end %>
<ul>
<li><h2>Wiki</h2></li>
<li><%= link_to_wiki "Wiki", "help:home" %></li>
<li><%= link_to("Search", wiki_pages_path) %></li>
<li><%= link_to("History", wiki_page_versions_path) %></li>
<li><%= link_to_wiki "Help", "help:wiki" %></li>
</ul>
<ul>
<li><h2>Site</h2></li>
<li><%= link_to("Server Status", status_path) %></li>
<li><%= link_to("Source Code", Danbooru.config.source_code_url) %></li>
<li><%= link_to_wiki "User Scripts", "about:userscripts" %></li>
<li><%= link_to("Keyboard Shortcuts", keyboard_shortcuts_path) %></li>
<li><%= link_to_wiki "API Documentation", "help:api" %></li>
<li><%= link_to("Background Jobs", jobs_path) %></li>
</ul>
</section>
<section class="flex-auto space-y-4">
<ul>
<li><h2>Profile</h2></li>
<% if CurrentUser.is_anonymous? %>
<li><%= link_to "Login", login_path %></li>
<li><%= link_to "Sign up", new_user_path %></li>
<% else %>
<li><%= link_to "Profile", profile_path %></li>
<li><%= link_to "Settings", settings_path %></li>
<% if policy(UserNameChangeRequest).create? %>
<li><%= link_to "Change name", new_user_name_change_request_path %></li>
<% end %>
<li><%= link_to "Uploads", user_uploads_path(CurrentUser.user) %></li>
<li><%= link_to "Dmails", dmails_path(search: { folder: "received" }) %></li>
<li><%= link_to "Favorites", favorites_path %></li>
<li><%= link_to "Favorite groups", favorite_groups_path %></li>
<li><%= link_to "Saved searches", saved_searches_path %></li>
<% end %>
<li><%= link_to "Upgrade account", new_user_upgrade_path %></li>
</ul>
<ul>
<li><h2>Users</h2></li>
<li><%= link_to("Users", users_path) %></li>
<li><%= link_to("Bans", bans_path) %></li>
<% if policy(IpBan).index? %>
<li><%= link_to("IP Bans", ip_bans_path) %></li>
<% end %>
<% if policy(EmailAddress).index? %>
<li><%= link_to("Email Addresses", emails_path) %></li>
<% end %>
<% if policy(UserNameChangeRequest).index? %>
<li><%= link_to("Name Changes", user_name_change_requests_path) %></li>
<% end %>
<li><%= link_to("Feedback", user_feedbacks_path) %></li>
<li><%= link_to_wiki "Help", "help:users" %></li>
</ul>
<ul>
<li><h2>Admin</h2></li>
<% if policy(PostApproval).create? %>
<li><%= link_to("Modqueue", modqueue_index_path) %></li>
<% end %>
<li><%= link_to("Mod Actions", mod_actions_path) %></li>
<% if policy(UserAction).index? %>
<li><%= link_to("User Actions", user_actions_path) %></li>
<% end %>
<% if policy(UserEvent).index? %>
<li><%= link_to("User Events", user_events_path) %></li>
<% end %>
<% if policy(ModerationReport).index? %>
<li><%= link_to("Moderation Reports", moderation_reports_path) %></li>
<% end %>
<% if policy(NewsUpdate).index? %>
<li><%= link_to("News Updates", news_updates_path) %></li>
<% end %>
</ul>
<ul>
<li><h2>Legal</h2></li>
<li><%= link_to("Privacy Policy", privacy_policy_path) %></li>
<li><%= link_to("Terms of Service", terms_of_service_path) %></li>
<li><%= link_to("2257 Statement", usc_2257_path) %></li>
</ul>
</section>
</div>
</div>