aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/osm.pm
Commit message (Collapse)AuthorAge
* Call srcfile() with nothrow, as clearly intended.Amitai Schleier2018-04-23
|
* osm: Convert savestate hook into a changes hookSimon McVittie2017-06-20
| | | | | | | | | | | | | savestate is not the right place to write wiki content, and in particular this breaks websetup if osm's dependencies are not installed, even if the osm plugin is not actually enabled. (Closes: #719913) This is not a full solution: it should be possible to render the PoI files for only the maps that changed, from the format, changes or rendered hook. However, getting that right would require more understanding of this plugin, and this version is enough to not break websetup. This version is the closest correct hook to the one where this previously took place.
* osm: Escape name parameter. Closes: #731797Joey Hess2014-01-15
|
* osm: Remove invalid use of charset on embedded javascript tags. Closes: #731197Joey Hess2013-12-03
|
* osm: Remove trailing slash from KML maps icon.Joey Hess2013-06-23
|
* osm: indent the generated KML file for better readabilityAntoine Beaupré2012-08-25
| | | | (cherry picked from commit 1636da85d82644d923042c870aaedc5a29754aa6)
* osm: optimization: do not create duplicate stylesAntoine Beaupré2012-08-25
| | | | (cherry picked from commit 9d550817ca546d1dd30a21cebad6093d1f3bacad)
* merged anarcat/osm_arbitrary_layersJoey Hess2012-08-25
|
* make layers an arrayAntoine Beaupré2012-08-25
| | | | | | this simplifies the code, make the configuration more intuitive, at the cost of making the labels on the layers automatically generated and therefore less customizable
* make layers completely customizableAntoine Beaupré2012-08-25
|
* osm: add optional google maps supportAntoine Beaupré2012-08-25
| | | | for google maps to work, an API key needs to be added to the configuration
* OSM plugin: new config option to specify the url to fetch maps fromGeneviève Bastien2012-08-25
|
* Add Document tag to OSM plugin KML outputPhilippe Gauthier2012-08-24
| | | | (cherry picked from commit 519d35368e2f1e7fe1fce577fe7d71ef9bd5c07e)
* OSM Plugin: Possibility to configure where the OpenLayers.js file isGenevieve2012-08-05
| | | | (cherry picked from commit 6f684cd412e6d93f943c1fa5d8dac91caa138be0)
* Fix incorrect URL pointing to the generated waypoint files by calling ↵Philippe Gauthier2012-08-05
| | | | | | | | will_render() before first call to urlto(). Fixes http://ikiwiki.info/bugs/osm_linkto__40____41___usage_breaks_map_rendering/ (cherry picked from commit 691312225789ff6cd5e3fcc4979c076791d67452)
* remove pod documentationJoey Hess2012-03-19
| | | | | This caused the build system to make unwanted man pages. Using comments instead.
* misc cleanupJoey Hess2012-03-18
|
* remove fullscreen optionJoey Hess2012-03-18
| | | | | | The cgi shows a fullscreen map, so having this other option to do it seems redundant, and also layering a fullscreen map over an existing wiki page doesn't look very good to me (and prevents editing the page etc).
* fix waypoint hrefsJoey Hess2012-03-18
|
* fix href parameter for osmJoey Hess2012-03-18
| | | | | | This was not set anywhere, which causes their javascript to crash. It *seems* the idea is this is the url to use to view the map full screen, which uses ikiwiki.cgi.
* multiple osm fixesJoey Hess2012-03-18
| | | | | | | | * fix will_render calls to pass proper relative filenames * fix urls to kml etc files to not assume wiki's top is at / * avoid building the javascript to display the map in two different ways between the cgi and on-page maps * refactor duplicate code
* load index file in osm cgi hookJoey Hess2012-03-18
| | | | | | | | This hook involves urlto, and that needs to have state loaded to work in all situations. Note that I can see no reason for the osm plugin to use a cgi hook at all. This could just as well be a static html page!
* make icon absoluteJoey Hess2012-03-13
| | | | it is put into kml files, etc
* avoid double amp escapingJoey Hess2012-03-13
|
* various fixes to linksJoey Hess2012-03-13
| | | | | | | | Build links the right way. This also involved dropping that leading slash on the osm_default_icon. And since it would require changing the old osm_tag_icons too, I just removed that relic.
* fix writing of kml fileJoey Hess2012-03-13
| | | | | | | It just didn't work, but also, it didn't use writefile, which is not desirable for security. Fixed both issues. Also removed some unnecessary debug messages.
* move osm.js to osm underlay and osm does not need javascript underlayJoey Hess2012-03-03
|
* properly link to javascript underlayAntoine Beaupré2012-03-03
|
* split off the javascript in a separate fileAntoine Beaupré2012-03-03
|
* add osm.pngJoey Hess2012-03-03
| | | | | | | | | Add an underlay for the osm plugin. Update links to right path to icon. Note that the osm plugin has a pervasive bug in how it links to icons; it assumes the site is at /. I did not attempt to fix that; it should be using urlto() to make a correct relative link.
* reindentation and styleJoey Hess2012-03-03
| | | | no code changes
* add osm pluginJoey Hess2012-03-03