1. 30 Apr, 2014 5 commits
    • Randall Leeds's avatar
      Avoid a race condition with session-based auth · d52868f1
      Randall Leeds authored
      Don't send a new search request until the logout request has returned.
      d52868f1
    • Randall Leeds's avatar
      Fetch api tokens in a separate request · ccbb67be
      Randall Leeds authored
      Instead of sending a token with the application view (which is really
      more of a session state view), fetch it separately using the tokenUrl
      option of the Auth plugin. Account for the case where known personas
      could change in the future without invalidating the current persona
      and reset the Auth plugin whenever the persona in use changes. Use the
      persona parameter to the token endpoint to get the appropriate token.
      ccbb67be
    • Randall Leeds's avatar
      Fix error introduced with previous commit · 5edd74ee
      Randall Leeds authored
      The refresh function is not defined in the scope it's called in which
      is why the event is necessary. However, unlike the original, the app
      scope is used instead of the root scope because there's no need to
      dispatch from the root scope here.
      5edd74ee
    • Randall Leeds's avatar
      Refactor to make skipAuthChangeReload unnecessary · 3f88c11f
      Randall Leeds authored
      Since the token changes whenever the list of personas changes just
      refactor the logic in the token watcher to cause exactly one search
      to happen when the token changes without consulting a separate
      property, simply by checking the tool state.
      3f88c11f
    • Randall Leeds's avatar
      2dee3f79
  2. 28 Apr, 2014 1 commit
  3. 24 Apr, 2014 9 commits
  4. 21 Apr, 2014 2 commits
  5. 20 Apr, 2014 3 commits
  6. 17 Apr, 2014 1 commit
  7. 16 Apr, 2014 4 commits
  8. 14 Apr, 2014 2 commits
  9. 13 Apr, 2014 1 commit
  10. 11 Apr, 2014 2 commits
  11. 10 Apr, 2014 1 commit
  12. 06 Apr, 2014 1 commit
  13. 05 Apr, 2014 2 commits
  14. 02 Apr, 2014 6 commits
    • gergely-ujvari's avatar
      Realtime update added replies to Document view · d4cd5350
      gergely-ujvari authored
      Since, for document view to had to add the new annotation manually to the rootScope.annotations, we have forgotten to check whether is it a reply or not.
      Now replies are not added. The original error also went away when the view(scope) was changed.
      d4cd5350
    • Randall Leeds's avatar
      whitespace · 584a8b13
      Randall Leeds authored
      584a8b13
    • Randall Leeds's avatar
      Handle SCE better with custom base URI · 7416489e
      Randall Leeds authored
      When we deploy as an extension the application baseURI is the URL
      of the backend, rather than the extension. As a result, templates
      are relative to this location. Even though we inline the templates
      in the extension bundle, we have to ensure the compilation isn't
      blocked by strict contextual escaping.
      7416489e
    • gergely-ujvari's avatar
      Restore search ability for replies · 82c99c64
      gergely-ujvari authored
      When we sacked the scope search facets and rely on rootScope.annotations the replies were no longer tested as possible search results. It is now restored.
      82c99c64
    • Randall Leeds's avatar
      Don't try to flash messages on null host page · 67aa628f
      Randall Leeds authored
      This was causing a race condition on app startup. Now, the worst that
      happens is the flash message shows in the sidebar.
      67aa628f
    • gergely-ujvari's avatar
      Call applySort() at the startup · 275651a0
      gergely-ujvari authored
      If not doing this the rootScope.predicate etc. variables are not set and angular silently fails sorting
      
      Fixes #1150
      275651a0