Commit Graph

5530 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins 01bc2e0253 chore(server): quick js to ts #5 - remaining stragglers 2024-10-25 15:47:28 +03:00
Kristaps Fabians Geikins c579e208ee Merge pull request #3397 from specklesystems/fabians/quick-js-to-ts-3
chore(server): quick js to ts #3 - remaining branches resolver
2024-10-25 12:22:20 +01:00
Gergő Jedlicska 48b0fe0b29 feat(gatekeeper): add all plan statuses (#3398) 2024-10-25 13:19:35 +02:00
Kristaps Fabians Geikins 64c3a5c62d Merge pull request #3396 from specklesystems/fabians/quick-js-to-ts-2
chore(server): easy js to ts migrations #2 - objectStorage.ts
2024-10-25 12:00:26 +01:00
Kristaps Fabians Geikins f690f1016a branchDeleted 2024-10-25 13:57:58 +03:00
Kristaps Fabians Geikins 64d2888506 branchUpdated sub 2024-10-25 13:55:26 +03:00
Kristaps Fabians Geikins cedc1beb6c branchCreated sub 2024-10-25 13:50:01 +03:00
Kristaps Fabians Geikins 716a108c7a got rid of forced casting 2024-10-25 13:31:33 +03:00
Kristaps Fabians Geikins 04400b1ee9 chore(server): easy js to ts migrations #2 - objectStorage.ts 2024-10-25 13:21:30 +03:00
andrewwallacespeckle 678c75350c feat(fe2): Update Section Box controls to include visibility (#3333)
* Update Section Box controls to include visibility

* Update reset v-if

* Update shortcut

* Added render requests so that section box updates are made visible

* Remove comments

* Exposed SectionToolEvent in the viewer

* Only show reset when change has been made to sectionbox

* gql

* Make state reactive

* Revert "Make state reactive"

This reverts commit 1697b12cd67d1da6f79658996c8822d1eb962d3b.

* Handles WEB-2039

* Handles WEB-2035

* Changes from call with Fabs

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
2024-10-25 10:46:48 +01:00
Gergő Jedlicska af3857a209 gergo/web 2038 billing graphql api (#3379)
* feat(gatekeeper): add gatekeeper module feature flag

* feat(gatekeeper): add workspace pricing table domain

* feat(gatekeeper): add checkout session creation

* feat(gatekeeper): verify stripe signature

* wip(gatekeeper): checkout callbacks

* feat(gatekeeper): add unlimited and academia plan types

* refactor(envHelper): getStringFromEnv helper

* chore(gatekeeper): add future todos

* feat(gatekeeper): add productId to the subscription domain

* feat(gatekeeper): add in memory repositories

* feat(gatekeeper): add more errors

* feat(gatekeeper): complete checkout session service

* feat(gatekeeper): add stripe client implementation

* feat(gatekeeper): add checkout session completion webhook callback path

* feat(gendo): fix not needing env vars if gendo module is not enabled

* feat(gatekeeper): require a license for billing

* chore(gatekeeper): cleanup before testing

* feat(gatekeeper): subscriptionData parsing model

* ci: add billing integration and gatekeeper modules to test config

* test(gatekeeper): add checkout service tests

* feat(gatekeeper): make completeCheckout callback idempotent properly

* feat(gatekeeper): move to knex based repositories

* test(gatekeeper): billing repository tests

* feat(gatekeeper): add yearly billing cycle toggle

* feat(ci): add stripe integration context to test job

* feat(billingPage): conditionally render the checkout CTAs

* fix(gatekeeper): remove flaky test condition

* feat(helm): add billing integration feature flag

* WIP billing gql api

* feat(gatekeeper): cancel checkout session api

* feat(gatekeeper): handle existing checkout sessions, when trying to create a new one

* feat(gatekeeper): add workspace plans gql api

* feat(gatekeeper): handle cancelation and subscription updates

* fix(gatekeeper): scope initialization

* fix(gatekeeper): eliminate stripe client import sideeffect

* fix(gatekeeper): eliminate stripe client import sideeffect 2

* fix(mainConstants): fitler gatekeeper scopes with feature flag
2024-10-25 10:46:09 +02:00
Kristaps Fabians Geikins d4241b04f5 Merge pull request #3395 from specklesystems/fabians/quick-js-to-ts-1
chore(server): easy js to ts migrations #1
2024-10-25 09:31:09 +01:00
Kristaps Fabians Geikins 64dbc694ec quickfix 2024-10-25 11:07:35 +03:00
Kristaps Fabians Geikins ddea35e15b chore(server): easy js to ts migrations #1 2024-10-25 11:05:43 +03:00
Kristaps Fabians Geikins ca61e4f4a1 ip.ts 2024-10-25 10:51:48 +03:00
Kristaps Fabians Geikins b590fdd711 Merge pull request #3388 from specklesystems/fabians/gendo-ioc-1
chore(server): gendo IoC #1 - prep/cleanup before getting started
2024-10-25 08:44:30 +01:00
Kristaps Fabians Geikins 6d53308fd8 chore(server): gendo IoC #1 - prep/cleanup before getting started 2024-10-24 15:39:41 +03:00
Alessandro Magionami 30fc2a547d Merge pull request #3387 from specklesystems/alessandro/fileimport-service-ioc-1-server-api
Fileimport IoC 1 ServerAPI refactor multiregion
2024-10-24 14:20:43 +02:00
Alessandro Magionami 60795e9a44 Merge pull request #3378 from specklesystems/alessandro/web-1979-webhook-service
webhook-service  refactor multiregion
2024-10-24 14:20:27 +02:00
andrewwallacespeckle da473a6480 fix(fe2): Handle no webflow api token errors more gracefully (#3386)
* Update webflow.ts

* Still show errors for actual problems
2024-10-24 10:15:56 +01:00
andrewwallacespeckle 40da46a1ce Update onSubmit router.push to use workspaceRoute (#3383) 2024-10-24 10:01:05 +01:00
Alessandro Magionami 5f7d16aaae chore(fileimport): ServerAPI refactor multiregion 2024-10-24 10:41:52 +02:00
Alexandru Popovici 167ed7612d Pass Reader Buffer Size Fix (#3384)
* Fixed the pass reader's incorrect buffer size calculation

* Removed the snadbox copy of PassReader

* Removed screenshot replacement

* Removed imports
2024-10-24 10:19:45 +03:00
Kristaps Fabians Geikins 5624f15a4e Merge pull request #3382 from specklesystems/fabians/email-verification-twice-fix
fix(server): on sign up send out only 1 verification email
2024-10-23 13:49:03 +01:00
Kristaps Fabians Geikins f4b3b8a769 naming stuff 2024-10-23 15:35:45 +03:00
Kristaps Fabians Geikins 0e4e9958cd improved logging 2024-10-23 15:31:22 +03:00
Kristaps Fabians Geikins 34069a47ec fix(server): sign up emails sent out twice 2024-10-23 15:16:32 +03:00
andrewwallacespeckle def74d1029 Update deployment.yml (#3381) 2024-10-23 11:52:15 +01:00
andrewwallacespeckle ce37f9592d Update api key name for consistency (#3380) 2024-10-23 10:38:54 +01:00
Kristaps Fabians Geikins 5c30d4a5ab Merge pull request #3351 from specklesystems/fabians/sign-up-event-improvements
fix(server): more resilient sign up tracking
2024-10-23 10:16:26 +01:00
andrewwallacespeckle d7004f2933 Update StringFilter.vue (#3377) 2024-10-23 09:53:53 +01:00
Chuck Driesler dc9519f141 fix(workspaces): emit slug with discoverable workspaces (#3361)
* fix(workspaces): emit slug with discoverable workspaces

* chore(workspaces): gql lint
2024-10-23 09:50:08 +01:00
Alessandro Magionami bed0fd60c6 Merge pull request #3373 from specklesystems/fabians/core-ioc-105
chore(server): core IoC #105 - remaining js rest to ts
2024-10-23 10:03:50 +02:00
Alessandro Magionami f6a87a4898 Merge pull request #3372 from specklesystems/fabians/core-ioc-104
chore(server): core IoC #104 - validatePermissionsWriteStreamFactory
2024-10-23 09:58:42 +02:00
Alessandro Magionami 9b5d935ccc Merge pull request #3371 from specklesystems/fabians/core-ioc-103
chore(server): core IoC #103  - validatePermissionsReadStream
2024-10-23 09:58:14 +02:00
Alessandro Magionami f073faf7b0 Merge pull request #3370 from specklesystems/fabians/core-ioc-102
chore(server): core IoC #102 - adminProjectListFactory
2024-10-23 09:34:31 +02:00
Alessandro Magionami 2cf9bee7e4 Merge pull request #3366 from specklesystems/alessandro/web-943-add-branch-deleted-activity
Activitystream IoC 4 addBranchDeletedActivity
2024-10-23 09:33:30 +02:00
Iain Sproat 0ec4a87c7c fix(file import): server port was broken when localhost was canonical url (#3360)
* fix(file import): server port was broken when localhost was canonical url
- use getServerOrigin() instead of directly calling process.env.CANONICAL_URL
- where server is calling itself, use 127.0.0.1 instead of CANONICAL_URL.
- where server is calling itself (i.e. 127.0.0.1, use the server's listening port and not default for protocol http/80, https/443
- tidy some areas where process.env was called directly; should use envHelper.

* fix tests
2024-10-22 21:12:18 +02:00
Alessandro Magionami c1f47828f6 chore(webhook-service): refactor multiregion 2024-10-22 16:54:25 +02:00
Adam Hathcock 89882c4fd6 Add otel tracing (#3294)
* add OpenTelemetry

* fix local tracing and add pino

* fix otel as seperate file

* Rework provider initialization

* Use env vars

* review comments

* lock update

* updates to env var handling

* Helm chart for opentelemetry environment variables
- also adds try/catch when detecting if environment variable exists

* review fixes

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-10-22 15:23:39 +01:00
andrewwallacespeckle 083531e5c9 refactor(fe2): Use webflow api for dashboard stories (#3342)
* Initial work

* fallback image

* Update api name

* Add read time

* Filter out newly updated stories

* Update webflow.ts

* Add NuxtImg

* Update webflow.ts

* Update Card.vue

* Rename to Webflow Items

* Helm changes

* Rename webflow to blog

* useAsyncData

* Throw error if no API
2024-10-22 14:58:31 +01:00
andrewwallacespeckle d48b935722 feat(fe2): Add change role dialog to guests table (#3375)
* Add change role dialog to guests table

* PR comments

* Disabled items based on role

* Fix build
2024-10-22 13:47:18 +01:00
Iain Sproat d48d9dfa1d chore(blobstorage): refactor to typescript (#3374) 2024-10-22 12:58:55 +01:00
Kristaps Fabians Geikins 913696cb0c chore(server): core IoC #105 - remaining js rest to ts 2024-10-22 12:52:14 +03:00
andrewwallacespeckle bd00c6185b Update bounding on opening of menu (#3359) 2024-10-22 10:47:44 +01:00
Kristaps Fabians Geikins 284d94f8ca chore(server): core IoC #104 - validatePermissionsWriteStreamFactory 2024-10-22 12:22:36 +03:00
Alessandro Magionami 89daf1298e Merge pull request #3369 from specklesystems/fabians/core-ioc-101
chore(server): core IoC #101 - adminInviteListFactory
2024-10-22 11:20:47 +02:00
Alessandro Magionami 36d1d76fa7 Merge pull request #3368 from specklesystems/fabians/core-ioc-100
chore(server): core IoC #100 - rename
2024-10-22 11:20:13 +02:00
Alessandro Magionami 844fe3cfa4 Merge pull request #3367 from specklesystems/fabians/core-ioc-99
chore(server): core IoC #99 - batchDeleteCommitsFactory
2024-10-22 11:19:40 +02:00
Kristaps Fabians Geikins b128d13dbe chore(server): core IoC #103 - validatePermissionsReadStream 2024-10-22 12:16:04 +03:00