0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
Commit Graph

3044 Commits

Author SHA1 Message Date
Marius Andra
2f38e746bb
this time it will work (#4244) 2021-05-07 00:07:20 +02:00
PostHog bot
58bf763ea8
Update plugin server to 0.19.0 (#4243) 2021-05-06 23:09:15 +02:00
Buddy Williams
95bb02de7b
Add commas to large numbers so that they are readable (#4231)
* Add commas to large numbers so that they are readable

* Format numbers in TrendLegend with commas for large numbers so that they are readable
2021-05-06 13:16:37 -04:00
Michael Matloka
fb0bd54af6
Increase Element model varchar limits again (#3926)
* Revert "Revert "Increase Element model varchar limits (#3912)" (#3923)"

This reverts commit e30681bade.

* Use RunSQL to avoid ORM crap

* Fix attr_class being converted from varchar[] to varchar

* Bump migration

* Simplify migration and remove attr_class alter due to locking

* Bump migration
2021-05-06 17:11:37 +00:00
Marius Andra
58469e228d
Enable persistent console (#4226) 2021-05-06 18:15:14 +02:00
Paolo D'Amico
fee0b1035d
Fix lifecycle insights store (#4223)
* lifecycle migration

* update latest migrations

Co-authored-by: eric <eeoneric@gmail.com>
2021-05-06 11:27:42 -04:00
James Greenhill
18224d6e27
Add monitoring for table mutations which can degrade performance (#4234) 2021-05-06 15:19:21 +00:00
Kunal
5377600dcf
Tally up counts of filters on events and actions (#4214)
* tally up counts of filters + actions

* update comment

Co-authored-by: kunal <kunal@Kunals-iMac.hsd1.ca.comcast.net>
2021-05-06 14:58:22 +00:00
Marius Andra
7c9c3a41cb
Disable aurora again (#4232) 2021-05-06 14:07:33 +00:00
Marius Andra
a54df23ec9
add back graphile job queue (#4230) 2021-05-06 15:16:38 +02:00
PostHog bot
46b8491abe
Update plugin server to 0.18.1 (#4229) 2021-05-06 14:39:11 +02:00
Yakko Majuri
610a79ca5f
Prevent a 500 from missing param in api/event/session_recording (#4158)
* Prevent a 500 from missing param in api/event/session_recording

* fix issues

* add error handling to foss
2021-05-06 09:26:05 -03:00
Karl-Aksel Puulmann
9c76db5527
Set max_threads for clickhouse explicitly (hotfix) (#4227)
We're seeing queries try to spawn 15k threads due to an invalid
max_threads setting in clickhouse. Since no-one awake has ssh access
this is a temporary hotfix to make things work.
2021-05-06 13:04:11 +02:00
Karl-Aksel Puulmann
9d8b61f2e1
Fix conflicting migrations (#4225)
Error:

```
CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0147_fix_stickiness_dashboard_items, 0147_plugin_logs in posthog).
To fix them run 'python manage.py makemigrations --merge'
```
2021-05-06 08:31:57 +00:00
Michael Matloka
e96f95ef5a
Plugin log entries (#3482)
* Add Postgres model PluginLogEntry

* Add equivalent PluginLogEntry to Kafka+ClickHouse

* Add migration

* Add PluginLogEntry.Type.LOG & make PluginLogEntry.message a TextField

* Update 0130_pluginlogentry.py

* Add PluginLogEntry.instance_id

* Update migration

* Update migration

* Add plugin log entries API

* Test plugin log entries DB fetching

* Add PluginLogs component prototype

* Fix API

* Improve PluginLogs component

* Remove almost unused plugin Feedback button

* Update migration

* Fixed typing

* Fix org permission error test asserts

* Fix plugin log entry tests

* Fix CH plugin log entry timestamp string

* Update CH test_plugin_log_entry.py

* Fix plugin log entry tests across PG/CH

* Satisfy mypy

* Add search and limit to plugin log entry API

* Send team_id in plugin config API

* Rework plugin logs UI

* Add plugin config team ID in tests

* Add plugin config team ID in tests actually

* Fix code quality

* Make logs plugin config-based

* Fix CH queries

* Fix typing

* Improve UX and fix things

* Polish plugin logs logic

* Update migration

* Add Celery task to delete old plugin logs

* Fix UX bug with loading more plugin logs

* Fix missing import

* Remove OrganizationMemberPermissions message change

* Make mypy happy

* Add PluginLogEntry.is_system

* Optimize CH plugin_log_entires PARTITION/ORDER

* Increment migration

* Adjust plugin logs drawer display

* Fix plugin_log_factory_ch

* Fix plugin_log_factory_ch fix

* Replace PluginLogEntry.is_system with source

* Adjust PluginLogEntrySerializer

* Update CH fetch_plugin_log_entries

* Make kea-typegen happy
2021-05-06 10:54:32 +03:00
Karl-Aksel Puulmann
a50596c3eb
Fix python manage.py migrate_clickhouse --fake (#4224) 2021-05-06 09:59:50 +03:00
Sam Winslow
ed9dc434a7
Horizontal query UI top-level elements (4050) (#4217) 2021-05-05 20:15:03 -04:00
Neil Kakkar
1e2a942b4a
Fix Broken Link to Integrations (#4220)
I noted that we redirect `docs/integrations/*` to `docs/libraries/*`, but found this specific one to be broken. Not sure if I should be fixing it like this, or by adding to a redirect rule.
2021-05-05 23:30:09 +02:00
Tim Glaser
1feac44d3b
Fix stickiness issue (#4219) 2021-05-05 21:15:54 +02:00
Li Yi Yu
19d30428ce
Dashboard item page view (#4142)
* add dashboard item information to insights page

(cherry picked from commit 63cec8e6c9416a3d89a0420894c9184dec36256d)

* update all dashboard item links

* add logic to include dashboard name on insights dashboard item

* add back to dashboards link and update all dashboard item links

* style clean up

* typescript fixes

* add comments for posterity

* update dashboard item design and componentize item header

* remove dashboardName variable

* refactor displayMap

* update dashboard item logic and props

* span fix

* clean up insight dashboard item view url

* fix weird state bug with trends

* update dashboard item view for paths

* clean up params for dashboardItemHeader

* maintain update dashboard item functionality

* bandaid fix retention insight history bug

* remove stale comment

* typing tweak

* feedback updates

* url namespace update for clarity

* update e2e

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-05 13:58:09 -04:00
Karl-Aksel Puulmann
f4009c1e16
Allow migrating on a clickhouse cluster (#4197)
* Allow migrating clickhouse on cluster

Context under https://github.com/PostHog/posthog/issues/4090

* Add option to print sql
2021-05-05 14:38:39 +03:00
Paolo D'Amico
3bd18a7b71
Fix PersonHeader name rendering (#4215) 2021-05-05 08:20:01 -03:00
Li Yi Yu
4d5d2455c5
Use alternative way of color corresponding lifecycle toggles (#4212)
* use alternative way of color corresponding lifecycle toggles

* use checkboxes for lifecycle toggles
2021-05-04 19:43:26 -04:00
Sam Winslow
ca1a7bfc4e
Add bin script to start Cypress component tests (#4186)
* Add bin script to start cypress component test

* remove unneeded flags
2021-05-04 17:14:17 -04:00
Sam Winslow
386f308783
Reorganize files in frontend/src/scenes/insights/ (#4207) 2021-05-04 20:28:54 +02:00
Tim Glaser
0bfa2784cb
Fix action error with gt (#4209)
* Fix action error with gt

Closes #4195

* fix type
2021-05-04 19:37:29 +02:00
Marius Andra
c08a9ea6e5
remove graphile queue so new plugin server could run (#4208) 2021-05-04 18:08:18 +02:00
Tim Glaser
aed52b9c67
Fix moving from person sessions to global sessions (#4201) 2021-05-04 11:28:26 -04:00
James Greenhill
b7bc93cfac
Enable cleanup of SSM Task that enables us to exec into containers on ecs (#4096) 2021-05-04 14:22:20 +00:00
PostHog bot
1786219dba
Update plugin server to 0.18.0 (#4205) 2021-05-04 16:14:02 +02:00
Tim Glaser
3520637967
Warn before running all tests (#4204) 2021-05-04 15:41:22 +02:00
Karl-Aksel Puulmann
56cc0ddc22
Rename free clickhouse plan (#4203) 2021-05-04 06:06:26 -07:00
James Greenhill
e84c57e6a6
Add dbq connection string env var secret references (#4194)
* Add dbq connection string env var secret references

* add graphile as the default job queue

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-05-04 14:42:25 +02:00
Tim Glaser
8f8d182141
Cut off long props/events in table (#4179) 2021-05-04 14:13:30 +02:00
Michael Matloka
51a371e5b9
Fix empty person in REST hooks (#4198) 2021-05-04 14:05:05 +02:00
posthog-contributions-bot[bot]
e6190b0b0f
🤖: Add sankalpdomore as a contributor 🎉 (#4193) 2021-05-03 23:02:11 +02:00
Sam Winslow
f5a385c026
Debounce action filter Fuse lookup (#4184)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-03 14:19:28 -04:00
Yakko Majuri
46a91f07c0
Fix toolbar modal URLs (#4178) 2021-05-03 12:49:22 +02:00
posthog-contributions-bot[bot]
8d7edc0be9
🤖: Add gesposito as a contributor 🎉 (#4188) 2021-05-03 10:54:36 +02:00
Karl-Aksel Puulmann
f512028bff
Fix organization membership changing (#4177)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-30 18:21:23 -07:00
Paolo D'Amico
c57d29869a
Removes deprecated code from shown-as migration (#4173)
Co-authored-by: eric <eeoneric@gmail.com>
2021-04-30 15:40:08 -07:00
dependabot[bot]
e181ff8995
Bump ssri from 6.0.1 to 6.0.2 (#4183)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 13:20:08 -07:00
Michael Matloka
dedaaf991e
Fix authenticated org-less invite signup (#4176) 2021-04-30 12:52:30 -07:00
posthog-contributions-bot[bot]
f821990c50
🤖: Add thedeveloperr as a contributor 🎉 (#4185) 2021-04-30 21:48:23 +02:00
Yakko Majuri
7578c43a26
Fix typo on project settings page (#4182) 2021-04-30 17:02:24 +00:00
Tim Glaser
bc24c52804
Attempt to fix e2e retention test (#4180)
* Attempt to fix e2e retention test

* attempt 2
2021-04-30 18:29:39 +02:00
Sam Winslow
965deb2cb2
Convert regex filter select to input with autocomplete (#4170) 2021-04-30 11:27:20 -04:00
Paolo D'Amico
a52a9e460c
Lifecycle hover fix (#4174) 2021-04-30 06:11:35 -07:00
Paolo D'Amico
3de5252fa6
SITE_URL config warning (#4172) 2021-04-29 17:28:49 -07:00
Li Yi Yu
5a6c92cd71
Lifecycle Toggles: Add tooltips and refactor color imports (#4152)
Co-authored-by: Sam Winslow <sammywinslow@gmail.com>
2021-04-29 19:30:29 -04:00