Commit Graph

158 Commits (2d8a03e86121aa9d8835d47d3d2be2ecdb8117ee)

Author SHA1 Message Date
Uku Taht a4bf74a84c Do not allow duplicate spike notification to be created 6 years ago
Uku Taht e7a7deef84
Clarify that custom events are billed separately from events (#607)
* Clarify that custom events are billed separately from events

* Fix for dark mode
6 years ago
Uku Taht b7a2b3b423 Cascade deletion of site to spike notifications 6 years ago
Uku Taht 563c8d99f4 Fix new configuration 6 years ago
Uku Taht e786af648d
Fix session duration for out-of-order events (#593) 6 years ago
Oliver Kriska 4d4f8ba5c3
Elixir & Docker upgrade (#566)
* Elixir upgrade

 - upgraded Elixir to 1.11.2
 - upgraded Erlang to 23.2.1
 - upgraded Phoenix to 1.5.7
 - Upgraded:
  bamboo_postmark 0.6.0 => 0.7.0 (minor)
  bcrypt_elixir 2.2.0 => 2.3.0
  csv 2.3.1 => 2.4.1
  ecto 3.4.6 => 3.5.5
  ecto_sql 3.4.4 => 3.5.3
  elixir_make 0.6.0 => 0.6.2
  ex_machina 2.4.0 => 2.5.0
  excoveralls 0.12.3 => 0.13.4 (minor)
  file_system 0.2.8 => 0.2.10
  gettext 0.18.0 => 0.18.2
  httpoison 1.6.2 => 1.7.0
  nanoid 2.0.2 => 2.0.5
  phoenix_ecto 4.1.0 => 4.2.1
  phoenix_live_reload 1.2.2 => 1.3.0
  postgrex 0.15.5 => 0.15.7
  sentry 7.2.4 => 7.2.5
  timex 3.6.2 => 3.6.3
  tzdata 1.0.3 => 1.0.5
  yamerl 0.8.0 => 0.8.1

* Elixir & Docker upgrade

upgraded to 1.11.3

* Docker

 - fixed missing python3 package for newer Alpine linux
6 years ago
Oliver Kriska ae42b86792
Dialyzer and Credo checks (#558)
* Checks

 - added Dialyzer
 - fixed Dialyzer errors
 - added Dialyzer check to GitHub Actions with cache
 - added Credo
 - fixed Credo Warnings
 - added Credo Warnings check to GitHub Actions with cache
 - added compile warnings check to GitHub Actions
 - reformated GitHub Actions YAML

* Dialyzer

 - allow it in test env

* Dialyzer

 - fixed test env
 - renamed GitHub actions steps

* AppSignal

 - upgraded deprecated version
 - Upgraded:
  appsignal 2.0.5 => 2.0.7
  certifi 2.5.2 => 2.5.3
  hackney 1.16.0 => 1.17.0
  idna 6.0.1 => 6.1.1
  parse_trans 3.3.0 => 3.3.1
  unicode_util_compat 0.5.0 => 0.7.0 (minor)

* Credo

 - fixed CRM plug
6 years ago
Uku Taht 9bbaa756b8 Fix user deletion 6 years ago
Uku Taht 81c12884cd
Add elixir action (#526)
* Add elixir action

* Format the codebase

* Add postgresql

* Postgres config

* Run postgres on localhost

* Add clickhouse to CI
6 years ago
Uku Taht ef4af9249f Fix double quote handling in Clickhouse 6 years ago
Uku Taht 49c4ec2e9c Encode site domain when redirecting a shared link
Fixes #376
6 years ago
Uku Taht 9c4493de66 Send welcome email after first site creation 6 years ago
Uku Taht aa7ae87811
Onboarding UX improvements (#441)
* WIP

* Actually activate the user

* Send email verification codes

* Send activation code with email

* Only show onboarding steps during first site creation

* Add worker to config

* Consistent form styles

* Send welcome email when user activates account

* Add changelog entry

* Use https in new site form

* Correct spelling in email
6 years ago
Uku Taht acce144809 Show noref in notification email 6 years ago
Uku Taht 35e4051016 Add more information to spike email 6 years ago
Uku Taht f35ef2e0b1 Add settings UI for spike notifications 6 years ago
Uku Taht 11c9bdc328 Make sure a notification is not sent again within 12 hours 6 years ago
Uku Taht 54f70717c4 Add basic spike notifications
Co-authored-by: Jerod Santo <jerod@changelog.com>
6 years ago
Uku Taht a92bca2c86 Fix sites list when user has no sites 6 years ago
Uku Taht df262266fb Fix settings tests 6 years ago
Uku Taht d71e40f16f Validate domain format on site creation 6 years ago
Uku Taht 19a9e314fc Accept anything in prop value as long as it can `to_string` 6 years ago
Uku Taht 1d4bddd79d Decode URLs properly 6 years ago
Uku Taht b0b5d92f6e Fix URL decoding 6 years ago
Uku Taht d0d7b823f8
Browser and OS version (#397)
* Collect browser and OS version

* Display browser version

* Show operating system versions

* Device categorization

* Treat headless chrome like a bot

* Ignore events from automated browsers

* Only take major and minor of the version

* Add tests

* Add CHANGELOG entry

* Add changelog entry for bots

* Store empty value as browser when unknown
6 years ago
Uku Taht 0a7684f3bc Mix format 6 years ago
Uku Taht b816d92020 Show conversion rates in conversions report 6 years ago
Uku Taht 044da18fec Fix tests for metadata 6 years ago
Uku Taht 40900c7653
Ability to add event metadata (#381)
* Ability to add event metadata

* Close Dropdown on outside click

* Show (none) value in metadata breakdown

* Allow filtering for metadata key/val pairs

* Use correct clickhouse_ecto

* Better naming for meta filter

* Add tests

* Add changelog entry

* Remove change made for testing
6 years ago
Uku Taht dd44bc803d
Do not error when activating an account that already exists (#370)
* Do not error when activating an account that already exists

* Add changelog entry
6 years ago
Uku Taht e228fd1f85
Additional filters (#358)
* Filter by screen size

* Filter by browsers

* Add filter for Operating system

* Add changelog entry

* Add filter for countries

* Add tests for filters
6 years ago
Preslav Rachev 431c02ad58
#332: Refactor stats controller (#337)
* #332: Refactor stats controller

* Simplify the conditional logic
6 years ago
Uku Taht 8d9667a949
Show utm_medium, utm_source, and utm_campaign in sources modal (#321)
* Show utm_medium, utm_source, and utm_campaign in sources modal

* Allow filtering by UTM tags

* Integrate filters with URL bar

* Add CHANGELOG entry

* Refresh modal when filter changes

* Remove Direct / None from campaign results

* Add UTM tabs to top sources report

* Add pagination

* Remove dropdown from top sources popup

* Fix bug in clickhouse_ecto

* Remove referrers_for_goal

* Make sure UTM tags work OK with goals

* Make source tab selection sticky

* Consistent styling for devices and source tabs

* Add noref in realtime to utm tabs

* Fix tests
6 years ago
Uku Taht 9ad2075d6f Send confirmation email when user cancels their subscription 6 years ago
Uku Taht 122dd94327
Store `utm_medium`, `utm_source`, and `utm_campaign` (#318) 6 years ago
Uku Taht 4b36bb7138
Use clickhouse_ecto for db connection (#317)
* Use clickhouse-ecto for stats

* Use clickhouse ecto instead of low-level clickhousex

* Remove defaults from event schema

* Remove all references to Clickhousex

* Document configuration change

* Ensure createdb and migrations can be run in a release

* Remove config added for debug

* Update plausible_variables.sample.env
6 years ago
Uku Taht e5fae1722b Fix trial information being included for subscribed users 6 years ago
Uku Taht 49f153c380
Paginate referrers (#313)
* Add pagination for referrers

* Fix top referrers for goal
6 years ago
Uku Taht 33bf8e8b4d
Add 'This month' and 'Last month' options (#312)
* Add 'This month' and 'Last month'

* Remove 60d option

* Make datpicker transition similar to site switcher
6 years ago
Uku Taht 4aa4dfdcaf
Hash mode (#299)
* Build tracker with hash mode

* Extract hash fragment in hash mode

* Serve new hash-based tracker
6 years ago
Uku Taht d30f17c807
Extract utm_source on the server side (#298)
* Extract utm_source on the server side

* Build tracker scripts
6 years ago
Uku Taht c200b95ce0 Add test for shorthands in external API 6 years ago
Uku Taht 76896f7cee
Show total conversions in addition to uniques (#294) 6 years ago
Uku Taht 01ef17abb0
Make sure all future URLs and sources are decoded (#292) 6 years ago
Uku Taht 43b56d6e61
Clarify subscription (#289)
* Add billing interval to subscription page

* Add test for subscription interval
6 years ago
Uku Taht 248d43ee47
Add page after upgrading to paid plan (#288) 6 years ago
Uku Taht 503dc60b30 Rename Total visitors -> Unique visitors 6 years ago
Uku Taht ff64fccb18
Add site switcher (#281)
* WIP

* Add site switcher

* Run ci

* Highlight active site

* Do not show sites dropdown for logged out users

* Add site switcher to realtime view

* Remove blue border when logged out
6 years ago
Uku Taht 4d11a1d8a1 Fix firewall test 6 years ago
Uku Taht 2e1904e5f0 Add test for firewall 6 years ago