Commit Graph

187 Commits

Author SHA1 Message Date
Iain Sproat 5b95ddbefc feat(rate limiter): add custom rule for GET /auth/local and reduce allowance for all GET /auth/* rate limit rules (#2035) 2024-02-12 11:15:05 +00:00
github-actions[bot] 8185683b4a Update image digests (#1966)
Signed-off-by: specklebot <devops@speckle.systems>
Co-authored-by: specklebot <devops@speckle.systems>
2024-02-09 01:13:48 +00:00
Iain Sproat b6b37921b9 fix(helm-chart/preview-service): revert puppeteer version and add puppeteer cache as empty dir volume to helm chart (#2018) 2024-02-06 18:38:48 +00:00
andrewwallacespeckle ff6433128a FE2 - Embedding (#1979)
* Add Dialog

* Add options to embed dialog

* Min Height of Clipboard Input multiline to 3 lines

* Check for visibility

* Link to change access of project

* Rename to guided mode

* Change icon when user clicks copy button

* Update Menu styles based on agi feedback

* Update graphql.ts

* Embed Options as hashState

* Auto grow Clipboard Input

* embed state and more options

* Tidyups

* Footer only shows when !embedOptions.isTransparent

* Add auto/manual Load

* Add Pre setup component

* WIP Button Group mobile

* Updates around manual load

* Viewer Share nav

* Add embed dialog to project page

* Minor fixes

* Check for federated

* Responsive Tidyups

* Responsive Fixes. Fix console issues

* Add Alert to Version Embed

* Disable Zoom

* GQL updates

* Comment Slideshow

* GraphQl changes

* Fix visibility

* Build fix

* Revert "Build fix"

This reverts commit 0e706cbd9fde78204032bb1ec4421b1742d023ac.

* remove unneeded change, revert yarn.lock

* Test Commit

* Remove commit test

* Fix build

* Update Tailwind. Add base url env

* fix for portal scope issue

* useLogger

* useLogger

* chore(fe2): include NUXT_PUBLIC_BASE_URL in deployment manifests

* lazy load optimization

* lint fixes

* Updates

* Re-add guided open Dialog sections

* Prevent login popup on embed

* Tidy up mobile combined button group

* Tidy up embed Dialogs

* Small styling issues

* Update scrolling in embed dialog

* Move selection info when embed

* Testing fixes

* Discuss in Speckle

* Responsive Dialog Changes

* Fix bug

* WIP Manual Load

* Fix nuxt errors

* Fix nuxt logger issue

* Fix embed dialog overflows

* New Dialog layout

* Responsive Breakpoint change

* Preview Image

* Fix bug with dialogSection

* Hide selection info on mobile when thread is open

* Footer Model Name

* Overflow on ClipboardInput

* Style fixes

* Tidy ups

* Responsive updates

* Responsive fixes

* Update button

* Changes from testing

* Fix embed height with footer

* Fix Dialog Section

* Fixes from testing

* Move "reset filters" on embed

* Small fixes

* Updates from CR 1

* CR Comments 2

* Updates from CR

* Add deserializeEmbedOptions helper

* DialogSection changes

* Revert changes in TextArea

* Updates from CR

* Only check for noscroll in watch

* Update useRoute

* Comment Slideshow mode

* Changes from testing

* Fix mobile share button

* onMounted warn fixes

* Updates from testing

* Remove nesting of ManualLoad

* Keep Speckle text on mobile

* minor cleanup & bugfixes

* Add target prop to Logo

* navbar flash fix + more cleanup

* Fix urls

* Footer Logo changes

* Remove viewer-transparent from layout

* Add Reply in Speckle

* Remove Anchored Points from embed

* Final changes pre CR

* Fix Anchored Points

* Update packages/frontend-2/components/project/model-page/dialog/embed/Embed.vue

Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>

* Fixes from CR

* Updates from cr

* Changes WIP

* Fix for dialog opening

* Changes from PR

* Updates to check embed in activity

* fix(fe2): project settings dialog error

* Make Team open section on click of "Manage"

* Fixes from merge

* Changes from cr

* Compare old to new in watch

* Fix logo in footer of embed

* Fixes from merge

* Fix build. Fix lazy load

* Updates from Benjamin

* Fix transparent bg

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>
2024-02-06 10:38:22 +00:00
Gergő Jedlicska 9628a8a516 Gergo/configurable email digest (#2006)
* feat: add weekly digest feature flag

* feat: add weekly digest feature flag to helm chart
2024-02-02 15:25:12 +01:00
Iain Sproat a92ee0f5b6 fix(fileimport-service): max object size should match objects service (#2004) 2024-02-01 13:52:53 +00:00
Iain Sproat 185d84530e ci(docker compose & helm chart): test deployment configuration in CI (#1881) 2024-01-30 15:21:18 +00:00
Iain Sproat c979c97879 chore(helm chart test): tests can be run in environment with self-signed certificate (#1997)
- introduces a VERIFY_CERTIFICATE environment variable
2024-01-26 16:28:27 +00:00
Iain Sproat c16c5be688 fix(helm chart): helm test manifests should not be rendered if test is not enabled (#1996) 2024-01-26 15:55:23 +00:00
Iain Sproat cf67a23a13 chore(helm chart): cpu resources for server & objects increased (#1993) 2024-01-25 22:00:25 +00:00
Iain Sproat e3fe534266 @iainsproat fix(helm chart): fe2 now needs access to secret holding redis connection string (#1980) 2024-01-22 13:19:15 +00:00
Iain Sproat 670a9ca3c4 fix(helm chart): network policy egress (#1978)
- was nested incorrectly
2024-01-22 10:23:48 +00:00
Kristaps Fabians Geikins c3f13d4e66 fix: multiple FE2 and server speed improvements, mainly focusing on the project page (#1975)
* introduced app cache & optimized /downloads

* added redis cache storage

* optimizing latest thread retrieval

* more dataloaders

* undid debug stuff

* deployment changes

* minor change to reqTouched

* connectorTag parallel resolution

* added redis key prefix

* gqlgen cleanup

* Amend network policy to allow egress to Redis

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-01-22 11:08:53 +02:00
Iain Sproat 8180e4f8d8 chore(helm chart/ingress): speckle-objects handle /preview endpoint (#1946) 2024-01-09 12:45:51 +00:00
github-actions[bot] 36f749b24a chore(deps): bump image digests (#1939)
* fix(github action): use correct format for author & committer git signing

* Update image digests

Signed-off-by: specklebot <devops@speckle.systems>

---------

Signed-off-by: specklebot <devops@speckle.systems>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: specklebot <devops@speckle.systems>
2024-01-05 15:57:25 +00:00
Iain Sproat b6eb7631a2 fix(ingress): helm chart nginx ingress was not inheriting nginx.ingress.kubernetes.io/proxy-body-size annotation (#1941) 2024-01-05 13:06:03 +00:00
Iain Sproat b396029cf6 chore(Dockerfile): bump images to debian bookworm, pin images by digest, and github action to auto-bump (#1937)
* chore(Dockerfile): pin images by digest this ensures consistent builds with images pinned by SHA
* introduces a GitHub Action will create a PR to update the images when there is a new version, and will pin to that newer version SHA.

* Bump debian to 12 'bookworm'
* Bump pypi libraries
  * except frontend-1, as only debian 11 is currently supported by openresty
* Bump debian packages
2024-01-05 11:51:04 +00:00
Iain Sproat d0f1b21895 chore(ingress): use rewrite and remove snippet (#1936)
* chore(ingress): remove server snippet as it is not enabled in controller by default
* split ingress into different components so we can rewrite some paths
* Need to retain the same resource name to allow easier upgrades
* Only redirect /metrics endpoint
2024-01-03 20:43:41 +00:00
Iain Sproat c7ba2832ec chore(ingress): use port name instead of number (#1933) 2024-01-03 12:47:27 +00:00
Iain Sproat 9658242b54 chore(servicemonitor): include fe2 in prometheus scraping (#1932) 2024-01-03 12:06:44 +00:00
Iain Sproat 3249de6409 chore(ingress): prevent external access to metrics and health endpoints (#1931)
- fe2 readiness and liveness probes should use health endpoint
2024-01-03 12:03:31 +00:00
Iain Sproat 819df9bc65 Prefer docker compose over docker-compose (#1895) 2023-12-21 18:45:20 +00:00
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