Jedd Morgan
07713b41e1
Fix(gql)!: Treat UNAUTHORIZED_ACCESS_ERROR as an SpeckleGraphQLForbiddenException ( #411 )
...
* Respect UNAUTHORIZED_ACCESS_ERROR
* Correct test setup for automate
* dumb dumb typo
2025-10-28 15:48:37 +00:00
Jedd Morgan
a0eae88479
Merge branch 'dev' into jrm/attribute-mask-revert
2025-10-28 13:20:52 +00:00
Jedd Morgan
8785e49f73
Add send/receive integration tests ( #412 )
2025-10-28 14:12:12 +01:00
Jedd Morgan
6e35d6af6d
Unexpose attribute mask
2025-10-28 10:33:47 +00:00
Jedd Morgan
08f702794a
skip some slow tests ( #403 )
2025-10-15 09:25:07 +00:00
Dogukan Karatas
1046e2aafc
removes the extra serializer ( #402 )
.NET Build and Publish / build (push) Has been cancelled
2025-10-14 16:20:30 +01:00
Adam Hathcock
37358570ec
Use new endpoint with attribute mask support ( #392 )
...
* Use new endpoint with attribute mask support
* fix test
2025-09-24 11:00:44 +02:00
Adam Hathcock
530387b87c
Remove the cache that avoids recalculating IDs from JSON ( #384 )
...
Co-authored-by: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com >
Co-authored-by: Claire Kuang <kuang.claire@gmail.com >
2025-09-12 10:47:53 +00:00
Adam Hathcock
b16e32d1ff
fix: Correctly pass options to object saver ( #387 )
...
* Correctly pass options to object saver
* formatting
2025-09-12 10:30:47 +00:00
Adam Hathcock
10d283a9f7
Report increment rather than total position ( #377 )
...
* Report increment rather than total position
* Report progress before saving SQLite
2025-08-26 16:45:53 +01:00
Jedd Morgan
d6f6254a92
feat(file-import): Added file import resource and blob api functions ( #367 )
...
.NET Build and Publish / build (push) Has been cancelled
* add file import resource
* disabled health check
* re-enable healthcheck
* git ignore volumes
* disabled importer
* start_period
* Skipped broken tests
* Verify tests
* Fixed tests
* reverted volumes path
* Update docker-compose.yml
2025-07-29 14:52:12 +00:00
Adam Hathcock
4dd6db886f
insert or replace always...don't use ignore or insert ( #363 )
...
* SaveObject is always insert or replace. Never use insert or ignore
* add/fix tests
* always replace even for bulk
2025-07-23 12:16:08 +00:00
Adam Hathcock
9e7f26f7a6
Add ModelCacheManager class and use it ( #356 )
...
* Introduce ModelCacheManager to manage cache and sizes and deletions
* move and abstract
* add tests and format
* Update src/Speckle.Sdk/Caching/ModelCacheManager.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Clean up
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-23 10:07:57 +01:00
Adam Hathcock
507ded7d4a
Fix shallow copy allocations and perf ( #357 )
...
* add more DynamicBase Tests
* Move ShallowCopy to dynamic and try to be faster with copy
* Correct tests for macOS
* use cache obsolete attribute
* Update src/Speckle.Sdk/Models/DynamicBase.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update tests/Speckle.Sdk.Tests.Unit/Models/DynamicBaseTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update tests/Speckle.Sdk.Tests.Unit/Models/DynamicBaseTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix AI
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-21 11:01:00 +01:00
Adam Hathcock
a8dc93e22b
Adds detail to message so that user isn't going WTF SDK ( #351 )
...
* Adds detail to message so that user isn't going WTF SDK
* update exception tests
2025-07-03 09:39:53 +00:00
Adam Hathcock
33c2e6e1a4
Better handle graphql commit errors ( #343 )
...
* Better handle graphql commit errors
* add graphql error test
2025-06-30 10:54:44 +00:00
Adam Hathcock
05f7353925
Revert "Merge pull request #335 from specklesystems/adam/cnx-1786-allow-multiple-sends-to-access-sqlite-in-a-non-locking-2" ( #339 )
...
This reverts commit 59019bf846 , reversing
changes made to 3afaf61a1a .
Co-authored-by: Adam Hathcock <adam@Adams-Mac-mini.localdomain >
2025-06-11 15:32:06 +00:00
Adam Hathcock
424609fad0
fix tests
2025-06-10 13:18:34 +01:00
Adam Hathcock
46c067308e
Fix DI dependency and tests
2025-06-10 11:39:42 +01:00
Adam Hathcock
0e33e8df8f
add tests
2025-06-10 11:33:17 +01:00
Adam Hathcock
7f8b59d348
Pool object savers instead of sqlite
2025-06-10 11:15:01 +01:00
Adam Hathcock
44ba61e4a5
Adjustments to avoid sqlite "database is locked" errors ( #333 )
...
* add new exception test
* Make memory tests and file path tests be explicit
* set the default write parallelism to 1
* set to single reader for caching channel
* format
* Try to have consistent DB locked error test
* always a single reader of the channel
* Remove extra snapshot
* Revert "Try to have consistent DB locked error test"
This reverts commit 93669c57a3 .
* remove extra test that doesn't do anything
2025-06-09 16:24:39 +00:00
Adam Hathcock
58a0326060
Receive should sort the root closures to see a speed improvement ( #311 )
...
* Maybe really fixes closures
* fornat
* add ai generated tests
* fix tests
* fix tests
* added test with correct number of closures?
* closures are self contained. don't increment on attached properties
* format
* MergeClosure should reuse if exists, not just set
* Add generated tests and sort the parser correctly when using get closures
* add extra options to not sort and make sorting default for receive
* hide private method
2025-06-04 13:54:26 +00:00
Adam Hathcock
55f83919d1
Don't log aggregate exceptions that only contain cancelled exceptions ( #326 )
...
* Don't log aggregate exceptions that only contain cancelled exceptions
* check if all are not cancelled
2025-06-04 12:59:51 +00:00
Adam Hathcock
46c57b18be
Cancel before kicking off tasks to ensure they throw ( #328 )
2025-06-04 13:49:03 +01:00
Adam Hathcock
e29b27bcd3
Add some debugging stats about the sent or received payloads to add debugging when things are massive ( #319 )
2025-06-03 14:15:37 +00:00
Jedd Morgan
ff1b688321
refactor(accountmanager): Refactor account manager for automate ( #320 )
...
* First pass refactor account manager
* Use GraphQLClient factory in account manager also
* update account references
* cleanup
* Added test + comments
* more docstrings
* More tests
2025-06-03 12:54:44 +00:00
Adam Hathcock
0be143d391
Make nulls appear as soon as possible ( #324 )
2025-06-03 12:09:55 +00:00
Adam Hathcock
422403d499
fix concurrent tests 2 - This should wait for cancellation to happen ( #316 )
...
* Fix test to be deterministic
* This should wait for cancellation to happen
* update csharpier
2025-05-30 14:17:04 +00:00
Adam Hathcock
b652ffa773
Fix test to be deterministic ( #315 )
2025-05-30 12:30:57 +00:00
Adam Hathcock
68ace02e2d
Use custom md5 just for account/user IDs, not anything real ( #314 )
...
* Use custom md5 just for account/user IDs, not anything real
* test fixes
* To lower and upper as needed
2025-05-30 12:15:44 +00:00
Jedd Morgan
b6be7a351f
feat(automate): Add automate SDK ( #313 )
...
* First pass
* First pass adding service registraiton
* Finished up service registration
* Json exception
* Moved to the right place
* Fixed tests
* Added some missing docs strings
* Reflecting Gergo's specklepy changes
* Correct the DI registration
* Readme
* No warn beta packages
* Format
* renamed misleading variable
* Fixed lock files
* Disable SQLite for automate
2025-05-30 13:05:14 +01:00
Adam Hathcock
1039e75d0c
Calculate closures correctly ( #309 )
...
* Maybe really fixes closures
* fornat
* add ai generated tests
* fix tests
* fix tests
* added test with correct number of closures?
* closures are self contained. don't increment on attached properties
* format
* MergeClosure should reuse if exists, not just set
* add not null on a method
2025-05-27 14:05:10 +01:00
Jedd Morgan
0f8752d5ab
feat(api): Improvements to GrahpQL error handling ( #304 )
...
* Graphql extras
* extra server resource test
* usings
* Fixed test
2025-05-20 12:44:23 +00:00
Adam Hathcock
64a93345d6
Merge pull request #310 from specklesystems/main
...
Main to dev (no squash)
2025-05-19 12:00:56 +01:00
Jedd Morgan
efc38d8f5c
Added Workspace project visibility ( #307 )
.NET Build and Publish / build (push) Has been cancelled
2025-05-14 21:37:39 +03:00
Jedd Morgan
e3ca75abe1
removed csharp 4.7 dependency from .net8 target ( #306 )
2025-05-14 13:12:37 +01:00
Jedd Morgan
5fcb3223d6
Merge branch 'dev' into jrm/main-dev
2025-05-13 11:28:13 +01:00
Adam Hathcock
3a9a633d30
Add empty DataObject tests ( #301 )
...
* Add empty DataObject tests
* format
2025-05-09 14:51:03 +00:00
Jedd Morgan
7f092d529c
feat(api): Add ActiveUserResource.GetProjectsWithPermissions ( #299 )
...
.NET Build and Publish / build (push) Has been cancelled
* Fixed Mistakes (#296 )
* Added extra permission checks (#297 )
* Add extra query for project with permissions
---------
Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com >
Co-authored-by: Adam Hathcock <adam@hathcock.uk >
2025-05-08 15:11:53 +00:00
Jedd Morgan
68a407905d
Add workspaces queries ( #291 )
...
* Add workspaces queries
* Format
* extra tweaks
* init speckle verify
* Add workspace creation state
* Add workspace creation test
* test exceptional cases
* GetActiveWorkspace tests
* fixed test
2025-05-01 21:23:30 +03:00
Jedd Morgan
e938725d35
Added extra test for GetMembers ( #290 )
...
* Added extra test for GetMembers
* fixed tests
* verify
* Format
* Run the module init on unit tests and make it json
* update deps
* gitignore support was disabled in csharpier 1.0.1
---------
Co-authored-by: Adam Hathcock <adam@hathcock.uk >
2025-04-30 16:13:41 +01:00
Adam Hathcock
ad44a7cdbc
Merge branch 'dev' into main-dev
2025-04-24 12:01:32 +01:00
Adam Hathcock
38449dca9a
Update dependencies ( #285 )
2025-04-24 11:59:26 +01:00
Adam Hathcock
764eb43838
Merge branch 'dev' into main-dev
2025-04-24 11:52:02 +01:00
Adam Hathcock
a84e6d89ca
chore(dev) Update to csharpier 1.0 ( #284 )
...
* Update to csharpier 1.0
* Fix check and nowarn
* format
2025-04-24 10:45:09 +00:00
Adam Hathcock
377829adae
fix(main) exception test correction and token usage ( #283 )
...
.NET Build and Publish / build (push) Has been cancelled
* add parallelism on exception after count test
* use scoped token source correctly
* format
* Centralized token usage and made sqlite busy timeout be 5 seconds
* restore write parallelism to 4
* add to comment
2025-04-24 10:40:46 +00:00
Adam Hathcock
d44b4fa52b
add additional test
2025-04-24 08:33:42 +01:00
Adam Hathcock
ea6ca8c555
add registration tests to SDK and ignore classes that can't be made
2025-04-23 15:57:03 +01:00
Adam Hathcock
113f0fd551
Sanitize test references
2025-04-23 15:42:57 +01:00