0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
Commit Graph

39 Commits

Author SHA1 Message Date
Marius Andra
0fd91f4743
feat(cdp): hog to JS transpiler (#26143) 2024-11-18 13:38:25 +00:00
Haven
27a2b93d55
chore(dev-x): add Jest test debugger configuration for VS code (#26161) 2024-11-14 10:35:06 -08:00
Ben White
7fd0fbb207
feat(cdp): Use cyclotron part 2 (#24746) 2024-09-10 09:05:30 +02:00
Michael Matloka
f41d982750
chore(launch.json): Use workspace Python and skip debugging Node deps (#24448) 2024-08-19 16:55:26 +02:00
Michael Matloka
ceccb49800
feat(insights): Make initial single insight load async v2 (#23978)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anirudh Pillai <anirudhx5@gmail.com>
2024-08-01 13:03:34 +02:00
Ben White
cff159c8ec
feat(cdp): Form for missing destinations (#23910) 2024-07-23 16:37:32 +00:00
Thomas Obermüller
ab24ac4066
feat(vscode): add launch config for local https (#23771) 2024-07-17 13:43:03 +02:00
Brett Hoerner
8f4df45984
feat: make rusty-hook Hog-aware, sending responses back via kafka (#23619)
Co-authored-by: Ben White <ben@posthog.com>
2024-07-16 11:12:48 -06:00
Tom Owers
3e88f154f0
chore(dev-ex): Added the ability to debug non-ph code in vscode tests (#23644) 2024-07-11 22:24:02 +02:00
Thomas Obermüller
c5a4bc6d46
fix(vscode): remove celery beat from compound launcher (#23547) 2024-07-09 12:05:13 +02:00
Tom Owers
08e2129068
feat(dev-ex): Auto reload celery without an external watcher, and with debugging su… (#23402)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julian Bez <julian@posthog.com>
2024-07-03 10:55:52 +02:00
Raquel Smith
6b312960b1
feat: add a launch compound for posthog with local billing (#23410) 2024-07-02 11:26:29 -07:00
Julian Bez
69927a7675
feat(celery): Restart Celery automatically on code changes (#23279) 2024-06-27 17:02:11 +02:00
Ben White
23147c072d
feat: CDP Templates (#22896) 2024-06-13 17:16:49 +02:00
Thomas Obermüller
e521c7aef9
chore(vscode): add autoreload for celery (#22675) 2024-06-04 18:29:11 +01:00
Raquel Smith
9214ca79f8
feat: add a launch config for local billing (#22683) 2024-06-04 10:17:16 -07:00
Thomas Obermüller
4888ba1baa
chore(vscode): adapt celery configuration (#22606) 2024-05-31 17:03:13 +02:00
Ben White
1ae52e2916
feat: Enforce password meets zxcvbn standard (#22192) 2024-05-10 11:23:34 +02:00
Tom Owers
961462b0cf
fix: Fixed launch.json billing url (#22191)
Fixed launch.json billing url
2024-05-08 11:37:19 -04:00
Bianca Yang
a266ffc60e
feat: Update tiers usage information with local org usage information (#21957)
* update tiers usage with local org usage information

* type finagling

* update addon tiers as well

* test

* Update ee/billing/billing_manager.py

* update tests

---------

Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
2024-05-07 23:25:22 +00:00
Tom Owers
3a90d82940
fix(celery): Run celery locally as a single worker (#21772)
Run celery locally as a single worker
2024-04-23 23:15:35 +02:00
David Newell
33d13aff4d
chore: remove ingestion experiment (#21583) 2024-04-17 15:12:59 +01:00
Ben White
bcbe300c22
feat: Replay ingestion with EFS (#20487) 2024-02-26 09:43:27 +01:00
Ben White
1b15f27ba8
feat: Swapped to express for plugin server http server (#20506) 2024-02-22 17:03:23 +00:00
Ben White
4dd3c35933
feat: Personal API key scopes (#20151) 2024-02-20 11:02:58 +00:00
Julian Bez
d13ffcf7f6
chore(celery): Change local Celery Pycharm run to solo for better debugging (#20439) 2024-02-20 10:50:10 +00:00
Bianca Yang
c92b25b0ce
feat: Set auto login in vscode launch json (#19011)
* Set auto login in vscode launch json

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: Bianca Yang <bianca@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-04 17:18:00 +00:00
Tom Owers
182e5273f6
fix: vscode launch file to debug celery tasks (#18598)
Fix the vscode launch file to debug celery tasks
2023-11-15 09:36:47 +00:00
Ben White
bc18936637
fix: Layout and theme of onboarding for 3000 (#18503) 2023-11-10 10:47:45 +01:00
Michael Matloka
16a71f60c9
perf: Parse HogQL with C++ for a huge speedup (#17659)
* Add partial C++ parser of HogQL

* Support all the rules and add proper error handling

* Use `AlignAfterOpenBracket: BlockIndent`

* Reuse all the parser tests for the C++ backend

* Fix relationship between headers and implementations

* Add more error handling and fix minor issues

* Build both Python and C++ parsers in the package.json script

* Update ARRAY JOIN error assertion

* Improve timeit

* Move the C extension to the top level

* Refactor `vector_to_list_string`

* Build the parser on Linux

* Build wheels for the parser

* Simplify Linux build and fix macOS

* Fix Homebrew paths on x86 and don't fail fast in CI

* Set MACOSX_DEPLOYMENT_TARGET for C++20

* Set up QEMU for Linux ARM builds

* Publish the wheels on PyPI

* Avoiding Linux ARM emulation in CI for now

* Build sdist too

* Revert Dockerfile changes

* Fix PyPI publish

* Add README and optimize sdist build

* Use setup.py directly instead of build

* Use PyPI hogql-parser instead of local

* Also revert production-unit.Dockerfile

* Fix sdist upload and add Linux ARM back

* No Linux ARM build in the end

* Fix artifact uploading

* Do try building Linux ARM

We need this for prod.

* Use `npm` in `grammar:build`

`pnpm` is not available in that job.

* Fix formatting of hogql_parser

* Build everything on macOS

* Revert "Build everything on macOS"

Not so fast actually.

* Use hogql-parser=0.1.1

* Fix dylib in macOS wheel

* Bump hogql-parser version

* Fix missing module error

* Delete timeit.py

* Make error handling robust

* Format the C++

* Use `hogql-parser==0.1.1`

* Fix reserved keyword error assertions

* Use HEAD hogql_paresr in CI

* Fix `apt` usage

* Add some sudo in CI

* Ensure package will be releasable before build

* Bump version to 0.1.3

* Cover C++ `unquote_string` with tests

* Use BuildJet ARM runners for ARM builds

* Add some instructions

* Add HogQL version check to backend CI

* Update requirements.txt

* Use `setuptools` instead of the deprecated `distutils`

* Fix working dir in backend CI

* Align ANTLR versions

* Add test for "mismatched input"

This is thrown differently than other HogQLSyntaxExceptions in C++, so might help reveal what's going on with tests failing only on Linux CI and not macOS dev

* Add types and bump version

* Comment instead of failing version check

* Automate hogql-release version bump

* Fix checkout token

* Don't build hogql-parser if there were no changes

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Improve documentation

* Use new hogql-parser version

* Fix error start and end initialization

* Note `antlr4-cpp-runtime`

Co-authored-by: Marius Andra <marius.andra@gmail.com>

* Also remove NUL chars in C++

* Check ANTLR4 runtime archive checksum for security

* Note more decrefs to add

* Add vector size checks

* Use new hogql-parser version

* Don't support the `start` arg in C++ `parse_expr`

* Use new hogql-parser version

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Marius Andra <marius.andra@gmail.com>
2023-10-13 13:58:08 +00:00
Paul D'Ambra
7d9b95a14a
chore: launch celery by module in pycharm (#17901)
* chore: launch celery by module in pycharm

* Revert "chore: launch celery by module in pycharm"

This reverts commit 6a6d3b5274.

* run in vscode more like in production
2023-10-11 08:12:16 +00:00
Ben White
e1dc70e635
feat: Batch Exports UI rework (#16926) 2023-08-16 15:06:09 +01:00
Ben White
d8df34f4ab
feat: Replay events consumer (#16642) 2023-07-20 14:41:25 +00:00
Paul D'Ambra
1621ad956c
feat: allow disabling high water mark processing (#16399)
Problem
We're not able to play back all of the recordings captured by the blob ingester, the offset high water mark processing is new and if it isn't working correctly would lead to us skipping data we should not have

Changes
Allow us to set an environment variable that uses a no-op high-water mark processor
sneaks in removal of the no-longer-used SESSION_RECORDING_BLOB_PROCESSING_TEAMS env var
2023-07-06 10:37:06 +01:00
Ben White
8deaf4e8ea
feat: Swapped to use KAFKA_HOSTS everywhere (#16109)
* Swapped to use KAFKA_HOSTS everywhere

* Fixed up type of kafka config options and setup separate kafka hosts for blob consumer

* allow session recordings to have its own kafka security protocol

* remove slash commands from this pr

* syntax must be obeyed

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* fix

* Update query snapshots

* no empty strings in kafka hosts

* fix snapshot

* fix test

---------

Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-19 12:15:17 +01:00
Ben White
27b75226b0
feat: Completely separate ingestion for replay events (#16024)
---------

Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-15 14:13:28 +01:00
Ben White
132b22bbda
fix: Blob ingester missing bits (#15724)
Fix missing sentry require as well as missing return statement
2023-05-25 13:41:04 +00:00
Ben White
48811bfb3b
feat: Added compound launch config for vscode (#11501) 2022-08-25 16:30:52 +00:00
Emanuele Capparelli
02aad1fa89
chore: add debugger config for vs code (#10166)
* chore: add debugger config for vs code

* fix: restrict gitignore to only vscode/launch.json
2022-06-08 13:19:59 +02:00