Commit Graph

68 Commits

Author SHA1 Message Date
963f9ae6cb Add default_search to user_settings
Some checks are pending
Build docker image / Build-Docker-Image (push) Waiting to run
rust-clippy analyze / Run rust-clippy analyzing (push) Waiting to run
Add migration to add a nullable VARCHAR(32) column with a CHECK
constraint restricting values to book, author, series, translator.
Update SQLx query artifacts, handlers, and serializers to read and
write the new field.
2026-02-16 21:09:56 +01:00
54d47b2d63 Add Postgres pool settings and application name
Introduce CONFIG fields for POSTGRES_POOL_MAX_CONNECTIONS,
POSTGRES_POOL_ACQUIRE_TIMEOUT_SEC and APPLICATION_NAME.
Defaults are 10, 300s and 'users_settings_server' respectively.
Include application_name in the DB URL and apply the config
values to the PgPool options; add a log message on creation.
2026-02-07 11:57:21 +01:00
26b23948ec Run SQLx migrations on startup 2026-01-16 10:39:51 +01:00
fc2c8b3452 Add /health endpoint 2026-01-13 18:14:14 +01:00
86e2550413 Filter out NULL languages in allowed_langs aggregation 2026-01-13 18:12:49 +01:00
f56e60c69f Fix
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled
2025-01-04 15:02:40 +01:00
d8f9281602 Update to axum 0.8 2025-01-04 13:26:41 +01:00
f24a1dbec8 Fix
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled
2024-12-26 02:31:07 +01:00
919593ab2d Fix 2024-12-24 23:02:42 +01:00
2a44308602 Fix 2024-12-24 22:38:24 +01:00
ff7a2deaf4 Move to sqlx 2024-12-24 22:22:05 +01:00
8406b37fb6 Set pool_timeout to 300 2024-05-24 13:54:29 +02:00
f540a635c8 Update db connection pool size 2024-05-13 13:39:37 +02:00
5ff90d4814 Fix 2024-05-07 18:42:08 +02:00
251265a88a Fix 2024-05-06 23:34:09 +02:00
87deb1169f Fix use language disable 2024-04-14 23:25:01 +02:00
ba4bb77ad8 Add IsNeedSendQuery struct for deserialization 2024-03-20 15:03:42 +01:00
94b58c9dea Refactor is_need_send function to include a Query parameter for is_private 2024-03-17 00:48:59 +01:00
e9ad8bbe07 Update deps 2023-12-10 22:38:21 +01:00
6d4765dc75 Add pre-commit config 2023-09-24 22:49:42 +02:00
2b26503cf1 Fixes 2023-09-14 21:51:40 +02:00
5898d31809 Fix 2023-08-10 21:19:40 +02:00
5ff38fcaab Fix bug 2023-07-25 00:31:49 +02:00
3f455df6d5 Use one connection 2023-07-24 23:06:36 +02:00
c499a6efa7 Update db pool size 2023-07-24 00:31:16 +02:00
15353e789b Fix 2023-07-23 23:41:26 +02:00
1843da8d3f Fix 2023-07-23 23:31:19 +02:00
bb5699a2bb Fix 2023-07-23 22:54:01 +02:00
91d2fee0a7 Fix 2023-07-23 22:53:29 +02:00
51fe481697 Fix 2023-07-23 22:47:30 +02:00
79ed9deff8 Fix 2023-07-23 22:28:57 +02:00
a691a5a145 Fix 2023-07-23 22:10:01 +02:00
eeb9098b34 Fix 2023-07-23 21:53:03 +02:00
6d6b098b1d Add logging 2023-07-23 21:45:57 +02:00
4ec26ce4c0 Rewrite to rust 2023-07-23 21:36:47 +02:00
47b280c205 Update NOTIFICATION_DELTA_DAYS 2023-05-28 02:52:30 +02:00
09123aa954 Fix 2023-05-24 21:40:18 +02:00
0069498708 Fix routers 2023-05-24 20:59:00 +02:00
358b5eebb3 Enable donation_notifications_router 2023-05-24 20:55:05 +02:00
ac4d0fcb3f Add donation notifications viewset 2023-05-22 00:07:31 +02:00
21b16ffa8c Refactor views 2023-05-21 23:02:59 +02:00
b45b8d9723 Fix 2023-05-14 17:56:35 +02:00
b4954c1f5b Reduce postgres pool size 2023-05-14 17:43:48 +02:00
40c64ccdc2 Add migration 2023-05-14 00:51:53 +02:00
7eb1239b30 Add ChatDonateNotification model 2023-05-14 00:43:31 +02:00
bc991e8148 Update deps and lint 2023-05-09 22:55:31 +02:00
8a230edce2 Fix update user activity 2023-03-31 09:42:33 +02:00
5eb3d47656 Use msgpack for redis cache 2023-02-13 21:43:27 +01:00
67f71e88a1 Update prometheus metrics settings 2023-01-12 12:52:10 +01:00
105a79f541 Add isort force-sort-within-sections 2023-01-09 21:30:04 +01:00