-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3765-cohort-by-trend' of github.com:PostHog/posthog int…
…o 3765-cohort-by-trend * '3765-cohort-by-trend' of github.com:PostHog/posthog: (39 commits) 'string, parsable as datetime' (#3942) Update plugin server to 0.16.3 (#3944) Resizable table columns in Sessions (#3927) bump cryptography==3.4.7 and add macosx_arm64 install script (#3935) 🤖: Add jeduden as a contributor 🎉 (#3938) Fix feature flags default rollout (#3745) Less dancing in dashboards (#3824) Always show event stats and add warnings (#3908) Update plugin server to 0.16.2 (#3932) Minimum PostHog version in plugins (#3916) Renames Active users to Unique users (#3930) Fix action with same name (#3909) Fix navigation to insights from dashboards (#3928) User V2 Part II - Frontend changes (#3866) update autocapture label to be more descriptive (#3925) Log to sentry when migrations are out of date (#3924) Revert "Increase Element model varchar limits (#3912)" (#3923) Update plugin server to 0.16.1 (#3920) Are migrations safe to run on cloud? (#3917) Run Automerge as posthog-bot (#3919) ...
- Loading branch information
Showing
149 changed files
with
2,836 additions
and
2,041 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Automerge | ||
|
||
env: | ||
MERGE_METHOD: 'squash' | ||
MERGE_RETRY_SLEEP: 300000 | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
- opened | ||
- edited | ||
- ready_for_review | ||
- reopened | ||
- unlocked | ||
check_suite: | ||
types: | ||
- completed | ||
status: {} | ||
|
||
jobs: | ||
automerge: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Automerge | ||
uses: 'pascalgn/[email protected]' | ||
env: | ||
GITHUB_TOKEN: '${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,11 @@ dropdb --if-exists posthog_e2e_test | |
createdb posthog_e2e_test | ||
DEBUG=1 DATABASE_URL=postgres://localhost:5432/posthog_e2e_test python manage.py migrate && | ||
DEBUG=1 DATABASE_URL=postgres://localhost:5432/posthog_e2e_test python manage.py setup_dev & | ||
yarn add cypress-terminal-report | ||
yarn add cypress@6.7.0 cypress-terminal-report@2.1.0 @cypress/[email protected] @cypress/[email protected] | ||
|
||
# Only start webpack if not already running | ||
nc -vz 127.0.0.1 8234 2> /dev/null || ./bin/start-frontend & | ||
|
||
CYPRESS_BASE_URL=http://localhost:8080 npx cypress open --config-file cypress.e2e.json & | ||
DEBUG=1 TEST=1 E2E_TESTING=1 DATABASE_URL=postgres://localhost:5432/posthog_e2e_test python manage.py runserver 8080 | ||
yarn remove cypress-terminal-report | ||
yarn remove cypress cypress-terminal-report @cypress/react @cypress/webpack-preprocessor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# Install scripts for M1 Macs | ||
# See https://github.com/PostHog/posthog/issues/2916 | ||
# NB: use cryptography==3.4.7 | ||
|
||
# Set ld flags to use OpenSSL installed with brew | ||
export LDFLAGS="-L$(brew --prefix openssl)/lib" | ||
export CPPFLAGS="-I$(brew --prefix openssl)/include" | ||
|
||
# Use system OpenSSL instead of BoringSSL for GRPC | ||
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 | ||
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 | ||
|
||
pip cache purge | ||
pip install -r requirements.txt |
Oops, something went wrong.