Commit Graph

145 Commits

Author SHA1 Message Date
Sascha L. Teichmann
0f01065fdf Merged. 2016-04-06 11:45:59 +02:00
Sascha L. Teichmann
58a44c2d40 Be more careful with host IPs which call /update. They are potentially IPv6. Fixes Issue #16. 2016-04-06 11:44:51 +02:00
Sascha L. Teichmann
4522708ddf Updates #15 Prevent a potential file handle leak in sending update notifications via POST to mtwebmapper. 2016-01-24 14:31:15 +01:00
Sascha L. Teichmann
f658d12641 Use github.com/bamiaux/rez instead of github.com/nfnt/resize for resampling the pyramid tiles. It is much faster but needs some testing. 2015-12-25 22:07:54 +01:00
Sascha L. Teichmann
dc2845abb1 Made pyramid seeding more spammy (user request). TODO: percentage output would be nicer. 2015-08-10 17:43:52 +02:00
Sascha L. Teichmann
e606e2700f Fixes #14. mtseeder and mtwebmapper now have command line flags -ymin=block and -ymax=block to limit the y range of mapping. Defaults to full range. 2015-07-27 19:03:47 +02:00
Sascha L. Teichmann
62a53dc26b Unified handling of printing versions of programs (--version). Setting version to 0.5 2015-07-26 22:04:16 +02:00
Sascha L. Teichmann
f6b5f9ce97 Removed totally outdated README of mtredisalize. 2015-07-26 16:48:19 +02:00
Sascha L. Teichmann
f6e5eb8510 Moved ordering of two int64 to common/math. 2015-07-26 16:40:50 +02:00
Sascha L. Teichmann
8817094001 Added missing copyright headers and updated dates on others. 2015-07-26 16:33:29 +02:00
Sascha L. Teichmann
becf017edc Small cleanup. Moved min to common/math. 2015-07-26 12:32:59 +02:00
Sascha L. Teichmann
e1eb03813f Add a -transparent-dim=percent flag to set the extra dimming of transparent materials each depth meter. 2015-07-26 11:55:38 +02:00
Sascha L. Teichmann
68bb1ee320 Avoid redundant decoding when sendind coordinate to change tracker or coverage index.
Don't try to store in coverage index if the key already exists.
Handle more potential database errors.
2015-07-25 22:18:16 +02:00
Sascha L. Teichmann
fed5b32469 Small nit. 2015-07-25 20:39:05 +02:00
Sascha L. Teichmann
06c8ef8f88 Fixed interleaved sqlite spatial query. 2015-07-25 14:15:06 +02:00
Sascha L. Teichmann
c9686a7f24 Fixed non-interleaved LevelDB backend. 2015-07-24 13:15:05 +02:00
Sascha L. Teichmann
fe6a551f06 Break some over-long lines. 2015-07-24 10:01:39 +02:00
Sascha L. Teichmann
29eeb5e301 Implemented usage of coverage index in non-interleaved LevelDB backend. Untested, yet! 2015-07-24 08:30:52 +02:00
Sascha L. Teichmann
d53cea250c Started coverage index support for non-interleaved LevelDb backends. 2015-07-24 08:13:24 +02:00
Sascha L. Teichmann
3fc89ad0f5 Removed dead code. 2015-07-23 21:14:35 +02:00
Sascha L. Teichmann
93d4aedffa Fixed non-interleaved sqlite support. 2015-07-23 16:20:42 +02:00
Sascha L. Teichmann
1921b8211b Some little experiment with a coverage index to speed up spatial queries if backend has no Z order support. 2015-07-21 22:01:10 +02:00
Sascha L. Teichmann
470b47f70a Fixed endless loop in Z order range query code in SQLite3 backend. 2015-07-21 12:53:55 +02:00
Sascha L. Teichmann
ecd599e44d Terminate all log.Printf with a new line. 2015-07-20 14:19:41 +02:00
Sascha L. Teichmann
2d00eb9567 Simplifications when decoding blocks from database to save some memory allocations. 2015-06-21 22:47:06 +02:00
Sascha L. Teichmann
5c239a7b60 Merged. 2015-06-21 18:37:43 +02:00
Sascha L. Teichmann
6f10be6d92 Removed another usage of fmt.Sprintf. 2015-06-21 18:36:26 +02:00
Sascha L. Teichmann
e8bb225d94 Fix a few golint naming nits. 2015-06-21 13:31:03 +02:00
Sascha L. Teichmann
b22e778902 Error log simplification ported from syndtr-goleveldb branch. 2015-06-21 13:17:10 +02:00
Sascha L. Teichmann
b74671ae63 Simplified error handling in Redis connection handler.
This also reduces the diff size to the syndtr-goleveldb branch.
2015-06-02 20:10:56 +02:00
Sascha L. Teichmann
5172e02380 Some minor code cleanups in mtwebmapper. 2015-05-27 18:36:03 +02:00
Sascha L. Teichmann
9d1b0cc7c6 Silence a few golint warnings. 2015-05-27 16:57:08 +02:00
Sascha L. Teichmann
f80d9e452c Don't use fmt.Sprintf when sending size of a redis bulk string. 2015-05-27 16:48:51 +02:00
Sascha L. Teichmann
a165bcd53a Removed some dead code. 2015-05-27 00:02:13 +02:00
Sascha L. Teichmann
29a5abeec4 Simplified Redis code a bit when writing booleans to client. 2015-05-26 19:25:26 +02:00
Sascha L. Teichmann
af469a3173 Merged. 2015-05-26 18:14:48 +02:00
Sascha L. Teichmann
75b2496fa6 Fixes issue #7. mtredisalize implements Redis PING command. 2015-05-26 18:12:55 +02:00
Sascha L. Teichmann
4d467f3158 Reverted accidentally default activation of websockets in d514399. 2015-05-25 13:04:28 +02:00
Sascha L. Teichmann
787fc959d0 Removed some dead code. 2015-05-01 14:04:23 +02:00
Sascha L. Teichmann
3b8faba353 Fixed small nit found by golint. 2015-03-14 19:03:25 +01:00
Sascha L. Teichmann
b029c473a8 Made maxBulkStringSize a command line option 'max-bulk-string-size'. It defaults to 32MB. 2015-03-14 19:01:00 +01:00
Sascha L. Teichmann
7a6d0a0d31 Fixed none vanishing manual update control when switching to auto update. 2015-03-13 17:06:50 +01:00
Sascha L. Teichmann
f71db790e7 Replace string.contains() with string.indexOf() which is better supported. 2015-03-13 16:25:19 +01:00
Sascha L. Teichmann
b54b2b6b91 Fixed vanishing players whem refreshing after switching back from auto-update. 2015-03-13 16:06:06 +01:00
Sascha L. Teichmann
4b4c620c35 Removed pointless logging. 2015-03-13 15:46:33 +01:00
Sascha L. Teichmann
c3b634669a Simplified auto update code. Removed pointless tile updating when there are only player updates. Removed redundant JSON parsing. 2015-03-13 15:43:59 +01:00
Sascha L. Teichmann
71636a5b4c Fix state switching auto-update/manual refresh. 2015-03-13 15:03:10 +01:00
Sascha L. Teichmann
dda0716053 To keep websockets alive send every eight seconds a ping to the server. 2015-03-13 12:29:55 +01:00
Sascha L. Teichmann
d2b6ff4fbb Orange is the new red. 2015-03-10 14:29:55 +01:00
Raimund Renkert
fa3c39297f Use leaflet awesome marker as icon for players. 2015-03-10 14:10:03 +01:00