Commit Graph

3014 Commits

Author SHA1 Message Date
dependabot[bot]
4368f2fdc8 chore: bump @commitlint/cli from 11.0.0 to 12.1.4 in /striker-ui
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint) from 11.0.0 to 12.1.4.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.1.4)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
7b4acd07ad chore: bump @types/react from 17.0.3 to 17.0.11 in /striker-ui
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.3 to 17.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
0e160e582f chore: bump eslint-plugin-react from 7.22.0 to 7.24.0 in /striker-ui
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.22.0 to 7.24.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.22.0...v7.24.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
1c5c073a19 chore: bump eslint-plugin-import from 2.22.1 to 2.23.4 in /striker-ui
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.4.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
ffa394b30f chore: bump @typescript-eslint/parser in /striker-ui
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.17.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
e1429d8c7a chore: bump prettier from 2.2.1 to 2.3.1 in /striker-ui
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
f7e03939e1 chore: bump @types/react from 17.0.3 to 17.0.9 in /striker-ui
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.3 to 17.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
a1172d7971 fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:48:10 -04:00
dependabot[bot]
265cc5d91e fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:48:10 -04:00
dependabot[bot]
65f461132f fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:48:09 -04:00
dependabot[bot]
d4681cf80f fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:39:36 -04:00
dependabot[bot]
a2ad0c26fb fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:39:36 -04:00
つばめ
ede3476b55
Merge pull request #120 from Tsu-ba-me/issues/118-correct-webui-build
Web UI: correct build process to remove build-time download and unnecessary rsync
2021-06-09 16:22:49 -04:00
Tsu-ba-me
81d00fd780 build(striker-ui): remove distclean-local and maintainer-clean-local; already implicitly triggers clean-local 2021-06-09 13:45:09 -04:00
Tsu-ba-me
77b404102f build(striker-ui): remove unused build dependencies (npm, rsync) 2021-06-09 13:42:07 -04:00
Tsu-ba-me
444a901f53 build(striker-ui): re-include all usable source files in release tarball 2021-06-09 12:23:16 -04:00
Tsu-ba-me
f8b8a6186e build(striker-ui): remove git calls from clean hooks 2021-06-09 12:23:16 -04:00
Tsu-ba-me
cf5abee7bd build(striker-ui): rename target clean->clean-build to avoid conflict with default clean 2021-06-09 12:23:16 -04:00
Tsu-ba-me
49d896037a build(striker-ui): don't use build output directory path as target; use its name 2021-06-09 12:23:16 -04:00
Tsu-ba-me
115c3557d2 build(striker-ui): add blank out target 2021-06-09 12:23:16 -04:00
Tsu-ba-me
3a515b7392 build(striker-ui): don't preserve permissions when copying from source 2021-06-09 12:23:16 -04:00
Tsu-ba-me
16e6fdfdd0 build(striker-ui): break down build process to enable proper cleaning 2021-06-09 12:23:16 -04:00
Tsu-ba-me
281e9f850d build(striker-ui): change status message before 'npm run build' 2021-06-09 12:23:16 -04:00
Tsu-ba-me
79d1622f93 chore: rebuild web UI 2021-06-09 12:23:16 -04:00
Tsu-ba-me
81cb1a10f9 build(striker-ui): include minimal build output files into repo 2021-06-09 12:23:16 -04:00
Tsu-ba-me
a4d0bcee5f build(striker-ui): add maintainer-clean-local to remove node modules 2021-06-09 12:23:16 -04:00
Tsu-ba-me
9fc2facf35 build(striker-ui): add default API URL in .env 2021-06-09 12:23:16 -04:00
Tsu-ba-me
d0048ae235 build(striker-ui): remove web UI build steps from 'make all' 2021-06-09 12:23:16 -04:00
Tsu-ba-me
0d143df8a8 build(striker-ui): only include build output in make dist 2021-06-09 12:23:16 -04:00
Fabio M. Di Nitto
adc921bf44
Merge pull request #117 from Tsu-ba-me/issues/116-resolve-vulnerabilities
Resolve potential vulnerabilities in `postcss` and `browserslist` node modules
2021-06-09 17:13:11 +02:00
Josue
f2ef6123b4 chore: include package-lock latest changes 2021-06-09 10:33:46 -04:00
Josue
ffc315e2dc chore: commit husky changes to .gitignore file 2021-06-09 10:33:46 -04:00
Josue
b879377800 chore: upgrade nextjs and fix moderate vulnerabilities 2021-06-09 10:33:46 -04:00
digimer-bot
63fc8aa23f
Merge pull request #122 from ClusterLabs/anvil-tools-dev
* Added more logging while chasing a function test bug.
2021-06-09 00:36:25 -04:00
Digimer
601adbd6d5
Merge branch 'master' into anvil-tools-dev 2021-06-08 23:57:33 -04:00
Digimer
19c41c9171 * Added more logging while chasing a function test bug.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-08 23:56:48 -04:00
digimer-bot
1c545bda8d
Merge pull request #121 from ClusterLabs/anvil-tools-dev
* This commit lowers the logging levels of some debug log entries. It…
2021-06-08 22:04:26 -04:00
Digimer
0f43961568 * This commit lowers the logging levels of some debug log entries. It's to help diagnose occassional function test failures with an unknown source.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-08 21:57:51 -04:00
digimer-bot
2cace641fd
Merge pull request #119 from ClusterLabs/anvil-tools-dev
* This contains a fairly major change to how time stamps are handled.…
2021-06-08 16:01:59 -04:00
Digimer
fbef6be298
Merge branch 'master' into anvil-tools-dev 2021-06-08 15:29:02 -04:00
Digimer
daca6c887b * This contains a fairly major change to how time stamps are handled. All INSERT and UPDATE calls now generate a new timestamp via Database->refresh_timestamp, instead of using 'sys::database::timestamp'. This was done in responce to finding a bug where tables in a database differed in both counts of public and private schemas (ip_addresses table, specifically) that failed to resync because the timestamps were re-used too often.
* WIP - Continuing work on the new anvil-manage-server tool.
* Updated Database->get_anvils() to load information on the files available on each Anvil! system.
* Updated Database->insert_or_update_network_interfaces() to no longer take the 'timestamp' parameter.
* Removed all logging from Database->refresh_timestamp() to speed it up, given how often it will be called now.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-08 15:23:15 -04:00
Digimer
cb1aea53e7
Merge pull request #115 from ClusterLabs/build-fix
Add workaround for rsync usage
2021-06-07 15:52:39 -04:00
Fabio M. Di Nitto
fd2351a189 Add workaround for rsync usage
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2021-06-07 17:04:03 +02:00
digimer-bot
4ad6047cbd
Merge pull request #114 from ClusterLabs/anvil-tools-dev
* Reworked the anvil-join-anvil job parsing to help diagnose occassio…
2021-06-06 02:04:49 -04:00
Digimer
5b4bfa747c * Reworked the anvil-join-anvil job parsing to help diagnose occassional faults. Also changed a fatal parse error to one that allows the run to be retried.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-06 01:54:28 -04:00
digimer-bot
0aac9ead8c
Merge pull request #113 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-06-06 00:10:22 -04:00
Digimer
930b0b6729
Merge branch 'master' into anvil-tools-dev 2021-06-06 00:05:15 -04:00
Digimer
96fffb0b96 * Finished updating ocf:alteeve:server to no longer require a database connection. To do this, and still be able to track live migration times, the Server->migrate_virsh() method now writes out the server name and migration time to a /tmp/anvil/migration-duration.<server_name>.<unix_time> file. This file is checked for by the scan-server resource agent and, when found, is parsed and the migration duration is recorded, then the file is purged.
* Updated anvil-daemon to have a new function called "handle_special_cases" called during startup that does any weird bug mitigation required. For now, this is used to mitigate against rhbz#1961562, though certainly it will be used for other reasons later.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-06 00:01:11 -04:00
Digimer
e15c1651ed * Fixed a bug with deleting bad keys where jobs to delete keys on non-dashboard machine wasn't being assigned to the proper target machine.
* Fixed a bug with anvil-manage-keys where a state_uuid entry recorded on one database may not be read from a machine reading from another database.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-05 19:07:25 -04:00
Digimer
16c20ae69c * Updated Tools->catch_sig() to use return code 0 instead of 255 so that systemd doesn't think our daemons failed on stop.
* Updated Cluster->parse_cib() to not require a database connection (part of the work to make ocf:alteeve:server run without a DB)
* WIP: Continuing work on the ocf:alteeve:server RA to run without database connections.
* Updated the scancore daemon to explcitely check that all scan agent schemas are loaded in all databases on startup. This is to resolve resync issues on rebuilt strikers that may not yet have some schemas loaded when a DB resync runs.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-05 14:32:26 -04:00