-
[Docs] update branch version to 1.3 (#1333)
Kawika Avilla - Tue, 8 Mar 2022 17:25:05 -0800
efs/remotes/upstream/1.3, refs/heads/1.3
branch
in the package.json is used for pointing links to the right site. For example:https://opensearch.org/docs/1.3/dashboards/index/
. NOTE: At the time this commit was made the doc site for1.3
, is not available. There is an existing issue here:opensearch-project/documentation-website#296 We can point this to
latest
but the problem with that is that we don't re-release versions. When the next major or minor release occurs thenlatest
will point to that version and now all OpenSearch Dashboards 1.3 downloads will point to the newest version. So to avoid that, I suggest we point this to1.3
and I got confirmation that it will be1.3
.Issue resolved: n/a
Signed-off-by: Kawika Avilla <[email protected]>
-
[CVE] Decode anchor ID in Discover (#1327) (#1332)
opensearch-trigger-bot[bot] - Tue, 8 Mar 2022 16:46:03 -0800
Potential way to prevent XSS from being injected into index pattern.
CVE link:
https://nvd.nist.gov/vuln/detail/CVE-2022-23707
Issue Resolved:
Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit b2979c81b47f70f625e1d4ae89337517599e9dc1)
Co-authored-by: Kawika Avilla <[email protected]>
-
[Branding] assets folder and SSL support (#1329) (#1331)
opensearch-trigger-bot[bot] - Tue, 8 Mar 2022 15:48:41 -0800
Adding
assets
folder that gets served up under UI for ease of us. SSL support when OpenSearch Dashboards SSL is enabled.Issue Resolved:
Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit 289ad243b888913059365068d8a90943297ba66e)
Co-authored-by: Kawika Avilla <[email protected]>
-
[Bug] Double quotes saved query bug (#1323) (#1326)
opensearch-trigger-bot[bot] - Tue, 8 Mar 2022 11:37:22 -0800
In Discover, when loading a saved query with double quotes, double quotes are gone and term query becomes match query.
To do a term query, we need to keep the quotes. When parsing a string with quotes, JSON.parse function will trim the quotes and return its value. For example, "Men's Shoes" is parsed to Men's Shoes. Then dashboards will break the term using its analyzer and search each word which causes the issue. Please check the comments in the resolved issue for more details.
To solve this, we added an isObject checker which filters a regular string from a json string. After we get the regular string, the query will use its original value and quotes are able to be kept. fix comments and modify commit message
Issue Resolved:
Signed-off-by: Anan Zhuang <[email protected]>
Signed-off-by: Anan <[email protected]>
(cherry picked from commit 1ecbd3abc819c55b6dd2a9f514b85871367725e8)
Co-authored-by: Anan <[email protected]>
-
[Plugins] update default url for installing plugins (#1316) (#1328)
opensearch-trigger-bot[bot] - Tue, 8 Mar 2022 11:37:08 -0800
Update old and invalid reference to custom plugins within the OpenSearch Project.
Note: At the time that this is committed there is no gurantee that the latest build is the build that was select as the final build.
Issue resolved:
Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit 9c82c521a32f9fcc1621783be34ecd9e594fe2c0)
Co-authored-by: Kawika Avilla <[email protected]>
-
[BUG] fix median.ts to work for scripted field (#1302) (#1325)
opensearch-trigger-bot[bot] - Tue, 8 Mar 2022 11:36:49 -0800
Fix PR comment to replace unused agg to _ remove write function
Issue Resolved:
Signed-off-by: Anan Zhuang <[email protected]>
Signed-off-by: Anan <[email protected]>
(cherry picked from commit 48eec833e240a634a3da7679ec7fcd208cf3e613)
Co-authored-by: Anan <[email protected]>
-
[1.x] Add option to configure available bucket agg types + jest tests (#1196) (#1309)
Kawika Avilla - Mon, 7 Mar 2022 14:37:54 -0800
- Add option to configure available bucket agg types + jest tests (#1196)
- Add option to configure available bucket agg types + jest tests
- Change key to disableBucketAgg
- Rephrase
- made description clearer, csv clarification
Signed-off-by: Royi Sitbon <[email protected]>
- [Tests] update disable bucket agg feature for tests (#1284)
Test failure introduced: #1196
Updating to handle the if that configuration is not found or if it is not an array.
Issue:
n/a
Signed-off-by: Kawika Avilla <[email protected]>
Co-authored-by: Royi Sitbon <[email protected]>
-
docs(Dev Guide): Updates how to run OpenSearch (#1265) (#1317)
opensearch-trigger-bot[bot] - Mon, 7 Mar 2022 14:37:35 -0800
- docs(Dev Guide): Updates how to run OpenSearch
- docs(Dev Guide): Updates copy to include warning.
- docs(Dev Guide): fixes typo
Signed-off-by: Ashwin P Chandran <[email protected]>
(cherry picked from commit efc7339f80191985b606c95305e9dbd934923a90)
Co-authored-by: Ashwin P Chandran <[email protected]>
-
[Build] Build ARM64 for deb and rpm (#1285) (#1305)
opensearch-trigger-bot[bot] - Wed, 2 Mar 2022 18:11:16 -0800
- [Build] Build ARM64 for deb and rpm Build ARM64 for deb with the following commands:
yarn build --deb-arm --skip-archives yarn build --deb-arm --skip-archives --release
Build ARM64 for rpm with the following commands:
yarn build --rpm-arm --skip-archives yarn build --rpm-arm --skip-archives --release
Issue partially resolved:
Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit 59410449da4c90eab617f2c86ec9181976c3d179)
Co-authored-by: Kawika Avilla <[email protected]>
-
Run build and test workflow on all branches (#1222) (#1271)
Tommy Markley - Tue, 22 Feb 2022 16:12:34 -0600
refs/remotes/tommy/1.x
- Skips feature branches
- Use the
.nvmrc
file for thenode
version instead of a hard-coded version.
Resolves #1023 Signed-off-by: Tommy Markley <[email protected]>
-
[CI] Add backport action for automated backports (#1233) (#1251)
opensearch-trigger-bot[bot] - Mon, 21 Feb 2022 14:03:58 -0600
Adding VachaShah/[email protected] for automating backport PRs and cleaning them up.
Issue:
Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit 5b314d2d1a348458802790f66dfcaf10f5d6bd64)
Co-authored-by: Kawika Avilla <[email protected]>
-
[1.x][Bug] fix incorrect import for opensearch aggs (#1192) (#1227)
Kawika Avilla - Wed, 9 Feb 2022 17:14:01 -0800
Incorrect import statement that was introduced here:
Verified other imports and the rest look fine.
Issue:
n/a
Backport PR:
Signed-off-by: Kawika Avilla <[email protected]>
-
Bumps
node-fetch
from v2.6.1 to v2.6.7 (#1169) (#1221)Tommy Markley - Tue, 8 Feb 2022 15:06:12 -0600
Resolves #1162
Signed-off-by: Tommy Markley <[email protected]>
-
[LIC] Allows the simplified header for new files (#936) (#1209)
Tommy Markley - Mon, 7 Feb 2022 12:55:30 -0600
Signed-off-by: Ashwin P Chandran <[email protected]>
-
Don't terminate the server on NodeDeprecationWarning (#1185) (#1210)
Bishoy Boktor - Fri, 4 Feb 2022 10:30:56 -0800
The last AWS SDK for Javascript that supports Node 10 (v3.45.0) emits a NodeDeprecationWarning to indicate that Node 10 is no longer supported. Without this workaround, this crashes the OSD server, so it becomes impossible to interact with other AWS services from within OSD (e.g., in a custom plugin) until the Node 14 upgrade is done.
Signed-off-by: Thilo-Alexander Ginkel <[email protected]>
Co-authored-by: Thilo-Alexander Ginkel <[email protected]>
-
[1.x][BUG] fix disableWelcomeScreen config (#1143) (#1170)
Kawika Avilla - Tue, 1 Feb 2022 10:26:45 -0800
disableWelcomeScreen was erroneously removed from being exposed to browser (for testing purposes) and was not able to pass the config to disable the welcome screen showing.
Issue:
Backport PR:
Signed-off-by: Kawika Avilla <[email protected]>
-
[1.x][Build] remove legacy version check for plugin builds
Kawika Avilla - Thu, 13 Jan 2022 02:32:53 -0800
Refs/remotes/hashworks/1.x, refs/remotes/RoyiSitbon/1.x Removes the SEMVAR check for external plugins. 7.9 is not relevant to the application.
The semvar library was also preventing major.minor.patch.x which is the format from OpenSearch plugins.
Related issue:
Backport PR:
Signed-off-by: Kawika Avilla <[email protected]>
-
[1.x][Docs] remove invalid reference in CONVENTIONS.md
Kawika Avilla - Thu, 13 Jan 2022 02:32:53 -0800
Removed missed reference in CONVENTIONS.md.
Issue related:
Backport PR:
Signed-off-by: Kawika Avilla <[email protected]>
-
[1.x][Backwards Compatibility] restore URL forwarding from legacy app
Kawika Avilla - Thu, 13 Jan 2022 02:32:53 -0800
Forwarding legacy app to the current format of the application. This enables the usage of stored URLs and other links that referenced the format of the application URL that mentioned the application name.
Since we changed the URL forwarding we changed this value and released. So incase forks were made and depended on this legacy formatted reference of the application. It will still work. There are also references of the application.
Issue resolved:
Backport PR:
Signed-off-by: Kawika Avilla <[email protected]>
-
[1.x][Map] Remove hardcoded AWS paths
Zuocheng Ding - Thu, 13 Jan 2022 02:32:53 -0800
Clean up temp aws paths in code base. Add a configurable flag
showRegionBlockedWarning
into map plugin level config file.Backport PR:
Signed-off-by: Zuocheng Ding <[email protected]>
-
[1.x][Branding] prevent logging when config not set
Kawika Avilla - Thu, 13 Jan 2022 02:32:53 -0800
Out of the box, the rendering service will check the config and see the default value and log an info message saying that the branding config is invalid or not set. Everytime you refresh the browser you will get those log messages.
This sets it to only log error messages if the user sets the branding config and it is invalid.
Include using default messages.
Backport PR:
Signed-off-by: Kawika Avilla <[email protected]>
-
[Link] Fix yarnpkg link error
Zuocheng Ding - Mon, 3 Jan 2022 23:05:08 -0800
Issue: https://yarnpkg.com/latest.msi is unavailable now and will be rerouted to a 404 page. Add it to link checker allow list to unblock the PR process.
Signed-off-by: Zuocheng Ding <[email protected]>
-
Fix Lychee Link Checker Error (#1011)
Zuocheng Ding - Mon, 3 Jan 2022 23:05:08 -0800
Signed-off-by: Zuocheng Ding <[email protected]>
-
Add Lychee Link Checker into OSD (#938)
Zuocheng Ding - Mon, 3 Jan 2022 23:05:08 -0800
- Fix broken links in OSD
- Generate lycheeexcude list to filter out false negative warnings from test files or external links
- Add TODO items for internal unavaiable links
- Integrate with doc link service change.
- Standardize all opensearch url with
https://opensearch.org/
and add unavilable urls into noDocument list
Signed-off-by: Zuocheng Ding <[email protected]>
-
Add versioned document support in OSD
Zuocheng Ding - Mon, 3 Jan 2022 23:05:08 -0800
This is PR is to add versioned document support in OSD. 1. Add logic to pick up doc version from package.json and convert it to
latest
if we are on defaultmain
branch. 2. Refactor doc_link_service to have 3 urls groups: opensearch, opensearchDashboards, and noDocumentation. 3. Update dynamic versioned doc links and clean up unused urls 4. Fix known url bug #769 5. Add unit tests for doclinks branch name conversionSigned-off-by: Zuocheng Ding <[email protected]>
-
[1.x][Version] Bump to 1.3.0
Kawika Avilla - Fri, 26 Nov 2021 22:55:07 -0800
refs/remotes/arbuzov/1.x Bump OpenSearch Dashboards from 1.2.0 to 1.3.0.
Signed-off-by: Kawika Avilla <[email protected]>