1. 04 7月, 2019 1 次提交
    • M
      Improvements related to ASF release process (#7539) · 5c7a50c1
      Maxime Beauchemin 提交于
      * [WiP] Improvements related to ASF release process
      
      * Removing translation binaries (.mo)
      * Working on 2 docker files to help package and validate releases
        * Dockerfile.from_tarball: takes a VERSION as input, downloads
          official source release fro svn and bakes it into a functional
          docker image that can be validated
        * Dockerfile.make_tarball: helps a maintainer to package and sign a
          release candidate or release
      
      * Address COPYRIGHT + LICENSE issues
      
      (cherry picked from commit 5ae2836b)
      
      * Add Roboto font to LICENSE, remove glyphicons files
      
      (cherry picked from commit 9615f39f7a556afe217b4e3288c9116f8ffaab91)
      
      * remove unused LICENSE entries
      
      * Change babytux to open image in birth dashboard
      
      (cherry picked from commit 2776d11893596a029b8af37b96fd6ce1a9f12059)
      
      * Improve instructions
      
      * Docker tweaks
      
      (cherry picked from commit df6e6462458ea8cff1482c142921b20f5607ad8e)
      
      * Include image
      5c7a50c1
  2. 26 6月, 2019 1 次提交
  3. 14 6月, 2019 1 次提交
  4. 10 6月, 2019 1 次提交
  5. 07 6月, 2019 1 次提交
  6. 21 5月, 2019 1 次提交
    • R
      Rjurney master docs update (#7426) · 023faf3b
      Russell Jurney 提交于
      * resolved conflict
      
      * Docs updated re: Anaconda/certifi issue re #7373
      
      * Removed --console-log "not working" note
      
      * A note about Anaconda virtualenvs
      
      * Make anaconda comment fit on page
      
      * Added README to docker directory
      
      * Added install doc reference to master copy of contrib/docker/README.md
      
      * merged master, removed mysqlclient
      
      * Removed mysql dependency, Anaconda and --console-log references
      
      * Add cypress install command to cypress test instructions
      
      * Fixed cypress instructions re: port 8081
      
      * Removed anaconda reference, runserver references
      
      * Remove anaconda reference
      
      * Added back a self-contained version of mysqlclient to dev requirements
      
      * Added ASF license to docker README.md
      023faf3b
  7. 09 5月, 2019 1 次提交
  8. 02 5月, 2019 1 次提交
  9. 19 4月, 2019 1 次提交
    • M
      Fix control validation handling (#7231) · 97718dae
      Maxime Beauchemin 提交于
      Fixes a series of unexpected things around control validation.
      
      * when a chart opens in a state where a control is invalid, it still
        runs the query, and sometimes gets stuck in what appears to be a 'running'
        state. After this change, no query is run, and a warning is displayed
        in the chart panel body, just like any other error would
      * validation used to be done in the <Control> component and alter the
        redux store as it went. Clearly this is not the right approach, now
        validation occurs on loading the initial redux state, as well as in
        the reducer when controls are changed
      * currently, when going from a invalid control state to a valid one
        (user addresses what is needed), it auto-triggers a query which can be
        unexpected. After this change, the error message disappears, and the
        "Run Query" overlay gets displayed
      * when changing viz type, it's common to get new validation
        errors, and currently when that occurs it will still go ahead and run
        a query with invalid inputs, which often results in errors
        that are not well handled, since much of the logic
        assumes control-validated input.
      * prettier control validation messages
      
      (cherry picked from commit a3212eba5df95bca834d8d6d98c11d522d9172f3)
      97718dae
  10. 10 4月, 2019 1 次提交
  11. 27 3月, 2019 1 次提交
  12. 25 3月, 2019 1 次提交
  13. 18 3月, 2019 1 次提交
  14. 31 1月, 2019 1 次提交
    • C
      Merge default feature flags and user defined feature flags · b70a9ae5
      Christine Chambers 提交于
      - Rename the default feature flags key in `config.py` to DEFAULT_FEATURE_FLAGS
      - Merge default feature flags with user defined ones allowing the latter to overwrite the former
      - Expose feature_flags for both server and client to use
      - Add a utility method for checking whether a feature flag is on on server side
      b70a9ae5
  15. 29 1月, 2019 1 次提交
  16. 19 1月, 2019 1 次提交
  17. 15 1月, 2019 2 次提交
  18. 22 12月, 2018 1 次提交
    • M
      [SIP-14] remove dependency on yarn in favor of npm (#6541) · 60ccf3eb
      Maxime Beauchemin 提交于
      * [SIP-14] remove dependency on yarn in favor of npm
      
      Find more details here
      https://github.com/apache/incubator-superset/issues/6217
      
      * Add core-js to dev deps
      
      * lint
      
      * fix cypress
      
      * break down cypress_build.sh
      
      * fix cypress
      
      * Use 'npm ci' in place of 'npm install'
      
      * Bump npm req to >=6.5.0
      
      * Enforcing  npm@'>=6.5.0'
      
      * Using latest lts of nvm
      
      * Make cache settings global
      
      * remove uneeded 'npm run test' as 'npm run cover' takes care of that
      
      * Prefix with 'time'
      
      * Trying to upgrade babel-eslint instead of downgrading
      
      * upgrading babel-polyfill to '@babel/polyfill'
      
      * Moving to babel 7
      
      * remove unused packages
      60ccf3eb
  19. 18 12月, 2018 1 次提交
  20. 12 12月, 2018 1 次提交
  21. 28 11月, 2018 2 次提交
  22. 27 11月, 2018 1 次提交
  23. 02 11月, 2018 1 次提交
  24. 01 11月, 2018 1 次提交
  25. 31 10月, 2018 1 次提交
    • K
      Integrate translation module @superset-ui/translation (#6222) · 1473e2cc
      Krist Wongsuphasawat 提交于
      * add translation modules
      
      * Update package.json
      
      * Update instructions in CONTRIBUTING
      
      * Remove old files
      
      * Add new entry point "translation"
      
      * Change imports
      
      * move setupTranslation code
      
      * remove translation from entry
      
      * Update python template
      
      * Refactor utils into smaller, independent files
      
      * Define preamble
      
      * working state
      
      * combine toggleCheckbox with setupApp
      
      * move code block out of document.ready
      
      * move setupClient to preamble
      
      * fix unit tests
      
      * update package version
      
      * delete deletion code
      1473e2cc
  26. 24 10月, 2018 1 次提交
    • C
      [SIP-9] Introduce TypeScript (#6120) · 5f1eaa49
      Christine Chambers 提交于
      * [SIP-9] Introduce TypeScript
      
      - Introduce TypeScript and co to both source and tests
      - Define alias for src directory in both webpack config and jest config so we can avoid using long relative paths like ../../src in both source and tests
      - Type check feature flags system to prevent typos of flag names
      - Change the feature flags system and the flags on window instead of populating them through the state tree. When introducing the first SCOPED_FILTER feature flag, it became too difficult to pipe the flags through the state initializers and layers of components and containers (the resulting code is hard to read and has a handful of methods taking an additional feature flag map parameter). Given that feature flags don't change throughout the life time of the app, it is better to leave them on window for easy access than piping them through the global state tree, which is meant to store the state of the app which changes frequently.
      - Add a barebone filter panel that only shows when the SCOPED_FILTER feature flag is on
      
      * Remove unnecessary dev-dependency on gl
      
      * - Adding linting for TypeScript files via tslint.
      - Fixing linting for Javascript files importing Typscript files
      - Also fix linting for Javascript files that now leverage the webpack alias for the src directory
      
      - up Typescript and type def versions
      
      * Rename src directory's webpack alias from @ to src to be more explicit.
      5f1eaa49
  27. 16 10月, 2018 1 次提交
    • C
      [refactor] Migrate from Mocha+Chai to Jest (#6079) · 9029701f
      Christine Chambers 提交于
      * [refactor] Migrate from Mocha+Chai to Jest
      
      This change migrates all the existing unit tests
      - to Jest's global expect and matchers from chai's imported expect, asserts and matchers.
      - to Jest's describe/test from mocha's describe/it
      
      The majority of the mechanical changes to tests are achieved through running jest-codemods. The only two note-worthy manual tweaks:
      1. Setting a testURL of http://localhost in jest config and adjusting a few tests to leverage this value instead of relying on about:blank.
      2. Re-enabling ExploreChartPanel_spec which was previously commented out as we cannot have empty tests with nothing in it with Jest. :)
      
      This change also removes dependencies to Mocha and Chai.
      
      * Remove the test:one command as it now does the same thing as test.
      
      * Fixing lint errors. The diff looks large but is large done through `yarn run lint --fix`
      
      The only noteworthy change is the one in eslintrc for tests. The env has been updated from mocha to jest.
      
      * Adding eslint-plugin-jest and further modify tests.
      
      - One small fix in sqllab's Timer Spec for a test that is not using the spy it created for testing.
      - Deletion of a duplicated test caught by eslint-plugin-jest.
      
      * - Make istanbul coverage work with Jest.
      
      - Remove dependency on stand-alone istanbul and babel-istanbul as they're built-into jest. Yes!
      
      * Attempt to fix dynamic imports in tests.
      
      * run sequentially and log heap usage
      
      * - tweaking maxworkers for travis and specifying coverageDirectory for codecov
      
      - remove dynamic import in shim.js now that it is set in babelrc for tests only.
      9029701f
  28. 14 10月, 2018 1 次提交
  29. 10 10月, 2018 1 次提交
  30. 09 10月, 2018 1 次提交
    • J
      Allow user to force refresh metadata (#5933) · 712c1aa7
      Junda Yang 提交于
      * Allow user to force refresh metadata
      
      * fix javascript test error
      
      * nit
      
      * fix styling
      
      * allow custom cache timeout configuration on any database
      
      * minor improvement
      
      * nit
      
      * fix test
      
      * nit
      
      * preserve the old endpoint
      712c1aa7
  31. 20 9月, 2018 1 次提交
    • A
      Clean up CONTRIBUTING.md: (#5911) · 549328f8
      Alek Storm 提交于
      - Reorganize sections for better navigability
      - Add table of contents
      - Rework frontend assets section for clarity and DRY
      - Rework translating section for clarity, add "Add Translations" contribution type
      - Move release docs only useful for maintainers to RELEASING.md
      - Other miscellaneous improvements
      549328f8
  32. 19 9月, 2018 1 次提交
  33. 13 9月, 2018 1 次提交
  34. 08 9月, 2018 1 次提交
  35. 05 9月, 2018 1 次提交
    • K
      Configure webpack-dev-server (#5786) · eb41756e
      Krist Wongsuphasawat 提交于
      * setup devserver with correct proxy
      
      * dev server wroking with written manifest
      
      * add comments
      
      * Change webpack to default port 9000 and minor js formatting
      
      * Use hash in development.
      
      * write to disk = true
      
      * Take ports as argument for dev-server
      
      * update instructions
      
      * update instructions
      
      * add devtools
      
      * use mode instead of NODE_ENV
      
      * use minicssextract for prod (like before)
      
      * remove empty line
      eb41756e
  36. 26 8月, 2018 1 次提交
  37. 20 8月, 2018 1 次提交
  38. 08 8月, 2018 1 次提交