Revert to fediverse.space domain

This commit is contained in:
Inex Code 2021-09-18 18:16:21 +03:00
parent 8fc4ebbcc5
commit f3cb4ce73c
7 changed files with 19 additions and 21 deletions

View File

@ -46,7 +46,7 @@ defmodule BackendWeb.Endpoint do
)
plug(Corsica,
origins: ["http://localhost:3001", ~r{^https://(.*\.?)index\.community$}],
origins: ["http://localhost:3001", ~r{^https://(.*\.?)index\.community$}, ~r{^https://(.*\.?)fediverse\.space$}],
allow_headers: ["content-type", "token"]
)

View File

@ -1,7 +1,7 @@
server {
listen 80;
listen [::]:80;
server_name index.community;
server_name fediverse.space;
gzip on;
gzip_comp_level 5;

View File

@ -9,19 +9,19 @@
<!-- For search engines -->
<meta name="description" content="A tool to visualize decentralized social networks." />
<!-- Open Graph -->
<meta property="og:site_name" content="index.community" />
<meta property="og:site_name" content="fediverse.space" />
<meta property="og:description" content="" />
<meta property="og:image" content="%PUBLIC_URL%/preview.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="914" />
<meta property="og:image:height" content="679" />
<meta property="og:image:alt" content="A screenshot of index.community. Shows a graph of fediverse instances." />
<meta property="og:image:alt" content="A screenshot of fediverse.space. Shows a graph of fediverse instances." />
<!-- Twitter cards -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="index.community">
<meta name="twitter:title" content="fediverse.space">
<meta name="twitter:description" content="A tool to visualize decentralized social networks.">
<meta name="twitter:image" content="%PUBLIC_URL%/preview.png">
<meta name="twitter:image:alt" content="A screenshot of index.community. Shows a graph of fediverse instances." />
<meta name="twitter:image:alt" content="A screenshot of fediverse.space. Shows a graph of fediverse instances." />
<!--
manifest.json provides metadata used when your web app is added to the
@ -38,7 +38,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>index.community</title>
<title>fediverse.space</title>
</head>
<body>

View File

@ -24,7 +24,7 @@ class Nav extends React.Component<{}, NavState> {
<nav role="navigation">
<Navbar fixedToTop={true}>
<Navbar.Group align={Alignment.LEFT}>
<Navbar.Heading>index.community</Navbar.Heading>
<Navbar.Heading>fediverse.space</Navbar.Heading>
<Navbar.Divider />
<NavLink
to="/"

View File

@ -16,7 +16,7 @@ const AboutScreen: React.FC = () => (
<Page>
<H1>About</H1>
<p className={Classes.RUNNING_TEXT}>
index.community is a tool to visualize networks and communities on the{" "}
fediverse.space is a tool to visualize networks and communities on the{" "}
<a href="https://en.wikipedia.org/wiki/Fediverse" target="_blank" rel="noopener noreferrer">
fediverse
</a>
@ -32,7 +32,7 @@ const AboutScreen: React.FC = () => (
</p>
<p>
This is a fork of the deprecated fediverse.space by{" "}
This is a fork of the original fediverse.space by{" "}
<a href="https://www.btao.org" target="_blank" rel="noopener noreferrer">
Tao Bojlén
</a>
@ -44,7 +44,7 @@ const AboutScreen: React.FC = () => (
<H3>Why can&apos;t I see details about my instance?</H3>
<p className={Classes.RUNNING_TEXT}>
index.community only supports servers using the Mastodon API, the Misskey API, the GNU Social API, or Nodeinfo.
fediverse.space only supports servers using the Mastodon API, the Misskey API, the GNU Social API, or Nodeinfo.
Instances with 10 or fewer users won&apos;t be crawled -- it&apos;s a tool for understanding communities, not
individuals.
</p>
@ -61,7 +61,7 @@ const AboutScreen: React.FC = () => (
<H3>How do you calculate the strength of relationships between instances?</H3>
<p className={Classes.RUNNING_TEXT}>
index.community looks at public statuses from within the last month on the public timeline of each instance. It
fediverse.space looks at public statuses from within the last month on the public timeline of each instance. It
calculates at the ratio of
<Code>mentions of an instance / total statuses</Code>. It uses a ratio rather than an absolute number of mentions
to reflect that smaller instances can play a large role in a community.
@ -69,7 +69,7 @@ const AboutScreen: React.FC = () => (
<H3>Who maintains this instance?</H3>
<p className={Classes.RUNNING_TEXT}>
index.community is an{" "}
index.community (fork domain) is an{" "}
<a href="https://innereq.org" target="_blank" rel="noopener noreferrer">
InnerEq.org
</a>{" "}
@ -123,9 +123,9 @@ const AboutScreen: React.FC = () => (
</li>
</ul>
<p>
The source code for index.community is available on{" "}
<a href="https://inex.dev/inex/index.community" target="_blank" rel="noopener noreferrer">
Gitea
The source code for fediverse.space is available on{" "}
<a href="https://gitlab.com/fediverse.space/fediverse.space" target="_blank" rel="noopener noreferrer">
GitLab
</a>
; issues and pull requests are welcome!
</p>

View File

@ -74,7 +74,7 @@ class AdminScreen extends React.PureComponent<AdminScreenProps, AdminScreenState
<p>{`${settings.userCount} users with ${settings.statusCount || "(unknown)"} statuses.`}</p>
<form onSubmit={this.updateSettings}>
{settings.userCount < 10 && (
<FormGroup helperText="Check this if you'd like your personal instance to be crawled by index.community. This takes up to 24 hours to take effect.">
<FormGroup helperText="Check this if you'd like your personal instance to be crawled by fediverse.space. This takes up to 24 hours to take effect.">
<Switch
id="opt-in-switch"
checked={!!settings.optIn}
@ -85,7 +85,7 @@ class AdminScreen extends React.PureComponent<AdminScreenProps, AdminScreenState
/>
</FormGroup>
)}
<FormGroup helperText="Check this if you don't want to your instance to be crawled. You won't appear on index.community. The change is immediate.">
<FormGroup helperText="Check this if you don't want to your instance to be crawled. You won't appear on fediverse.space. The change is immediate.">
<Switch
id="opt-out-switch"
checked={!!settings.optOut}

View File

@ -79,9 +79,7 @@ class LoginScreen extends React.PureComponent<{}, LoginScreenState> {
return (
<Page>
<H1>Login</H1>
<p className={Classes.RUNNING_TEXT}>
You must be the instance admin to manage how index.community interacts with your instance.
</p>
<p className={Classes.RUNNING_TEXT}>You must be the instance admin to manage how fediverse.space</p>
<p className={Classes.RUNNING_TEXT}>
It&apos;s currently only possible to administrate Mastodon and Pleroma instances. If you want to login with a
direct message, your instance must federate with social.inex.rocks and vice versa.