1. 26 Mar, 2018 1 commit
  2. 21 Feb, 2018 4 commits
  3. 20 Feb, 2018 3 commits
  4. 19 Feb, 2018 8 commits
  5. 18 Feb, 2018 1 commit
  6. 16 Feb, 2018 7 commits
  7. 15 Feb, 2018 1 commit
    • Sheetal Umesh Kumar's avatar
      Get the list of groups from the new endpoint and update it wherever applicable. · 36c46608
      Sheetal Umesh Kumar authored
      Fetch the list of groups from the new `/api/groups` endpoint instead of
      using the groups list returned in the `/api/profile` result. This
      supports providing the current document URI as a parameter, which
      enables the server to change the list of open groups returned depending
      on the current URL.
      
      In order to update the groups list correctly, taking into account the
      current document URI, when the user joins or leaves a group, the
      `streamer` service now handles "session change" notifications by
      triggering a re-fetch of groups from the `/api/groups` endpoint instead
      of updating the groups directly from the payload of the WebSocket
      message.
      Co-authored-by: 's avatarRobert Knight <robertknight@gmail.com>
      36c46608
  8. 13 Feb, 2018 4 commits
  9. 12 Feb, 2018 4 commits
    • Robert Knight's avatar
      Fix AnnotationController#delete test failure · e68aa1ab
      Robert Knight authored
      Fix a test failure due to a subtle issue with the interaction between
      the `$q` service, `AnnotationController#delete` and `$timeout.flush` in
      tests.
      
      Instantiating the rejected promise _before_ calling `$timeout.flush`
      resulted in Angular's unhandled promise checking code being triggered
      in the test.
      e68aa1ab
    • Robert Knight's avatar
      Fix "multilink" error in Angular 1.6.9 · 9d73f6d2
      Robert Knight authored
      Fix occurrences of a "multilink" [1] error during test for the
      annotation save button.
      
      Replace calls to the link function with direct assignments to controller
      properties.
      
      [1] https://code.angularjs.org/1.6.9/docs/error/$compile/multilink
      9d73f6d2
    • Robert Knight's avatar
      Update to Angular 1.6.9 · 50bd5d66
      Robert Knight authored
      The main change that affects us is that component inputs/bindings are no
      longer available as controller properties in the constructor by default.
      Instead this logic should go in a controller's `$onInit` method.
      
      In this commit use the `$compileProvider.preAssignBindingsEnabled`
      compatibility helper which preserves the Angular <= 1.5 behavior. This
      is being removed in Angular 1.7.
      50bd5d66
    • Robert Knight's avatar
      Fix spinner animation · 19ff5532
      Robert Knight authored
      `@keyframes($name)` is not legal syntax. I'm unsure if this ever worked
      in the past in older browsers or if it was previously converted by a
      post-processor to valid syntax.
      19ff5532
  10. 09 Feb, 2018 1 commit
  11. 06 Feb, 2018 1 commit
    • Robert Knight's avatar
      Refactor export of bound selectors from Redux store · dcf77f92
      Robert Knight authored
      Group the selectors in each Redux module together in a `selectors`
      object so they can be re-exported as methods on the Redux store without
      having to list each of them manually.
      
      This also just makes it easier to visually see which exported functions
      from a Redux module are selectors.
      dcf77f92
  12. 30 Jan, 2018 4 commits
  13. 29 Jan, 2018 1 commit