73 Commits

Author SHA1 Message Date
1dfed10c77 Remove the clickhouse port that we weren't previously using and was added just to break everything 2026-01-25 14:15:02 +01:00
6ce1758672 Memoize database functions to reduce disk reads 2026-01-25 14:02:45 +01:00
386cf59523 Refactor all run args to env variables 2026-01-25 12:50:35 +01:00
e3af9cd15b Implement an endpoint for fetching complete entire killmails 2026-01-25 02:53:25 +01:00
d5048bae89 Add a simple killmail fetch api 2026-01-25 02:41:01 +01:00
5a9ab78070 Use ids instead of names in the wheres 2026-01-25 02:23:14 +01:00
0a7d911da9 Remove legacy code 2026-01-24 23:51:51 +01:00
058db2a6e2 Fix some fucking stupid type issues 2026-01-24 23:25:45 +01:00
6eb0cad899 Remove legacy code 2026-01-24 23:18:26 +01:00
ae02ded7e6 Remove limits that nobody ever asked for 2026-01-24 23:17:12 +01:00
1b3e3471b0 Hallucinate a read API 2026-01-24 22:52:24 +01:00
1c94f5f1b8 Wire up the flat killmails to clickhouse 2026-01-24 22:15:43 +01:00
6e2d38a660 Refactor db functions to db 2026-01-24 21:54:48 +01:00
e449cd31ac Some kinda bullshit idk 2026-01-24 21:12:59 +01:00
73408a2e5f Hallucinate every fucking thing 2026-01-06 20:08:44 +01:00
0e98f7d796 Add the long forgotten batch images 2026-01-06 18:57:44 +01:00
30151a06c7 Rework the query again 2026-01-06 18:38:48 +01:00
65a3cb587b Rehallucinate the API 2026-01-06 18:11:14 +01:00
15dc7983fd Use templates for all our querying needs 2026-01-06 18:11:14 +01:00
b5f1d4cf3a Rework the statistics to be calculated on the database 2026-01-06 17:25:28 +01:00
ba5dc88d8f Rename the retarded tables 2026-01-06 16:54:14 +01:00
810eaad04a Rework the main query 2026-01-06 16:17:14 +01:00
3e72a63ae5 Sync the clickhouse table with the fitted module struct 2026-01-06 16:10:55 +01:00
2ebdd17f09 Remove some old code 2026-01-06 16:10:24 +01:00
f875df5718 Rename ExpandGroups 2026-01-06 16:05:44 +01:00
83a83f862d Move saving killmails into clickhouse.go 2026-01-06 15:16:37 +01:00
ed176ba8f5 Nuke more shit 2026-01-06 14:49:37 +01:00
96440e242b Do some more cleanup 2026-01-06 13:57:09 +01:00
ec157cbea0 Clean up types 2026-01-06 13:47:06 +01:00
3715f8bb7b Code polish 2026-01-06 13:41:22 +01:00
a78ee0c818 Rework the retardmaxxed db initialization 2026-01-06 13:40:36 +01:00
14dfc480aa Redo the cache 2026-01-06 13:40:36 +01:00
a265d70e6f Deretard the cache 2026-01-06 13:24:33 +01:00
01eb2d53e6 Implement GetSolarSystems 2026-01-06 13:08:01 +01:00
0f9caed23e Implement/rework GetItemTypes
From 1324781324 different methods
2026-01-06 13:01:35 +01:00
7d91d1a2a5 Support drone module slot 2026-01-06 12:53:35 +01:00
dc18392350 Rework GetModuleSlots 2026-01-06 12:41:57 +01:00
04276c8c35 Nuke everything and start reworking with ExpandGroup 2026-01-06 12:03:25 +01:00
5fbb518bde Return some killmails with statistics 2026-01-06 11:43:16 +01:00
6a6f578bd5 Include all modules in the result...... 2026-01-06 11:06:15 +01:00
3bb919f8d1 Add db tests 2026-01-06 10:57:31 +01:00
8f3f263c48 Increase maxquerysize 2026-01-06 01:23:34 +01:00
7f2ce61299 Fix again the query 2026-01-06 00:53:37 +01:00
41a96258a4 Refactor QueryFits to handle module and group typeID expansion based on presence of modules; update calculateModuleStats to use filtered killmailIDs for improved accuracy. Adjust Dockerfile for better build efficiency. 2026-01-06 00:28:34 +01:00
3bb98ece9c Remove legacy code 2026-01-05 23:53:16 +01:00
0925be9629 Cache images properly 2026-01-05 23:52:28 +01:00
ae67648ee4 Migrate db logic to db where it belongs 2026-01-05 22:49:51 +01:00
70d35a4404 Implement a simple request cache 2026-01-05 22:41:25 +01:00
b74745f043 Add an API layer for the frontend 2026-01-05 22:06:09 +01:00
8c51f0c721 Implement ship breakdown too 2026-01-05 21:55:48 +01:00