Sarah Hoffmann
354aa07cad
adapt unit tests to new postcode algorithms
2025-12-30 15:21:18 +01:00
Sarah Hoffmann
deb6654cfd
add migration for new postcode table
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
6a67cfcddf
adapt search frontend to new postcode table
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
f9cf320794
set custom postcode extents for some countries
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
d1cb578535
rework postcode computation
...
Now adds areas to location_postcodes, ignores postcode points
inside areas and supports customizable extents.
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
a97b5d97cb
add support for custom per-country postcode extents
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
9ec607b556
change confusing value in debug output for missing importance
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
89821d01e0
reorganise layout of location_postcode table
...
Also renames the table as this will make it easier to migrate.
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
7ef3f99fa4
drop new place sub-tables on freezing
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
0aa9eee3e7
remove special casing for postcodes in trigger code
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
340fe64e8b
put postcodes in extra table on import
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
0b11dd0eba
Merge pull request #3925 from Aditya30ag/fix-typo-place-addressline-test
...
Fix typo in place_addressline table name in tests
2025-12-30 14:36:59 +01:00
Aditya30ag
3b182afa72
Fix typo in place_addressline table name in tests
2025-12-30 17:40:08 +05:30
Sarah Hoffmann
ae77a9512a
Merge pull request #3919 from 28Deepakpandey/Fix-docs-locale-typo
...
Fix: Locale → Locales references in docs
2025-12-28 15:55:49 +01:00
28Deepakpandey
f7ba1fc9e1
Fix: corrected Locale → Locales references and ensured proper casing in docs
2025-12-26 02:46:26 +05:30
Sarah Hoffmann
26e62fda19
Merge pull request #3913 from AyushDharDubey/fix/issue_3909
...
Reuse Configuration instance in Locales
2025-12-22 16:38:27 +01:00
Ayush Dhar Dubey
4fd616254a
update Locales constructor:
...
expect output names as argument and avoid redundant configuration initialization
2025-12-20 19:15:33 +05:30
Ayush Dhar Dubey
049164086a
fix: ensure Locales is not initialized when provided in options
2025-12-20 19:12:15 +05:30
Sarah Hoffmann
5e965d5216
Merge pull request #3910 from lonvia/update-ps-names
...
Update default names for Palestinian Territories
2025-12-15 21:16:56 +01:00
Sarah Hoffmann
2097401b12
update default names for Palestinian Territories
2025-12-15 19:25:15 +01:00
Sarah Hoffmann
58e56ec53d
Merge pull request #3901 from AyushDharDubey/fix/issue_3829-use-mwparserfromhell-to-parse-sp-wiki-page
...
Replace regex with `mwparserfromhell` based MW WikiCode Parsing for Special Phrases
2025-12-08 11:51:50 +01:00
Ayush Dhar Dubey
fe170c9286
add mwparserfromhell to apt prerequisites for CI build
2025-12-08 15:51:35 +05:30
Ayush Dhar Dubey
0c5af2e3e4
update new dependency instructions: mwparserfromhell
2025-12-08 15:01:35 +05:30
Sarah Hoffmann
681daeea29
Merge pull request #3902 from lonvia/fix-only-closest-housenumber
...
Reverse: only return housenumbers near street
2025-12-08 09:48:29 +01:00
Ayush Dhar Dubey
49454048c4
use mwparserfromhell to parse SP wiki page reliably
2025-12-08 11:01:14 +05:30
Ayush Dhar Dubey
4919240377
test for cell-per-line format
2025-12-08 11:01:14 +05:30
Ayush Dhar Dubey
56cb183c4e
update sp test content
...
add latest <generator>MediaWiki 1.43.5</generator>
add test case for one-row-per-line
2025-12-08 10:59:10 +05:30
Sarah Hoffmann
35060164ab
reverse: only return housenumbers near street
2025-12-07 11:00:23 +01:00
Sarah Hoffmann
4cfc1792fb
Merge pull request #3899 from lonvia/improve-reverse-performance
...
Streamline reverse lookup slightly
2025-12-07 09:39:10 +01:00
Sarah Hoffmann
3bb5d00848
avoid extra query for finding closest housenumber in reverse
2025-12-05 17:09:13 +01:00
Sarah Hoffmann
b366b9df6f
reverse: avoid interpolation lookup when result is already perfect
2025-12-05 17:08:46 +01:00
Sarah Hoffmann
6b12501c7a
Merge pull request #3898 from lonvia/fix-country-restriction
...
Fix comparision between country tokens and country restriction
2025-12-04 20:03:14 +01:00
Sarah Hoffmann
ffd5c32f17
fix comparision between countr tokens and country restriction
2025-12-04 18:29:25 +01:00
Sarah Hoffmann
6c8869439f
Merge pull request #3897 from lonvia/test-psycopg-33
...
Allow psycopg 3.3 back
2025-12-04 17:10:55 +01:00
Sarah Hoffmann
8188946394
ignore typing isssue
2025-12-03 10:22:11 +01:00
Sarah Hoffmann
19134cc15c
exclude psycopg 3.3.0 which breaks named cursors
2025-12-03 10:22:04 +01:00
Sarah Hoffmann
d0b9aac400
Merge pull request #3895 from lonvia/flaky-test
...
Fix flaky test around postcode word match penalties
2025-12-02 12:46:43 +01:00
Sarah Hoffmann
48d13c593b
fix flaky test around postcode word match penalties
2025-12-02 11:15:37 +01:00
Sarah Hoffmann
96d04e3a2e
Merge pull request #3894 from lonvia/country-names-with-word-lookup
...
Add normalized form of country names to coutry tokens in word table
2025-12-01 14:54:24 +01:00
Sarah Hoffmann
23db1ab981
avoid most recent psycopg 3.3 release
2025-12-01 14:23:36 +01:00
Sarah Hoffmann
cd1b1736a9
add migration for changed country token format
2025-12-01 13:10:18 +01:00
Sarah Hoffmann
9447c90b09
adapt tests to new country token format
2025-12-01 13:10:18 +01:00
Sarah Hoffmann
81c6cb72e6
add normalised country name to word table
...
Country tokens now follow the usual convetion of having the
normalized version in the word column and the extra info about the
country code in the info column.
2025-12-01 13:10:18 +01:00
Sarah Hoffmann
f2a122c5c0
Merge pull request #3893 from lonvia/nature-reserve
...
Prefer leisure=nature_reserve as main tag over boundary=protected_area
2025-12-01 11:36:17 +01:00
Sarah Hoffmann
57ef0e1f98
prefer leisure=nature_reserve as main tag
2025-12-01 09:47:55 +01:00
Sarah Hoffmann
922667b650
Merge pull request #3892 from daishu0000/master
...
Add success message to setup.log: related to #3891
2025-11-30 14:13:51 +01:00
Sarah Hoffmann
fba803167c
fix imprecise import
2025-11-30 11:50:55 +01:00
daishu0000
782df52ea0
Add success message to db log
2025-11-30 01:53:40 +08:00
Sarah Hoffmann
c36da68a48
Merge pull request #3890 from mtmail/remove-nat-name
...
Skip nat_name in default import
2025-11-28 14:13:30 +01:00
marc tobias
716de13bc9
Skip nat_name in default import
2025-11-28 11:35:35 +01:00