Commit Graph

3380 Commits

Author SHA1 Message Date
Gergő Jedlicska bb5778bf2d refactor(server scopes): use constants for streams read scopes 2023-07-26 13:09:34 +02:00
Gergő Jedlicska 6ea7aa8236 refactor roles to shared constants 2023-07-26 11:59:54 +02:00
Gergő Jedlicska 6efe345083 refactor(server graphlq): migrate hasRole directive to hasServerRole 2023-07-26 10:25:00 +02:00
Alexandru Popovici 56058c04a3 Alex/#1678 faster diff (#1688)
* Sped up diffing by several orders of magnitude. Also started on a different more fancy approach to diffing involving boolean operations on object maps

* Finished with boolean version of diffing. Improved the speed of both by 50% on top of the previous speed improvements

* #1690 Completely transparent objects are ignored during picking via a toggle-able flag in renderer
2023-07-26 10:40:47 +03:00
Iain Sproat 37a0fa4094 fix(frontend & frontend-2): x-frame-options header for /authn routes should be DENY (#1719)
* fix(frontend-2): routes to /authn should set x-frame-options header to deny
* fix(frontend1): do not render authn route if in an iframe
* fix(nginx): should log in json format
2023-07-24 15:17:16 +01:00
Iain Sproat 9cb71f0ea3 fix(docker compose): increase healthcheck start period (#1721)
- the healthcheck was commencing before the server had started
- this resulted in the server being incorrectly labelled unhealthy prior to it having had sufficient time to start
- the server was being restarted as a result of this incorrect diagnosis by the healthcheck, resulting in an infinite start->unhealthy->restart cycle
2023-07-24 11:17:53 +01:00
AlexandruPopovici 0da6996a54 FilteringManager no longer caches any render tree instances since they're volatile and it's not needed. This fixes the issues with filtering expections after loading/unloading different streams 2023-07-24 11:58:05 +03:00
AlexandruPopovici e4f2617858 Numeric filters now take the min/max value range in consideration when gathering the filtered objects 2023-07-24 11:52:09 +03:00
Kristaps Fabians Geikins de88eac52a fix(fe2): fsevents error resolved + storybook updated + .env.example updated to be more reasonable (#1715)
* fix: resolved fsevents issue + ensure-tailwind-deps building even when not needed

* fixed storybook

* upgrading storybook

* .env.example update
2023-07-21 11:35:37 +03:00
Kristaps Fabians Geikins d7ff2a85b5 fix(fe2): getting rid of H3 dep in client bundle for logging 2023-07-20 09:11:49 +03:00
Kristaps Fabians Geikins 252ae3c70c feat(fe2): more error logging optimizations 2023-07-19 19:09:41 +03:00
Kristaps Fabians Geikins ee79bfaaeb feat(fe2): improved client logging props 2023-07-19 18:19:48 +03:00
Kristaps Fabians Geikins f1fee3e64f fix(fe2): better object logging 2023-07-19 17:26:06 +03:00
Kristaps Fabians Geikins ed28b66f24 fix(fe2): seq ingestion sending payload that is way too big 2023-07-19 17:19:16 +03:00
Kristaps Fabians Geikins e96241d911 fix(fe-2): structured logging fixes 2023-07-19 16:32:51 +03:00
Kristaps Fabians Geikins a7ba118f3a fix(server): 500 error when Commit.author is null 2023-07-19 14:16:48 +03:00
Kristaps Fabians Geikins 80df259159 feat(server): improved cross-server commit/version download (#1711) 2023-07-19 11:43:06 +03:00
Iain Sproat a7f6fc0aba chore(deps): bump fast-xml-parser 4.2.4 to >=4.2.5 (#1710) 2023-07-18 14:30:53 +01:00
Iain Sproat e0819bb690 chore(deps): bump bl to >=1.2.3 and semver 7.0.0 to 7.5.4 (#1709)
* chore(deps): bump bl >=1.2.3
* sort resolutions in alphabetical order
* chore(deps): bump semver 7.0.0 to 7.5.4
2023-07-18 14:12:35 +01:00
Iain Sproat b8ce7b550b chore(deps): bump xml2js >=0.5.0 (#1708)
* chore(deps): bump xml2js to >=0.5.0
2023-07-18 13:46:27 +01:00
Kristaps Fabians Geikins 81116dbbe3 fix(fe-2): lodash import missing in logger 2023-07-18 15:25:43 +03:00
Kristaps Fabians Geikins 4b2d0074cc eslint fixes 2023-07-18 15:19:42 +03:00
Kristaps Fabians Geikins f61c2e80a8 fix(fe-2): more resilient useLogger 2023-07-18 14:55:17 +03:00
Iain Sproat 0f0215494b chore(deps): resolve word-wrap to a patched fork (#1707) 2023-07-18 12:42:11 +01:00
Iain Sproat e98b25ea55 chore(deps): bump tough cookie >=4.1.3 (#1706)
* chore(deps): bump tough-cookie >=4.1.3
2023-07-18 12:27:25 +01:00
Iain Sproat 4ac3d7477e chore(deps): bump semver to >=5.7.2 (#1705)
* chore(deps): bump semver to 7.5.4

* chore(deps): bump semver to >=4.3.2

* chore(deps): bump semver <7.5.4 to 7.5.4

* chore(deps): bump semver <5.7.2 to >=5.7.2
2023-07-18 12:13:36 +01:00
Iain Sproat fd04a1d055 fix(fileimport): destructuring for...of should use entries() (#1704) 2023-07-13 21:18:51 +01:00
Iain Sproat b9b9f7dee9 fix(fileimport): return timeout error message to server & suppress noisy logging (#1703)
* fix(fileimport): reduce noisiness of logging
* fix(fileimport): return timeout error message to server
2023-07-13 20:52:04 +01:00
Iain Sproat 9c3d595141 fix(fileimport): logging of child process should not be suppressed as debug (#1702)
- log as info, not debug level
2023-07-13 19:55:44 +01:00
Iain Sproat dc4c80885d fix(helm README): add missing description end tag (#1701) 2023-07-13 19:41:46 +01:00
Iain Sproat 8d21a868e3 ci(publish): all publish steps should wait on all required test steps to pass (#1700) 2023-07-13 19:34:38 +01:00
Iain Sproat 87a7397061 chore(fileimport): improve logging (#1697) 2023-07-13 19:11:29 +01:00
Iain Sproat 89e7393944 ci(codecov): base uploader is deprecated (#1698) 2023-07-13 19:08:40 +01:00
Iain Sproat ea6d2c9042 feat(prometheus): add status code and improved path grouping to request duration metrics (#1591)
* replaces expressMonitoring.js
2023-07-13 16:21:16 +01:00
Iain Sproat c3dc3aceb2 fix helm test frontend2 (#1696)
* Quote values
2023-07-13 13:21:47 +01:00
Iain Sproat 54829ec257 fix(helm test): works with frontend2 (#1693) 2023-07-13 13:02:03 +01:00
Iain Sproat 05aa82b3f1 fix(helm): only deploy frontend-2 if enabled in helm chart (#1695)
* fix(helm): only deploy frontend-2 if enabled in helm chart
* Do not deploy frontend if frontend-2 is enabled
2023-07-13 11:34:33 +01:00
Kristaps Fabians Geikins 0d6e971685 fix(fe-2): adding server name to seq logging 2023-07-12 17:08:58 +03:00
Kristaps Fabians Geikins 93bd557256 feat(fe2): client-side error logging to seq (#1691)
* WIP seq-logging

* nuxt plugin + infra adjustments
2023-07-12 16:58:58 +03:00
Iain Sproat 9f0418893f chore(objects upload): improves response when error due to large object size (#1685)
* test(objects upload): adds a test for large object
* print object too large messages in response
* allows object maximum size to be configured
2023-07-12 10:57:59 +01:00
Iain Sproat 9fe6ed3ed0 fix(/objects): should return 400 error to invalid input data format/mechanism (#1664) 2023-07-12 10:35:16 +01:00
Kristaps Fabians Geikins 3999372b68 fix: pino dep missing 2023-07-12 11:55:48 +03:00
Kristaps Fabians Geikins 53c6871813 fix(fe2): apollo link logger missing 2023-07-12 11:21:16 +03:00
Kristaps Fabians Geikins eaf925b387 feat(fe-2): improved logging (#1684)
* feat(fe-2): improved logging

* yarn lock update

* attempted speckle/shared build fix

* helm updates

* Updates documentation for helm chart

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2023-07-12 10:21:08 +03:00
Iain Sproat f0c73012e9 ci(frontend-2): docker image should not be built if github token is not set (#1687) 2023-07-12 00:40:41 +01:00
Iain Sproat 2d0d4b3d9a fix(ip logging): handle ip addresses in header x-original-forwarded-for (#1686) 2023-07-11 23:00:42 +01:00
Iain Sproat 9eaf1227f9 fix(object upload): provide guard of expectation of an array (#1665)
* fix(object upload): provide guard of expectation of an array
* additional logging to understand what is occurring
* adds tests for object not json and object not json array
2023-07-11 16:23:32 +01:00
Iain Sproat fe9f6b1e0f chore(deps): bump fast-xml-parser to 4.2.5 (#1683) 2023-07-11 12:36:43 +01:00
dependabot[bot] d8aae97402 build(deps-dev): bump stylelint from 14.14.0 to 15.10.1 (#1676)
* build(deps-dev): bump stylelint from 14.14.0 to 15.10.1

Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.14.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.14.0...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

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

* fix broken yarn.lock resolution

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2023-07-11 12:36:18 +01:00
Iain Sproat 991c8900b9 chore(deps): bump tough-cookie to 4.1.3 (#1682) 2023-07-11 12:27:47 +01:00