- 26 Feb, 2015 2 commits
-
-
Nick Stenning authored
-
Nick Stenning authored
This includes files that need to be shimmed under the "browserify-shim" key. Annotator plugins that have no dependencies do not need to be shimmed at the moment as they just attach themselves to the global Annotator object. jQuery is assigned as a global, this means that it is assumed to be included separately and bound to the global scope. Both jQuery and Annotator have aliases under the "browsers" key to make them easier to reference.
-
- 25 Feb, 2015 2 commits
-
-
csillag authored
Removing some obsolete conditional code, which was necessary for some obsolete version of PDF.js. Fortunately, by now, all supported versions of PDF.js uses the same data format, so this workaround can go.
-
csillag authored
Earlier, on some versions of PDF.js, we used to use the PDF.js's FindController as a data source for the text extraction. However, at some point, we stopped using the routines shipped with it, since it didn't always provide use adequate spacing between the various pieces of texts. So we ended up just contenating the various pieces of text ourselves. Then, for new versions of PDF.js, we introduced other means of accessing the same information, completely bypassing the PDFFindController. This change simply unifies the access; now we can do the same an all PDF.js versions.
-
- 24 Feb, 2015 2 commits
-
-
Nick Stenning authored
Allow using the API as a virtual root
-
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.
-