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
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
Kristaps Fabians Geikins
366f5a8350
fix(server): only allow lowercase model names
2023-12-04 16:54:50 +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
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
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
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
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
Dimitrie Stefanescu
0f562ce19e
Dim/fe2: Automate Results Dialog Revamp ( #1832 )
...
* 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...
2023-10-24 14:26:20 +01:00
Kristaps Fabians Geikins
60a096d3db
fix: making Edit Branch respond to errors correctly
2023-10-18 14:55:31 +03:00
Kristaps Fabians Geikins
a0e1f6f14d
fix: added support for backwards slashes in branch names
2023-10-18 14:46:22 +03:00
Kristaps Fabians Geikins
d8640bbdc9
feat(ui-components): tags input component ( #1810 )
...
* FormSelectBase converted to generic Vue component
* WIP tags w/ custom input box
* a11y works
* proper tags wrapping
* errors/validation/icon styling
* styling fixes
* autocomplete item resolution
* feat: configurable tags input
* various fixes
* moved avatar components to ui-components
* replaced avatar in frontend-2 w/ new ui-components exports
* new icon loader
* added validation support for avatar editor
* updated fe-2 to use new avatar editor api
* disabled support for avatar editor
* more fixes and improvements
* attempted preview-service fix
* attempted preview-service fix
* added story
* linting fix
* more fixes
* server test fix
2023-10-16 14:10:41 +03:00
Gergő Jedlicska
42eb66c75c
Rework automation results ( #1816 )
...
* WIP: rework results
* fix: preview service build dependency version
2023-10-10 21:56:58 +02:00
andrewwallacespeckle
0045c353c6
Feature: FE2 - Project Webhooks Page ( #1792 )
...
* Layout Pages
* Add Multi Select with Badges
* Add MultiBadge
* Add prevent close on click outside
* Fix import issue
* Import Table
* Add Classnames to buttons
* Add Switch Component
* Update for webhooks
* skip precommit hooks
* Remove Infinite Load. Update Types
* Create Webhook Dialog
* Tidy Ups
* Edit Webhook dialog
* WIP Breadcurmbs
* Changes from calls with Fabians
* Breadcrumbs
* Reorders
* Fix Create Dialog
* Rename MultiBadge to BadgeSelected
* Fix and update Story file for Table
* Adjust Padding for Buttons in Table
* Add extra story, adjust padding for no buttons
* Fix bug with Edit Select
* fixed Webhook sorting + added Webhook.hasSecret and Webhook.projectId
* fixed hydration mismatch
* Changes from PR feedback
* Validation Rule for Select
* Reset Dialogs on Cancel. Conditionally render headers in Table
* stricter webhook gql types
* stricter webhook gql types
* Fix initial dialogs
* Quick Fixes
* Add projectWebhooksRoute
* Remove TableItemType
* Fixes from PR
* Fix broken Query
* Fixes from PR
* Fix based on PR
* Fix from PR
* Changes to index
* Fix in index
* Updates to Validation and Table
* Add "by" prop to FormSelectBadges and renamed component
* Use defineModel for Switch
* Revert "Use defineModel for Switch"
This reverts commit 6bc9e07a767cdc64f06c03b028150915e013ed4f.
* Replace breadcrumbs with projectWebhooksRoute
* Rename FormValues to WebhookFormValues
* Add target blank and simplify trigger mapping
* Fix casing of webhookFormValues
* Change webhookModel to prevent props mutation
* Remove unnecessary typecast
* Webhook deletion now uses fieldNameWhitelist.
* Use convertThrowIntoFetchResult and getFirstErrorMessage in Create
* Use defineModel for handling open state of Dialogs
* Optimise Switch component with defineModel
* Merge Create and Edit Dialogs
* Fix issue with Status Icons
* Remove console log
* WIP Merge of Edit and Create
* Add optional placeholder to SelectBase. Update Events placeholder.
* Add secret to Create webhook dialog
* Update Watch
* Rename Dialogs. Fix active select items
* Fix Select active items
* Simplify triggers, add secret to create call
* Remove $webhooksId: String
* fix: stale form state across edit/create webhook dialog sessions
* Fix from PR
* Swap t.text for t.id
* Use enum for historyStatus
* Use consistent story formatting
* More consistent create/edit mutations
* fix be linting errors
---------
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com >
2023-09-26 15:41:29 +02:00
Kristaps Fabians Geikins
eb441d7f4f
feat(fe2): automations status subscriptions ( #1793 )
...
* fe subscriptions working
* minor adjustment
2023-09-18 15:03:42 +03:00
Kristaps Fabians Geikins
79d293e178
fix: preparing automation backend for use in FE ( #1790 )
...
* fix: preparing automation backend for use in FE
* minor migration adjustment
* modelId only
* more CR fixes
* improved validation
* WIP model automation status (#1791 )
* additional run status insert validations
* model card dialog
* show view automation btn
* story mock fixes
* version card dialog
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2023-09-18 11:49:11 +03:00
Gergő Jedlicska
7b40f25c74
feat(server): change default name of a server ( #1786 )
...
* feat(server): change default name of a server
* Update 000-core.js
2023-09-12 18:12:01 +02:00
Gergő Jedlicska
8063652dbf
automations backend ( #1789 )
...
* feat(server): WIP automations api
* feat(server): Automations Backend api WIP take 2
* feat(automations): add validation to automation run schema with zod
* fix(server): add zod to package.json
* fix(server): automations pr cleanup
2023-09-11 14:38:15 +02:00
andrewwallacespeckle
44bfa6d2c8
Fe2 server management bugfixes ( #1787 )
...
* fix(server): inviteList pagination
* Fixes from call with fabians
* more BE bufxies
* reducing server invite precision
* Infinite Scroll fixes. Slight design change to "update available"
* fixed tests
---------
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com >
2023-09-08 12:55:03 +01:00
Kristaps Fabians Geikins
90a5d8b383
feat(server): Project.webhooks query
2023-09-05 14:11:55 +03:00
andrewwallacespeckle
671979e012
Feature - Frontend2 - Server Settings Pages ( #1764 )
...
* Add server management menu item
* Server Management Page & Settings Dialog
* escape from the precommits hooks
* Add Delete User Dialog
* Add invitations page
* Add Projects Page
* Pulling in GraphQL Data
* Settings Mutations
* Fix cardinfo type
* GraphQL in Active Users
* Add icons
* Infinite Load on Active Users
* Tidy Ups
* TS fixes
* Add Update button functionality
* Add Delete User
* Projects
* Home Done
* New query
* Delete User
* WIP User Roles
* Overflow fix
* Table Update
* Add Onclick to rows
* Fix bugs
* Fix console error
* Admin Middleware
* Role Update Dialog
* TS Fixes
* Latest updates
* Tidyups
* Tidy Up Nav Menu
* Tidy Up Card
* ChangeUserRoleDialog Tidyup
* Fix bubbling issue on Table
* Design fixes
* fix: speckle server version hydration mismatch
* Remove Dialog bg-white
* Rename Query, Fix Export
* fix: allowing FormSelectBase to reject updates
* feat: cache policies for new admin graph fields
* feat: cache updates so no refetch necessary
* PR Changes
* Fix Projects Page
* Updates to Roles
* Project Delete Mutation
* Add Resend & Delete Invite Mutation
* Fix console warnings
* Disable active user role select
* Linting fixes
* Reorder
* Linting fixes
* Changes from PR
* Fixes from PR
* Ui Fixes
* Update Settings Dialog Cache on Save
* Fix colours
* Delete Invitation Mutation Moved
* Delete Project Logic moved
* Delete Mutation moved to component
* Change User Role mutation moved to Dialog
* Reorder
* WIP - Checkbox Bug
* attempted checkbox fix
* Update Caching
* Rollback tsc
* Update to Resend Button
* Add new buttons
* Use defineModel
* Re-add emits
* Move mutation
* serverInfo cache update fix
* fixed delete invite cache update
* Updates to Project Delete Dialog Caching
* Remove unneeded props
* Fix caching in DeleteUserDialog
* Improved error handling in server info update
* Swap Invite modal to new style
* updated evictObjectFields details
* Update cache on successfull invite
* Add Invite dialog
* Add project Dialog Update
* defineModel
* Remove emits from Add Project and Invites
* Add missing Dialog
* Updates from PR
* Adjust query
* Remove need for items in admin data query
---------
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com >
2023-09-04 11:57:34 +01:00
Kristaps Fabians Geikins
c21b587330
invite as role fix
2023-08-24 11:04:05 +03:00
Kristaps Fabians Geikins
069f64afc9
feat(fe1 & fe2): guest role ( #1768 )
...
* feat: user guest role switching in FE1
* removed stream create buttons
* fe1 done
* fe1 - specifying role in invite dialogs
* fe1 - bulk invites
* WIP FE2 changes
* fe1: allow role select condition fixes
* xtra limitations on createForOnboarding
* more invite creation validations
* no longer able to set guest as project owner in invite
* preparations for server role select in invite dialog
* team management dialog done
* server invite dialog updated
* hiding invite dialog
* fixed mocks
2023-08-24 09:30:09 +02:00
Kristaps Fabians Geikins
9297c592e8
disabling dui3 ci checks
2023-08-11 15:35:16 +03:00
Gergő Jedlicska
4b071872c2
gergo/adminInviteList ( #1761 )
...
* feat(admin): add users email to the admin user list query
* feat(admin): WIP invite list
* feat(admin): fix server invites resolver typing
* fix(admin): slim down admin user list item data
2023-08-11 15:02:02 +03:00
Gergő Jedlicska
ad0228c434
fix(monorepo): make sure to use 127.0.0.1 instead of localhost
2023-08-03 10:28:57 +02:00
Gergő Jedlicska
ad1fba7fea
Merge branch 'main' of github.com:specklesystems/speckle-server into gergo/serverGuest/main
2023-08-01 16:01:24 +02:00
Gergő Jedlicska
ebb6122867
Merge pull request #1723 from specklesystems/gergo/adminFacelift
...
Admin Facelift Backend
2023-08-01 15:45:06 +02:00
Gergő Jedlicska
ac7da4ae09
chore(server): remove console log
2023-08-01 15:36:36 +02:00
Gergő Jedlicska
67260c2de4
Merge branch 'main' of github.com:specklesystems/speckle-server into gergo/adminFacelift
2023-08-01 15:27:51 +02:00
Gergő Jedlicska
f6cc4b7835
refactor(server admin): remove duplicated BaseUser
2023-08-01 15:25:17 +02:00
Gergő Jedlicska
b06959b092
Merge pull request #1713 from specklesystems/gergo/objectInsertionChunking
...
feat(server objects): add insertion object chunking logic
2023-08-01 15:19:09 +02:00
Gergő Jedlicska
105f1c0b54
refactor(server authz): rework validateServerRole
2023-08-01 14:58:55 +02:00
Gergő Jedlicska
cb3dbb7a9d
refactor(server/shared): reduce (but not fix) circular dependencies
2023-08-01 12:11:47 +02:00
Gergő Jedlicska
48588e5ee5
Merge branch 'main' of github.com:specklesystems/speckle-server into gergo/adminFacelift
2023-07-31 16:25:35 +02:00
Gergő Jedlicska
56555342e4
fix(server): fix admin gql resolver typing
2023-07-31 16:11:10 +02:00
Gergő Jedlicska
8d6b73fb79
feat(server): allow guests rest api access
2023-07-31 12:50:28 +02:00
Gergő Jedlicska
3e1c2dd42d
fix(server): its called guest mode now
2023-07-31 12:41:04 +02:00
Gergő Jedlicska
e9d9fc770c
allow guest access to selected gql resources
2023-07-31 12:29:43 +02:00
Kristaps Fabians Geikins
951d86aa3e
feat(server): cross-server onboarding stream sync + DL project CLI command ( #1717 )
...
* WIP
* cleanup and sync MVP kinda done
* WIP
* logging improved a bit
* fixed version sorting
* onboarding base stream creation works
* moved onboarding stream to use new base
2023-07-31 11:44:39 +03:00
Iain Sproat
a7ca2f482c
fix(/api/diff): chunk large lists of objects ( #1737 )
...
* Revert "fix(/api/diff): return 400 if greater than max objects (#1736 )"
This reverts commit 783e785b32 .
* fix(/api/diff): chunk long object lists to remain within maximum length
2023-07-29 18:30:56 +01:00
Gergő Jedlicska
42d90b71cd
rename string size calculator function to estimate
2023-07-28 17:55:24 +02:00
Gergő Jedlicska
b8f0cee93e
refactor(server objects): all object inserts use the memory optimized query
2023-07-28 17:43:44 +02:00
Iain Sproat
783e785b32
fix(/api/diff): return 400 if greater than max objects ( #1736 )
...
- log a warning
- return a 400
- this is a workaround for a limitation of unsigned int-16 in database
2023-07-28 15:17:30 +01:00
Gergő Jedlicska
426bd3465f
feat(server): user faster string size calculation
2023-07-28 12:12:07 +02:00
Gergő Jedlicska
42de692f50
Merge pull request #1732 from specklesystems/gergo/serverGuest/noGuestCanOwnStreams
...
feat(server): guests cannot own stream projects
2023-07-28 10:34:28 +02:00
Gergő Jedlicska
42190f42ee
feat(server): user role change uses server info to get guest mode flag
2023-07-27 17:39:19 +02:00