Detect local servers and connect as admin
When a server is run on the local machine, Ember should detect this and automatically ask the user if she wants to connect to the local machine. If so, Ember should also present the user with an option to login as an “admin” client. This is possible without a password as it’s on the local machine. This would help immensely with letting new users quickly come up to speed with world authoring. In most cases when a server is run locally the person also running a client is a world author.
Blueprint information
- Status:
- Complete
- Approver:
- Erik Ogenvik
- Priority:
- High
- Drafter:
- Erik Ogenvik
- Direction:
- Approved
- Assignee:
- Erik Ogenvik
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Erik Ogenvik
- Completed by
- Erik Ogenvik
Related branches
Related bugs
Sprints
Whiteboard
I think that limiting this scope to be checking the cyphesis default port only (anything else I would consider to be misbehaving). I think that specifically, on the same event path that spawns the serverlist, can spawn an 'admin check'. If a local server is found, display a new 'localdetected' widget saying something like 'local server found, have the 3 avenues to select:
1) login as admin (no password required)
2) login as user (should trigger the 'server connect' widget for that server, effectively behaving as if someone has typed /connect localhost)
3) Ignore. Which dismisses the widget and leaves the user with the standard server selection widget.
/Sean
Yeah, that's pretty much how I envision it. Cyphesis has support for auto discovery through Avahi, but for the initial implementation it should suffice just checking the standard port. And then showing a widget just as you described.
/Erik