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

3324 Commits

Author SHA1 Message Date
eric
3904ee5d1d merge master 2021-06-22 11:46:32 -04:00
Eric Duong
d31220e85d
Make event query class inheritable (#4720)
* make query class inheritable

* swap out class

* move trend event query to separate file and replace date_filter func

* prune imports and fix test

* add type

* remove imports
2021-06-22 11:44:55 -04:00
Yakko Majuri
a71a1eac96
add metrics to plugin table (#4783) 2021-06-22 11:07:05 -03:00
Marius Andra
faa105e935
Property filter types (#4843)
* few more TS conversions

* type IntervalFilter

* type a few dashboard logics

* add chart display types, fix some others

* fix few types

* fix bug uncovered by TS conversion

* fix regression

* type PropertyFilter

* fix more types

* correct test account filter type

* fix even more types

* fix issue with updateUser type

* fix issue with updateUser type
2021-06-22 15:55:52 +02:00
Marius Andra
6396d52074
Plenty-o-types (#4842)
* few more TS conversions

* type IntervalFilter

* type a few dashboard logics

* add chart display types, fix some others

* fix few types

* fix bug uncovered by TS conversion

* fix regression
2021-06-22 15:29:45 +02:00
Yakko Majuri
31f1440a5d
In product $plugins_xxxx docs (#4807)
* In product $plugins_xxxx docs

* Update frontend/src/lib/components/PropertyKeyInfo.tsx

Co-authored-by: Michael Matloka <dev@twixes.com>

* Update frontend/src/lib/components/PropertyKeyInfo.tsx

Co-authored-by: Michael Matloka <dev@twixes.com>

* Update frontend/src/lib/components/PropertyKeyInfo.tsx

Co-authored-by: Michael Matloka <dev@twixes.com>

* Fix closing tags

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-06-22 12:47:38 +02:00
PostHog bot
d5c7655ddb
Update plugin server to 1.0.0 (#4836)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2021-06-21 23:28:02 +02:00
Alex Gyujin Kim
8e30172600
Fix bug where we can't see counts in Insight Table (#4706)
* pass filters through context

* add tests and totalcount prop

* generalize tests

* remove feature flag
2021-06-21 23:21:00 +02:00
Marius Andra
3c691f4f5c
Funnels API GET -> POST|GET - Frontend + Clickhouse (#4789)
* Revert "Revert "[Frontend Change] Funnels API GET -> POST|GET (#4769)" (#4777)"

This reverts commit dab41f0f6a.

* Add POST support to clickhouse funnels

* run funnel tests on clickhouse
2021-06-21 13:13:08 -07:00
Alex Gyujin Kim
631f901ae6
switch copy icon in feat flag table (#4835) 2021-06-21 22:04:27 +02:00
posthog-contributions-bot[bot]
1ee1615738
🤖: Add pietrodevpiccini as a contributor 🎉 (#4827) 2021-06-21 16:29:13 +01:00
Dimitris Mazarakis
4a7ef81649
Add Auto-Refresh toggle button #1687 (#4773)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-06-21 16:36:22 +02:00
Michael Matloka
c2f02a7bdf
Plugin server action matching as default (#4829)
* Set PLUGIN_SERVER_ACTION_MATCHING default to 1

* Set PLUGIN_SERVER_ACTION_MATCHING default to 2

* Remove `TestSendToSlack`

Now handled by the plugin server.
2021-06-21 16:19:36 +02:00
PostHog bot
3d0eeb05f3
Update plugin server to 0.21.27 (#4830) 2021-06-21 15:15:37 +01:00
Tim Glaser
ebe7b47e62
closes #4824 Fix formula (#4825) 2021-06-21 15:14:04 +02:00
Kunal
1679494b6a
Add viewport keys to special prop list (#4796)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-06-21 08:00:24 +02:00
PostHog bot
27144478f5
Update plugin server to 0.21.26 (#4809) 2021-06-19 02:40:49 +02:00
Li Yi Yu
56ea8042c0
display small yaxis values better (#4808) 2021-06-18 14:15:14 -07:00
Karl-Aksel Puulmann
0f36e7bad1
Include instance realm and version in various events/posthog.people.set calls (#4800)
Related issue: https://github.com/PostHog/company-internal/issues/313

Aside: It's kind of wierd how few person properties we're setting. Is
that intentional?
2021-06-18 23:44:22 +03:00
Michael Matloka
69afc5abc2
Set PLUGIN_SERVER_ACTION_MATCHING to 0 (#4805) 2021-06-18 15:08:50 +00:00
Michael Matloka
5394533bde
Don't fire webhooks and Zapier in case of PLUGIN_SERVER_ACTION_MATCHING (#4794)
* Don't fire webhooks and Zapier in case of PLUGIN_SERVER_ACTION_MATCHING

* Add PLUGIN_SERVER_ACTION_MATCHING to settings

* Add PLUGIN_SERVER_ACTION_MATCHING to ECS task defs

* Remove leftover print

* Update `AsyncActionMappingNotice`

* Remove stale import
2021-06-18 16:32:29 +02:00
PostHog bot
a039ffa2f1
Update plugin server to 0.21.25 (#4803) 2021-06-18 16:31:55 +02:00
Marius Andra
cd94d2d464
Kea-typegen auto-import (#4801)
* fix a lot of types

* fix another bunch of types

* update typegen to beta, patch last types

* fix introduced bug

* fix a few errors

* update ts blacklist
2021-06-18 12:22:10 +02:00
Paolo D'Amico
e8f0f6466c
Fix broken color issue (#4790) 2021-06-18 12:16:20 +02:00
Paolo D'Amico
3185a91835
Fix cypress component tests (#4736)
* Fix cypress component tests

* fix removeEventListener 🤞

Co-authored-by: Sam Winslow <sammywinslow@gmail.com>
2021-06-18 12:08:35 +02:00
Neil Kakkar
4097b7bcf9
New doc links + copy for Plugins in Source Editor (#4755)
* fix merge

* copy update + links

* Proposed updates to #4755 (#4792)

* Reword Plugins header caption a bit

* Update `defaultSource` slightly (functioning `runEveryHour`)

* Update source editor help wording

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-06-18 11:23:57 +02:00
Kunal
85c90fa8d5
Encode filter search params (#4798)
Co-authored-by: kunal <kunal@kunals-MacBook-Pro.local>
2021-06-17 14:39:53 -07:00
Michael Matloka
0aa5e0a319
Remove faulty repo-dependent Cypress test (#4793) 2021-06-17 20:36:43 +02:00
dependabot[bot]
5249fff5c4
Bump postcss from 7.0.35 to 7.0.36 (#4784)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-17 18:42:49 +02:00
Tim Glaser
b821b845a6
Remove free clickhouse license (#4788) 2021-06-17 16:47:04 +03:00
Paolo D'Amico
c89f19d616
Improve action creation process for elements (#4759)
* clarify elements in toolbar

* clarify match group page
2021-06-17 13:16:36 +02:00
Tiina
0bb9108b6d
api/user endpoint deprecation notice to direct to api/users/@me (#4780)
* api/user endpoint deprecation notice to direct to api/users/@me

* nuke change_password param

* remove endpoint & tests

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-06-17 12:45:08 +02:00
Paolo D'Amico
65500612dc
Tooltips improvements III (#4751)
* adjust tooltip position

* fix crosshair snap

* allow clicking the correct datapoint

* optimize InsightTooltip

* fix no background colors in bar value chart

* fix positioning for bar value chart

* fix display on bar value charts with breakdown

* use custom chart.js

* add slight animation to tooltip position

* use posthog chartjs with "nearestX" mode

* update to a unborked @posthog/chart.js

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-06-17 12:06:55 +02:00
Michael Matloka
4bd79a27b7
Fix CI on forks (#4754)
* Remove commented out test

* Update VERSION

* Don't run the automerge job on forks

* Revert "Update VERSION"

This reverts commit dc37f20133.

* Change automerge condition

* Change automerge condition a bit more

* Try scrolling

* Scroll by more

* Stop GitHub complaining about no jobs ran in a workflow

* Search for a different event name

* Try a different operator

* Don't default branch push jobs on forks

* Move clicks around

Co-authored-by: PostHog Bot <hey@posthog.com>
2021-06-17 00:22:23 +02:00
Sam Winslow
e737947d35
Use ellipsis for insight titles & make Reset, Save buttons less verbose (#4778)
* Shorten default titles && add tooltips to Reset, Save btns

* Hide tooltip when SaveToDashboard modal shows

* Adjust flexbox && hide btn titles on sm screens
2021-06-16 14:56:18 -07:00
Tiina
1ed333365a
Add .yaml files to be linted with prettier too (#4771) 2021-06-16 18:04:51 +02:00
Alex Gyujin Kim
dab41f0f6a
Revert "[Frontend Change] Funnels API GET -> POST|GET (#4769)" (#4777)
This reverts commit bbf7af2920.
2021-06-16 08:45:02 -07:00
Neil Kakkar
4080c5a02d
Resolve /decide endpoint errors due to invalid token (#4772)
* update token cleaning code

* add test
2021-06-16 14:10:06 +00:00
Yakko Majuri
c0106b1fcc
Allow passing project api key to api/feature_flag (#4764)
* allow passing project api key to api/feature_flag

* remove log

* handle GET requests appropriately

* add special handling

* nicer GET check

* remove special handling at routing level
2021-06-16 15:09:08 +02:00
posthog-contributions-bot[bot]
6ef6b7ba29
🤖: Add taobojlen as a contributor 🎉 (#4774) 2021-06-16 13:39:26 +02:00
Alex Gyujin Kim
bbf7af2920
[Frontend Change] Funnels API GET -> POST|GET (#4769)
* bring back frontend changes from fix/long-funnels-*

* remove whitespace changes

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-06-16 12:13:10 +02:00
Alex Gyujin Kim
efaec341c7
add backwards compatibility check (#4770) 2021-06-16 10:07:40 +02:00
Alex Gyujin Kim
ba8c387897
[Backend Change] Funnels API GET -> POST|GET (#4768)
* change get to post api

* tests

* fixed bug

* isort

* make funnels endpoint backwards compatible, add test to check this

* descriptive comment

* revert funnelLogic to current

* revert code removed in error

Co-authored-by: Alex Kim <alexkim@Alexs-MacBook-Pro-2.local>
Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-06-16 10:07:29 +02:00
posthog-contributions-bot[bot]
8d90b00c99
🤖: Add dbinetti as a contributor 🎉 (#4766) 2021-06-15 18:18:20 +02:00
Yakko Majuri
3d96afc8d7
bump version, add 1.26.0 changelog (#4760)
* add 1.26.0 changelog

* bump version
2021-06-15 13:13:57 -03:00
Michael Matloka
a0eff156db
Fix debug bar interactivity (#4762) 2021-06-15 16:43:50 +02:00
Tim Glaser
ab9e7a44d2
Fix broken color issue (#4761) 2021-06-15 15:01:05 +02:00
posthog-contributions-bot[bot]
b9a7bb1467
🤖: Add neilkakkar as a contributor 🎉 (#4757) 2021-06-15 13:45:43 +02:00
Neil Kakkar
e6ef9558bb
Populate defaults on creating source plugins (#4688)
* Enable defaults to be populated on edit from source

* rm rm line
2021-06-15 12:03:57 +02:00
Michael Matloka
10fb674570
Clean up action matching code a bit (#4586)
* Clean up action matching code a bit

* Deprecate `ActionStep.name`
2021-06-15 11:42:36 +02:00