Commit Graph

1251 Commits (752817ca22982bd0f1be91f3ee523e1e75fa048b)

Author SHA1 Message Date
Adam Rutkowski 752817ca22 Ensure funnels are accessible via shared links (test pending) 4 years ago
Adam Rutkowski 4678c65292 Introduce phoenix live view + deps upgrade 4 years ago
Adam Rutkowski 5b4af98e4d Refactor funnel result evaluation 4 years ago
Adam Rutkowski 69e4eb0cb3 Update funnel tests 4 years ago
Adam Rutkowski d679529015 Calculate conversion rate/dropoff in the backend 4 years ago
Adam Rutkowski 61d3a3efc2 Stop using hardcoded funnel id 4 years ago
Adam Rutkowski 0fc716c163 Make existing tests pass 4 years ago
Adam Rutkowski dd8fe3af9c Remove IO.inspect 4 years ago
Adam Rutkowski 0ab38e7d57 Outline basic error handling 4 years ago
Adam Rutkowski 308517c08f Move Funnels to StatsController and use base query 4 years ago
Adam Rutkowski 27f5ea0d30 Put private functions at the bottom 4 years ago
Adam Rutkowski 3d8ee2228d Put front-end funnels behind a flag 4 years ago
Adam Rutkowski 9582ad8f63 Remove inspects 4 years ago
Adam Rutkowski 964718dbe2 Mute warnings 4 years ago
Adam Rutkowski caeb4b5efc Remove snippet 4 years ago
Adam Rutkowski c5caf7c06e !fixup 4 years ago
Adam Rutkowski 9264797265 Minor rework 4 years ago
Adam Rutkowski 7f33a159bc Fixup 4 years ago
Adam Rutkowski 59fb60ccf0 !ifxup 4 years ago
Uku Taht 2268636d8f Add Funnels.list/1 function 4 years ago
Adam Rutkowski 55e9dc36ae Unique steps 4 years ago
Adam Rutkowski 0dc30d2680 Ensure step ordering works 4 years ago
Adam Rutkowski 909f0ef40a Rename funnel_goals->funnel_steps 4 years ago
Uku Taht b208f1f4ac It works I think 4 years ago
Uku Taht 6b3154b59e WIP 4 years ago
Adam Rutkowski bf9d6173a8 Dirty wip 4 years ago
Adam Rutkowski 6657a59266 Absolute dirty wip 4 years ago
Adam Rutkowski ca76a6d871 Fetch funnel data from the endpoint 4 years ago
Adam Rutkowski 0748a8aa2b wip 4 years ago
Adam Rutkowski d0973b51d6 !fixup 4 years ago
Adam Rutkowski e774872794 Mock funnels endpoint 4 years ago
Adam Rutkowski ea658dcc46 dirty wip 4 years ago
RobertJoonas 6c907cbf42
Fix favicon request URLS (#2976)
Also use the favicon.ex proxy in referrer drilldown
4 years ago
ruslandoga 40e95ffd3d
add LOG_FAILED_LOGIN_ATTEMPTS (#2936)
* add failed login logs

* put failed login attempt logs behind a config option

* add changelog entry

* add config test

* add auth_controller tests

* move tests to separate non-async test module

---------

Co-authored-by: Uku Taht <Uku.taht@gmail.com>
4 years ago
ruslandoga 447ed12155
use ecto_ch (#2890)
* use ecto_ch

* use Ch type in BoolUInt8

* update ecto_ch and ch to latest versions
4 years ago
RobertJoonas dafb60164a
Allow setting sample_threshold in dashboard API queries (#2958)
* refactor Query.from/2

* allow specifying sample_threshold number in query
4 years ago
Uku Taht 6be67bc6c2
Carry _sample_factor from right side to left in join (#2962) 4 years ago
Uku Taht 1a94456586
Wrap user deletion in DB transaction (#2964) 4 years ago
Vini Brasil 10d9e3b083
Revenue tracking: Add currency field to goal creation (#2948)
* Add revenue goal option to goal creation

This commit adds a currency field to the goals form. Goals that have a
currency set are now revenue goals, and are cached with sites to later
be used during ingestion.

Co-authored-by: Robert Joonas <robertjoonas16@gmail.com>

* Enable feature flag in tests

---------

Co-authored-by: Robert Joonas <robertjoonas16@gmail.com>
4 years ago
Uku Taht ca3e2e5121
Add unique constraint to api keys (#2931)
* Add unique constraint to api keys

* Fix test

* Remove `user_id` from api key index
4 years ago
Marko Saric 3482337348
link to the WP plugin and the integration guides (#2927) 4 years ago
Marko Saric 1723d3ca68
Keep the in-app footer consistent with the main site (#2944) 4 years ago
Uku Taht 2259651b21
Ignore missing subscription on update (#2930) 4 years ago
Harry Vangberg 34a6b984c7
Escape domain when creating URL for favicon (#2942)
* Escape domain when constructing favicon URL

A domain may include a slash, and in that case the domain must be
escaped, before it is used as an attribute for the image tag.

* match with 'conn.request_path' instead + test

---------

Co-authored-by: Robert Joonas <robertjoonas16@gmail.com>
4 years ago
RobertJoonas fa54efbc6d
Support `with_imported=true` in Stats API aggregate (#2919)
* default to source_query.include_imported before true

This fixes a bug where a Stats API aggregate query was trying
to query current period *without imported data* but previous
period *with imported data*.

* remove __internal_visits at a better time

As soon as we have made the db query, we don't need it anymore

* disallow events metric with imported data

* update changelog

* keep default in a better place

* remove unused option

* update test description

Co-authored-by: Vini Brasil <vini@hey.com>

---------

Co-authored-by: Vini Brasil <vini@hey.com>
4 years ago
Vini Brasil f29d07a49e
Add tracking back to upgrade-success page (#2938) 4 years ago
Vini Brasil 4ca2e26b9c
Limit ingestion payload size (#2904)
This pull request adds constraints on user input values during ingestion. The purpose of this PR is to filter out unrealistic or invalid inputs. More comments about each limit inline.
4 years ago
RobertJoonas 00d05b2edd
Fix a bug with query bindings (#2932) 4 years ago
Marko Saric 42f88be12a
Tweaks to the email copy (#2933)
* Removing the spike line

* Update dashboard_locked.html.eex
4 years ago
Uku Taht e954f946e1
Adds `nofollow` to X-Robots-Tag header in stats page (#2929) 4 years ago