Skip to content
Snippets Groups Projects
  1. Jun 25, 2015
  2. Jun 24, 2015
  3. 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
  4. Jun 12, 2015
  5. Jun 10, 2015
  6. Jun 09, 2015
  7. Jun 08, 2015
  8. Jun 06, 2015
  9. Jun 03, 2015
  10. Jun 01, 2015
  11. May 28, 2015
  12. May 27, 2015
  13. May 26, 2015
    • Christoph Thelen's avatar
      Merge branch 'caching-fixes' into 'master' · 97a0aaa1
      Christoph Thelen authored
      Caching fixes
      
      This PR fixes some caching bugs:
      
      * Cached methods have been called locally inside of `CouchDBDao`. The caching proxy was bypassed in these cases. All public methods (even those not involved in caching) are now called on the proxy instance. The here provided implementation is not optimal since it goes against SoC but can serve as a temporary fix. A better solution might involve AspectJ's weaving.
      
      * A wrong key for cache eviction has been used for `NewAnswerEvent` in `CacheBuster`.
      
      See merge request !2
      97a0aaa1
    • Christoph Thelen's avatar
      Merge branch 'cacheevict-optimization' into 'master' · 03dd73c9
      Christoph Thelen authored
      CacheEvict optimization
      
      Currently, in a lot of places the whole cache is cleared when only a single entry changes. Even completely unrelated caches are sometimes unnecessarily cleared.
      
      This PR adds `key` and `condition` elements to the annotations and replaces the `allEntries` element where possible.
      
      There is still room for additional optimizations but these require some refactoring. For now, the related code locations have been commented on to keep track of them.
      
      The last commit of this PR might be obsoleted later by [GH16](https://github.com/thm-projects/arsnova-backend/pull/16). But for now it should massively increase the effectiveness of answer statistics caching.
      
      See merge request !1
      03dd73c9
  14. May 25, 2015