Commit Graph

214 Commits (ea53daeaac5cc58fd14cc7b7bb9e512ae8b61b2f)

Author SHA1 Message Date
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
Uku Taht d9d43160d0 Add sites route 7 years ago
Uku Taht 1b9cc038a3 Make cookie accessible to JS 7 years ago
Uku Taht 1397cb0e76 Set logged in cookie in required account plug 7 years ago
Uku Taht 9b9735dd0b Keep a cookie for whether the user is logged in 7 years ago
Uku Taht 2cf57a795f Drop session 7 years ago
Uku Taht e14001664c Fix tests 7 years ago
Uku Taht 9b9160ae86 Tweak colours 7 years ago
Uku Taht 2ee5646a7c Update logos 7 years ago
Uku Taht c40d532880
New landing page (#47)
* Fix typo

* Update landing page with components from TailwindUI

* Update copy

* Update FAQ and testimonials

* Add feature section

* Update copy for integration

* Implement feedback

* Remove github button JS

* Update headings

* Update gray values

* Update CTA section

* Add copy
7 years ago
Uku Taht 41e04d9594 Fix tracker 7 years ago
Uku Taht 3642168197 Correct email title 7 years ago
Uku Taht 7755b8b188 Make sure pageviews can be inserted 7 years ago
Uku Taht 02e72f0167 Add space below link 7 years ago