Commit Graph

4900 Commits

Author SHA1 Message Date
Sarah Hoffmann
4e0602919c move ASGIAdoptor out of v1 module 2024-08-13 21:32:11 +02:00
Sarah Hoffmann
d22ca186e4 remove v1-specific functions from ASGIAdaptor 2024-08-13 19:38:14 +02:00
Sarah Hoffmann
4f4a288757
Merge pull request #3514 from lonvia/remove-pythonpath
Vagrant install: remove custom python path
2024-08-13 15:18:48 +02:00
Sarah Hoffmann
14cc047cf4 vagrant install: remove custom python path 2024-08-13 09:31:36 +02:00
Sarah Hoffmann
043d52821c
Merge pull request #3510 from lonvia/indexing-precompute-count
Indexing: precompute counts of affected rows
2024-08-12 23:55:19 +02:00
Sarah Hoffmann
3905dd68dd indexing: precompute row counts
Doing this once for the whole batch of ranks saves about
half a second for small imports. Speeds up BDD tests.
2024-08-12 14:57:26 +02:00
Sarah Hoffmann
bd0316b5c3
Merge pull request #3509 from lonvia/deprecations
Add deprecation warnings and check for osm2pgsql version
2024-08-12 11:27:56 +02:00
Sarah Hoffmann
fd33ef92dc add deprecation warnings in the code 2024-08-09 19:25:15 +02:00
Sarah Hoffmann
6527b7cdcd fail if osm2pgsql is not recent enough 2024-08-09 19:25:15 +02:00
Sarah Hoffmann
3cc20581ae osm2pgsq: do not use deprecated tablespace options 2024-08-09 19:25:15 +02:00
Sarah Hoffmann
a2a44b875a add deprecation warnings throughout docs 2024-08-09 19:25:15 +02:00
Sarah Hoffmann
a14ab1c08c
Merge pull request #3506 from mtmail/development-environment-more-dependencies
Development environment: add missing dependencies
2024-08-09 19:24:56 +02:00
marc tobias
0ba3d01982 Development environment: add missing dependencies 2024-08-09 17:57:18 +02:00
Sarah Hoffmann
f6e792f31b
Merge pull request #3502 from mtmail/check-database-check-another-index
check-database: check for another required db index
2024-08-08 15:21:38 +02:00
Sarah Hoffmann
882f182374
Merge pull request #3503 from lonvia/mkdocs-without-cmake
Build documentation without CMake
2024-08-07 19:21:00 +02:00
Sarah Hoffmann
d1e7b85cc5 fix dangling links in documentation 2024-08-07 16:58:45 +02:00
Sarah Hoffmann
6b1c32893b move generated docs to site-html 2024-08-07 16:48:22 +02:00
Sarah Hoffmann
474a22cb3b build man page without CMake 2024-08-07 16:38:56 +02:00
Sarah Hoffmann
8e46458d9e remove CMake-based build of docs 2024-08-07 16:31:15 +02:00
Sarah Hoffmann
7282d816c8 build vagrant instructions dynamically with mkdocs-gen-files 2024-08-07 16:28:44 +02:00
marc tobias
7cf21f8caf check-database: check for another required db index 2024-08-07 15:19:40 +02:00
Sarah Hoffmann
738e99ce71
Merge pull request #3499 from mtmail/add-data-warn-if-frozen
Add data warn if frozen
2024-08-07 11:11:58 +02:00
Sarah Hoffmann
e104115134 switch instruction to use wikimedia CSV file 2024-08-07 10:43:45 +02:00
marc tobias
f0390cfe85 add-data: warn and exit if database is frozen 2024-08-05 16:14:19 +02:00
Sarah Hoffmann
a4d7cdd2ad
Merge pull request #3493 from lonvia/clean-up-bdd-tests
Various cleanups of BDD tests
2024-07-31 17:02:39 +02:00
Sarah Hoffmann
2914284a83 adapt BDD tests for legacy tokenizer + Python frontend
Mostly disables the tests, the cases are not worth fixing anymore.
Others just avoid using terms that trigger abbreviations.
2024-07-31 14:55:16 +02:00
Sarah Hoffmann
a97bfaf26c fix postcode lookup with legacy tokenizer 2024-07-31 14:54:55 +02:00
Sarah Hoffmann
cfe5284f64 make housenumber search work with non-indexed partials 2024-07-31 14:09:35 +02:00
Sarah Hoffmann
2048009600 disable ZIP5+ test for Python frontend
Currently not working.
2024-07-31 14:08:57 +02:00
Sarah Hoffmann
d47acbc18a add forgotten BDD test 2024-07-31 11:16:49 +02:00
Sarah Hoffmann
f5fd2f0e7a switch CI to new handling of legacy BDD tests 2024-07-31 11:16:49 +02:00
Sarah Hoffmann
c8d45972bb remove support for PHP code coverage in BDD tests 2024-07-31 11:16:49 +02:00
Sarah Hoffmann
474aea61da bdd tests: get rid of dependency on build path
BDD tests will now use whatever osm2pgsql they find in the PATH.
For testing against legacy tokenizer, use -DSERVER_MODULE_PATH
to point to the module. This will no longer work out of the box.
2024-07-31 11:16:49 +02:00
Sarah Hoffmann
67462e0953
Merge pull request #3492 from lonvia/drop-waste-disposal
Remove waste disposals and hunting stands from index
2024-07-30 17:03:08 +02:00
Sarah Hoffmann
804fb5f93e
Merge pull request #3490 from mtmail/which-url-after-webserver-install
After install point user to '/status' not '/' path
2024-07-30 15:39:22 +02:00
marc tobias
f52097c064 After install point user to /status not / path 2024-07-30 13:10:24 +02:00
Sarah Hoffmann
d336b81293 drop amenity=waste_prposal and amenity=hunting_stand 2024-07-30 10:41:13 +02:00
Sarah Hoffmann
507c0286da
Merge pull request #3491 from mtmail/faq-unicode-encoding
Admin FAQ entry for UnicodeEncodeError
2024-07-29 22:01:46 +02:00
marc tobias
04a3f39371 Admin FAQ entry for UnicodeEncodeError 2024-07-29 18:26:11 +02:00
Sarah Hoffmann
bc75e5626e
Merge pull request #3466 from mtmail/apple-silicon-parallels
Vagrant: add config for Apple Silicon
2024-07-29 16:52:54 +02:00
Sarah Hoffmann
0add25e335
Merge pull request #3487 from lonvia/port-to-psycopg3
Move importer code to psycopg3
2024-07-29 16:52:07 +02:00
Sarah Hoffmann
253dc7d7cd Ubuntu 22 doesn't have psycopg yet 2024-07-29 08:54:18 +02:00
Sarah Hoffmann
221b5cd8a2 fix dependencies and adapt documentation for psycopg3 2024-07-29 08:54:09 +02:00
Sarah Hoffmann
9659afbade port code to psycopg3 2024-07-29 08:50:19 +02:00
Sarah Hoffmann
3742fa2929 make DB helper functions free functions
Also changes the drop function so that it can drop multiple tables
at once.
2024-07-29 08:49:30 +02:00
Sarah Hoffmann
71249bd94a remove extension existence helper
This is only used in one place.
2024-07-29 08:49:02 +02:00
Sarah Hoffmann
e3353deee0
Merge pull request #3480 from mtmail/import-style-adits
full,extra import style: add adits
2024-07-24 22:59:29 +02:00
marc tobias
00563a1fa2 full,extra import style: add adits 2024-07-17 10:57:29 +02:00
Shumail Mohyuddin
b8686c19a0
fix docs link in update interval error message (#3479) 2024-07-17 10:37:07 +02:00
Sarah Hoffmann
b89144dcb2
Merge pull request #3468 from mtmail/setup-python-v5
Github Actions: now use setup-python v4->v5
2024-07-08 18:45:06 +02:00