Commit Graph

8705 Commits

Author SHA1 Message Date
Krist Wongsuphasawat
7097a0e89f Merge pull request #19 from apache-superset/kristw--new-core
Add new core modules from incubator-superset
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
b9391d3c6b add badges 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
cc0411865d add license 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
a285b55b80 Merge pull request #18 from apache-superset/kristw--rename-core
rename core package to connection
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
68c8873370 Merge pull request #17 from apache-superset/kristw--readme
Update readme and remove unnecessary items from package.json
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
730d532087 v0.2.1 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
1b6bf6355f Update README.md
Add badges
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
4df2ca0148 Update README.md 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
d4eee73672 Update README.md 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
3594d09191 Merge pull request #16 from apache-superset/kristw--wran
Make the translation module less strict and won't crash the app if not configured.
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
267c7c063c v0.2.0 2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
d77f81d0b7 Merge pull request #15 from apache-superset/kristw--translation-num
Add tn / translateWithNumber
2021-11-26 11:44:31 +08:00
Chris Williams
282e719bb1 [build-config] move to monorepo root (#11)
* [build-config] move to monorepo root

* [lint-staged] testing

* [@babel/runtime] move to package level

* [build-config] update travis.yml for root build

* [lint] generate prettier config before linting

* [build-config] ^0.0.24

* [jest] add test:watch script

* [translation] remove package scripts

* [core] set author

* [core] add .eslintrc for root overrides

* [root] fix lint + prettier scripts

* [travis][jest] try --no-cache --debug

* [travis][jest] try running jest directly

* build-config@^0.0.25 to fix jest

* travis and test script to non-debug mode

* [travis] lerna bootstrap instead of installing 2x

* [npmrc] package-lock=false

* [travis] lerna bootstrap in script not install

* [travis] install and run tests per-package

* yarn workspaces are magical
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
fca5c4bf67 Merge pull request #14 from apache-superset/kristw--publishconf
update package.json to include publishConfig
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
524ea2df2c v0.1.0 2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
0981b6dc5b Merge pull request #13 from apache-superset/kristw--translator-lint
Fix lint issues in translation module
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
e2c83f92e9 Merge pull request #12 from apache-superset/kristw--translation
Add @superset-ui/translation
2021-11-26 11:44:31 +08:00
Chris Williams
e0c71f0188 v0.0.7 2021-11-26 11:44:31 +08:00
Chris Williams
d9cc46fd17 [SupersetClient] include csrfToken passed in configuration in headers (#10) 2021-11-26 11:44:31 +08:00
Chris Williams
1f2b4fe765 v0.0.6 2021-11-26 11:44:31 +08:00
Chris Williams
f0b02cdf21 [SupersetClient] allow csrf token to be passed as configuration (#9)
* [SupersetClient] allow csrf token to be passed as configuration

* [SupersetClient] update readme

* [build-config] ^0.0.20

* [SupersetClient] fix test.

* [build-config] ^0.0.21

* [build-config] ^0.0.22

* [build-config] ^0.0.23
2021-11-26 11:44:31 +08:00
Chris Williams
405dda57ac v0.0.5 2021-11-26 11:44:31 +08:00
Chris Williams
1bc6e79bb2 [core][client] mirror window.location.protocol format in config (#8) 2021-11-26 11:44:30 +08:00
Chris Williams
446914ed0d v0.0.4 2021-11-26 11:44:30 +08:00
Chris Williams
f5d62e3f33 [core] support empty CSRF token (#7)
* [core][deps] remove unused deps

* [core][test] add test for response.ok=false

* [core] support csrf_token=''

* [core][tests] move mock to sole function that uses it
2021-11-26 11:44:30 +08:00
Chris Williams
eabb10de4f v0.0.3 2021-11-26 11:44:30 +08:00
Chris Williams
fc471d6511 [core] add parseMethod (#5)
* [core] expose 'parseMethod' in SupersetClient and callApi for text responses

* [parseResponse][test] fix parseMethod test

* [monorepo] gitignore .npmrc

* [core][deps] @data-ui/build-config => ^0.0.14

* [monorepo] tweak npm scripts

* [core] clean up parseResponse

* [core] clean up parseResponse more

* [core] don't fallback to text parsing if response is supposed to be json, allow for null responseParser

* [core][tests] fix borken tests, return promises instead of calling done()
2021-11-26 11:44:30 +08:00
Chris Williams
d821d5c9b2 v0.0.2 2021-11-26 11:44:30 +08:00
Chris Williams
c3b28b8202 [core] add missing babel-runtime dep (#4) 2021-11-26 11:44:30 +08:00
Chris Williams
d50f0fdbcf v0.0.1 2021-11-26 11:44:30 +08:00
Chris Williams
39677afc8a [monorepo] add travis + codecov (#3)
* [monorepo] initial attempt at travis

* [monorepo] coveralls => codecov

* [monorepo] don't lerna bootstrap?

* [monorepo] ignore lock files, add lint:fix script

* [core] add node-fetch dev dep

* [monorepo] tweak codecov call

* [monorepo] tweak codecov call take ii

* [monorepo] codecov again

* [core][deps] build-config@^0.0.11

* [core][jest] add <rootDir> to coveragePathIgnorePatterns paths

* [core][jest] add collectCoverageFrom config

* [core][jest] try adding rootDir to collectCoverageFrom glob

* [core][deps] build-config@0.0.12

* [travis] yolo

* [travis] this is the one

* [travis] install global codecov

* [travis] no quotes in yml

* [travis] no quotes in yml part 2
2021-11-26 11:44:30 +08:00
Chris Williams
c4b946f965 Merge pull request #1 from apache-superset/chris--core-package
[SIP-4] add lerna monorepo and`@superset-ui/core` package with `SupersetClient`
2021-11-26 11:44:30 +08:00
Chris Williams
01bcbefac6 it's starting 2021-11-26 11:44:30 +08:00
Yongjie Zhao
41f551edfc feat: add monorepo config
update

update
2021-11-26 11:44:30 +08:00
Ville Brofeldt
7429282972
fix(lint): fix unnecessary type ignore (#17555) 2021-11-25 16:57:36 +02:00
aniaan
5a1c68177e
fix(elasticsearch): time_zone setting does not work for cast datetime expressions (#17048)
* fix(elasticsearch): cast does not take effect for time zone settings

* test(elasticsearch): add test

* fix(test): fix typo

* docs(elasticsearch): add annotation

* docs(elasticsearch): add time_zone desc

* docs(elasticsearch): fix typo

* refactor(db_engine): change convert_dttm signature

* fix(test): fix test

* fix(es): add try catch

* fix(test): fix caplog

* fix(test): fix typo
2021-11-25 11:58:44 +02:00
Daman Arora
cf3f0e5b55
chore: migrate DragHandle component from jsx to tsx (#17326)
* migrate DragHandle component from jsx to tsx

* Convert class based component to functional component
2021-11-25 11:18:56 +02:00
Kamil Gabryjelski
7353a2bd75
fix(explore): Metric control breaks when saved metric deleted from dataset (#17503) 2021-11-24 13:06:11 +01:00
Geido
83e49fc9ee
feat: Certify Charts and Dashboards (#17335)
* Certify charts

* Format

* Certify dashboards

* Format

* Refactor card certification

* Clear details when certified by empty

* Show certification in detail page

* Add RTL tests

* Test charts api

* Enhance integration tests

* Lint

* Fix dashboards count

* Format

* Handle empty value

* Handle empty slice

* Downgrade migration

* Indent

* Use alter

* Fix revision

* Fix revision
2021-11-24 13:42:52 +02:00
Ajay M
9576478a5d
feat(dashboard): Add divider component in native filters (#17410)
* Tests are working, type errors are fixed

* Fix filterset

* add license header to the new file

* fix test

* PR comments

* Linting

* test fix

* small fix
2021-11-23 16:13:56 -08:00
Corbin Robb
c216565190
Remove loading span, add empty-loading-bar css class, change empty loading rows length to 12, remove width logic on empty loading columns (#17515)
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2021-11-23 15:13:53 -08:00
Evan Rusackas
6d66963489
fix: hiding HiddenControl inputs for real, to reduce bootstrap space consumption (#15182)
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-23 15:08:24 -08:00
Michael S. Molina
76024313c6
fix: Dashboard access when DASHBOARD_RBAC is disabled (#17511)
* fix: Dashboard access when RBAC is disabled

* Sends 403 when forbidden

* Fixes issort

* Changes assertion

* Allow access to unpublished dashboards that don't have roles

* Fixes the test_get_dashboard_changed_on test
2021-11-23 11:45:32 -03:00
Daniel Vaz Gaspar
035cc34b44
chore: bump major on Pillow, optional dependency (#17521)
* chore: bump major on Pillow, optional dependency

* bump to 8.3.2

* Revert "bump to 8.3.2"

This reverts commit ce640acec8.

* bump to 8.3.2 now the right way
2021-11-23 13:51:29 +00:00
dependabot[bot]
bdc6a1d4e3
chore(deps-dev): bump @types/jquery in /superset-frontend (#17452)
Bumps [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery) from 3.3.32 to 3.5.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery)

---
updated-dependencies:
- dependency-name: "@types/jquery"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 13:47:37 +02:00
minho95
2fffff6f8d
chore: Slovak translation, enabling language and adding first translations (#14783)
* Slovak translation - enabling language and adding first translations

* Linting fixes

* Adding basic translations

* Slovak translation - adding json file

* JSON lint fix

* Prettier fix

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-23 13:47:22 +02:00
dependabot[bot]
5622531a2f
chore(deps-dev): bump eslint-import-resolver-webpack (#17453)
Bumps [eslint-import-resolver-webpack](https://github.com/import-js/eslint-plugin-import) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/resolvers/webpack/v0.13.1...resolvers/webpack/v0.13.2)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-webpack
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 12:59:03 +02:00
aniaan
c7a7865f46
docs(exploring-data): Add upload excel notes (#17502)
* docs(exploring-data): Add upload excel notes

* docs(exploring-data): Add upload Columnar file notes

* docs(exploring-data): fix typo
2021-11-23 12:54:59 +02:00
Ville Brofeldt
18c7aec985
chore: remove deprecated selects and deps (#17522) 2021-11-23 12:41:16 +02:00
David Regla
0f3b630454
fix: Bulk update Spanish translations (#16799)
* Bulk update Spanish translations

* Update Spanish translations

* Apply Spanish translations suggestions from code review

Co-authored-by: Diego M. Gómez <diegomgomez@gmail.com>

* convert json file

Co-authored-by: Diego M. Gómez <diegomgomez@gmail.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-23 12:10:26 +02:00