Skip to content

Commit

Permalink
chore: use fider.io instead of getfider.com
Browse files Browse the repository at this point in the history
  • Loading branch information
goenning committed Feb 12, 2022
1 parent 39fdd2b commit 9049da1
Show file tree
Hide file tree
Showing 25 changed files with 28 additions and 37 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://getfider.com">
<a href="https://fider.io">
<img src="etc/logo-small.png" />
</a>
<h1 align="center">Fider</h1>
Expand All @@ -11,7 +11,7 @@

<div align="center">
<h3>
<a href="https://getfider.com">
<a href="https://fider.io">
Website
</a>
<span> | </span>
Expand All @@ -33,8 +33,8 @@

There are two options on how to get started with Fider

- **Self-Hosted**: You can install Fider on any cloud providers. There is no fee associated and you are responsible for managing it. [Learn how](https://getfider.com/#get-started)
- **Cloud**: Cloud Fider is a fully managed services where you get started in minutes. Forget about managing software updates and patches, we do it all for you! [Sign up now](https://getfider.com/#get-started)
- **Self-Hosted**: You can install Fider on any cloud providers. There is no fee associated and you are responsible for managing it. [Learn how](https://fider.io/#get-started)
- **Cloud**: Cloud Fider is a fully managed services where you get started in minutes. Forget about managing software updates and patches, we do it all for you! [Sign up now](https://fider.io/#get-started)

## Contributors

Expand Down
9 changes: 0 additions & 9 deletions app/middlewares/tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ func MultiTenant() web.MiddlewareFunc {
return func(c *web.Context) error {
hostname := c.Request.URL.Hostname()

// If no tenant is specified, redirect user to getfider.com
// This is only valid for fider.io hosting
if (env.IsProduction() && hostname == "fider.io") ||
(env.IsDevelopment() && hostname == "dev.fider.io") {
if c.Request.URL.Path == "" || c.Request.URL.Path == "/" {
return c.Redirect("https://getfider.com")
}
}

byDomain := &query.GetTenantByDomain{Domain: hostname}
err := bus.Dispatch(c, byDomain)
if err != nil && errors.Cause(err) != app.ErrNotFound {
Expand Down
2 changes: 1 addition & 1 deletion app/pkg/web/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ func LogoURL(ctx context.Context) string {
if hasTenant && tenant.LogoBlobKey != "" {
return AssetsURL(ctx, "/static/images/%s?size=200", tenant.LogoBlobKey)
}
return "https://getfider.com/images/logo-100x100.png"
return "https://fider.io/images/logo-100x100.png"
}

// BaseURL return the base URL from given context
Expand Down
2 changes: 1 addition & 1 deletion app/pkg/web/testdata/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://demo.test.fider.io:3000/" />
<meta property="og:image" content="https://getfider.com/images/logo-100x100.png">
<meta property="og:image" content="https://fider.io/images/logo-100x100.png">
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion app/pkg/web/testdata/canonical.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://demo.test.fider.io:3000/" />
<meta property="og:image" content="https://getfider.com/images/logo-100x100.png">
<meta property="og:image" content="https://fider.io/images/logo-100x100.png">
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion app/pkg/web/testdata/chunk.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://demo.test.fider.io:3000/" />
<meta property="og:image" content="https://getfider.com/images/logo-100x100.png">
<meta property="og:image" content="https://fider.io/images/logo-100x100.png">
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion app/pkg/web/testdata/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:description" content="My Page Description" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://demo.test.fider.io:3000/" />
<meta property="og:image" content="https://getfider.com/images/logo-100x100.png">
<meta property="og:image" content="https://fider.io/images/logo-100x100.png">
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion app/pkg/web/testdata/home_ssr.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:description" content="My Page Description" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://demo.test.fider.io:3000/" />
<meta property="og:image" content="https://getfider.com/images/logo-100x100.png">
<meta property="og:image" content="https://fider.io/images/logo-100x100.png">
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion app/pkg/web/testdata/oauth.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://demo.test.fider.io:3000/" />
<meta property="og:image" content="https://getfider.com/images/logo-100x100.png">
<meta property="og:image" content="https://fider.io/images/logo-100x100.png">
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion app/pkg/web/testdata/tenant.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://demo.test.fider.io:3000/" />
<meta property="og:image" content="https://getfider.com/images/logo-100x100.png">
<meta property="og:image" content="https://fider.io/images/logo-100x100.png">
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion app/pkg/web/testdata/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:description" content="My Page Description" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://demo.test.fider.io:3000/" />
<meta property="og:image" content="https://getfider.com/images/logo-100x100.png">
<meta property="og:image" content="https://fider.io/images/logo-100x100.png">
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion app/tasks/change_email_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestSendChangeEmailConfirmationTask(t *testing.T) {
Expect(emailmock.MessageHistory[0].TemplateName).Equals("change_emailaddress_email")
Expect(emailmock.MessageHistory[0].Tenant).Equals(mock.DemoTenant)
Expect(emailmock.MessageHistory[0].Props).Equals(dto.Props{
"logo": "https://getfider.com/images/logo-100x100.png",
"logo": "https://fider.io/images/logo-100x100.png",
})
Expect(emailmock.MessageHistory[0].From).Equals(dto.Recipient{
Name: mock.DemoTenant.Name,
Expand Down
2 changes: 1 addition & 1 deletion app/tasks/delete_post_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func TestNotifyAboutDeletePostTask(t *testing.T) {
"siteName": "Demonstration",
"content": template.HTML("<p>Invalid post!</p>"),
"change": "<a href='http://domain.com/settings'>change your notification preferences</a>",
"logo": "https://getfider.com/images/logo-100x100.png",
"logo": "https://fider.io/images/logo-100x100.png",
})
Expect(emailmock.MessageHistory[0].From).Equals(dto.Recipient{
Name: "Jon Snow",
Expand Down
2 changes: 1 addition & 1 deletion app/tasks/invites_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestSendInvites(t *testing.T) {
Expect(emailmock.MessageHistory[0].Tenant).Equals(mock.DemoTenant)
Expect(emailmock.MessageHistory[0].Props).Equals(dto.Props{
"subject": "My Subject",
"logo": "https://getfider.com/images/logo-100x100.png",
"logo": "https://fider.io/images/logo-100x100.png",
})
Expect(emailmock.MessageHistory[0].From).Equals(dto.Recipient{
Name: "Jon Snow",
Expand Down
2 changes: 1 addition & 1 deletion app/tasks/new_comment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func TestNotifyAboutNewCommentTask(t *testing.T) {
"view": "<a href='http://domain.com/posts/1/add-support-for-typescript'>view it on your browser</a>",
"change": "<a href='http://domain.com/settings'>change your notification preferences</a>",
"unsubscribe": "<a href='http://domain.com/posts/1/add-support-for-typescript'>unsubscribe from it</a>",
"logo": "https://getfider.com/images/logo-100x100.png",
"logo": "https://fider.io/images/logo-100x100.png",
})
Expect(emailmock.MessageHistory[0].From).Equals(dto.Recipient{
Name: "Arya Stark",
Expand Down
2 changes: 1 addition & 1 deletion app/tasks/new_post_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func TestNotifyAboutNewPostTask(t *testing.T) {
"content": template.HTML("<p>TypeScript is great, please add support for it</p>"),
"view": "<a href='http://domain.com/posts/1/add-support-for-typescript'>view it on your browser</a>",
"change": "<a href='http://domain.com/settings'>change your notification preferences</a>",
"logo": "https://getfider.com/images/logo-100x100.png",
"logo": "https://fider.io/images/logo-100x100.png",
})
Expect(emailmock.MessageHistory[0].From).Equals(dto.Recipient{
Name: "Jon Snow",
Expand Down
2 changes: 1 addition & 1 deletion app/tasks/signin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestSendSignInEmailTask(t *testing.T) {
Expect(emailmock.MessageHistory[0].TemplateName).Equals("signin_email")
Expect(emailmock.MessageHistory[0].Tenant).Equals(mock.DemoTenant)
Expect(emailmock.MessageHistory[0].Props).Equals(dto.Props{
"logo": "https://getfider.com/images/logo-100x100.png",
"logo": "https://fider.io/images/logo-100x100.png",
})
Expect(emailmock.MessageHistory[0].From).Equals(dto.Recipient{
Name: mock.DemoTenant.Name,
Expand Down
2 changes: 1 addition & 1 deletion app/tasks/signup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestSendSignUpEmailTask(t *testing.T) {
Expect(emailmock.MessageHistory[0].TemplateName).Equals("signup_email")
Expect(emailmock.MessageHistory[0].Tenant).IsNil()
Expect(emailmock.MessageHistory[0].Props).Equals(dto.Props{
"logo": "https://getfider.com/images/logo-100x100.png",
"logo": "https://fider.io/images/logo-100x100.png",
})
Expect(emailmock.MessageHistory[0].From).Equals(dto.Recipient{
Name: "Fider",
Expand Down
4 changes: 2 additions & 2 deletions app/tasks/status_change_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestNotifyAboutStatusChangeTask(t *testing.T) {
"view": "<a href='http://domain.com/posts/1/add-support-for-typescript'>view it on your browser</a>",
"change": "<a href='http://domain.com/settings'>change your notification preferences</a>",
"unsubscribe": "<a href='http://domain.com/posts/1/add-support-for-typescript'>unsubscribe from it</a>",
"logo": "https://getfider.com/images/logo-100x100.png",
"logo": "https://fider.io/images/logo-100x100.png",
})
Expect(emailmock.MessageHistory[0].From).Equals(dto.Recipient{
Name: "Jon Snow",
Expand Down Expand Up @@ -199,7 +199,7 @@ func TestNotifyAboutStatusChangeTask_Duplicate(t *testing.T) {
"view": "<a href='http://domain.com/posts/2/i-need-typescript'>view it on your browser</a>",
"change": "<a href='http://domain.com/settings'>change your notification preferences</a>",
"unsubscribe": "<a href='http://domain.com/posts/2/i-need-typescript'>unsubscribe from it</a>",
"logo": "https://getfider.com/images/logo-100x100.png",
"logo": "https://fider.io/images/logo-100x100.png",
})
Expect(emailmock.MessageHistory[0].From).Equals(dto.Recipient{
Name: "Jon Snow",
Expand Down
2 changes: 1 addition & 1 deletion public/components/common/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const TenantLogo = (props: TenantLogoProps) => {
if (tenant && tenant.logoBlobKey) {
return <img src={TenantLogoURL(fider.session.tenant, props.size)} alt={tenant.name} />
} else if (props.useFiderIfEmpty) {
return <img src="https://getfider.com/images/logo-100x100.png" alt="Fider" />
return <img src="https://fider.io/images/logo-100x100.png" alt="Fider" />
}
return null
}
Expand Down
2 changes: 1 addition & 1 deletion public/components/common/PoweredByFider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface PoweredByFiderProps {
export const PoweredByFider = (props: PoweredByFiderProps) => {
return (
<div className={`c-powered ${props.className}`}>
<a rel="noopener" href="https://getfider.com" target="_blank">
<a rel="noopener" href="https://fider.io" target="_blank">
Powered by Fider
</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default class ManageAuthenticationPage extends AdminBasePage<ManageAuthen
<h2 className="text-display">OAuth Providers</h2>
<p>
You can use these section to add any authentication provider thats supports the OAuth2 protocol. Additional information is available in our{" "}
<a rel="noopener" className="text-link" target="_blank" href="https://getfider.com/docs/configuring-oauth/">
<a rel="noopener" className="text-link" target="_blank" href="https://fider.io/docs/configuring-oauth/">
OAuth Documentation
</a>
.
Expand Down
2 changes: 1 addition & 1 deletion public/pages/Administration/pages/ManageWebhooks.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const ManageWebhooksPage = (props: ManageWebhooksPageProps) => {
<VStack spacing={8}>
<p>
Use webhooks to integrate Fider with other applications like Slack, Discord, Zapier and many others.{" "}
<a className="text-link" href="https://getfider.com/docs/using-webhooks" target="_blank" rel="noopener">
<a className="text-link" href="https://fider.io/docs/using-webhooks" target="_blank" rel="noopener">
Learn more in our documentation
</a>
.
Expand Down
2 changes: 1 addition & 1 deletion public/pages/MySettings/components/APIKeyForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class APIKeyForm extends React.Component<any, APIKeyFormState> {
<p className="text-muted">
<Trans id="mysettings.apikey.documentation">
To learn how to use the API, read the{" "}
<a className="text-link" rel="noopener" href="https://getfider.com/docs/api" target="_blank">
<a className="text-link" rel="noopener" href="https://fider.io/docs/api" target="_blank">
official documentation
</a>
.
Expand Down
2 changes: 1 addition & 1 deletion public/pages/SignUp/SignUp.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const SignUpPage = () => {
<div id="p-signup" className="page container w-max-6xl">
{modal}
<div className="h-20 text-center mb-4">
<img className="logo" alt="Logo" src="https://getfider.com/images/logo-100x100.png" />
<img className="logo" alt="Logo" src="https://fider.io/images/logo-100x100.png" />
</div>

<h3 className="text-display mb-2">1. Who are you?</h3>
Expand Down

0 comments on commit 9049da1

Please sign in to comment.