Commit Graph

5 Commits

Author SHA1 Message Date
John Brooks 42a2cba547 cli: Handle inbound contact requests 2017-10-14 21:21:02 -06:00
John Brooks d8a14fb4c5 Remove the concept of numeric contact IDs
In ricochet-qt, contacts were stored with a sequential numeric ID, and
that was used in various places to refer to the contact uniquely. The
habit carried over here in an attempt to keep configuration
compatibility.

These IDs are error prone (particularly over RPC) and unnecessary. This
removes the entire concept and uses addresses to index and refer
uniquely to contacts everywhere.
2017-09-24 17:00:44 -06:00
John Brooks 914163c7de cli: Use host prefixes as unique identifiers
Using the contact ID (which is about to disappear, anyway) to refer to
contacts in commands makes for an awkward UX.

For a differently awkward UX, use the shortest (>3) unambiguous prefix
of the hostname instead. This is stable, always typable, kind of
memorable, and seems like a decent compromise for now.
2017-09-24 16:59:42 -06:00
John Brooks 48aab2536a cli: Improve the feel of using commands in conversation mode 2017-09-23 16:37:45 -06:00
John Brooks bbc58e5815 Delete backend and rename cli to ricochet-cli
ricochet-cli can act as a headless backend, so for now there is no point
to having a separate backend program. It may be reintroduced later for
multiprocess use by other frontends -- to be determined.
2016-11-05 16:59:22 -06:00