Commit Graph

959 Commits (c0083815d4968500065dd2215cd7cf00a0ea30d0)
 

Author SHA1 Message Date
Uku Taht c0083815d4 Fix IP address parsing for ipv6 with port number 6 years ago
Uku Taht fa60ebd6b0 Scrub port from x-forwarded-for 6 years ago
Uku Taht ad6faece87
Stats API: Support IN filter expression (#1090)
* Support IN filter expression

* Update clickhouse_ecto
6 years ago
Uku Taht 9f16603bfb Accept application/json in /api/event 6 years ago
Uku Taht c37a2de627 Revert "Adds manual filters on FE, capability for exclusion filters (and the globbing we're used to) for path-based filters (#1067)"
This reverts commit b6eeb40472.
6 years ago
Uku Taht 2be99db54d Fix p.js 6 years ago
Uku Taht d03b31450f Removes cache-control header from tracker file 6 years ago
Maximilian Bosch 4ff25f68c8
Postgres socket authentication (#1052)
* Allow to connect to postgres via socket auth

* Add changelog entry for new env-vars

Co-authored-by: Uku Taht <Uku.taht@gmail.com>
6 years ago
Uku Taht 55030b837d Fix external referrer link
Fixes #1009
6 years ago
Uku Taht 28a931ce76 Fix referrer filter 6 years ago
Vignesh Joglekar b6eeb40472
Adds manual filters on FE, capability for exclusion filters (and the globbing we're used to) for path-based filters (#1067)
* First pass on manual filter & path regex/negated filters

Still needs:
- Form structure on filter modal
- Edit filter button
- Filter dropdown UI improvement
- Filter modal mount data collection
- Tests
- Potentially negating other filters

* Second pass - mostly everything user-facing is done

Still needs:
- Tests
- Potentially negating other filters
- Potentially some code cleanup

* Bugfix in realtime view, formatting

* Fixes editing UX on list view

* Adds tests for exclusions and wildcards

* Various UI Improvements

- Makes edit buttons full-length & properly sized
- Adds remove filter button in edit menu

* Changelog

* Makes requested changes, adds different version of filter button

* Makes colorings on top bar elements consistent
6 years ago
Uku Taht 1a93542cd7 Add rate limit to API requests 6 years ago
Uku Taht 5ca39cf49a Remove unused debuge statement 6 years ago
Andrey Meshkov 90cfed035f
Added parameters for Clickhouse flush interval and max buffer size (#1073)
Currently, both are hard-coded to relatively small values.
This may cause an unnecessary high load on the Clickhouse instance.
It makes sense to make those configurable.
6 years ago
Uku Taht 6228995d4f Rate limit login attempts to 5 per minute 6 years ago
Uku Taht 120c4060a8 Remove empty test file 6 years ago
Uku Taht 22172074d8 Remove json logger 6 years ago
Uku Taht edc77236c7 Some improvements to pagination in dark mode 6 years ago
Uku Taht 2cf0c1a456 Use `forwarded` header when X-Forwarded-For is missing 6 years ago
Uku Taht 5ee3167786 Add special plan 6 years ago
Uku Taht ff9f95ea18 Fix old script 6 years ago
Uku Taht f203eba7c0 Deprecate custom domains 6 years ago
Uku Taht c55450c8d7 Include new testing script 6 years ago
Uku Taht 9d700a059c Include testing script as well 6 years ago
Ru Singh 7153b366e5
chore(docker): improve repeat contributions workflow (#1057)
* This change adds two new commands to gracefully stop and remove the Postgres and Clickhouse docker containers. To do so, it also gives them a recognizable name.

* Additionally, the Postgres container is updated to use a named volume for its data. This lower friction for repeat contributions where one would otherwise sign up and activate their accounts again and again each time.
6 years ago
Vignesh Joglekar 5f42141e08
Adds time on page as a top stat when a page filter is active (#1051)
* Adds time on page as a top stat when a page filter is active

* Removes dangling debug statement
6 years ago
Uku Taht e80fc7bb8e
Tracker script improvements (#1048)
* Use `document.currentScript` to get script host

* Add data-api
6 years ago
Vignesh Joglekar 41e4690116
Adds Time on Page metric to Top Pages report (#1007)
* First pass

Needs more testing & potentially cleanup

* Fixes tests, error handling

* Formatting

* Removes broken test

* Fixes inconsistent test

This was due to Clickhouse setup not inserting the sessions with the exact same timestamp consistently and making the test inconsistent

* Combines `include` param, asyncs time_on_page and bounce_rate

* Fixes CH error when no pageviews exist in period

* Format

* Changelog

* Increases await timeout to accomodate larger data sets

* Improves handling of timeout behavior

* Fixes session-based filtering on time on page queries

* Formatting

* Removes old forced entry page modal from top pages report
6 years ago
Vignesh Joglekar 7f3e55418b
Changes from static tracker script name assignments to dynamic (#786)
Co-authored-by: Uku Taht <Uku.taht@gmail.com>
6 years ago
Ru Singh 820357f7ca
Specify clickhouse and postgres versions for local development. (#1039)
This PR solves #1017.
6 years ago
Zero King e37b39583c
Add :ok return to CleanEmailVerificationCodes (#1018) 6 years ago
Uku Taht b2bbe06c90 Show net prices 6 years ago
Uku Taht d10d8fb7dd Adjust new pricing date 6 years ago
Uku Taht f16666e374 Localize billing screens 6 years ago
Uku Taht 547e888242 Localize change plan page 6 years ago
Uku Taht 88efccef2f Localize the /upgrade page 6 years ago
Uku Taht f8e6a32fd8 Add VAT notice to upgrade page 6 years ago
Uku Taht 03690b2ecd Revert "update tailwind version"
This reverts commit 8cdfcdd9de.
6 years ago
Uku Taht c2e233fac4 Remove npm audit 6 years ago
Uku Taht 8cdfcdd9de update tailwind version 6 years ago
Uku Taht 793957ed90 fix check usage test 6 years ago
Uku Taht d33fe1cf97 Use new pricing in trial email test 6 years ago
Uku Taht 0e481efafe Use today as change of date 6 years ago
Uku Taht 7c520e16d2 Make discount notices more generic 6 years ago
Uku Taht 1b91909021 Grandfather old plans 6 years ago
Uku Taht 4935a62b22 Use JSON 6 years ago
Uku Taht d1ef27ec9c Make sure upgrading to unlisted plans works OK 6 years ago
Uku Taht 885b1d271a Refactor current plan data format to make changing it easier 6 years ago
Uku Taht 09df65d5ec Improve password policy 6 years ago
Uku Taht 0fb8f09b41 Fix usage checking job 6 years ago