- 22 Feb, 2015 2 commits
-
-
csillag authored
-
csillag authored
When receiving a real-time notification about the removal of an annotation, we emit an annotationDeleted event, so that all components can react. Earlier, we emited this event simply with the Annotation bject that arrived on the wire. However, some components couldn't deal with this, because they were expecting to see the 'real' Annotation object, the ones they already knew about. So now we do a lookup before emiting the event, and use the locally found objects instead.
-
- 20 Feb, 2015 5 commits
-
-
Randall Leeds authored
Standardise on userid
-
Nick Stenning authored
This resource request adds a `user_id` query param. But the corresponding view function doesn't pay any attention to such a parameter, simply inspecting the authenticated userid to work out whose profile to provide: https://github.com/hypothesis/h/blob/15c39c8b58a8800d7a985c1d29b83fbdb6873266/h/accounts/views.py#L254
-
Nick Stenning authored
Disable extremely slow auto-update of ancient timestamps
-
csillag authored
-
csillag authored
When a timestamp is several months old, and we leave the application around (in a forgotten tab) for more than three weeks, the usual method of updating the timestamp fails. This change works around that by maxing out our timeouts at 24 days. (This will simply cause us to check the time in every 24 days.) Fixes #1952. I also moved the 5-second minimum to the same time helper.
-
- 16 Feb, 2015 4 commits
-
-
Nick Stenning authored
Load all annotations
-
Gergely Ujvari authored
To avoid temporary "message not available" cards
-
Gergely Ujvari authored
-
Gergely Ujvari authored
Instead of just one search call (with a fix limit), process the total field from the result of the first load and while there is still more to load, initiate a new search query, with the offset property set to load the remaining ones
-
- 13 Feb, 2015 1 commit
-
-
csillag authored
Fixes #1948.
-
- 12 Feb, 2015 3 commits
-
-
Randall Leeds authored
Fix class names for the cc font icons
-
Aron Carroll authored
-
Aron Carroll authored
Refactor and fix scrolling - except padding
-
- 11 Feb, 2015 8 commits
-
-
csillag authored
Small changes here and there
-
csillag authored
-
csillag authored
-
csillag authored
-
gergely-ujvari authored
Update copy on password reset forms
-
Aron Carroll authored
Now all copy uses language familiar to those wishing to reset their password.
-
csillag authored
-
Randall Leeds authored
This makes the path correct for the rules generated by the icomoon dashboard.
-
- 10 Feb, 2015 7 commits
-
-
csillag authored
-
csillag authored
EnhancedAnchoring plugin: - add `getAnchors()` method - add `scrollIntoView()` method - move some code from the bucket-bar TextHighlight plugin: - get rid of padded scrolling - scrollIntoView() no returns a promise Other: - When we click on an annotation card in the sidebar, we need to go to the anchor in the document. However, the highlight might not exist at this point, so we should look for the Anchor instead. So now we call `scrollIntoView()` onthe anchor. - The same goes when we click the arrows on the bucket bar - Rename `scrollTo` to `scrollIntoView` everywhere.
-
gergely-ujvari authored
Switch two-phase anchoring tests to async
-
csillag authored
-
csillag authored
One of the pains with working with lazy-rendering platforms is that events often happen asynchronously. Now the test suite for two-phased anchoring reflects this constraint better.
-
Aron Carroll authored
Added tests for two-phase anchoring.
-
csillag authored
-
- 09 Feb, 2015 10 commits
-
-
Aron Carroll authored
Add a few test cases for Enhanced Anchoring.
-
csillag authored
API Changes: - Introduce the getAnchors() method - Make chooseAccessPolicy() public. Implementation changes: - Add the reference pointing to the newly created anchor to annotation object right insite the enhanced anchoring plugin, instead of in the Monkey code. - Fix access to the Annotator class Added some test cases for EnhancedAnchoring
-
Nick Stenning authored
Restore functionality to toggle the sidebar
-
Aron Carroll authored
Fix reset password exception.
-
Aron Carroll authored
Also removed a couple of unused event handlers.
-
Aron Carroll authored
This clarifies that the method does not actually show/hide the interface but rather publishes a method across the channel. The host then shows the frame on response from the sidebar.
-
Nick Stenning authored
Hide activation code input on forgotten password form
-
Aron Carroll authored
-
Nick Stenning authored
Add `ALLOWED_ORIGINS` environment config variable
-
Nick Stenning authored
Open Graph protocol metadata added to Annotation view
-