- 05 Mar, 2015 1 commit
-
-
Gergely Ujvari authored
-
- 02 Mar, 2015 2 commits
-
-
Randall Leeds authored
Fix og:title output; Handle list or string value
-
Randall Leeds authored
Browserify ALL THE THINGS
-
- 28 Feb, 2015 1 commit
-
-
Randall Leeds authored
Use key derivation to provide secret keys
-
- 26 Feb, 2015 9 commits
-
-
Randall Leeds authored
Add worker runner (hypothesis-worker)
-
Nick Stenning authored
Travis is being especially slow at the moment.
-
csillag authored
This brings bugfixes for infinite loop on FF. Fixes 1983.
-
gergely-ujvari authored
Fix notifications
-
Nick Stenning authored
Use karma-browserify to run the tests, rather than relying on prebuilt assets. This commit alters our test harness so that it no longer relies (at all) on the webassets pipeline. This means: - test isolation is improved, as each test file runs in its own module - bringing objects into test scope is now simply a matter of requiring the correct module, rather than bolting more and more objects onto the Annotator namespace - autoreloading of tests when either test files or their dependencies are modified is now possible (and enabled by default)
-
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.
-
BigBlueHat authored
-
Nick Stenning authored
Use a singular time expression one year
-
- 25 Feb, 2015 3 commits
-
-
Randall Leeds authored
Close #1973
-
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 2 commits