places: let an admin share the details users typed with the TREK Places API

Every shareable field of a place now records where its value came from: typed
by a user, filled by a provider, written by the assistant, a plugin or an
import. Only values a user typed are ever sent, and only after an admin agreed
to the current terms for the whole installation, field by field.

The new place-contrib domain keeps the decision in app settings, queues values
in an outbox a cron job sends from, logs what the service made of each one and
can withdraw everything this installation sent. Development, test and demo
instances, an own TREK_PLACES_URL, TREK_SERVICES=off and
TREK_PLACES_CONTRIBUTE=off never send anything. Index results carry the
community version, so the details caches refresh when it changes.
This commit is contained in:
Maurice
2026-10-30 18:15:24 +01:00
parent f56f6ae11e
commit 182ed56fa4
69 changed files with 5758 additions and 8 deletions
+3
View File
@@ -79,7 +79,10 @@
"PhotoProviderFields": "addons",
"PhotoProviders": "addons",
"Photos": "photos",
"PlaceContribLog": "place-contrib",
"PlaceContribOutbox": "place-contrib",
"PlaceDetailsCache": "maps",
"PlaceFieldOrigin": "places",
"PlaceRatings": "places",
"PlaceRegions": "atlas",
"PlaceShadowPicks": "place-shadow",