Commit Graph

227 Commits (89e807b469e98d2e5a69fe1e85152e85c5c19a45)

Author SHA1 Message Date
Uku Taht 34de4d5d2e Log any error from clickhouse 7 years ago
Uku Taht 43b46e7607 Show last touch referrer for drilldown 7 years ago
Uku Taht bda08df7b5 Get goal referrers from sessions table 7 years ago
Uku Taht a228c6162f Default to empty pathname 7 years ago
Uku Taht 0524ac92c2 Fix error loggin in Clickhouse 7 years ago
Uku Taht b31c0114c5 Use Clickhouse everywhere 7 years ago
Uku Taht 439a4a80c7 Escape quote in event name 7 years ago
Uku Taht ee4f604712 Update hydrate command 7 years ago
Uku Taht 578523170f Query via clickhouse 7 years ago
Uku Taht 4800cc6cf7 Escape everything 7 years ago
Uku Taht 1087742fea Clean after itself 7 years ago
Uku Taht d83ec7b6a1 Report progress 7 years ago
Uku Taht a8c1fa2ea6 Escape quote in sessions 7 years ago
Uku Taht ea53daeaac Hydrate historical data 7 years ago
Uku Taht 0ccb893c04 Ingest with new CH schema 7 years ago
Uku Taht d94a8dbc7e
Clickhouse (#66)
* Get stats from clickhosue

* Pull stats from clickhouse

* Use correct Query namespace

* Use Clickhouse in unit tests

* Use Clickhouse in stats controller tests

* Use fixtures for unit tests

* Add Clickhouse to travis

* Use Clickhouse session store for sessions

* Add garbage collection to session store

* Reload session state from Clickhouse on server restart

* Query from sessions table

* Trap exits in event write buffer

* Run hydration without starting the whole app

* Make session length 30 minutes

* Revert changes to fingerprint schema

* Remove clickhouse from fingerprint sessions

* Flush buffers before shutdown

* Use old stats when merging

* Remove old session schema

* Fix tests with CH sessions

* Add has_pageviews? to Stats

* Use CH in staging

* Update schema

* Fix test setup
7 years ago
Uku Taht f7180f9620 Don't track wrong password page 7 years ago
Uku Taht e7cd441a43 Skip tracking on share email 7 years ago
Uku Taht f587e348cd Update contact form and email addresses 7 years ago
Uku Taht c27119b03e Fix price in email 7 years ago
Uku Taht d1b703f007
Clickhouse (#63)
* Get stats from clickhosue

* Pull stats from clickhouse

* Use correct Query namespace

* Use Clickhouse in unit tests

* Use Clickhouse in stats controller tests

* Use fixtures for unit tests

* Add Clickhouse to travis

* Use Clickhouse session store for sessions

* Add garbage collection to session store

* Reload session state from Clickhouse on server restart

* Query from sessions table

* Trap exits in event write buffer

* Run hydration without starting the whole app

* Make session length 30 minutes

* Revert changes to fingerprint schema

* Remove clickhouse from fingerprint sessions

* Flush buffers before shutdown

* Use old stats when merging

* Remove old session schema

* Fix tests with CH sessions

* Add has_pageviews? to Stats
7 years ago
Uku Taht d366dee08a Do not track header 7 years ago
Uku Taht 6b53b4fbb5 Fix email login link 7 years ago
Uku Taht a712a583ee Fix typo 7 years ago
Uku Taht 3faec27c82 Fix clickhouse buffer inserts 7 years ago
Uku Taht b76f5e728a Log write buffer as info 7 years ago
Uku Taht 5d1dc0d27c
Clickhouse DB (#62)
* WIP

* Get all stats from Clickhouse

* Use https dependency

* Do not namespace db tables in hydrate task

* Update hydration task

* Ingest data to clickhouse

* Double-write to both Clickhouse and Postgres

* Add test setup

* Keep old stats module

* Prepare for live ingestion test
7 years ago
Uku Taht 9f7b5b9533 Only delete subscription if it exists
Fixes #61
7 years ago
Uku Taht 4a1a5f9b3b Allow paused subscription status 7 years ago
Uku Taht 2db1289c92 Fix button styling on Safari 7 years ago
Uku Taht 9476ccf95c
Yearly billing (#58)
* Add yearly billing options

* Add new subscription names

* Add note about yearly billing in the email

* Add a test for change_plan function

* Add allowance function back in

* Test billing controller endpoint
7 years ago
pmhoudry f52aac6a31
Correctly position websites list on mobile (#57)
On mobile, the website list at /sites does not have any X padding. The
elements touch the screen left and right. This corrects it by wrapping
the list in a div with "px-4" on it.

This could also be achieved by setting "px-4" and "md:px-0" on every
element but it is unecessarily complex and if some more elements
appeared on this screen, it would be easy to forget this. A container
should be in charge of this, which is what is proposed here.
7 years ago
Uku Taht 454feec36e Fix email link 7 years ago
Uku Taht 4163d2a9ba
Authentication updates (#54)
* Use separate cookie for shared link auth

* Remove CSRF protection from login and register pages

* Add AuthorizeStats Plug

* Fix tests
7 years ago
Uku Taht 75ac1dcc3a Use plausible.nolt.io 7 years ago
Uku Taht da2f01e9e3 Remove device ID from session 7 years ago
Uku Taht 1fc7442ad0 Don't set session if user isn't logged in 7 years ago
Uku Taht 989e3330a1 Remove acquisition tracking 7 years ago
Uku Taht 5697da77c2 Add link to setup success email 7 years ago
Uku Taht fec2016935 Remove myself from email bcc 7 years ago
Uku Taht 1e66bde1d0 Add CTA to the demo page 7 years ago
Uku Taht 2b50c6cf2a Use correct headers 7 years ago
Uku Taht d3c770a6da Remove log 7 years ago
Uku Taht d8936888e6 Inspect headers 7 years ago
Uku Taht 7b9f2a31ef Fix svg 7 years ago
Uku Taht 8a8792a7d3 Require logged out 7 years ago
Uku Taht 869b11296c Use home dest in navbar 7 years ago
Uku Taht 074e895204 redirect users to /sites after login 7 years ago
Uku Taht 4c934e2737 Make navbars equal height 7 years ago
Uku Taht bb765f9c0c Change home destination 7 years ago