Björn Steinhagen
ea118bcdbb
fix: collection order ( #380 )
...
* fix: collection order
* chore: format
* refactor: keeping depth first
2025-09-08 09:21:02 +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
4b588fc287
Do not dispose the activity factory ( #372 )
.NET Build and Publish / build (push) Has been cancelled
2025-08-04 14:21:50 +00: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
Jedd Morgan
bcdf73cc70
Updated active workspace query ( #365 )
2025-07-25 08:42:43 +01: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
a43fd44206
Stop recording an exception that's rethrown ( #355 )
...
* Stop recording an exception that's rethrown
* Update src/Speckle.Sdk/Api/GraphQL/Client.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-14 10:15:40 +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
Jedd Morgan
5a0f883b98
Add compatibility with :local docker images ( #353 )
...
Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com >
2025-07-03 10:28:35 +01:00
Adam Hathcock
a5d035671a
If we're already cancelling, ignore extra exceptions ( #349 )
...
* If we're already cancelling, ignore extra exceptions
* Do more robust cancellation
* Try to have more robust disposal and cancellation check
2025-07-01 10:20:32 +01: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
b97702adb1
Small fixes to SDK ( #347 )
...
* Increase channel capacity to make things more performant
* Avoid logging send cancellation exceptions, caller did it
* Try to avoid collection modified errors when cancelling by more aggressive checks
* oops, rethrow, don't catch
2025-06-30 10:37:30 +00:00
Adam Hathcock
fb5042004f
Merge remote-tracking branch 'origin/dev' into main-dev
2025-06-30 08:58:57 +01:00
oguzhankoral
b783d2acb6
Format
2025-06-23 15:57:24 +03:00
oguzhankoral
93539adc1e
Add level proxies
2025-06-23 15:42:48 +03:00
Adam Hathcock
98005933de
Remove DistinctBy as we don't use it ( #342 )
2025-06-19 09:34:34 +01: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
bc81c21e9d
format
2025-06-10 11:15:30 +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
Jedd Morgan
8c6426d617
Updated one more usage of newtonsoft ( #332 )
...
Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com >
2025-06-05 10:39:16 +00:00
Adam Hathcock
5562ce1a2d
Add detail to the message in logs ( #331 )
2025-06-05 09:54:36 +01:00
Jedd Morgan
7019b8d7c6
Fix(automate): STJ camel casing ( #330 )
...
* stj required
* More requireds
* Use JSON serializer settings for camel case rule
* readonly
* static naming
2025-06-04 15:56:50 +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
7b5ada57cd
Changing uploaded to uploading to better show progress than just rate ( #321 )
2025-06-03 16:27:02 +00: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
c0a66a297a
Add info to send/receives for debugging ( #325 )
2025-06-03 12:48:05 +01:00
Adam Hathcock
48313cb082
Merge remote-tracking branch 'origin/dev' into main-dev
2025-06-02 15:50:19 +01:00
David Kekesi
0e97782c29
fixed comment
2025-06-02 09:12:12 +02:00
David Kekesi
298dedc3af
text class update pr moved to main
2025-05-30 19:01:02 +02: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
21851c06d2
Use WhenAll instead of WhenAny and avoid manual task exception processing ( #300 )
...
* No reason to process exceptions manually
* formatting
* use a pool for gathering child task results
* Use a smaller whenany with a cancellation
* formatting
2025-05-13 10:00:53 +01: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
a4f0e0e4aa
Added extra permission checks ( #297 )
.NET Build and Publish / build (push) Has been cancelled
2025-05-08 09:25:08 +00:00
Jedd Morgan
227729a0df
Fixed Mistakes ( #296 )
.NET Build and Publish / build (push) Has been cancelled
2025-05-07 17:01:56 +00:00
Adam Hathcock
a61c442930
Merge branch 'dev' into main-dev
2025-05-06 13:50:16 +01:00