Pass app version information to internal APIs #1579

Closed
opened 2018-06-11 22:22:40 +02:00 by tzarebczan · 1 comment
tzarebczan commented 2018-06-11 22:22:40 +02:00 (Migrated from github.com)

The Issue

lbryio.authenticate should be modified so that after a successful authentication is completed, additional system details are sent to a new endpoint.

  • The new endpoint will be /install/new (and thus can be called lbryio.call("install", "new")).
  • It should be sent the following properties:
    • app_id (this is already sent to /user/new)
    • app_version (from package.json)
    • daemon_version (FROM THE DAEMON NOT FROM PACKAGE.JSON)
    • operating_system (Windows, Android, etc.)
    • platform (Windows 10, macOS 10.12, etc.)

Only the first two values, app_id and app_version are necessary to get this merged. If there is any trickiness with the later 3 values, please PR this without them.

Note: When running in dev mode, the version doesn't show correctly on the about page.

System Configuration

  • LBRY Daemon version:
  • LBRY App version:
  • LBRY Installation ID:
  • Operating system:

Anything Else

Screenshots

## The Issue `lbryio.authenticate` should be modified so that after a successful authentication is completed, additional system details are sent to a new endpoint. - The new endpoint will be `/install/new` (and thus can be called `lbryio.call("install", "new")`). - It should be sent the following properties: - `app_id` (this is already sent to `/user/new`) - `app_version` (from package.json) - `daemon_version` (FROM THE DAEMON NOT FROM PACKAGE.JSON) - `operating_system` (Windows, Android, etc.) - `platform` (Windows 10, macOS 10.12, etc.) Only the first two values, `app_id` and `app_version` are necessary to get this merged. If there is any trickiness with the later 3 values, please PR this without them. Note: When running in dev mode, the version doesn't show correctly on the about page. ## System Configuration <!-- For the app, this info is in the About section at the bottom of the Help page. You can include a screenshot instead of typing it out --> <!-- For the daemon, run: curl 'http://localhost:5279' --data '{"method":"version"}' and include the full output --> - LBRY Daemon version: - LBRY App version: - LBRY Installation ID: - Operating system: ## Anything Else <!-- Include anything else that does not fit into the above sections --> ## Screenshots <!-- If a screenshot would help explain the bug, please include one or two here -->
neb-b commented 2018-06-12 07:15:31 +02:00 (Migrated from github.com)

Is this actually a release blocker?

Is this actually a release blocker?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LBRYCommunity/lbry-desktop#1579
No description provided.