Commit Graph

759 Commits

Author SHA1 Message Date
Uku Taht
45370824b1 Make API key management look good on dark mode 2021-02-05 11:48:20 +02:00
Jake Howard
f6d34f3ff6
Expose port 8000 by default (#675)
This bind it to the host port by default, it's more a hint to tools which integrate with Docker directly.
2021-02-05 11:27:44 +02:00
John Schmidt
ff1710591d
fix github icon color in dark mode (#672) 2021-02-05 11:24:33 +02:00
Uku Taht
5acb5b7039
Stats API (#679)
* WIP

* Add ability to filter by anything

* Add API keys

* Add version to api endpoint

* Fix API test route

* Fix API tests

* Allow 'date' parameter in '6mo' and '12mo'

* Rename session -> visit in API filters

* Filter expressions in the API

* Implement filters in aggregate call

* Add `compare` option to aggregate call

* Add way to manage API keys through the UI

* Authenticate with API key

* Use API key in tests
2021-02-05 11:23:30 +02:00
Marko Saric
60b99102a6
Update README.md 2021-02-01 18:09:07 +01:00
Marko Saric
11fc1f2baf
Update README.md 2021-02-01 18:08:09 +01:00
Uku Taht
2d8a03e861 Add JSON logger 2021-01-29 10:24:20 +02:00
Uku Taht
8a815f57af Fix settings screen for large subscriptions 2021-01-29 10:08:36 +02:00
Uku Taht
bc44879bf8 Cascade site_membership deletion 2021-01-28 10:37:44 +02:00
Marko Saric
66735f4a31
Merge pull request #655 from jonnitto/patch-1
Fix: Re-add hash and outbound-links only options
2021-01-26 11:47:23 +01:00
Jon Uhlmann
8516e2c458
Fix: Re-add hash and outbound-links only options 2021-01-26 11:39:43 +01:00
Theodoor
2bd2adbb74
fix(register): disallow registration when registration is disabled (#640)
* fix(register): disallow registration when registration is disabled

* fix(register): moved disabling of registration logic to router

* Revert "fix(register): moved disabling of registration logic to router"

This reverts commit 9d7222d1
2021-01-26 11:44:48 +02:00
Uku Taht
d5a055797b Do not show changelog notification in selfhost mode 2021-01-26 11:17:52 +02:00
Uku Taht
015eeefe68 Made changelog notification dark-mode ready 2021-01-26 11:11:36 +02:00
Uku Taht
a5ac5ddd16 Show changelog notification 2021-01-26 10:32:03 +02:00
Vignesh Joglekar
fb7a3fef89
Adds data-exclude support and localStorage.plausible_ignore support (#489)
* Adds data-exclude support and plausible_ignore support

* Splits exclusion into separate script option

* localStorage parsing upgrades

* Additional script type additions

I'm unsure about the formatting decision in tracker.ex - lmk.

* Adds new compiled files

This will certainly have conflicts with my other PRs related to the tracking scripts right now, I'll make one extra PR after both are done to ensure they're consolidated into the compiled scripts.

* Moves localStorage blocker out of special script

* Changelog

* Second thoughts on localStorage exclusion

* Updates `*` to not match `/` or whitespace

* Fix formatting

* Removes zero-length asterisks

* Adds support for double glob, zero-length replacements

* Update to reduce size+allow localStorage exclude

Co-authored-by: Uku Taht <Uku.taht@gmail.com>
2021-01-22 13:32:40 +02:00
Vignesh Joglekar
e47518d5fc
Adds date selection keybindings (#630)
* Main Pass

* Changelog

* Resolves comments
2021-01-22 13:29:16 +02:00
Vignesh Joglekar
da7ccc45e4
Allow for Esc to clear all filters (#625)
* Allow for `Esc` to clear all filters

* Changelog

* Change duplicated ctrlKey (in DatePicker too)
2021-01-21 15:11:48 +02:00
Uku Taht
92827ec1c6 Revert "Add changelog entry"
This reverts commit 37c7bb0851.
2021-01-21 14:43:11 +02:00
Uku Taht
cb3e401dce Revert "Add Comparison Line and Improved Tooltip to Visitors Graph (#624)"
This reverts commit 979d2526d5.
2021-01-21 14:42:55 +02:00
Uku Taht
cfd439fd71 Clarify site creation copy 2021-01-20 16:16:33 +02:00
Sean Hill
53660ad18a
Visual updates to user dropdown and 'My sites' header (#623)
* Change datepicker caret from pink to indigo

* Update CHANGELOG.md

* Update CHANGELOG.md

* Updated filters dropdown caret/chevron to indigo

* Updated “My Sites” header and user name dropdown hover background

* Removed changlog note
2021-01-20 15:54:51 +02:00
Vignesh Joglekar
f6aefa9643
Add "Add Site" button to site switcher (#626) 2021-01-20 15:54:08 +02:00
Uku Taht
37c7bb0851 Add changelog entry 2021-01-20 15:50:33 +02:00
Vignesh Joglekar
979d2526d5
Add Comparison Line and Improved Tooltip to Visitors Graph (#624)
* First pass

* Title Section of Tooltip+Formatting

* Cleanup, Formatting, Rest of Tooltip

* Fixes bug in "month" calculate_plot

Bug: where calculate_plot on "month" didn't correctly use the end date in the date range, and instead always used the current time - making requesting past chunks of 6 or 12 month data impossible

* Cleanup + Comments

* Cleanup+Percentage Formatting Changes

* Fixes Realtime Tooltip

* Prevent FE Crash

* Minor format, code cleanup

* Removes erroneous changes

* Github UI is bad at indenting
2021-01-20 15:49:39 +02:00
Uku Taht
5220f98476 Fix custom domain conditional 2021-01-19 22:56:36 +02:00
Sean Hill
6ab2126ab8
Change datepicker caret from pink to indigo (#618)
* Change datepicker caret from pink to indigo

* Update CHANGELOG.md

* Update CHANGELOG.md

* Updated filters dropdown caret/chevron to indigo
2021-01-19 15:41:22 +02:00
Vignesh Joglekar
d339fea686
Update References (#619) 2021-01-19 15:40:01 +02:00
Uku Taht
a4bf74a84c Do not allow duplicate spike notification to be created 2021-01-19 11:41:15 +02:00
Uku Taht
e02377509c Add 10m, 20m plan 2021-01-19 10:36:02 +02:00
Uku Taht
99a3582883 Add option to completely disable cron 2021-01-18 11:28:18 +02:00
Marko Saric
457b132556 Update issue templates 2021-01-17 08:12:56 +01:00
Todd Resudek
888a54869b
#497 UX improvement - show my sites cog without hover on small screens (#600)
* uses tailwind breakpoint to not apply the opacity:0 to the cog on small screen sizes (<768px wide)

* Adds feature description to changelog

Co-authored-by: Uku Taht <Uku.taht@gmail.com>
2021-01-15 17:07:34 +02:00
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
2021-01-15 16:28:57 +02:00
Uku Taht
44fdef4669 Add notice about www 2021-01-15 11:29:10 +02:00
Uku Taht
b7a2b3b423 Cascade deletion of site to spike notifications 2021-01-15 11:24:28 +02:00
Uku Taht
e873d790e5
Self hosted improvements (#603)
* Introduce SELFHOST config. Enable cron by default for self hosters

* Fix cron, disable custom domain for selfhost

* Add github links

* Add notice about google search console on self hosted

* Enfore BASE_URL

* Set all selfhost users' trial expiry to 100 years from now

* Fix admin user creation
2021-01-15 10:12:00 +02:00
Uku Taht
563c8d99f4 Fix new configuration 2021-01-13 17:04:01 +02:00
Uku Taht
7d8951435e Add test configuration 2021-01-13 16:15:03 +02:00
Uku Taht
6c8ae24adc
New config (#595)
* Use Config instead of Mix.Config

* Use new config/runtime.exs to reduce duplication
2021-01-13 15:41:16 +02:00
Uku Taht
e786af648d
Fix session duration for out-of-order events (#593) 2021-01-13 11:50:09 +02:00
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
2021-01-13 10:31:16 +02:00
Uku Taht
e5ab45eb09 Fix layout issue on Safari 2021-01-11 16:58:40 +02:00
Uku Taht
564d07ec61 Show interval for free_10k 2021-01-08 17:02:13 +02:00
Uku Taht
34d5dfbbc2 Add kaffy config to releases.exs 2021-01-08 16:54:17 +02:00
Uku Taht
c847839471 Add title to admin 2021-01-08 15:53:45 +02:00
Uku Taht
a5135d34fa Add subscription info to admin panel 2021-01-08 15:47:26 +02:00
Uku Taht
e692afc20e Search sites by their members 2021-01-08 15:36:26 +02:00
Uku Taht
c4d7b5ae05 Fix user admin 2021-01-08 15:33:30 +02:00
Uku Taht
4fb78265a8 Add disabled hover state for buttons 2021-01-08 11:21:53 +02:00