Commit Graph

2526 Commits

Author SHA1 Message Date
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
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
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
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
Kristaps Fabians Geikins 60881c78f2 feat(fe2): alt apiOrigin for SSR (#1888) 2023-11-27 15:23:34 +01: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
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
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
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
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
andrewwallacespeckle ee352e8ddb FE2 - Web Onboarding Enhancements (#1859)
* 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

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2023-11-08 11:37:59 +00:00
andrewwallacespeckle aaf6a7069e Change expiration of hasDismissedChecklistForever to 2 years from session (#1858) 2023-11-07 11:18:44 +00:00
andrewwallacespeckle 9f4b0c99da Dialog Consistency Task (#1852)
* Fixing up "Manage Project" & "New Project" Dialogs

* Dialog Updates

* Updates from tickets

* Remove sidepanel

* Remove max-height prop from Dialog component

* Updates to Profile Dialog

* Props for Buttons in Dialog. Attachment Dialog

* Remove margin to show issue with dialogs

* Update to stories

* Responsive updates

* Fix overflow on MoveTo

* Use Dialog header prop

* Dialog updates

* Responsive Changes

* Responsive fixes

* Small responsive change

* Fixes

* Type based declaration

* Last fixes

* Small darkmode fixes

* Updated type

* Update

* Updates from PR comments

* Fix storybook issues

* Updates from PR

* Updates from PR

* Changes from Agi

* Turntable mode Toggle

* Fix dialog shadows on scroll

* Fix invite autocomplete

* Changes from PR Comments

* Small styling updates

* Responsive views

* Adjust Danger zones

* Fix typo

* New Webhook Icon. Swap icon prop to slot.

* Adjust Icon weights

* FE2-TASK-27

* FE2-TASK-26

* FE2-TASK-28
2023-11-07 11:18:25 +00:00
Dimitrie Stefanescu 53214cc77d FE2/Automate: Viewer Page Integration (#1851)
* feat(ui): adds link to all models from project dashboard card

* feat(ui): refactoring layout to focus on function runs

* chore(server): a bunch of comments regarding some unclear automate api parts

* feat(fe2/automate): cleans up automate results dialog summary

* feat(fe2/automate): adds automation status to model list view

* feat(fe2/automate): adds automation status to version card

* feat(fe2/automate): adds automation status to version card properly

* feat(fe2/automate): linting & adds id back to func name for refs

* fix(fe2): linting errs/fe2 tests

* fix(fe2): types

* fix(fe2): types...

* fix(fe2/automate): brings back status update tracking 🤞

* fix(fe2/automate): scaffolds viewer automate panel

* fix(fe2/automate): revamps viewer resource query to include automation status, adds proper sidebar button for automation status

* fix(fe2/automate): more WIP work on automation status integration in viewer page

* feat(fe2/automate): adds important note to self

* feat(fe2/automate): more results display wokr

* feat(fe2/automate): adds resulting models to query, improves layout

* feat(fe2/automate): wraps up result model overlays

* feat(fe2/automate): fixes up multiple attachment layout errors

* feat(fe2/automate): adds view results button in lieu of context view, but in the presence of resultVersions

* feat(fe2/automate): minor fix to viewer layout panel to only show actions if slot is populated

* feat(fe2/automate): cleanup and type fixes

* feat(fe2/automate): automate dialog main action > view model WIP

* feat(fe2/automate): wraps up view model in automation status dialog

* feat(fe2/automate): copy change in automation status dialog

* feat(fe2/automate): eslint fix

* feat(fe2/automate): prettier :/

* feat(fe2/automate): adds gradient colouring

* feat(fe2/automate): comments

* feat(fe2/automate): limits initial length of displayed runs, adds poor man's pagination, and reverts to run result click click behaviour

* feat(fe2/automate): lint
2023-11-04 12:48:44 +00:00
AlexandruPopovici bc3989f3b8 Fixed purging TextBatches 2023-11-04 00:33:04 +02:00
Kristaps Fabians Geikins ba9dee3ea8 feat(fe2): showing view all in certain model views (#1853)
* feat(fe2): showing view all in certain model views

* precommit fixes
2023-11-02 13:34:11 +00:00
andrewwallacespeckle cde5dd355c Pre Specklecon polish - Various tasks (#1849)
* “Selection info” panel should remember the Fold/Unfold state of it

* Remove old naming terminology strings

* Rename “Share” To “Copy Link” - Difficult to find the model ID for a new model before data is uploaded

* Add & Rearrange new Viewer Buttons WIP

* Small enhancements to the registration form

* {mobile } The extra “new model” functionality in Model tree/list view just falls apart

* {mobile } Shorten the long Webhook buttons

* Revert "“Selection info” panel should remember the Fold/Unfold state of it"

This reverts commit d1b94036a596c3c995e65eae32ebe2f63580ea66.

* Revert Player controls default

* Responsive changes to Viewer

* Responsive Comments

* Responsive Viewer

* Small fix

* Small fix

* Design improvements

* Styling updates

* style fixes

* Profile pop-up stays opened after selecting “Server Management”

* Profile pop-up stays opened after selecting “Server Management”

* Change the Project Settings Icon to a gear

* Misleading text while uploading ifc/obj file

* Amends from polish list

* Viewer Buttons WIP

* Updates buttons in Viewer

* No backdrop blur

* Style updates

* New Colouring Icon

* New useBreakpoints

* Latest fixes pre PR

* Updates from PR Comments
2023-11-02 11:56:16 +00:00
Kristaps Fabians Geikins f3d6484d97 fix(fe): broken select box menu after SSR reload 2023-11-01 15:50:55 +02:00
andrewwallacespeckle ad26a5b486 Update text and fix checkbox name (#1843) 2023-11-01 12:43:40 +00:00
Kristaps Fabians Geikins f5d4aa928c feat(fe2): save expanded state for model structured item cards (#1848)
* feat(fe2): save expanded state for model structured item cards

* minor improvement to View All
2023-11-01 12:29:05 +02:00
Iain Sproat 438c6bbf0d chore(deps): bump node from 18.17.1 to 18.18.2 (#1844) 2023-10-31 18:08:25 +00:00
Kristaps Fabians Geikins b10bbf0c72 feat(ui-components): ability to mount select box menu to body to avoid overflow issues (#1842) 2023-10-31 14:11:05 +02: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
andrewwallacespeckle 76cbcef4e6 Feature - FE2 - Developer Settings (#1822)
* WIP Developer Settings

* Access Tokens

* scopes load fix

* mapping to correct struct

* Updates to Application

* Update to apps.js to fix scopes error

* Application table done

* Token confirmation done.

* Application Success

* Fix ts

* Darkmode fixes

* Responsive fix

* Fixes for PR

* Pass size prop to Editable Avatar

* Updates from PR comments

* Section Header - TS Types

* Add Typeguard to Delete Dialog

* Add Description to scopes query

* minor type guard fix

* edit application cache update fix

* Fix Dialog Expansion

* Rename mutations to correct casing

* Remove unneeded import for defineProps

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-10-26 12:51:05 +01:00
Gergő Jedlicska 8aa261cc68 feat(fe2/server): add automation function run name and logo (#1834) 2023-10-25 15:11:51 +02:00
AlexandruPopovici 767ec8828c Merge branch 'main' of github.com:specklesystems/speckle-server into main 2023-10-24 20:20:28 +03:00