Commit Graph

716 Commits

Author SHA1 Message Date
Gergő Jedlicska 3be2d72e7d fix(objects): use proper seq log templating (#2384)
* fix(objects): use proper seq log templating

* fix(objects): log message temp variable
2024-06-18 10:17:50 +02:00
Dimitrie Stefanescu a8f4d338f6 Merge branch 'main' into dim/objs-fixes 2024-06-17 16:07:44 +01:00
Dimitrie Stefanescu 28019b21d6 feat(objs): fixes test by commenting it out 2024-06-17 15:50:50 +01:00
Dimitrie Stefanescu 1c13fed24e feat(objs): fast fixes 2024-06-17 15:38:45 +01:00
Kristaps Fabians Geikins eff46485c4 feat(server): generalized automate auth code handshake mechanism (#2360)
* feat(server): generalized automate auth code handshake mechanism

* amend API requests to match with changes in https://github.com/specklesystems/speckle-automate/pull/758

* fix test

* integration fix

* deleting auth code on verification

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-06-17 17:12:17 +03:00
Dimitrie Stefanescu 8a5dc7f909 feat(objs): defaults max obj size to 10x larger 2024-06-17 13:33:02 +01:00
Dimitrie Stefanescu 85f74a4ea4 feat(objs): adds feature flag for no closure writing 2024-06-17 13:30:46 +01:00
Gergő Jedlicska 24b71644a7 fix(objects): use the correct speckle_type value on objects (#2375) 2024-06-16 16:30:50 +02:00
Gergő Jedlicska c79f0c5501 fix(objects): logger templating (#2374) 2024-06-16 13:42:31 +02:00
Gergő Jedlicska cac54f8522 feat: optionally add userId to automate backend tracking (#2362)
* feat: optionally add userId to automate backend tracking

* fix: test should reference a version in triggeringId

* fix: use empty object ref for  testing
2024-06-13 14:26:54 +02:00
Kristaps Fabians Geikins b115a7b4c0 fix(fe2): some bugs causing errors/warnings in FE2 build (#2365) 2024-06-13 13:19:43 +03:00
Kristaps Fabians Geikins bd9faa2415 fix(server): more legible auth errors (#2361) 2024-06-13 10:34:01 +03:00
Kristaps Fabians Geikins 83d8035dc2 chore: upgrade to eslint 9 (#2348)
* root + server

* frontend

* frontend-2

* dui3

* dui3

* tailwind theme

* ui-components

* preview service

* viewer

* viewer-sandbox

* fileimport-service

* webhook service

* objectloader

* shared

* ui-components-nuxt

* WIP full config

* WIP full linter

* eslint projectwide util

* minor fix

* removing redundant ci

* clean up test errors

* fixed prettier formatting

* CI improvements

* TSC lint fix

* 'buildBatch' needs to be async since some batch types (like Text) require it. Removed a disabled liniting rule from ObjLoader

* removed unnecessary void

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
2024-06-12 14:38:02 +03:00
Kristaps Fabians Geikins 2f8272b6ae feat(shared): modularized package & node16 support (#2336)
* feat(shared): modularized package & node16 support

* lockfile update

* various fixes

* moar fixes

* added znv and zod as devdeps of shared

* lockfile update
2024-06-11 14:12:13 +03:00
Dimitrie Stefanescu 56981c196b chore(linting): make the prettier gods happy 2024-06-07 23:33:15 +01:00
Claire Kuang 0f62239548 updates onboarding to set description of first project to include credits 2024-06-07 21:22:58 +01:00
Gergő Jedlicska 9efe5ef489 fix: do not allow same status override (#2346) 2024-06-07 19:48:45 +02:00
Kristaps Fabians Geikins b7409c0fe4 feat(fe2): working function release search (#2345) 2024-06-07 17:24:44 +03:00
Kristaps Fabians Geikins e13b4adaad feat(fe2): retrieving gh orgs from exec engine (#2343) 2024-06-07 15:24:42 +02:00
Kristaps Fabians Geikins bdf27f6218 feat: some mp analytics related to automate actions (#2299)
* fix(fe2): better resiliency for when mp cant be loaded

* WIP mixpanel track calls

* more resiliency improvements

* added all clientside tracking calls

* run finished event

* minor adjustment

* feat(automate): revert automationRunTriggerinAssociation

* feat(automate): track manual run triggers

* feat(automate): backend track automation run created events

* fix(automate): manual trigger type gql schema fix

* feat(automate): add source based filter to run trigger tracking

* fix(automate): fix trigger mock

* various minor adjustments

* remove comment

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-06-07 10:21:24 +03:00
Kristaps Fabians Geikins 2eb704ca4d WIP function create (#2319)
* WIP function create

* feat: add function creation integration

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-06-06 11:36:17 +02:00
Kristaps Fabians Geikins 6410dd04b8 feat(fe2): disable New Automation CTA if no models available (#2327) 2024-06-05 15:35:07 +02:00
Kristaps Fabians Geikins 73abba06cf feat(fe2): pagination for various automate UIs (#2324)
* WIP infinite load helper

* finished automations pagination

* runs pagination working

* fn pagination

* minor cleanup

* subscription cache mutation fixes

* filtered cache update fix

* minor changes
2024-06-05 12:18:13 +03:00
Kristaps Fabians Geikins b54fea0a7c feat: various automate fe2 fixes (#2321)
* minor cleanup

* fix(web-982): hide Open View button if already on that view

* fix(web-1000): showing updated notification when creating automation

* fix(web-1014;web-1016): clearing model select when project changed + listing only valid projects
2024-06-04 13:21:49 +03:00
Kristaps Fabians Geikins 95aa58958f feat: authenticate user as function author (#2316)
* feat: check if user is fn author w/ exec engine

* WIP auth redirect

* finalized
2024-06-03 17:24:28 +03:00
Gergő Jedlicska 8f2974f8d4 chore(server): remove conditional migration flag (#2313) 2024-06-03 16:23:10 +02:00
Chuck Driesler 9eea906158 Merge pull request #2309 from specklesystems/chuck/chuckTestAutomationRuns
WEB-1033 Add ability to create test automation runs
2024-06-03 14:56:30 +01:00
Gergő Jedlicska 30408c5127 chore(server): remove whatt log (#2312) 2024-06-03 07:28:34 +02:00
Charles Driesler d202fd8803 remove flag for test automations 2024-06-01 14:41:05 +01:00
Charles Driesler 1960d2296a Merge branch 'main' into chuck/chuckTestAutomationRuns 2024-06-01 13:29:37 +01:00
Chuck Driesler 3be53f6db5 WEB-1052 Create test automations (#2302)
* fighting migrations

* test automation type

* fix type in tests and add test

* split `storeAutomation` and `storeAutomationToken`

* add `createTestAutomation`

* fix test usage of `storeAutomation`

* do not trigger functions if automation is a test automation

* whoops

* create test automations, almost

* encryption keys on autoamation revisions are NOT optional

* function selection in create test automation step

* update tests, lint

* Align input stylings

Also update the general select input component so the placeholder text aligns with other inputs

* Explain test automation and tweak copy

* Update form components on parameters step

To align with the form component updates I made in previous commits in this branch

* create dialog enhancements

* test automation badges

---------

Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
2024-05-31 16:33:15 +02:00
Kristaps Fabians Geikins 7c68543e3c feat: check if user is fn author w/ exec engine (#2310) 2024-05-31 16:15:53 +03:00
Charles Driesler 26fa2d96ac connect service function to resolver 2024-05-31 11:24:48 +01:00
Charles Driesler 7fb810e89b something like this... 2024-05-30 19:06:23 +01:00
Charles Driesler 846665675a Merge branch 'main' into chuck/createTestAutomation 2024-05-30 13:26:26 +01:00
Charles Driesler d34bae6f5e update tests, lint 2024-05-30 13:03:23 +01:00
Kristaps Fabians Geikins bd7dd40d71 feat(server): posting origin to automate (#2301) 2024-05-30 14:14:44 +03:00
Charles Driesler 9fb829eeb9 encryption keys on autoamation revisions are NOT optional 2024-05-30 11:56:46 +01:00
Charles Driesler 2cb5ce29ea Merge branch 'chuck/testAutomationsDatabaseTypes' into chuck/testAutomationsNewEndpoints 2024-05-30 10:45:57 +01:00
Charles Driesler 2df4c4a233 whoops 2024-05-29 12:45:45 +01:00
Charles Driesler 01f349bc57 do not trigger functions if automation is a test automation 2024-05-29 12:36:02 +01:00
Kristaps Fabians Geikins 7f0b29db55 feat: retry + better handling of failing exec engine api calls (#2292) 2024-05-29 12:18:16 +02:00
Dimitrie Stefanescu 35ed179799 Dim/gendo (#2283)
* feat(gendo): scaffolding

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): it's alive

* feat(gendo): wip

* feat(gendo): blobifies responses to make gergo happy

* feat(gendo): ratelimiting + lints

* feat(gendo): prettier fix

* feat(gendo): last fixes

* feat(gendo): clarifications

* feat(gendo): helm base

* update helm values and deployment to use secrets and allow them to be configured

* Allow the rate limiter to be configured

* Use valid Gendo AI api as default

* fix(helm chart): environment variables should be strings

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-05-29 11:48:17 +02:00
Charles Driesler 894b56b54f fix test usage of storeAutomation 2024-05-28 17:09:33 +01:00
Charles Driesler 16dfefd0bd add createTestAutomation 2024-05-28 13:20:10 +01:00
Kristaps Fabians Geikins c3676a9d27 fix: extra safety for when automate is disabled (#2294) 2024-05-28 15:12:02 +03:00
Charles Driesler 960c646bee split storeAutomation and storeAutomationToken 2024-05-28 12:33:52 +01:00
Kristaps Fabians Geikins dc102d04ed fix(server): automation migration down problems 2024-05-27 15:20:00 +03:00
Charles Driesler 62ec38a49b fix type in tests and add test 2024-05-26 16:54:39 +01:00
Charles Driesler a67038a342 test automation type 2024-05-26 16:44:16 +01:00