Commit Graph

21 Commits

Author SHA1 Message Date
BuckarooBanzay
b7486a4474 types / coords refactoring 2023-12-29 16:00:11 +01:00
BuckarooBanzay
efb19739c6 add cascade to object-fk 2023-12-27 10:40:56 +01:00
Buckaroo Banzai
be38c83fd8
db cleanup (#341)
* db cleanup

* dev

* pg setup

* postgres uuid migration

* cleanup

* fk

* sqlite migration

* cleanup

* wal

* max open conns = 1

* fix panic

---------

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2023-12-27 10:35:24 +01:00
Buckaroo Banzai
ddb5267a3b
Go releaser (#238)
* add goreleaser config

* update go.mod / gitignore

* dev/cross cleanup

* switch to cgo-less sqlite driver

* workflows

* fix build workflow

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2022-02-01 14:59:29 +01:00
BuckarooBanzay
1b08671a5b fix missing limit pointer 2022-01-17 09:11:24 +01:00
BuckarooBanzay
13b395143d simplify mapobject db (default to max/min positions at world border) 2022-01-17 09:06:07 +01:00
Peter Nerlich
25e177fbb9
Fix Trainlines (#177) (#230)
* add global getMapDataWithAttributeLikeGlobalQuery

* add getMapDataWithAttributeLikeGlobalQuery for postgres

* perform global search when position missing (sqlite)

* perform global query when pos missing (postgres)

* TrainelineOverlay: query full information on visible lines before drawing

* hopefully fix errors, minor efficiency improvements

* stupid mistake

* you know it's probably late when mistakes like this happen

* same for postgres

* more optimizations
2022-01-17 08:53:45 +01:00
BuckarooBanzay
4eccd1edd6 switch to embed.FS 2021-04-12 13:03:10 +02:00
BuckarooBanzay
ec9054b4f8 add more tests 2020-06-23 07:45:37 +02:00
BuckarooBanzay
900221770e ensure that all inserted user-values are valid utf8 strings
fixes #113
2020-06-23 07:44:04 +02:00
Thomas Rudin
64a6cff429 fix pq sql replacement char 2020-01-19 15:34:20 +01:00
Thomas Rudin
f42d867d16 add limit param to mapobject search 2020-01-19 15:18:50 +01:00
NatureFreshMilk
fbf2c1c190 /api/media/{filename} endpoint 2019-06-14 11:21:07 +02:00
NatureFreshMilk
77c2160817 move src files to root dir 2019-06-13 08:04:32 +02:00
NatureFreshMilk
d2e4f03f82 folder rename 2019-01-23 08:46:32 +01:00
NatureFreshMilk
8dd19ce491 object migration script 2019-01-23 08:37:40 +01:00
NatureFreshMilk
ac0e0ff94d object db indexes 2019-01-23 08:23:33 +01:00
NatureFreshMilk
042d17ae23 doc / perf notes 2019-01-23 08:20:27 +01:00
NatureFreshMilk
a2d8d3ba67 tile render timing 2019-01-21 16:27:31 +01:00
NatureFreshMilk
b3468536a7 consolidate objects and tiles 2019-01-21 15:13:33 +01:00
NatureFreshMilk
0415b69731 mapobjectdb 2019-01-18 15:51:10 +01:00