CI / validate-monitoring (push) Successful in 10s
CI / lint (push) Successful in 14s
CI / federation-interop (push) Successful in 1m15s
CI / test (push) Successful in 7m2s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
A Profile page to upload, use Gravatar or remove the image, the avatar in the page header and on the public profile, a Sharing switch for it, and user/admin guide notes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
133 lines
6.9 KiB
HTML
133 lines
6.9 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Sharing · Scrobbled</title>
|
|
<link rel="icon" href="favicon.ico" sizes="48x48">
|
|
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
|
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
|
<link rel="manifest" href="site.webmanifest">
|
|
<meta name="theme-color" content="#1F1C28">
|
|
<link rel="stylesheet" href="css/style.css">
|
|
<script src="config.js"></script>
|
|
<script type="module" src="js/sharing.js"></script>
|
|
</head>
|
|
<body>
|
|
<header class="site-header" id="site-header"></header>
|
|
<main id="main">
|
|
<h1 class="page-title">Sharing</h1>
|
|
<p class="lede">Let people on Mastodon and other fediverse apps follow your listening.</p>
|
|
<div id="messages"></div>
|
|
<form id="sharing" class="sharing" hidden>
|
|
<div class="share-switch">
|
|
<input type="checkbox" id="enabled" name="enabled" role="switch">
|
|
<label for="enabled">Share my listening on the fediverse</label>
|
|
</div>
|
|
<div class="handle-panel" id="handle-panel" hidden>
|
|
<p class="display-status">Your fediverse handle</p>
|
|
<p class="approve-app handle" id="handle"></p>
|
|
<p class="muted">People can follow you by searching for this in their app. It can't be changed once people follow you.</p>
|
|
<p class="follower-summary" id="follower-summary"></p>
|
|
</div>
|
|
|
|
<fieldset class="choices">
|
|
<legend>Who can see posts</legend>
|
|
<div class="choice">
|
|
<input type="radio" id="vis-followers" name="visibility" value="followers">
|
|
<label for="vis-followers"><strong>Only your followers</strong><span class="muted">Posts go to followers and nowhere else.</span></label>
|
|
</div>
|
|
<div class="choice">
|
|
<input type="radio" id="vis-unlisted" name="visibility" value="unlisted">
|
|
<label for="vis-unlisted"><strong>Anyone who visits your profile</strong><span class="muted">Kept out of public timelines.</span></label>
|
|
</div>
|
|
<div class="choice">
|
|
<input type="radio" id="vis-public" name="visibility" value="public">
|
|
<label for="vis-public"><strong>Everyone</strong><span class="muted">Including public timelines and search.</span></label>
|
|
</div>
|
|
<p class="hint">"Only your followers" is only as private as who can follow you. To choose who sees your posts, turn on <em>Approve followers</em> below.</p>
|
|
</fieldset>
|
|
|
|
<fieldset class="choices">
|
|
<legend>Followers and discovery</legend>
|
|
<div class="choice">
|
|
<input type="checkbox" id="manually_approves_followers" name="manually_approves_followers">
|
|
<label for="manually_approves_followers"><strong>Approve followers</strong><span class="muted">New followers need your OK.</span></label>
|
|
</div>
|
|
<div class="choice">
|
|
<input type="checkbox" id="discoverable" name="discoverable">
|
|
<label for="discoverable"><strong>List me in directories</strong><span class="muted">Fediverse apps may suggest your profile to others.</span></label>
|
|
</div>
|
|
<div class="choice">
|
|
<input type="checkbox" id="indexable" name="indexable">
|
|
<label for="indexable"><strong>Allow search</strong><span class="muted">Your public posts may be found by full-text search.</span></label>
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="choices">
|
|
<legend>What to post</legend>
|
|
<div class="choice">
|
|
<input type="checkbox" id="post_weekly_summary" name="post_weekly_summary">
|
|
<label for="post_weekly_summary"><strong>Weekly summary</strong><span class="muted">Your play count and top artist, once a week.</span></label>
|
|
</div>
|
|
<div class="choice">
|
|
<input type="checkbox" id="post_milestones" name="post_milestones">
|
|
<label for="post_milestones"><strong>Milestones</strong><span class="muted">Scrobble-count, artist-plays and top-10 milestones as you reach them.</span></label>
|
|
</div>
|
|
<div class="field">
|
|
<label for="timezone">Time zone</label>
|
|
<input id="timezone" name="timezone" list="timezones" autocomplete="off">
|
|
<datalist id="timezones"></datalist>
|
|
<span class="hint">Decides when your week ends for the weekly summary.</span>
|
|
</div>
|
|
<div class="button-row">
|
|
<button class="button button-quiet" type="button" id="preview-weekly">Preview this week's summary</button>
|
|
</div>
|
|
<div class="preview-box" id="weekly-preview" hidden></div>
|
|
<p class="muted"><a href="posts.html">See your posts</a></p>
|
|
</fieldset>
|
|
|
|
<fieldset class="choices">
|
|
<legend>Now playing</legend>
|
|
<div class="choice">
|
|
<input type="radio" id="np-off" name="now_playing_mode" value="off">
|
|
<label for="np-off"><strong>Off</strong><span class="muted">Nothing shown or posted.</span></label>
|
|
</div>
|
|
<div class="choice">
|
|
<input type="radio" id="np-profile" name="now_playing_mode" value="profile">
|
|
<label for="np-profile"><strong>Show on my profile</strong><span class="muted">A "Now playing" field, refreshed every few minutes and cleared when you stop.</span></label>
|
|
</div>
|
|
<div class="choice">
|
|
<input type="radio" id="np-posts" name="now_playing_mode" value="posts">
|
|
<label for="np-posts"><strong>Show on my profile and post</strong><span class="muted">The profile field, plus a post for each track played 30+ seconds, replacing the last one, at most every 30 minutes.</span></label>
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="choices">
|
|
<legend>Profile</legend>
|
|
<div class="field">
|
|
<label for="display_name">Display name</label>
|
|
<input id="display_name" name="display_name" maxlength="100" autocomplete="off">
|
|
</div>
|
|
<div class="field">
|
|
<label for="bio">Bio</label>
|
|
<textarea id="bio" name="bio" maxlength="500" rows="3"></textarea>
|
|
<span class="hint">Shown on your fediverse profile. Plain text.</span>
|
|
</div>
|
|
<div class="choice">
|
|
<input type="checkbox" id="share_avatar" name="share_avatar">
|
|
<label for="share_avatar"><strong>Share my profile image</strong><span class="muted">Show the image from your <a href="account.html">profile</a> on your public profile page, and send it to other servers as your picture. Without this it stays private.</span></label>
|
|
</div>
|
|
<p class="muted" id="profile-link"></p>
|
|
</fieldset>
|
|
|
|
<div class="notice notice-error confirm-off" id="confirm-off" role="alertdialog" aria-live="assertive" hidden></div>
|
|
<div class="button-row save-row">
|
|
<button class="button" type="submit">Save sharing settings</button>
|
|
<span class="muted" id="save-status" role="status"></span>
|
|
</div>
|
|
</form>
|
|
</main>
|
|
</body>
|
|
</html>
|