mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 05:21:15 +00:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user