Commit Graph

3683 Commits

Author SHA1 Message Date
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
Alexandru Popovici ffb96eaf55 Added a visible option to the mesurements options which turns the visibility and pickable state for measurements on or off (#1882) 2023-11-22 15:30:34 +02:00
Gergő Jedlicska e32f666964 bump fe1 branch query limit and disregard broken pagination logic (#1875) 2023-11-17 13:11:21 +01: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
andrewwallacespeckle 601b517058 Various Android Responsive Fixes (#1872)
* Dialog - use 100dvh

* Add "There's more to Speckle - be sure to visit on a computer" to Dashboard

* Fix Breadcrumb logo skewing

* Lower mobile panel responsive fixes

* Tidy up "You have completed" message

* Remove info colour from Change Password

* Add desktop icons. Restyle Notifications

* Colour suggested by Agi

* Use dvh everywhere

* Small update

* Fix compostable warning
2023-11-16 15:07:44 +00:00
Gergő Jedlicska bd86f631bb formatting 2023-11-14 19:54:29 +01:00
Gergő Jedlicska f74354df9c feat: debug log status updates (#1873) 2023-11-14 19:40:52 +01:00
Dimitrie Stefanescu 850258e963 Dim/fe onboarding fix (#1871)
* Add showSegmentation state. Update this state on completion of segmentation.

* feat(fe2): swaps h-screen to h-[100dvh] to ensure  onboarding slideshow comments are not below the bottom of the screen when on mobile (and browser bar gets in the way)

* feat(fe2): shows selection info/comments on mobile if we're past the onboarding tour

* feat(fe2): displays a smaller message in onboarding on mobile rather than the full checklist

* feat(fe2): moves isSmallerOrEqualSm to a composable, and removes duplicated code

---------

Co-authored-by: andrewwallacespeckle <139135120+andrewwallacespeckle@users.noreply.github.com>
2023-11-11 18:40:37 +00:00
dependabot[bot] 3fbf927778 chore(deps-dev): bump axios from 0.25.0 to 1.6.0 (#1870)
Bumps [axios](https://github.com/axios/axios) from 0.25.0 to 1.6.0.
- [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.25.0...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 20:29:07 +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
andrewwallacespeckle 2f91259b08 Bugfix - Segmentation Reappears after Completion - Add showSegmentation state (#1864)
* Add showSegmentation state. Update this state on completion of segmentation.

* Nicer way
2023-11-10 10:40:21 +00:00
andrewwallacespeckle 4d88accd44 New comment background/alignment fix (#1867) 2023-11-10 10:22:20 +00:00
Gergő Jedlicska 933458c95c feat: branch delete now deletes commits too (#1866)
* feat: branch delete now deletes commits too

* chore: prettier
2023-11-09 16:15:25 +01:00
andrewwallacespeckle 9ef351d8ed Fix desktop view of onboarding banner (#1865) 2023-11-09 12:45:08 +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
andrewwallacespeckle ba88aca3dc Add mount-menu-on-body to Events select (#1862) 2023-11-08 13:03:27 +00:00
Dimitrie Stefanescu 882391b5e1 Onboarding Speedup (#1855)
* feat(onboarding): ensures an onboarding project is always cloned when a user goes through onboarding; simplifies some of the logic & updates project naming

* feat(onboarding): improves onboarding stream cloning performance by optimising object duplication (local tests: from 25s to 270ms)

* feat(onboarding): minor changes logging + comments

* feat(onboarding): removes comments
2023-11-08 13:03:10 +00:00
andrewwallacespeckle 6d5ccd02f3 Remove unused const - task 21 quickstart checklist cookie (#1861)
* Change expiration of hasDismissedChecklistForever to 2 years from session

* Register Panel WIP

* Register Page

* Checklist Responsiveness

* Updates to checklist and onboarding

* Fix for viewer comments

* Automation Dialog updates

* feat(fe2): quick fixes

* Remove unused const

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2023-11-08 11:58:59 +00:00