* Added warning for unset SECRET_KEY
* added process exit
* Reword message
This should be just a bit clearer (also "Process exited with code …" is redundant, I think).
* added SECRET_KEY to github actions
* updated to add docker placeholder key
* minor update to default secret key
Co-authored-by: Michael Matloka <dev@twixes.com>
* - set a custom cookie to tell the toolbar we're logged in
- make other cookies secure
* skip adding new toolbar cookie on API requests
* fix demo page local https
* enable/disable secure cookies as needed
* show django toolbar only for API requests
* update posthog-js and kea versions
* satisfy mypy
* add SECURE_COOKIES=0 to cypress tests, since they run over HTTP
* revert kea version
* add test for toolbar cookie middleware
* try something for cypress
* add debug
* add cypress-terminal-report for better logging
* fix demo api_url
* revert previous change that triggered cypress
* add test for caching funnels and refreshing
* Closes #1020 WIP shared dashboards
* Make webpack work
* Progress?
* Hash the entire filter and add share tokens
* Make webpack work properly
* Fix sentry error
* Tighten up the caching logic
* Correctly refresh items and show in frontend'
* Add some padding
* fix caching, update layout
* Add cypress tests
* Fix merge conflict mistake
* Convert share_token to boolean
* Hide text when small
* Redo tooltip for lock
* Remove move cursor when in shared mode
* Improve spacing
* Fix state being incorrect
* Use selectors instead of value
* Use const instead of let
* Fix type errors et al
* Increase cache size
* Fix dashboard tests
* Fix team tests
* Add wait time
* Fix tests
* Fix refreshing
* Fix dashboard tests
* Fix test
* Excluded deleted dashboard items and don't show refreshing
* Fix renaming issue
* Fix migrations and fix display of status change
* Use grid for responsive header
* Don't load annotations
* Eslint
* Fix variable naming
Co-authored-by: Eric <eeoneric@gmail.com>
* longpress supports also clicks - presses that are just not long enough
* button mode for toolbar
* fix bug in zooming out, refactor and annotate some of the animation code
* toolbar button close/float tiny buttons
* fix inspect element in floating mode
* fix the fix :)
* remove console.log
* extract logo
* extract nestable circle component
* css animations for circles
* refactor toolbar to use circle code
* remove animation code
* style fixes
* annotate useLongPress
* clean styles
* show button always
* save drag position
* default to top-right
* add a bit of padding to have space for tooltips
* better padding for remembered width/height
* test recursive search for yarn.lock file
* fix merge
Co-authored-by: James Greenhill <fuziontech@gmail.com>
* Cache yarn builds to speed up end to end testing
* refine configs a bit
* map port to localhost for redis and postgres
* background posthog so we can proceed to next step
* test debug=1
* debug back to false
* block on posthog boot for debug
* back to single boot posthog step
* check response from login url
* see if this is ssl redirect
* more debugging around wait
* print out redirect to see where it is going
* print redirect location from header
* this is so tedius
* hit setup_admin url
* ok, so we know it's 500-ing let's see what response is
* reflect production docker file more closely for dep building
* posthog is up, let's see what it is returning that is causing failures
* Save screenshots as artifacts
* rename artifact and use zip
* demo is missing?
* only upload artifacts if cypress fails
* use the path for screenshots for artifacts
* clean up wait script and call it done for this PR
* correctly hash requirements for pip cache
* cache build and dep separately for yarn
* change to test the cache
* use cypress suggested runner for actions
* use parallel execution for cypress
* skip python caching for now
* not going to use parallel now because premium feature of cypress
* do not attempt to archive video artifacts
* re-enable pip cache 🤞
* bust the python cache and see if we can't get manage working
* test python cache
* it's just caching the pip cache...
* test turning DEBUG false
* reenable debug mode for now
* collectstatic after yarn build
* run collectstatic with noinput
* Work towards more reliable run of cypress
* health endpoint
* don't use requests lib
* update copy a bit since we are not waiting for frontend to build
* initial test
* add yaml
* add logs
* without tail
* run again for consistency
* wait longer
* manuall configure cypress
* use latest ubuntu
* try installing all
* yarn install
* yarn install with cypress
* full flow
* run again for consistency
* initial tests for trends
* handle exception
* separate e2e docker-compose
* run on pr
* trends-testing foundation
* run test
* don't pass everything
* handle uncaught exceptions
* fix dashboard tests
* change email domain
* change dataattr to data-attr and boilerplate cleanup
* base url config
* add script for test runner
* change default postgres
* initial working
* update day to midnight
* update CI postgres version
* reverse migration file
* handle default
* add version check
* add existence test and fixed bug
* extend initial range partitioned
* reverse order of checks
* change granularity to week
* Speed up loading of events with person_id
* adjusted time to trigger and stay 2 weeks ahead instead of 1
* use commands instead of migration
* update reverse script
* remove migration test
* adjust update function to handle all partitioned
* handle errors
* change the check that is performed
Co-authored-by: Tim Glaser <tim.glaser@hiberly.com>