Commit Graph

4652 Commits

Author SHA1 Message Date
Iain Sproat b4e55eaef9 fix(github action): use correct format for author & committer git signing (#1938) 2024-01-05 12:03:34 +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
andrewwallacespeckle 2d184a0b59 FE2 - User Feedback Request - Menu item and Callout Banner (#1907)
* Add Feedback Banner & Dialog

* Add Menu Item for Feedback

* New Nav Style & tidy up

* Feedback improvements

* FE2 Fixes. WIP Description

* Reorder Options. Fix cookie expiry

* Cookie update

* New function to handle cookie expiry dates. Update feedback dates.

* Change getFutureDateByMonths to getFutureDateByDays

* Updates to Feedback

* Instructional Animation Component

* Add select-none

* Fix storybook issue

* Changes from CR

* Dynamic Slots in Animation Component

* Update FE2 to use modified animation component

* Fix typing issue

* Changes from CR
2024-01-04 14:18:39 +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 ce986a3877 chore(deps): bump follow-redirects to 1.15.4 (#1934)
- addresses CVE-2023-26159
2024-01-03 14:37:19 +00:00
Iain Sproat 5f29d54e95 chore(deps): bump axios from 1.6.2 to 1.6.3 (#1935) 2024-01-03 14:36:24 +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 2a96ce1b66 chore(frontend-2): base on distroless image (#1920) 2024-01-03 11:44:45 +00:00
Kristaps Fabians Geikins f5b5ae51bd chore(fe2): improved logging & metrics collection for easier observability (#1930)
* gql fix + new dependency-less status check endpoint

* added correlation ids to upstream calls

* added prometheus metrics

* added sigint logging
2024-01-03 10:48:35 +02:00
Iain Sproat 1db23e7b83 chore(deps): bump msgpackr to 1.10.1 (#1929)
- resolves https://github.com/specklesystems/speckle-server/security/dependabot/213
2024-01-02 11:06:39 +00:00
Iain Sproat 819df9bc65 Prefer docker compose over docker-compose (#1895) 2023-12-21 18:45:20 +00:00
Iain Sproat 4071c1cc5f test(file upload): add integration tests (#1917)
* print all graphql errors on failure of tests
2023-12-18 14:21:12 +00:00
andrewwallacespeckle 77d760c07f FE2 UI minor improvements (#1905)
* FE2 Fixes. WIP Description

* Reorder Options. Fix cookie expiry

* added ability to edit model description in backend

* Add Description to "Add Model" WIP

* Update Radio component so icons are part of label

* Fix to disable measure mode when user navigates to another control

* Add Description WIP

* Fix description returning null

* Add Header to versions page

* Checks for PR

* Fix build error

* Changes from CR

* Use ProjectPageProjectHeaderFragment

* Remove description from handleSubmit

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-12-15 13:23:15 +00:00
Kristaps Fabians Geikins e4540ba5b3 fix(server): onboarding stream clone url parsing issue (#1923) 2023-12-15 14:06:39 +02:00
Kristaps Fabians Geikins c67f6d9c92 feat: clearer email verification flow & related error messages (#1904)
* fix: fe2 auth error page + various minor UI bugs

* clean up & reporting failing email to fe

* new mutation to resend verification as guest

* email text updates

* fixing issues brought up by agi

* more text fixes

* swapping out space-XXX for gap-XXX
2023-12-15 13:09:26 +02:00
Iain Sproat 3db83e50be chore(deps): bump node from 18.18.2 to 18.19.0 (#1921)
* chore(deps): bump node from 18.18.2 to 18.19.0

* Additional dependencies
2023-12-15 11:30:07 +01:00
Kristaps Fabians Geikins c5ff7688ac feat: click on invite link autofills email in register form (#1919) 2023-12-15 11:51:43 +02:00
Iain Sproat ac558564a4 chore(deps): bump axios to 1.6.2 (#1911)
* chore(deps): bump axios to 1.6.2
* Bump wait-on version to prevent conflict
2023-12-14 14:24:33 +00:00
Iain Sproat 699048b391 chore(deps): bump @adobe/css-tools to 4.3.2 (#1910)
- addresses security vulnerability https://github.com/specklesystems/speckle-server/security/dependabot/211
2023-12-14 13:00:16 +00:00
Iain Sproat d87daeb704 chore(deps): bump vite to 4.5.1 (#1909)
- addresses security vulnerability in vite 4.5.0 https://github.com/specklesystems/speckle-server/security/dependabot/212
2023-12-14 12:00:03 +00:00
Iain Sproat 257044b082 fix(logging): typo in graphql property (#1918) 2023-12-13 15:24:03 +00:00
Gergő Jedlicska c10c2cbcc1 feat: add support for creating commit by branch id (#1915) 2023-12-13 13:49:25 +01:00
Kristaps Fabians Geikins ef37030287 fix(server): optimized commit download (#1913)
* fix(server): optimized commit download

* added test
2023-12-13 14:31:09 +02:00
Iain Sproat e3bedf9863 fix(logging): typo which expected logger in res, should be req (#1916) 2023-12-13 11:53:11 +00:00
Iain Sproat 45f6999004 refactor(envHelper): introduce common method for converting to boolean (#1914) 2023-12-13 10:58:47 +00:00
Iain Sproat 2f131b9cd5 docs(README): update status badgets (#1908)
- remove broken or stale badges
- add CircleCI badge
2023-12-12 16:37:21 +00:00
Iain Sproat de222c55a5 chore(vscode): settings were auto-updated (#1903) 2023-12-12 14:25:39 +00:00
Iain Sproat 7f2043530e fix(DO 1click): quote boolean to be string (#1906) 2023-12-12 14:25:17 +00:00
Kristaps Fabians Geikins 3689e1cd58 fix: preventing PATs from creating PATs 2023-12-11 11:23:03 +02:00
Kristaps Fabians Geikins a329f91a44 fix(server): protecting against scope elevation in PAT creation (#1901)
* test DX improvements + tests for token:write scope

* protecting against scope elevation
2023-12-08 14:50:23 +02:00
Iain Sproat 9555e21c80 fix(helm chart/file import): use objects service instead of server (#1902) 2023-12-08 09:39:52 +00:00
andrewwallacespeckle c8bdf01cdd FE2 Viewer - Add Measure Mode (#1889)
* RadioGroup & Initial UI for Measure

* Add option to Panel to allow actions to move to bottom

* Typo

* Add count to precision

* Add enable, snap and type api integrations

* Update Units WIP

* Add precision update

* Update v-tippy name

* Updates

* New design

* Better darkmode radio. Keystrokes.

* Styling fixes. Fix select mount-menu-on-body

* Fix ts bug

* Show label in Select for units

* Update shortcut to D

* Small design changes

* Small tidy ups

* WIP New Measurements Helper State

* Fix build erros

* Remove viewer import from shared

* Delete WIP

* Fix delete

* Fix close button on measure mode

* Measurement nullable

* Updates from PR

* Seperate measurements into measurementsEnabled & measurementOptions

* Update state.ts

* Update ts bugs

* Updates to RadioGroup

* Use ctx.updateArgs

* Replace RadioGroup with Radio - More consistent with existing inputs

* Update FE2 to use new Radio

* Fix circleci fail

* Fix build

* Fix wrong initial state for vertexSnap

* Adjust type to measurement

* Use Lodash isEqual

* Fix bug where units don't update

* Remove double input

* Fix server error in data.ts

* Revert change around useEqual
2023-12-06 09:56:22 +00:00
andrewwallacespeckle a6b7266b85 FE2 - Title Bar Improvements (#1894)
* Title Bar Improvements

* Update scale of notifications

* Add missing truncate on Viewer breadcrumb

* Fix so only last item is truncated

* Merge

* Remove unneeded padding

* Tailwind group fix
2023-12-05 10:12:09 +00:00
andrewwallacespeckle c791668456 Fix unnecessary scroll (#1897)
* Fix unnecessary scroll

* Wrap NavBar in div
2023-12-04 17:04:25 +00:00
andrewwallacespeckle 6d208f956e Add OIDC auth strategy button (#1899)
* Add OIDC auth strategy button

* Only show email text when local login is true

* Get OIDC name and add to button
2023-12-04 15:48:21 +00:00
Kristaps Fabians Geikins 366f5a8350 fix(server): only allow lowercase model names 2023-12-04 16:54:50 +02:00
Kristaps Fabians Geikins f5b757de79 fix(fe1): emitting 'converting' file upload status through subscriptions 2023-12-04 16:35:45 +02:00
Kristaps Fabians Geikins 6c9973995b fix(fe1): super spammy stream file uploads page requests (#1893) 2023-12-04 10:55:40 +02:00
Iain Sproat c7a5beacf8 chore(.gitignore): add data directories (#1896) 2023-12-01 18:23:01 +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
Kristaps Fabians Geikins f80a7189a0 chore(fe2): upgrade to nuxt 3.8.2 (#1887)
* chore(fe2): upgrade to nuxt 3.8.2

* fix tailwind-theme build

* readme update

* removing storybook from fe2 :(

* fix(fe2): codegen schema url resolution
2023-11-29 10:22:17 +02:00
Kristaps Fabians Geikins 8d16c70f3f optimizing useLock composable & usages (#1886) 2023-11-28 09:18:11 +02: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
Kristaps Fabians Geikins 60881c78f2 feat(fe2): alt apiOrigin for SSR (#1888) 2023-11-27 15:23:34 +01: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 ff4bd48b58 tests(auth): refactor to prevent test pollution (#1885) 2023-11-24 13:34:48 +00:00