Adam
873983f9a3
big ol' refactor to split up the events-server and events-processors
2022-09-13 17:56:57 +02:00
Adam
c8815726b1
start splitting up events-server
2022-09-11 00:48:16 +02:00
Adam
02edffa2e9
version bump to 0.9.0 (just prepping for the next release)
2022-09-01 23:17:56 +02:00
Adam
4bc46f9753
progress towards multi-server handling
...
- bump some versions
- validate Factorio server ID & token
-
2022-08-28 19:37:49 +02:00
Adam
c9ae17d418
bump versions (kafka, ktor, hoplite, simple-syslog, factorio, tstl, typed-factorio, kotka, gradle-node) and update code to compile
2022-08-13 12:05:17 +02:00
Adam
6fa826baa2
return 304 if a tile doesn't exist (nicer than having the browser spammed with errors)
2022-07-17 23:55:58 +02:00
Adam
085776d42b
packet size improvements
...
- change structure resource packets
- make more booleans default to false
- use encode_string - massive decrease in packet size!!
2022-07-17 23:54:53 +02:00
Adam
10c54998c7
version bump to 0.8.0
2022-07-16 23:23:55 +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
567ec6a68c
server: fix saving tiles >= chunk size 256
2022-07-09 14:06:15 +02:00
Adam
ae0eb98f12
version bump
2022-07-08 21:48:19 +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
d9e9e1af7d
close socket if null received
2022-07-06 16:21:07 +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
b14adfb810
delete unused code (bye bye http4k!)
2022-07-02 10:21:13 +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
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
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
Adam
fc758030fd
event-server tidy up (improve value class, rm unused class, rename websocket broadcaster)
2022-06-27 22:08:39 +02:00
Adam
e9a4ee4c48
set up syslog docker parser (remove need for Kafka Pipe script)
2022-06-27 22:07:42 +02:00
Adam
e078e6316d
manually bump Kafkatorio versions for events-server and web-map (I still need to automate that...)
2022-06-26 23:50:30 +02:00
Adam
6ac89b3db0
events server: change default docker port to 8080 (maybe better Traefik config?)
2022-06-26 15:33:03 +02:00
Adam
acbc15b6d4
map chunk grouping: reduce the amount of tiles generated (thanks to pixelated css), and reduce debounce duration
2022-06-26 15:31:54 +02:00
Adam
275fb27a29
Kafka Stream instance -> stop coroutine only when NOT_RUNNING
2022-06-26 14:59:09 +02:00
Adam
dacb6f62c4
tidy up Gradle config, standardise a group for Factorio Mod tasks
2022-06-26 14:56:53 +02:00
Adam Semenenko
cf5804b42d
get traefik working
2022-06-25 13:42:50 +01:00
Adam
7b78f117fd
bump Kafkatorio version in .env files (still need to make this automatic...)
2022-06-24 14:54:20 +02:00
Adam Semenenko
82c8b9f25b
add traefik nw to docker files
2022-06-23 23:00:42 +01:00
Adam
b56c0df824
start getting docker images working...
2022-06-21 00:00:26 +02:00
Adam
0398e2026d
project version bump to 0.6.0, and bump kotest, tstl, typescript
2022-06-19 10:54:37 +02:00
Adam
2f921179c4
events server config file
2022-06-19 10:35:47 +02:00
Adam
0c6f2a4bfe
refactor websocket/tile server
2022-06-19 10:24:06 +02:00
Adam
33d31bfbdd
version bumps. Kotlin 1.7 and yarn.lock and others
2022-06-19 10:20:48 +02:00
Adam
8c37a0cef9
trigger tile png reload in browser by sending 'saved tile' events over websocket
...
- create new EventServerPacket for websocket packet data
- move common models to events-schema
2022-05-25 12:50:34 +02:00
Adam
610d559f79
tile server: reduce logging, try no-cache for everything
2022-05-18 19:38:04 +02:00
Adam
b6b874d8f7
add Gradle task to upload the mod to the portal, and some gradle fixes
2022-05-18 19:33:27 +02:00
Adam
0f08eee56f
update SaveMapChunksTest after tiles refactor
2022-05-15 13:10:14 +02:00