Sarah Hoffmann
fc49a77e70
Merge pull request #3960 from jayaddison/tests/has-pending-monkeypatch-robustness
...
Tests: parameter-agnostic 'Indexer.has_pending' monkeypatching
2026-02-05 21:05:57 +01:00
James Addison
3db7c6d804
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.
2026-02-05 15:09:09 +00:00
Sarah Hoffmann
b2f868d2fc
Merge pull request #3966 from remo-lab/fix/sql-injection-truncate
...
Fix SQL injection in truncate_data_tables
2026-02-05 14:44:55 +01:00
remo-lab
ae7301921a
Fix SQL injection in truncate_data_tables
...
Signed-off-by: remo-lab <remopanda7@gmail.com >
2026-02-05 17:04:10 +05:30
Sarah Hoffmann
8188689765
Merge pull request #3962 from lonvia/docs-deploy
...
Docs: switch deployment to use gunicorn's asgi/uwsgi support
2026-02-03 11:45:57 +01:00
Sarah Hoffmann
135453e463
docs: switch deployment to use gunicorn's asgi/uwsgi support
2026-02-03 09:08:06 +01:00
Sarah Hoffmann
cc9c8963f3
Merge pull request #3949 from Itz-Agasta/try
...
Feat: Add admin function for granting access to read-only user
2026-02-02 09:53:24 +01:00
Sarah Hoffmann
c882718355
Merge pull request #3959 from Aditya30ag/fix/readme-nominatim-api-module-path
...
Fix README: update Nominatim API server module path
2026-02-02 09:12:24 +01:00
Aditya30ag
3f02a4e33b
Fix README: update Nominatim API server module path
2026-02-02 11:43:03 +05:30
Sarah Hoffmann
1cf5464d3a
Merge pull request #3955 from AmmarYasser455/fix/typos
...
docs: fix multiple typos in documentation and source code
2026-02-01 10:05:34 +01:00
Sarah Hoffmann
dcbfa2a3d0
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
2026-02-01 10:05:16 +01:00
James Addison
5cdc6724de
Tests: set boundary admin level to enable linking
2026-01-31 22:00:23 +00:00
Itz-Agasta
45972811e3
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.
2026-01-31 22:50:18 +05:30
Itz-Agasta
e021f558bf
Restore grants for dynamic tables in tokenizer, migration, and tiger import
2026-01-30 20:43:57 +05:30
AmmarYasser455
fcc5ce3f92
docs: fix multiple typos in documentation and source code
2026-01-30 12:13:23 +02:00
Sarah Hoffmann
9a979b7429
Merge pull request #3951 from Itz-Agasta/cli
...
Feat: Adds layer filtering option to search cli command
2026-01-29 09:58:06 +01:00
Itz-Agasta
6ad87db1eb
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
2026-01-29 11:33:21 +05:30
Sarah Hoffmann
f4820bed0e
Merge pull request #3950 from jayaddison/fixup/sql-debug-output-escaping
...
Fixup: add single-quote escaping within debug message
2026-01-28 20:30:11 +01:00
Itz-Agasta
bf6eb01d68
Adds layer filtering option to search command
...
Introduces a cli argument to restrict search results
to specified data layers, enabling more targeted queries.
2026-01-28 12:16:43 +05:30
James Addison
f07676a376
Fixup: add single-quote escaping within debug message
2026-01-28 01:27:53 +00:00
Itz-Agasta
5e2ce10fe0
Adds mock grants SQL file for import test
2026-01-27 17:55:51 +05:30
Itz-Agasta
58cae70596
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.
2026-01-27 17:54:10 +05:30
Itz-Agasta
bf0ee6685b
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.
2026-01-27 17:53:25 +05:30
Itz-Agasta
ff1f1b06d9
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.
2026-01-27 17:49:51 +05:30
Sarah Hoffmann
67ecf5f6a0
Merge pull request #3943 from Itz-Agasta/test_fix
...
Tests: Replace eval() with ast.literal_eval() for safer parsing
2026-01-25 10:10:15 +01:00
Itz-Agasta
e77a4c2f35
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.
2026-01-24 15:32:47 +05:30
Itz-Agasta
9fa980bca2
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.
2026-01-24 15:32:47 +05:30
Sarah Hoffmann
fe773c12b2
Merge pull request #3946 from lonvia/enable-entrances-for-reverse
...
Enable entrance lookup for reverse and lookup
2026-01-23 22:10:43 +01:00
Sarah Hoffmann
cc96912580
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
2026-01-23 20:52:40 +01:00
Sarah Hoffmann
77a3ecd72d
Merge pull request #3945 from lonvia/fix-starlette-tests
...
Update Starlette tests to using their TestClient
2026-01-23 20:45:15 +01:00
Sarah Hoffmann
6a6a064ef7
enable entrances for reverse and lookup
2026-01-23 17:38:47 +01:00
Sarah Hoffmann
35b42ad9ce
update Starlette tests to using their TestClient
2026-01-23 16:28:13 +01:00
Sri Charan Chittineni
c4dc2c862e
fix mypy typing for Starlette state object ( #3944 )
2026-01-22 13:21:34 +01:00
Sarah Hoffmann
7e44256f4a
Merge pull request #3939 from lonvia/more-table-constraints
...
Add NOT NULL and UNIQUE contraints on tables
2026-01-14 15:04:45 +01:00
Ayush Dhar Dubey
eefd0efa59
update test frozen db: new tiger import mechanism
2026-01-09 17:47:07 +05:30
Ayush Dhar Dubey
2698382552
permit import of tiger after freeze
2026-01-09 17:35:01 +05:30
Ayush Dhar Dubey
954771a42d
Add fallback search mechanism for dropped databases lookup
2026-01-09 17:35:01 +05:30
Sarah Hoffmann
e47601754a
do not attempt to delete old data for newly created placex entries
2026-01-07 17:08:28 +01:00
Sarah Hoffmann
2cdf2db184
add NOT NULL and UNIQUE constraints where possible
2026-01-07 15:46:05 +01:00
Sarah Hoffmann
5200e11f33
ignore countries without geometry or country code for location_area
2026-01-07 11:43:32 +01:00
Sarah Hoffmann
ba1fc5a5b8
do not insert entries with empty name into search name
2026-01-07 11:27:55 +01:00
Sarah Hoffmann
d35a71c123
ensure correct indexed_status transitions
2026-01-07 11:12:35 +01:00
Sarah Hoffmann
e31862b7b5
make sure that importance is always set to a non-null value
...
Secondary importance might return invalid values in some cases.
2026-01-07 10:29:45 +01:00
Sarah Hoffmann
9ac5e0256d
make sure array_merge() never returns null
2026-01-07 10:22:03 +01:00
Sarah Hoffmann
a4a2176ded
immediately terminate indexing when a task catches an exception
2026-01-07 09:58:40 +01:00
Sarah Hoffmann
f30fcdcd9d
BDD: make sure randomly generated names always contain a letter
2026-01-07 09:58:40 +01:00
otbutz
77b8e76be6
Add PR template ( #3934 )
2026-01-05 17:42:35 +01:00
Sarah Hoffmann
20a333dd9b
Merge pull request #3930 from lonvia/remove-new-query-log-table
...
Remove unused new_query_log table
2026-01-02 09:58:05 +01:00
Sarah Hoffmann
084e1b8177
remove unused new_query_log table
2026-01-01 20:30:37 +01:00
Sarah Hoffmann
2e2ce2c979
fix version counts
2026-01-01 14:42:12 +01:00