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

Kiosk mode #21

Closed
marcusramberg opened this issue Dec 13, 2013 · 4 comments
Closed

Kiosk mode #21

marcusramberg opened this issue Dec 13, 2013 · 4 comments

Comments

@marcusramberg
Copy link
Contributor

I would like to have a restricted version of Convos, which only lets you log in and join a channel, without settings or persistence. For running a demo mode and embedding in company pages.

@ghost ghost assigned judofyr and jhthorsen Dec 13, 2013
@jhthorsen
Copy link
Collaborator

Look at http://chat.efnet.org:9090/

@jhthorsen jhthorsen added this to the Backlog milestone Aug 27, 2014
jhthorsen pushed a commit that referenced this issue Sep 18, 2014
jhthorsen pushed a commit that referenced this issue Sep 18, 2014
jhthorsen pushed a commit that referenced this issue Sep 18, 2014
  Credits for name list: Data::Faker::Name, Jason Kohles
jhthorsen pushed a commit that referenced this issue Sep 18, 2014
jhthorsen pushed a commit that referenced this issue Sep 23, 2014
  - /kiosk resource is always there
  - Add Convos::Core::Util::generate_login_name()
  - Replace CONVOS_KIOSK_MODE with CONVOS_KIOSK_SERVERS
  - Passing on exact values to add_user() and add_connection()
  - Use delete_user() the correct way
  - Remove temporary=>1. Need something more clever

  TODO:
  - Figure out a better way to logout an idle user
jhthorsen pushed a commit that referenced this issue Sep 23, 2014
jhthorsen pushed a commit that referenced this issue Sep 24, 2014
jhthorsen pushed a commit that referenced this issue Sep 24, 2014
@jhthorsen jhthorsen removed their assignment Sep 1, 2015
@jhthorsen
Copy link
Collaborator

See also #89

@jhthorsen
Copy link
Collaborator

My idea is to use JWT (JSON web tokens) with enough information for a user to register and automatically join a server/chat room.

The payload of the JWT is a JSON structure with information, such as username, server and dialog/channel name. The signature is a checksum which the server can use to validate the payload. This means that unless the token was generated from a secure party, then Convos (or any JWT party) will reject the whole token.

The last part about "kiosk mode" is that the actual user interface will be stripped down. Like not having any menus. I would do that part by another query parameter, like "?kiosk=1", or maybe even a list of elements to show, like "?kiosk=participants,heading". Using such a parameter will then make convos render nicely inside an iframe.

jhthorsen pushed a commit that referenced this issue Jan 29, 2017
  Example: http://localhost:3000/?hide=header,menu,settings,sidebar

  This can also be set from config. Note that settings this will not
  prevent the user from showing the elements by fiddling with the
  settings. Additional backend code is required to prevent the user from
  doing illegal stuff.
@jhthorsen
Copy link
Collaborator

Closing this in favour of #346. (Because of age)

@jhthorsen jhthorsen removed this from the Backlog milestone Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants