Commit Graph

165 Commits

Author SHA1 Message Date
Iain Sproat 7f2043530e fix(DO 1click): quote boolean to be string (#1906) 2023-12-12 14:25:17 +00:00
Iain Sproat 9555e21c80 fix(helm chart/file import): use objects service instead of server (#1902) 2023-12-08 09:39:52 +00:00
Iain Sproat d753a92a5c feat(frontend-2): deploy fe2 as default on docker-compose environments (#1880)
* feat(frontend-2): deploy to docker-compose environment
- including DigitalOcean 1-click environments
- local docker compose environment deploys an nginx ingress
- builds and publishes docker-compose-ingress via CircleCI
- sets platform variable for ensuring correct runtime is built
- frontend-2 should connect to speckle server directly within the docker compose network

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-11-29 09:16:58 +00:00
Iain Sproat 06dd5b15b5 fix(helm chart): NUXT_PUBLIC_BACKEND_API_ORIGIN must define correct port (#1892) 2023-11-27 21:53:50 +00:00
Iain Sproat cba06684c5 fix(helm chart): ensure protocol is present in environment variable (#1891) 2023-11-27 21:30:58 +00:00
Iain Sproat cb1a09ba88 feat(helm chart): configure NUXT_PUBLIC_BACKEND_API_ORIGIN for frontend-2 (#1890)
* feat(helm chart): configure NUXT_PUBLIC_BACKEND_API_ORIGIN for frontend-2
* Configure network policies
2023-11-27 21:06:07 +00:00
Iain Sproat aa628df5b9 feat(objects server): routes /objects & /api to dedicated server deployments (#1877)
* feat(objects server): routes /objects & /api to dedicated server deployments
- prevents /objects & /api traffic from saturating nodes serving other traffic
- should help improve performance, especially perceived performance via frontend implications
2023-11-27 11:02:21 +00:00
Iain Sproat a96c596443 chore(helm chart): remove unused variable onboardingStreamId (#1860)
- server.onboarding.stream_url is instead used
2023-11-17 09:21:12 +00:00
Gergő Jedlicska 7e5a828027 bump model defaults (#1869) 2023-11-10 18:07:28 +01:00
Iain Sproat ced6eab7b0 feat(models): allow number of models retrieved per page to be configu… (#1868)
* feat(models): allow number of models retrieved per page to be configurable by environment variable
* Default to 100, as this was the existing value, but allow override via helm chart
2023-11-10 12:34:28 +00:00
Iain Sproat 0b0b1275d2 fix(frontend-2): adds liveness probe to helm chart (#1857)
- this ensures that the pod is restarted after a period of time (30s of not responding to http calls to path /)
2023-11-10 12:30:02 +00:00
Gergő Jedlicska 6d47f67be9 fix: helm chart needs to pass in bool as a string (#1863) 2023-11-08 17:38:24 +01:00
Andrew Gartrell 6436473726 fix(helm): resolves mismatched template names in "frontend_2" templates and network policies. (#1840)
* fix(helm): correct names of partials in frontend_2
* fix(helm): align network policy toggles with correct pods

---------

Co-authored-by: Andrew Gartrell <agartrell@assemblyosm.com>
2023-10-30 19:28:52 +00:00
Iain Sproat 7bad5abed6 Revert "MAX_OBJECT_SIZE_MB should be configurable in the fileimport service (#1837)" (#1838)
This reverts commit 4973622c18.
2023-10-26 16:24:18 +01:00
Iain Sproat 4973622c18 MAX_OBJECT_SIZE_MB should be configurable in the fileimport service (#1837)
* fix(helm chart): fileimport service maximum object size should match server
- allow maximum object size to be configurable and to match the server value

* Explicitly provide the environment variable to docker-compose
- this indicates to operators of clusters that this environment variable exists and can be configured
2023-10-26 15:53:55 +01:00
Iain Sproat 8ffb1b6ee9 fix(frontend-2): accepting self-signed certicates is configurable (#1831) 2023-10-23 17:28:43 +01:00
Iain Sproat f568f54266 **Breaking Change**: fix(email): from address must be provided by operator if email is enabled (#1743) (#1745)
This reverts commit 0a795c51f2.
2023-08-01 11:49:08 +01:00
Iain Sproat 0a795c51f2 Revert "**Breaking Change**: fix(email): from address must be provided by operator if email is enabled (#1743)" (#1744)
This reverts commit 3f9dd5f914.
2023-08-01 10:13:54 +01:00
Iain Sproat 3f9dd5f914 **Breaking Change**: fix(email): from address must be provided by operator if email is enabled (#1743)
* fix(email): from address should be an example to be configured by operator

* fix(environment variable): should be 'EMAIL_FROM'
- also uses docker_image_tag of '2', which should be latest in '2' tags

* No sensible defaults, instead validate that it is configured
2023-07-31 17:37:06 +01:00
Kristaps Fabians Geikins 3e5b5b9e30 fix(helm): quoting bust number 2023-07-31 14:46:16 +03:00
Kristaps Fabians Geikins 87a8e7e01d fix(server): env var definitions 2023-07-31 13:56:29 +03:00
Kristaps Fabians Geikins 5d3f1cda39 fix: missing helm chart values for new onboarding stream sync (#1740) 2023-07-31 11:58:22 +03: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
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
Iain Sproat dc4c80885d fix(helm README): add missing description end tag (#1701) 2023-07-13 19:41:46 +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 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
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 2626d9095b fix(docker compose): must use 2.3 as we have features removed in 3 (#1679) 2023-07-10 12:23:27 +01:00
Iain Sproat fad395a292 fix(docker compose): set minimum compose version as '3' (#1677)
- matches the minimum version for our dependencies file ('3')
- healthcheck was introduced in 2.1, and healthcheck.start_period in 2.3, so >=2.3 was minimum
2023-07-10 10:29:10 +01:00
Iain Sproat a0a39bd711 fix(healthcheck): Add a 2 second timeout to the healthchecks (#1674)
* fix(healthcheck): Add a 2 second timeout to the healthcheck http request
* Ensure all error types are caught and the non-zero failure exit code is always 1
2023-07-07 16:22:15 +01:00
Iain Sproat fa36e9e40c feat(docker compose): healthcheck for speckle-server (#1651)
* feat(docker compose): healthcheck for speckle-server
- if speckle server pod becomes unresponsive (but has not yet exited with a non-zero exit code), it will be automatically restarted after 30s.

* feat(1click): add healthcheck to speckle-server container running in DigitalOcean 1click

* fix(1click): remove command statements
- the docker image is responsible for providing these
2023-06-29 15:55:40 +02:00
Dimitrie Stefanescu 802f3c9924 fix(fe2): newsletter changes 2023-06-22 16:35:49 +01:00
Dimitrie Stefanescu 7962d56530 Merge branch 'main' into dim/fe2/newsletter-registration 2023-06-22 15:42:21 +01:00
Iain Sproat be4e840a80 feat(helm): mailchimp is disabled by default 2023-06-19 10:12:58 +01:00
Dimitrie Stefanescu d98f0fa9f9 feat(server): mailchimp helm chart updates 2023-06-16 15:26:32 +01:00
Iain Sproat 5f6a696def fix(helm): the ingress should support the maximum file size (#1638) 2023-06-16 12:08:14 +01:00
dependabot[bot] c878cddee2 build(deps): bump requests in /utils/test-deployment (#1588)
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  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-06-13 11:47:46 +01:00
Iain Sproat ef41620850 feat(helm chart): allow NODE_TLS_REJECT_UNAUTHORIZED to be configured (#1621) 2023-06-13 11:46:13 +01:00
Iain Sproat 811cc3ef9d feat(helm): allow email from address to be configured via helm chart (#1623) - reported by John Shiangoli 2023-06-13 11:45:30 +01:00
dependabot[bot] 2dd79d52a7 build(deps-dev): bump vite from 3.1.0 to 4.x (#1610)
* build(deps-dev): bump vite from 3.1.0 to 4.x

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.1.0 to 3.2.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v3.2.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.2.7/packages/vite)

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

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

* fixing deps

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-06-12 16:18:54 +03:00
Dimitrie Stefanescu 7b037352df Dim/fe2/view changes (#1608)
* Fixed an issue with curves doubling up on geometry and also not being selectable after the last filtering changes. Added the options to make lines transparent. Added lines to diffing

* Points now are diff-able and support proper visual diff-ing. Visual diff filters are now chosen internally by the Differ. Fixed an issue with LineBatch and transparency

* Implemented PLAIN visual diff mode, where all objects keep their original materil, but opacity is manipulated via the diff time. Added API member function to switch between the PLAIN and COLORED visual diff modes

* feat(fe2): diffs wip

* Diffing fixes for instances and blocks. Things seem to be working fine, but there are some caveats. Additionally, some older issues were fixed and diffing now works better on all the rest of the streams

* feat(fe2): de-dupes diff results

* feat(fe2): wip diffs

* feat(fe2): diff transparency goes from 0 to 1

* feat(fe2): diff results display work

* feat(fe2): diff results display work

* feat(fe2): diff panel work

* feat(fe2): diff work: various display changes, coloring toggle, selection logic, selection object display wip

* feat(fe2): diff work: cleaned up old/new version, fixed minor bug in viewer diff time when swapping color mode

* feat(fe2): diff work: implements custom selection logic and selection display for modified objects (they come in pairs now)

* feat(fe2): diff minor fix in selected object display

* feat(fe2): wip; trying to fix diff order to be consistent (ordered by date)

* feat(fe2): wip, broken state right now

* feat(fe2): fixes scrollbars in viewer

* feat(fe2): fixes slider sync with diff time

* feat(fe2): WIP syncs of diffs (threads, refreshes, etc.)

* feat(fe2): diffing polish

* speckle shared fix

* speckle shared fix

* more bugfixes

* linter fixess

* more CI fixes

* fix viewerState serialization

* more linting fixess

* template fixes

* moving tailwind classes to theme package

* migrated away from diffString + simplified postSetup

* moved diff new/old version resolution to use state.resources

* cleanup

* updating url threadId & diff command correctly

* minor improvements to diff state

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-06-08 11:26:19 +03:00
Iain Sproat 5361d64e99 Revert "fix(server helm / dockerfile): remove entrypoint from dockerfile (#1605)" (#1606)
This reverts commit bcea709712.
2023-06-02 16:33:26 +01:00
Gergő Jedlicska bcea709712 fix(server helm / dockerfile): remove entrypoint from dockerfile (#1605)
the server helm deployment only overrides if inspect is needed
2023-06-02 16:01:01 +02:00
Iain Sproat e71f382e6a feat(helm): configure inspect flag for server via helm chart (#1593) 2023-06-01 21:43:22 +01:00
Kristaps Fabians Geikins 2eb5f51af3 feat: dui3 package (#1585) 2023-05-19 16:57:28 +03:00
Iain Sproat b1cbd05683 feat(circleci): adds a new step to ensure Helm Chart documentation is kept in line with Helm Chart (#1574)
* fix(helm): update documentation to match helm chart
* fix(helm): update documentation should not update README in helm repository
* fix(helm): should ensure output schema conforms to prettier requirements
* feat(pre-commit): update helm documentation as part of pre-commit
* feat(circleci): update Helm README when publishing new Helm chart
* fix(pre-commit): need to npm install before using readme generator
2023-05-12 13:26:28 +01:00