mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
783c98f41e
A vote belongs to its person: cast or taken back on one copy of a place, it lands on every copy of that place in the lists and trips the person may vote on, in one transaction. A pass on the first start carries the existing votes over, and whoever joins a list or a trip brings their latest vote onto its copies of the places they voted on elsewhere, as inserts that never overwrite. An edit of the general facts of a place (name, description, address, position, category, picture, website, phone) on a trip place or a saved place is made on every other copy of it the editor may edit, with a history entry per copy and an announcement per trip and list. Notes, tags, status and votes stay with each copy, and a copy the editor may not edit is skipped. REST and MCP take the same path; a token reaches only the kinds of copies it holds write scope for. The entry rating names its voters, the library list filters by a lowest average vote and sorts by rating, and the tab counts honour the filter.