Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User application installation and discovery support #106

Open
4 of 7 tasks
andersevenrud opened this issue Apr 7, 2020 · 4 comments · May be fixed by #107
Open
4 of 7 tasks

User application installation and discovery support #106

andersevenrud opened this issue Apr 7, 2020 · 4 comments · May be fixed by #107
Assignees

Comments

@andersevenrud
Copy link
Member

andersevenrud commented Apr 7, 2020

As of right now packages are only loaded on the actual server instance. It would be nice to have the ability to install and discover into the VFS making packages available per-user as well as global.

I actually have a branch for this, but it needs to be revised.

  • Add package manger installation method
  • Add package manager uninstall method
  • Add progress indication dialogs, etc.
  • Reload manifest via API when done
  • Update URL resolver to support VFS based packages
  • Update manual pages for standalone (changes configuration)
  • Stage 2: Client-side VFS adapter loading support

Ref: os-js/osjs-server#28
PR: os-js/osjs-server#29
PR: #107

@andersevenrud andersevenrud changed the title Per-user application installation and discovery support User application installation and discovery support Apr 7, 2020
@leopck
Copy link

leopck commented Apr 7, 2020

I was thinking if it's possible to create a QR code to create a UID or a URL so that users could rebuild their session?

Since everything is stored into VFS, if they go to another computer or another server instance, I want them to be able to rebuild their session, perhaps a config file that describes their "session" or "OS"

[config]
proxy=....
desktop=....

[app]
hub.registry.com/osjs-client
hub.registry.com/osjs-xterm-application
hub.company.registry.com/osjs-company-application
hub.community.registry.com/osjs-community-app1
hub.community.registry.com/osjs-community-app2

From this config file, it'll rebuild the session by pulling down their apps.

Use case:

  1. For users that moves about from different server instances
  2. For "guest" users that doesn't have a login account to that particular server instance.
  3. This also expands the use case of OS.js as we could reuse this capabilities to create virtual/application specific use cases as we can build OS.js with different application very easily now.

@andersevenrud
Copy link
Member Author

I was thinking if it's possible to create a QR code to create a UID or a URL so that users could rebuild their session?

This would probably require servers to talk to each other (which raises some issues relating to security) since QR can't really store more than 3kb 🤔

However, this is achievable. User sessions, settings as well as installed package manifests (an array of installed apps) is already stored as plain JSON.

@andersevenrud
Copy link
Member Author

andersevenrud commented Apr 10, 2020

For the first iteration of this I think I'll be limiting support for this to server-side VFS only.

I've done some work on it and now package discovery is supported, as well as launching user installed packages and correct handling of URLs (assets etc.).

Next up is the server installation API, and this is ready for some testing :) Edit: This was added as I edited this comment :)

andersevenrud added a commit that referenced this issue Apr 10, 2020
andersevenrud added a commit that referenced this issue Apr 10, 2020
andersevenrud added a commit that referenced this issue Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants