Commit Graph

8 Commits

Author SHA1 Message Date
dependabot[bot]
addbb2a37f Bump puppeteer from 21.9.0 to 22.0.0 in /graylog2-web-interface (#18167)
* Bump puppeteer from 21.9.0 to 22.0.0 in /graylog2-web-interface

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 21.9.0 to 22.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.9.0...puppeteer-v22.0.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* Adjusting console message logging.

* Fixing up logging, adding route for favicon.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dennis Oelkers <dennis@graylog.com>
2024-02-19 15:27:20 +01:00
Dennis Oelkers
8f228ce4c1 Setting up Preflight UI component structure. (#15192)
* Adding sawmill.

* Adding initial preflight UI.

* Bumping `sawmill`.

* Bumping `sawmill` to `v1.0.4`.

* Removing duplicate `div#app-root`.

* Avoid creating `div#app-root` programmatically.

* Adding license headers.

* Reverting changes to yarn lockfile.

* Adding target container to production build check.

* Including application root container in production template.

* Fixing usage of spacings in `ThemeWrapper`.

* Suppressing linter hint.
2023-04-12 14:58:33 +02:00
Dennis Oelkers
494e6d2ec1 Removing usage of custom headless shell for build asset smoke test. (#12478)
* Removing download of v72 headless shell.

* Remove code for using custom headless shell.
2022-04-22 17:05:59 +02:00
Patrick Mann
2c703458d4 Okta on-prem: mock the /active-backend/type endpoint 2021-05-26 12:20:26 +02:00
Bernd Ahlers
f35df42e16 Change license to SSPL (#9504)
See the following links for more details:

- https://www.graylog.org/post/graylog-announces-4-0-release-of-its-log-management-platform
- https://www.graylog.org/post/graylog-v4-0-licensing-sspl
2020-11-16 18:41:59 +01:00
dependabot-preview[bot]
bb75b459a0 Bump html-webpack-plugin from 3.2.0 to 4.2.0 in /graylog2-web-interface/packages/graylog-web-plugin (#7862)
* Bump html-webpack-plugin

Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 3.2.0 to 4.2.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v3.2.0...v4.2.0)

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

* Updating html-webpack-plugin to 4.2.0

* Simplifying index.html template.

* Extracting and reusing chunk sorter.

* Removing `chunks` field and sorting based on filename.

* Updating yarn lockfile.

* Adapting checkProductionBuild.js as well.

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Dennis Oelkers <dennis@graylog.com>
2020-06-10 17:17:09 +02:00
Dennis Oelkers
158f97f1eb Changing default build directory for production web asset health check. (#5937)
In #5853 the default location for web assets was changed. Unfortunately,
 #5894 was merged before the required changes to adapt to this were
incorporated.

This PR is changing the default build directory from `build` to
`target/web/build`.
2019-05-13 13:54:32 +02:00
Dennis Oelkers
cabf21ce0b Checking health of production build assets during compilation. (#5894)
* Adding basic script to check health of production assets.

* Improving error handling.

* Loading script assets from HTML, not explicitly.

Loading assets explicitly using `addScriptTag` was never firing the
`window.load` event.

* Load plugins from module.json passed via arguments.

* Returning proper exit code based on results.

* Adding yarn task to check production asset health.

* Adding task checking production asset health to maven run.

* Bomb out in case of bootstrapping errors.

* Downloading headless_shell and using it if on linux.

* Correcting prop name.

* Removing console.log statement.

* Stub simple backend, wait for networkidle0.

Before this change, the script was neither waiting for the page to
finish network requests and was not stubbing the simplest parts of the
backend api. This lead to different behavior based on timing
differences. On one machine it returns after loading the page
successfully, on other machines it was already trying to query the
backend (unsuccessfully).

This change is now:

  * Adding a simple backend api stub on a random port, responding to the
root uri and the session api
  * Waiting for networkidle0 (no network requests for 500ms)

* Fixing linter hints.
2019-05-13 11:12:10 +02:00