Commit Graph

148 Commits

Author SHA1 Message Date
jamesread 76035a56ab chore: fix typo in test 2025-12-01 22:02:23 +00:00
jamesread a2410fc9d6 feat: Entity directories, inline actions, and all entity fields are now available in the entity details view 2025-12-01 21:48:27 +00:00
jamesread 32fea4ec30 feat: Dashboard configs can now self-contain their entities, and actions all in one neat file 2025-12-01 16:15:08 +00:00
jamesread e58677e12c feat: inline actions on dashboards 2025-12-01 12:29:41 +00:00
jamesread fe8ecf49eb Merge branch 'next' of github.com:OliveTin/OliveTin into next 2025-12-01 00:24:13 +00:00
James Read 7282d7a9f6
Feat (#763) mre output in 3k (#771) 2025-12-01 00:24:03 +00:00
jamesread a163347992 feat: Sidebar now closes when clicking outside of it (#714) 2025-12-01 00:23:03 +00:00
jamesread c59bcc62db chore: fix sleep action test 2025-12-01 00:15:01 +00:00
jamesread caaf37e091 feat: Most Recent Execution output in dashboard 2025-12-01 00:02:42 +00:00
James Read 6bc3a7bf1f
Merge branch 'next' into dependabot/npm_and_yarn/integration-tests/glob-10.5.0 2025-11-30 16:55:16 +00:00
jamesread dca8e04518 fix: #765 Page title was not being set 2025-11-29 21:16:23 +00:00
dependabot[bot] 4686b044e7
chore(deps-dev): bump glob from 10.4.5 to 10.5.0 in /integration-tests
Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.5 to 10.5.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-27 01:10:24 +00:00
jamesread 0046ae427d chore: fix broken integration test for fieldset markup 2025-11-27 00:37:15 +00:00
jamesread 3d763a84df fix: Various oauth issues 2025-11-22 22:39:05 +00:00
jamesread d05ea54f8d fix: (#718) OAuth Login Buttons not redirecting 2025-11-22 21:13:19 +00:00
jamesread 458f50a6ae chore: colocate tests 2025-11-22 19:24:51 +00:00
jamesread 49b8c2c4f2 chore: fix broken datetime test 2025-11-22 10:43:56 +00:00
jamesread 5bf2d6935b chore: dep update 2025-11-22 08:36:38 +00:00
jamesread 15390f7b80 fix: #721 Datetime args not being rendered 2025-11-22 08:34:53 +00:00
jamesread 3df22f2ccb Merge branch 'feat-add-language-support' of github.com:OliveTin/OliveTin into feat-add-language-support 2025-11-10 22:50:58 +00:00
jamesread 1140453f30 fix: broken integration test after fieldsets changes 2025-11-10 22:50:42 +00:00
jamesread e7d4747727 chore: fix broken integration test after fieldsets changes 2025-11-10 20:52:49 +00:00
jamesread 58593c6f04 doc: Improve HAProxy example 2025-11-06 23:44:00 +00:00
jamesread 7a1c4d3efa fix: Test authRequireGuestsToLogin redirect 2025-10-30 11:58:51 +00:00
jamesread c89979ddb2 fix: Wait for login UI to appear in authRequireGuestsToLogin test 2025-10-30 11:05:14 +00:00
jamesread 961ddac193 fix: Duplicate ACL rendering bug in UserControlPanel 2025-10-30 09:17:55 +00:00
jamesread d21f06e555 fix: Require guests to login 2025-10-30 02:13:40 +00:00
jamesread a551589840 feat: #428 Initial support for include directive in config files 2025-10-27 15:32:30 +00:00
jamesread fcd3ccc59a fix: authRequireGuestsToLogin config, and config loading improvements 2025-10-27 14:56:32 +00:00
jamesread 8686a5629e fix: User Information panel and login/logout flow 2025-10-26 13:42:06 +00:00
jamesread 43cfe41378 fix: Issues with login form and local auth 2025-10-26 13:24:22 +00:00
jamesread 91dfe2437e fix: increase integration test timeout 2025-10-11 00:56:56 +01:00
jamesread b330fbd1a5 fix: all broken integration tests 2025-10-11 00:45:41 +01:00
dependabot[bot] 60c0c5db27
build(deps-dev): bump tmp from 0.2.3 to 0.2.4 in /integration-tests (#638)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Read <contact@jread.com>
2025-09-02 20:56:57 +01:00
dependabot[bot] d4fe9eaa79
build(deps): bump form-data from 4.0.0 to 4.0.4 in /integration-tests (#626)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 06:19:32 +00:00
James Read 54447774d1
fix: #616 - JSON parsing of ints to float64 (#617) 2025-07-12 22:02:50 +00:00
James Read 433456986d
fix: #603 - Dashboards that have fieldsets without entities are hidden (#609) 2025-06-22 21:09:03 +00:00
James Read 1357eae9b8
fix: Empty dashboards are hidden (#599) 2025-06-06 15:11:02 +00:00
James Read c19428f6b6
feature: Policy support - allow hiding daignostics and logs (#569) 2025-04-19 23:05:49 +00:00
James Read ff31abe66c
refactor: Project directories (#541) 2025-03-22 01:06:59 +00:00
James Read 270f20ec75
refactor: Moved proto files into own folder (#537) 2025-03-21 02:41:41 +00:00
dependabot[bot] 1275934ac1
build(deps): bump axios from 1.7.4 to 1.8.4 in /integration-tests (#534)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Read <contact@jread.com>
2025-03-20 23:00:03 +00:00
dependabot[bot] 906b6c5783
build(deps): bump serialize-javascript and mocha in /integration-tests (#513)
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 6.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together.


Updates `serialize-javascript` from 6.0.0 to 6.0.2
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v6.0.0...v6.0.2)

Updates `mocha` from 10.4.0 to 10.8.2
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.4.0...v10.8.2)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-18 17:14:25 +00:00
James Read 9117163316
bugfix: Login form was not displayed if only OAuth2 was configured (#457)
* bugfix: Login form was not displayed if only OAuth2 was configured

* bugfix: npe in AuthOAuth2Provider

* test: Try and fix flakey tests
2024-10-27 08:56:28 +00:00
James Read ee26fe6b50
ci github int tests settle (#459)
* ci: Allow more time for GitHub tests to settle

* ci: Run build-snapshot on any push, but dont dupe with PR
2024-10-26 22:10:33 +00:00
dependabot[bot] c9095b4d67
build(deps): bump axios from 1.6.8 to 1.7.4 in /integration-tests (#387)
Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.8...v1.7.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-14 22:14:35 +00:00
James Read fab0264d9b
feature: Cleanup execution dialog, and log display status. (#378)
* feature: Cleanup execution dialog, and log display status.

* fmt: Remove empty block

* cicd: Use ActionStatusDisplay in test

* bugfix: missed promise

* bugfix: missed promise

* bugfix: Didnt return getText on ActionStatusDisplay
2024-08-08 20:46:46 +00:00
wushuzh 6958445f83
Use windows compatible cmds and wait more time (#374)
* bugfix: change action request cnt type as Counter

* bugfix: fix type of act req count and typo

* bugfix: change to correct type of act req in TC

* bugfix: use Windows compatible cmds for test

* bugfix: wait more for slow test env

---------

Co-authored-by: wushuzh <wushuzh@outlook.com>
2024-08-06 13:43:16 +00:00
wushuzh d9e921950f
bugfix: fix type of the prometheus metric act req as count (#370)
* bugfix: change action request cnt type as Counter

* bugfix: fix type of act req count and typo

* bugfix: change to correct type of act req in TC

---------

Co-authored-by: wushuzh <wushuzh@outlook.com>
2024-07-26 08:41:42 +00:00
wushuzh ffcd19e748
bugfix: use cross-platform module filepath to set usedConfigDir (#369)
* bugfix: use filepath to set correct configDir in Windows

* test: improve unittest rep folder creation

---------

Co-authored-by: wushuzh <wushuzh@outlook.com>
2024-07-22 09:33:56 +00:00
dependabot[bot] 3d9cb621dd build(deps-dev): bump braces from 3.0.2 to 3.0.3 in /integration-tests
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 00:34:34 +01:00
dependabot[bot] eb4f28dfda
build(deps-dev): bump ws from 8.16.0 to 8.17.1 in /integration-tests (#335)
Bumps [ws](https://github.com/websockets/ws) from 8.16.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 05:25:03 +00:00
James Read c82beb61a9
feature: Vastly improved logs and tests for killing actions (#330)
* bugfix: Sleep testing

* feature: Vastly improved testing for killing actions (#328)

* cicd: Add find-flakey-tests target

* cicd: Better debugging for domStatus

* cicd: Debug flakey test

* cicd: Debug flakey test

* cicd: Is cors messing with killaction?

* cicd: Slip broken test in CI

* cicd: Skip broken test in CI

* cicd: Skip broken test in CI
2024-06-03 16:19:15 +00:00
jamesread 447ad36d4d cicd: update package-lock.json 2024-05-06 23:00:05 +01:00
James Read 638e5b7fe1
doc: fix default licenses in package.json (#304) 2024-05-01 07:38:47 +00:00
James Read 318d4fe0d0
cicd: Reduce test flake and add lots more debugging info (#290) 2024-04-24 15:22:15 +00:00
James Read a3aee3603f
More screenshots link (#289)
* More screenshots link

* bugfix: wip

* cicd: Test flakey tests

* cicd: more tests

* cicd: more tests

* cicd: Try a 10s timeout

* cicd: Better debugging of process start / stop

* cicd: Better debugging of process start / stop

* cicd: Possibly unflaky tests
2024-04-23 20:54:54 +00:00
James Read dde8a9cbb6
cicd: More test coverage that would have caught recent issues (#287)
* cicd: More test coverage that would have caught recent issues

* bugfix: test flake

* bugfix: test flake

* cicd: Reduce test flake

* cicd: more test coverage

* depbump: testing packages
2024-04-22 21:40:48 +00:00
James Read 7dd1d0a7fc
Markup optimisations (#258)
* feature: Cleanup markup for accessibility

* feature: Cleanup markup for accessibility

* feature: Cleanup markup for accessibility

* feature: Cleanup markup for accessibility

* bugfix: Broken test

* feature: Cleanup markup for accessibility
2024-04-02 21:58:23 +00:00
dependabot[bot] 2b7bdffe41
build(deps): bump follow-redirects in /integration-tests (#248)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-24 21:32:11 +00:00
James Read 522e5bb129
cicd: Flakey test on dropdowns (#241) 2024-03-05 17:23:17 +00:00
jamesread ea663f8286 cicd: Vagrant, need /opt/OliveTin-configs created 2024-02-25 23:04:31 +00:00
jamesread 42535feadf feature: Hide actions in sidebar if it is empty 2024-02-23 22:43:52 +00:00
jamesread b8f23ce80c cicd: fix broken test, hopefully 2024-02-23 17:19:36 +00:00
jamesread 381bf59fbd feature: The mega dashboards & entities commit. 2024-02-22 23:16:43 +00:00
jamesread c082a5438a cicd: wip 2024-02-09 23:47:27 +00:00
jamesread 5adab1091f cicd: Utility to get the latest snapshot 2024-02-09 23:01:24 +00:00
jamesread 7dce77adcf cicd: These are just testing certs, but they do not need to be in git 2024-02-09 16:17:42 +00:00
James Read 917a0469d8
Proxy integration tests (#228)
* cicd: Proxies included in integration testing

* cicd: proxy configs for integration testing
2024-02-09 16:12:25 +00:00
James Read 6892a679ee
feature: Dashboards, at long last (#224)
* feature: Dashboards, at long last

* fmt: action button IDs now use hypens. Removed ;
2024-02-07 08:54:22 +00:00
dependabot[bot] 07cdf378f6
build(deps): bump follow-redirects in /integration-tests (#214)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 08:35:50 +00:00
James Read 4ce5b0e645
cicd: Improve tests (#205)
* cicd: make it easier to grab snapshot builds

* cicd: Better support for running tests against VMs

* Update multipleDropdowns.js
2023-12-28 22:04:47 +00:00
dependabot[bot] 15c8abf3d6
build(deps): bump axios and wait-on in /integration-tests (#196)
Bumps [axios](https://github.com/axios/axios) to 1.6.2 and updates ancestor dependency [wait-on](https://github.com/jeffbski/wait-on). These dependencies need to be updated together.


Updates `axios` from 0.27.2 to 1.6.2
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v1.6.2)

Updates `wait-on` from 7.0.1 to 7.2.0
- [Release notes](https://github.com/jeffbski/wait-on/releases)
- [Commits](https://github.com/jeffbski/wait-on/compare/v7.0.1...v7.2.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
- dependency-name: wait-on
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 11:53:11 +00:00
James Read 2ada67be04
Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170)
* cicd: Move cypress to selenium+mocha

* cicd: with is not supported unless using an a container

* cicd: relative path to mocha

* cicd: the integration-tests runner now starts/stops OliveTin

* cicd: Knowing the CWD helps debugging

* cicd: Headless chrome

* cicd: wait for integration-test server to be started

* fmt: Mostly fix isses from eslint

* cicd: #169 - Test multiple combo boxes

* fmt: let should be const

* cicd: Remove cypress entirely
2023-10-09 21:44:29 +00:00
jamesread 020281c1e6 cicd: integration tests against main config 2023-10-04 23:54:34 +01:00
dependabot[bot] e93c62b06d
build(deps): bump @cypress/request and cypress in /integration-tests (#159)
Bumps [@cypress/request](https://github.com/cypress-io/request) to 3.0.1 and updates ancestor dependency [cypress](https://github.com/cypress-io/cypress). These dependencies need to be updated together.


Updates `@cypress/request` from 2.88.12 to 3.0.1
- [Release notes](https://github.com/cypress-io/request/releases)
- [Changelog](https://github.com/cypress-io/request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/request/compare/v2.88.12...v3.0.1)

Updates `cypress` from 12.17.4 to 13.2.0
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.17.4...v13.2.0)

---
updated-dependencies:
- dependency-name: "@cypress/request"
  dependency-type: indirect
- dependency-name: cypress
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Read <contact@jread.com>
2023-09-26 21:30:20 +00:00
jamesread 822327edfc Now works in insecure contexts 2023-09-24 23:29:51 +01:00
jamesread 3ea14f1353 Merge branch 'main' of github.com:OliveTin/OliveTin 2023-09-23 06:43:52 +01:00
jamesread 7dbc077f76 cicd: Cypress upgrade 2023-09-23 06:42:20 +01:00
jamesread 11dad79794 fmt: Added pre-commit, fixed a few lint errors, npn updated webui 2023-08-24 12:17:55 +01:00
dependabot[bot] 5d94de418b
build(deps): bump tough-cookie and @cypress/request (#154)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) and [@cypress/request](https://github.com/cypress-io/request). These dependencies needed to be updated together.

Updates `tough-cookie` from 2.5.0 to 4.1.3
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v2.5.0...v4.1.3)

Updates `@cypress/request` from 2.88.10 to 2.88.12
- [Release notes](https://github.com/cypress-io/request/releases)
- [Changelog](https://github.com/cypress-io/request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/request/compare/v2.88.10...v2.88.12)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
- dependency-name: "@cypress/request"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 20:29:49 +00:00
jamesread 81934355ed cicd: Vagrant fedora update 2023-01-02 10:49:20 +00:00
jamesread f9b6d60ca8 cicd: integration test for hidden footer 2022-06-10 19:25:23 +01:00
jamesread 4f708648e8 cicd: dep bump integration-tests 2022-04-18 09:19:39 +01:00
jamesread 42cde3ba70 security: CVE-2021-44906 npm minimist 2022-04-05 11:13:46 +01:00
Russell Jones 5bd90adc1f bugfix: Rename "HideNavigation" to "ShowNavigation" 2022-03-22 20:04:27 +00:00
jamesread 420105ec99 fmt: css ids/classes to use kebab-case 2022-02-23 15:29:56 +00:00
jamesread 10e380a03b cicd: dep bump in integration-tests 2022-02-23 14:49:56 +00:00
jamesread acaf28e200 cicd: Fix broken unit test for hidden nav 2022-01-06 00:00:54 +00:00
jamesread 8e3112ee16 Vagrant testing support 2021-11-17 13:29:10 +00:00
jamesread 4b2ef44959 remove old target 2021-11-02 19:34:32 +00:00
jamesread b97fa9ed4a configs path 2021-11-02 17:14:18 +00:00
jamesread 08f32627fc Consolidated configs 2021-11-02 16:27:53 +00:00
jamesread 666d29cd03 Consolidated configs 2021-11-02 16:27:47 +00:00
jamesread 28f00cfa98 half a second delay so there is time to fetch webuisettings 2021-10-18 13:26:05 +01:00
jamesread 802b29f77a config filename 2021-10-18 12:17:07 +01:00
jamesread b72e351c69 cypressRun 2021-10-18 08:48:58 +01:00
jamesread 636af5df90 so tests stay with branches and code 2021-10-18 06:59:28 +01:00