Marc Tobias Metten
1e28f2478c
details support json output
2018-04-12 22:01:10 +02:00
mtmail
3cdbcbff8f
get apt-get php-db package running on travis-ci ( #973 )
...
travis: /usr/bin/env php whenever calling PHP scripts to deal with phpenv
2018-04-12 00:54:59 +02:00
Sarah Hoffmann
9a3bc9cc1e
Merge pull request #1010 from lonvia/ignore-unicode-format-characters
...
Ignore Unicode format characters for normalization
2018-04-10 23:48:58 +02:00
Sarah Hoffmann
6bd905ff43
update osm2pgsql (name:suffix)
...
Fixes #823 .
2018-04-10 23:46:57 +02:00
Sarah Hoffmann
ae83ceab5e
ignore Unicode format characters for normalization
...
Also adds tests.
Fixes #1007 .
2018-04-10 22:48:17 +02:00
Sarah Hoffmann
28ee59dd64
test: drop template DB when something goes wrong during creation
...
Fixes #951 .
2018-04-08 10:06:33 +02:00
Sarah Hoffmann
b4ef3d91ab
Merge pull request #1005 from lonvia/no-limit-for-housenumber-search
...
do not apply limit to house number place searches
2018-04-06 22:46:23 +02:00
Sarah Hoffmann
efac4a135a
do not apply limit to house number place searches
...
Searches for house numbers are already limited by the
number of parent places. In fact, the limit assumed that
every parent place has exactly one match against the
given housenumber. That is not true in reality and so
we were dropping relevant results.
Fixes #329 .
2018-04-06 22:20:21 +02:00
Sarah Hoffmann
984e91e519
Merge pull request #1003 from mtmail/details-permalink
...
details page: add a perma-link
2018-04-06 21:15:48 +02:00
Sarah Hoffmann
49dc62201c
Merge pull request #1002 from mtmail/sql-bracket-error-in-details
...
when looking for keywords on detail page SQL bracket error was possible
2018-04-06 21:09:52 +02:00
marc tobias
4791fc341e
details page: move permalink next to page title
2018-04-06 17:45:25 +02:00
marc tobias
4743a5e166
details page: add a perma-link
2018-04-06 16:11:54 +02:00
marc tobias
908c66ca84
when looking for keywords on detail page a SQL bracket error was possible
2018-04-06 15:22:29 +02:00
Sarah Hoffmann
62719f58c9
update osm2pgsql
2018-04-03 21:11:13 +02:00
Sarah Hoffmann
d183cd3c78
Merge pull request #994 from mtmail/bugfix-when-calling-debug-printDebugArray
...
fix -undefined offset- error
2018-03-27 09:04:59 +02:00
Sarah Hoffmann
ac5a901daf
Merge pull request #992 from mtmail/phpcs-whitespace-warnings
...
phpcs: remove trailing whitespace from comments
2018-03-27 08:56:11 +02:00
Sarah Hoffmann
aaee03d502
Merge pull request #991 from mtmail/rename-NominatimTest-php
...
NominatimTest.php => LibTest.php
2018-03-27 08:54:11 +02:00
Marc Tobias Metten
329948e685
fix -undefined offset- error
2018-03-27 03:00:07 +02:00
Marc Tobias Metten
f6a76ebcd5
phpcs: remove trailing whitespace from comments
2018-03-27 01:43:02 +02:00
Marc Tobias Metten
1cb87164d9
NominatimTest.php => LibTest.php
2018-03-27 01:38:39 +02:00
Sarah Hoffmann
64fa70ac0a
Merge pull request #989 from lonvia/pretty-debug
...
nicer formatting for Geocode debug output
2018-03-26 20:56:57 +02:00
Sarah Hoffmann
2c42bda9ce
nicer formatting for Geocode debug output
2018-03-25 22:28:18 +02:00
Sarah Hoffmann
1787892d32
Merge pull request #986 from mtmail/php-replace-sizeof
...
replace PHP sizeof() with either count() or empty()
2018-03-24 18:51:34 +01:00
Sarah Hoffmann
7cc8f63125
Merge pull request #981 from mtmail/api-documentation-from-wiki-to-docs
...
copied API endpoint documentation from wiki.osm.org to /docs
2018-03-24 18:12:43 +01:00
Sarah Hoffmann
2b6515e704
Merge pull request #979 from mtmail/bdd-paths-in-vagrant-documentation
...
use real paths in BDD examples
2018-03-23 20:30:21 +01:00
marc tobias
27bc8d4f7b
replace PHP sizeof() with either count() or empty()
2018-03-22 12:36:24 +01:00
marc tobias
90d531c640
copied API endpoint documentation from wiki.osm.org to /docs
2018-03-19 17:10:22 +01:00
Marc Tobias Metten
2c24b9da5a
use real paths in BDD examples
2018-03-18 02:13:42 +01:00
Sarah Hoffmann
d79a2bb17e
increase search radius for named streets in addresses
...
Fixes #950 .
2018-03-16 23:37:42 +01:00
Sarah Hoffmann
8b4b647d77
Merge pull request #974 from mtmail/remove-two-minute-data-date-offset
...
remove the 2-minute offset hack from data date in HTML output
2018-03-16 21:18:49 +01:00
Sarah Hoffmann
6495717036
Merge pull request #969 from mtmail/update-vagrant-md
...
update Vagrant instructions. E.g. cucumber => behave
2018-03-16 20:25:52 +01:00
marc tobias
d23fa84471
remove the 2-minute offset hack from data date in HTML output
2018-03-14 16:42:41 +01:00
marc tobias
937c8ba231
update Vagrant instructions. E.g. cucumber => behave
2018-03-14 16:12:39 +01:00
Marc Tobias Metten
88beeb7916
merge json and jsonv2 templates, they were very similar
2018-03-13 23:49:04 +01:00
marc tobias
34a27c7cab
update Vagrant instructions. E.g. cucumber => behave
2018-03-09 15:06:57 +01:00
Sarah Hoffmann
c04541b4da
remove now unnecessary DOCS comments in vagrant script
2018-03-08 21:44:21 +01:00
Sarah Hoffmann
8d4a86635f
Merge branch 'vagrant-centos-with-selinux' of https://github.com/mtmail/Nominatim
2018-03-08 21:37:24 +01:00
marc tobias
2dc6ee7e1c
vagrant centos: update documentation. /build directory is sibling, not child of /Nominatim
2018-03-07 16:09:08 +01:00
marc tobias
ccab565a4a
vagrant centos: make sure /home/vagrant/Nominatim directory doesnt get created
2018-03-07 16:05:22 +01:00
Sarah Hoffmann
5c8fbe8186
Merge pull request #941 from mtmail/parameter-parser-tests2
...
PHP tests for ParameterParser
2018-03-06 23:25:20 +01:00
marc tobias
7fd46dcee9
ParameterParser: getSet default value doesnt have to be part of the set
2018-03-06 14:53:23 +01:00
marc tobias
3ef4c4fbe7
ParameterParser: getStringList removes empty strings
2018-03-06 14:51:48 +01:00
marc tobias
47258f40ea
ParameterParser: getFloat with empty string value throws exception
2018-03-06 13:35:27 +01:00
marc tobias
123a3c0347
ParameterParser: getInt with empty string value throws exception
2018-03-06 13:33:19 +01:00
mtmail
d60a2e693c
Merge pull request #963 from matkoniecz/typo
...
fix two typos in docs
2018-03-03 22:41:25 +01:00
Mateusz Konieczny
db524a35c6
fix two typos in docs
2018-03-03 08:36:47 +01:00
Sarah Hoffmann
f23a860b33
second attempt at strict names in structured queries
...
If a term does not go into names it should go into
address terms.
2018-03-02 00:26:48 +01:00
Sarah Hoffmann
df008d99f5
do not allow importance to become 0
...
Importance is weighed against a viewbox factor which disappears
when the importance is 0.
Fixes #930 .
2018-03-01 22:37:45 +01:00
Sarah Hoffmann
fd920fba9b
for structured search only accept name terms from the first phrase
...
Fixes #952 .
2018-03-01 22:35:34 +01:00
Marc Tobias Metten
d9cd8c6fff
use assertSame to check array order, 0 vs false
2018-02-28 23:22:45 +01:00