Skip to content
Snippets Groups Projects
  1. Jul 08, 2013
  2. Jun 13, 2013
  3. Jun 12, 2013
  4. Jun 11, 2013
    • Paul-Christian Volkmer's avatar
      Do not store login in database · 64d96416
      Paul-Christian Volkmer authored
      This patch uses an in memory storage of logged in users. Every time
      users send a (online) heartbeat the last known active timestamp of all
      users will be checked and inactive users will be removed from active
      user list.
      64d96416
  5. Jun 05, 2013
    • Paul-Christian Volkmer's avatar
      Added event based system to recieve and catch events · 86cd815e
      Paul-Christian Volkmer authored
      This could be used to send data via websockets without searching
      sessionIDs or user tables within ARSnova.
      
      Simply publish an event with ARSnova-sessionKey from within the
      application.
      86cd815e
    • Paul-Christian Volkmer's avatar
      Add UserSessionAspect aspect · 94888c17
      Paul-Christian Volkmer authored
      This sets current user and ARSnova session information in a session
      scoped service bean. If the user connects with a websocket, the
      websocket session ID will be set in addition to the user and session
      object.
      
      The aspects methods pointcut after returning from joinSession() method
      in SessionService. So the UserSessionService will be set with all needed
      data after a user successfully joins a session.
      
      With this service available, it can be used to replace some usage of
      Array/Map based application wide data structures that cause some trouble
      when stopping or redeploying the application.
      94888c17
  6. Jun 04, 2013