Commit Graph

2013 Commits

Author SHA1 Message Date
Uku Taht
b31c0114c5 Use Clickhouse everywhere 2020-05-22 12:33:17 +03:00
Uku Taht
439a4a80c7 Escape quote in event name 2020-05-21 19:14:45 +03:00
Uku Taht
ee4f604712 Update hydrate command 2020-05-21 19:08:39 +03:00
Uku Taht
578523170f Query via clickhouse 2020-05-21 18:59:07 +03:00
Uku Taht
4800cc6cf7 Escape everything 2020-05-21 16:19:28 +03:00
Uku Taht
1087742fea Clean after itself 2020-05-21 15:55:46 +03:00
Uku Taht
d83ec7b6a1 Report progress 2020-05-21 14:53:09 +03:00
Uku Taht
a8c1fa2ea6 Escape quote in sessions 2020-05-21 14:30:04 +03:00
Uku Taht
ea53daeaac Hydrate historical data 2020-05-21 14:06:14 +03:00
Uku Taht
0ccb893c04 Ingest with new CH schema 2020-05-21 13:36:53 +03:00
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
2020-05-21 13:03:39 +03:00
Rimenes Ribeiro
eeb54c4575
Ignore Elixir Language Server files. (#65) 2020-05-21 12:36:03 +03:00
Uku Taht
ed21775768 Update elixir 2020-05-21 11:10:41 +03:00
Marko Saric
60ed0a9201
Update README.md 2020-05-19 15:58:51 +02:00
Marko Saric
b982f43a00
Update README.md 2020-05-19 15:57:08 +02:00
Uku Taht
f7180f9620 Don't track wrong password page 2020-05-19 16:20:21 +03:00
Uku Taht
e7cd441a43 Skip tracking on share email 2020-05-19 16:18:26 +03:00
Uku Taht
f587e348cd Update contact form and email addresses 2020-05-18 16:20:00 +03:00
Uku Taht
c27119b03e Fix price in email 2020-05-18 13:08:18 +03:00
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
2020-05-18 12:44:52 +03:00
Uku Taht
d366dee08a Do not track header 2020-05-11 14:27:20 +03:00
Uku Taht
6b53b4fbb5 Fix email login link 2020-05-09 00:25:57 +03:00
Uku Taht
a712a583ee Fix typo 2020-05-07 16:22:10 +03:00
Uku Taht
3faec27c82 Fix clickhouse buffer inserts 2020-05-07 14:53:06 +03:00
Uku Taht
b76f5e728a Log write buffer as info 2020-05-07 14:31:34 +03:00
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
2020-05-07 14:28:41 +03:00
Uku Taht
9f7b5b9533 Only delete subscription if it exists
Fixes #61
2020-05-07 14:26:22 +03:00
Uku Taht
4a1a5f9b3b Allow paused subscription status 2020-04-25 08:53:49 +03:00
Uku Taht
6de23e4b94 Remove jumpiness from when conversions are loaded 2020-04-23 10:58:04 +03:00
Uku Taht
2db1289c92 Fix button styling on Safari 2020-04-22 11:42:53 +03:00
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
2020-04-21 14:11:38 +03:00
Uku Taht
55ca459bb2 Update deps 2020-04-21 14:03:33 +03:00
pmhoudry
22a2eae940
Correctly position more links on mobile (#56)
The more links are absolutely positioned. It works fine on desktop when
there is two columns. On mobile, the absolute sends the more links on
top of each other on top of the column. Adding a simple "relative" class
on each cards that contains a more link ensures that they stay when
they belong.
2020-04-21 10:57:18 +03:00
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.
2020-04-21 10:56:12 +03:00
Marshall Bowers
bed7cc1ec7
Exclude loopback addresses from analytics (#55) 2020-04-20 18:27:54 +03:00
Uku Taht
454feec36e Fix email link 2020-04-15 10:05:19 +03:00
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
2020-04-14 14:04:35 +03:00
Uku Taht
75ac1dcc3a Use plausible.nolt.io 2020-04-13 17:54:47 +03:00
Uku Taht
da2f01e9e3 Remove device ID from session 2020-04-13 15:14:45 +03:00
Uku Taht
1fc7442ad0 Don't set session if user isn't logged in 2020-04-13 15:14:16 +03:00
Uku Taht
9e0a45629e Remove Unused JS 2020-04-13 15:13:53 +03:00
Uku Taht
989e3330a1 Remove acquisition tracking 2020-04-13 14:45:47 +03:00
Uku Taht
ec80b8fd51 Add tooltip to screen size 2020-04-08 15:29:49 +03:00
Uku Taht
5697da77c2 Add link to setup success email 2020-04-08 15:26:59 +03:00
Uku Taht
4ff528d246 Cascade setup success emails deletion 2020-04-08 15:25:35 +03:00
Uku Taht
ddf08b97e8 Cascade custom domain deletion 2020-04-06 14:53:31 +03:00
Uku Taht
fec2016935 Remove myself from email bcc 2020-04-06 14:00:14 +03:00
Uku Taht
1e66bde1d0 Add CTA to the demo page 2020-04-02 15:50:42 +03:00
Uku Taht
2b50c6cf2a Use correct headers 2020-04-02 13:43:06 +03:00
Uku Taht
d3c770a6da Remove log 2020-04-02 13:38:01 +03:00