- 24 Feb, 2015 1 commit
-
-
Nick Stenning authored
Add highlight test and change scrolling
-
- 23 Feb, 2015 3 commits
- 22 Feb, 2015 3 commits
-
-
gergely-ujvari authored
Fix real-time delete
-
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 6 commits
-
-
csillag authored
-
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.
-
- 18 Feb, 2015 1 commit
-
-
csillag authored
The goal of this change is to avoid any false appearance that we are implementing the proposed scrollIntoView() API [1], while we clearly don't. So, changes: - Rename scrollIntoView to scrollToView on both Anchor and Highlight - Stop returning promises at both methods I also updated all the tests to reflect this change. [1] http://dev.w3.org/csswg/cssom-view/#dom-element-scrollintoview
-
- 17 Feb, 2015 1 commit
-
-
csillag authored
-
- 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
-
- 14 Feb, 2015 2 commits
- 13 Feb, 2015 3 commits
- 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 5 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.
-