Commit Graph

41 Commits

Author SHA1 Message Date
Brendan C. Ward
988a940403
Upgrade JS dependencies and rebuild static assets 2021-05-13 20:12:32 -07:00
Brendan C. Ward
07d552cdcb
Return 404 for service endpoints when service listing is disabled, upgrade docker base images 2020-12-17 14:38:16 -08:00
Brendan Ward
ca4a94e0c5
Refactor of handlers, middleware, command line options (#100) 2020-05-11 11:18:31 -07:00
Brendan C. Ward
a613fe59f4 Refactored how request auth keys are set on a ServiceSet 2020-02-14 06:14:14 -08:00
Nikolay Korotkiy
7e953bac4f
Fix goreportcard reported issues (#95) 2020-02-14 06:00:21 -08:00
Brendan C. Ward
d55a0bf60e Resolved #85 (template loading issues) 2020-02-12 20:51:01 -08:00
Brendan C. Ward
ab7ae02578 Remove redundant file walk of tile directory, always setup empty ServiceSets
Allows server to startup even if no services could be constructed
2020-02-12 14:16:01 -08:00
Brendan C. Ward
de40ed94a2 Fix bugs in map preview introduced by upgrading d3 deps; drop live examples (not maintained) 2020-02-12 13:23:40 -08:00
Brendan C. Ward
d6c3465ca0 Resolves #90, #91 2020-02-10 20:38:09 -08:00
Brendan C. Ward
6263c3010a Added compiled assets for #84 2019-11-19 20:40:47 -08:00
Nikolay Korotkiy
65d73d5600
Gracefully handle missing tile service bounds in map preview 2019-11-18 20:28:28 +03:00
Brendan C. Ward
f0c761e2be Added validation of tileset and associated tests 2019-11-07 17:59:57 -08:00
Nikolay Korotkiy
54f689c6a3
Fix crash caused by corrupted mbtiles file (#55) 2019-11-08 01:32:47 +03:00
Kristjan
b97143cc41
Fix tilesets with mixed case id not loading 2019-09-02 13:56:17 +02:00
Nik Molnar
55f887a895
Don’t try to load .mbtiles files during write (#73) 2019-07-03 17:25:22 -07:00
Nikolas Stevenson-Molnar
120d0eabe9 Bug fix 2019-03-13 08:56:06 -07:00
Nik Molnar
341c8024bf
Add support for HMAC-based per-service authentication (#68)
* Add suppor for hmac-based authentication

* Increase signature max age

* Refactor request handling, date errors

* Update readme with signature info

* Fix typo, add function comment
2019-03-13 08:52:49 -07:00
Brendan Ward
3e5ee0a2ab Resolves #57, adds Go 1.10 to Travis config, update mapbox GL basemap 2018-07-10 12:43:38 -07:00
Brendan Ward
734632f1ba Warn when no tiles are found instead of exiting with error 2018-04-12 19:52:42 -07:00
Brendan Ward
c88b48042f Add comments and tests to mbtiles package 2017-12-23 09:08:02 -08:00
Brendan Ward
6c5d466e62 Removed favicons, no longer needed 2017-12-22 20:00:20 -08:00
Brendan Ward
2f20652824 Fix bugs in arcgis handler 2017-12-22 19:15:49 -08:00
Brendan Ward
6b277870ef Merge branch 'master' into fawick-usingHandlerInMain 2017-12-22 17:36:06 -08:00
Brendan Ward
472e6e2324 fix comments 2017-12-22 17:25:07 -08:00
Brendan Ward
5c0f812e8c Addressed PR comments 2017-12-07 05:12:07 -08:00
Fabian Wickborn
d442779937 Unexport handlers.RootURL and handlers.Scheme
rootURL was reduced to be a method of ServiceSet.
2017-11-28 09:33:14 +01:00
Brendan Ward
f17ee2cba4 Added ArcGIS handlers 2017-11-26 20:33:32 -08:00
Fabian Wickborn
61e3086790 make some handler.Handler endpoints optional (#52) 2017-11-19 14:27:39 -08:00
Fabian Wickborn
a186200f94 Serve map templates (#50)
* handlers: Implement map for the service

* handlers: Return a valid HTTP status code everywhere
2017-11-16 08:32:52 -08:00
Fabian Wickborn
b7e662d704 Embed templates and statics into package (#48)
* Embed templates and statics into package
* Make mbtileserver 'go get'-able
2017-11-15 07:32:37 -08:00
Brendan Ward
6eafd14c6a
Merge pull request #49 from fawick/implementServiceTiles
handlers: Implement serving tiles
2017-11-09 11:42:30 -08:00
Fabian Wickborn
2b2c3feafe Fix typos, wording, and notation mistakes 2017-11-09 09:10:32 +01:00
Fabian Wickborn
6e50805470 Unexport tileCoord again 2017-11-08 22:15:58 +01:00
Fabian Wickborn
865c274cab handlers: Refactor unexported methods 2017-11-08 22:11:26 +01:00
Fabian Wickborn
53d409660c handlers: Implement serving tiles 2017-11-05 00:52:31 +01:00
Fabian Wickborn
58653516bb Implement service info handler 2017-11-03 20:02:32 +01:00
Brendan Ward
0578533756
Merge pull request #45 from fawick/embedBlankImage
Embed blank.png as byte slice
2017-11-01 20:11:05 -07:00
Fabian Wickborn
1ef9c1bfda Add handlers.ServiceSet for serving one or more mbtiles files (#44)
* Add handlers.ServiceSet for serving one or more mbtiles files
2017-11-01 20:05:55 -07:00
Fabian Wickborn
09678c64d5 Use embedded blank image in main package 2017-11-01 21:30:08 +01:00
Fabian Wickborn
0dff9095b7 Embed blank.png image as byte slice 2017-11-01 21:25:51 +01:00
Fabian Wickborn
edeba9df0b Create subpackage handlers, refactor getRootURL (#42) 2017-10-30 09:15:56 -07:00