Chuck Driesler
7663321557
fix(authz): add canDelete policy for automations ( #4554 )
...
* fix(authz): add canDelete policy for automations
* fix(authz): use asOperation
2025-04-23 10:02:59 +01:00
Mike
6cc916b210
Fix error message ( #4559 )
2025-04-23 01:28:15 +02:00
Chuck Driesler
5c68f8a1da
feat(automate): ability to delete automations ( #4228 )
...
* feat(automate): delete automation be
* feat(automate): delete automations fe
* fix(automate): delete modal, update cache
* chore(automate): minor formatting
* fix(automate): delete blobs w automations
* chore(automate): repair blob test
* fix(automate): make sure to return
* fix(automate): do soft delete
* fix(automate): include deleted filter in project automation queries
2025-04-22 20:22:44 +01:00
Kristaps Fabians Geikins
eb33c13e9f
fix(shared): canMoveToWorkspace should check model limits ( #4532 )
...
* fix(shared): canMoveToWorkspace should check model limits
* server fix
2025-04-22 16:49:35 +03:00
Chuck Driesler
3e0f609bb2
fix(automate): improve search for test automations ( #4515 )
2025-04-22 14:33:46 +01:00
Iain Sproat
69b7d8afca
tests(server): add test for case for getobjects when object is missing
2025-04-22 10:36:15 +01:00
Iain Sproat
920099c39f
chore(readable code): use TIME_MS for readable durations
...
- we recently added TIME_MS helper; this applies it to existing durations
2025-04-18 17:51:43 +01:00
Gergő Jedlicska
d860d79307
Merge branch 'main' of github.com:specklesystems/speckle-server into gergo/web-2991-update-limit-error-messages
2025-04-18 15:59:03 +02:00
Gergő Jedlicska
2d26c76ef2
feat(limits): better limits messages and some more fixes
2025-04-18 15:58:28 +02:00
Chuck Driesler
d7aa0196fc
feat(authz): automate policies ( #4491 )
2025-04-18 11:03:54 +02:00
Kristaps Fabians Geikins
2de4fef006
fix: project settings options not checking permissions ( #4472 )
2025-04-17 12:53:17 +03:00
Iain Sproat
e14cbf3453
Merge branch 'main' into iain/web-2732-observability-for-improved-reliability-core
2025-04-16 14:58:00 +01:00
Iain Sproat
b0bdeb9768
chore(logging): improve logs & error messages for workspace migration
2025-04-16 12:52:03 +01:00
Kristaps Fabians Geikins
62cc07b072
feat(server): add new workspace disclaimer fields to user meta ( #4434 )
...
* feat(server): add new workspace disclaimer fields to user meta
* unrelated tests fix
2025-04-16 12:47:33 +03:00
Kristaps Fabians Geikins
10832655d4
fix(server): all project created subs firing for workspace guests + req ctx cache fix for subs ( #4453 )
...
* WIP sub fix
* fix sub resolver caching issue
2025-04-16 11:21:17 +03:00
Alessandro Magionami
0c18acc452
Alessandro/web 2945 comments hide body ( #4385 )
...
* chore(core): move limits logic into shared
* feat(comments): limit text and rawText for comments
* chore(core): removed test moved to shared
* chore(comments): generate gql types
* feat(comments): rework comment history limits
* chore(comments): fix tests
* chore(shared): add dayjs as dependency
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2025-04-15 10:44:12 +02:00
Iain Sproat
528854669a
All resolvers in core
2025-04-14 20:04:04 +01:00
Iain Sproat
2ffce0d45e
Projects
2025-04-14 18:26:56 +01:00
Iain Sproat
dff07edf87
chore(server/core/logging): add operation logging to mutations
2025-04-14 18:17:37 +01:00
Kristaps Fabians Geikins
b287702145
feat: version checks + generally improved auth error messaging ( #4384 )
...
* foundation for new version checks
* canUpdate policy
* can req render
* canReceive
* BE implemented
* FE checks implemented?
* test fix
* improved auth error messaging
* fix lint
2025-04-14 10:43:48 +01:00
Gergő Jedlicska
61ca128ce2
gergo/multiCurrency ( #4379 )
...
* feat(gatekeeper): support multiple currencies
* feat(helm): add new currency based prices to helm chart
* chore(env): add example currency based pricing values
* fix(ci): update price ids to the proper values
* feat(helm): rename price ids to fit multi currency
* feat(gatekeeper): currency input for checkout session
* Updated prices in the FE
* chore(gatekeeper): remove old checkout session flow
* Updated prices in the FE
* Fix FE
* Fix pipeline
---------
Co-authored-by: Mike Tasset <mike.tasset@gmail.com >
2025-04-11 17:37:47 +02:00
Alessandro Magionami
d9cdeb4bf5
chore(core): make resolver model or project check more reliable
2025-04-11 15:15:21 +02:00
Alessandro Magionami
05e4e51c1a
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2944-versions-limits
2025-04-11 14:54:13 +02:00
Kristaps Fabians Geikins
f59c0a72c6
feat: model related auth checks in BE & FE ( #4374 )
...
* limit fragment cleanup
* be updated
* model checks in FE
* tests fix
* fakes util fix
2025-04-11 10:09:54 +03:00
Kristaps Fabians Geikins
b6c21fd506
feat: comment read/write auth policies in BE & FE ( #4368 )
...
* webhooks perm minor fix
* tryna get fileimport service to work
* new comment policies - shared
* BE done?
* checks implemented in FE
* lint fix
* tests fix
* readme fix
2025-04-10 15:14:34 +03:00
Chuck Driesler
f29fc322a3
fix(authz): allow optional workspace id to validate move ( #4367 )
2025-04-10 11:04:59 +01:00
Chuck Driesler
32796d3dd3
fix(authz): allow optional project id ( #4363 )
2025-04-10 10:12:00 +01:00
Alessandro Magionami
be48143d8a
chore(core): disable test if workspaces is disabled
2025-04-10 10:49:49 +02:00
Alessandro Magionami
36b3f2b11a
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2944-versions-hide-referencedobject
2025-04-10 10:16:27 +02:00
Alessandro Magionami
73a8719556
feat(core): complete referencedObject resolver for models and projects versions
2025-04-10 10:10:49 +02:00
Alessandro Magionami
96698452f2
feat(core): limit returned commits in streams and breanches
2025-04-10 10:09:54 +02:00
Mike
a3ce9fad12
Feat: Update pricing plan features ( #4357 )
...
* Feat: Update pricing plan features
* Clean up old stuff
* Add features to old plans
* pls dont complain anymore
* pls work
* fix(shared): add back features to the unlimited plan
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2025-04-09 21:45:28 +02:00
Chuck Driesler
a67022f5fb
fix(authz): branches are models too ( #4360 )
...
* fix(authz): branches are models too
* fix(authz): also check token resource access
2025-04-09 20:15:51 +02:00
Kristaps Fabians Geikins
5f88f562d3
feat: updated various "read/update" settings related permission checks ( #4356 )
...
* a bunch more tests
* updated GQL resolvers
* project create checks implemented
* project update/settings related checks in FE
* a bunch of tests
* tests fix
* disable app schema check
2025-04-09 16:13:09 +03:00
Gergő Jedlicska
b24add762c
feat(gatekeeper): disable workspace plan migrations ( #4354 )
2025-04-09 13:02:28 +02:00
Chuck Driesler
cb7243cfbe
feat(authz): Project.canCreateModel and Project.canMoveToWorkspace policies ( #4342 )
...
* feat(authz): Project.canCreateModel policy
* feat(authz): Project.canMoveToWorkspace policy
* fix(authz): expose policies as permissions objects
* chore(authz): actually use the policies lol
* chore(authz): add tests for new policies
* fix(authz): skip affected test
* fix(authz): pr comments
* fix(authz): better errors, better tests
* chore(authz): remove references to deleted error
2025-04-08 15:29:12 +01:00
Kristaps Fabians Geikins
ec2fb34283
feat(shared): new policies for minor fragment refactor ( #4343 )
...
* canUpdate + reworked fragments
* feat(shared): new policies for minor fragment refactor
* some cleanup
* canUpdate tests
* ensureMinimumProjectRoleFragment test
* checkIfPubliclyReadableProjectFragment tests
* get rid of LoadersOf/ErrorsOf
* python dep update
2025-04-08 12:28:20 +03:00
Alessandro Magionami
8d554e726d
feat(core): add workspace limits
2025-04-07 16:55:45 +02:00
Alessandro Magionami
d640f23c7d
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2944-versions-hide-referencedobject
2025-04-07 16:12:41 +02:00
Gergő Jedlicska
a3644a50c5
gergo/web 2931 introduce missing workspace plans ( #4323 )
...
* fix(gatekeeper): missing priceId-s should stop the server from booting
* feat(shared): add all new workspace plans
* feat(billing): add new world plans
* feat(ci): use stripe sandbox id-s from test env vars
* chore(ci): remove defunct stripe context
* chore(server-env): fix server env example
* feat(gatekeeper): add missing plans to graphql schema
* test(gatekeeper): update plan upgrade tests to match implementation
* fix(ci): update ci .env source
* fix(ci): we do need some secrets from stripe
* fix(ci): run gql schema introspect with the test env
* fix(frontend): format new plan names
* chore(ci): temp disable gql schema checks
* feat(helm): add unlimited seat prices env vars
* feat(helm): add unlimited seat prices to values
* feat(gatekeeper): do not load priceId-s as a side effect, load with module init
2025-04-07 15:24:57 +02:00
Alessandro Magionami
6f5415e66d
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2944-versions-hide-referencedobject
2025-04-07 12:48:58 +02:00
Kristaps Fabians Geikins
820a1e2ebf
feat(server): workspace roles taken into account in project queries ( #4319 )
...
* Workspace.projects fixed
* Query.project tested & fixed
* personalOnly flag added
* withProjectRoleOnly flag
* authorizeResolver implicit workspace roles
* minor cleanup
* reorg + support for throwing auth errors
* global error mapping
* undo special borkage
* CR fixes
* more CR fixes
* shared tests fix
* minor adjustment
* tests fix
* see if removing cached roles fixes it?
* more fixes
* clean up debugging garbage
2025-04-07 12:52:07 +03:00
Kristaps Fabians Geikins
e3d3c1446b
feat: enable domain discoverability on workspace creation ( #4235 )
...
* frontend changes implemented
* WIP BE
* backend seems to work
* CR fixes
2025-04-07 12:34:45 +03:00
Chuck Driesler
35e99d6ee7
feat(workspaces): emit who will be added to workspace for a given project move ( #4332 )
...
* wip
* feat(workspaces): preflight service wip
* feat(workspaces): move project to workspace dry run
* fix(workspaces): add tests and refine query
* chore(workspaces): gqlgen
2025-04-07 10:27:08 +01:00
Alessandro Magionami
498f26d8df
chore(core): fix tests
2025-04-07 09:51:56 +02:00
Alessandro Magionami
a02ea60bc7
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2944-versions-hide-referencedobject
2025-04-07 09:37:04 +02:00
Chuck Driesler
855185245e
feat(workspaces): consolidate workspace role/seat reporting ( #4315 )
...
* feat(workspaces: shuffle seat type counts around
* fix(workspaces): use new counts
* fix(workspaces): better field placement
* Updated FE
* chore(workspaces): fix tests
* fix(workspaces): use correct flags
* fix(workspaces): correct another test
* fix(workspaces): use correct model count function
---------
Co-authored-by: Mike Tasset <mike.tasset@gmail.com >
2025-04-04 10:27:49 +01:00
Alessandro Magionami
d067c5148c
chore(core): limit versions
2025-04-04 10:54:15 +02:00
Alessandro Magionami
5fbf2e500d
chore(core): test get last version repository function
2025-04-04 10:47:21 +02:00
Alessandro Magionami
7e0abd7805
chore(core): create function to return last version for project
2025-04-04 10:42:39 +02:00