- 29 Apr, 2015 2 commits
-
-
Randall Leeds authored
-
gergely-ujvari authored
Hack around lack of messageThread prototype
-
- 28 Apr, 2015 2 commits
-
-
Randall Leeds authored
Fix #2182
-
Randall Leeds authored
[WIP] Re-add "scroll to new annotation" feature
-
- 27 Apr, 2015 1 commit
-
-
csillag authored
This reverts commit ba68d710b84d2a78426fd6c0ed325e8c40cbbca1.
-
- 22 Apr, 2015 1 commit
-
-
Randall Leeds authored
-
- 19 Apr, 2015 1 commit
-
-
Randall Leeds authored
Logically, it makes sense to prevent double _embedding_ in the embed code. Also, there may come a time when it's acceptable and possible to instantiate the application multiple times for different parts of a document. Finally, this prevents loading CSS and polyfills twice, as well.
-
- 18 Apr, 2015 3 commits
-
-
Randall Leeds authored
This should speed up the stream and ensure that results coming back from the server are not filtered out due to a mismatch between the page search and elasticsearch query treatment.
-
Randall Leeds authored
-
Randall Leeds authored
Close #2175
-
- 17 Apr, 2015 2 commits
-
-
Randall Leeds authored
This change also means that the application actually starts after the `noConflict` calls have erased any trace of Annotator or jQuery from the global object. AnnotationSync was using $.extend. Since I don't want to depend on jQuery in the widget application indefinitely and I don't want to depend on Annotator either there is not a single place to get this function that works in both environments. Instead, a single purpose module from NPM for extend is pulled in. Small modules FTW.
-
Randall Leeds authored
-
- 16 Apr, 2015 14 commits
-
-
Randall Leeds authored
Add a blocklist of sites we don't launch on
-
Jake Hartnell authored
Center icons in toolbar buttons.
-
Randall Leeds authored
Get Promise explicitly through requires
-
Jake Hartnell authored
-
Sean Hammond authored
The blocklist is configured in production.ini like so: h.blocklist = { "seanh.cc": {}, "finance.yahoo.com": {}, "twitter.com": {} } The Chrome extension handles the blocklist in the same way that it handles other launch errors (e.g. when the user hasn't given the extension permission to annotate file:/// URLs): it adds a (!) error badge to the "browser action" button, if the button is clicked again it opens a "help" page saying that the site isn't supported yet. It doesn't seem to be possible to pass data into the Chrome extension's help pages (as far as I can tell) so the error is just "Hypothesis doesn't work on this page yet" and not e.g. "Hypothesis doesn't work on twitter.com". The bookmarklet handles the blocklist in the same way that it handles other launch errors (e.g. trying to annotate a PDF when PDF.js isn't available): it uses window.alert() to show an error.
-
Randall Leeds authored
This eliminates a lot of polyfill cruft. Also, we had two different promise polyfills in the vendor directory (O.o).
-
Randall Leeds authored
-
Randall Leeds authored
-
Randall Leeds authored
Close #2164
-
Randall Leeds authored
This reverts commit 04504dca0b36cffd57d3fd7fe071fd1ef52079b0.
-
Randall Leeds authored
Re-add protection against double deployment
-
csillag authored
-
csillag authored
-
csillag authored
-
- 15 Apr, 2015 1 commit
-
-
Jake Hartnell authored
Rework sidebar drag resize
-
- 10 Apr, 2015 3 commits
-
-
Randall Leeds authored
Fix IE problems
-
Gergely Ujvari authored
-
Gergely Ujvari authored
-
- 09 Apr, 2015 10 commits
-
-
Randall Leeds authored
Now using Hammerjs. - Swipe or drag the toggle to open/close. - The sidebar is clamped to not ever be pushed beyond the right edge of the screen. Fix #305
-
Randall Leeds authored
Oops! That was a mistake. If we disable pointer events on the ancestor, we need to re-enable them below.
-
gergely-ujvari authored
Add docs for serving ssl in development
-
Nick Stenning authored
Show spinner in search bar during requests
-
Randall Leeds authored
This is unnecessary and less obvious than the toggle button, which means it's not worth the egregious fail of preventing interaction with scrollbars, etc.
-
Randall Leeds authored
This has been deemed too clever.
-
Randall Leeds authored
-
Randall Leeds authored
Mobile support
-
Jake Hartnell authored
Android and iOS devices can now create annotations. Obsolete flags on the annotator object are removed.
-
Randall Leeds authored
This places the up/down navigational buckets on a z-plane with the toolbar buttons and ensures that the other buckets pass under them while moving on and off screen.
-