Commit graph

54 commits

Author SHA1 Message Date
Dotan Simha
393fc5b7f9
chore(deployment): remove unused sentry-events-monitor for k8s (deprecated) (#6620) 2025-03-17 11:58:50 +02:00
Laurin Quast
0fd4d966ab
feat(deployment): use organization access tokens (#6613) 2025-03-13 18:10:35 +08:00
Laurin Quast
8c3413a207
feat(usage): report with organization access tokens (#6538)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-06 09:19:37 +08:00
Dotan Simha
a31fbd0206
fix(deployment): adjust the resources needed for otel-collector in each env (#6576) 2025-03-04 15:50:12 +02:00
Kamil Kisiela
f60ae6e83e
Replaces rate-limit, stripe-billing and usage-estimator with commerce (#6540) 2025-02-24 10:41:01 +00:00
Dotan Simha
ba207485ad
feat: open telemetry tracing for usage service (#6351) 2025-01-17 10:40:18 +01:00
Dimitri POSTOLOV
e0eb3bdb28
feat: preflight scripts for laboratory (#5564)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Saihajpreet Singh <saihajpreet.singh@gmail.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2024-12-27 10:06:52 +00:00
Tuval Simha
38c14e21d8
feat: audit log for organizations (#5530)
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2024-12-27 10:00:29 +01:00
Dotan Simha
6bc7d1c7a7
Loosen CSP configuration for dev and staging (#6140) 2024-12-18 17:06:30 +02:00
Dotan Simha
290a5d933e
Make CSP loose for staging and dev (#6127) 2024-12-16 14:33:17 +02:00
Dotan Simha
89dbff953a
CSP adjustments to support Lab preflight worker (#6082) 2024-12-16 12:26:19 +02:00
Laurin Quast
316715783b
chore: wake up clickhouse before publishing app deployment (#6088)
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2024-12-09 10:24:31 +02:00
Kamil Kisiela
42b48708b2
Correct the table suffix of CF's Analytics Engine (#5554) 2024-08-29 15:20:56 +02:00
Laurin Quast
23d09836df
feat: CDN request retry race from multiple S3 buckets (#5543)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2024-08-28 21:48:57 +02:00
Laurin Quast
5bf4abd6d6
feat: write artifacts and persisted documents to s3 mirror (#5538)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2024-08-27 19:03:09 +00:00
Laurin Quast
f9f2e387f4
chore: publish app deployment as part of pulumni step (#5279) 2024-07-25 10:37:49 +02:00
Laurin Quast
a899810fad
chore: publish graphql schema as pulumni action (#5275) 2024-07-24 12:42:24 +02:00
Laurin Quast
c1ccea8876
feat: opt-in app deployments persisted documents for hive app (#4866) 2024-07-23 08:45:04 +02:00
Dotan Simha
86cbe95bd2
distributed tracing (#4219) 2024-04-07 11:57:03 +03:00
Kamil Kisiela
f44fdd474a
Move SuperTokens-node to GraphQL server (#4288) 2024-03-26 13:42:56 +01:00
Dotan Simha
df0310dce6
Refactor deployment code (#4138) 2024-03-04 13:56:12 +01:00
Dotan Simha
ff14f7ddb9
Use Sentry to monitor K8s errors instead of Botkube and fixed K8s probes (#4108) 2024-02-29 15:41:57 +00:00
Kamil Kisiela
53c36f8116
Complete Auth0 Migration (#2773)
No more Auth0 mapping.
2023-11-24 10:18:43 +01:00
renovate[bot]
abba794763
chore(deps): update helm release contour to v13 and also update Pulumi dependencies (#2954)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-09-26 12:57:40 +02:00
Dotan Simha
ced56449f8
Implement topologySpreadConstraints for K8s deployments (#2824) 2023-09-16 17:33:28 -07:00
Kamil Kisiela
be84818b5b
Prepare deployment setup for Support Ticketing (#2795) (#2805) 2023-09-06 12:27:22 +00:00
Dotan Simha
1648e4377c
Remove unused hive-police worker (#2531) 2023-06-27 12:13:40 +02:00
Dotan Simha
9238a1f915
Schema policy checks using graphql-eslint (#1730) 2023-05-09 10:07:17 +02:00
Dotan Simha
e659748abf
Unify landing page and docs into a single deployment (#1847) 2023-03-27 17:23:44 +03:00
Kamil Kisiela
22a8e5f7aa
Make tokens service replicable (#1134) 2023-01-26 16:39:41 +01:00
Laurin Quast
162bda92d9
feat: use s3 bucket for validating CDN access tokens (#1143) 2023-01-26 16:36:49 +01:00
Laurin Quast
8ea694c7c2
fix: use correct key for encrypting the keys (#1142) 2023-01-26 11:44:01 +01:00
Laurin Quast
0b4ed81f24
feat: store/import legacy s3 key on s3 [2/4] (#1043) 2023-01-24 09:42:24 +01:00
Dotan Simha
06c694215f
Allow to force rerun migrations jobs and allow to clear db as part of deployment (#1090) 2023-01-21 19:43:18 +00:00
Dimitri POSTOLOV
7ad5e26c34
[🔧 ESLint] import sort (#736) 2022-12-28 20:22:54 +01:00
Dotan Simha
1171b6fa34
Adjustments to Pulumi code to support more pre-prod envs (#845) 2022-12-22 14:00:10 +02:00
Dotan Simha
69ff4d3a24
Replace tgz artifacts with Docker images and refactor all CI pipelines (#808) 2022-12-20 16:34:46 +02:00
Dotan Simha
deb4a7ff92
Ignore CSP and security headers for CDN endpoints (#785) 2022-12-12 12:45:45 +01:00
Dotan Simha
3a37286215
Remove landing page from deployment configuration (#747) 2022-12-06 11:32:43 +00:00
Laurin Quast
8412a34e1a
new artifacts API (#692)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-01 11:08:52 +01:00
renovate[bot]
1afe0ec73a
Update dependency @theguild/prettier-config to v1 (#676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-24 10:00:41 +00:00
Kamil Kisiela
51cb4bb412
Request Proxy in CF Worker (#517) 2022-11-07 14:27:19 +01:00
Laurin Quast
d5c9a8fad5
remove okta deployment config (#599) 2022-11-04 12:37:21 +00:00
Laurin Quast
991c82693b
feat: OIDC organisation integration (#524)
* feat: support login via okta

* add deployment config

* feat: automatically start okta login when visiting /auth with okta provider query parameter

* remove trailing slash from base url

* laurin pls

* ...

* adjust deployment url

* we dont need this

* docs: document how to enabled Google and GitHub social login (#511)

* docs: document how to enabled Google and GitHub social login

* Apply suggestions from code review

* Apply suggestions from code review

* docs: add Okta instructions

* fix typo

* add database migration

* feat: env decoding

* auto generate id

* add generates types for the postgres table

* implement crud graphql fields for the oidc integration entites

* add unique constraint for the oidc domain column

* use correct sql query for updating an oidc integration

* return organization from deleteOIDCIntegration ok result

* add crud forms to the settings page

* update integration test fixture value

* drop unique constraint for oidc_integrations.domain as this would allow a malicous user to block another account from using a domain

* move notice to isolated component

* apply url normalization in a central place

* implement supertokens provider and overrides for dynamic oidc provider integrations

* relocate code to correct files

* prettify oidc crud forms

* replace Query.isOIDCIntegrationFeatureEnabled with the Organization.viewerCanManageOIDCIntegration field

* do not show oidc integrations for personal organizations + disable crud endpoints if the feature is disabled

* load oidc integration for the supertokens flow via trpc from the server

* prepare encryption secret within constructor

* add user to organization upon oidc login

* login via oidc does not create a personal organization

* redirect oidc user to oidc organization

* disallow oidc users to create an organization

* disallow oidc accounts joining another organization

* add test for updating an oidc integration

* enhance ui

* add documentation for OIDC SSO

* add more tests

* import Callout component

* update snapshots

* rename field User.isLinkedToOIDCIntegration to User.canSwitchOrganization to be more decriptive

* add traling new line

* gracefully handle unique constraint

* upgrade supertokens-auth-react and adjust the code in order to remove the global preApiHook

* sync image versions with tests

* remove obsolete comment

* rename database column

* bruv

* add test for oidc user deletion
2022-11-03 16:45:17 +01:00
Dotan Simha
5773754785
Update all Pulumi dependencies to latest and fix deployment tsconfig.json (#541) 2022-10-26 10:27:35 +03:00
Dotan Simha
846e76cde5
Fixes for CSP on Safari, made hostname inference dynamic, remove headway scripts, update and adjust @pulumi/cloudflare setting to use latest version (#522) 2022-10-21 05:33:50 +03:00
Dotan Simha
e697961d6f
Manage security headers through CloudFlare Transform Rule (for SaaS) (#509)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-20 08:04:05 +00:00
Kamil Kisiela
79187c8f19
Use Sentry in CF Workers (#460) 2022-10-07 12:08:29 +02:00
Kamil Kisiela
b9d8e2ceac
Fix the new env vars setup (#450)
* Use 5432 as default port of pg

* Fix ssl

* fix: only set heartbeat env variable if heartbeat is enabled (#446)

* fix: only set heartbeat env variable if heartbeat is enabled

* fix: default port

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

* POSTGRES_SSL everywhere

* oh come on

* Fix Kafka connection

* Fix DOCS_URL

* Fix docs url

* But I can feel your heartbeat

I can feel your heartbeat (he said to me)

'I can feel your heartbeat' (running through me)

Feel your heartbeat

She said, 'I can feel your heartbeat' (she said to me)

'I can feel your heartbeat' (she said to me)

'I can feel your heartbeat' (running through me)

Your heartbeat, feel your heartbeat

* Your heartbeat, your heartbeat

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-10-05 11:48:05 +02:00
Laurin Quast
6540155fc7
feat: replace auth0 with supertokens (#303)
* add supertoken container to docker-compose file

* yeah I am sorry this one big commit and I am ashamed of it

* use logOut function

* feat: show header on 404 page

* feat: better handling for organization cookie when not authenticated

* wrap it

* check session within server side props

* add is_admin flag user migration

* simplify and annotate the config

* fix: handle status codes + fix email/password sign up with import from auth0

* no hardcoded env pls

* decode process.env

* secure update user id mapping via a key

* fix: login form

* lol we don't need to hit the API

* fix: do graphql api authorization via authorization header instead of cookie

* implement isAdmin flag

* fix: types :)

* skipit

* yo we can run this

* set env variables

* disable because it annoys the hell out of me

* use the right host

* add not about token length

* refactor: decode environment variables

* feat: store external user id from guthub/google provider in the database

* workaround supertokens omitting null values from the token

* re-enable check

* i have no time for this shit

* add missing env variable

* fix: email test; missing domain extension

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

* fix: env names

* fix: link google account to the correct db record

* feat: email confirmation emails

* ?

* bump ts-node

* fix types

* omit package form the bundle

* remove it from dependencies...

* add emails apckage to dev deps

* resolve eslint issues

* remove comments

* update dev info + change env variable (no need to expose it on the frontend)

* use correct user id lol

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2022-09-06 09:38:31 +02:00