- 06 Mar, 2015 11 commits
-
-
Nick Stenning authored
Make threads start collapsed. This is possible because it now doesn't affect the visibility of top-level cards.
-
Nick Stenning authored
The meaning of "collapsed" in the context of a thread was immensely confusing: - on a top-level annotation card it referred to whether replies were or were not shown - on a reply, it referred to whether or not the entire annotation was hidden This change removes all reference to the latter meaning. Annotations (and replies) are still hidden appropriately when searches are performed, but now collapsing and uncollapsing refers only to the visibility of the *replies* of the addressed thread.
-
Nick Stenning authored
With the viewer template managing the root container, this is no longer necessary.
-
Nick Stenning authored
-
Nick Stenning authored
This stops thread cards with no replies changing in height when clicked.
-
Nick Stenning authored
Also removes one unnecessary ng-hide directive.
-
Nick Stenning authored
Accoring to the thread directive options this component is optional. It is, however, used extensively by the directive template. This isn't a nice fix, but it does make it possible for the thread tests to pass.
-
Nick Stenning authored
The thread directive is doing rather a lot: - rendering a list of cards - rendering a card - rendering a reply within a card This change relieves the thread directive of the first of these responsibilities.
-
Nick Stenning authored
The require'd 'thread' controller is not used.
-
Randall Leeds authored
Move frontend tests alongside tested modules
-
Randall Leeds authored
Use argparse to implement the main hypothesis CLI
-
- 05 Mar, 2015 4 commits
-
-
Nick Stenning authored
Set the base path for the karma test runner to h/static/scripts. The only slight subtlety here is that client templates are now keyed by their basename: loading them from above the base path results in the paths being absolute when they get to ng-html2js-preprocessor, so stripPrefix doesn't work.
-
Nick Stenning authored
This commit moves our frontend unit tests into 'test' folders alongside the modules they are intended to test. Makes frontend tests consistent with Python tests as of 161baf9.
-
Randall Leeds authored
Change 'yesterday' timestamp to 'a day ago'
-
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 2 commits
-
-
csillag authored
-
Randall Leeds authored
Standardise on userid
-