Commit graph

  • c0c82e7c9c finish migrating to ktor! Adam 2022-07-02 08:45:21 +02:00
  • 8a90c4fb5e - start migrating tile-server to use Ktor - start splitting up Kafka processor and tile-server to two subprojects Adam 2022-07-01 13:14:32 +02:00
  • ae9ecc24f5 bump tstl and typed-factorio Adam 2022-06-28 22:10:39 +02:00
  • b0452881bc commit generated lua code (I'm not 100% sure it's generated stably - this way I can see changes) Adam 2022-06-28 21:59:54 +02:00
  • ae0d95b4cb remove old http4k application props Adam 2022-06-28 20:44:36 +02:00
  • 5ac50e8412 Merge branch 'main' of github.com:adamko-dev/kafkatorio Adam Semenenko 2022-06-27 22:04:05 +01:00
  • 866c3e5c8f add restart-unless-stopped to containers Adam Semenenko 2022-06-27 22:04:01 +01:00
  • 68adff29a8 try to diagnose weird getProjectTokens() null null null bug Adam 2022-06-27 23:00:11 +02:00
  • 23a2ecb0d4 set serial name for MinedProduct and MinedProduct.Type Adam 2022-06-27 22:59:52 +02:00
  • 1d0b2b8eaa refactor typescript files (mostly moving&renaming for consistency) Adam 2022-06-27 22:57:57 +02:00
  • 5f1187f9a8 rename: socketServerPortTcp -> socketServerPort Adam 2022-06-27 22:09:48 +02:00
  • a2e8ab61d7 change default port to 8080 (works better with Traefik defaults) Adam 2022-06-27 22:08:58 +02:00
  • fc758030fd event-server tidy up (improve value class, rm unused class, rename websocket broadcaster) Adam 2022-06-27 22:08:39 +02:00
  • e9a4ee4c48 set up syslog docker parser (remove need for Kafka Pipe script) Adam 2022-06-27 22:07:42 +02:00
  • e078e6316d manually bump Kafkatorio versions for events-server and web-map (I still need to automate that...) Adam 2022-06-26 23:50:30 +02:00
  • e7abf4583a rename Factorio mod tasks Adam 2022-06-26 15:45:59 +02:00
  • 6ac89b3db0 events server: change default docker port to 8080 (maybe better Traefik config?) Adam 2022-06-26 15:33:03 +02:00
  • 23dbbfee27 enable local port for Kafka UI Adam 2022-06-26 15:32:08 +02:00
  • acbc15b6d4 map chunk grouping: reduce the amount of tiles generated (thanks to pixelated css), and reduce debounce duration Adam 2022-06-26 15:31:54 +02:00
  • f3f92afd22 try fixing weird gradle getProjectTokens() null null null bug Adam 2022-06-26 15:30:30 +02:00
  • b8c1c57a17 try emitting player disconnects and immediate packet updates immediately (otherwise the server doesn't see the disconnect message and the last player remains online) Adam 2022-06-26 15:30:03 +02:00
  • 275fb27a29 Kafka Stream instance -> stop coroutine only when NOT_RUNNING Adam 2022-06-26 14:59:09 +02:00
  • f4744c7286 webmap - fix max zoom Adam 2022-06-26 14:58:38 +02:00
  • 4d0ec1a1a7 version bump 0.6.1 Adam 2022-06-26 14:58:19 +02:00
  • 82ad2d2763 remove more unused Kafka Connect stuff Adam 2022-06-26 14:57:43 +02:00
  • c9df87e5e0 fix NPE for config update event Adam 2022-06-26 14:57:14 +02:00
  • dacb6f62c4 tidy up Gradle config, standardise a group for Factorio Mod tasks Adam 2022-06-26 14:56:53 +02:00
  • f2ae951b1d remove kafka-connect subproject (unused) Adam 2022-06-26 12:30:08 +02:00
  • a60815847c Merge remote-tracking branch 'origin/main' Adam 2022-06-25 14:50:58 +02:00
  • cf5804b42d get traefik working Adam Semenenko 2022-06-25 13:42:50 +01:00
  • 9a7ac19cfa update logo Adam 2022-06-24 17:52:24 +02:00
  • dfc8b5c91d rm RUN from entrypoint.sh Adam 2022-06-24 15:10:40 +02:00
  • 8910cc571b kafka cluster entry script, add shebang Adam 2022-06-24 15:08:46 +02:00
  • 4bea4497b4 kafka cluster entry script, use absolute location Adam 2022-06-24 15:06:07 +02:00
  • 8ee0cb396c tidy up kafka cluster entry script Adam 2022-06-24 15:01:24 +02:00
  • 7b78f117fd bump Kafkatorio version in .env files (still need to make this automatic...) Adam 2022-06-24 14:54:20 +02:00
  • b155bb8bc1 format kafka cluster in entrypoint Adam 2022-06-24 14:49:52 +02:00
  • 62f37353ba try fixing kafka kraft dockerfile Adam 2022-06-24 14:15:22 +02:00
  • 4c94a41029 more temp fixes for making files in build script system independent Adam 2022-06-24 00:04:50 +02:00
  • 55e08ade47 Merge remote-tracking branch 'origin/main' Adam 2022-06-24 00:01:53 +02:00
  • 82c8b9f25b add traefik nw to docker files Adam Semenenko 2022-06-23 23:00:42 +01:00
  • 3fa4eba4b3 try making files in build script system independent (temp fix) Adam 2022-06-23 23:59:48 +02:00
  • aeb5d2a69d rm unused docker file Adam 2022-06-23 23:47:10 +02:00
  • b13bd74c11 changeing permissions Adam Semenenko 2022-06-20 23:23:26 +01:00
  • ca53b4dead +x gradlew Adam Semenenko 2022-06-20 23:12:30 +01:00
  • 110bd1c2fc +x gradlew Adam Semenenko 2022-06-20 23:12:05 +01:00
  • b9593e4b4e +x gradlew Adam Semenenko 2022-06-20 23:11:26 +01:00
  • 8a9fea51eb +x gradlew Adam Semenenko 2022-06-20 23:11:09 +01:00
  • b56c0df824 start getting docker images working... Adam 2022-06-21 00:00:26 +02:00
  • e0f689c538 gradle docker config tidy up Adam 2022-06-20 23:59:57 +02:00
  • e56ecb7d36 bump kvision, kt js wrappers Adam 2022-06-20 23:59:22 +02:00
  • 326f081a5e remove node js stuff from gradle (might be causing cache issues?) Adam 2022-06-20 23:57:24 +02:00
  • 4cdbaa9daf factorio mod deploy tweaks (better confirmation and link to the page) Adam 2022-06-20 23:56:58 +02:00
  • d2768c3c9e factorio mod deploy tweaks (better confirmation and link to the page) Adam 2022-06-19 11:29:07 +02:00
  • 0398e2026d project version bump to 0.6.0, and bump kotest, tstl, typescript Adam 2022-06-19 10:54:37 +02:00
  • a225b65901 (minor) make kt function expression Adam 2022-06-19 10:38:50 +02:00
  • c870d1f6e0 provider for package.json (try to fix Gradle warning) Adam 2022-06-19 10:38:26 +02:00
  • 1c310272c6 rm factorio mod portal client (it was moved to buildSrc) Adam 2022-06-19 10:38:05 +02:00
  • 2f921179c4 events server config file Adam 2022-06-19 10:35:47 +02:00
  • b08e33e2eb delete docker kafka logger Adam 2022-06-19 10:33:30 +02:00
  • 87ff50ff32 committing docker-kafka-logger, so I can delete it next (too much work to implement) Adam 2022-06-19 10:33:07 +02:00
  • 487d1a91f5 re-gen kafkatorio-schema.ts (no real change, just alphabetically ordered) Adam 2022-06-19 10:32:07 +02:00
  • 723ff44462 exclude .secret prefixed files from archives Adam 2022-06-19 10:31:38 +02:00
  • 0c6f2a4bfe refactor websocket/tile server Adam 2022-06-19 10:23:11 +02:00
  • 8f24bfb797 make event schema js target browser only, and not executable (faster compilation) Adam 2022-06-19 10:21:59 +02:00
  • ea0a6b939d tidy up factorio mod publish task Adam 2022-06-19 10:21:14 +02:00
  • 33d31bfbdd version bumps. Kotlin 1.7 and yarn.lock and others Adam 2022-06-19 10:20:48 +02:00
  • f151027464 webmap - tidy up player layer - no need for smaller web tiles, make the large ones render as pixelated - make tile server and websocket server URL not-hardcoded - tidy up dynamic tile refreshing Adam 2022-06-19 10:16:37 +02:00
  • e9a6f99fb8 add some logs to try and figure out if player disconnection can be sent before server shutdown Adam 2022-05-30 20:45:11 +02:00
  • 8b109f02ec fix JsonPropertiesUpToDateSpec checker Adam 2022-05-30 20:44:32 +02:00
  • 916ddb6cb2 add lazy gradle task provider Adam 2022-05-30 20:44:01 +02:00
  • e270b05d58 replace runCatching exception swallow Adam 2022-05-30 20:43:19 +02:00
  • 8c37a0cef9 trigger tile png reload in browser by sending 'saved tile' events over websocket Adam 2022-05-25 12:50:34 +02:00
  • b15382660b bump some versions Adam 2022-05-25 12:47:23 +02:00
  • 187fca8b8c webmap: refactor state + update handling code, to separate files Adam 2022-05-24 18:08:32 +02:00
  • aa4de3fb14 webmap: begin refactoring state classes... Adam 2022-05-24 18:07:13 +02:00
  • 9278172412 mod: try immediately outputting player logoff events Adam 2022-05-24 17:40:21 +02:00
  • 3416ae2758 webmap: try improving leaflet map, create separate layer for player icons, tidy up redux state store stuff Adam 2022-05-24 17:39:46 +02:00
  • 540d1c9ed3 fix success response for factorio mod upload Adam 2022-05-21 13:14:59 +02:00
  • c3ac4d0222 add ktor, kotlinx artifacts to libs.versions.toml Adam 2022-05-21 12:45:37 +02:00
  • 227ac27652 make gradle zip directory drop helper function nicer Adam 2022-05-21 12:44:51 +02:00
  • 9f48270a0a tidy up UpdatePackageJson task, tidy up some Gradle config Adam 2022-05-19 23:12:44 +02:00
  • e9f96fb0fc bump version Adam 2022-05-18 20:44:03 +02:00
  • 883ed897f5 mod: try fixing settings not loading Adam 2022-05-18 19:38:32 +02:00
  • 610d559f79 tile server: reduce logging, try no-cache for everything Adam 2022-05-18 19:38:04 +02:00
  • 6d9f303226 mod: move npm root dir so node_modules isn't in the src dir, and fix the hack for the bug https://github.com/GlassBricks/typed-factorio/issues/13 Adam 2022-05-18 19:36:40 +02:00
  • b6b874d8f7 add Gradle task to upload the mod to the portal, and some gradle fixes Adam 2022-05-18 19:32:52 +02:00
  • 0f08eee56f update SaveMapChunksTest after tiles refactor Adam 2022-05-15 13:10:14 +02:00
  • 6edf5415d0 reduce logging in webmap console Adam 2022-05-15 13:10:00 +02:00
  • e2781e7bf2 make some saveTiles code private Adam 2022-05-15 13:09:37 +02:00
  • 6eb99a841c close input stream with .use { } Adam 2022-05-15 13:09:12 +02:00
  • d44d4dbd01 try to fix project tokens null null null null bug Adam 2022-05-15 13:08:36 +02:00
  • ecc0a24b70 disable configure de mand, try to fix 'projects must be configuring' Adam 2022-05-15 13:07:33 +02:00
  • 98c585b201 map tiles notes Adam 2022-05-15 12:24:19 +02:00
  • 645a016434 tidy up grouping, colouring, saving map chunks Adam 2022-05-14 23:54:55 +02:00
  • 11a537091e rm unused model MapTiles Adam 2022-05-14 23:50:25 +02:00
  • 5291ac9484 try to reduce delay when de-queueing events Adam 2022-05-14 23:50:00 +02:00
  • f9b078b5a1 when queuing chunks, print the min/max chunk coords Adam 2022-05-14 23:49:37 +02:00
  • f80722c187 try to 'garbage collect' after refreshing tile img src Adam 2022-05-14 23:48:50 +02:00
  • 28505c1040 rm unused code comment Adam 2022-05-14 18:00:17 +02:00