mirror of
https://github.com/plausible/analytics.git
synced 2024-09-11 09:56:02 +03:00
Additional pre-commit hooks (#1428)
* add 1st-party langauge agnnostic pre-commit hooks
* white space fixes from pre-commit run -av
* fix CI test/plausible_web/controllers/stats_controller_test.exs#L153
* Revert "fix CI test/plausible_web/controllers/stats_controller_test.exs#L153"
This reverts commit 85c9450efe
.
* git checkout 94f476eb~1 -- priv/ref_inspector priv/ua_inspector
This commit is contained in:
parent
578b8fa060
commit
e7593ce94f
@ -12,4 +12,3 @@ elif [ "$1" = 'db' ]; then
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
||||
|
@ -7,6 +7,7 @@ repos:
|
||||
- id: prettier
|
||||
files: "assets/js|assets/css"
|
||||
args: [--config, assets/.prettierrc.json]
|
||||
|
||||
- repo: https://github.com/awebdeveloper/pre-commit-stylelint
|
||||
rev: 'f792d6b'
|
||||
hooks:
|
||||
@ -14,6 +15,7 @@ repos:
|
||||
additional_dependencies:
|
||||
- stylelint@13.2.1
|
||||
- stylelint-config-standard@20.0.0
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||
rev: 'v7.15.0'
|
||||
hooks:
|
||||
@ -30,3 +32,15 @@ repos:
|
||||
rev: v1.0.0
|
||||
hooks:
|
||||
- id: mix-format
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.0.1
|
||||
hooks:
|
||||
- id: check-case-conflict
|
||||
- id: check-symlinks
|
||||
- id: check-yaml
|
||||
- id: destroyed-symlinks
|
||||
- id: end-of-file-fixer
|
||||
exclude: priv/tracker/js
|
||||
- id: mixed-line-ending
|
||||
- id: trailing-whitespace
|
||||
|
10
README.md
10
README.md
@ -8,7 +8,7 @@ We are dedicated to making web analytics more privacy-friendly. Our mission is t
|
||||
|
||||
### Why Plausible?
|
||||
|
||||
Here's what makes Plausible a great Google Analytics alternative and why we're trusted by 4,000+ paying subscribers to deliver their website and business insights:
|
||||
Here's what makes Plausible a great Google Analytics alternative and why we're trusted by 4,000+ paying subscribers to deliver their website and business insights:
|
||||
|
||||
- **Clutter Free**: Plausible Analytics provides [simple web analytics](https://plausible.io/simple-web-analytics) and it cuts through the noise. No layers of menus, no need for custom reports. Get all the important insights on one single page. No training necessary.
|
||||
- **GDPR/CCPA/PECR compliant**: Measure traffic, not individuals. No personal data or IP addresses are ever stored in our database. We don't use cookies or any other persistent idenfitiers. [Read more about our data policy](https://plausible.io/data-policy)
|
||||
@ -35,9 +35,9 @@ We choose the subscription business model rather than the business model of surv
|
||||
|
||||
Yes, Plausible is fully [open source web analytics](https://plausible.io/open-source-website-analytics).
|
||||
|
||||
We have a free as in beer [Plausible Analytics Self-Hosted](https://plausible.io/self-hosted-web-analytics) solution. It’s exactly the same product as our Cloud solution with a less frequent release schedule (think of it as a long term support release).
|
||||
We have a free as in beer [Plausible Analytics Self-Hosted](https://plausible.io/self-hosted-web-analytics) solution. It’s exactly the same product as our Cloud solution with a less frequent release schedule (think of it as a long term support release).
|
||||
|
||||
Bug fixes and new features are released to the cloud version several times per week. Features are battle-tested in the cloud which allows us to fix any bugs before the general self-hosted release. Every six months we combine all the changes into a new self-hosted release.
|
||||
Bug fixes and new features are released to the cloud version several times per week. Features are battle-tested in the cloud which allows us to fix any bugs before the general self-hosted release. Every six months we combine all the changes into a new self-hosted release.
|
||||
|
||||
The main difference between the two is that the self-hosted version you have to install, host and manage yourself on your own infrastructure while the Cloud version we manage everything for your ease and convenience. Here's the overview of all the differences:
|
||||
|
||||
@ -51,10 +51,10 @@ The main difference between the two is that the self-hosted version you have to
|
||||
|
||||
Interested in self-hosting Plausible on your server? Take a look at our [self-hosting installation instructions](https://plausible.io/docs/self-hosting).
|
||||
|
||||
Plausible Self-Hosted is a community supported project and there are no guarantees that you will get support from the creators of Plausible to troubleshoot your self-hosting issues. There is a [community supported forum](https://github.com/plausible/analytics/discussions/categories/self-hosted-support) where you can ask for help.
|
||||
Plausible Self-Hosted is a community supported project and there are no guarantees that you will get support from the creators of Plausible to troubleshoot your self-hosting issues. There is a [community supported forum](https://github.com/plausible/analytics/discussions/categories/self-hosted-support) where you can ask for help.
|
||||
|
||||
If you choose to self-host Plausible you can [become a sponsor](https://github.com/sponsors/plausible) which is a great way to give back to the community and to contribute to the long-term sustainability of the project. Simply put, we treat sponsors like paying customers which means you can receive guaranteed priority support.
|
||||
|
||||
|
||||
### Technology
|
||||
|
||||
Plausible Analytics is a standard Elixir/Phoenix application backed by a PostgreSQL database for general data and a Clickhouse
|
||||
|
@ -322,4 +322,3 @@ iframe[hidden] {
|
||||
left: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,4 +9,3 @@ export default function FadeIn({className, show, children}) {
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -115,4 +115,3 @@ export default class Browsers extends React.Component {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -109,4 +109,3 @@ export default class OperatingSystems extends React.Component {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -13,12 +13,12 @@ export default function MoreLink({site, list, endpoint}) {
|
||||
<svg
|
||||
className="feather mr-1"
|
||||
style={{marginTop: '-2px'}}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
>
|
||||
{/* eslint-disable-next-line max-len */}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user