Commit graph

193 commits

Author SHA1 Message Date
Viktor Barzin
a526f81517
add api endpoint for getting all available districts 2025-06-23 21:09:03 +00:00
Viktor Barzin
e05b4788e0
show spinner while running backgroun task 2025-06-23 19:45:53 +00:00
Viktor Barzin
5a9a837b27
handle serialization of result more generically - if we cannot json dumps, then return string representation 2025-06-23 19:45:31 +00:00
Viktor Barzin
a0d099e62b
expiry tasks after 10 minutes; also handle expired tasks 2025-06-23 19:43:54 +00:00
Viktor Barzin
7cea586f41
update start sh to work with environemtns and update dockerfile to use it to start all needed services 2025-06-23 19:13:19 +00:00
Viktor Barzin
5610f1d868
remove deleted import for worker 2025-06-22 22:39:51 +00:00
Viktor Barzin
68d88de464
disable kubectl port forwarding and instead rely on a docker contaier for redis 2025-06-22 21:33:02 +00:00
Viktor Barzin
9a164ddfdc
migrate frontend to use new celery api and improve ux around spinners whilst loading 2025-06-22 21:32:46 +00:00
Viktor Barzin
1ad8a12f3d
add start.sh for backend as we need to start multiple services now 2025-06-22 21:19:19 +00:00
Viktor Barzin
93129333e6
migrate background tasks to celery 2025-06-22 21:18:52 +00:00
Viktor Barzin
efe3248c07
migrate to using db connection string from env 2025-06-22 21:16:55 +00:00
Viktor Barzin
84a55eefde
add default dir path for image dumps 2025-06-22 21:15:50 +00:00
Viktor Barzin
3d024277fb
add uvicorn logger when dumping listings 2025-06-22 21:15:35 +00:00
Viktor Barzin
24b41ae2ed
add celery env variables to sample env 2025-06-22 21:15:15 +00:00
Viktor Barzin
069969c14a
bugfix - remove trailing slash in authentik config which was causing an additional request that was always redirected 2025-06-22 14:25:43 +00:00
Viktor Barzin
744fa7b8a7
use the uvicorn logger; also update dockerfile to run migrations as parto f startup instead of when starting uvicorn 2025-06-22 14:00:47 +00:00
Viktor Barzin
684af9a040
add helpful adb commands to the readme 2025-06-22 13:06:37 +00:00
Viktor Barzin
bf79d3c977
convert district at the last moment - when we send the query 2025-06-22 13:05:53 +00:00
Viktor Barzin
bcece4500a
set debug level to debug 2025-06-22 13:05:24 +00:00
Viktor Barzin
9eae30b0d6
bugfix - pages start from 1 2025-06-22 13:04:10 +00:00
Viktor Barzin
03d24aff99
refactor dump listings to extract all pages with data 2025-06-22 12:43:24 +00:00
Viktor Barzin
fbd39bb67f
replace available from component with a nicer search which takes human input 2025-06-21 23:46:19 +00:00
Viktor Barzin
ce199152e2
add available from filter 2025-06-21 23:22:11 +00:00
Viktor Barzin
8c65aa0916
add logger for more strucutred logging in python 2025-06-21 22:38:30 +00:00
Viktor Barzin
a73eea4d9e
run alembic migrations on startup 2025-06-21 21:52:51 +00:00
Viktor Barzin
519e5f384a
upgrade some poetry files 2025-06-21 20:10:30 +00:00
Viktor Barzin
170ab33eee
add ts ignore for errors 2025-06-21 18:51:06 +00:00
Viktor Barzin
8d32c2cbd7
add filter for last seen days 2025-06-21 17:39:10 +00:00
Viktor Barzin
b1cbe8505a
handle errors better in the ui with an alert component 2025-06-21 17:26:45 +00:00
Viktor Barzin
5bd4562205
setup boilerplate for creating background workers and add 1 for dumping listings 2025-06-21 17:25:56 +00:00
Viktor Barzin
4e4a5ece15
start coroutine from the thread instead of the wrapper normal func 2025-06-21 13:48:28 +00:00
Viktor Barzin
a7e0773c0a
add worker api to refresh data in the background 2025-06-21 12:49:04 +00:00
Viktor Barzin
fc722b6b5f
do 1 attempt to detect sqm from floorplan. if that fails then set to 0 instead of returning none 2025-06-21 12:06:57 +00:00
Viktor Barzin
4e13dbdb7f
retry transient errors from rightmove when fetching images 2025-06-21 12:06:19 +00:00
Viktor Barzin
ec2e0dded8
add method to dump all data for listings e2e 2025-06-21 12:04:31 +00:00
Viktor Barzin
3e1be6750c
add filter for sqm 2025-06-18 21:06:02 +00:00
Viktor Barzin
70460bee5d
add filter for min and max price 2025-06-18 20:57:20 +00:00
Viktor Barzin
dadb56aa16
add filter for min and max number of bedrooms 2025-06-18 20:54:47 +00:00
Viktor Barzin
69d15e9a16
add support for querying buying listings as well as by max price 2025-06-18 20:38:50 +00:00
Viktor Barzin
ba4a95825b
reset the map when new parameters are chosen 2025-06-18 19:12:00 +00:00
Viktor Barzin
7c70da4bed hook up query parameters form with rest query 2025-06-18 18:56:11 +00:00
Kadir
3574df8ae0 removing decisions from the repo 2025-06-18 00:59:16 +01:00
Viktor Barzin
1caaa247d8
paameterize form using zod to get a type checked fields 2025-06-17 20:42:41 +00:00
Viktor Barzin
a092b4e9c8
disable login button whilst logging in 2025-06-17 19:15:18 +00:00
Viktor Barzin
b72569b6b9
make the app buildable for prod 2025-06-16 22:43:46 +00:00
Viktor Barzin
1e868f1b0d
do not typescript check map.tsx as that has a lot of the legacy js code that is not typed 2025-06-16 22:42:32 +00:00
Viktor Barzin
10a997a8a1
make oauth redirect url depends on env mode 2025-06-16 22:42:06 +00:00
Viktor Barzin
e598a02670
add crossfilter2 do deps as aparently it is not part of types/crossfilter2 2025-06-16 22:41:11 +00:00
Viktor Barzin
cd2d39c3b0
add dockerignore to ignore frontend as that is built separately 2025-06-16 22:40:36 +00:00
Viktor Barzin
8e41032c6c
setup map component to render correctly and visualize all listings in scrollable components 2025-06-15 21:06:10 +00:00