chore: remove harmless incubator refs (#12289)

* chore: migrate all harmless incubator refs like comments and documentation files

* chore: migrate all superset.incubator.apache.org to superset.apache.org to

* chore: migrate dist.apache.org refs

* chore: removing incubating and Disclaimer

* fix: linting issues
This commit is contained in:
Amit Miran 2021-01-06 13:45:19 +02:00 committed by GitHub
parent 2b6a58780a
commit b221417e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
54 changed files with 5120 additions and 5143 deletions

View File

@ -19,7 +19,7 @@
---
github:
description: "Apache Superset is a Data Visualization and Data Exploration Platform"
homepage: https://superset.incubator.apache.org/
homepage: https://superset.apache.org/
labels:
- superset
- apache

View File

@ -6,7 +6,7 @@ labels: "#SIP"
---
*Please make sure you are familiar with the SIP process documented*
(here)[https://github.com/apache/incubator-superset/issues/5602]
(here)[https://github.com/apache/superset/issues/5602]
## [SIP] Proposal for XXX

View File

@ -46,4 +46,4 @@ jobs:
${{steps.check.outputs.js_files_added}}
```
As decided in [SIP-36](https://github.com/apache/incubator-superset/issues/9101), all new frontend code should be written in TypeScript. Please convert above files to TypeScript then re-request review.
As decided in [SIP-36](https://github.com/apache/superset/issues/9101), all new frontend code should be written in TypeScript. Please convert above files to TypeScript then re-request review.

File diff suppressed because it is too large Load Diff

View File

@ -111,7 +111,7 @@ If you decide to join the [Community Slack](https://join.slack.com/t/apache-supe
**1. Treat everyone in the community with respect.**
- We strive to make this community a warm place for people from all industries, use cases, geographies, and backgrounds. Harassment of any kind is not acceptable and wont be tolerated.
- Please follow the guidelines as outlined in the Superset Community [code of conduct here](https://github.com/apache/incubator-superset/blob/master/CODE_OF_CONDUCT.md).
- Please follow the guidelines as outlined in the Superset Community [code of conduct here](https://github.com/apache/superset/blob/master/CODE_OF_CONDUCT.md).
**2. Use the right channel.**
@ -119,7 +119,7 @@ If you decide to join the [Community Slack](https://join.slack.com/t/apache-supe
**3. Ask thoughtful questions.**
- Were all here to help each other out. The best way to get help is by investing effort into your questions. First check and see if your question is answered in [the Superset documentation](https://superset.incubator.apache.org/faq.html) or on [Stack Overflow](https://stackoverflow.com/search?q=apache+superset). You can also check [Github issues](https://github.com/apache/incubator-superset/issues) to see if your question or feature request has been submitted before. Then, use Slack search to see if your question has already been asked and answered in the past. If you still feel the need to ask a question, make sure you include:
- Were all here to help each other out. The best way to get help is by investing effort into your questions. First check and see if your question is answered in [the Superset documentation](https://superset.apache.org/faq.html) or on [Stack Overflow](https://stackoverflow.com/search?q=apache+superset). You can also check [Github issues](https://github.com/apache/superset/issues) to see if your question or feature request has been submitted before. Then, use Slack search to see if your question has already been asked and answered in the past. If you still feel the need to ask a question, make sure you include:
- The steps youve already taken
- Relevant details presented cleanly (text stacktraces, formatted markdown, or screenshots. Please dont paste large blocks of code unformatted or post photos of your screen from your phone)

View File

@ -98,12 +98,12 @@ little bit helps, and credit will always be given.
Here's a list of repositories that contain Superset-related packages:
- [apache/incubator-superset](https://github.com/apache/incubator-superset)
- [apache/superset](https://github.com/apache/superset)
is the main repository containing the `apache-superset` Python package
distributed on
[pypi](https://pypi.org/project/apache-superset/). This repository
also includes Superset's main TypeScript/JavaScript bundles and react apps under
the [superset-frontend](https://github.com/apache/incubator-superset/tree/master/superset-frontend)
the [superset-frontend](https://github.com/apache/superset/tree/master/superset-frontend)
folder.
- [apache-superset/superset-ui](https://github.com/apache-superset/superset-ui)
contains core Superset's
@ -142,7 +142,7 @@ The best way is to file an issue on GitHub:
- Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a volunteer-driven project, and that contributions are welcome :)
For large features or major changes to codebase, please create **Superset Improvement Proposal (SIP)**. See template from [SIP-0](https://github.com/apache/incubator-superset/issues/5602)
For large features or major changes to codebase, please create **Superset Improvement Proposal (SIP)**. See template from [SIP-0](https://github.com/apache/superset/issues/5602)
### Fix Bugs
@ -310,8 +310,8 @@ Should you decide that reverting is desirable, it is the responsibility of the C
First, [fork the repository on GitHub](https://help.github.com/articles/about-forks/), then clone it. You can clone the main repository directly, but you won't be able to send pull requests.
```bash
git clone git@github.com:your-username/incubator-superset.git
cd incubator-superset
git clone git@github.com:your-username/superset.git
cd superset
```
### Documentation
@ -330,7 +330,7 @@ referenced in the rst, e.g.
aren't actually stored in that directory. Instead, you should add and commit
images (and any other static assets) to the `superset-frontend/images` directory.
When the docs are deployed to https://superset.incubator.apache.org/, images
When the docs are deployed to https://superset.apache.org/, images
are copied from there to the `_static/images` directory, just like they're referenced
in the docs.
@ -340,7 +340,7 @@ For example, the image referenced above actually lives in `superset-frontend/ima
#### OS Dependencies
Make sure your machine meets the [OS dependencies](https://superset.incubator.apache.org/installation.html#os-dependencies) before following these steps.
Make sure your machine meets the [OS dependencies](https://superset.apache.org/installation.html#os-dependencies) before following these steps.
Ensure Python versions >3.7, Then proceed with:
@ -578,7 +578,7 @@ def sqrt(x: Union[float, int]) -> Union[float, int]:
### TypeScript
TypeScript is fully supported and is the recommended language for writing all new frontend components. When modifying existing functions/components, migrating to TypeScript is appreciated, but not required. Examples of migrating functions/components to TypeScript can be found in [#9162](https://github.com/apache/incubator-superset/pull/9162) and [#9180](https://github.com/apache/incubator-superset/pull/9180).
TypeScript is fully supported and is the recommended language for writing all new frontend components. When modifying existing functions/components, migrating to TypeScript is appreciated, but not required. Examples of migrating functions/components to TypeScript can be found in [#9162](https://github.com/apache/superset/pull/9162) and [#9180](https://github.com/apache/superset/pull/9180).
## Testing
@ -670,7 +670,7 @@ npm run cypress-debug
CYPRESS_BASE_URL=<your url> npm run cypress open
```
See [`superset-frontend/cypress_build.sh`](https://github.com/apache/incubator-superset/blob/master/superset-frontend/cypress_build.sh).
See [`superset-frontend/cypress_build.sh`](https://github.com/apache/superset/blob/master/superset-frontend/cypress_build.sh).
As an alternative you can use docker-compose environment for testing:
@ -817,7 +817,7 @@ yarn build
Then use `npm link` to create symlinks of the plugins/superset-ui packages you want to edit in `superset-frontend/node_modules`:
```bash
cd incubator-superset/superset-frontend
cd superset/superset-frontend
npm link ../../superset-ui/plugins/[PLUGIN NAME]
# Or to link all core superset-ui and plugin packages:
@ -855,7 +855,7 @@ Submissions will be considered for submission (or removal) on a case-by-case bas
1. Alter the model you want to change. This example will add a `Column` Annotations model.
[Example commit](https://github.com/apache/incubator-superset/commit/6c25f549384d7c2fc288451222e50493a7b14104)
[Example commit](https://github.com/apache/superset/commit/6c25f549384d7c2fc288451222e50493a7b14104)
1. Generate the migration file
@ -865,7 +865,7 @@ Submissions will be considered for submission (or removal) on a case-by-case bas
This will generate a file in `migrations/version/{SHA}_this_will_be_in_the_migration_filename.py`.
[Example commit](https://github.com/apache/incubator-superset/commit/d3e83b0fd572c9d6c1297543d415a332858e262)
[Example commit](https://github.com/apache/superset/commit/d3e83b0fd572c9d6c1297543d415a332858e262)
1. Upgrade the DB
@ -885,7 +885,7 @@ Submissions will be considered for submission (or removal) on a case-by-case bas
Since there is a new column, we need to add it to the AppBuilder Model view.
[Example commit](https://github.com/apache/incubator-superset/pull/5745/commits/6220966e2a0a0cf3e6d87925491f8920fe8a3458)
[Example commit](https://github.com/apache/superset/pull/5745/commits/6220966e2a0a0cf3e6d87925491f8920fe8a3458)
1. Test the migration's `down` method

View File

@ -1,11 +0,0 @@
DISCLAIMER
Apache Superset (incubating) is an effort undergoing incubation at the Apache
Software Foundation (ASF), sponsored by the Apache Incubator PMC.
Incubation is required of all newly accepted projects until a further review
indicates that the infrastructure, communications, and decision making process
have stabilized in a manner consistent with other successful ASF projects.
While incubation status is not necessarily a reflection of the completeness or
stability of the code, it does indicate that the project has yet to be fully
endorsed by the ASF.

View File

@ -16,7 +16,7 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# INSTALL / BUILD instructions for Apache Superset (incubating)
# INSTALL / BUILD instructions for Apache Superset
At this time, the docker file at RELEASING/Dockerfile.from_tarball
constitutes the recipe on how to get to a working release from a source

View File

@ -21,7 +21,7 @@ under the License.
Here's a list of organizations, broken down into broad industry categories, that have taken the time to send a PR to let
the world know they are using Apache Superset. If you are a user and want to be recognized,
all you have to do is file a simple PR [like this one](https://github.com/apache/incubator-superset/pull/10122). If you think
all you have to do is file a simple PR [like this one](https://github.com/apache/superset/pull/10122). If you think
the categorization is inaccurate, please file a PR with your correction as well.
Join our growing community!

2
NOTICE
View File

@ -1,4 +1,4 @@
Apache Superset (incubating)
Apache Superset
Copyright 2016-2020 The Apache Software Foundation
This product includes software developed at The Apache Software

View File

@ -21,17 +21,17 @@ Superset
=========
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/apache/incubator-superset)
[![Build Status](https://github.com/apache/incubator-superset/workflows/Python/badge.svg)](https://github.com/apache/incubator-superset/actions)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/apache/superset)
[![Build Status](https://github.com/apache/superset/workflows/Python/badge.svg)](https://github.com/apache/superset/actions)
[![PyPI version](https://badge.fury.io/py/apache-superset.svg)](https://badge.fury.io/py/apache-superset)
[![Coverage Status](https://codecov.io/github/apache/incubator-superset/coverage.svg?branch=master)](https://codecov.io/github/apache/incubator-superset)
[![Coverage Status](https://codecov.io/github/apache/superset/coverage.svg?branch=master)](https://codecov.io/github/apache/superset)
[![PyPI](https://img.shields.io/pypi/pyversions/apache-superset.svg?maxAge=2592000)](https://pypi.python.org/pypi/apache-superset)
[![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://join.slack.com/t/apache-superset/shared_invite/zt-g8lpruog-HeqpgYrwdfrD5OYhlU7hPQ)
[![Documentation](https://img.shields.io/badge/docs-apache.org-blue.svg)](https://superset.apache.org)
[![Dependencies Status](https://david-dm.org/apache/incubator-superset/status.svg?path=superset-frontend)](https://david-dm.org/apache/incubator-superset?path=superset-frontend)
[![Dependencies Status](https://david-dm.org/apache/superset/status.svg?path=superset-frontend)](https://david-dm.org/apache/superset?path=superset-frontend)
<img
src="https://github.com/apache/incubator-superset/raw/master/superset-frontend/branding/superset-logo-horiz-apache.png"
src="https://github.com/apache/superset/raw/master/superset-frontend/branding/superset-logo-horiz-apache.png"
alt="Superset"
width="500"
/>
@ -51,27 +51,27 @@ A modern, enterprise-ready business intelligence web application.
**Gallery**
<kbd><a href="https://superset.apache.org/gallery"><img title="Gallery" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/gallery.png"></a></kbd><br/>
<kbd><a href="https://superset.apache.org/gallery"><img title="Gallery" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/gallery.png"></a></kbd><br/>
**View Dashboards**
<kbd><img title="View Dashboards" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/bank_dash.png"></kbd><br/>
<kbd><img title="View Dashboards" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/bank_dash.png"></kbd><br/>
**Slice & dice your data**
<kbd><img title="Slice & dice your data" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/explore.png"></kbd><br/>
<kbd><img title="Slice & dice your data" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/explore.png"></kbd><br/>
**Query and visualize your data with SQL Lab**
<kbd><img title="SQL Lab" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/sqllab.png"></kbd><br/>
<kbd><img title="SQL Lab" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/sqllab.png"></kbd><br/>
**Visualize geospatial data with deck.gl**
<kbd><img title="Geospatial" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/deckgl_dash.png"></kbd><br/>
<kbd><img title="Geospatial" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/deckgl_dash.png"></kbd><br/>
**Choose from a wide array of visualizations**
<kbd><img title="Visualizations" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/visualizations.png"></kbd><br/>
<kbd><img title="Visualizations" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/visualizations.png"></kbd><br/>
## Why Superset
@ -126,12 +126,12 @@ SQL toolkit that is compatible with most databases. Here are some of the major d
</p>
A complete list of supported databases can be found
[here](https://superset.incubator.apache.org/docs/databases/installing-database-drivers).
[here](https://superset.apache.org/docs/databases/installing-database-drivers).
## Installation and Configuration
[See in the documentation](https://superset.incubator.apache.org/docs/installation/installing-superset-using-docker-compose)
[See in the documentation](https://superset.apache.org/docs/installation/installing-superset-using-docker-compose)
## Get Involved
@ -157,7 +157,7 @@ how to set up a development environment.
* [Connect Superset To Google Sheets](https://preset.io/blog/2020-06-01-connect-superset-google-sheets/)
* [Create Your First Chart](https://preset.io/blog/2020-06-08-first-chart/)
* [Create Time Series Charts](https://preset.io/blog/2020-06-26-timeseries-chart/)
* [Docker image](https://hub.docker.com/r/apache/incubator-superset)
* [Docker image](https://hub.docker.com/r/apache/superset)
* [Youtube Channel](https://www.youtube.com/channel/UCMuwrvBsg_jjI2gLcm04R0g)
* [May 2020: Virtual Meetup Recording. Topics: 0.36 Overview, Committers Self-Intro, Roadmap](https://www.youtube.com/watch?v=tXGDmqjmcTs&t=20s)
* [July 2020: Virtual Meetup Recording. Topics: Visualization Plugins, 0.37 Preview, Demo](https://www.youtube.com/watch?v=f6up5x_iRbI)

View File

@ -44,7 +44,7 @@ WORKDIR /home/superset
ARG VERSION
# Can fetch source from svn or copy tarball from local mounted directory
RUN svn co https://dist.apache.org/repos/dist/dev/incubator/superset/$VERSION ./
RUN svn co https://dist.apache.org/repos/dist/dev/superset/$VERSION ./
RUN tar -xvf *.tar.gz
WORKDIR apache-superset-$VERSION

View File

@ -17,7 +17,7 @@
FROM python:3.7-buster
ARG VERSION
RUN git clone --depth 1 --branch ${VERSION} https://github.com/apache/incubator-superset.git /superset
RUN git clone --depth 1 --branch ${VERSION} https://github.com/apache/superset.git /superset
WORKDIR /superset
# install doc dependencies
RUN pip install -r requirements/base.txt

View File

@ -93,7 +93,7 @@ The script will output the exported variables. Here's example for 0.38.0rc1:
SUPERSET_RELEASE_RC=apache-superset-0.38.0rc1
SUPERSET_RELEASE_TARBALL=apache-superset-0.38.0-source.tar.gz
SUPERSET_RELEASE_RC_TARBALL=apache-superset-0.38.0rc1-source.tar.gz
SUPERSET_TMP_ASF_SITE_PATH=/tmp/incubator-superset-site-0.38.0
SUPERSET_TMP_ASF_SITE_PATH=/tmp/superset-site-0.38.0
```
## Crafting a source release
@ -260,8 +260,8 @@ into the non-"dev/" folder.
Then tag the final release:
```bash
# Go to the root directory of the repo, e.g. `~/src/incubator-superset`
cd ~/src/incubator-superset/
# Go to the root directory of the repo, e.g. `~/src/superset`
cd ~/src/superset/
# make sure you're on the correct branch (e.g. 0.34)
git branch
# Create the release tag
@ -294,7 +294,7 @@ Once it's all done, an [ANNOUNCE] thread announcing the release to the dev@ mail
### Github Release
Finally, so the Github UI reflects the latest release, you should create a release from the
tag corresponding with the new version. Go to https://github.com/apache/incubator-superset/tags,
tag corresponding with the new version. Go to https://github.com/apache/superset/tags,
click the 3-dot icon and select `Create Release`, paste the content of the ANNOUNCE thread in the
release notes, and publish the new release.

View File

@ -95,8 +95,7 @@ class GitChangeLog:
try:
self._wait_github_rate_limit()
with request.urlopen(
"https://api.github.com/repos/apache/incubator-superset/pulls/"
f"{pr_number}"
"https://api.github.com/repos/apache/superset/pulls/" f"{pr_number}"
) as response:
payload = json.loads(response.read())
except HTTPError as ex:
@ -132,7 +131,7 @@ class GitChangeLog:
github_login = log.author
result = result + (
f"- [#{log.pr_number}]"
f"(https://github.com/apache/incubator-superset/pull/{log.pr_number}) "
f"(https://github.com/apache/superset/pull/{log.pr_number}) "
f"{log.message} (@{github_login})\n"
)
print(f"\r {i}/{len(self._logs)}", end="", flush=True)
@ -142,7 +141,7 @@ class GitChangeLog:
for log in self._logs:
yield {
"pr_number": log.pr_number,
"pr_link": f"https://github.com/apache/incubator-superset/pull/"
"pr_link": f"https://github.com/apache/superset/pull/"
f"{log.pr_number}",
"message": log.message,
"time": log.time,

View File

@ -22,8 +22,7 @@ Subject: [VOTE] Release Apache {{ project_name }} {{ version }} based on Superse
Hello {{ project_name }} Community,
This is a call for the vote to release Apache {{ project_name }}
(incubating) version {{ version }}.
This is a call for the vote to release Apache {{ project_name }} version {{ version }}.
The release candidate:
https://dist.apache.org/repos/dist/dev/{{ project_module }}/{{ version_rc }}/

View File

@ -32,9 +32,9 @@ mkdir -p "${SUPERSET_SVN_DEV_PATH}"/"${SUPERSET_VERSION_RC}"
# Clone superset from tag to /tmp
cd /tmp
git clone --depth 1 --branch ${SUPERSET_VERSION_RC} https://github.com/apache/incubator-superset.git
git clone --depth 1 --branch ${SUPERSET_VERSION_RC} https://github.com/apache/superset.git
mkdir -p "${HOME}/${SUPERSET_VERSION_RC}"
cd incubator-superset && \
cd superset && \
# Check RC version
if ! jq -e --arg SUPERSET_VERSION $SUPERSET_VERSION '.version == $SUPERSET_VERSION' superset-frontend/package.json

View File

@ -24,148 +24,148 @@ assists people when migrating to a new version.
## Next
- Security simplification (SIP-19), the following permission domains were simplified:
- [12072](https://github.com/apache/incubator-superset/pull/12072): `Query` with `can_read`, `can_write`
- [12036](https://github.com/apache/incubator-superset/pull/12036): `Database` with `can_read`, `can_write`.
- [12012](https://github.com/apache/incubator-superset/pull/12036): `Dashboard` with `can_read`, `can_write`.
- [12061](https://github.com/apache/incubator-superset/pull/12061): `Log` with `can_read`, `can_write`.
- [12000](https://github.com/apache/incubator-superset/pull/12000): `Dataset` with `can_read`, `can_write`.
- [12014](https://github.com/apache/incubator-superset/pull/12014): `Annotation` with `can_read`, `can_write`.
- [11981](https://github.com/apache/incubator-superset/pull/11981): `Chart` with `can_read`, `can_write`.
- [11853](https://github.com/apache/incubator-superset/pull/11853): `ReportSchedule` with `can_read`, `can_write`.
- [11856](https://github.com/apache/incubator-superset/pull/11856): `CssTemplate` with `can_read`, `can_write`.
- [11764](https://github.com/apache/incubator-superset/pull/11764): `SavedQuery` with `can_read`, `can_write`.
- [12072](https://github.com/apache/superset/pull/12072): `Query` with `can_read`, `can_write`
- [12036](https://github.com/apache/superset/pull/12036): `Database` with `can_read`, `can_write`.
- [12012](https://github.com/apache/superset/pull/12036): `Dashboard` with `can_read`, `can_write`.
- [12061](https://github.com/apache/superset/pull/12061): `Log` with `can_read`, `can_write`.
- [12000](https://github.com/apache/superset/pull/12000): `Dataset` with `can_read`, `can_write`.
- [12014](https://github.com/apache/superset/pull/12014): `Annotation` with `can_read`, `can_write`.
- [11981](https://github.com/apache/superset/pull/11981): `Chart` with `can_read`, `can_write`.
- [11853](https://github.com/apache/superset/pull/11853): `ReportSchedule` with `can_read`, `can_write`.
- [11856](https://github.com/apache/superset/pull/11856): `CssTemplate` with `can_read`, `can_write`.
- [11764](https://github.com/apache/superset/pull/11764): `SavedQuery` with `can_read`, `can_write`.
Old permissions will be automatically migrated to these new permissions and applied to all existing security Roles.
- [11499](https://github.com/apache/incubator-superset/pull/11499): Breaking change: `STORE_CACHE_KEYS_IN_METADATA_DB` config flag added (default=`False`) to write `CacheKey` records to the metadata DB. `CacheKey` recording was enabled by default previously.
- [11920](https://github.com/apache/incubator-superset/pull/11920): Undos the DB migration from [11714](https://github.com/apache/incubator-superset/pull/11714) to prevent adding new columns to the logs table. Deploying a sha between these two PRs may result in locking your DB.
- [11704](https://github.com/apache/incubator-superset/pull/11704) Breaking change: Jinja templating for SQL queries has been updated, removing default modules such as `datetime` and `random` and enforcing static template values. To restore or extend functionality, use `JINJA_CONTEXT_ADDONS` and `CUSTOM_TEMPLATE_PROCESSORS` in `superset_config.py`.
- [11714](https://github.com/apache/incubator-superset/pull/11714): Logs
- [11499](https://github.com/apache/superset/pull/11499): Breaking change: `STORE_CACHE_KEYS_IN_METADATA_DB` config flag added (default=`False`) to write `CacheKey` records to the metadata DB. `CacheKey` recording was enabled by default previously.
- [11920](https://github.com/apache/superset/pull/11920): Undos the DB migration from [11714](https://github.com/apache/superset/pull/11714) to prevent adding new columns to the logs table. Deploying a sha between these two PRs may result in locking your DB.
- [11704](https://github.com/apache/superset/pull/11704) Breaking change: Jinja templating for SQL queries has been updated, removing default modules such as `datetime` and `random` and enforcing static template values. To restore or extend functionality, use `JINJA_CONTEXT_ADDONS` and `CUSTOM_TEMPLATE_PROCESSORS` in `superset_config.py`.
- [11714](https://github.com/apache/superset/pull/11714): Logs
significantly more analytics events (roughly double?), and when
using DBEventLogger (default) could result in stressing the metadata
database more.
- [11509](https://github.com/apache/incubator-superset/pull/11509): Config value `TABLE_NAMES_CACHE_CONFIG` has been renamed to `DATA_CACHE_CONFIG`, which will now also hold query results cache from connected datasources (previously held in `CACHE_CONFIG`), in addition to the table names. If you will set `DATA_CACHE_CONFIG` to a new cache backend different than your previous `CACHE_CONFIG`, plan for additional cache warmup to avoid degrading charting performance for the end users.
- [11509](https://github.com/apache/superset/pull/11509): Config value `TABLE_NAMES_CACHE_CONFIG` has been renamed to `DATA_CACHE_CONFIG`, which will now also hold query results cache from connected datasources (previously held in `CACHE_CONFIG`), in addition to the table names. If you will set `DATA_CACHE_CONFIG` to a new cache backend different than your previous `CACHE_CONFIG`, plan for additional cache warmup to avoid degrading charting performance for the end users.
- [11575](https://github.com/apache/incubator-superset/pull/11575) The Row Level Security (RLS) config flag has been moved to a feature flag. To migrate, add `ROW_LEVEL_SECURITY: True` to the `FEATURE_FLAGS` dict in `superset_config.py`.
- [11575](https://github.com/apache/superset/pull/11575) The Row Level Security (RLS) config flag has been moved to a feature flag. To migrate, add `ROW_LEVEL_SECURITY: True` to the `FEATURE_FLAGS` dict in `superset_config.py`.
- [11259](https://github.com/apache/incubator-superset/pull/11259): config flag ENABLE_REACT_CRUD_VIEWS has been set to `True` by default, set to `False` if you prefer to the vintage look and feel. However, we may discontine support on the vintage list view in the future.
- [11259](https://github.com/apache/superset/pull/11259): config flag ENABLE_REACT_CRUD_VIEWS has been set to `True` by default, set to `False` if you prefer to the vintage look and feel. However, we may discontine support on the vintage list view in the future.
- [11244](https://github.com/apache/incubator-superset/pull/11244): The `REDUCE_DASHBOARD_BOOTSTRAP_PAYLOAD` feature flag has been removed after being set to True for multiple months.
- [11244](https://github.com/apache/superset/pull/11244): The `REDUCE_DASHBOARD_BOOTSTRAP_PAYLOAD` feature flag has been removed after being set to True for multiple months.
- [11098](https://github.com/apache/incubator-superset/pull/11098): includes a database migration that adds a `uuid` column to most models, and updates `Dashboard.position_json` to include chart UUIDs. Depending on number of objects, the migration may take up to 5 minutes, requiring planning for downtime.
- [11172](https://github.com/apache/incubator-superset/pull/11172): Turning
- [11098](https://github.com/apache/superset/pull/11098): includes a database migration that adds a `uuid` column to most models, and updates `Dashboard.position_json` to include chart UUIDs. Depending on number of objects, the migration may take up to 5 minutes, requiring planning for downtime.
- [11172](https://github.com/apache/superset/pull/11172): Turning
off language selectors by default as i18n is incomplete in most languages
and requires more work. You can easily turn on the languages you want
to expose in your environment in superset_config.py
- [11172](https://github.com/apache/incubator-superset/pull/11172): Breaking change: SQL templating is turned off by default. To turn it on set `ENABLE_TEMPLATE_PROCESSING` to True on `FEATURE_FLAGS`
- [11172](https://github.com/apache/superset/pull/11172): Breaking change: SQL templating is turned off by default. To turn it on set `ENABLE_TEMPLATE_PROCESSING` to True on `FEATURE_FLAGS`
- [11155](https://github.com/apache/incubator-superset/pull/11155): The `FAB_UPDATE_PERMS` config parameter is no longer required as the Superset application correctly informs FAB under which context permissions should be updated.
- [11155](https://github.com/apache/superset/pull/11155): The `FAB_UPDATE_PERMS` config parameter is no longer required as the Superset application correctly informs FAB under which context permissions should be updated.
## 0.38.0
* [10887](https://github.com/apache/incubator-superset/pull/10887): Breaking change: The custom cache backend changed in order to support the Flask-Caching factory method approach and thus must be registered as a custom type. See [here](https://flask-caching.readthedocs.io/en/latest/#custom-cache-backends) for specifics.
* [10887](https://github.com/apache/superset/pull/10887): Breaking change: The custom cache backend changed in order to support the Flask-Caching factory method approach and thus must be registered as a custom type. See [here](https://flask-caching.readthedocs.io/en/latest/#custom-cache-backends) for specifics.
* [10674](https://github.com/apache/incubator-superset/pull/10674): Breaking change: PUBLIC_ROLE_LIKE_GAMMA was removed is favour of the new PUBLIC_ROLE_LIKE so it can be set to whatever role you want.
* [10674](https://github.com/apache/superset/pull/10674): Breaking change: PUBLIC_ROLE_LIKE_GAMMA was removed is favour of the new PUBLIC_ROLE_LIKE so it can be set to whatever role you want.
* [10590](https://github.com/apache/incubator-superset/pull/10590): Breaking change: this PR will convert iframe chart into dashboard markdown component, and remove all `iframe`, `separator`, and `markup` slices (and support) from Superset. If you have important data in those slices, please backup manually.
* [10590](https://github.com/apache/superset/pull/10590): Breaking change: this PR will convert iframe chart into dashboard markdown component, and remove all `iframe`, `separator`, and `markup` slices (and support) from Superset. If you have important data in those slices, please backup manually.
* [10562](https://github.com/apache/incubator-superset/pull/10562): EMAIL_REPORTS_WEBDRIVER is deprecated use WEBDRIVER_TYPE instead.
* [10562](https://github.com/apache/superset/pull/10562): EMAIL_REPORTS_WEBDRIVER is deprecated use WEBDRIVER_TYPE instead.
* [10567](https://github.com/apache/incubator-superset/pull/10567): Default WEBDRIVER_OPTION_ARGS are Chrome-specific. If you're using FF, should be `--headless` only
* [10567](https://github.com/apache/superset/pull/10567): Default WEBDRIVER_OPTION_ARGS are Chrome-specific. If you're using FF, should be `--headless` only
* [10241](https://github.com/apache/incubator-superset/pull/10241): change on Alpha role, users started to have access to "Annotation Layers", "Css Templates" and "Import Dashboards".
* [10241](https://github.com/apache/superset/pull/10241): change on Alpha role, users started to have access to "Annotation Layers", "Css Templates" and "Import Dashboards".
* [10324](https://github.com/apache/incubator-superset/pull/10324): Facebook Prophet has been introduced as an optional dependency to add support for timeseries forecasting in the chart data API. To enable this feature, install Superset with the optional dependency `prophet` or directly `pip install fbprophet`.
* [10324](https://github.com/apache/superset/pull/10324): Facebook Prophet has been introduced as an optional dependency to add support for timeseries forecasting in the chart data API. To enable this feature, install Superset with the optional dependency `prophet` or directly `pip install fbprophet`.
* [10320](https://github.com/apache/incubator-superset/pull/10320): References to blacklst/whitelist language have been replaced with more appropriate alternatives. All configs refencing containing `WHITE`/`BLACK` have been replaced with `ALLOW`/`DENY`. Affected config variables that need to be updated: `TIME_GRAIN_BLACKLIST`, `VIZ_TYPE_BLACKLIST`, `DRUID_DATA_SOURCE_BLACKLIST`.
* [10320](https://github.com/apache/superset/pull/10320): References to blacklst/whitelist language have been replaced with more appropriate alternatives. All configs refencing containing `WHITE`/`BLACK` have been replaced with `ALLOW`/`DENY`. Affected config variables that need to be updated: `TIME_GRAIN_BLACKLIST`, `VIZ_TYPE_BLACKLIST`, `DRUID_DATA_SOURCE_BLACKLIST`.
## 0.37.1
- [10794](https://github.com/apache/incubator-superset/pull/10794): Breaking change: `uuid` python package is not supported on Jinja2 anymore, only uuid functions are exposed eg: `uuid1`, `uuid3`, `uuid4`, `uuid5`.
- [10794](https://github.com/apache/superset/pull/10794): Breaking change: `uuid` python package is not supported on Jinja2 anymore, only uuid functions are exposed eg: `uuid1`, `uuid3`, `uuid4`, `uuid5`.
## 0.37.0
- [9964](https://github.com/apache/incubator-superset/pull/9964): Breaking change on Flask-AppBuilder 3. If you're using OAuth, find out what needs to be changed [here](https://github.com/dpgaspar/Flask-AppBuilder/blob/master/README.rst#change-log).
- [9964](https://github.com/apache/superset/pull/9964): Breaking change on Flask-AppBuilder 3. If you're using OAuth, find out what needs to be changed [here](https://github.com/dpgaspar/Flask-AppBuilder/blob/master/README.rst#change-log).
- [10233](https://github.com/apache/incubator-superset/pull/10233): a change which deprecates the `ENABLE_FLASK_COMPRESS` config option in favor of the Flask-Compress `COMPRESS_REGISTER` config option which serves the same purpose.
- [10233](https://github.com/apache/superset/pull/10233): a change which deprecates the `ENABLE_FLASK_COMPRESS` config option in favor of the Flask-Compress `COMPRESS_REGISTER` config option which serves the same purpose.
- [10222](https://github.com/apache/incubator-superset/pull/10222): a change which changes how payloads are cached. Previous cached objects cannot be decoded and thus will be reloaded from source.
- [10222](https://github.com/apache/superset/pull/10222): a change which changes how payloads are cached. Previous cached objects cannot be decoded and thus will be reloaded from source.
- [10130](https://github.com/apache/incubator-superset/pull/10130): a change which deprecates the `dbs.perm` column in favor of SQLAlchemy [hybird attributes](https://docs.sqlalchemy.org/en/13/orm/extensions/hybrid.html).
- [10130](https://github.com/apache/superset/pull/10130): a change which deprecates the `dbs.perm` column in favor of SQLAlchemy [hybird attributes](https://docs.sqlalchemy.org/en/13/orm/extensions/hybrid.html).
- [10034](https://github.com/apache/incubator-superset/pull/10034): a change which deprecates the public security manager `assert_datasource_permission`, `assert_query_context_permission`, `assert_viz_permission`, and `rejected_tables` methods with the `raise_for_access` method which also handles assertion logic for SQL tables.
- [10034](https://github.com/apache/superset/pull/10034): a change which deprecates the public security manager `assert_datasource_permission`, `assert_query_context_permission`, `assert_viz_permission`, and `rejected_tables` methods with the `raise_for_access` method which also handles assertion logic for SQL tables.
- [10031](https://github.com/apache/incubator-superset/pull/10030): a change which renames the following public security manager methods: `can_access_datasource` to `can_access_table`, `all_datasource_access` to `can_access_all_datasources`, `all_database_access` to `can_access_all_databases`, `database_access` to `can_access_database`, `schema_access` to `can_access_schema`, and
- [10031](https://github.com/apache/superset/pull/10030): a change which renames the following public security manager methods: `can_access_datasource` to `can_access_table`, `all_datasource_access` to `can_access_all_datasources`, `all_database_access` to `can_access_all_databases`, `database_access` to `can_access_database`, `schema_access` to `can_access_schema`, and
`datasource_access` to `can_access_datasource`. Regrettably it is not viable to provide aliases for the deprecated methods as this would result in a name clash. Finally the `can_access_table` (previously `can_access_database`) method signature has changed, i.e., the optional `schema` argument no longer exists.
- [10030](https://github.com/apache/incubator-superset/pull/10030): a change which renames the public security manager `schemas_accessible_by_user` method to `get_schemas_accessible_by_user`.
- [10030](https://github.com/apache/superset/pull/10030): a change which renames the public security manager `schemas_accessible_by_user` method to `get_schemas_accessible_by_user`.
- [9786](https://github.com/apache/incubator-superset/pull/9786): with the upgrade of `werkzeug` from version `0.16.0` to `1.0.1`, the `werkzeug.contrib.cache` module has been moved to a standalone package [cachelib](https://pypi.org/project/cachelib/). For example, to import the `RedisCache` class, please use the following import: `from cachelib.redis import RedisCache`.
- [9786](https://github.com/apache/superset/pull/9786): with the upgrade of `werkzeug` from version `0.16.0` to `1.0.1`, the `werkzeug.contrib.cache` module has been moved to a standalone package [cachelib](https://pypi.org/project/cachelib/). For example, to import the `RedisCache` class, please use the following import: `from cachelib.redis import RedisCache`.
- [9794](https://github.com/apache/incubator-superset/pull/9794): introduces `create view as` functionality in the sqllab. This change will require the `query` table migration and potential service downtime as that table has quite some traffic.
- [9794](https://github.com/apache/superset/pull/9794): introduces `create view as` functionality in the sqllab. This change will require the `query` table migration and potential service downtime as that table has quite some traffic.
- [9572](https://github.com/apache/incubator-superset/pull/9572): a change which by default means that the Jinja `current_user_id`, `current_username`, and `url_param` context calls no longer need to be wrapped via `cache_key_wrapper` in order to be included in the cache key. The `cache_key_wrapper` function should only be required for Jinja add-ons.
- [9572](https://github.com/apache/superset/pull/9572): a change which by default means that the Jinja `current_user_id`, `current_username`, and `url_param` context calls no longer need to be wrapped via `cache_key_wrapper` in order to be included in the cache key. The `cache_key_wrapper` function should only be required for Jinja add-ons.
## 0.36.0
- [8867](https://github.com/apache/incubator-superset/pull/8867): a change which adds the `tmp_schema_name` column to the `query` table which requires locking the table. Given the `query` table is heavily used performance may be degraded during the migration. Scheduled downtime may be advised.
- [8867](https://github.com/apache/superset/pull/8867): a change which adds the `tmp_schema_name` column to the `query` table which requires locking the table. Given the `query` table is heavily used performance may be degraded during the migration. Scheduled downtime may be advised.
- [9238](https://github.com/apache/incubator-superset/pull/9238): the config option `TIME_GRAIN_FUNCTIONS` has been renamed to `TIME_GRAIN_EXPRESSIONS` to better reflect the content of the dictionary.
- [9238](https://github.com/apache/superset/pull/9238): the config option `TIME_GRAIN_FUNCTIONS` has been renamed to `TIME_GRAIN_EXPRESSIONS` to better reflect the content of the dictionary.
- [9218](https://github.com/apache/incubator-superset/pull/9218): SQLite connections have been disabled by default
- [9218](https://github.com/apache/superset/pull/9218): SQLite connections have been disabled by default
for analytics databases. You can optionally enable SQLite by setting `PREVENT_UNSAFE_DB_CONNECTIONS` to `False`.
It is not recommended to change this setting, as arbitrary SQLite connections can lead to security vulnerabilities.
- [9133](https://github.com/apache/incubator-superset/pull/9133): Security list of permissions and list views has been
- [9133](https://github.com/apache/superset/pull/9133): Security list of permissions and list views has been
disable by default. You can optionally enable them back again by setting the following config keys:
`FAB_ADD_SECURITY_PERMISSION_VIEW`, `FAB_ADD_SECURITY_VIEW_MENU_VIEW`, `FAB_ADD_SECURITY_PERMISSION_VIEWS_VIEW` to `True`.
- [9173](https://github.com/apache/incubator-superset/pull/9173): Changes the encoding of the query source from an int to an enum.
- [9173](https://github.com/apache/superset/pull/9173): Changes the encoding of the query source from an int to an enum.
- [9120](https://github.com/apache/incubator-superset/pull/9120): Changes the default behavior of ad-hoc sharing of
- [9120](https://github.com/apache/superset/pull/9120): Changes the default behavior of ad-hoc sharing of
queries in SQLLab to one that links to the saved query rather than one that copies the query data into the KVStore
model and links to the record there. This is a security-related change that makes SQLLab query
sharing respect the existing role-based access controls. Should you wish to retain the existing behavior, set two feature flags:
`"KV_STORE": True` will re-enable the `/kv/` and `/kv/store/` endpoints, and `"SHARE_QUERIES_VIA_KV_STORE": True`
will tell the front-end to utilize them for query sharing.
- [9109](https://github.com/apache/incubator-superset/pull/9109): Expire `filter_immune_slices` and
- [9109](https://github.com/apache/superset/pull/9109): Expire `filter_immune_slices` and
`filter_immune_filter_fields` to favor dashboard scoped filter metadata `filter_scopes`.
- [9046](https://github.com/apache/incubator-superset/pull/9046): Replaces `can_only_access_owned_queries` by
- [9046](https://github.com/apache/superset/pull/9046): Replaces `can_only_access_owned_queries` by
`all_query_access` favoring a white list approach. Since a new permission is introduced use `superset init`
to create and associate it by default to the `Admin` role. Note that, by default, all non `Admin` users will
not be able to access queries they do not own.
- [8901](https://github.com/apache/incubator-superset/pull/8901): The datasource's update
- [8901](https://github.com/apache/superset/pull/8901): The datasource's update
timestamp has been added to the query object's cache key to ensure updates to
datasources are always reflected in associated query results. As a consequence all
previously cached results will be invalidated when updating to the next version.
- [8699](https://github.com/apache/incubator-superset/pull/8699): A `row_level_security_filters`
- [8699](https://github.com/apache/superset/pull/8699): A `row_level_security_filters`
table has been added, which is many-to-many with `tables` and `ab_roles`. The applicable filters
are added to the sqla query, and the RLS ids are added to the query cache keys. If RLS is enabled in config.py (`ENABLE_ROW_LEVEL_SECURITY = True`; by default, it is disabled), they can be
accessed through the `Security` menu, or when editting a table.
- [8732](https://github.com/apache/incubator-superset/pull/8732): Swagger user interface is now enabled by default.
- [8732](https://github.com/apache/superset/pull/8732): Swagger user interface is now enabled by default.
A new permission `show on SwaggerView` is created by `superset init` and given to the `Admin` Role. To disable the UI,
set `FAB_API_SWAGGER_UI = False` on config.
- [8721](https://github.com/apache/incubator-superset/pull/8721): When using the cache
- [8721](https://github.com/apache/superset/pull/8721): When using the cache
warmup Celery task you should now specify the `SUPERSET_WEBSERVER_PROTOCOL` variable
in your configuration (probably either "http" or "https"). This defaults to "http".
- [8512](https://github.com/apache/incubator-superset/pull/8512): `DRUID_IS_ACTIVE` now
- [8512](https://github.com/apache/superset/pull/8512): `DRUID_IS_ACTIVE` now
defaults to False. To enable Druid-API-based functionality, override the
`DRUID_IS_ACTIVE` configuration variable by setting it to `True` for your deployment.
- [8450](https://github.com/apache/incubator-superset/pull/8450): The time range picker
- [8450](https://github.com/apache/superset/pull/8450): The time range picker
now uses UTC for the tooltips and default placeholder timestamps (sans timezone).
- [8418](https://github.com/apache/incubator-superset/pull/8418): FLASK_APP / Worker App
- [8418](https://github.com/apache/superset/pull/8418): FLASK_APP / Worker App
have changed. FLASK_APP should be updated to `superset.app:create_app()` and Celery Workers
should be started with `--app=superset.tasks.celery_app:app`
- [9017](https://github.com/apache/incubator-superset/pull/9017): `SIP_15_ENABLED` now
- [9017](https://github.com/apache/superset/pull/9017): `SIP_15_ENABLED` now
defaults to True which ensures that for all new SQL charts the time filter will behave
like [start, end). Existing deployments should either disable this feature to keep the
status quo or inform their users of this change prior to enabling the flag. The
@ -174,7 +174,7 @@ assists people when migrating to a new version.
## 0.35.0
- [8370](https://github.com/apache/incubator-superset/pull/8370): Deprecates
- [8370](https://github.com/apache/superset/pull/8370): Deprecates
the `HTTP_HEADERS` variable in favor of `DEFAULT_HTTP_HEADERS` and
`OVERRIDE_HTTP_HEADERS`. To retain the same behavior you should use
`OVERRIDE_HTTP_HEADERS` instead of `HTTP_HEADERS`. `HTTP_HEADERS` will still
@ -182,32 +182,32 @@ assists people when migrating to a new version.
- We're deprecating the concept of "restricted metric", this feature
was not fully working anyhow.
- [8117](https://github.com/apache/incubator-superset/pull/8117): If you are
- [8117](https://github.com/apache/superset/pull/8117): If you are
using `ENABLE_PROXY_FIX = True`, review the newly-introducted variable,
`PROXY_FIX_CONFIG`, which changes the proxy behavior in accordance with
[Werkzeug](https://werkzeug.palletsprojects.com/en/0.15.x/middleware/proxy_fix/)
- [8069](https://github.com/apache/incubator-superset/pull/8069): introduces
- [8069](https://github.com/apache/superset/pull/8069): introduces
[MessagePack](https://github.com/msgpack/msgpack-python) and
[PyArrow](https://arrow.apache.org/docs/python/) for async query results
backend serialization. To disable set `RESULTS_BACKEND_USE_MSGPACK = False`
in your configuration.
- [8371](https://github.com/apache/incubator-superset/pull/8371): makes
- [8371](https://github.com/apache/superset/pull/8371): makes
`tables.table_name`, `dbs.database_name`, `datasources.cluster_name`, and `clusters.cluster_name` non-nullable.
Depending on the integrity of the data, manual intervention may be required.
## 0.34.0
- [7848](https://github.com/apache/incubator-superset/pull/7848): If you are
- [7848](https://github.com/apache/superset/pull/7848): If you are
running redis with celery, celery bump to 4.3.0 requires redis-py upgrade to
3.2.0 or later.
- [7667](https://github.com/apache/incubator-superset/pull/7667): a change to
- [7667](https://github.com/apache/superset/pull/7667): a change to
make all Unix timestamp (which by definition are in UTC) comparisons refer
to a timestamp in UTC as opposed to local time.
- [7653](https://github.com/apache/incubator-superset/pull/7653): a change
- [7653](https://github.com/apache/superset/pull/7653): a change
which deprecates the table_columns.database_expression column. Expressions
should be handled by the DB engine spec conversion, Python date format, or
custom column expression/type.
@ -215,11 +215,11 @@ assists people when migrating to a new version.
- The repo no longer contains translation binaries (`.mo`) files. If you
want translations in your build, you now have to run the command
`babel-compile --target superset/translations` as part of your builds
- [5451](https://github.com/apache/incubator-superset/pull/5451): a change
- [5451](https://github.com/apache/superset/pull/5451): a change
which adds missing non-nullable fields to the `datasources` table. Depending on
the integrity of the data, manual intervention may be required.
- [5452](https://github.com/apache/incubator-superset/pull/5452): a change
- [5452](https://github.com/apache/superset/pull/5452): a change
which adds missing non-nullable fields and uniqueness constraints (which may be
case insensitive depending on your database configuration) to the `columns`and
`table_columns` tables. Depending on the integrity of the data, manual
@ -229,12 +229,12 @@ assists people when migrating to a new version.
- `SUPERSET_UPDATE_PERMS` environment variable was replaced by
`FAB_UPDATE_PERMS` config boolean key. To disable automatic
creation of permissions set `FAB_UPDATE_PERMS = False` on config.
- [5453](https://github.com/apache/incubator-superset/pull/5453): a change
- [5453](https://github.com/apache/superset/pull/5453): a change
which adds missing non-nullable fields and uniqueness constraints (which may be
case insensitive depending on your database configuration) to the metrics
and sql_metrics tables. Depending on the integrity of the data, manual
intervention may be required.
- [7616](https://github.com/apache/incubator-superset/pull/7616): this bug fix
- [7616](https://github.com/apache/superset/pull/7616): this bug fix
changes time_compare deltas to correctly evaluate to the number of days prior
instead of number of days in the future. It will change the data for advanced
analytics time_compare so `1 year` from 5/1/2019 will be calculated as 365 days
@ -243,7 +243,7 @@ assists people when migrating to a new version.
## Superset 0.32.0
- `npm run backend-sync` is deprecated and no longer needed, will fail if called
- [5445](https://github.com/apache/incubator-superset/pull/5445): a change
- [5445](https://github.com/apache/superset/pull/5445): a change
which prevents encoding of empty string from form data in the database.
This involves a non-schema changing migration which does potentially impact
a large number of records. Scheduled downtime may be advised.
@ -281,7 +281,7 @@ assists people when migrating to a new version.
- India was removed from the "Country Map" visualization as the geojson
file included in the package was very large
- [5933](https://github.com/apache/incubator-superset/pull/5933)/[6078](https://github.com/apache/incubator-superset/pull/6078): changes which add schema and table metadata cache timeout logic at the database level. If left undefined caching of metadata is disabled.
- [5933](https://github.com/apache/superset/pull/5933)/[6078](https://github.com/apache/superset/pull/6078): changes which add schema and table metadata cache timeout logic at the database level. If left undefined caching of metadata is disabled.
## Superset 0.28.0
@ -325,13 +325,13 @@ upgrade.
The PRs bellow have more information around the breaking changes:
- [9825](https://github.com/apache/incubator-superset/pull/9825): Support for Excel sheet upload added. To enable support, install Superset with the optional dependency `excel`
- [9825](https://github.com/apache/superset/pull/9825): Support for Excel sheet upload added. To enable support, install Superset with the optional dependency `excel`
- [4587](https://github.com/apache/incubator-superset/pull/4587) : a backward
- [4587](https://github.com/apache/superset/pull/4587) : a backward
incompatible database migration that requires downtime. Once the
db migration succeeds, the web server needs to be restarted with the
new version. The previous version will fail
- [4565](https://github.com/apache/incubator-superset/pull/4565) : we've
- [4565](https://github.com/apache/superset/pull/4565) : we've
changed the security model a bit where in the past you would have to
define your authentication scheme by inheriting from Flask
App Builder's
@ -342,7 +342,7 @@ The PRs bellow have more information around the breaking changes:
permissions to another system as needed. For all implementation, you
simply have to import and derive `SupersetSecurityManager` in place
of the `SecurityManager`
- [4835](https://github.com/apache/incubator-superset/pull/4835) :
- [4835](https://github.com/apache/superset/pull/4835) :
our `setup.py` now only pins versions where required, giving you
more latitude in using versions of libraries as needed. We do now
provide a `requirements.txt` with pinned versions if you want to run

View File

@ -19,5 +19,5 @@ RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://superset.apache.org/$1 [R,L]
RewriteCond %{HTTP_HOST} ^superset.incubator.apache.org$ [NC]
RewriteCond %{HTTP_HOST} ^superset.apache.org$ [NC]
RewriteRule ^(.*)$ https://superset.apache.org/$1 [R=301,L]

View File

@ -37,17 +37,17 @@ npm run start
To publish, the static site that Gatsby generates needs to be pushed
to the `asf-site` branch on the
[apache/incubator-superset-site](https://github.com/apache/incubator-superset-site/)
[apache/superset-site](https://github.com/apache/superset-site/)
repository. No need to PR here, simply `git push`.
```bash
# Get in the docs/ folder in the main repo
cd ~/repos/incubator-superset/docs
cd ~/repos/superset/docs
# have Gatsby build the static website, this puts in under `docs/public`
npm run build
# go to the docs repo
cd ~/repos/incubator-superset-site
cd ~/repos/superset-site
# checkout the proper branch
git checkout asf-site
@ -56,7 +56,7 @@ git checkout asf-site
rm -rf *
# copy the static site here
cp -r ~/repos/incubator-superset/docs/public/ ./
cp -r ~/repos/superset/docs/public/ ./
# git push
git add .

View File

@ -86,15 +86,15 @@ supported.)
**Step 1 - Clone Superset's Github repository**
`Clone Superset's repo <https://github.com/apache/incubator-superset>`__
`Clone Superset's repo <https://github.com/apache/superset>`__
in your terminal with the following command:
.. code:: bash
$ git clone https://github.com/apache/incubator-superset.git
$ git clone https://github.com/apache/superset.git
Once that command completes successfully, you should see a new
``incubator-superset`` folder in your current directory.
``superset`` folder in your current directory.
**Step 2 - Launch Superset via `docker-compose up`**
@ -102,7 +102,7 @@ Next, `cd` into the folder you created in Step 1:
.. code:: bash
$ cd incubator-superset
$ cd superset
Once you're in the directory, run the following command:
@ -135,7 +135,7 @@ Congrats! You have successfully installed Superset!
.. note ::
The Docker-related files and documentation are actively maintained and
managed by the core committers working on the project. Help and contributions
around Docker are welcomed! See also `docker/README.md <https://github.com/apache/incubator-superset/blob/master/docker/README.md>`_ for additional information.
around Docker are welcomed! See also `docker/README.md <https://github.com/apache/superset/blob/master/docker/README.md>`_ for additional information.
OS dependencies
---------------
@ -334,7 +334,7 @@ of the parameters you can copy / paste in that configuration module: ::
MAPBOX_API_KEY = ''
All the parameters and default values defined in
https://github.com/apache/incubator-superset/blob/master/superset/config.py
https://github.com/apache/superset/blob/master/superset/config.py
can be altered in your local ``superset_config.py`` .
Administrators will want to
read through the file to understand what can be configured locally
@ -931,7 +931,7 @@ Domain Sharding
Chrome allows up to 6 open connections per domain at a time. When there are more
than 6 slices in dashboard, a lot of time fetch requests are queued up and wait for
next available socket. `PR 5039 <https://github.com/apache/incubator-superset/pull/5039>`_ adds domain sharding to Superset,
next available socket. `PR 5039 <https://github.com/apache/superset/pull/5039>`_ adds domain sharding to Superset,
and this feature will be enabled by configuration only (by default Superset
doesn't allow cross-domain request).
@ -1404,7 +1404,7 @@ Building from source
More advanced users may want to build Superset from sources. That
would be the case if you fork the project to add features specific to
your environment. See `CONTRIBUTING.md#setup-local-environment-for-development <https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#setup-local-environment-for-development>`_.
your environment. See `CONTRIBUTING.md#setup-local-environment-for-development <https://github.com/apache/superset/blob/master/CONTRIBUTING.md#setup-local-environment-for-development>`_.
Blueprints
----------
@ -1546,7 +1546,7 @@ Here is a list of flags and descriptions:
* For some security concerns, you may need to enforce CSRF protection on all query request to explore_json endpoint. In Superset, we use `flask-csrf <https://sjl.bitbucket.io/flask-csrf/>`_ add csrf protection for all POST requests, but this protection doesn't apply to GET method.
* When ENABLE_EXPLORE_JSON_CSRF_PROTECTION is set to true, your users cannot make GET request to explore_json. The default value for this feature False (current behavior), explore_json accepts both GET and POST request. See `PR 7935 <https://github.com/apache/incubator-superset/pull/7935>`_ for more details.
* When ENABLE_EXPLORE_JSON_CSRF_PROTECTION is set to true, your users cannot make GET request to explore_json. The default value for this feature False (current behavior), explore_json accepts both GET and POST request. See `PR 7935 <https://github.com/apache/superset/pull/7935>`_ for more details.
* PRESTO_EXPAND_DATA
@ -1556,7 +1556,7 @@ Here is a list of flags and descriptions:
SIP-15
------
`SIP-15 <https://github.com/apache/incubator-superset/issues/6360>`_ aims to ensure that time intervals are handled in a consistent and transparent manner for both the Druid and SQLAlchemy connectors.
`SIP-15 <https://github.com/apache/superset/issues/6360>`_ aims to ensure that time intervals are handled in a consistent and transparent manner for both the Druid and SQLAlchemy connectors.
Prior to SIP-15 SQLAlchemy used inclusive endpoints however these may behave like exclusive for string columns (due to lexicographical ordering) if no formatting was defined and the column formatting did not conform to an ISO 8601 date-time (refer to the SIP for details).

View File

@ -96,7 +96,7 @@ Superset's Jinja context:
Extending macros
''''''''''''''''
As mentioned in the `Installation & Configuration <https://superset.incubator.apache.org/installation.html#installation-configuration>`_ documentation,
As mentioned in the `Installation & Configuration <https://superset.apache.org/installation.html#installation-configuration>`_ documentation,
it's possible for administrators to expose more more macros in their
environment using the configuration variable ``JINJA_CONTEXT_ADDONS``.
All objects referenced in this dictionary will become available for users
@ -105,7 +105,7 @@ to integrate in their queries in **SQL Lab**.
Customize templating
''''''''''''''''''''
As mentioned in the `Installation & Configuration <https://superset.incubator.apache.org/installation.html#sql-lab>`__ documentation,
As mentioned in the `Installation & Configuration <https://superset.apache.org/installation.html#sql-lab>`__ documentation,
it's possible for administrators to overwrite Jinja templating with your customized
template processor using the configuration variable ``CUSTOM_TEMPLATE_PROCESSORS``.
The template processors referenced in the dictionary will overwrite default Jinja template processors

View File

@ -98,7 +98,7 @@ const MenuItems = ({ mode, toggleDrawer }: menuProps) => {
{mode === 'horizontal'
&& (
<Menu.Item key="github" style={rightStyle}>
<a href="https://github.com/apache/incubator-superset" target="_blank" rel="noreferrer">
<a href="https://github.com/apache/superset" target="_blank" rel="noreferrer">
<GithubOutlined className="menu-icon" />
</a>
</Menu.Item>
@ -133,7 +133,7 @@ export default class MainMenu extends React.Component {
const { visible } = this.state;
return (
<Layout.Header css={headerStyle}>
<a href="https://superset.incubator.apache.org">
<a href="https://superset.apache.org">
<img height="50" css={logoStyle} src={logoSvg} alt="logo" />
</a>
<MenuItems toggleDrawer={this.toggleDrawer} mode="horizontal" />

View File

@ -80,7 +80,7 @@ const LayoutFooter = () => (
<SlackSquareOutlined className="icon" />
</a>
<a
href="https://github.com/apache/incubator-superset"
href="https://github.com/apache/superset"
target="_blank"
rel="noreferrer"
>
@ -116,16 +116,6 @@ const LayoutFooter = () => (
&nbsp;License.
</a>
{' '}
<div>
Disclaimer: Apache Superset is an effort undergoing incubation at The
Apache Software Foundation (ASF), sponsored by the Apache Incubator.
Incubation is required of all newly accepted projects until a further
review indicates that the infrastructure, communications, and decision
making process have stabilized in a manner consistent with other
successful ASF projects. While incubation status is not necessarily a
reflection of the completeness or stability of the code, it does
indicate that the project has yet to be fully endorsed by the ASF.
</div>
<div>
Apache Superset, Apache, Superset, the Superset logo, and the Apache
feather logo are either registered trademarks or trademarks of The

View File

@ -31,7 +31,7 @@ const links = [
'interact with other Superset users and community members',
],
[
'https://github.com/apache/incubator-superset',
'https://github.com/apache/superset',
'GitHub',
'create tickets to report issues, report bugs, and suggest new features',
],
@ -51,7 +51,7 @@ const links = [
'join our monthly virtual meetups and register for any upcoming events',
],
[
'https://github.com/apache/incubator-superset/blob/master/INTHEWILD.md',
'https://github.com/apache/superset/blob/master/INTHEWILD.md',
'Organizations',
'a list of some of the organizations using Superset in production',
],

View File

@ -10,8 +10,8 @@ version: 1
Superset requires a Python database driver to be installed for each additional type of database you
want to connect to. When setting up Superset locally via `docker-compose`, the drivers and packages
contained in
[requirements.txt](https://github.com/apache/incubator-superset/blob/master/requirements.txt) and
[requirements-dev.txt](https://github.com/apache/incubator-superset/blob/master/requirements-dev.txt)
[requirements.txt](https://github.com/apache/superset/blob/master/requirements.txt) and
[requirements-dev.txt](https://github.com/apache/superset/blob/master/requirements-dev.txt)
will be installed automatically.
In this section, we'll walk through how to install the MySQL connector library. The connector

View File

@ -57,7 +57,7 @@ Note that many other databases are supported, the main criteria being the existe
If your database or data engine isn't on the list but a SQL interface
exists, please file an issue on the
[Superset GitHub repo](https://github.com/apache/incubator-superset/issues), so we can work on
[Superset GitHub repo](https://github.com/apache/superset/issues), so we can work on
supporting it.
[StackOverflow](https://stackoverflow.com/questions/tagged/apache-superset+superset) and the

View File

@ -13,13 +13,13 @@ which you can join):
- [Mailing list](https://lists.apache.org/list.html?dev@superset.apache.org)
- [Apache Superset Slack community](https://apache-superset.slack.com/join/shared_invite/zt-g8lpruog-HeqpgYrwdfrD5OYhlU7hPQ#/)
- [Github issues and PR's](https://github.com/apache/incubator-superset/issues)
- [Github issues and PR's](https://github.com/apache/superset/issues)
If you're interested in contributing, we recommend reading the Community Contribution Guide
[described in CONTRIBUTING.MD](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md)
[described in CONTRIBUTING.MD](https://github.com/apache/superset/blob/master/CONTRIBUTING.md)
to get started. Here are some helpful links from that page:
- [Overview of types of contributions](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#types-of-contributions)
- [Pull request guidelines](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#pull-request-guidelines)
- [Managing Issues and PR's](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#managing-issues-and-prs)
- [Setting up local environment for development](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#setup-local-environment-for-development)
- [Overview of types of contributions](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#types-of-contributions)
- [Pull request guidelines](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#pull-request-guidelines)
- [Managing Issues and PR's](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#managing-issues-and-prs)
- [Setting up local environment for development](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#setup-local-environment-for-development)

View File

@ -271,7 +271,7 @@ are typical in basic SQL:
Yes, a public REST API, and the surface of that API formal is expanding steadily. Some of the
original vision for the collection of endpoints under **/api/v1** was originally specified in
[SIP-17](https://github.com/apache/incubator-superset/issues/7259) and constant progress has been
[SIP-17](https://github.com/apache/superset/issues/7259) and constant progress has been
made to cover more and more use cases.
The API available is documented using [Swagger](https://swagger.io/) and the documentation can be

View File

@ -30,16 +30,16 @@ npm install -g yo @superset-ui/generator-superset
### Install Superset
There are
[complete instructions](https://github.com/apache/incubator-superset#installation-and-configuration)
available on the [Superset Github repository](https://github.com/apache/incubator-superset). In a
[complete instructions](https://github.com/apache/superset#installation-and-configuration)
available on the [Superset Github repository](https://github.com/apache/superset). In a
nutshell, the easiest way is to:
1. Have a Mac or linux-based machine
2. Install [Docker](https://docs.docker.com/get-docker/)
3. Clone [the repository](https://github.com/apache/incubator-superset) to your computer
4. Use your terminal to `cd` into the `incubator-superset` directory
3. Clone [the repository](https://github.com/apache/superset) to your computer
4. Use your terminal to `cd` into the `superset` directory
5. Run `docker-compose up`
6. Open _another_ terminal, and `cd` into `incubator-superset/superset-frontend`
6. Open _another_ terminal, and `cd` into `superset/superset-frontend`
7. Run `npm install` to load up all the npm packages.
8. Run `npm run dev-server` to spin up the Webpack hot-reloading server
9. Wait for it to build, and then open your browser to `http://localhost:9000` and log in with
@ -48,7 +48,7 @@ nutshell, the easiest way is to:
### Install Superset-UI
1. Clone [the `superset-ui` repository](https://github.com/apache-superset/superset-ui) to your
computer. It can sit in the same parent directory as your `incubator-superset` repo
computer. It can sit in the same parent directory as your `superset` repo
2. Use your terminal to `cd` into `superset-ui`
3. Run `yarn install` and wait for all the packages to get installed
@ -98,14 +98,14 @@ Now, we want to see this thing actually RUN! To do that, we'll add your package
embrace the magic power of `npm link` to see it in-situ, without needing to **build** the plugin, or
open any PRs on Github.
1. Add your package to the `package.json` file in `incubator-superset/superset-frontend`.
1. Add your package to the `package.json` file in `superset/superset-frontend`.
<img src="/images/plugin-8-package-json.png" />{' '}
Note: Do _not_ run `npm install`... explanation below.
2. Add your plugin to the `MainPreset.js` file (located in
`incubator-superset/superset-frontend/src/visualizations/presets/MainPreset.js`) in two places,
`superset/superset-frontend/src/visualizations/presets/MainPreset.js`) in two places,
alongside the other plugins.
<img src="/images/plugin-9-mainpreset-import.png" />{' '}
@ -113,7 +113,7 @@ Note: Do _not_ run `npm install`... explanation below.
{' '}
<img src="/images/plugin-9-mainpreset-register.png" />
3. Open a terminal window to `incubator-superset/superset-frontend`. If you did the Install Superset
3. Open a terminal window to `superset/superset-frontend`. If you did the Install Superset
steps above, you may still have webpack running there, and you can just stop it with `ctrol-c`.
If not, just open a new window and or `cd` to that directory path.
@ -187,7 +187,7 @@ to your plugin, so they don't "leak" to other areas of Superset.
In the Hello World plugin, we've included a few example Theme variables (`colors`, `gridUnit`s, and
typographic weights/sizes). We'll be continuing to add more variables to this theme file as we
continue to push Superset (and the viz plugins) toward the standards of the Superset redesign (see
[SIP-34](https://github.com/apache/incubator-superset/issues/8976))
[SIP-34](https://github.com/apache/superset/issues/8976))
### Give it a thumbnail

View File

@ -42,7 +42,7 @@ MAPBOX_API_KEY = ''
```
All the parameters and default values defined in
[https://github.com/apache/incubator-superset/blob/master/superset/config.py](https://github.com/apache/incubator-superset/blob/master/superset/config.py)
[https://github.com/apache/superset/blob/master/superset/config.py](https://github.com/apache/superset/blob/master/superset/config.py)
can be altered in your local `superset_config.py`. Administrators will want to read through the file
to understand what can be configured locally as well as the default values in place.
@ -198,7 +198,7 @@ Here is a list of flags and descriptions:
protection on all query request to the `explore_json` endpoint. When
`ENABLE_EXPLORE_JSON_CSRF_PROTECTION` is set to true, your users cannot make GET request to
`explore_json`. The default value for this feature is `False` and `explore_json` will accept both
GET and POST request. See [PR 7935](https://github.com/apache/incubator-superset/pull/7935) for
GET and POST request. See [PR 7935](https://github.com/apache/superset/pull/7935) for
more details.
- `PRESTO_EXPAND_DATA`: When this feature is enabled, nested types in Presto will be expanded into
@ -206,7 +206,7 @@ Here is a list of flags and descriptions:
### SIP 15
[Superset Improvement Proposal 15](https://github.com/apache/incubator-superset/issues/6360) aims to
[Superset Improvement Proposal 15](https://github.com/apache/superset/issues/6360) aims to
ensure that time intervals are handled in a consistent and transparent manner for both the Druid and
SQLAlchemy connectors.

View File

@ -41,14 +41,14 @@ all of the required dependencies.
### 2. Clone Superset's Github repository
[Clone Superset's repo](https://github.com/apache/incubator-superset) in your terminal with the
[Clone Superset's repo](https://github.com/apache/superset) in your terminal with the
following command:
```bash
$ git clone https://github.com/apache/incubator-superset.git
$ git clone https://github.com/apache/superset.git
```
Once that command completes successfully, you should see a new `incubator-superset` folder in your
Once that command completes successfully, you should see a new `superset` folder in your
current directory.
We recommend that you check out and run the code from the last tagged release:
@ -62,7 +62,7 @@ $ git checkout latest
Navigate to the folder you created in step 1:
```bash
$ cd incubator-superset
$ cd superset
```
Then, run the following command:

View File

@ -26,7 +26,7 @@ The following keys in `superset_config.py` can be specified to configure CORS:
Chrome allows up to 6 open connections per domain at a time. When there are more than 6 slices in
dashboard, a lot of time fetch requests are queued up and wait for next available socket.
[PR 5039](https://github.com/apache/incubator-superset/pull/5039) adds domain sharding to Superset,
[PR 5039](https://github.com/apache/superset/pull/5039) adds domain sharding to Superset,
and this feature will be enabled by configuration only (by default Superset doesnt allow
cross-domain request).

View File

@ -86,4 +86,4 @@ FEATURE_FLAGS = {
```
The available validators and names can be found in
[sql_validators](https://github.com/apache/incubator-superset/tree/master/superset/sql_validators).
[sql_validators](https://github.com/apache/superset/tree/master/superset/sql_validators).

View File

@ -16,10 +16,10 @@ First make sure to wind down the running containers in Docker Compose:
docker-compose down
```
Then, update the folder that mirrors the `incubator-superset` repo through git:
Then, update the folder that mirrors the `superset` repo through git:
```bash
cd incubator_superset/
cd superset/
git pull origin master
```

View File

@ -46,4 +46,4 @@ production environment inside Kubernetes and serves 600+ daily active users view
a day.
You can find a partial list of industries and companies embracing Superset
[on this page in GitHub](https://github.com/apache/incubator-superset/blob/master/INTHEWILD.md).
[on this page in GitHub](https://github.com/apache/superset/blob/master/INTHEWILD.md).

View File

@ -15,4 +15,4 @@ You can find the approximate public roadmap for Superset [here](https://github.c
Keep in mind that the roadmap represents only a subset of what's
ahead. Many contributions come directly without ever making it onto the roadmap.
Find out more about how the roadmap is managed in
[SIP (Superset Improvement Proposal) 53](https://github.com/apache/incubator-superset/issues/10894)
[SIP (Superset Improvement Proposal) 53](https://github.com/apache/superset/issues/10894)

View File

@ -300,30 +300,30 @@ const Theme = () => {
<div className="github-section">
<span className="github-button">
<GitHubButton
href="https://github.com/apache/incubator-superset"
href="https://github.com/apache/superset"
data-size="large"
data-show-count="true"
aria-label="Star apache/incubator-superset on GitHub"
aria-label="Star apache/superset on GitHub"
>
Star
</GitHubButton>
</span>
<span className="github-button">
<GitHubButton
href="https://github.com/apache/incubator-superset/subscription"
href="https://github.com/apache/superset/subscription"
data-size="large"
data-show-count="true"
aria-label="Watch apache/incubator-superset on GitHub"
aria-label="Watch apache/superset on GitHub"
>
Watch
</GitHubButton>
</span>
<span className="github-button">
<GitHubButton
href="https://github.com/apache/incubator-superset/fork"
href="https://github.com/apache/superset/fork"
data-size="large"
data-show-count="true"
aria-label="Fork apache/incubator-superset on GitHub"
aria-label="Fork apache/superset on GitHub"
>
Fork
</GitHubButton>

View File

@ -42,15 +42,15 @@ const learningLinks = [
const installationLinks = [
[
'Official Apache releases',
'https://dist.apache.org/repos/dist/release/incubator/superset/',
'https://dist.apache.org/repos/dist/release/superset/',
],
[
'Locally with Docker',
'https://superset.incubator.apache.org/installation.html#start-with-docker',
'https://superset.apache.org/installation.html#start-with-docker',
],
[
'Superset on the Python Package Index (PyPI)',
'https://dist.apache.org/repos/dist/release/incubator/superset/',
'https://dist.apache.org/repos/dist/release/superset/',
],
[
'Install on CentOS',

View File

@ -19,7 +19,7 @@ name = Superset
summary = a data exploration platform
description-file = README.md
author = Apache Superset Dev
author-email = dev@superset.incubator.apache.org
author-email = dev@superset.apache.org
license = Apache License, Version 2.0
[files]

View File

@ -146,9 +146,9 @@ setup(
},
python_requires="~=3.7",
author="Apache Software Foundation",
author_email="dev@superset.incubator.apache.org",
author_email="dev@superset.apache.org",
url="https://superset.apache.org/",
download_url="https://www.apache.org/dist/incubator/superset/" + version_string,
download_url="https://www.apache.org/dist/superset/" + version_string,
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",

View File

@ -31,7 +31,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache/incubator-superset.git"
"url": "git+https://github.com/apache/superset.git"
},
"keywords": [
"big",
@ -47,7 +47,7 @@
],
"author": "Apache",
"bugs": {
"url": "https://github.com/apache/incubator-superset/issues"
"url": "https://github.com/apache/superset/issues"
},
"browserslist": [
"last 3 chrome versions",

View File

@ -78,7 +78,7 @@ const TARGETS = {
const HREFS = {
label: 'HREF',
options: {
Superset: 'http://https://superset.incubator.apache.org/',
Superset: 'http://https://superset.apache.org/',
None: null,
},
defaultValue: null,

View File

@ -315,9 +315,9 @@ export default class Chart extends React.Component {
{/*
This usage of dangerouslySetInnerHTML is safe since it is being used to render
markdown that is sanitized with bleach. See:
https://github.com/apache/incubator-superset/pull/4390
https://github.com/apache/superset/pull/4390
and
https://github.com/apache/incubator-superset/commit/b6fcc22d5a2cb7a5e92599ed5795a0169385a825
https://github.com/apache/superset/commit/b6fcc22d5a2cb7a5e92599ed5795a0169385a825
*/}
{isExpanded && slice.description_markeddown && (
<div

View File

@ -23,7 +23,7 @@ import componentTypes from 'src/dashboard/util/componentTypes';
export type ChartReducerInitialState = typeof chart;
// chart query built from initialState
// Ref: https://github.com/apache/incubator-superset/blob/dcac860f3e5528ecbc39e58f045c7388adb5c3d0/superset-frontend/src/dashboard/reducers/getInitialState.js#L120
// Ref: https://github.com/apache/superset/blob/dcac860f3e5528ecbc39e58f045c7388adb5c3d0/superset-frontend/src/dashboard/reducers/getInitialState.js#L120
export interface ChartQueryPayload extends Partial<ChartReducerInitialState> {
formData: ChartProps['formData'];
form_data?: ChartProps['rawFormData'];

View File

@ -24,7 +24,7 @@ import { addWarningToast } from 'src/messageToasts/actions';
/**
* @remark
* same as https://github.com/apache/incubator-superset/blob/c53bc4ddf9808a8bb6916bbe3cb31935d33a2420/superset-frontend/stylesheets/less/variables.less#L34
* same as https://github.com/apache/superset/blob/c53bc4ddf9808a8bb6916bbe3cb31935d33a2420/superset-frontend/stylesheets/less/variables.less#L34
*/
const GRAY_BACKGROUND_COLOR = '#F5F5F5';

View File

@ -320,7 +320,7 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = {
"SQLLAB_BACKEND_PERSISTENCE": False,
"LISTVIEWS_DEFAULT_CARD_VIEW": False,
# Enables the replacement React views for all the FAB views (list, edit, show) with
# designs introduced in https://github.com/apache/incubator-superset/issues/8976
# designs introduced in https://github.com/apache/superset/issues/8976
# (SIP-34). This is a work in progress so not all features available in FAB have
# been implemented.
"ENABLE_REACT_CRUD_VIEWS": True,

View File

@ -158,7 +158,7 @@ class AlertLog(Model):
# TODO: Currently SQLObservation table will constantly grow with no limit,
# add some retention restriction or more to a more scalable db e.g.
# https://github.com/apache/incubator-superset/blob/master/superset/utils/log.py#L32
# https://github.com/apache/superset/blob/master/superset/utils/log.py#L32
class SQLObservation(Model): # pylint: disable=too-few-public-methods
"""Keeps track of the collected observations for alerts."""

View File

@ -175,7 +175,7 @@ class Database(
return self.db_engine_spec.get_function_names(self)
except Exception as ex: # pylint: disable=broad-except
# function_names property is used in bulk APIs and should not hard crash
# more info in: https://github.com/apache/incubator-superset/issues/9678
# more info in: https://github.com/apache/superset/issues/9678
logger.error(
"Failed to fetch database function names with error: %s", str(ex)
)

View File

@ -29,7 +29,7 @@ logger = logging.getLogger("tasks.email_reports")
# Session needs to be passed along in the celery workers and db.session cannot be used.
# For more info see: https://github.com/apache/incubator-superset/issues/10530
# For more info see: https://github.com/apache/superset/issues/10530
def observe(alert_id: int, session: Session) -> Optional[str]:
"""Collect observations for the alert.
Returns an error message if the observer value was not valid

View File

@ -536,7 +536,7 @@ def schedule_email_report(
name="alerts.run_query",
bind=True,
soft_time_limit=config["EMAIL_ASYNC_TIME_LIMIT_SEC"],
# TODO: find cause of https://github.com/apache/incubator-superset/issues/10530
# TODO: find cause of https://github.com/apache/superset/issues/10530
# and remove retry
autoretry_for=(NoSuchColumnError, ResourceClosedError,),
retry_kwargs={"max_retries": 5},

View File

@ -27,7 +27,7 @@ from superset import app, db
logger = logging.getLogger(__name__)
# Null pool is used for the celery workers due process forking side effects.
# For more info see: https://github.com/apache/incubator-superset/issues/10530
# For more info see: https://github.com/apache/superset/issues/10530
@contextmanager
def session_scope(nullpool: bool) -> Iterator[Session]:
"""Provide a transactional scope around a series of operations."""

View File

@ -276,7 +276,7 @@ class TimeRangeEndpoint(str, Enum):
[start, end] the filter may behave like (start, end] due to mixed data types and
lexicographical ordering.
:see: https://github.com/apache/incubator-superset/issues/6360
:see: https://github.com/apache/superset/issues/6360
"""
EXCLUSIVE = "exclusive"

View File

@ -1069,7 +1069,7 @@ class TestDatasetApi(SupersetTestCase):
"""
birth_names_dataset = self.get_birth_names_dataset()
# TODO: fix test for presto
# debug with dump: https://github.com/apache/incubator-superset/runs/1092546855
# debug with dump: https://github.com/apache/superset/runs/1092546855
if birth_names_dataset.database.backend in {"presto", "hive"}:
return
@ -1131,7 +1131,7 @@ class TestDatasetApi(SupersetTestCase):
"""
birth_names_dataset = self.get_birth_names_dataset()
# TODO: fix test for presto
# debug with dump: https://github.com/apache/incubator-superset/runs/1092546855
# debug with dump: https://github.com/apache/superset/runs/1092546855
if birth_names_dataset.database.backend in {"presto", "hive"}:
return