Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix quoting and url-encoding #153

Merged
merged 6 commits into from
Oct 7, 2021
Merged

Conversation

kroussou
Copy link
Contributor

@kroussou kroussou commented Sep 8, 2021

Description

[Describe what this change achieves]

Straightforward fix of quoting and url-encoding issues which prevent reports from being generated or cause reports being generated with wrong time range (and also produce rison decoder error: missing ':' errors)

Ported from opendistro-for-elasticsearch/kibana-reports#394

Issues Resolved

[List any issues this PR will resolve]
Related-to: opendistro-for-elasticsearch/kibana-reports#355
Fixes: #88, #61

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@kroussou kroussou marked this pull request as ready for review September 8, 2021 14:03
@zhongnansu
Copy link
Member

zhongnansu commented Sep 16, 2021

Hi, thx for contributing. I saw one of the github flow is failing, could you fix that? @kroussou

@kroussou
Copy link
Contributor Author

kroussou commented Sep 17, 2021

@zhongnansu Hi! Thanks for looking at my PR.
Based on logs failing check is not related to my PR. Linkchecker complains about README.md and LICENSE.md files which I didn't touch. Either I messed something in logs or check itself is misconfigured

Errors in README.md
40
✗ file:///github/workspace/reports-scheduler/README.md (Invalid file URI: file:///github/workspace/reports-scheduler/README.md)
41
✗ file:///github/workspace/LICENSE.txt (Invalid file URI: file:///github/workspace/LICENSE.txt)

@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2021

Codecov Report

Merging #153 (7939f00) into main (dc55f62) will increase coverage by 2.59%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #153      +/-   ##
============================================
+ Coverage     62.42%   65.01%   +2.59%     
+ Complexity      309      292      -17     
============================================
  Files           101       96       -5     
  Lines          4484     4053     -431     
  Branches        681      632      -49     
============================================
- Hits           2799     2635     -164     
+ Misses         1517     1277     -240     
+ Partials        168      141      -27     
Flag Coverage Δ
dashboards-reports 73.30% <100.00%> (ø)
reports-scheduler 56.69% <ø> (+3.27%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../components/main/report_details/report_details.tsx 76.14% <100.00%> (ø)
...n/org/opensearch/reportsscheduler/model/RestTag.kt 100.00% <0.00%> (ø)
...nsearch/reportsscheduler/ReportsSchedulerPlugin.kt 100.00% <0.00%> (ø)
...duler/resthandler/ReportInstancePollRestHandler.kt
...eportsscheduler/action/PollReportInstanceAction.kt
.../reportsscheduler/settings/LegacyPluginSettings.kt
...portsscheduler/model/PollReportInstanceResponse.kt
...eportsscheduler/model/PollReportInstanceRequest.kt
.../reportsscheduler/model/ReportDefinitionDetails.kt 75.40% <0.00%> (+1.21%) ⬆️
...search/reportsscheduler/settings/PluginSettings.kt 72.13% <0.00%> (+1.64%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc55f62...7939f00. Read the comment docs.

@kroussou
Copy link
Contributor Author

@zhongnansu I see that all checks are green now so you may proceed with the review

Copy link
Member

@zhongnansu zhongnansu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. I feel like this is more of a hardcode solution that doesn't solve a generic issue. Take a look at what else that needs to be decoded. It's not only %2F -> /, e.g. + will also need to be decoded, that's why we have issue with future dates
    https://www.elastic.co/guide/en/elasticsearch/reference/current/date-math-index-names.html

  2. After step 1 , the Today time range selector will still have issue. Because we are using dateMath.parse() to convert ES datamatch expression to Moment object. I did some research, if you add an option roundUp: true to the parse function, on toDate, we can get expected behavior same as Kibana

Can you try implementing those? Then I think we can get a complete solution for the 2 issues you listed

@kroussou
Copy link
Contributor Author

kroussou commented Oct 4, 2021

@zhongnansu Thanks for your input.
For step 1 I think using decodeURIComponent instead of simple replace should do the trick. I've made some test yesterday and everything looks good so far. I'm going to commit this change shortly.
For step 2 I need to do more research though

Co-authored-by: Zhongnan Su <[email protected]>
@zhongnansu zhongnansu self-assigned this Oct 4, 2021
@zhongnansu
Copy link
Member

@zhongnansu Thanks for your input. For step 1 I think using decodeURIComponent instead of simple replace should do the trick. I've made some test yesterday and everything looks good so far. I'm going to commit this change shortly. For step 2 I need to do more research though

@kroussou Thanks for making the change.
For step 2, this is the parse function I am talking about. https://github.com/opensearch-project/dashboards-reports/blob/371f1d18855de49688379634fa867f3f8eaef8e4/dashboards-reports/public/components/context_menu/context_menu_helpers.js#L150

To better describe the issue. Taking today for example. After all the unexcape/decode,finally we'll get a time rage of

fromDate: `now/d`
toDate: `now/d`

then dateMath.parse() into ISO will result in the same timestamp for "from" and "to", which is the begining of that date. This is not expected. If you take a look at the timestamp in Discover page after you select "Today". It is actually converting the toDate to the end of today, which is a "roundUp". And the fromDate is being rounded down to the begining of that date, which is the default behaviour of dateMath.parse()

I believe Kibana itself is also using the same conversion, given what we see in the Discover timestamp. If you check the usage of that library in Kibana itself, you can find many reference of using roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>
@kroussou
Copy link
Contributor Author

kroussou commented Oct 5, 2021

I believe Kibana itself is also using the same conversion, given what we see in the Discover timestamp

Looks so. At least time ranges now match between UI and reports.
I had doubts that it's also true for some weird expressions for toDate like now-1h/d, now/d-1h, 2021-10-04T10 (incomplete absolute date). However I see that UI shows the same number of events as in CSV

@zhongnansu zhongnansu merged commit 9b1ecab into opensearch-project:main Oct 7, 2021
zhongnansu added a commit to zhongnansu/dashboards-reports that referenced this pull request Oct 28, 2021
* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>
zhongnansu added a commit to zhongnansu/dashboards-reports that referenced this pull request Oct 28, 2021
* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>
zhongnansu added a commit to zhongnansu/dashboards-reports that referenced this pull request Oct 28, 2021
* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>
zhongnansu added a commit to zhongnansu/dashboards-reports that referenced this pull request Nov 9, 2021
* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>
zhongnansu added a commit that referenced this pull request Nov 9, 2021
* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>
zhongnansu added a commit that referenced this pull request Nov 9, 2021
* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>
zhongnansu added a commit to zhongnansu/dashboards-reports that referenced this pull request Dec 1, 2021
* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>
zhongnansu added a commit that referenced this pull request Dec 1, 2021
* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>
ps48 added a commit that referenced this pull request Jul 28, 2022
* Fix release notes version (#28)

Signed-off-by: Zhongnan Su <[email protected]>

* Migrate Reporting Notebooks Integration (#21)

Signed-off-by: David Cui <[email protected]>

* Add Logic to Auto-populate Notebooks from Context Menu (#30)

Signed-off-by: David Cui <[email protected]>

* Change opendistro to opensearch in email template (#31)

Signed-off-by: Joshua Li <[email protected]>

* Fix case sensitive directory name for chromium zip (#35)

Signed-off-by: David Cui <[email protected]>

Co-authored-by: Carl Meadows <[email protected]>
Co-authored-by: Zhongnan Su <[email protected]>
Co-authored-by: Joshua Li <[email protected]>

* Use output_only Parameter for notebook reports (#32)


Signed-off-by: David Cui <[email protected]>

* replace osd-version header to remove need for version number matching (#37)

Signed-off-by: David Cui <[email protected]>

* Remove visualization editor in visualization reports (#50)

Signed-off-by: Joshua Li <[email protected]>

* add condition to fix negative value display (#51)

Signed-off-by: David Cui <[email protected]>

* [Query Builder] Correctly handle match phrases when a single value is specified or when the match phrases is negated (#33)

* [Build query] Correctly handle phrases filter that specify only one single value

Contrary to the phrase filter type which always specify a meta.params.query, the phrases filter type never specify a meta.params.query even when a single value is selected.
This anomaly trigger an error generated by the MonoFieldQueryBase included in the elastic-builder dependency and prevent the generation of the report.

Signed-off-by: Kévin Masseix <[email protected]>

* [Build query] Correctly handle negated phrases filter that specify only one single value

Signed-off-by: Kévin Masseix <[email protected]>

* [Build query] Correctlty handle negated phrases to exclude them from the report instead of including them

Signed-off-by: Kévin Masseix <[email protected]>

* Pass processing if doc[field] == null (#361)

Pass processing if doc[field] == null
Based on opendistro-for-elasticsearch/kibana-reports#327 (comment)

* add test case for commit 368eb03e200b755870f1ad373e67561201ab6f31 (#370)

Add missing test case for the fix "pass doc[field] == null"

* Unhash page url in case store URLs in session storage is enabled from Kibana advanced setting (#371)

* Update Namespaces/APIs/Documentation for OpenSearch (#55)

Signed-off-by: David Cui <[email protected]>

* bump path-parse version to 1.0.7 to address CVE (#59)

Signed-off-by: David Cui <[email protected]>

* increase chromium timeout to 100s (#58)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix csv parsing function (#53)

* Fix csv parsing function

Signed-off-by: Joshua Li <[email protected]>

* Flatten nested results for csv

Signed-off-by: Joshua Li <[email protected]>

* Add test case for nested fields

Signed-off-by: Joshua Li <[email protected]>

* Add release notes for rc1 (#60)


Signed-off-by: David Cui <[email protected]>

* configure index settings to have default 1 replica and auto-expand upperbound 2 (#62)

Signed-off-by: Zhongnan Su <[email protected]>

* Rc1 release note patch (#63)


Signed-off-by: David Cui <[email protected]>

* Bump OpenSearch Dashboards version to 1.0 (#64)


Signed-off-by: David Cui <[email protected]>

* Revert .opensearch_dashboards index references to .kibana (#67)

Signed-off-by: David Cui <[email protected]>

* Add diagrams for integration with Notifications plugin (#75)

* add puml diagrams for integration with Notifications plugin
Signed-off-by: David Cui <[email protected]>

* amend Notifications plugin naming in diagram
Signed-off-by: David Cui <[email protected]>

* Add i18n translation support (#362)

* PDF report is no more a screenshot, increasing the overall quality

Also a issue with chrome font rendering was fixed

* Add Notifications to docs (#87)

* moved docs to root folder, update readme to include Notifications roadmap
Signed-off-by: David Cui <[email protected]>

* update readme to clarify current status of supported features
Signed-off-by: David Cui <[email protected]>

* Better support sorting for csv report based on saved search (#86)

* Change Delivery Request Body for Notifications (#85)

* adding opensearch changed api for report definition to save branch
Signed-off-by: David Cui <[email protected]>

* change delivery request body, update test cases
Signed-off-by: David Cui <[email protected]>

* remove console.log statement, fix DeliveryType type members to use snake case
Signed-off-by: David Cui <[email protected]>

* convert all snake case to camel case
Signed-off-by: David Cui <[email protected]>

* make configId required in schema
Signed-off-by: David Cui <[email protected]>

* Remove legacy notifications/delivery related code (#94)

* remove legacy notifications/delivery related code
Signed-off-by: David Cui <[email protected]>

* remove commented out reference
Signed-off-by: David Cui <[email protected]>

* Remove dependency on demo.elastic and use local mock html for testing (#100)

* Add code cov back (#98)

Signed-off-by: Zhongnan Su <[email protected]>

* update workflow to rename artifact in kebab case (#102)

Signed-off-by: Zhongnan Su <[email protected]>

* bump dependency version (#101)

Signed-off-by: Zhongnan Su <[email protected]>

* level up markdowns and readme (#97)

Signed-off-by: Zhongnan Su <[email protected]>

* Bump to version 1.0.0.0 (#103)

Signed-off-by: Zhongnan Su <[email protected]>

* Bump test resource(job-scheduler) to 1.0.0.0 (#105)

Signed-off-by: Zhongnan Su <[email protected]>

* fix failed cypress integ-testing (#106)

Signed-off-by: Zhongnan Su <[email protected]>

* Bump node version, fix workflow and gradle build (#108)

* Bump nodejs version to keep up with upstream

Signed-off-by: Zhongnan Su <[email protected]>

* fix github workflow

Signed-off-by: Zhongnan Su <[email protected]>

* Add release notes for 1.0.0.0 (#104)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix notebooks context menu (#109)

Signed-off-by: Joshua Li <[email protected]>

* Fix context menu download request body after schema change to add notifiaction (#115)

Signed-off-by: Zhongnan Su <[email protected]>

* Exclude time range from report details for Notebooks  (#117)

* exclude time range check for notebooks reports
Signed-off-by: David Cui <[email protected]>

* use report source identifier over url partial match
Signed-off-by: David Cui <[email protected]>

* add report details fix to release notes
Signed-off-by: David Cui <[email protected]>

* add more bug fixes to release notes
Signed-off-by: David Cui <[email protected]>

* Update regex for notebooks reports (#118)

Signed-off-by: Joshua Li <[email protected]>

* Add integtest script to the repo

Signed-off-by: Peter Zhu <[email protected]>

* Improve osd bootstrap on dub directory

Signed-off-by: Peter Zhu <[email protected]>

* Improve osd bootstrap on dub directory

Signed-off-by: Peter Zhu <[email protected]>

* Exclude Faulty Integration Test  (#122)

Exclude broken ITs from upstream OpenSearch

* Fix cypress reporting (#123)

* fix create test
Signed-off-by: David Cui <[email protected]>

* toggle video on for cypress testing (#124)

Signed-off-by: David Cui <[email protected]>

* Update Doc Links (#127)

* update doc links in dashboards-reports
Signed-off-by: David Cui <[email protected]>

* Update template to reflect new branding (#128)

Signed-off-by: kgcreative <[email protected]>

* Update UI for Notifications Integration (#126)

Update reporting front-end for Notifications integration

Signed-off-by: David Cui <[email protected]>

* Add themed logo to README (#130)

Signed-off-by: Miki <[email protected]>

* Fix url validation (#132)

Signed-off-by: Joshua Li <[email protected]>

* Fix url validation for context menu (#134)

* Fix url validation for context menu

Signed-off-by: Joshua Li <[email protected]>

* Fix url validation

Signed-off-by: Joshua Li <[email protected]>

* Connect Notifications APIs to Reporting (#131)

* call notifications APIs from reporting, saving progress
Signed-off-by: David Cui <[email protected]>

* enable notifications integration, update view in details pages, update tests
Signed-off-by: David Cui <[email protected]>

* address comments, add server APIs to call backend notifications APIs to reduce dependency
Signed-off-by: David Cui <[email protected]>

* add get_event API to confirm test messages are sent successfully and throw error if not
Signed-off-by: David Cui <[email protected]>

* add input validation for delivery subject and message, hide notifications section if opensearch notifications is not installed
Signed-off-by: David Cui <[email protected]>

* renamed constant for notifications to follow API_PREFIX convention
Signed-off-by: David Cui <[email protected]>

* rename notifications constant to reporting_notifications
Signed-off-by: David Cui <[email protected]>

* add list of failed channels on test message failure
Signed-off-by: David Cui <[email protected]>

* Fix snapshot build and upgrade to OpenSearch 1.1. (#140)

Signed-off-by: dblock <[email protected]>

* Add release notes for 1.0.1 release (#143)

Signed-off-by: Joshua Li <[email protected]>

* Bump to 1.1 in main (#150)

* bump version to 1.1, hide delivery section
Signed-off-by: David Cui <[email protected]>

* Dont hide delivery by default
Signed-off-by: David Cui <[email protected]>

* bump version to 1.1 in dashboards reports workflow
Signed-off-by: David Cui <[email protected]>

* fix OSD branch to use main
Signed-off-by: David Cui <[email protected]>

* change from main to 1.x for dashboards version
Signed-off-by: David Cui <[email protected]>

* Bump opensearch ref to 1.1 in CI (#155)

* Removed integtest.sh. (#157)

Signed-off-by: dblock <[email protected]>

* Taking RBAC settings from Alerting plugin default to false

Other changes:
1. Legacy settings removed because all relavent settings are removed or taken from Alerting plugin
2. Poll API removed as it is not used

[Tests]
All existing tests passed

Signed-off-by: @akbhatta

* Bump tmpl from 1.0.4 to 1.0.5 in /dashboards-reports (#164)

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix quoting and url-encoding (#153)

* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>

* Integrate notifications backend (#129)

* Remove hard coded localhost when calling API (#172)

* rename plugin helper config file name to consistent with OSD (#180)

Signed-off-by: Tengda He <[email protected]>

* Add metrics for sending notifications (#173)

* Add logic to build report detail page link and send as part of message for non-email channels (#182)

* forward origin plus basePath to backend

* Add build report link function and forward link as part of message

* Update validation for observability notebooks integration (#174)

* Build email message from template with reports links (#184)

* remove the email tempalte and helpers from dashboards plugin

* build email message from template for reporting notifcation

Signed-off-by: Zhongnan Su <[email protected]>

* Support range filters for csv reports (#185)

* Forward extra headers while using headless chromium (#194)

* Use advanced settings for date format in csv reports (#186)

* add check in ReportInstanceActions to fix on demand report creation after report definition creation (#196)

Signed-off by: David Cui <[email protected]>

* Catch Notifications Errors on Details Pages (#197)

* add catch statements to notifications get_configs to avoid crashing details pages
Signed-off by: David Cui <[email protected]>

* remove console log statment
Signed-off by: David Cui <[email protected]>

* remove notifications integration from details pages and update snapshots (#210)

Signed-off-by: David Cui <[email protected]>

* fix csv missing metadata fields issue and empty report on all(_source) fields (#206)

* remove notifications references from create and edit report definition pages (#212)

Signed-off by: David Cui <[email protected]>

* refactor logic for creating DSL from saved object using buildOpensearchQuery() (#213)

* Remove calling notifications in reports scheduler (#211)

* Use advanced settings for csv separator and visual report timezone (#209)

* Bump to version 1.2 (#203)

* Bump to version 1.2

Bump OpenSearch and OpenSearch Dashboards plugins to 1.2

Related issue:
#167

Signed-off-by: Kawika Avilla <[email protected]>

* Use maven for building reports scheduler

Signed-off-by: Joshua Li <[email protected]>

Co-authored-by: Joshua Li <[email protected]>

* Add dco and release drafter workflows (#217)

Signed-off-by: Joshua Li <[email protected]>

* update readme notification section (#216)

Signed-off-by: Zhongnan Su <[email protected]>

* revert paths to opendistro to keep cluster permissions same with ODFE (#218)

Signed-off-by: David Cui <[email protected]>

* Create opensearch-dashboards-reports.release-notes-1.2.0.0.md

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* Update the copyright notices to reflect OpenSearch Contributors (#220)

* update the copyright notices to reflect OpenSearch Contributors

Signed-off-by: David Cui <[email protected]>

* add .txt to NOTICE to resolve linkchecker error

Signed-off-by: David Cui <[email protected]>

* changes

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* changes

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* Remove notifications actions in reports scheduler (#221)

Signed-off-by: Joshua Li <[email protected]>

* add reporting osd server configurations (#222)

Signed-off-by: Zhongnan Su <[email protected]>

* Add suggested font packages in troubleshooting tips (#189)

* add suggested font packages in troubleshooting tips
Signed-off-by: David Cui <[email protected]>

* add links to package documentation in README for font packages
Signed-off-by: David Cui <[email protected]>

* add more descriptive title under Troubleshooting

Signed-off-by: David Cui <[email protected]>

* add link to headless-chrome installation and add ipa-gothic-fonts link to centos 7

Signed-off-by: David Cui <[email protected]>

* Update Copyright Headers (#226)

* update copyright header for all files

Signed-off-by: David Cui <[email protected]>

* fix ktlint errors with extra whitespace

Signed-off-by: David Cui <[email protected]>

* Add support for codeowners to repo (#227)

Signed-off-by: Ryan Bogan <[email protected]>

* Fix reporting validation for observability (#231)

* Update reporting validation for observability

Signed-off-by: Joshua Li <[email protected]>

* update tests

Signed-off-by: Joshua Li <[email protected]>

* remove poller code from frontend plugin (#235)

Signed-off-by: Zhongnan Su <[email protected]>

* bump reports-scheduler to 1.3 (#241)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix apt source and link checker for CI (#245)

* Update apt source in CI

Signed-off-by: Joshua Li <[email protected]>

* Try fix link checker

Signed-off-by: Joshua Li <[email protected]>

* Add Case Coverage tests for Create Report Definition (#239)

* add & refactor cypress tests, add css selectors in report settings & report trigger

Signed-off-by: David Cui <[email protected]>

* remove comment and update jest snapshot

Signed-off-by: David Cui <[email protected]>

* add bwc test for reports-scheduler (#244)

Signed-off-by: Zhongnan Su <[email protected]>

* added code summary table (#243)

* added code summary table

Signed-off-by: Shenoy Pratik <[email protected]>

* modularized tables, fixed links

Signed-off-by: Shenoy Pratik <[email protected]>

* updated header, changed bwc link

Signed-off-by: Shenoy Pratik <[email protected]>

* Add Cypress Case Coverage on Details Pages (#250)

* add and refactor cypress tests for details pages

Signed-off-by: David Cui <[email protected]>

* update jest snapshots

Signed-off-by: David Cui <[email protected]>

* add utils.js file to store functions used in multiple cypress tests

Signed-off-by: David Cui <[email protected]>

* add gradle task to run integtest against remote cluster (#247)

Signed-off-by: Zhongnan Su <[email protected]>

* added untriaged and nolabel badges

Signed-off-by: Shenoy Pratik <[email protected]>

* bump dashboards-reports version to 1.3 (#265)

Signed-off-by: Zhongnan Su <[email protected]>

* add UT for request/reseponse model (#264)

Signed-off-by: Zhongnan Su <[email protected]>

* Add .whitesource configuration file

* Address Reporting CVEs (#267)

* update vulnerable package versions

Signed-off-by: David Cui <[email protected]>

* change ansi-regex to 5.0.1 to pass bootstrap

Signed-off-by: David Cui <[email protected]>

* update yarn lock for cve fixes (#271)

Signed-off-by: David Cui <[email protected]>

* add release notes for 1.2.4

Signed-off-by: David Cui <[email protected]>

* remove jcenter repo from gradle build

Signed-off-by: Shenoy Pratik <[email protected]>

* update guava to 31.0.1-jre

Signed-off-by: Shenoy Pratik <[email protected]>

* WS package update (#283)

* updated ws version

Signed-off-by: Shenoy Pratik <[email protected]>

* moved ws package to resolutions

Signed-off-by: Shenoy Pratik <[email protected]>

* updated yarn lock

Signed-off-by: Shenoy Pratik <[email protected]>

* add auto-backport functionality for reporting (#286)

Add auto-backport and auto-delete workflows for reporting

Signed-off-by: David Cui <[email protected]>

* Change Default CI version to JDK 11 (#290)

* change default CI version to JDK 11, add JDK versions to CI matrix and document changes in developer guide

Signed-off-by: David Cui <[email protected]>

* remove incorrect tag form issue template (#294)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix empty or multiple date values in csv (#293)

Signed-off-by: Zhongnan Su <[email protected]>

* Update the saved object id matcher regex to match custom id (#295)

Signed-off-by: Zhongnan Su <[email protected]>

* Replace Centos links to fix link checker CI (#297)

exclude centos links from linkchecker

Signed-off-by: David Cui <[email protected]>

* update regex to match custom saved object id (#298)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix reporting uuid parsing (#300)

Signed-off-by: Joshua Li <[email protected]>

* Add java 8 support in compile and test (#304) (#305)

* add java 8 support in compile and test

Signed-off-by: Zhongnan Su <[email protected]>
(cherry picked from commit e753b07)

Co-authored-by: Zhongnan Su <[email protected]>

* Add 1.3 release notes (#307) (#308)

* Add 1.3 release notes

Signed-off-by: Zhongnan Su <[email protected]>
(cherry picked from commit 2e904c5)

Co-authored-by: Zhongnan Su <[email protected]>

* Bump version to 1.3.1 (#324)

Signed-off-by: Sayali Gaikawad <[email protected]>

* Bump reports dashboards to 1.3.1 (#331)

Signed-off-by: Joshua Li <[email protected]>

* Incremented version to 1.3.2. (#352)

Signed-off-by: Zelin Hao <[email protected]>

* Version bump 1.3.3

Signed-off-by: pgodithi <[email protected]>

* Version bump 1.3.3

Signed-off-by: pgodithi <[email protected]>

* Version bump 1.3.3

Signed-off-by: pgodithi <[email protected]>

* [1.3] Bump minimist to 1.2.6 (#367)

Signed-off-by: Joshua Li <[email protected]>

* Move HTML sanitization from client to server side (#382) (#386)

Move HTML sanitization to server, store markdown over HTML, remove unused imports

Signed-off-by: David Cui <[email protected]>

Co-authored-by: David Cui <[email protected]>

* Incremented version to 1.3.4. (#389)

* Incremented version to 1.3.4.

Signed-off-by: Zelin Hao <[email protected]>

* Add JS snapshot

Signed-off-by: Zelin Hao <[email protected]>

* Add release notes for 1.3.4.0 (#393) (#394)

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit 8e01eaa)

Co-authored-by: Joshua Li <[email protected]>

Co-authored-by: Zhongnan Su <[email protected]>
Co-authored-by: David Cui <[email protected]>
Co-authored-by: Joshua <[email protected]>
Co-authored-by: Carl Meadows <[email protected]>
Co-authored-by: Kevin Masseix <[email protected]>
Co-authored-by: Uzhinskiy Boris <[email protected]>
Co-authored-by: David Cui <[email protected]>
Co-authored-by: starcatter <[email protected]>
Co-authored-by: Elias Soares <[email protected]>
Co-authored-by: Peter Zhu <[email protected]>
Co-authored-by: Kevin Garcia <[email protected]>
Co-authored-by: Miki <[email protected]>
Co-authored-by: David Cui <[email protected]>
Co-authored-by: Daniel Doubrovkine (dB.) <[email protected]>
Co-authored-by: Anantha Krishna Bhatta <[email protected]>
Co-authored-by: Anantha Krishna Bhatta <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kroussou <[email protected]>
Co-authored-by: Tengda-He <[email protected]>
Co-authored-by: Kawika Avilla <[email protected]>
Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]>
Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]>
Co-authored-by: Ryan Bogan <[email protected]>
Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Sayali Gaikawad <[email protected]>
Co-authored-by: Zelin Hao <[email protected]>
Co-authored-by: pgodithi <[email protected]>
Co-authored-by: Anirudha (Ani) Jadhav <[email protected]>
rupal-bq added a commit that referenced this pull request Dec 1, 2022
* Fix release notes version (#28)

Signed-off-by: Zhongnan Su <[email protected]>

* Migrate Reporting Notebooks Integration (#21)

Signed-off-by: David Cui <[email protected]>

* Add Logic to Auto-populate Notebooks from Context Menu (#30)

Signed-off-by: David Cui <[email protected]>

* Change opendistro to opensearch in email template (#31)

Signed-off-by: Joshua Li <[email protected]>

* Fix case sensitive directory name for chromium zip (#35)

Signed-off-by: David Cui <[email protected]>

Co-authored-by: Carl Meadows <[email protected]>
Co-authored-by: Zhongnan Su <[email protected]>
Co-authored-by: Joshua Li <[email protected]>

* Use output_only Parameter for notebook reports (#32)


Signed-off-by: David Cui <[email protected]>

* replace osd-version header to remove need for version number matching (#37)

Signed-off-by: David Cui <[email protected]>

* Remove visualization editor in visualization reports (#50)

Signed-off-by: Joshua Li <[email protected]>

* add condition to fix negative value display (#51)

Signed-off-by: David Cui <[email protected]>

* [Query Builder] Correctly handle match phrases when a single value is specified or when the match phrases is negated (#33)

* [Build query] Correctly handle phrases filter that specify only one single value

Contrary to the phrase filter type which always specify a meta.params.query, the phrases filter type never specify a meta.params.query even when a single value is selected.
This anomaly trigger an error generated by the MonoFieldQueryBase included in the elastic-builder dependency and prevent the generation of the report.

Signed-off-by: Kévin Masseix <[email protected]>

* [Build query] Correctly handle negated phrases filter that specify only one single value

Signed-off-by: Kévin Masseix <[email protected]>

* [Build query] Correctlty handle negated phrases to exclude them from the report instead of including them

Signed-off-by: Kévin Masseix <[email protected]>

* Pass processing if doc[field] == null (#361)

Pass processing if doc[field] == null
Based on opendistro-for-elasticsearch/kibana-reports#327 (comment)

* add test case for commit 368eb03e200b755870f1ad373e67561201ab6f31 (#370)

Add missing test case for the fix "pass doc[field] == null"

* Unhash page url in case store URLs in session storage is enabled from Kibana advanced setting (#371)

* Update Namespaces/APIs/Documentation for OpenSearch (#55)

Signed-off-by: David Cui <[email protected]>

* bump path-parse version to 1.0.7 to address CVE (#59)

Signed-off-by: David Cui <[email protected]>

* increase chromium timeout to 100s (#58)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix csv parsing function (#53)

* Fix csv parsing function

Signed-off-by: Joshua Li <[email protected]>

* Flatten nested results for csv

Signed-off-by: Joshua Li <[email protected]>

* Add test case for nested fields

Signed-off-by: Joshua Li <[email protected]>

* Add release notes for rc1 (#60)


Signed-off-by: David Cui <[email protected]>

* configure index settings to have default 1 replica and auto-expand upperbound 2 (#62)

Signed-off-by: Zhongnan Su <[email protected]>

* Rc1 release note patch (#63)


Signed-off-by: David Cui <[email protected]>

* Bump OpenSearch Dashboards version to 1.0 (#64)


Signed-off-by: David Cui <[email protected]>

* Revert .opensearch_dashboards index references to .kibana (#67)

Signed-off-by: David Cui <[email protected]>

* Add diagrams for integration with Notifications plugin (#75)

* add puml diagrams for integration with Notifications plugin
Signed-off-by: David Cui <[email protected]>

* amend Notifications plugin naming in diagram
Signed-off-by: David Cui <[email protected]>

* Add i18n translation support (#362)

* PDF report is no more a screenshot, increasing the overall quality

Also a issue with chrome font rendering was fixed

* Add Notifications to docs (#87)

* moved docs to root folder, update readme to include Notifications roadmap
Signed-off-by: David Cui <[email protected]>

* update readme to clarify current status of supported features
Signed-off-by: David Cui <[email protected]>

* Better support sorting for csv report based on saved search (#86)

* Change Delivery Request Body for Notifications (#85)

* adding opensearch changed api for report definition to save branch
Signed-off-by: David Cui <[email protected]>

* change delivery request body, update test cases
Signed-off-by: David Cui <[email protected]>

* remove console.log statement, fix DeliveryType type members to use snake case
Signed-off-by: David Cui <[email protected]>

* convert all snake case to camel case
Signed-off-by: David Cui <[email protected]>

* make configId required in schema
Signed-off-by: David Cui <[email protected]>

* Remove legacy notifications/delivery related code (#94)

* remove legacy notifications/delivery related code
Signed-off-by: David Cui <[email protected]>

* remove commented out reference
Signed-off-by: David Cui <[email protected]>

* Remove dependency on demo.elastic and use local mock html for testing (#100)

* Add code cov back (#98)

Signed-off-by: Zhongnan Su <[email protected]>

* update workflow to rename artifact in kebab case (#102)

Signed-off-by: Zhongnan Su <[email protected]>

* bump dependency version (#101)

Signed-off-by: Zhongnan Su <[email protected]>

* level up markdowns and readme (#97)

Signed-off-by: Zhongnan Su <[email protected]>

* Bump to version 1.0.0.0 (#103)

Signed-off-by: Zhongnan Su <[email protected]>

* Bump test resource(job-scheduler) to 1.0.0.0 (#105)

Signed-off-by: Zhongnan Su <[email protected]>

* fix failed cypress integ-testing (#106)

Signed-off-by: Zhongnan Su <[email protected]>

* Bump node version, fix workflow and gradle build (#108)

* Bump nodejs version to keep up with upstream

Signed-off-by: Zhongnan Su <[email protected]>

* fix github workflow

Signed-off-by: Zhongnan Su <[email protected]>

* Add release notes for 1.0.0.0 (#104)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix notebooks context menu (#109)

Signed-off-by: Joshua Li <[email protected]>

* Fix context menu download request body after schema change to add notifiaction (#115)

Signed-off-by: Zhongnan Su <[email protected]>

* Exclude time range from report details for Notebooks  (#117)

* exclude time range check for notebooks reports
Signed-off-by: David Cui <[email protected]>

* use report source identifier over url partial match
Signed-off-by: David Cui <[email protected]>

* add report details fix to release notes
Signed-off-by: David Cui <[email protected]>

* add more bug fixes to release notes
Signed-off-by: David Cui <[email protected]>

* Update regex for notebooks reports (#118)

Signed-off-by: Joshua Li <[email protected]>

* Add integtest script to the repo

Signed-off-by: Peter Zhu <[email protected]>

* Improve osd bootstrap on dub directory

Signed-off-by: Peter Zhu <[email protected]>

* Improve osd bootstrap on dub directory

Signed-off-by: Peter Zhu <[email protected]>

* Exclude Faulty Integration Test  (#122)

Exclude broken ITs from upstream OpenSearch

* Fix cypress reporting (#123)

* fix create test
Signed-off-by: David Cui <[email protected]>

* toggle video on for cypress testing (#124)

Signed-off-by: David Cui <[email protected]>

* Update Doc Links (#127)

* update doc links in dashboards-reports
Signed-off-by: David Cui <[email protected]>

* Update template to reflect new branding (#128)

Signed-off-by: kgcreative <[email protected]>

* Update UI for Notifications Integration (#126)

Update reporting front-end for Notifications integration

Signed-off-by: David Cui <[email protected]>

* Add themed logo to README (#130)

Signed-off-by: Miki <[email protected]>

* Fix url validation (#132)

Signed-off-by: Joshua Li <[email protected]>

* Fix url validation for context menu (#134)

* Fix url validation for context menu

Signed-off-by: Joshua Li <[email protected]>

* Fix url validation

Signed-off-by: Joshua Li <[email protected]>

* Connect Notifications APIs to Reporting (#131)

* call notifications APIs from reporting, saving progress
Signed-off-by: David Cui <[email protected]>

* enable notifications integration, update view in details pages, update tests
Signed-off-by: David Cui <[email protected]>

* address comments, add server APIs to call backend notifications APIs to reduce dependency
Signed-off-by: David Cui <[email protected]>

* add get_event API to confirm test messages are sent successfully and throw error if not
Signed-off-by: David Cui <[email protected]>

* add input validation for delivery subject and message, hide notifications section if opensearch notifications is not installed
Signed-off-by: David Cui <[email protected]>

* renamed constant for notifications to follow API_PREFIX convention
Signed-off-by: David Cui <[email protected]>

* rename notifications constant to reporting_notifications
Signed-off-by: David Cui <[email protected]>

* add list of failed channels on test message failure
Signed-off-by: David Cui <[email protected]>

* Fix snapshot build and upgrade to OpenSearch 1.1. (#140)

Signed-off-by: dblock <[email protected]>

* Add release notes for 1.0.1 release (#143)

Signed-off-by: Joshua Li <[email protected]>

* Bump to 1.1 in main (#150)

* bump version to 1.1, hide delivery section
Signed-off-by: David Cui <[email protected]>

* Dont hide delivery by default
Signed-off-by: David Cui <[email protected]>

* bump version to 1.1 in dashboards reports workflow
Signed-off-by: David Cui <[email protected]>

* fix OSD branch to use main
Signed-off-by: David Cui <[email protected]>

* change from main to 1.x for dashboards version
Signed-off-by: David Cui <[email protected]>

* Bump opensearch ref to 1.1 in CI (#155)

* Removed integtest.sh. (#157)

Signed-off-by: dblock <[email protected]>

* Taking RBAC settings from Alerting plugin default to false

Other changes:
1. Legacy settings removed because all relavent settings are removed or taken from Alerting plugin
2. Poll API removed as it is not used

[Tests]
All existing tests passed

Signed-off-by: @akbhatta

* Bump tmpl from 1.0.4 to 1.0.5 in /dashboards-reports (#164)

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix quoting and url-encoding (#153)

* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>

* Integrate notifications backend (#129)

* Remove hard coded localhost when calling API (#172)

* rename plugin helper config file name to consistent with OSD (#180)

Signed-off-by: Tengda He <[email protected]>

* Add metrics for sending notifications (#173)

* Add logic to build report detail page link and send as part of message for non-email channels (#182)

* forward origin plus basePath to backend

* Add build report link function and forward link as part of message

* Update validation for observability notebooks integration (#174)

* Build email message from template with reports links (#184)

* remove the email tempalte and helpers from dashboards plugin

* build email message from template for reporting notifcation

Signed-off-by: Zhongnan Su <[email protected]>

* Support range filters for csv reports (#185)

* Forward extra headers while using headless chromium (#194)

* Use advanced settings for date format in csv reports (#186)

* add check in ReportInstanceActions to fix on demand report creation after report definition creation (#196)

Signed-off by: David Cui <[email protected]>

* Catch Notifications Errors on Details Pages (#197)

* add catch statements to notifications get_configs to avoid crashing details pages
Signed-off by: David Cui <[email protected]>

* remove console log statment
Signed-off by: David Cui <[email protected]>

* remove notifications integration from details pages and update snapshots (#210)

Signed-off-by: David Cui <[email protected]>

* fix csv missing metadata fields issue and empty report on all(_source) fields (#206)

* remove notifications references from create and edit report definition pages (#212)

Signed-off by: David Cui <[email protected]>

* refactor logic for creating DSL from saved object using buildOpensearchQuery() (#213)

* Remove calling notifications in reports scheduler (#211)

* Use advanced settings for csv separator and visual report timezone (#209)

* Bump to version 1.2 (#203)

* Bump to version 1.2

Bump OpenSearch and OpenSearch Dashboards plugins to 1.2

Related issue:
#167

Signed-off-by: Kawika Avilla <[email protected]>

* Use maven for building reports scheduler

Signed-off-by: Joshua Li <[email protected]>

Co-authored-by: Joshua Li <[email protected]>

* Add dco and release drafter workflows (#217)

Signed-off-by: Joshua Li <[email protected]>

* update readme notification section (#216)

Signed-off-by: Zhongnan Su <[email protected]>

* revert paths to opendistro to keep cluster permissions same with ODFE (#218)

Signed-off-by: David Cui <[email protected]>

* Create opensearch-dashboards-reports.release-notes-1.2.0.0.md

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* Update the copyright notices to reflect OpenSearch Contributors (#220)

* update the copyright notices to reflect OpenSearch Contributors

Signed-off-by: David Cui <[email protected]>

* add .txt to NOTICE to resolve linkchecker error

Signed-off-by: David Cui <[email protected]>

* changes

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* changes

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* Remove notifications actions in reports scheduler (#221)

Signed-off-by: Joshua Li <[email protected]>

* add reporting osd server configurations (#222)

Signed-off-by: Zhongnan Su <[email protected]>

* Add suggested font packages in troubleshooting tips (#189)

* add suggested font packages in troubleshooting tips
Signed-off-by: David Cui <[email protected]>

* add links to package documentation in README for font packages
Signed-off-by: David Cui <[email protected]>

* add more descriptive title under Troubleshooting

Signed-off-by: David Cui <[email protected]>

* add link to headless-chrome installation and add ipa-gothic-fonts link to centos 7

Signed-off-by: David Cui <[email protected]>

* Update Copyright Headers (#226)

* update copyright header for all files

Signed-off-by: David Cui <[email protected]>

* fix ktlint errors with extra whitespace

Signed-off-by: David Cui <[email protected]>

* Add support for codeowners to repo (#227)

Signed-off-by: Ryan Bogan <[email protected]>

* Fix reporting validation for observability (#231)

* Update reporting validation for observability

Signed-off-by: Joshua Li <[email protected]>

* update tests

Signed-off-by: Joshua Li <[email protected]>

* remove poller code from frontend plugin (#235)

Signed-off-by: Zhongnan Su <[email protected]>

* bump reports-scheduler to 1.3 (#241)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix apt source and link checker for CI (#245)

* Update apt source in CI

Signed-off-by: Joshua Li <[email protected]>

* Try fix link checker

Signed-off-by: Joshua Li <[email protected]>

* Add Case Coverage tests for Create Report Definition (#239)

* add & refactor cypress tests, add css selectors in report settings & report trigger

Signed-off-by: David Cui <[email protected]>

* remove comment and update jest snapshot

Signed-off-by: David Cui <[email protected]>

* add bwc test for reports-scheduler (#244)

Signed-off-by: Zhongnan Su <[email protected]>

* added code summary table (#243)

* added code summary table

Signed-off-by: Shenoy Pratik <[email protected]>

* modularized tables, fixed links

Signed-off-by: Shenoy Pratik <[email protected]>

* updated header, changed bwc link

Signed-off-by: Shenoy Pratik <[email protected]>

* Add Cypress Case Coverage on Details Pages (#250)

* add and refactor cypress tests for details pages

Signed-off-by: David Cui <[email protected]>

* update jest snapshots

Signed-off-by: David Cui <[email protected]>

* add utils.js file to store functions used in multiple cypress tests

Signed-off-by: David Cui <[email protected]>

* add gradle task to run integtest against remote cluster (#247)

Signed-off-by: Zhongnan Su <[email protected]>

* added untriaged and nolabel badges

Signed-off-by: Shenoy Pratik <[email protected]>

* bump dashboards-reports version to 1.3 (#265)

Signed-off-by: Zhongnan Su <[email protected]>

* add UT for request/reseponse model (#264)

Signed-off-by: Zhongnan Su <[email protected]>

* Add .whitesource configuration file

* Address Reporting CVEs (#267)

* update vulnerable package versions

Signed-off-by: David Cui <[email protected]>

* change ansi-regex to 5.0.1 to pass bootstrap

Signed-off-by: David Cui <[email protected]>

* update yarn lock for cve fixes (#271)

Signed-off-by: David Cui <[email protected]>

* add release notes for 1.2.4

Signed-off-by: David Cui <[email protected]>

* remove jcenter repo from gradle build

Signed-off-by: Shenoy Pratik <[email protected]>

* update guava to 31.0.1-jre

Signed-off-by: Shenoy Pratik <[email protected]>

* WS package update (#283)

* updated ws version

Signed-off-by: Shenoy Pratik <[email protected]>

* moved ws package to resolutions

Signed-off-by: Shenoy Pratik <[email protected]>

* updated yarn lock

Signed-off-by: Shenoy Pratik <[email protected]>

* add auto-backport functionality for reporting (#286)

Add auto-backport and auto-delete workflows for reporting

Signed-off-by: David Cui <[email protected]>

* Change Default CI version to JDK 11 (#290)

* change default CI version to JDK 11, add JDK versions to CI matrix and document changes in developer guide

Signed-off-by: David Cui <[email protected]>

* remove incorrect tag form issue template (#294)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix empty or multiple date values in csv (#293)

Signed-off-by: Zhongnan Su <[email protected]>

* Update the saved object id matcher regex to match custom id (#295)

Signed-off-by: Zhongnan Su <[email protected]>

* Replace Centos links to fix link checker CI (#297)

exclude centos links from linkchecker

Signed-off-by: David Cui <[email protected]>

* update regex to match custom saved object id (#298)

Signed-off-by: Zhongnan Su <[email protected]>

* Fix reporting uuid parsing (#300)

Signed-off-by: Joshua Li <[email protected]>

* Add java 8 support in compile and test (#304) (#305)

* add java 8 support in compile and test

Signed-off-by: Zhongnan Su <[email protected]>
(cherry picked from commit e753b07)

Co-authored-by: Zhongnan Su <[email protected]>

* Add 1.3 release notes (#307) (#308)

* Add 1.3 release notes

Signed-off-by: Zhongnan Su <[email protected]>
(cherry picked from commit 2e904c5)

Co-authored-by: Zhongnan Su <[email protected]>

* Bump version to 1.3.1 (#324)

Signed-off-by: Sayali Gaikawad <[email protected]>

* Bump reports dashboards to 1.3.1 (#331)

Signed-off-by: Joshua Li <[email protected]>

* Incremented version to 1.3.2. (#352)

Signed-off-by: Zelin Hao <[email protected]>

* Version bump 1.3.3

Signed-off-by: pgodithi <[email protected]>

* Version bump 1.3.3

Signed-off-by: pgodithi <[email protected]>

* Version bump 1.3.3

Signed-off-by: pgodithi <[email protected]>

* [1.3] Bump minimist to 1.2.6 (#367)

Signed-off-by: Joshua Li <[email protected]>

* Move HTML sanitization from client to server side (#382) (#386)

Move HTML sanitization to server, store markdown over HTML, remove unused imports

Signed-off-by: David Cui <[email protected]>

Co-authored-by: David Cui <[email protected]>

* Incremented version to 1.3.4. (#389)

* Incremented version to 1.3.4.

Signed-off-by: Zelin Hao <[email protected]>

* Add JS snapshot

Signed-off-by: Zelin Hao <[email protected]>

* Add release notes for 1.3.4.0 (#393) (#394)

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit 8e01eaa)

Co-authored-by: Joshua Li <[email protected]>

* Staging for version increment automation (#391) (#418)

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation

Signed-off-by: pgodithi <[email protected]>

* Version increment automation: task rename updateVersion

Signed-off-by: pgodithi <[email protected]>
(cherry picked from commit 6667bfb)
Signed-off-by: prudhvigodithi <[email protected]>

Signed-off-by: pgodithi <[email protected]>
Signed-off-by: prudhvigodithi <[email protected]>
Co-authored-by: Prudhvi Godithi <[email protected]>

* [Release 1.3.5] Version increment  (#420)

* release 1.3.5

Signed-off-by: prudhvigodithi <[email protected]>

* release 1.3.5

Signed-off-by: prudhvigodithi <[email protected]>

Signed-off-by: prudhvigodithi <[email protected]>

* [1.3] Remove zips and download from remote at build time (#337) (#422)

* Remove zips and download from remote at build time (#337)

Signed-off-by: Joshua Li <[email protected]>

* Remove odfe bwc test (#408)

Signed-off-by: Shenoy Pratik <[email protected]>

Signed-off-by: Joshua Li <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>

* [1.3] restrict chromium requests (#424)

Signed-off-by: Joshua Li <[email protected]>

* [Release 1.3.5] Add `build.sh` (#426)

* release 1.3.5

Signed-off-by: prudhvigodithi <[email protected]>

* release 1.3.5

Signed-off-by: prudhvigodithi <[email protected]>

Signed-off-by: prudhvigodithi <[email protected]>

* [1.3] Add Bwc Test for OS 1.1 (#417) (#423)

* Add Bwc Test for OS 1.1 (#417)

Signed-off-by: Shenoy Pratik <[email protected]>

* Fix job-scheduler url

Signed-off-by: Joshua Li <[email protected]>

* Remove artifact zips

Signed-off-by: Joshua Li <[email protected]>

Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Joshua Li <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>

* Increment version to 1.3.6-SNAPSHOT (#456)

Signed-off-by: opensearch-ci-bot <[email protected]>

Signed-off-by: opensearch-ci-bot <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>

* Merge pull request #472 from sejli/CVE-fix-1.3.6 (#473)

Updating Kotlin and Jsoup

(cherry picked from commit 50eac17)

* Merge pull request #474 from sejli/release-notes-1.3.6

Add release notes for 1.3.6

(cherry picked from commit fd8f9de)

* Merge pull request #476 from sejli/1.3.6-release-notes

Changing 1.3.6 release notes location

(cherry picked from commit 2159036)

* update jackson to 2.13.4 (#479) (#480)

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
(cherry picked from commit d0c86aa)

Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]>

* Update 1.3.6 release notes (#481) (#482)

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
(cherry picked from commit dea93af)

Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]>

* [1.3] Upgrade puppeteer (#488)

* upgrade puppeteer & change report timeout

Signed-off-by: Rupal Mahajan <[email protected]>

* Change timeout

Signed-off-by: Rupal Mahajan <[email protected]>

Signed-off-by: Rupal Mahajan <[email protected]>

* Added release notes for 1.3.5 (#451)

Signed-off-by: vamsi-amazon <[email protected]>
(cherry picked from commit e2e4366)

Co-authored-by: vamsi-amazon <[email protected]>

* Increment version to 1.3.7-SNAPSHOT (#502)

Signed-off-by: opensearch-ci-bot <[email protected]>

Signed-off-by: opensearch-ci-bot <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>

* Resolve conflicting dependencies

Signed-off-by: Rupal Mahajan <[email protected]>

* nit

Signed-off-by: Rupal Mahajan <[email protected]>

* Fix build failure

Signed-off-by: Rupal Mahajan <[email protected]>

Signed-off-by: Zhongnan Su <[email protected]>
Signed-off-by: David Cui <[email protected]>
Signed-off-by: Joshua Li <[email protected]>
Signed-off-by: Kévin Masseix <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: kgcreative <[email protected]>
Signed-off-by: Miki <[email protected]>
Signed-off-by: dblock <[email protected]>
Signed-off-by: dblock <[email protected]>
Signed-off-by: @akbhatta
Signed-off-by: Tengda He <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Ryan Bogan <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Zelin Hao <[email protected]>
Signed-off-by: pgodithi <[email protected]>
Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: opensearch-ci-bot <[email protected]>
Signed-off-by: Rupal Mahajan <[email protected]>
Co-authored-by: Zhongnan Su <[email protected]>
Co-authored-by: David Cui <[email protected]>
Co-authored-by: Joshua <[email protected]>
Co-authored-by: Carl Meadows <[email protected]>
Co-authored-by: Kevin Masseix <[email protected]>
Co-authored-by: Uzhinskiy Boris <[email protected]>
Co-authored-by: David Cui <[email protected]>
Co-authored-by: starcatter <[email protected]>
Co-authored-by: Elias Soares <[email protected]>
Co-authored-by: Peter Zhu <[email protected]>
Co-authored-by: Kevin Garcia <[email protected]>
Co-authored-by: Miki <[email protected]>
Co-authored-by: David Cui <[email protected]>
Co-authored-by: Daniel Doubrovkine (dB.) <[email protected]>
Co-authored-by: Anantha Krishna Bhatta <[email protected]>
Co-authored-by: Anantha Krishna Bhatta <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kroussou <[email protected]>
Co-authored-by: Tengda-He <[email protected]>
Co-authored-by: Kawika Avilla <[email protected]>
Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]>
Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]>
Co-authored-by: Ryan Bogan <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Sayali Gaikawad <[email protected]>
Co-authored-by: Zelin Hao <[email protected]>
Co-authored-by: pgodithi <[email protected]>
Co-authored-by: Anirudha (Ani) Jadhav <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>
Co-authored-by: Sean Li <[email protected]>
Co-authored-by: vamsi-amazon <[email protected]>
kavilla pushed a commit to kavilla/dashboards-reports that referenced this pull request Jul 12, 2023
* Replace '%2F' with '/' in relative dates

Signed-off-by: Konstantin Roussou <[email protected]>

* Ensure proper quoting of converted dates in URL

Signed-off-by: Konstantin Roussou <[email protected]>

* Use generic URL decoding

Co-authored-by: Zhongnan Su <[email protected]>

* Use roundUp for toDate

Co-authored-by: Zhongnan Su <[email protected]>

* Make date transformation same as in context_menu_helpers.js

Co-authored-by: Zhongnan Su <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] For csv report, if choose "Today" for time range, it fails to generate report
3 participants