Commit Graph

52 Commits (dc8d20496cf66de2abcdfa50877aaa5b6d68fc86)

Author SHA1 Message Date
Uku Taht 1dba113e2f
[Draft] Improve location translations (#1526)
* WIP

* Use location library for search suggestions

* Remove unused code

* Remove Countries completely

* Fix tests
5 years ago
RobertJoonas 9022234aa6
added invoices section (#1511)
* added invoices section

* fixed formatting

* UI and code style improvements, paddle sandbox setup only on dev environment (fixed)
5 years ago
Uku Taht 4d0bc61ffd Remove Twitter stuff 5 years ago
Uku Taht 05bf43c1be
City level location data (#1449)
* Merge branch 'plausible_master'

* Add City level details

* Add City level details

* Use ISO codes instead of geoname_id for subdivisions

* Add easier way to configure geolocation database

* Add workflow for dev branch

* Correct clickhouse migration

* Translate subdivision names

* Translate city names

* WIP

* Region and country filters

* Fix region filter

* Remove region_name when removing region filter

* Add modals for regions and cities

* Remove dead code

* WIP

* Revert "WIP"

This reverts commit 3202bf2fe9.

* Feature flag to hide cities when deployed

* Add changelog entry

* Remove unused code

* Remove unused variables

* Fix test

Co-authored-by: AymanTerra <aymanterra@yahoo.com>
5 years ago
Uku Taht 76f6a00bec Add honeycomb 5 years ago
Lorenz Brun a4389c99c7
Don't enforce longer SECRET_KEY_BASE than Phoenix (#1441)
Phoenix only requires SECRET_KEY_BASE to be longer than 32 characters. 32 characters even with hex encoding is 128 bits of entropy which is more than enough. Some secret generation tools only generate 32 characters/128 bits by default which makes this relatively arbitrary limit annoying. Let's change it to what Phoenix requires.
5 years ago
Uku Taht 6a5b383e2b Add enterprise plans 5 years ago
Uku Taht 950bd012d5 Simplify geolix database config 5 years ago
Uku Taht 2ca3baeafd Disable email verification by default 5 years ago
Uku Taht 85fcdbdbd6 Respect the `path` component of BASE_URL 5 years ago
Uku Taht 8c6f4b7d85 Revert "Configure database SSL"
This reverts commit 46ca66805a.
5 years ago
Uku Taht 46ca66805a Configure database SSL 5 years ago
Uku Taht d8144436e1 Use unlimited maximum connections 5 years ago
Uku Taht 015dcfa051 HOTFIX: add domain blacklist 5 years ago
Uku Taht c68b88c24b
Upgrade otp (#1313)
* update tool versions to latest

* Upgrades erlang and elixir, format project

Co-authored-by: happysalada <raphael@megzari.com>
5 years ago
Uku Taht 369f63bc58 Adds an option to rename the script file 5 years ago
Uku Taht c68d90c8b0 Make default site limit 50 5 years ago
Uku Taht 6eb982f7fd Fix issue with config loading 5 years ago
Uku Taht 0ef0fd2048 Fix config option in test 6 years ago
Uku Taht 18ddf9dd9d Admin access 6 years ago
Uku Taht e71de6dc1f
Invitations (#1122)
* Invite existing user to a site

* Add invitation flow for non-existing users

* Accept and reject invitations

* Use invitation flow for existing users

* Locking mechanism for sites

* Authorization for site settings

* Show usage based on site ownership

* Add ability to remove members from a site

* Do not show settings link to viewer roles

* Ability to remove invitations

* Remove `Plausible.Sites.count_for/1`

* Fix tests

* Do not show the trial banner after the trial

* Correct trial emails

* Transfer ownership

* Send invitation email to existing user

* Add invitation email flows

* Add plug for role-based authorization

* Rename AuthorizeStatsPlug -> AuthorizeSiteAccess

* Add email flow for ownership transfer

* Fix URLs in emails

* Fix small copy issues

* Make 'People' its own section in site settings

* Notify user via email if their access has been removed

* Check site lock status when invitation is accepted

* Check lock status when user subscribes

* Make sure only admins and owners can create shared links

* Changelog

* Add LockSites to daily cron

* Clean invitations after 48 hours

* Add notices about expiry

* Add invitation expired page

* Add doc link
6 years ago
Uku Taht 7e229140ed Move config files to config directory 6 years ago
Uku Taht 3fe8bd6681
Pr/1117 formatted (#1129)
* runtime.exs: get var from file

* Format pr/1117

Co-authored-by: happysalada <raphael@megzari.com>
6 years ago
Uku Taht 0054c9fc96 Add api keys to CRM 6 years ago
Uku Taht d9cc21fc06 Add site limit exempt config 6 years ago
Raphael Megzari a0a0c3a8db
add tzdata storage dir (#1104) 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
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 22172074d8 Remove json logger 6 years ago
Uku Taht 23196b97ec Increase clickhouse pool checkout target 6 years ago
Uku Taht 503916980e Remove no_limit_ids 6 years ago
Uku Taht c3b24342c6 Allow exemption list to be provided in config 6 years ago
Uku Taht 119b9514b2 Add limit of 20 sites 6 years ago
Uku Taht 8d1039b8ce
Upgrades Oban to v2.6.1 (#967)
* Upgrades Oban to v2.6.1

* Use correct clickhouse_ecto
6 years ago
Uku Taht 7982c236c1 Better Sentry tracking 6 years ago
Uku Taht fbe6ab9b61 Remove AppSignal 6 years ago
Uku Taht 6ca7425dc9
Send renewal notification for annual subscriptions (#949)
* Add background job to send renewal notification

* Use copy from Marko

* Add expiration email in case the user has cancelled

* Add queue config

* Use correct tag for expiration email
6 years ago
Uku Taht 4fd5cdff58 Add download step to docker build 6 years ago
Uku Taht 8ba21d2470 Use correct pruning syntax 6 years ago
Uku Taht be26662f36 Crash early if secret_key_base is not configured correctly 6 years ago
Uku Taht 0d71ec3acd Keep longer history of oban jobs 6 years ago
Uku Taht 83a759c60a
Use db-ip lite database for countries (#906)
* Use DBIP database for countries

* Add fake data for geolocation tests
6 years ago
Uku Taht 4cbebe8ac9 Remove old Sentry code 6 years ago
Uku Taht 3b8fad4942 Upgrade sentry to 8.0 6 years ago
Uku Taht 2bab36a438 Add usage checking to cron 6 years ago
Uku Taht 2d8a03e861 Add JSON logger 6 years ago
Uku Taht 99a3582883 Add option to completely disable cron 6 years ago
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
6 years ago
Uku Taht 563c8d99f4 Fix new configuration 6 years ago