]>
git.openstreetmap.org Git - nominatim.git/log
Sarah Hoffmann [Tue, 10 Feb 2026 08:32:06 +0000 (09:32 +0100)]
Merge pull request #3975 from kad-link/fix/utf8-encoding-clean
Fix: Enforce explicit UTF-8 encoding in file I/O
Sri CHaRan [Sun, 8 Feb 2026 13:44:57 +0000 (19:14 +0530)]
fix: add utf-8 encoding in read-write files
Sarah Hoffmann [Thu, 5 Feb 2026 20:57:54 +0000 (21:57 +0100)]
Merge pull request #3970 from lonvia/improve-dev-docs
Some minor improvement to developer docs
Sarah Hoffmann [Thu, 5 Feb 2026 20:05:57 +0000 (21:05 +0100)]
Merge pull request #3960 from jayaddison/tests/has-pending-monkeypatch-robustness
Tests: parameter-agnostic 'Indexer.has_pending' monkeypatching
Sarah Hoffmann [Thu, 5 Feb 2026 19:51:41 +0000 (20:51 +0100)]
point to developer docs from CONTRIBUTING.md
Sarah Hoffmann [Thu, 5 Feb 2026 19:45:18 +0000 (20:45 +0100)]
docs: fix list of packages for development install
James Addison [Mon, 2 Feb 2026 11:35:10 +0000 (11:35 +0000)]
Tests: parameter-agnostic `has_pending` monkeypatching
Instead of relying on runtime parameter compatibility between
the patched `has_pending` method and `list.pop`, use a proxy
lambda function that accepts arbitrary keyword params.
Sarah Hoffmann [Thu, 5 Feb 2026 13:44:55 +0000 (14:44 +0100)]
Merge pull request #3966 from remo-lab/fix/sql-injection-truncate
Fix SQL injection in truncate_data_tables
remo-lab [Thu, 5 Feb 2026 11:34:10 +0000 (17:04 +0530)]
Fix SQL injection in truncate_data_tables
Signed-off-by: remo-lab <remopanda7@gmail.com>
Sarah Hoffmann [Tue, 3 Feb 2026 10:45:57 +0000 (11:45 +0100)]
Merge pull request #3962 from lonvia/docs-deploy
Docs: switch deployment to use gunicorn's asgi/uwsgi support
Sarah Hoffmann [Tue, 3 Feb 2026 08:08:06 +0000 (09:08 +0100)]
docs: switch deployment to use gunicorn's asgi/uwsgi support
Sarah Hoffmann [Mon, 2 Feb 2026 08:53:24 +0000 (09:53 +0100)]
Merge pull request #3949 from Itz-Agasta/try
Feat: Add admin function for granting access to read-only user
Sarah Hoffmann [Mon, 2 Feb 2026 08:12:24 +0000 (09:12 +0100)]
Merge pull request #3959 from Aditya30ag/fix/readme-nominatim-api-module-path
Fix README: update Nominatim API server module path
Aditya30ag [Mon, 2 Feb 2026 06:13:03 +0000 (11:43 +0530)]
Fix README: update Nominatim API server module path
Sarah Hoffmann [Sun, 1 Feb 2026 09:05:34 +0000 (10:05 +0100)]
Merge pull request #3955 from AmmarYasser455/fix/typos
docs: fix multiple typos in documentation and source code
Sarah Hoffmann [Sun, 1 Feb 2026 09:05:16 +0000 (10:05 +0100)]
Merge pull request #3952 from jayaddison/pr-3687-followup/boundary-admin-level-for-linkage
Tests: resolve an issue in the place-linkage name expansion test case
James Addison [Wed, 28 Jan 2026 11:10:08 +0000 (11:10 +0000)]
Tests: set boundary admin level to enable linking
Itz-Agasta [Sat, 31 Jan 2026 17:20:18 +0000 (22:50 +0530)]
Preserve import error tables during freeze
- Remove 'import_polygon_%' from UPDATE_TABLES to keep import_polygon_error
and import_polygon_delete tables in frozen databases.
- These tables contain permanent import error tracking data and should not
be deleted during freeze. The ro-access grant system expects them to exist
in all database states.
Itz-Agasta [Fri, 30 Jan 2026 15:13:57 +0000 (20:43 +0530)]
Restore grants for dynamic tables in tokenizer, migration, and tiger import
AmmarYasser455 [Fri, 30 Jan 2026 01:44:15 +0000 (03:44 +0200)]
docs: fix multiple typos in documentation and source code
Sarah Hoffmann [Thu, 29 Jan 2026 08:58:06 +0000 (09:58 +0100)]
Merge pull request #3951 from Itz-Agasta/cli
Feat: Adds layer filtering option to search cli command
Itz-Agasta [Thu, 29 Jan 2026 06:03:21 +0000 (11:33 +0530)]
Updates layer selection to allow optional default
- Modifies layer argument handling to permit no default layers appropriate.
- Update the help text for the layer parameter in the reverse command
Sarah Hoffmann [Wed, 28 Jan 2026 19:30:11 +0000 (20:30 +0100)]
Merge pull request #3950 from jayaddison/fixup/sql-debug-output-escaping
Fixup: add single-quote escaping within debug message
Itz-Agasta [Wed, 28 Jan 2026 06:46:43 +0000 (12:16 +0530)]
Adds layer filtering option to search command
Introduces a cli argument to restrict search results
to specified data layers, enabling more targeted queries.
James Addison [Wed, 28 Jan 2026 01:27:53 +0000 (01:27 +0000)]
Fixup: add single-quote escaping within debug message
Itz-Agasta [Tue, 27 Jan 2026 12:25:51 +0000 (17:55 +0530)]
Adds mock grants SQL file for import test
Itz-Agasta [Tue, 27 Jan 2026 12:24:10 +0000 (17:54 +0530)]
Adds option to grant web user read-only DB access
Introduces a command-line flag to grant read-only access to the web user for all tables, improving ease of permissions management during refresh operations.
Itz-Agasta [Tue, 27 Jan 2026 12:23:25 +0000 (17:53 +0530)]
Grants read-only access after import
Adds execution of grant statements to provide read-only privileges
for the web user following table creation or via a dedicated function.
Facilitates easier post-import permission management.
Itz-Agasta [Tue, 27 Jan 2026 12:19:51 +0000 (17:49 +0530)]
Moves db grant statements to dedicated script
Centralizes all read-only access grants into a single SQL script, ensuring permissions are managed in one place.
Sarah Hoffmann [Sun, 25 Jan 2026 09:10:15 +0000 (10:10 +0100)]
Merge pull request #3943 from Itz-Agasta/test_fix
Tests: Replace eval() with ast.literal_eval() for safer parsing
Itz-Agasta [Wed, 21 Jan 2026 06:03:17 +0000 (11:33 +0530)]
Switch to ast.literal_eval for dict parsing
Due to some test data in the BDD feature files includes Python raw strings and escape sequences that standard json.loads() cannot parse switching to safer Python literal evaluation
for converting string representations of dictionaries.
Itz-Agasta [Tue, 20 Jan 2026 16:24:08 +0000 (21:54 +0530)]
Replaces eval with json.loads for safer dict parsing
Switches from eval to json.loads when parsing string representations
of dictionaries to prevent arbitrary code
execution.
Sarah Hoffmann [Fri, 23 Jan 2026 21:10:43 +0000 (22:10 +0100)]
Merge pull request #3946 from lonvia/enable-entrances-for-reverse
Enable entrance lookup for reverse and lookup
Sarah Hoffmann [Fri, 23 Jan 2026 19:52:40 +0000 (20:52 +0100)]
Merge pull request #3906 from AyushDharDubey/fix/issue_2463-Use-search_name-table-for-TIGER-data-imports-on-'dropped'-databases
Use `search_name` as fallback for TIGER imports when update tables are dropped
Sarah Hoffmann [Fri, 23 Jan 2026 19:45:15 +0000 (20:45 +0100)]
Merge pull request #3945 from lonvia/fix-starlette-tests
Update Starlette tests to using their TestClient
Sarah Hoffmann [Fri, 23 Jan 2026 16:38:47 +0000 (17:38 +0100)]
enable entrances for reverse and lookup
Sarah Hoffmann [Thu, 22 Jan 2026 16:24:36 +0000 (17:24 +0100)]
update Starlette tests to using their TestClient
Sri Charan Chittineni [Thu, 22 Jan 2026 12:21:34 +0000 (17:51 +0530)]
fix mypy typing for Starlette state object (#3944)
Sarah Hoffmann [Wed, 14 Jan 2026 14:04:45 +0000 (15:04 +0100)]
Merge pull request #3939 from lonvia/more-table-constraints
Add NOT NULL and UNIQUE contraints on tables
Ayush Dhar Dubey [Fri, 9 Jan 2026 11:22:15 +0000 (16:52 +0530)]
update test frozen db: new tiger import mechanism
Ayush Dhar Dubey [Fri, 9 Jan 2026 11:21:53 +0000 (16:51 +0530)]
permit import of tiger after freeze
Ayush Dhar Dubey [Thu, 11 Dec 2025 15:10:57 +0000 (20:40 +0530)]
Add fallback search mechanism for dropped databases lookup
Sarah Hoffmann [Wed, 7 Jan 2026 16:08:28 +0000 (17:08 +0100)]
do not attempt to delete old data for newly created placex entries
Sarah Hoffmann [Wed, 7 Jan 2026 14:46:05 +0000 (15:46 +0100)]
add NOT NULL and UNIQUE constraints where possible
Sarah Hoffmann [Wed, 7 Jan 2026 10:43:32 +0000 (11:43 +0100)]
ignore countries without geometry or country code for location_area
Sarah Hoffmann [Wed, 7 Jan 2026 10:27:55 +0000 (11:27 +0100)]
do not insert entries with empty name into search name
Sarah Hoffmann [Wed, 7 Jan 2026 09:53:04 +0000 (10:53 +0100)]
ensure correct indexed_status transitions
Sarah Hoffmann [Wed, 7 Jan 2026 09:29:45 +0000 (10:29 +0100)]
make sure that importance is always set to a non-null value
Secondary importance might return invalid values in some cases.
Sarah Hoffmann [Wed, 7 Jan 2026 09:22:03 +0000 (10:22 +0100)]
make sure array_merge() never returns null
Sarah Hoffmann [Wed, 7 Jan 2026 08:56:32 +0000 (09:56 +0100)]
immediately terminate indexing when a task catches an exception
Sarah Hoffmann [Wed, 7 Jan 2026 08:38:49 +0000 (09:38 +0100)]
BDD: make sure randomly generated names always contain a letter
otbutz [Mon, 5 Jan 2026 16:42:35 +0000 (17:42 +0100)]
Add PR template (#3934)
Sarah Hoffmann [Fri, 2 Jan 2026 08:58:05 +0000 (09:58 +0100)]
Merge pull request #3930 from lonvia/remove-new-query-log-table
Remove unused new_query_log table
Sarah Hoffmann [Thu, 1 Jan 2026 19:30:37 +0000 (20:30 +0100)]
remove unused new_query_log table
Sarah Hoffmann [Thu, 1 Jan 2026 13:42:12 +0000 (14:42 +0100)]
fix version counts
Sarah Hoffmann [Thu, 1 Jan 2026 10:21:40 +0000 (11:21 +0100)]
ignore postcode areas in countries without postcodes properly
Sarah Hoffmann [Tue, 30 Dec 2025 23:21:27 +0000 (00:21 +0100)]
make sure we use exactly the same table structure as osm2pgsql
Sarah Hoffmann [Tue, 30 Dec 2025 18:49:07 +0000 (19:49 +0100)]
need an analyse after the migration
Sarah Hoffmann [Tue, 30 Dec 2025 16:48:33 +0000 (17:48 +0100)]
grant access right to www user for new postcode table
Sarah Hoffmann [Tue, 30 Dec 2025 14:54:33 +0000 (15:54 +0100)]
Merge pull request #3926 from lonvia/rework-postcode-handling
Reorganise postcode handling
Sarah Hoffmann [Sat, 27 Dec 2025 09:20:19 +0000 (10:20 +0100)]
analyze postcode table during import
Sarah Hoffmann [Tue, 23 Dec 2025 22:24:33 +0000 (23:24 +0100)]
simplify postcode area for lookups
Sarah Hoffmann [Tue, 23 Dec 2025 21:26:43 +0000 (22:26 +0100)]
adapt BDD tests for new postcode table structure
Sarah Hoffmann [Tue, 23 Dec 2025 19:17:43 +0000 (20:17 +0100)]
adapt unit tests to new postcode algorithms
Sarah Hoffmann [Tue, 23 Dec 2025 18:12:50 +0000 (19:12 +0100)]
add migration for new postcode table
Sarah Hoffmann [Tue, 23 Dec 2025 18:10:01 +0000 (19:10 +0100)]
adapt search frontend to new postcode table
Sarah Hoffmann [Tue, 23 Dec 2025 14:50:55 +0000 (15:50 +0100)]
set custom postcode extents for some countries
Sarah Hoffmann [Tue, 23 Dec 2025 14:46:36 +0000 (15:46 +0100)]
rework postcode computation
Now adds areas to location_postcodes, ignores postcode points
inside areas and supports customizable extents.
Sarah Hoffmann [Tue, 23 Dec 2025 13:17:06 +0000 (14:17 +0100)]
add support for custom per-country postcode extents
Sarah Hoffmann [Tue, 23 Dec 2025 13:11:45 +0000 (14:11 +0100)]
change confusing value in debug output for missing importance
Sarah Hoffmann [Tue, 23 Dec 2025 11:13:19 +0000 (12:13 +0100)]
reorganise layout of location_postcode table
Also renames the table as this will make it easier to migrate.
Sarah Hoffmann [Tue, 23 Dec 2025 10:41:35 +0000 (11:41 +0100)]
drop new place sub-tables on freezing
Sarah Hoffmann [Tue, 23 Dec 2025 10:39:34 +0000 (11:39 +0100)]
remove special casing for postcodes in trigger code
Sarah Hoffmann [Tue, 23 Dec 2025 09:56:53 +0000 (10:56 +0100)]
put postcodes in extra table on import
Sarah Hoffmann [Tue, 30 Dec 2025 13:36:59 +0000 (14:36 +0100)]
Merge pull request #3925 from Aditya30ag/fix-typo-place-addressline-test
Fix typo in place_addressline table name in tests
Aditya30ag [Tue, 30 Dec 2025 12:10:08 +0000 (17:40 +0530)]
Fix typo in place_addressline table name in tests
Sarah Hoffmann [Sun, 28 Dec 2025 14:55:49 +0000 (15:55 +0100)]
Merge pull request #3919 from 28Deepakpandey/Fix-docs-locale-typo
Fix: Locale → Locales references in docs
28Deepakpandey [Thu, 25 Dec 2025 21:16:26 +0000 (02:46 +0530)]
Fix: corrected Locale → Locales references and ensured proper casing in docs
Sarah Hoffmann [Mon, 22 Dec 2025 15:38:27 +0000 (16:38 +0100)]
Merge pull request #3913 from AyushDharDubey/fix/issue_3909
Reuse Configuration instance in Locales
Ayush Dhar Dubey [Sat, 20 Dec 2025 13:44:20 +0000 (19:14 +0530)]
update Locales constructor:
expect output names as argument and avoid redundant configuration initialization
Ayush Dhar Dubey [Sat, 20 Dec 2025 13:42:15 +0000 (19:12 +0530)]
fix: ensure Locales is not initialized when provided in options
Sarah Hoffmann [Mon, 15 Dec 2025 20:16:56 +0000 (21:16 +0100)]
Merge pull request #3910 from lonvia/update-ps-names
Update default names for Palestinian Territories
Sarah Hoffmann [Mon, 15 Dec 2025 18:25:15 +0000 (19:25 +0100)]
update default names for Palestinian Territories
Sarah Hoffmann [Mon, 8 Dec 2025 10:51:50 +0000 (11:51 +0100)]
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
Ayush Dhar Dubey [Mon, 8 Dec 2025 10:21:35 +0000 (15:51 +0530)]
add mwparserfromhell to apt prerequisites for CI build
Ayush Dhar Dubey [Mon, 8 Dec 2025 09:31:35 +0000 (15:01 +0530)]
update new dependency instructions: mwparserfromhell
Sarah Hoffmann [Mon, 8 Dec 2025 08:48:29 +0000 (09:48 +0100)]
Merge pull request #3902 from lonvia/fix-only-closest-housenumber
Reverse: only return housenumbers near street
Ayush Dhar Dubey [Sun, 7 Dec 2025 17:07:31 +0000 (22:37 +0530)]
use mwparserfromhell to parse SP wiki page reliably
Ayush Dhar Dubey [Sun, 7 Dec 2025 17:06:50 +0000 (22:36 +0530)]
test for cell-per-line format
Ayush Dhar Dubey [Sun, 7 Dec 2025 17:04:24 +0000 (22:34 +0530)]
update sp test content
add latest <generator>MediaWiki 1.43.5</generator>
add test case for one-row-per-line
Sarah Hoffmann [Sun, 7 Dec 2025 10:00:23 +0000 (11:00 +0100)]
reverse: only return housenumbers near street
Sarah Hoffmann [Sun, 7 Dec 2025 08:39:10 +0000 (09:39 +0100)]
Merge pull request #3899 from lonvia/improve-reverse-performance
Streamline reverse lookup slightly
Sarah Hoffmann [Fri, 5 Dec 2025 16:09:13 +0000 (17:09 +0100)]
avoid extra query for finding closest housenumber in reverse
Sarah Hoffmann [Thu, 4 Dec 2025 20:21:47 +0000 (21:21 +0100)]
reverse: avoid interpolation lookup when result is already perfect
Sarah Hoffmann [Thu, 4 Dec 2025 19:03:14 +0000 (20:03 +0100)]
Merge pull request #3898 from lonvia/fix-country-restriction
Fix comparision between country tokens and country restriction
Sarah Hoffmann [Thu, 4 Dec 2025 17:28:04 +0000 (18:28 +0100)]
fix comparision between countr tokens and country restriction
Sarah Hoffmann [Thu, 4 Dec 2025 16:10:55 +0000 (17:10 +0100)]
Merge pull request #3897 from lonvia/test-psycopg-33
Allow psycopg 3.3 back
Sarah Hoffmann [Tue, 2 Dec 2025 16:08:11 +0000 (17:08 +0100)]
ignore typing isssue
Sarah Hoffmann [Tue, 2 Dec 2025 14:19:36 +0000 (15:19 +0100)]
exclude psycopg 3.3.0 which breaks named cursors
Sarah Hoffmann [Tue, 2 Dec 2025 11:46:43 +0000 (12:46 +0100)]
Merge pull request #3895 from lonvia/flaky-test
Fix flaky test around postcode word match penalties