Commit Graph

131 Commits

Author SHA1 Message Date
Uku Taht
7e229140ed Move config files to config directory 2021-06-16 12:16:11 +03:00
Uku Taht
3fe8bd6681
Pr/1117 formatted (#1129)
* runtime.exs: get var from file

* Format pr/1117

Co-authored-by: happysalada <raphael@megzari.com>
2021-06-16 12:03:01 +03:00
Uku Taht
0054c9fc96 Add api keys to CRM 2021-06-10 10:25:19 +03:00
Uku Taht
d9cc21fc06 Add site limit exempt config 2021-06-04 14:31:48 +03:00
Raphael Megzari
a0a0c3a8db
add tzdata storage dir (#1104) 2021-06-03 10:55:48 +03:00
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>
2021-05-26 15:40:56 +03:00
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.
2021-05-25 11:37:52 +03:00
Uku Taht
6228995d4f Rate limit login attempts to 5 per minute 2021-05-25 11:32:54 +03:00
Uku Taht
22172074d8 Remove json logger 2021-05-24 11:07:19 +03:00
Uku Taht
23196b97ec Increase clickhouse pool checkout target 2021-05-06 18:03:42 +03:00
Uku Taht
503916980e Remove no_limit_ids 2021-05-05 10:57:35 +03:00
Uku Taht
c3b24342c6 Allow exemption list to be provided in config 2021-05-05 10:45:01 +03:00
Uku Taht
119b9514b2 Add limit of 20 sites 2021-05-05 10:30:05 +03:00
Uku Taht
8d1039b8ce
Upgrades Oban to v2.6.1 (#967)
* Upgrades Oban to v2.6.1

* Use correct clickhouse_ecto
2021-04-26 11:32:18 +03:00
Uku Taht
7982c236c1 Better Sentry tracking 2021-04-23 11:56:41 +03:00
Uku Taht
fbe6ab9b61 Remove AppSignal 2021-04-23 11:42:05 +03:00
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
2021-04-21 15:57:38 +03:00
Uku Taht
4fd5cdff58 Add download step to docker build 2021-04-13 12:36:47 +03:00
Uku Taht
8ba21d2470 Use correct pruning syntax 2021-04-13 11:35:32 +03:00
Uku Taht
be26662f36 Crash early if secret_key_base is not configured correctly 2021-04-13 11:19:24 +03:00
Uku Taht
0d71ec3acd Keep longer history of oban jobs 2021-04-12 14:51:22 +03:00
Uku Taht
83a759c60a
Use db-ip lite database for countries (#906)
* Use DBIP database for countries

* Add fake data for geolocation tests
2021-04-12 12:21:07 +03:00
Uku Taht
4cbebe8ac9 Remove old Sentry code 2021-03-31 11:38:14 +03:00
Uku Taht
3b8fad4942 Upgrade sentry to 8.0 2021-03-30 15:51:05 +03:00
Uku Taht
2bab36a438 Add usage checking to cron 2021-02-19 15:15:56 +02:00
Uku Taht
2d8a03e861 Add JSON logger 2021-01-29 10:24:20 +02:00
Uku Taht
99a3582883 Add option to completely disable cron 2021-01-18 11:28:18 +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