1 Commits

Author SHA1 Message Date
dependabot[bot]
b9a6944404 Bump serialize-javascript from 6.0.1 to 6.0.2
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 03:03:33 +00:00
15 changed files with 110 additions and 92 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1 @@
github: riggraz

View File

@@ -1,13 +1,23 @@
<p align="center">
<img width="400" src="./images/logo-and-name.png" />
<a href="https://astuto.io/?utm_campaign=github_logo&utm_source=github.com">
<img width="400" src="./images/logo-and-name.png" />
</a>
</p>
<p align="center">
<a href="https://www.producthunt.com/posts/astuto?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-astuto" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=179870&theme=neutral&period=daily" alt="Astuto - An open source customer feedback tool 🦊 | Product Hunt Embed" style="width: 250px; height: 54px;" width="250px" height="54px" /></a>
<br>
<h3 align="center">
<a href="https://feedback.astuto.io/">✨ Try it out</a>
&nbsp;•&nbsp;
<a href="https://astuto.io/?utm_campaign=github_learnmore&utm_source=github.com">📖 Learn more</a>
</h3>
</p>
Astuto is an open source customer feedback tool. It helps you collect, manage and prioritize feedback from your customers, so you can build a better product.
<img src="./images/hero-image.png" />
<a href="https://feedback.astuto.io/">
<img src="./images/hero-image.png" />
</a>
## Features
@@ -19,12 +29,28 @@ Astuto is an open source customer feedback tool. It helps you collect, manage an
- **Anonymous Feedback**: enable unregistered users to publish feedback
- **... and more**: invitation system, brand customization, recap emails for administrators, private site settings, and more!
## Documentation
Documentation website is not online anymore. You can read Astuto's documentation from the [GitHub repository](https://github.com/astuto/astuto-docs).
## Get started
### Hosted
We offer a hosted solution, so you don't have to provision your own server. This is the easiest and fastest way to get started: you can sign up and start collecting feedback in a few minutes.
[Start your 7-day free trial](https://login.astuto.io/signup) without entering any payment method, then it's 15 €/month with annual subscription or 20 €/month with monthly subscription. [Learn more on astuto.io](https://astuto.io/?utm_campaign=github_getstarted&utm_source=github.com).
With the paid plan:
- You avoid deployment hassles like renting a server, issuing SSL certificates, configuring a mail server and managing updates
- You get some OAuth providers out of the box: Google, Facebook and GitHub are ready to log your users in, no configuration needed
- You get priority support
- You support open source and get our eternal gratitude :)
### Self-hosted
Read the [Deploy with Docker instructions](https://docs.astuto.io/deploy-docker) for the most comprehensive and up to date guide on installing and configuring Astuto.
What you find below are minimal instructions to get you started as quickly as possible:
0. Ensure you have Docker and Docker Compose installed
1. Create an empty folder
2. Inside that folder, create a `docker-compose.yml` file with the following content:
@@ -51,17 +77,21 @@ services:
volumes:
dbdata:
```
3. Edit the environment variables to fit your needs
3. Edit the environment variables to fit your needs. You can find more information about env variables in the [documentation](https://docs.astuto.io/deploy-docker/#2-edit-environment-variables).
4. Run `docker compose pull && docker compose up`
5. You should now have a running instance of Astuto on port 3000. A default user account has been created with credentials email: `admin@example.com`, password: `password`.
## Documentation
Check out [docs.astuto.io](https://docs.astuto.io/) to learn how to deploy Astuto, configure custom OAuth providers and webhooks, use our REST API and more!
## Contributing
There are many ways to contribute to Astuto, not just coding. Proposing features, reporting issues, translating to a new language or improving documentation are a few examples! Please read our [contributing guidelines](https://github.com/riggraz/astuto/blob/main/CONTRIBUTING.md) to learn more.
## Credits
Astuto logo and all image assets are credited [here](https://github.com/astuto/astuto-io/blob/main/src/pages/Credits.jsx).
Astuto logo and all image assets are credited [here](https://astuto.io/credits).
A huge thank you to code contributors

View File

@@ -15,9 +15,6 @@ class TenantsController < ApplicationController
end
def create
# NOTE: new tenants registrations disabled
raise "Tenant registration disabled"
@tenant = Tenant.new
@tenant.assign_attributes(tenant_create_params)
authorize @tenant

View File

@@ -125,7 +125,7 @@ const Billing = ({
<p>Subscription {isExpired ? 'expired' : 'expires'} on {subscriptionEndsAtFormatted}</p>
}
{/* {
{
(tenantBilling.status === TENANT_BILLING_STATUS_TRIAL) && chosenPrice === null &&
<PricingTable
prices={prices}
@@ -169,20 +169,16 @@ const Billing = ({
You will be redirected to Stripe, our billing partner.
</SmallMutedText>
</div>
} */}
}
<p>
We do not accept new subscriptions right now.
</p>
{/* <div className="billingUsefulLinks">
<div className="billingUsefulLinks">
<ActionLink onClick={() => window.open('https://astuto.io/terms-of-service', '_blank')} icon={<LearnMoreIcon />}>
Terms of Service
</ActionLink>
<ActionLink onClick={() => window.open('https://astuto.io/privacy-policy', '_blank')} icon={<LearnMoreIcon />}>
Privacy Policy
</ActionLink>
</div> */}
</div>
</Box>
);
}

View File

@@ -78,7 +78,7 @@ const AppearanceSiteSettingsP = ({
<p style={{textAlign: 'left'}}>
<ActionLink
onClick={() => window.open('https://github.com/astuto/astuto-docs/blob/main/docs/appearance.md', '_blank')}
onClick={() => window.open('https://docs.astuto.io/appearance-customization/', '_blank')}
icon={<LearnMoreIcon />}
>
{I18n.t('site_settings.appearance.learn_more')}

View File

@@ -35,7 +35,7 @@ const OAuthProvidersList = ({
<p style={{textAlign: 'left'}}>
<ActionLink
onClick={() => window.open('https://github.com/astuto/astuto-docs/blob/main/docs/oauth/oauth-configuration-basics.md', '_blank')}
onClick={() => window.open('https://docs.astuto.io/category/oauth-configuration/', '_blank')}
icon={<LearnMoreIcon />}
>
{I18n.t('site_settings.authentication.learn_more')}

View File

@@ -278,7 +278,7 @@ const GeneralSiteSettingsP = ({
}
<div style={{marginTop: 8}}>
<ActionLink
onClick={() => window.open('https://github.com/astuto/astuto-docs/blob/main/docs/custom-domain.md', '_blank')}
onClick={() => window.open('https://docs.astuto.io/custom-domain', '_blank')}
icon={<LearnMoreIcon />}
>
{I18n.t('site_settings.general.custom_domain_learn_more')}

View File

@@ -48,7 +48,7 @@ const WebhooksIndexPage = ({
<p style={{textAlign: 'left'}}>
<ActionLink
onClick={() => window.open('https://github.com/astuto/astuto-docs/blob/main/docs/webhooks/webhooks-introduction.md', '_blank')}
onClick={() => window.open('https://docs.astuto.io/webhooks/webhooks-introduction/', '_blank')}
icon={<LearnMoreIcon />}
>
{I18n.t('site_settings.webhooks.learn_more')}

View File

@@ -7,7 +7,6 @@ import ConfirmEmailSignUpPage from './ConfirmEmailSignUpPage';
import ConfirmOAuthSignUpPage from './ConfirmOAuthSignUpPage';
import { IOAuth } from '../../interfaces/IOAuth';
import HttpStatus from '../../constants/http_status';
import Box from '../common/Box';
interface Props {
oAuthLoginCompleted: boolean;
@@ -117,70 +116,57 @@ const TenantSignUpP = ({
});
}
// return (
// <>
// <img src={astutoLogoImage} width={64} height={64} className="astutoLogo" />
// <div className="tenantSignUpContainer">
// {
// (currentStep === 1 || currentStep === 2) &&
// <UserSignUpForm
// currentStep={currentStep}
// setCurrentStep={setCurrentStep}
// authMethod={authMethod}
// setAuthMethod={setAuthMethod}
// oAuths={oAuths}
// userData={userData}
// setUserData={setUserData}
// setGoneBack={setGoneBack}
// />
// }
// {
// (goneBack || currentStep === 2) &&
// <TenantSignUpForm
// isSubmitting={isSubmitting}
// error={error}
// handleSignUpSubmit={handleSignUpSubmit}
// trialPeriodDays={trialPeriodDays}
// currentStep={currentStep}
// setCurrentStep={setCurrentStep}
// />
// }
// {
// currentStep === 3 && authMethod === 'oauth' &&
// <ConfirmOAuthSignUpPage
// baseUrl={baseUrl}
// subdomain={tenantData.subdomain}
// feedbackSpaceCreatedImage={feedbackSpaceCreatedImage}
// />
// }
// {
// currentStep === 3 && authMethod === 'email' &&
// <ConfirmEmailSignUpPage
// subdomain={tenantData.subdomain}
// userEmail={userData.email}
// pendingTenantImage={pendingTenantImage}
// />
// }
// </div>
// </>
// );
return (
<>
<img src={astutoLogoImage} width={64} height={64} className="astutoLogo" />
<div className="tenantSignUpContainer">
<Box>
<p>It is not possible to sign up to Astuto.</p>
<p>You can <a href="https://github.com/astuto/astuto">self-host your own instance</a> instead.</p>
</Box>
</div>
<img src={astutoLogoImage} width={64} height={64} className="astutoLogo" />
<div className="tenantSignUpContainer">
{
(currentStep === 1 || currentStep === 2) &&
<UserSignUpForm
currentStep={currentStep}
setCurrentStep={setCurrentStep}
authMethod={authMethod}
setAuthMethod={setAuthMethod}
oAuths={oAuths}
userData={userData}
setUserData={setUserData}
setGoneBack={setGoneBack}
/>
}
{
(goneBack || currentStep === 2) &&
<TenantSignUpForm
isSubmitting={isSubmitting}
error={error}
handleSignUpSubmit={handleSignUpSubmit}
trialPeriodDays={trialPeriodDays}
currentStep={currentStep}
setCurrentStep={setCurrentStep}
/>
}
{
currentStep === 3 && authMethod === 'oauth' &&
<ConfirmOAuthSignUpPage
baseUrl={baseUrl}
subdomain={tenantData.subdomain}
feedbackSpaceCreatedImage={feedbackSpaceCreatedImage}
/>
}
{
currentStep === 3 && authMethod === 'email' &&
<ConfirmEmailSignUpPage
subdomain={tenantData.subdomain}
userEmail={userData.email}
pendingTenantImage={pendingTenantImage}
/>
}
</div>
</>
)
);
}
export default TenantSignUpP;

View File

@@ -81,6 +81,14 @@ const GenerateApiKeyDialog = ({
</>
}
<br /><br />
<ActionLink
icon={<LearnMoreIcon />}
onClick={() => window.open('https://docs.astuto.io/api', '_blank')}
>
{I18n.t('common.forms.api_key.api_key_learn_more')}
</ActionLink>
{ error && <DangerText>{error}</DangerText> }
</>
);

View File

@@ -3,7 +3,7 @@ import I18n from 'i18n-js';
const PoweredByLink = () => (
<div className="poweredBy">
<a href="https://github.com/astuto/astuto/" target="_blank">
<a href={`http://astuto.io/?utm_campaign=poweredby&utm_source=${window.location.hostname}`} target="_blank">
{ I18n.t('common.powered_by') } Astuto
</a>
</div>

View File

@@ -78,7 +78,7 @@
</div>
<% else %>
<% if not Rails.application.multi_tenancy? %>
<p>You have to <a href="https://github.com/astuto/astuto-docs/blob/main/docs/deploy/sidekiq.md">enable Sidekiq</a> to receive recap notifications.</p>
<p>You have to <a href="https://docs.astuto.io/deploy-with-sidekiq">enable Sidekiq</a> to receive recap notifications.</p>
<% end %>
<% end %>

View File

@@ -88,7 +88,7 @@
<% unless @boards.empty? %>
<%= link_to t('header.menu.tour'), @header_full_urls ? get_url_for(method(:board_url), resource: @boards.first, options: { tour: true }) : board_path(@boards.first, tour: true), class: 'dropdown-item tourDropdown' %>
<% end %>
<%= link_to t('header.menu.docs'), 'https://github.com/astuto/astuto-docs', class: 'dropdown-item', target: '_blank' %>
<%= link_to t('header.menu.docs'), 'https://docs.astuto.io', class: 'dropdown-item', target: '_blank' %>
<%= link_to t('header.menu.support'), Rails.application.multi_tenancy? ? 'mailto:info@astuto.io' : 'https://github.com/astuto/astuto/issues', class: 'dropdown-item', target: '_blank' %>
<div class="dropdown-divider"></div>

View File

@@ -15,7 +15,7 @@ Dive into your new feedback space at <a href="<%= get_url_for(method(:root_url))
</p>
<p>
To customize your feedback space, just head to <a href="<%= get_url_for(method(:site_settings_general_url)) %>">site settings</a>. For more advanced configurations, such as custom OAuth providers or custom domains, you can refer to the <a href="https://github.com/astuto/astuto-docs">Astuto documentation</a>.
To customize your feedback space, just head to <a href="<%= get_url_for(method(:site_settings_general_url)) %>">site settings</a>. For more advanced configurations, such as custom OAuth providers or custom domains, you can refer to the <a href="https://docs.astuto.io/">Astuto documentation</a>.
</p>
<p>

View File

@@ -3180,9 +3180,9 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0:
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
serialize-javascript@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c"
integrity sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==
version "6.0.2"
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2"
integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==
dependencies:
randombytes "^2.1.0"