Skip to content
Snippets Groups Projects
  1. Jul 29, 2015
  2. Jul 28, 2015
  3. Jul 27, 2015
  4. Jul 22, 2015
  5. Jul 18, 2015
  6. Jul 14, 2015
  7. Jul 07, 2015
  8. Jul 06, 2015
  9. Jun 28, 2015
  10. Jun 25, 2015
  11. Jun 24, 2015
  12. Jun 17, 2015
    • Daniel Gerhardt's avatar
      Merge branch 'feature_session_info' into 'master' · 6743bf1d
      Daniel Gerhardt authored
      WE Offshore Sprint: Session Info Feature
      
      We had the task to implement a Session-Info Form, where the speaker
      could add more information to a session, which is already created or to
      add more information to a session which is created at that moment.
      
      Therefore we needed to use the update Method and change some code in the
      backend as well:
      
      1. Changed **updateSession** Method in SessionService
        * First: we get the session that should be updated from the DB with
          the getSessionFromKeyword-Method
        * Second: we update the values of the session with the new values that
          were entered
        * Third: we check the logo just like in the saving Method of a session
        * we return the updated session
      2. Changed **getSessionFromKeyword** Method in CouchDBDao
        * We added these fields, so that they are also fetched:
           * ppAuthorName
           * ppAuthorMail
           * ppUniversity
           * ppLogo
           * ppSubject
           * ppLicense
           * ppDescription
           * ppFaculty
           * ppLevel
      
      See merge request !7
      6743bf1d
  13. Jun 12, 2015
  14. Jun 10, 2015
  15. Jun 09, 2015
  16. Jun 08, 2015
  17. Jun 06, 2015
  18. Jun 03, 2015
    • Daniel Gerhardt's avatar
      Merge branch 'pagination' · d89102ea
      Daniel Gerhardt authored
      This merge introduces pagination for lists of sessions (user specific:
      owned and visited), interposed questions and free text answers and skill
      questions. While the first three are paginated through the database,
      skill questions are paginated in memory so caching is still possible.
      
      Frontend usage
      
      To enable pagination, new HTTP headers based on RFC 7233 have been
      introduced:
      
      Request: Range: items=<start>-<end>, e.g. Range: items=0-9
      Response: Content-Range: items <start>-<end>/<total>, e.g. Content-Range: items 0-9/42
      
      Since it is not possible to determine the total count of items via
      CouchDB w/o performance losses, it is currently only set accurately for
      skill questions. In other cases total is set to -1.
      
      Backend usage
      
      Pagination support can be added to controllers by extending the newly
      introduced PaginationController. Additionally, applicable methods have
      to be marked with the @Pagination annotation so the Range header is
      parsed and the Content-Range header is set for responses. Pagination
      parameters are accessible in the controller through the offset and limit
      fields. If pagination on the DBAL is not possible, lists can be wrapped
      with PaginationListDecorator<T> to enable in memory pagination.
      
      See merge request !3
      d89102ea
    • Daniel Gerhardt's avatar
      cc0fd7a3
    • Daniel Gerhardt's avatar
      Add pagination related Javadoc · 29fb6677
      Daniel Gerhardt authored
      29fb6677
    • Andreas Gärtner's avatar