Sarah Hoffmann
9426fc2fee
prepare 3.7.3 release
v3.7.3
2023-02-20 17:24:16 +01:00
Sarah Hoffmann
9f4596156d
harmonize flags for PHP's htmlspecialchars
2023-02-20 17:24:16 +01:00
Sarah Hoffmann
3a1714e7e2
disable PHP tests that do not work with newer versions
2023-02-20 16:39:56 +01:00
Sarah Hoffmann
f845605cf7
adapt PHP tests for debug output
2023-02-20 16:34:26 +01:00
Sarah Hoffmann
51c3a00d70
properly encode special HTML characters in debug mode
2023-02-20 16:34:21 +01:00
Sarah Hoffmann
b51efd876f
prepare release 3.7.2
v3.7.2
2021-05-30 16:15:22 +02:00
Sarah Hoffmann
405279dae3
commit changes to replication log table
...
Fixes #2350 .
2021-05-30 15:09:36 +02:00
mogita
3dd223dfa3
fix: add the missing question mark
2021-05-30 15:08:33 +02:00
Frederik Ramm
7e6125ada5
Add array_key_last function for PHP <7.3
...
This patch adds an array_key_last function if it doesn't yet exist, fixes #2316 . It is tested on PHP 7.2.24 but not PHP 7.3.
2021-05-30 15:06:49 +02:00
Sarah Hoffmann
93b72e4e9b
correctly catch the exception when import date is missing
2021-05-30 15:05:55 +02:00
Sarah Hoffmann
3bf57e6d2a
do not check for extra housenumber index for reverse-only
...
Also adds a database check for reverse only import to the CI.
2021-05-30 15:02:31 +02:00
Sarah Hoffmann
e9ce5714a7
prepare release 3.7.1
v3.7.1
2021-04-26 11:23:14 +02:00
Sarah Hoffmann
ff1a49a0f8
rebuild manpage
2021-04-26 11:23:14 +02:00
Sarah Hoffmann
ec2873fbf6
avoid Path in subprocess parameters
...
Not supported by Python 3.5.
2021-04-26 11:23:14 +02:00
Sarah Hoffmann
5dee3cf7f7
add warming to CI import test
2021-04-26 11:23:14 +02:00
AntoJvlt
341cb55690
Only log a warning if a wrong input is detected on the wiki while importing special phrases
2021-04-26 09:31:08 +02:00
Sarah Hoffmann
055b5a46ba
docs: update deployment to use project directory
...
Fixes #2295 .
2021-04-24 16:24:14 +02:00
Sarah Hoffmann
6e8d4c0dac
actions: add import on ubuntu 18.04
...
This uses oldest possible dependencies where possible.
2021-04-24 15:14:35 +02:00
Sarah Hoffmann
baf684195b
use group() for regex matches
...
Needed for compatibility with Python 3.5.
2021-04-24 15:13:56 +02:00
Sarah Hoffmann
b0832669a3
use pathlib version of open
2021-04-24 15:13:47 +02:00
Sarah Hoffmann
243394b1c2
subprocess needs string argument
...
Compatibility change for Python 3.5.
2021-04-24 15:13:38 +02:00
Sarah Hoffmann
0f14851c98
check for existance of custom .env before opening
2021-04-24 15:13:14 +02:00
Sarah Hoffmann
b15a687564
use more generic ImportError to check for module
...
ModuleNotFoundError was only introduced in Python 3.6.
2021-04-24 15:13:06 +02:00
Sarah Hoffmann
0289d125da
replace usages of fromisoformat() with strptime()
...
fromisoformat was only introduced with Python 3.7 while we
still support Python 3.5.
Fixes #2292 .
2021-04-24 15:12:57 +02:00
Sarah Hoffmann
76ee6959c1
remove argparse dependency for vagrant scripts
...
Users don't need to recreate the manpage.
2021-04-24 15:12:49 +02:00
RhinoDevel
74c74dde07
Replace "nominatim-update" with "nominatim".
...
If I am not mistaken, the correct command to index imported data via commandline is "nominatim index".
2021-04-24 15:12:22 +02:00
AntoJvlt
f7e4bfa980
Fix occurence regex
2021-04-24 15:11:02 +02:00
Channgping Chen
4a6e9ba187
fix index on location_property_tiger (parent_place_id)
...
Looks like 2af82975cd
accidentally renamed an index. Because of the added "if not
exists" clause, the index doesn't get created. This
significantly slows down reverse queries because they now
require full scans on location_property_tiger.
Without this fix, reverse queries can take 8s on a full
planet install on an r5.8xlarge instance in EC2.
2021-04-24 15:10:46 +02:00
Sarah Hoffmann
10d99893f9
add support index when continuing import at index phase
...
Indexing scans the placex table sequentially during indexing
on the initial import. That is okay because we know that all
rows need to be processed anywhere. When continuing the import,
however, a large part might already be indexed, so that the
process spends a lot of time going through rows that are no
longer of interest. Create a supporting index for all unindexed
rows to speed up the scan. This is the same index as used later
for updates.
2021-04-24 15:09:55 +02:00
Sarah Hoffmann
b7a5a8b5f7
github actions: reintroduce postgresql repo
2021-04-24 15:07:59 +02:00
Darkshredder
6ed495bfc2
Fix: Removed error if endstatement is wrong and improved tests
2021-04-24 15:07:37 +02:00
AntoJvlt
cd7c841f5b
Fix default languages loading
2021-04-24 15:06:22 +02:00
Sarah Hoffmann
8f9c10c762
split LANGUAGES parameter before use
...
The user supplies the languages as a comma-separated list.
2021-04-24 15:06:02 +02:00
Sarah Hoffmann
492186716f
prepare 3.7.0 release
v3.7.0
2021-04-06 21:23:29 +02:00
Sarah Hoffmann
07fda48cee
docs: minor spelling corrections
2021-04-06 16:09:53 +02:00
Sarah Hoffmann
4b31be5203
docs: unpacking tiger data is no longer necessary
2021-04-06 15:56:08 +02:00
Sarah Hoffmann
5d69c7ade1
Merge pull request #2250 from lonvia/save-transliterated-housenumbers
...
Switch to saving transliterated housenumbers in placex
2021-04-05 15:48:22 +02:00
Sarah Hoffmann
96b0699621
add migration for transliterated housenumbers
2021-04-04 15:26:47 +02:00
Sarah Hoffmann
6cbef84cad
use new transliteration in initial housenumber word computation
...
The new create_housenumber_id() function splits housenumber
lists correctly. Otherwise there is no difference.
2021-04-04 15:26:47 +02:00
Sarah Hoffmann
55fcc44c8c
correctly handle housenumber lists
...
Lists are now standardised to use a semicolon separator.
2021-04-04 15:26:47 +02:00
Sarah Hoffmann
16a66b5326
move transliteration of housenumbers into indexing
...
Housenumbers are now saved in transliterated form in the housenumber
column. This saves the transliteration step during lookup.
2021-04-04 15:26:47 +02:00
Sarah Hoffmann
3590e76a1c
tests for finding non-ascii housenumbers
2021-04-04 15:26:47 +02:00
Sarah Hoffmann
0ec3fdd3ba
return housenumbers always from address field
...
This means that we can use normalized versions of the
housenumber in the housenumber field as it is no longer
a user visible field.
2021-04-04 15:26:47 +02:00
Sarah Hoffmann
c0f0b66509
Merge pull request #2248 from darkshredder/special-term-test
...
Added Test for TokenSpecialTerm
2021-04-03 18:31:01 +02:00
Darkshredder
0f9df32d11
Added Test for TokenSpecialTerm
2021-04-02 04:49:05 +05:30
Sarah Hoffmann
a370c8be4b
Merge pull request #2247 from lonvia/index-for-housenumber-lookup
...
Index for housenumber lookup
2021-04-01 18:35:00 +02:00
Sarah Hoffmann
d6e0bc698e
add recommendation for Postgresql 11+
2021-04-01 17:10:44 +02:00
Sarah Hoffmann
8d8b1d4307
use non-key index to speed up housenumber search
...
On Postgresql versions 11+ add an index to speed up the lookup
of housenumbers for terms found in search_name. This is really
just a band-aid around the query planer's interpretation of the
query.
2021-04-01 17:10:44 +02:00
Sarah Hoffmann
8dbfdd59b0
Merge pull request #2243 from darkshredder/XML-format-fix
...
Fixed: XML format: more_url points to localhost, not base URL
2021-03-30 09:19:01 +02:00
Sarah Hoffmann
cd03882536
Merge pull request #2244 from AntoJvlt/import-special-phrases-tests-cleaning
...
Cleaned tests for special phrases.
2021-03-30 09:17:27 +02:00