Commit Graph

719 Commits

Author SHA1 Message Date
Uku Taht
a530aef73e Add orange color back in 2020-11-20 11:23:20 +02:00
Uku Taht
ce77e3c939 Remove suggestion to contact support 2020-11-20 11:01:03 +02:00
Uku Taht
3101cd7763 Add changelog entry 2020-11-20 10:23:04 +02:00
Uku Taht
06e082ab23 Merge snippet in genral 2020-11-20 10:22:17 +02:00
Uku Taht
1579fd8bc6 Separate public dashboard and shared links 2020-11-20 10:19:28 +02:00
Uku Taht
4d55b77500
Merge pull request #408 from birjolaxew/fix/history-state
Support going back in history after updating period
2020-11-20 10:07:44 +02:00
Uku Taht
6d35a4ffbf Update copy on general 2020-11-19 15:58:43 +02:00
Uku Taht
520ff286cd Add documentation links 2020-11-19 15:56:03 +02:00
Uku Taht
6911a983b7 Update styling of forms 2020-11-19 14:57:55 +02:00
Uku Taht
eca27283c1 Update TailwindCSS to 2.0 2020-11-19 14:34:37 +02:00
Uku Taht
ebf40b475b Update JS deps 2020-11-19 14:34:37 +02:00
Uku Taht
b0bd564b56 Create unified template for settings 2020-11-19 14:34:37 +02:00
Uku Taht
d046773328 WIP 2020-11-19 14:34:37 +02:00
Johan Fagerberg
6f5004ed25
Merge branch 'master' into fix/history-state 2020-11-19 13:28:35 +01:00
Uku Taht
0e667baaa9
Merge pull request #426 from gzuidhof/patch-1
Add Cross-Origin-Resource-Policy header to script
2020-11-19 10:56:01 +02:00
Uku Taht
3c766780b6
Merge pull request #427 from plausible/invalid-domain
Validate domain format on site creation
2020-11-19 10:54:00 +02:00
Uku Taht
1548b41ac3 Add changelog entry 2020-11-19 10:53:43 +02:00
Uku Taht
d71e40f16f Validate domain format on site creation 2020-11-19 10:52:08 +02:00
Uku Taht
b724def948 Only register outbound link click if it has a host property
Fixes #398
2020-11-18 15:46:20 +02:00
Uku Taht
392b0b33ee Make outbound link tracking dynamic 2020-11-18 15:43:45 +02:00
Uku Taht
19a9e314fc Accept anything in prop value as long as it can to_string 2020-11-18 14:53:43 +02:00
Uku Taht
0a530a0f66 Do not use pushState and popState in hash mode 2020-11-18 10:50:59 +02:00
Guido Zuidhof
2b1dcd99d3
Add Cross-Origin-Resource-Policy header to script
Hey Plausible devs,

I am trying to embed the `plausible.js` onto a page that has the [`require-corp`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy) header set, which means that for every resource that is loaded they must be clearly marked as cross-origin OK.

The tracker script response currently doesn't have that header set, so I can't load it right now. This would solve that.
2020-11-18 07:30:43 +01:00
Uku Taht
6cd963ab35
Merge pull request #417 from plausible/ignore-hash-clicks
Ignore hash clicks
2020-11-17 15:09:02 +02:00
Uku Taht
12e4be5d6a Add changelog entry 2020-11-17 15:08:12 +02:00
Uku Taht
1b21a26e78 Ignore hash clicks 2020-11-17 15:06:53 +02:00
Uku Taht
3e483b6110
Url decode (#416)
* Fix URL decoding

* Decode URLs properly
2020-11-17 14:54:48 +02:00
Uku Taht
a38f5a548d Add CHANGELOG entry 2020-11-17 14:54:17 +02:00
Uku Taht
1d4bddd79d Decode URLs properly 2020-11-17 14:52:37 +02:00
Uku Taht
b0b5d92f6e Fix URL decoding 2020-11-17 14:40:22 +02:00
birjolaxew
b9ac695d97 Fix usages of Link that failed to specify pathname
This would break things like opening the link in a new tab, or previewing the href in the browser
2020-11-13 01:53:03 +01:00
birjolaxew
f95f310eb7 Fix QueryLink not linking to the correct URL format
This caused the href view in browsers to show the incorrect URL, and also broke stuff like opening the link in a new tab
2020-11-13 01:49:27 +01:00
birjolaxew
7f1f3a00ec Remove queryWithPeriod from DatePicker
It has been made redundant after the implementation of QueryLink
2020-11-13 01:44:38 +01:00
birjolaxew
9719c83364 Prioritize order of props when using QueryLink for readability 2020-11-13 01:37:59 +01:00
birjolaxew
2f6d58a8e5 Rename QueryLink's 'data' prop to 'to'
This fits the existing naming convention from Link better
2020-11-13 01:35:09 +01:00
birjolaxew
b4f530f492 Connect QueryLink to React Router using withRouter
This means history no longer has to be passed as property
2020-11-13 01:33:01 +01:00
birjolaxew
ccc89ab4b1 Implement QueryLink to make it easier to transition from Link 2020-11-13 01:26:53 +01:00
birjolaxew
a05f3eb6d6 Remove stray semicolons to conform with existing code style 2020-11-11 11:58:05 +01:00
birjolaxew
1abcad3a0b Update changelog to reflect history changes 2020-11-11 11:56:30 +01:00
birjolaxew
21b88b996d Update Countries to use new navigation function 2020-11-11 11:38:49 +01:00
birjolaxew
53ac7d3bc7 Update Filters to use new navigation function 2020-11-11 11:38:36 +01:00
birjolaxew
3524a89fb3 Update VisitorGraph to use new navigation function 2020-11-11 11:31:42 +01:00
birjolaxew
8e9349e1d8 Update DatePicker to use new navigation function 2020-11-11 11:30:29 +01:00
birjolaxew
0a565025d2 Implement function for updating current page query
This centralizes updating the search parameters
It's needed in order to implement proper history handling
Previously navigating to a new period filter would not revert if going back in history
The new function will update history entry to include the period if a new period is navigated to
This way going back in history will correctly revert the period filter
2020-11-11 11:23:42 +01:00
Gustavo Maronato
568f8fa8ab
Display domain's favicon on the home page (#407)
* Add domain icons to domain list

* update changelog
2020-11-11 11:35:42 +02:00
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
2020-11-10 15:18:59 +02:00
Johan Fagerberg
f7885a93d7
Change Docker volume used by Clickhouse to a local directory (#404)
Previously it would pollute the users home directory
2020-11-10 13:49:50 +02:00
Johan Fagerberg
3ff2c79b33
Update contribution guidelines (#403)
* Update contribution guidelines to include dependency installation

Now mentions the required system dependencies, and the step for installing Elixir deps
Erlang is used by the :gettext dependency, and ecto.create will fail if it is not present

* Make Clickhouse and PostgreSQL containers run in detached mode

This ensures that they run in the background so that they are present during the follow steps
2020-11-10 10:58:49 +02:00
Gustavo Maronato
77ec529f19
Fix #401 (#402) 2020-11-10 10:11:01 +02:00
Uku Taht
039480a0d1 Fix bug when filtering for goal and session prop 2020-11-06 13:59:45 +02:00