Eric Duong
7131400ea3
feat(data-warehouse): add salesforce integration ( #23212 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-13 17:30:15 -04:00
Tom Owers
90071b90f4
feat(data-warehouse): Use compact and vacuum on delta tables + s3 wrapper ( #24335 )
2024-08-13 15:28:32 +01:00
Marius Andra
0be448856b
feat(hog): escape curlies properly ( #24311 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-12 16:30:52 +02:00
Tom Owers
59a15230fc
feat(data-warehouse): Added the ability to use dashboard filters in BI queries ( #24033 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
2024-07-31 13:20:23 +01:00
James Greenhill
01a89867bb
feat: lightweight deletes, metrics, and pagerduty for async delete task ( #24035 )
2024-07-27 03:59:45 +00:00
Tom Owers
f27b7b3904
feat(bi): Implemented a naive version of links for BI ( #24013 )
...
Co-authored-by: Marius Andra <marius.andra@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-26 14:03:37 +01:00
Marius Andra
c909bc9b88
fix(hog): c++ parser feedback ( #24008 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-26 10:33:15 +02:00
Marius Andra
c64d94a26c
feat(hog): try catch ( #23858 )
2024-07-25 16:57:28 +02:00
Tomás Farías Santana
240e8e31e4
fix: Set NondeterminismError for batch exports to fail ( #23972 )
...
Co-authored-by: Tom Owers <tom@posthog.com>
2024-07-25 12:16:29 +00:00
Tom Owers
17b0c8f35e
fix(data-warehouse): Implemented upserts for incremental syncs ( #23850 )
2024-07-24 13:14:53 +01:00
Tom Owers
f4180098b6
feat(data-warehouse): add the ability to connect to MySQL as a datawa… ( #23921 )
...
Co-authored-by: Jacob Spizziri <jspizziri@weare5stones.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-24 10:50:24 +01:00
Tom Owers
64b0b11bfb
chore(data-warehouse): Upgraded sql alchemy ( #23916 )
2024-07-23 18:25:13 +01:00
Tom Owers
a945b56f96
chore(data-warehouse): Validate source credentials when they get entered ( #23825 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-19 09:28:26 -04:00
Eric Duong
2bfd439889
feat(data-warehouse): Use delta format for DLT ( #23584 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tom Owers <owerstom@gmail.com>
Co-authored-by: Tom Owers <tom@posthog.com>
2024-07-15 18:16:36 +01:00
Marius Andra
ffcede0bb8
fix(hog): 0-indexed array errors to resolver ( #23676 )
2024-07-12 16:07:11 +02:00
Marius Andra
0a2c3dca04
feat(hog): for in loops ( #23631 )
2024-07-11 18:34:21 +02:00
dependabot[bot]
e7db718e2b
chore(deps): bump django from 4.2.11 to 4.2.14 ( #23621 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-11 08:44:57 +01:00
Marius Andra
5c90d21751
feat(hog): nullish coalescing ( #23521 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-09 13:02:00 +02:00
Zach Waterfield
9ce8bc5d93
chore: add comment about xmlsec and lxml ( #23260 )
2024-06-28 10:15:34 -07:00
Sandy Spicer
eac199d24a
chore: upgrade python to 3.11 ( #23206 )
2024-06-27 14:16:27 -07:00
dependabot[bot]
136374a37f
chore(deps): bump scikit-learn from 1.4.0 to 1.5.0 ( #23035 )
2024-06-26 09:27:30 +01:00
Marius Andra
da8565f39c
fix(hog): C++ parser exception ( #23232 )
2024-06-25 21:52:29 +02:00
Sandy Spicer
6c23c9bd89
revert: "chore: upgrade python to 3.11 🐍 " ( #23198 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 11:50:48 -07:00
Sandy Spicer
ebb61479ed
fix: saml auth upgrade ( #23197 )
...
Co-authored-by: Zach Waterfield <zlwaterfield@gmail.com>
2024-06-24 17:56:01 +00:00
Tom Owers
56f8de77a1
feat(data-warehouse): Added incremental syncs for postgres ( #23145 )
...
* Added incremental syncs for postgres
* Tests
* Fixed mypy
* Added extra protection on the sync form
* Set the correct write disposition for SQL
* PR fixes
* Fixed tests
* Fixed tests
* Fixed tests
2024-06-24 12:47:04 +01:00
Sandy Spicer
23a789d9fe
chore: upgrade python to 3.11 🐍 ( #22932 )
...
🐍
2024-06-21 16:45:42 +00:00
Marius Andra
01a9f360ad
feat(hog): C++ parser ( #23100 )
2024-06-21 11:22:39 -05:00
Sandy Spicer
29b66549b4
fix: update compression settings and change library ( #22992 )
2024-06-17 09:35:50 -07:00
Marius Andra
f6f25f0d42
fix(hog): release new parser ( #22913 )
2024-06-12 16:02:45 +02:00
Marius Andra
a98ed9281e
feat(hogql): window functions with params and args ( #22862 )
...
* feat(hogql): window functions with params and args
* Use new hogql-parser version
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-11 10:32:03 +01:00
Tom Owers
a11be6ed6e
feat(data-warehouse): Added a snowflake integration ( #22723 )
...
* Added a snowflake integration
* Make a stupid migration because django is stupid
* Renamed postgres folder
* Update correct migration dependency
* Fixed imports in tests
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-06 15:39:39 +01:00
Tom Owers
61d0e79061
chore: Upgraded clickhouse driver ( #22744 )
...
Upgraded clickhouse driver
2024-06-06 14:46:48 +01:00
Marius Andra
cb5260c8e0
fix(hog): property assigment via dots ( #22659 )
2024-06-04 15:24:59 +00:00
Marius Andra
0198ec7e1d
feat(hog): f-strings ( #22577 )
2024-05-30 20:32:39 +02:00
Tom Owers
5e00b6b1aa
feat(data-warehouse): Added SSH tunnelling option for postgres syncs ( #22511 )
...
* WIP
* SSH tunnel for postgres
* Remove unused class
* Updated mypy
* Tests and security
* Added tests for data import
* Update UI snapshots for `chromium` (2)
* Added upterm to debug CI
* Removed hogvm test
* Update UI snapshots for `chromium` (2)
* Update query snapshots
* Updated requirements
* Update UI snapshots for `chromium` (2)
* Update query snapshots
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Use the correct wheel version
* Update query snapshots
* Update query snapshots
* Restore skipped tests in action
* Update query snapshots
* Update UI snapshots for `chromium` (2)
* Skip hogvm tests
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update query snapshots
* Update UI snapshots for `chromium` (2)
* Use ActivityEnvironment for data import tests
* Update query snapshots
* Update UI snapshots for `chromium` (2)
* Move test
* Update query snapshots
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-29 15:49:53 +01:00
Raquel Smith
83a0d62a3a
revert: fix: pin xmlsec to fixed version ( #22477 )
2024-05-23 17:17:38 +00:00
David Newell
cdd6a65b2a
fix: pin xmlsec to fixed version ( #22394 )
2024-05-22 11:46:01 +01:00
Thomas Obermüller
1812d8a523
feat(hogql): support join USING (replaces #21916 ) ( #22378 )
...
---------
Co-authored-by: Nikita Vorobev <nikitaevg@google.com>
2024-05-21 20:46:36 +02:00
dependabot[bot]
072c13536f
chore(deps): bump requests from 2.31.0 to 2.32.0 ( #22376 )
...
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 09:34:37 +00:00
Ben White
1ae52e2916
feat: Enforce password meets zxcvbn standard ( #22192 )
2024-05-10 11:23:34 +02:00
Phani Raj
53b7f543ff
fix(survey): Randomize Linked feature flag for surveys ( #22032 )
...
* Randomize Linked feature flag for surveys
* Fix requirements.txt
* remove survey name from linked flag id
* Match positive case and fix requirements file
* use uv pip compile
2024-05-02 15:31:21 +01:00
Eric Duong
20a9b50b45
Revert "chore(data-warehouse): convert postgres import to async" ( #21995 )
...
Revert "chore(data-warehouse): convert postgres import to async (#21959 )"
This reverts commit ec79157d94
.
2024-04-30 15:58:01 -04:00
Eric Duong
ec79157d94
chore(data-warehouse): convert postgres import to async ( #21959 )
...
* convert postgres import to async
* use async
* remove sqlalchemy
* update package vers
* change var name
* adjust date vars
2024-04-30 15:23:06 -04:00
ted kaemming
dd03cd69f1
chore: Update psycopg to 3.1.18 (latest release.) ( #21862 )
...
* chore: Update `psycopg` to 3.1.18 (latest release.)
* Update requirements files.
2024-04-25 12:06:50 -07:00
Eric Duong
9fa792dfe1
chore(data-warehouse): upgrade dlt version ( #21743 )
...
* update requirements
* change version
* Fixed mypy issues
* remove pip-tools
---------
Co-authored-by: Tom Owers <owerstom@gmail.com>
2024-04-23 10:37:08 -04:00
Michael Matloka
233d3a9098
chore(deps): Remove unused Python requirements ( #21580 )
...
* chore(deps): Remove unused Python requirements
* Also remove `dnspython`
* Recompile txts
* Revert "Also remove `dnspython`"
This reverts commit 7eaf89979b774808cc0920c34a3a1cf1d75d2f14.
* Re-recompile txts
* Remove more deps based on `deptry`
* Restore `phonenumberslite`
* Restore `geoip2`
* Restore `python3-saml`
* Move `prance` and `openapi-spec-validator` to dev reqs
* Reorder `geoip2`
* Force HTTP 1.1 in downloading MMDB
Should fix CI failures caused by `curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)` (e.g. https://github.com/PostHog/posthog/actions/runs/8741861825/job/23988870688?pr=21580 ).
2024-04-22 22:52:47 +02:00
Michael Matloka
0cf2955159
chore(clickhouse): Capture final SQL in Sentry errors, again ( #21688 )
...
* Revert "revert: "chore(clickhouse): Capture final SQL in Sentry errors" (#21479 )"
This reverts commit 15627818f6
.
* Only upgrade `clickhouse-driver` to 0.2.6
* Add "Run migrations for this PR"
2024-04-22 13:56:32 +02:00
Julian Bez
dc0cf33e8e
chore(deps): Upgrade to Django 4.2 ( #18653 )
...
* Upgrade dependencies
* Fix middleware error
Among
https://docs.djangoproject.com/en/4.2/releases/4.0/#features-removed-in-4-0
* Upgrade psycopg
We need to be on >= 3.1.8
Locally there is an additional problem that somehow psycopg2
seemingly overshadows psycopg, making it appear that 3.1 works.
Had to install pip install "psycopg[binary,pool]==3.1.2" to
recreate the problem.
* Go to Django 4.1 because of problems with psycopg3
We use custom SQL that somehow doesn't get formatted in the right way
using server or client side cursors.
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Switch TaggedItem tests to assert ValidationError
Because full_clean validates since Django 4.1, see
https://docs.djangoproject.com/en/4.2/releases/4.1/#validation-of-constraints
* Remove type: ignore comments
Come up as
error: Unused "type: ignore" comment
* Update query snapshots
* Figure out psycopg problem and try Django 4.2 again
* Update query snapshots
* Fix other IN errors
* Fix getting status
* Fix psycopg3 issues
* Fix psycopg issues
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Update deps
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Fix more tests
* Adjust baseline
* Remove sqlcommenter (should be PostgresQL only anyways)
* Fix file
* Update query snapshots
* Update query snapshots
* Update query snapshots
* Fix queries
* Fix query
* Revert
* Update requirements.in
* Remove restore-virtualenv
Because not maintained anymore
* Revert "Remove restore-virtualenv"
This reverts commit c2a7ef8a1e
.
* mypy
* Adjust num queries
* Adjust num queries
* Adjust num queries
* Update query snapshots
* Add to updated_fields
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2024-04-16 10:53:32 +01:00
Marius Andra
92ce73c926
fix(trends): use natsort for breakdown sorting ( #21539 )
2024-04-16 09:09:31 +02:00
Steven Miller
e133feef71
fix: use psycopg-binary for bundled version of libpq ( #21476 )
...
* Use psycopg-binary for bundled version of libpq
* Adjust dependency
---------
Co-authored-by: Julian Bez <julian@posthog.com>
2024-04-15 08:03:32 +00:00