https everywhere

This commit is contained in:
Flamber Hansen
2019-04-07 17:37:45 -06:00
parent da11b552b8
commit 6da375431d
25 changed files with 31 additions and 33 deletions

View File

@@ -7,7 +7,7 @@ THE TERMS AND CONDITIONS OF THIS SOFTWARE LICENSE AGREEMENT (“AGREEMENT”) GO
Metabase is willing to license the Software to you only upon the condition that you accept all the terms contained in this Agreement. By downloading, installing or using the Software, you have indicated that you understand this Agreement and accept all of its terms. If you are accepting the terms of this Agreement on behalf of a company or other legal entity, you represent and warrant that you have the authority to bind that company or other legal entity to the terms of this Agreement, and, in such event, “you” and “your” will refer to that company or other legal entity. If you do not accept all the terms of this Agreement, then Metabase is unwilling to license the Software to you, you are not permitted to use the Software, and you must destroy all copies of the Software.
1. **Grant of License**. Conditioned upon your compliance with the terms and conditions of this Agreement, Metabase grants you a non-exclusive and non-transferable license to Execute (as defined herein) the executable form of the Software, free and clear of any Affero GPL License requirements applicable to the Metabase application available for download by the Metabase at its website http://www.metabase.com. Metabase reserves all rights in the Software not expressly granted to you in this Agreement. For purposes of this Agreement, “Execute” and “Execution” means to load, install, and run the Software in order to benefit from its functionality as designed by Metabase.
1. **Grant of License**. Conditioned upon your compliance with the terms and conditions of this Agreement, Metabase grants you a non-exclusive and non-transferable license to Execute (as defined herein) the executable form of the Software, free and clear of any Affero GPL License requirements applicable to the Metabase application available for download by the Metabase at its website https://metabase.com. Metabase reserves all rights in the Software not expressly granted to you in this Agreement. For purposes of this Agreement, “Execute” and “Execution” means to load, install, and run the Software in order to benefit from its functionality as designed by Metabase.
2. **Restrictions**. Except as expressly specified in this Agreement or otherwise permitted by law notwithstanding this Agreement, you agree not to do any of the following, : (a) copy (except in the course of loading or installing) or modify the Software, including but not limited to modifying or blocking, overlaying, or otherwise obstructing the contents of the embedded element that is embedded in your application via the Software, adding new features, or otherwise making adaptations that alter the functioning of the Software; or (b) transfer, sublicense, lease, lend, rent or otherwise distribute the Software to any third party. You acknowledge and agree that portions of the Software, including but not limited to the source code and the specific design and structure of individual modules or programs, constitute or contain trade secrets of Metabase and its licensors.

View File

@@ -18,7 +18,7 @@ Metabase is the easy, open source way for everyone in your company to ask questi
- View data in Slack anytime with [MetaBot](https://metabase.com/docs/latest/users-guide/11-metabot.html)
- [Humanize data](https://metabase.com/docs/latest/administration-guide/03-metadata-editing.html) for your team by renaming, annotating and hiding fields
For more information check out [metabase.com](http://www.metabase.com)
For more information check out [metabase.com](https://metabase.com/)
## Supported databases
@@ -40,7 +40,7 @@ Don't see your favorite database? File an issue to let us know.
## Installation
Metabase can be run just about anywhere so checkout our [Installation Guides](http://www.metabase.com/docs/latest/operations-guide/start.html#installing-and-running-metabase) for detailed instructions for various deployments. Here's the TLDR:
Metabase can be run just about anywhere so checkout our [Installation Guides](https://metabase.com/docs/latest/operations-guide/start.html#installing-and-running-metabase) for detailed instructions for various deployments. Here's the TLDR:
### Docker
@@ -68,7 +68,7 @@ Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
you are good to go. Otherwise, download the Java Runtime Environment at http://java.com/
Go to the [Metabase Download Page](http://www.metabase.com/start/) and download the current build. Place the downloaded jar into a newly created directory (as it will create some files when it is run), and run it on the command line:
Go to the [Metabase Download Page](https://metabase.com/start/) and download the current build. Place the downloaded jar into a newly created directory (as it will create some files when it is run), and run it on the command line:
```sh
java -jar metabase.jar

View File

@@ -8,7 +8,7 @@
"charting",
"metabase"
],
"website": "http://www.metabase.com/",
"website": "https://metabase.com/",
"repository": "https://github.com/metabase/metabase",
"logo": "https://avatars3.githubusercontent.com/u/10520629?v=3&s=200",
"success_url": "/setup",

View File

@@ -43,7 +43,7 @@ if [ "$BUILD_TYPE" == "release" ]; then
echo "Building Docker image ${DOCKER_IMAGE} from official Metabase release ${MB_TAG}"
# download the official version of Metabase which matches our tag
curl -L -f -o ${BASEDIR}/metabase.jar http://downloads.metabase.com/${MB_TAG}/metabase.jar
curl -L -f -o ${BASEDIR}/metabase.jar https://downloads.metabase.com/${MB_TAG}/metabase.jar
if [[ $? -ne 0 ]]; then
echo "Download failed!"

View File

@@ -134,7 +134,7 @@ Yes, to the extent that we are able to and have time.
If you're sure you've found a bug, please [open an issue](https://github.com/metabase/metabase/issues/new). Otherwise, try checking out the [troubleshooting guide](https://metabase.com/troubleshooting/) first to see if the answer to your problem is there.
If you're still having trouble, please start a conversation at our [discussion forum](http://discourse.metabase.com) and check out the other threads. Someone else might have experienced the same problem.
If you're still having trouble, please start a conversation at our [discussion forum](https://discourse.metabase.com/) and check out the other threads. Someone else might have experienced the same problem.
### Do you offer paid support?

View File

@@ -18,7 +18,7 @@ The Metabase team runs a number of production installations on AWS using Elastic
Metabase provides an Elastic Beanstalk pre-configured launch url to help new installations getting started. If you are starting fresh we recommend you follow this link to begin creating the Elastic Beanstalk deployment with a few choices pre-filled.
[Launch Metabase on Elastic Beanstalk](http://downloads.metabase.com/{{site.latest_version}}/launch-aws-eb.html)
[Launch Metabase on Elastic Beanstalk](https://downloads.metabase.com/{{site.latest_version}}/launch-aws-eb.html)
The rest of this guide will follow each phase of the Elastic Beanstalk setup step-by-step.
@@ -68,7 +68,7 @@ For the base configuration settings we want to make the following selections:
This will run our Metabase application using [Docker](https://www.docker.com) under the hood.
If you reached this screen from the Metabase start page at [www.metabase.com/start/aws.html](https://www.metabase.com/start/aws.html) the application code settings will have already been set and you don't need to do anything. This will use the official Metabase Docker image which is [published on Dockerhub](https://hub.docker.com/r/metabase/metabase/).
If you reached this screen from the Metabase start page at [metabase.com/start/aws/](https://metabase.com/start/aws/) the application code settings will have already been set and you don't need to do anything. This will use the official Metabase Docker image which is [published on Dockerhub](https://hub.docker.com/r/metabase/metabase/).
When your environment type settings look like the above then go ahead and click `Review and launch`.
@@ -179,7 +179,7 @@ Here's each step:
1. Go to Elastic Beanstalk and select your `Metabase` application
* Click on `Application Versions` on the left nav (you can also choose `Application Versions` from the dropdown at the top of the page)
* Download the latest Metabase Elastic Beanstalk deployment file
* [http://downloads.metabase.com/{{ site.latest_version }}/metabase-aws-eb.zip](http://downloads.metabase.com/{{ site.latest_version }}/metabase-aws-eb.zip)
* [https://downloads.metabase.com/{{ site.latest_version }}/metabase-aws-eb.zip](https://downloads.metabase.com/{{ site.latest_version }}/metabase-aws-eb.zip)
* Upload a new Application Version
* Click the `Upload` button on the upper right side of the listing
* Give the new version a name, ideally including the Metabase version number (e.g. {{ site.latest_version }})

View File

@@ -9,7 +9,7 @@ Before doing anything you should make sure you have a [Heroku](http://www.heroku
If you've got a Heroku account then all there is to do is follow this one-click deployment button
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](http://downloads.metabase.com/launch-heroku.html)
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://downloads.metabase.com/launch-heroku.html)
This will launch a Heroku deployment using a GitHub repository that Metabase maintains.

View File

@@ -72,7 +72,7 @@ If for some reason x-rays aren't a good fit for your team or your data, administ
We're reworking the way we do things like time series growth analysis, which was present in past versions of x-rays. In the meantime, we've removed those previous x-rays, and will bring those features back in a more elegant and streamlined way in a future version of Metabase.
### Need help?
If you still have questions about x-rays or comparisons, you can head over to our [discussion forum](http://discourse.metabase.com/). See you there!
If you still have questions about x-rays or comparisons, you can head over to our [discussion forum](https://discourse.metabase.com/). See you there!
---

View File

@@ -71,4 +71,4 @@ There are a few ways alerts can be stopped:
## That's it!
If you still have questions about using alerts, you can head over to our [discussion forum](http://discourse.metabase.com/). See you there!
If you still have questions about using alerts, you can head over to our [discussion forum](https://discourse.metabase.com/). See you there!

View File

@@ -107,7 +107,7 @@ export default class SettingsUpdatesForm extends Component {
versionInfo.latest.version
}
className="Button Button--white Button--medium borderless"
href="http://www.metabase.com/start"
href="https://metabase.com/start/"
target="_blank"
>{t`Update`}</a>
</div>

View File

@@ -9,7 +9,7 @@ const EmbeddingLegalese = ({ onChange }) => (
{t`By enabling embedding you're agreeing to the embedding license located at`}{" "}
<a
className="link"
href="http://www.metabase.com/license/embedding"
href="https://metabase.com/license/embedding"
target="_blank"
>
metabase.com/license/embedding

View File

@@ -57,9 +57,7 @@ export default class ProfileLink extends Component {
{
title: t`Help`,
icon: null,
// HACK - for some reason if you use // react router treats the link
// as a non local route
link: `//metabase.com/docs/${tag}`,
link: `https://metabase.com/docs/${tag}/`,
externalLink: true,
event: `Navbar;Profile Dropdown;About ${tag}`,
},

View File

@@ -111,7 +111,7 @@ const MetricEmptyState = fitViewPort(({ fitClassNames }) => (
title={t`No metrics`}
image="app/img/metrics_illustration"
action={t`How to create metrics`}
link="http://www.metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html"
link="https://metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html"
className="mt2"
imageClassName="mln2"
/>

View File

@@ -11,7 +11,7 @@ type Props = {
const LogoBadge = ({ dark }: Props) => (
<a
href="http://www.metabase.com/"
href="https://metabase.com/"
target="_blank"
className="h4 flex text-bold align-center no-decoration"
>

View File

@@ -829,7 +829,7 @@ export const TablePicker = ({
<div className="bg-light p2 text-centered border-top">
{t`Is a question missing?`}
<a
href="http://metabase.com/docs/latest/users-guide/04-asking-questions.html#source-data"
href="https://metabase.com/docs/latest/users-guide/04-asking-questions.html#source-data"
className="block link"
>{t`Learn more about nested queries`}</a>
</div>

View File

@@ -58,7 +58,7 @@ export default class ExpressionWidget extends Component {
&nbsp;<a
className="link"
target="_blank"
href="http://www.metabase.com/docs/latest/users-guide/04-asking-questions.html#creating-a-custom-field"
href="https://metabase.com/docs/latest/users-guide/04-asking-questions.html#creating-a-custom-field"
>{t`Learn more`}</a>
</p>
</div>

View File

@@ -148,7 +148,7 @@ const TagEditorHelp = ({ setDatasetQuery, sampleDatasetId }) => {
<p className="pt2 link">
<a
href="https://www.metabase.com/docs/latest/users-guide/13-sql-parameters.html"
href="https://metabase.com/docs/latest/users-guide/13-sql-parameters.html"
target="_blank"
data-metabase-event="QueryBuilder;Template Tag Documentation Click"
>{t`Read the full documentation`}</a>

View File

@@ -285,7 +285,7 @@ export default class GettingStartedGuideEditForm extends Component {
collapsedTitle={t`Do you have any commonly referenced metrics?`}
collapsedIcon="ruler"
linkMessage={t`Learn how to define a metric`}
link="http://www.metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html#creating-a-metric"
link="https://metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html#creating-a-metric"
expand={() =>
important_metrics.addField({
id: null,
@@ -357,7 +357,7 @@ export default class GettingStartedGuideEditForm extends Component {
collapsedTitle={t`Do you have any commonly referenced segments or tables?`}
collapsedIcon="table2"
linkMessage={t`Learn how to create a segment`}
link="http://www.metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html#creating-a-segment"
link="https://metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html#creating-a-segment"
expand={() =>
important_segments_and_tables.addField({
id: null,

View File

@@ -26,7 +26,7 @@ const emptyStateData = {
image: "app/assets/img/metrics-list",
adminAction: t`Learn how to create metrics`,
adminLink:
"http://www.metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html",
"https://metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html#creating-a-metric",
};
const mapStateToProps = (state, props) => ({

View File

@@ -26,7 +26,7 @@ const emptyStateData = {
image: "app/assets/img/segments-list",
adminAction: t`Learn how to create segments`,
adminLink:
"http://www.metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html",
"https://metabase.com/docs/latest/administration-guide/07-segments-and-metrics.html#creating-a-segment",
};
const mapStateToProps = (state, props) => ({

View File

@@ -77,7 +77,7 @@ export default class PreferencesStep extends Component {
<a
className="link"
href={
"http://www.metabase.com/docs/" +
"https://metabase.com/docs/" +
tag +
"/information-collection.html"
}

View File

@@ -46,7 +46,7 @@ export default class Setup extends Component {
<a
className="link"
href={
"http://www.metabase.com/docs/" + tag + "/setting-up-metabase.html"
"https://metabase.com/docs/" + tag + "/setting-up-metabase.html"
}
target="_blank"
>{t`our getting started guide`}</a>{" "}

View File

@@ -219,7 +219,7 @@ const QUERY_BUILDER_STEPS = [
<a
className="link"
target="_blank"
href="http://www.metabase.com/docs/latest/users-guide/start.html"
href="https://metabase.com/docs/latest/users-guide/start.html"
>{t`User's Guide`}</a>. {t`Have fun exploring your data!`}
</p>
<a className="Button Button--primary" onClick={props.onNext}>

View File

@@ -46,12 +46,12 @@
:callToAction (str (trs "It looks like Metabase wasn’t quite a match for you.")
" "
(trs "Would you mind taking a fast 5 question survey to help the Metabase team understand why and make things better in the future?"))
:link "https://www.metabase.com/feedback/inactive"})
:link "https://metabase.com/feedback/inactive"})
(defn- follow-up-context []
{:heading (str (trs "We hope you''ve been enjoying Metabase."))
:callToAction (str (trs "Would you mind taking a fast 6 question survey to tell us how it’s going?"))
:link "https://www.metabase.com/feedback/active"})
:link "https://metabase.com/feedback/active"})
;;; ### Public Interface

View File

@@ -39,7 +39,7 @@
(u/emoji (if default-secret-key "🔐" "🔓"))
"\n"
(trs "For more information, see")
"https://www.metabase.com/docs/latest/operations-guide/start.html#encrypting-your-database-connection-details-at-rest"))
"https://metabase.com/docs/latest/operations-guide/start.html#encrypting-your-database-connection-details-at-rest"))
(defn encrypt
"Encrypt string `s` as hex bytes using a `secret-key` (a 64-byte byte array), by default the hashed value of