0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
Commit Graph

3163 Commits

Author SHA1 Message Date
Marius Andra
5017bf1c08
Fix deduplicated SCSS issue (#4545)
* Revert "Hotfix SCSS for trend graphs (#4539)"

This reverts commit 545dc62ec6.

* Revert "Move history import to globals (#4531)"

This reverts commit 542be62053.

* Revert "@ import all scss in lib/components (#4530)"

This reverts commit 5e2a3290da.

* fix deduplicated css problem

* update lockfile
2021-05-31 19:13:50 +02:00
Marius Andra
9314dd47c1
Redefined shadow variable fixes (#4544) 2021-05-31 13:17:53 +02:00
Michael Matloka
8ef727634e
Syncing action definition changes with plugin server (#4436)
* Save Organization.available_features as a DB column

* `update_available_features()` before an organization is created too

* Run the task half past the hour

* Adjust tests and fix available_features sync on start

* Improve action and property TS types

* Use plugin server ActionManager pubsub

* Use better pubsub channel names for plugin server ActionManager

* Fix PubSub's lack of teamId

* Use f-strings for property CH SQL formatting
2021-05-31 11:10:36 +02:00
Marius Andra
67379edb81
kea-typegen 0.7.2 & fix random errors (#4542)
* kea-typegen 0.7.1

* kea-typegen 0.7.2

* fix history ViewType

* fix key errors

* fix rrweb import error
2021-05-31 10:40:54 +02:00
posthog-contributions-bot[bot]
86cd24b0d1
🤖: Add tobiastornros as a contributor 🎉 (#4543) 2021-05-31 09:57:17 +02:00
Karl-Aksel Puulmann
5e25a652f3
Dashboards: allow changing date ranges on /instance/status dashboards (#4496)
* Show more things when embedding dashboard for internal purposes

* Show refresh button for /instance/status dashboard

* Allow logged in users to change date range in /instance/status dashboard

Also sets default

Logged in status is checked in a separate Permissions class
2021-05-30 12:02:38 +03:00
Sam Winslow
545dc62ec6
Hotfix SCSS for trend graphs (#4539)
* hotfix scss for trend graphs

* add dashboarditems

* prod on fire this is fine
2021-05-28 17:44:47 -04:00
dependabot[bot]
0df6b359cf
Bump browserslist from 4.14.6 to 4.16.6 (#4493)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.6 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.6...4.16.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 21:23:15 +02:00
Eric Duong
7471ade922
Fixing breakdown bug with retrieving top elements (#4313)
* fixing bug

* conslidate breakdown query

* remove clause

* add missing param

* fix name and bracket

* fix tests add none clause

* fix more tests

* more test adjustments

* add person prop filter test

* only use None when offset is 0 (first query)

* add null check and fix api helper
2021-05-28 10:24:50 -04:00
Paolo D'Amico
4c2365a51a
Bring back "Better experience when no actions are defined"
This reverts commit 48a25608a0.
2021-05-27 15:37:05 -07:00
Kunal
542be62053
Move history import to globals (#4531) 2021-05-27 15:57:31 -04:00
Sam Winslow
5e2a3290da
@ import all scss in lib/components (#4530) 2021-05-27 13:37:39 -04:00
Eric Duong
be301e7112
Create collapsing table for cohortpeople (#4477)
* just create the table

* add replication logic

* add param

* change replacing name
2021-05-27 17:44:43 +03:00
Sam Winslow
4d4fc7c801
Add temporary comment in SelectBox.scss (#4527) 2021-05-27 13:27:32 +00:00
posthog-contributions-bot[bot]
709e57c38b
🤖: Add lutangar as a contributor 🎉 (#4526) 2021-05-27 15:24:24 +02:00
Tim Glaser
48a25608a0
Revert "Better experience when no actions are defined (#4455)" (#4525)
This reverts commit acb30a3de8.
2021-05-27 13:28:04 +02:00
PostHog bot
2dfccc3dc4
Update plugin server to 0.21.12 (#4523) 2021-05-27 12:26:24 +02:00
Karl-Aksel Puulmann
4aa773139c
Measure metrics from insights in instance metrics (#4495)
* Send info on insights query timing + route to posthog

This will help with determining the root cause of our problems

* Capture information on "timeouts" correctly

previously every error on insights was reported as a timeout.

* WIP

* Solve typing issues within insightslogic

* WIP part 2

* Add graphs for insight load times

* Add tests for new routes

* PR review iteration

* Make instance_status POST available for all

* Do some cache busting
2021-05-27 12:48:11 +03:00
PostHog bot
c93ab8ace2
Update plugin server to 0.21.11 (#4522) 2021-05-27 10:35:34 +02:00
Marius Andra
c09df94924
Revert "Update plugin server to 0.21.10 (#4520)" (#4521)
This reverts commit 177be4e13f.
2021-05-27 07:45:23 +00:00
PostHog bot
177be4e13f
Update plugin server to 0.21.10 (#4520) 2021-05-27 09:10:57 +02:00
Eric Duong
b53b1398e1
Fix CI cypress cache (#4511) 2021-05-26 13:32:15 -07:00
posthog-contributions-bot[bot]
54ea95b014
🤖: Add mands as a contributor 🎉 (#4509) 2021-05-26 19:07:36 +02:00
PostHog bot
3eb57f7fba
Update plugin server to 0.21.9 (#4508) 2021-05-26 17:48:06 +02:00
dependabot[bot]
85cfa83280
Bump browserslist from 4.16.3 to 4.16.6 in /plugins (#4467)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 15:45:12 +02:00
Paolo D'Amico
f06ff460ed
Adjust click area of copy component in FF (#4487) 2021-05-26 06:41:17 -07:00
Dimitris Mazarakis
da16909b6f
Remove feature flag for hotkeys buttons for insights page and add hot… (#4430)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-26 05:51:30 -07:00
Sam Winslow
acb30a3de8
Better experience when no actions are defined (#4455)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-26 11:40:58 +00:00
posthog-contributions-bot[bot]
9bcca649be
🤖: Add pietrodevpiccini as a contributor 🎉 (#4499) 2021-05-26 12:09:19 +02:00
James Greenhill
e1959a1e0d
Cast max and min connections from env vars to int for ch pooler (#4494) 2021-05-25 22:56:05 -07:00
posthog-contributions-bot[bot]
7e96b706f0
🤖: Add DimitrisMazarakis as a contributor 🎉 (#4491) 2021-05-26 03:03:40 +02:00
Tim Glaser
314d788a41
Remove legacy event_names code (#4480)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-25 17:55:06 -07:00
posthog-contributions-bot[bot]
513e991b1f
🤖: Add c3ho as a contributor 🎉 (#4490) 2021-05-26 02:45:09 +02:00
Calvin
b2407ab280
Fixes #3949 adds csv download function of datapoint on graph (#4175)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-25 17:33:25 -07:00
Joe Saunderson
0332488268
Default new feature switches to enabled (#4482) 2021-05-25 15:07:45 -07:00
Eric Duong
2145d5b211
Return default url if no changes need to be made (#4481)
* return as last conditoin

* empty

* try glob

* remove explicit glob
2021-05-25 16:35:18 -04:00
Yakko Majuri
2b493bd83d
Link to Contributors page on website from badge (#3872) 2021-05-25 19:02:27 +02:00
Tim Glaser
68351f437a
Speed up other tests (#4418)
* WIP more speed improvements

* pick right files

* Fix yarn install

* try
2021-05-25 18:25:37 +02:00
Eric Duong
588141c395
Populate ch demo data (#4478)
* populate ch with demo data

* bulkcreate before pids

* str cast

* fix type

* empty
2021-05-25 12:17:00 -04:00
PostHog bot
4e97504592
Update plugin server to 0.21.8 (#4476) 2021-05-25 16:45:49 +02:00
Karl-Aksel Puulmann
45cea7c206
We have users struggling to update due to a particular migration (#4469)
The previous check/fix did not work for them, but hopefully this will!
2021-05-25 15:51:11 +02:00
PostHog bot
1f9d5d44cd
Update plugin server to 0.21.7 (#4473) 2021-05-25 15:11:05 +02:00
PostHog bot
b078a200f9
Update posthog-js to 1.10.2 (#4472) 2021-05-25 14:23:17 +02:00
posthog-contributions-bot[bot]
aa326f08a7
🤖: Add joesaunderson as a contributor 🎉 (#4471) 2021-05-25 14:12:58 +02:00
Michael Matloka
e02748c502
Add GitHub style deletion confirmation UI for projects (#4470)
* Add GitHub style deletion confirmation UI

* Improve edge case handling a bit

* Do #4463 for DeleteProjectModal

Co-authored-by: Joe Saunderson <joe.saunderson@mention-me.com>
2021-05-25 12:12:48 +00:00
Joe Saunderson
0ed05c1226
Add GitHub style deletion confirmation UI for organizations (#4463)
* Add GitHub style deletion confirmation UI

* Improve edge case handling a bit

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-05-25 14:02:23 +02:00
PostHog bot
96ad1fa5e0
Update posthog-js to 1.10.1 (#4466) 2021-05-25 12:43:25 +02:00
Karl-Aksel Puulmann
fbce3f5ccd
Avoid showing "dashboard not found" for loading dashboards (#4454)
* Avoid showing "dashboard not found" for loading dashboards

Follow-up to https://github.com/PostHog/posthog/pull/4429

* Fix flaky test

* renaming
2021-05-25 12:48:44 +03:00
Karl-Aksel Puulmann
7b8500fc94
Update signup page free event count (#4465)
Seems like we have not yet updated the copy everywhere - user in slack was confused
2021-05-25 12:29:04 +03:00
Michael Matloka
eaf2459724
Save Organization.available_features as a DB column (#4426)
* Save Organization.available_features as a DB column

* `update_available_features()` before an organization is created too

* Run the task half past the hour

* Adjust tests and fix available_features sync on start

* Remove redundant null=False

* Fix `Organization.update_available_features()`

* Run Cloud tests in respect to `posthog-cloud` `4426-fix` branch

* Revert "Run Cloud tests in respect to `posthog-cloud` `4426-fix` branch"

This reverts commit 421e8541b3.
2021-05-24 22:17:01 +02:00