]>
git.openstreetmap.org Git - nominatim.git/log
Sarah Hoffmann [Wed, 18 Feb 2026 13:25:38 +0000 (14:25 +0100)]
Merge pull request #3991 from lonvia/interpolation-on-addresses
Add support for addr:interpolation on housenumbers
Sarah Hoffmann [Wed, 18 Feb 2026 10:39:48 +0000 (11:39 +0100)]
add support for expanding interpolations on housenumbers
Sarah Hoffmann [Mon, 16 Feb 2026 08:27:23 +0000 (09:27 +0100)]
Merge pull request #3923 from kad-link/ci/windows-smoke
CI: add dev-only Windows smoke workflow
Sarah Hoffmann [Mon, 16 Feb 2026 08:20:37 +0000 (09:20 +0100)]
Merge pull request #3989 from lonvia/rework-misc-tests
More production SQL use in unit tests
Sarah Hoffmann [Mon, 16 Feb 2026 08:17:36 +0000 (09:17 +0100)]
Merge pull request #3988 from jayaddison/pr-3957-followup/empty-name-field
Indexing: fixup: add presence check for hstore 'name' field
James Addison [Sun, 15 Feb 2026 23:26:28 +0000 (23:26 +0000)]
Indexing: fixup: add presence check for hstore `name` field
Sarah Hoffmann [Sun, 15 Feb 2026 20:38:38 +0000 (21:38 +0100)]
make database import unit tests against real SQL
Sarah Hoffmann [Sun, 15 Feb 2026 19:17:20 +0000 (20:17 +0100)]
use original tables for database check tests
Sarah Hoffmann [Sun, 15 Feb 2026 20:42:54 +0000 (21:42 +0100)]
Merge pull request #3987 from lonvia/rework-postcode-tests
Rework postcode unit tests
Sarah Hoffmann [Fri, 13 Feb 2026 19:58:48 +0000 (20:58 +0100)]
replace postcode mock with standard postcode table fixtures
Sri CHaRan [Tue, 3 Feb 2026 18:06:37 +0000 (23:36 +0530)]
ci/windows: install osm2pgsql binary and enable full unit tests suite
Sri CHaRan [Mon, 2 Feb 2026 02:53:48 +0000 (08:23 +0530)]
ci/windows: enable full python unit test setup for windows
Sri CHaRan [Thu, 29 Jan 2026 16:19:59 +0000 (21:49 +0530)]
ci/windows: add Postgresql setup action to tests
Sri Charan Chittineni [Sat, 17 Jan 2026 04:55:44 +0000 (10:25 +0530)]
implement stage 1 : python unit tests
Sri CHaRan [Mon, 29 Dec 2025 18:37:49 +0000 (00:07 +0530)]
Add experimental Windows CI workflow
Sarah Hoffmann [Fri, 13 Feb 2026 13:11:04 +0000 (14:11 +0100)]
Merge pull request #3986 from lonvia/rework-tiger-tests
Rework unit tests for import of tiger data
Sarah Hoffmann [Fri, 13 Feb 2026 11:06:51 +0000 (12:06 +0100)]
Merge pull request #3985 from lonvia/rework-indexing-test
Rework unit tests for indexing
Sarah Hoffmann [Fri, 13 Feb 2026 10:16:40 +0000 (11:16 +0100)]
rework tiger unit tests to use production pgsql functions
Sarah Hoffmann [Thu, 12 Feb 2026 09:56:52 +0000 (10:56 +0100)]
pass reverse-only as a separate parameter
... instead of hacking the internal structures of SQLPreprocessor
Sarah Hoffmann [Fri, 13 Feb 2026 10:03:18 +0000 (11:03 +0100)]
rewrite indexing tests to use standard table fixtures
Sarah Hoffmann [Fri, 13 Feb 2026 09:57:59 +0000 (10:57 +0100)]
add fixtures for postcode, interpolation table creation and filling
Sarah Hoffmann [Fri, 13 Feb 2026 08:16:44 +0000 (09:16 +0100)]
Merge pull request #3984 from lonvia/avoid-custom-table-definition-in-tests
Reuse table creation SQL in unittest
Sarah Hoffmann [Thu, 12 Feb 2026 21:18:37 +0000 (22:18 +0100)]
use load_sql fixture instead of explicit SQLPreprocessor
Sarah Hoffmann [Thu, 12 Feb 2026 21:14:15 +0000 (22:14 +0100)]
reorganise fixtures for placex table
Now follows the same pattern as fixtures for other tables and
uses the production SQL for table creation.
Sarah Hoffmann [Thu, 12 Feb 2026 20:15:03 +0000 (21:15 +0100)]
simplify property test table implementation
Sarah Hoffmann [Thu, 12 Feb 2026 20:12:10 +0000 (21:12 +0100)]
switch table definitions in conftest to use production SQL
Sarah Hoffmann [Thu, 12 Feb 2026 19:14:13 +0000 (20:14 +0100)]
add fixtures for country table
Sarah Hoffmann [Thu, 12 Feb 2026 18:49:52 +0000 (19:49 +0100)]
add function for inserting data to testing cursor
Sarah Hoffmann [Thu, 12 Feb 2026 16:30:25 +0000 (17:30 +0100)]
use better SQL quoting in test cursor implementation
Sarah Hoffmann [Thu, 12 Feb 2026 16:18:48 +0000 (17:18 +0100)]
fix potential cancelling race with full queue
Sarah Hoffmann [Thu, 12 Feb 2026 16:42:45 +0000 (17:42 +0100)]
Merge pull request #3982 from lonvia/split-table-creation
Split up table creation SQL
Sarah Hoffmann [Thu, 12 Feb 2026 15:36:10 +0000 (16:36 +0100)]
split up table creation SQL into separate files
Sarah Hoffmann [Wed, 11 Feb 2026 14:37:32 +0000 (15:37 +0100)]
remove unused indexes and sequences
Sarah Hoffmann [Wed, 11 Feb 2026 14:08:18 +0000 (15:08 +0100)]
Merge pull request #3957 from jayaddison/issue-2714/linked-places-default-language
Indexing: add default-language placename from linked places
Sarah Hoffmann [Wed, 11 Feb 2026 14:05:28 +0000 (15:05 +0100)]
Merge pull request #3979 from jayaddison/issue-2714-prep/extract-rank-zero-specialcasing
Indexer: relocate zero-ranked-address indexing
Sarah Hoffmann [Tue, 10 Feb 2026 14:26:34 +0000 (15:26 +0100)]
Merge pull request #3980 from lonvia/security-smells
Improve SQL query assembly
James Addison [Sun, 1 Feb 2026 20:43:06 +0000 (20:43 +0000)]
Indexer: relocate zero-ranked-address indexing
Sarah Hoffmann [Tue, 10 Feb 2026 10:33:04 +0000 (11:33 +0100)]
ignore tables with odd names in SQLPreprocessor
Sarah Hoffmann [Mon, 9 Feb 2026 20:25:01 +0000 (21:25 +0100)]
avoid f-strings in SQL creation in tests
Sarah Hoffmann [Mon, 9 Feb 2026 20:21:18 +0000 (21:21 +0100)]
use psycopg.sql for SQL building in tokenizer
Sarah Hoffmann [Mon, 9 Feb 2026 20:07:31 +0000 (21:07 +0100)]
only allow alphanumeric and dash in DATABASE_WEBUSER
This variable is used a lot in raw SQL. Avoid injection issues.
Sarah Hoffmann [Mon, 9 Feb 2026 15:26:15 +0000 (16:26 +0100)]
sanity check class names before inserting into classtype tables
The subsequent INSERT is done on an unqouted table name, making in
theory an SQL injection through an OSM value possible. In practise
this cannot happen because we check for the existance of the table.
During the creation of the classtype tables there is a sanity
check in place to disallow any table names that consist of anything
other than alphanumeric characters.
Sarah Hoffmann [Tue, 10 Feb 2026 08:45:29 +0000 (09:45 +0100)]
Merge pull request #3978 from jayaddison/issue-2714-prep/index-boundaries-method-signature-nitpick
Refactor: add default params to Indexer.index_boundaries
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
James Addison [Sun, 1 Feb 2026 18:42:24 +0000 (18:42 +0000)]
Refactor: add default params to `index_boundaries`
Sri CHaRan [Sun, 8 Feb 2026 13:44:57 +0000 (19:14 +0530)]
fix: add utf-8 encoding in read-write files
James Addison [Mon, 9 Feb 2026 18:33:02 +0000 (18:33 +0000)]
Indexing: invert boolean logic to factor-out empty `ELSE` clause
Relates-to commit
fa2a789e270a716be8655ce75ba5ed37fba9e09d .
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
James Addison [Thu, 5 Feb 2026 20:48:01 +0000 (20:48 +0000)]
Indexing: manage the case where no default-language exists
Relates-to commit
6fee784c9fc2bf6ca9428482713347258161e0cc .
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 [Wed, 28 Jan 2026 00:13:20 +0000 (00:13 +0000)]
Indexing: add default-language placename from linked places
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