andrewwallacespeckle
19a48f7dff
feat(fe2): add survicate nps survey ( #2154 )
...
* Initial Plugin
* Add survey id. Working - with errors
* Check Onboarding cookie
* Removing existing feedback request
* Working Survicate for testing
* Remove old feedback Banner/Dialog
* Update env
* feat(server): projects query optimization
* added version count resolution
* PR Comments
* Fix brittle date
* Add client suffix
* Changes from call with Fabians
* Final changes
* Skip initialization if the survicateWorkspaceKey is empty or undefined
---------
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com >
2024-03-27 14:26:34 +00:00
Kristaps Fabians Geikins
f9f490b440
fix(server): allow standard users to batch invite to server ( #2150 )
...
* fix(server): allow standard users to batch invite to server
* added max 10 invite batch limit
* minor change
2024-03-20 17:51:24 +02:00
andrewwallacespeckle
3c83d31459
[WBX-103] - FE1 to FE2 Messaging ( #2121 )
...
* Home page & Nav Footer
* FE1 Changes
* FE2 Changes WIP
* Dark mode onboarding
* FE2 Cookie for Banner/Dialog
* FE1 DIalog WIP
* Local Storage for FE1
* Add bgcolour to segmentation
* Add responsive message to fe1 login
* Update SVGS
* Fix build WIP
* Skip to Close
* Changes from Agi testing
* Update announcement banner
Updated icons, copy, spacings
* Update FE2 announcement copy and links
* Add video to FE2 announcement dialog
* Add video to FE1
* Minor Updates pre CR
* Update blog link
* Remove menu item
* Rename Dismissed
* added fe2 messaging query field
* Updates from CR
* helm chart changes
* Use new env for displaying fe2 messaging
* Fix build
* fixed helm readme values
* Updates from CR
---------
Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com >
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com >
2024-03-14 13:19:29 +00:00
Gergő Jedlicska
baeeace9d5
gergo/mailchimpOnboarding ( #2098 )
...
* feat: add mailchimp onboarding
* feat: add mailchimp onboarding journey
* feat: add mailchimp helm chart secrets
* refactor: move mailchimp id-s to plain helm values
2024-03-01 15:18:35 +01:00
Kristaps Fabians Geikins
6af6c656a4
feat(fe2): app authorization workflow redesign [WBX-217] ( #2044 )
...
* WIP
* new permissions table
* permissions grouped
* updated scope descriptions
* more scope copy adjustments
* allow auth error handling
* manually closable toast notification
* fixed mentions rendering
* error view
* not you? feature
* cleanup
* minor styling changes
* WIP table
* finished authorized apps table
* minor cleanup
* cleaning up comment
* testing changes
2024-02-23 16:50:07 +02:00
Kristaps Fabians Geikins
23b07e82a5
precommit fix + more version fields
2024-02-22 15:48:06 +02:00
Kristaps Fabians Geikins
1d9b070ae8
feat(server): project.version query for easier cross server sync
2024-02-22 15:23:16 +02:00
Gergő Jedlicska
dca0d8c325
gergo/serverMigration ( #2067 )
...
* feat: add server migration data to server info
* chore: gqlcodegen
2024-02-21 17:55:08 +01:00
Kristaps Fabians Geikins
48440e5b7c
fix(server): rate limiter path resolution ( #2042 )
2024-02-13 15:08:48 +02:00
Iain Sproat
d7402d8e66
fix(rate limiter): http verbs must align with served routes ( #2038 )
2024-02-12 16:02:04 +00:00
Iain Sproat
78891e869e
fix(rate limiter): typescript linting issue ( #2037 )
2024-02-12 13:03:01 +00:00
Iain Sproat
c5f5bf7992
fix(rate limiter): use correct paths ( #2036 )
2024-02-12 12:49:12 +00:00
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
Kristaps Fabians Geikins
9aebb3f286
fix(server): db listener redis retry fix
2024-01-25 17:07:37 +02:00
Kristaps Fabians Geikins
ff5c965df9
fix(fe2): redis connection leakage
2024-01-25 10:50:04 +02:00
Iain Sproat
a3cb8b180b
fix(server): explicit db listener redis cleanup ( #1989 )
...
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com >
2024-01-24 22:01:58 +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
Kristaps Fabians Geikins
37d51072fb
feat(server): resource limits on app tokens ( #1959 )
...
* WIP new mutation arg
* limited resource token creation done
* token resource rule creation validation
* updated authorizeResolver implementation
* introduced resource access rule checks in authorizeResolver everywhere
* more checks added
* updated projects resolvers
* updated stream resolvers
* more checks added
* error page theme resolution fix
* WIP testss
* more tests
* implemented checks in REST auth pipeline
* REST API coverage & tests
* some tests fixed
* test fixess
* added tests
* feat(server): new automation result reporting scope (#1976 )
* feat(server): new automation result reporting scope
* tests fix
2024-01-19 18:14:49 +01:00
Gergő Jedlicska
c2085d6b13
Hotfix/2.17 ( #1955 )
...
* gergo/apolloQueryDuration (#1949 )
* add apollo query duration
* feat: add more details to apollo query logging
* fix: pr review
* feat: format log messages as clef (#1950 )
* fix(logging): pinoClef log levels must be a string
* chore(fe2): reducing log level for some spammy req logs
* minor adjustment
* more robust path resolution
* better req log text
* feat(fe2): improved and more thorough logging to help with observability (#1948 )
* better req log text
* minor improvements to server logging
* WIP FE2 req logging
* FE2 apollo operation logging
* undid apolloPlugin changes due to Gergos PR
* seq message templates introduced
* fix: request logs (#1964 )
* fix: request logs
* chore: remove comments
* feat: add graphql subscription metrics (#1970 )
* optimized preview msg resultListener
* fix(server): locking to avoid postgres notification listeners processing the same message multiple times (#1972 )
* fix(server): locking to avoid postgres notification listeners processing the same message multiple times
* optimized locking
* minor cleanup
* msg update
* log level adjustments
* reduce failsafe expiry
---------
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com >
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com >
Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems >
2024-01-17 16:39:33 +01:00
Kristaps Fabians Geikins
5cd573355d
feat(server): ability for apps to create new app tokens ( #1942 )
...
* /graphql endpoint fix
* app token creation seems to be done
* added tests
* more tests
* cleaned up TS annotations
* CR cleanup
* TS type fixes
* test fixes
2024-01-09 11:58:38 +02: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
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
Kristaps Fabians Geikins
c5ff7688ac
feat: click on invite link autofills email in register form ( #1919 )
2023-12-15 11:51:43 +02: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
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