-
[1.1] Fix yarn build docs and update test (#844)
Anan - Tue, 5 Oct 2021 12:55:30 -0700
yarn build flags in /src/dev/build/cli.ts are not updated to match the renamed flags in de-couple PR (#795). This PR fixes the issue and update the tests. Also modify words in DEVELOPER_GUIDE.md.
PR resolved: opensearch-project#836
Backport PR:
opensearch-project#840Signed-off-by: Anan Zhuang <[email protected]>
-
[1.1] Ensure DCO Workflow Check (#846)
Anan - Tue, 5 Oct 2021 12:55:08 -0700
Issue Resolved:
opensearch-project#834Backport PR:
opensearch-project#841Signed-off-by: Anan Zhuang <[email protected]>
-
[1.1] De-Couple Dashboards linux building process (#843)
Anan - Tue, 5 Oct 2021 11:44:48 -0700
When running yarn build --skip-os-packages it will build 4 tarballs for Dashboards (2x linux, 1x macOS, 1x windows) and takes 10+min to do so.
In this PR, we break the building process to allow single linux to build. If run
yarn build-platform --linux-x64
only linux x64 tarball is created. Same for linux arm64 and darwin x64. You could runyarn build-platform --linux-arm64
andyarn build-platform darwin-x64
.partially solved:
opensearch-project#473backport PR:
opensearch-project#795Signed-off-by: Anan Zhuang <[email protected]>
-
[1.1][Bug] Restore timeline legacy functions and filters
Kawika Avilla - Tue, 28 Sep 2021 12:38:11 -0700
While renaming we changed values from legacy naming schema to OpenSearch Dashboards naming schema. However, after realizing we impacted backwards compatibility, we restored some of the "under the hood" components backed to legacy application to allow for seemless migration.
However, upon attempting to restore Timeline to work with saved objects we neglected to restore the Timeline functions.
Previously users could set kibana=false to ignore filters on the dashboards being applied to their Timeline visualizations. Now, if users tried to set it then it would fail because it didn't know what that function was.
This commit fixes this issue by keeping the update since we do not want to impact people who have now updated their functions and re-added the legacy functions.
In this commit, I also restore the aliases for "elasticsearch" and now included "opensearch" for Timeline queries.
Finally, the key was incorrect for actually accessing the filter so it never applied the filters in the default state.
Issue resolved: opensearch-project#820
Backport PR: opensearch-project#825
Signed-off-by: Kawika Avilla <[email protected]>
-
[1.1] Update release notes for 1.1 release (#822)
Anan - Mon, 27 Sep 2021 11:07:07 -0500
Backport PR: opensearch-project#821
Signed-off-by: Anan Zhuang <[email protected]>
-
Bump prismjs from 1.24.0 to 1.25.0 (#805) (#817)
Tommy Markley - Fri, 24 Sep 2021 15:46:06 -0500
Bumps prismjs from 1.24.0 to 1.25.0.
updated-dependencies:
- dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
-
Bump tmpl from 1.0.4 to 1.0.5 (#807) (#819)
Tommy Markley - Fri, 24 Sep 2021 15:45:18 -0500
Bumps tmpl from 1.0.4 to 1.0.5.
updated-dependencies:
- dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
-
Revert "[1.1] Upgrade
immer
from 8.0.1 to 9.0.6 (#788)" (#813)Tommy Markley - Fri, 24 Sep 2021 15:13:59 -0500
This reverts commit 9f57b182e159e23838fa04ae85e141d6bd518a2f. This introduces breaking changes; it will need to wait for 2.0. Signed-off-by: Tommy Markley <[email protected]>
-
Bump
axios
from 0.21.1 to 0.21.4 (#779)Tommy Markley - Fri, 10 Sep 2021 08:35:07 -0700
Addresses https://github.com/advisories/GHSA-cph5-m8f7-6c5x Bumps axios from 0.21.1 to 0.21.4
- Release notes
- Changelog
- Commits Signed-off-by: Tommy Markley <[email protected]>
-
Upgrade
immer
from 8.0.1 to 9.0.6 (#780)Tommy Markley - Fri, 10 Sep 2021 08:32:48 -0700
Addresses:
- https://github.com/advisories/GHSA-c36v-fmgq-m8hx
- https://github.com/advisories/GHSA-33f9-j839-rf8h Upgrades immer from 8.0.1 to 9.0.6
- Release notes
- Commits Signed-off-by: Tommy Markley <[email protected]>
-
Update TESTING.md (#770)
Bishoy Boktor - Wed, 8 Sep 2021 12:00:31 -0700
Signed-off-by: Bishoy Boktor <[email protected]>
-
Correct copyright notices in README (#712)
Tommy Markley - Tue, 7 Sep 2021 13:20:44 -0500
Resolves opensearch-project#711
Signed-off-by: Tommy Markley <[email protected]>
-
Bump
tar
from 6.1.6 to 6.1.11 (#762)Tommy Markley - Thu, 2 Sep 2021 13:48:15 -0500
Addresses https://github.com/advisories/GHSA-5955-9wpr-37jh Bumps tar from 6.1.6 to 6.1.11.
- Release notes
- Changelog
- Commits Signed-off-by: Tommy Markley <[email protected]>
-
Upgrade
tar
from 4.4.13/6.0.2 to 6.1.6 (#704)Tommy Markley - Wed, 1 Sep 2021 13:51:36 -0500
Addresses https://github.com/advisories/GHSA-3jfq-g458-7qm9 Requires tar 6.1.6 - upgrade from 4.4.13 and 6.0.2
- Release notes
- Changelog
- Commits There are no breaking changes from 4.4 to 6.0, so I chose to upgrade instead of bumping each of the minor versions. Signed-off-by: Tommy Markley <[email protected]>
-
Bump jszip from 3.3.0 to 3.7.1 (#728)
dependabot[bot] - Wed, 1 Sep 2021 13:43:19 -0500
Bumps jszip from 3.3.0 to 3.7.1.
updated-dependencies:
- dependency-name: jszip dependency-type: indirect
Signed-off-by: dependabot[bot] <[email protected]>
-
Bump url-parse from 1.5.1 to 1.5.3 (#727)
dependabot[bot] - Wed, 1 Sep 2021 13:42:29 -0500
Bumps url-parse from 1.5.1 to 1.5.3.
updated-dependencies:
- dependency-name: url-parse dependency-type: indirect
Signed-off-by: dependabot[bot] <[email protected]>
-
[Build] use saved legacy config for 1.x (#743)
Kawika Avilla - Tue, 31 Aug 2021 15:29:23 -0700
An original update to enable taking settings from a valid legacy version and applying to current OpenSearch Dashboards was made here: opensearch-project#485 However, it explicitly checked for current version being 1.0.0, which is too strict because ideally all versions of 1.x is compatible. This makes the config check more relaxed and will taking settings from a legacy version if the current version is 1.x.
Issue resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
[Purify] Remove deprecation message in batchSearches settings (#735)
Kawika Avilla - Mon, 30 Aug 2021 21:33:29 -0700
Remove deprecation message from batchSearches in advanced settings. It referenced OpenSearch Dashboards 8.0, which is just from the legacy application. No plan to deprecate yet.
Issue resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
[Build] build:types and uiFramework run successfully (#734)
Kawika Avilla - Mon, 30 Aug 2021 21:33:03 -0700
Allowing for the following builds to complete successfully:
yarn build:types
yarn uiFramework:build
yarn uiFramework:start
Not positive about the expected results when running uiFramework:start but it seems to be on par with the legacy 7.10.2 version.
Issue resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
[Docs] Update doc refs from beta to prod (#733)
Kawika Avilla - Thu, 26 Aug 2021 19:51:39 -0700
Updating references to the doc site from docs-beta.opensearch.org to the production site of opensearch.org/docs. Did not remove the TODOs because we do not have replacements for the content yet.
Issue partially resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
[Build] Dashboards working with legacy engines 7.10.2 (#724)
Kawika Avilla - Mon, 23 Aug 2021 18:12:26 -0700
Enables the version check to work specifically in the case of OSD 1.X and legacy 7.10.2. This will avoid conflicts in future versions of the application where Dashboards is not compatible with the Engines on version differences. Testing for verifying compatible legacy version.
Issues resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
docs(docker): add .dockerignore, add build instructions (#299)
Denys Vitali - Sat, 21 Aug 2021 22:51:11 -0500
Signed-off-by: Denys Vitali <[email protected]>
-
[Build] Version bump for 1.1 release (#722)
Kawika Avilla - Wed, 18 Aug 2021 15:10:59 -0700
Bumps the minor to 1.1 for the 1.0 release.Needed to modify the artifact.js file to the newly formatted artifact URL so that tests work out of the box.
Issue resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
[Docs] Improve the getting started section of the developer guide (#710)
Rémi Weislinger - Wed, 18 Aug 2021 15:06:34 -0700
- Add more detailed explanations to setup a dev environment
- Recommend the docker version of OpenSearch as the default backend
- Improve the UI of the guide with a new header
- Remove the nvm installation section, and link to its docs instead
Signed-off-by: closingin <[email protected]>
-
[Docs] Added SECURITY.md (#715)
Kawika Avilla - Wed, 18 Aug 2021 14:57:30 -0700
Adding SECURITY.md as it is defined in the README. Will inform developers how to report security issues.
Issue resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
[Docs] Added TESTING.md (#713)
Kawika Avilla - Thu, 12 Aug 2021 11:02:26 -0700
Adding TESTING.md to the project as referenced in the README. The content is some general information about testing and should not be considered exhaustive.
Issue resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
[Bug] remove tutorials from router temporarily (#675)
Kawika Avilla - Wed, 4 Aug 2021 16:27:21 -0700
We removed the ability to access the tutorials page because we do not have replacement for the links provided by the tutorials.However, users could directly navigate to those pages if they typed into the browser or had a bookmark. This removes those routes from the router.
Issues resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
Bump
ws
from 7.3.1 to 7.5.3 (#699)Tommy Markley - Wed, 4 Aug 2021 14:48:05 -0500
Addresses https://github.com/advisories/GHSA-6fc8-4gx4-v693 Bumps ws from 7.3.1 to 7.5.3
Signed-off-by: Tommy Markley <[email protected]>
-
Bump
postcss
from 7.0.32 to 7.0.36 (#698)Tommy Markley - Wed, 4 Aug 2021 14:47:38 -0500
Addresses https://github.com/advisories/GHSA-hwj9-h5mp-3pm3 Bumps postcss from 7.0.32 to 7.0.36
Signed-off-by: Tommy Markley <[email protected]>
-
Update FieldEditor test snapshots (#691)
Tommy Markley - Wed, 4 Aug 2021 14:47:10 -0500
Previous PR #674 did not include updated snapshots.Related to opensearch-project#673
Signed-off-by: Tommy Markley <[email protected]>
-
Add Getting Started section to the Developer Guide (#685)
Tommy Markley - Tue, 3 Aug 2021 12:18:07 -0500
- Add development environment setup link to Welcome section of the README.
- Remove broken Admin Responsibilities link from the README.
Resolves opensearch-project#666
Signed-off-by: Tommy Markley <[email protected]>
-
[BUG] fix CODE_OF_CONDUCT link in README.md (#676) (#677)
Sagar Rout - Wed, 28 Jul 2021 13:19:37 -0700
Add CODE_OF_CONDUCT file, Copy CODE_OF_CONDUCT file from https://github.com/opensearch-project/OpenSearch repository.
Signed-off-by: Sagar Rout <[email protected]>
-
[Test] Fix console warning in field_editor.test.tsx (#674)
Anan - Wed, 28 Jul 2021 11:15:42 -0700
Currently, unit test field_editor.test.tsx shows a console warning:
React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
This warning is because EuiCodeEditor is missing in the mock of elastic/eui, which causes undefined EuiCodeEditor in the test.
PR Resolved:
Signed-off-by: Anan Zhuang <[email protected]>
-
[Test] Fix console error in search_service.test.ts (#595)
Anan - Mon, 26 Jul 2021 08:33:16 -0700
Run unit test suite search_service.test.ts has a console error:
UnhandledPromiseRejectionWarning: TypeError: Cannot read aggs property of undefined
This is caused by a missing promise result check in the setup fun in search_service.ts. If the promise result is empty (or null/undefined), then any properties of the empty result is undefined. In our case,
aggs
inif (value.search.aggs.shardDelay.enabled)
is undefined. In this PR, we fixed this issue by adding a value check in setup fun.Issues resolved:
Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] fix timeline icon in Visualize list (#659)
Kawika Avilla - Mon, 26 Jul 2021 08:24:01 -0700
Icon was not loading in the Visualize list because it was referencing a non-existant icon. Other parts of the code loads the icon correctly, so updated the icon to an existing icon.
Issues resolved:
Signed-off-by: Kawika Avilla <[email protected]>
-
Update MAINTAINERS.md (#600)
Andrew Hopp - Fri, 23 Jul 2021 12:41:53 -0500
- Add path to .github maintainer doc
- Add path to CONTRIBUTING.md
Signed-off-by: Tommy Markley <[email protected]> Co-authored-by: Tommy Markley <[email protected]>
-
Update CONTRIBUTING.md (#598)
Andrew Hopp - Fri, 23 Jul 2021 12:41:10 -0500
- Move ToC to top to match the OpenSearch repo
- Minor formatting changes
- Remove reference to pre-alpha state
- Add links for opening issues
- Remove "w00t!!!" from end of file
Signed-off-by: Tommy Markley <[email protected]> Co-authored-by: Tommy Markley <[email protected]>
-
Clean up README.md (#596)
Andrew Hopp - Fri, 23 Jul 2021 12:36:12 -0500
- Add darkmode logo
- Add a ToC and relevant sections
- Add Project Resources to replace how can you help", "running tests", "guiding principles", etc.
- Add CoC
- Add License
- Add Copyright
Signed-off-by: Tommy Markley <[email protected]> Co-authored-by: Andrew Hopp <[email protected]>
-
[Test] Wrap FunComponent in unit test with IntlProvider (#654)
Anan - Fri, 23 Jul 2021 09:01:00 -0700
In the FunctionComponent unit tests, we see many console errors:
Could not find required intl object. <IntlProvider> needs to exist in the component ancestry.
This is because for some unit tests, we mount the FunctionComponent (with Enzyme's mount()) , which access to the react-intl context byFormattedMessage without their <IntlProvider /> parent wrapper. This PR solves 7 out of 8 unit tests with this issue by wrapping the <IntlProvider /> either through original enzyme_helper functions or a simple wrapper wrapWithIntl.
Partically Resolved:
Signed-off-by: Anan Zhuang <[email protected]>
-
Increase filters popover size and use full width in form components (#352)
Gal Angel - Tue, 20 Jul 2021 10:33:10 -0700
-
use full width Signed-off-by: galangel <[email protected]>
-
Update width Signed-off-by: galangel <[email protected]>
-
observer
Signed-off-by: galangel <[email protected]>
-
-
[Purify] update general info in run_fpm (#644)
Kawika Avilla - Mon, 19 Jul 2021 09:41:35 -0700
Updating references from Elastic to OpenSearch for building and packaging. Originated from the error message from:
https://github.com/opensearch-project/OpenSearch-Dashboards/issues/601
Signed-off-by: Kawika Avilla <[email protected]>
-
[Tests] ARM64 artifacts for testing (#641)
Kawika Avilla - Tue, 13 Jul 2021 09:34:30 -0700
Removing the graceful failures for ARM64 snapshot testing and updating tests. Previously, snapshots for ARM64 were not available but now they are so this allows developers to run tests for that arch out of the box whereas before they had to set the snapshot manually.
Partially resolves:
Signed-off-by: Kawika Avilla <[email protected]>
-
[Bug] Replace kibana issue in /packages/osd-optimizer/README.md (#608)
Anan - Mon, 12 Jul 2021 14:37:36 -0700
/packages/osd-optimizer/README.md has a kibana issue reference. This PR replaces the kibana issue with an open discuss issue.
Partically Resolved:
Signed-off-by: Anan Zhuang <[email protected]>
-
[PURIFY] Remove certs and PKCS12 files temporarily (#616)
Kawika Avilla - Fri, 9 Jul 2021 11:42:06 -0700
Removed the generated keys from Elastic. Since we did not own those and do not have the private key for the cert authority then it will be safer. This should not have any impact on runtime, might impact security related to x-pack with demo certs but none of the certs where for production. Otherwise, this is strictly for testing.
To be clear, this can be emptied out because it is ONLY for demo and testing purposes. The demo security can be accomplished by using:
Eventually we should take the certs from that file and copy those over but will just ignore the tests for now.
Signed-off-by: Kawika Avilla <[email protected]>
-
[Bug] Remove license concepts in packages/osd-opensearch (#602)
Anan - Fri, 9 Jul 2021 11:31:04 -0700
Currenlty, /packages/osd-opensearch/README.md still have license concepts. This PR cleans the concepts. Partially Resolved:
Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] Fix broken links in packages/opensearch-safter-lodash-set (#607)
Anan - Fri, 9 Jul 2021 11:08:52 -0700
Both LICENSE and package.json in packages/opensearch-safter-lodash-set have broken links. This PR fixes links in these two files.
Partically Resolved:
Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] Clean elastic-eslint-config-kibana in packages/osd-pm/README.md (#611)
Anan - Fri, 9 Jul 2021 11:07:27 -0700
Currently, packages/osd-pm/README.md still mentions old package name. This PR replaces package name from elastic-eslint-config-kibana to opensearch-eslint-config-opensearch-dashboards. Meanwhile, there is a duplicate README.md in packages/osd-pm/src which is deleted. Partically Resolved:
opensearch-project#592 Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] Clean concepts in packages/osd-plugin-helpers/README.md (#610)
Anan - Fri, 9 Jul 2021 11:06:34 -0700
The versions in packages/osd-plugin-helpers/README.md are still 6.3 which should be updated to 1.0. Meanwhile, there are some old concepts, like checking versions, which should be cleaned. This PR fixes the versions and cleans out the old concepts. Partically Resolved:
opensearch-project#592 Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] Clean concepts in packages/osd-plugin-generator/README.md (#609)
Anan - Fri, 9 Jul 2021 11:05:41 -0700
The versions in packages/osd-plugin-generator/README.md are still 6.x which should be updated to 1.0. Meanwhile, there are some old concepts, like test using mocha, which should be cleaned. This PR fixes the versions and cleans out the old concepts. Partically Resolved:
opensearch-project#592 Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] Replace words in /packages/opensearch-datemath/readme.md (#606)
Anan - Fri, 9 Jul 2021 11:03:07 -0700
/packages/opensearch-datemath/readme.md still has old concepts. This PR replaces the word Kibana to OpenSearch Dashboards. Partically Resolved:
opensearch-project#592 Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] Fix broken links in opensearch-eslint-config-opensearch-dashboards (#605)
Anan - Fri, 9 Jul 2021 11:02:42 -0700
Both package.json and README.md in /packages/opensearch-eslint-config-opensearch-dashboards have some broken links or old concepts. This PR fixes these two files. Partically Resolved:
Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] Fix broken link in package.json (#604)
Anan - Fri, 9 Jul 2021 11:01:50 -0700
Package.json has a broken homepage link. This PR fixes this link. Partically Resolved:
opensearch-project#592 Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] Remove appKey in github-checks-reporter (#603)
Anan - Fri, 9 Jul 2021 11:01:14 -0700
github-checks-reporter is a task wrapper that provides expressive CI feedback via GitHub checks. Currently, we don’t have our own appKey. To avoid any confusions, this PR removed the old key. Partically Resolved:
opensearch-project#592 Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] remove incorrect reference in testing.md (#597)
Anan - Fri, 9 Jul 2021 10:58:58 -0700
There is a kibana closed issue reference under test "authenticated / non-authenticated user access". We removed the reference in this PR. Partially Resolved:
opensearch-project#592 Signed-off-by: Anan Zhuang <[email protected]>
-
[Bug] replace words in PRINCIPLES.md (#599)
Anan - Fri, 9 Jul 2021 09:17:55 -0700
Partially Resolved:
opensearch-project#592 Signed-off-by: Anan Zhuang <[email protected]>
-
Update readme for dashboards 1.0.0 (#579)
Anan - Fri, 2 Jul 2021 13:19:38 -0700
Update RC state to GA state Issues resolved:
opensearch-project#577 Signed-off-by: Anan Zhuang <[email protected]>