| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit 1636da85d82644d923042c870aaedc5a29754aa6)
|
|
|
|
| |
(cherry picked from commit 9d550817ca546d1dd30a21cebad6093d1f3bacad)
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
for google maps to work, an API key needs to be added to the configuration
|
| |
|
|
|
|
| |
(cherry picked from commit 519d35368e2f1e7fe1fce577fe7d71ef9bd5c07e)
|
|
|
|
| |
(cherry picked from commit 6f684cd412e6d93f943c1fa5d8dac91caa138be0)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
This caused the build system to make unwanted man pages. Using comments
instead.
|
| |
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
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!
|
|
|
|
| |
it is put into kml files, etc
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
no code changes
|
|
|