Commit graph

629 commits

Author SHA1 Message Date
Adam
786b6d52a9 bump Gradle to 7.5 2022-07-16 23:31:28 +02:00
Adam
10c54998c7 version bump to 0.8.0 2022-07-16 23:23:55 +02:00
Adam
731c037f0e fix tests 2022-07-16 23:20:14 +02:00
Adam
5d99b86dca rm unused code 2022-07-16 23:17:02 +02:00
Adam
b507081eac Render buildings and resources
- create LuaJsonList to handle empty Lua JSON lists being sent as empty objects
- fix exporting of resources and entities
- split up map tiles into different layer directories
- add 'chunk size' to MapChunkPosition
- move tests to correct packages
- bump tstl
- decrease tstl logging
- remove some defined, but unused, kafka topics
- syslog, rest, websocket servers & web-map: decrease logging
- webmap: add additional layers for buildings and resources
2022-07-16 23:11:40 +02:00
Adam
a805d2ad63 bump kotlin 1.7.10 2022-07-12 22:40:03 +02:00
Adam
e4a7401baa buildSrc rm unused dependencies 2022-07-12 22:39:33 +02:00
Adam
567ec6a68c server: fix saving tiles >= chunk size 256 2022-07-09 14:06:15 +02:00
Adam
90aa086dd4 mod: entity prototype improvements and refactoring
- refactor and move queue & emitter classes for consistency
- don't emit all prototypes at once
- add simple queue for 'instant' packets so the printer doesn't get overwhelmed and mix up the output
2022-07-09 14:03:57 +02:00
Adam
ae0eb98f12 version bump 2022-07-08 21:48:19 +02:00
Adam
0e6a9880ff add k svg (maybe do resources in SVGs?) 2022-07-08 21:06:50 +02:00
Adam
80eb001bbf emit entity prototypes
- mod: refactor event handlers to separate files
- lib: update models for prototypes
2022-07-08 21:06:09 +02:00
Adam
4510ec4a6e only save png tiles 256px and up 2022-07-07 22:28:47 +02:00
Adam
1b3e3dc539 events-server: fix socker server port 2022-07-06 21:02:43 +02:00
Adam
dab07fbaae fix docker volume name 2022-07-06 19:42:58 +02:00
Adam
fe5413195a set up docker config for pc & nuc 2022-07-06 17:45:45 +02:00
Adam
665327e010 bump project to 0.7.0 (and fix docker .env task for all docker .envs) 2022-07-06 17:43:50 +02:00
Adam
5fcb831df2 use version platform more, try fixing projects must be configuring bug 2022-07-06 17:16:09 +02:00
Adam
c29b66aada bump tstl 2022-07-06 17:15:42 +02:00
Adam
2454a3faaf fix test 2022-07-06 17:09:51 +02:00
Adam
3affed66d6 try fixing annoying package.json differences 2022-07-06 17:08:00 +02:00
Adam
c4f74fd3ca try fixing annoying package.json differences 2022-07-06 16:51:00 +02:00
Adam
9dbd6f68f3 experiment with adding jwt to docker syslogger 2022-07-06 16:23:08 +02:00
Adam
8f4823ae97 add MapChunkEntityUpdate to webmap 2022-07-06 16:22:50 +02:00
Adam
f0c384b5c5 rm commented out code 2022-07-06 16:21:50 +02:00
Adam
1b3966cc4f filter kotka-streams repo 2022-07-06 16:21:25 +02:00
Adam
d9e9e1af7d close socket if null received 2022-07-06 16:21:07 +02:00
Adam
412cf15097 fix tests after The Big Entity Refactor 2022-07-06 16:20:29 +02:00
Adam
5a304245f1 bump kvision, js wrappers. organise dependencies 2022-07-06 16:20:11 +02:00
Adam
b9b6065735 try fixing projects must be configuring bug 2022-07-06 16:18:48 +02:00
Adam
90dc520d22 massive refactor to export entities (buildings and resources)
- minor version bumps
- new Factorio version
- use both prototype name and type to identify a prototype
- kxs-ts-gen: use BrandTyping, but exclude some identifiers
- kxs-ts-gen: manually create zip dist, so it can run after the project compiles
- mod: use typed-factorio strict types
- mod: refactor event handlers to be a little more consistent and object-oriented
2022-07-05 23:44:23 +02:00
Adam
88982d818a make tstl explicitly depend on package.json 2022-07-02 10:24:02 +02:00
Adam
6c6526eda9 regenerate mod lua (I guess it didn't happen before?) 2022-07-02 10:21:38 +02:00
Adam
b14adfb810 delete unused code (bye bye http4k!) 2022-07-02 10:21:13 +02:00
Adam
79447b5936 fix tests after events-lib & events-server refactor 2022-07-02 10:20:32 +02:00
Adam
a381e01886 move lua to src/generated, and tweak IntelliJ 'mark as excluded/src' 2022-07-02 09:50:11 +02:00
Adam
db4350a927 re-enable kafka processor 2022-07-02 08:54:38 +02:00
Adam
8c9d8e40c2 fix websocket connection 2022-07-02 08:54:02 +02:00
Adam
c0c82e7c9c finish migrating to ktor!
- remove http4k
- renamed 'schema' subproject to 'library', because it contains more than just data models
- tiles are now hosted per factorio-server
- changed api base to `kafkatorio/data`
- tidied up some Gradle conf
- remove 'events-processor' subproject - I don't want to set up loads of microservices right now
2022-07-02 08:45:21 +02:00
Adam
8a90c4fb5e - start migrating tile-server to use Ktor
- start splitting up Kafka processor and tile-server to two subprojects
2022-07-01 13:14:32 +02:00
Adam
ae9ecc24f5 bump tstl and typed-factorio 2022-06-28 22:10:39 +02:00
Adam
b0452881bc commit generated lua code (I'm not 100% sure it's generated stably - this way I can see changes) 2022-06-28 21:59:54 +02:00
Adam
ae0d95b4cb remove old http4k application props 2022-06-28 20:44:36 +02:00
Adam Semenenko
5ac50e8412 Merge branch 'main' of github.com:adamko-dev/kafkatorio 2022-06-27 22:04:05 +01:00
Adam Semenenko
866c3e5c8f add restart-unless-stopped to containers 2022-06-27 22:04:01 +01:00
Adam
68adff29a8 try to diagnose weird getProjectTokens() null null null bug 2022-06-27 23:00:11 +02:00
Adam
23a2ecb0d4 set serial name for MinedProduct and MinedProduct.Type 2022-06-27 22:59:52 +02:00
Adam
1d0b2b8eaa refactor typescript files (mostly moving&renaming for consistency) 2022-06-27 22:57:57 +02:00
Adam
5f1187f9a8 rename: socketServerPortTcp -> socketServerPort 2022-06-27 22:09:48 +02:00
Adam
a2e8ab61d7 change default port to 8080 (works better with Traefik defaults) 2022-06-27 22:08:58 +02:00