Mike Taylor [Mon, 13 Oct 2014 13:55:09 +0000 (14:55 +0100)]
Fix some XML well-formedness errors.
Mike Taylor [Mon, 13 Oct 2014 13:53:39 +0000 (14:53 +0100)]
Remove extraneous "=" in HTML attributed.
Mike Taylor [Mon, 13 Oct 2014 13:53:06 +0000 (14:53 +0100)]
Add DOCTYPE declaration.
Mike Taylor [Mon, 13 Oct 2014 13:51:20 +0000 (14:51 +0100)]
Completely rewrite mkws-doc.css to provide uniform style.
Mike Taylor [Mon, 13 Oct 2014 13:50:46 +0000 (14:50 +0100)]
Regeneration of HTML from markdown depends on tweak-html script.
Mike Taylor [Mon, 13 Oct 2014 13:50:29 +0000 (14:50 +0100)]
tweak-html now generates HTML in according with the style of ../tools/htdocs/index.html
* Remove extraneous trailing slash from sed rule.
* Insert big MKWS logo at top right.
* Add awk script to wrap headed sections in <div class='pane'>
Mike Taylor [Mon, 13 Oct 2014 12:47:55 +0000 (13:47 +0100)]
Generate HTML using pandoc|tweak-html.
Mike Taylor [Mon, 13 Oct 2014 12:47:41 +0000 (13:47 +0100)]
New file, tweak-html
Mike Taylor [Mon, 13 Oct 2014 11:02:20 +0000 (12:02 +0100)]
Jason Skomorowski [Fri, 10 Oct 2014 23:32:05 +0000 (19:32 -0400)]
Use class instead of id in doc intro example.
Jason Skomorowski [Fri, 10 Oct 2014 18:59:20 +0000 (14:59 -0400)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Jason Skomorowski [Fri, 10 Oct 2014 18:59:04 +0000 (14:59 -0400)]
Fix test for async widget discovery.
Adam Dickmeiss [Fri, 10 Oct 2014 18:27:34 +0000 (20:27 +0200)]
Fix cd doc; make clean + make (does not rebuild) MKWS-286
Rule 'all' now the default rule.
Jason Skomorowski [Thu, 9 Oct 2014 19:02:28 +0000 (15:02 -0400)]
Pass query and "field" to termlist widget MKWS-284
Mike Taylor [Thu, 9 Oct 2014 15:12:11 +0000 (16:12 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Wolfram Schneider [Thu, 9 Oct 2014 15:10:20 +0000 (15:10 +0000)]
cleanup widgets
Wolfram Schneider [Thu, 9 Oct 2014 15:04:58 +0000 (15:04 +0000)]
Merge branch 'screenshot'
Mike Taylor [Thu, 9 Oct 2014 14:55:56 +0000 (15:55 +0100)]
Fix paths.
Mike Taylor [Thu, 9 Oct 2014 14:55:42 +0000 (15:55 +0100)]
List separate documentation files.
Wolfram Schneider [Thu, 9 Oct 2014 14:55:18 +0000 (14:55 +0000)]
add screenshots target
Mike Taylor [Thu, 9 Oct 2014 14:54:12 +0000 (15:54 +0100)]
Reinstate use of source files.
Mike Taylor [Thu, 9 Oct 2014 14:53:28 +0000 (15:53 +0100)]
Mention classes, not identifiers.
Wolfram Schneider [Thu, 9 Oct 2014 14:53:17 +0000 (14:53 +0000)]
cleanup before generating screenshots
Wolfram Schneider [Thu, 9 Oct 2014 14:53:08 +0000 (14:53 +0000)]
reorder URLs
Mike Taylor [Thu, 9 Oct 2014 14:53:04 +0000 (15:53 +0100)]
Remove all headings from the README.
It's short enough now that it doesn't need them.
All that remains is a guide to the subdirectories.
Mike Taylor [Thu, 9 Oct 2014 14:52:21 +0000 (15:52 +0100)]
No need for a separate NEWS section.
Mike Taylor [Thu, 9 Oct 2014 14:52:05 +0000 (15:52 +0100)]
Move "required development tools" section from top-level README into
developer's guide.
Mike Taylor [Thu, 9 Oct 2014 14:51:09 +0000 (15:51 +0100)]
Move "required development tools" section from top-level README into
developer's guide.
Wolfram Schneider [Thu, 9 Oct 2014 14:51:00 +0000 (14:51 +0000)]
atomar screenshot files
Mike Taylor [Thu, 9 Oct 2014 14:47:47 +0000 (15:47 +0100)]
Rewrite for new Debian stable.
Wolfram Schneider [Thu, 9 Oct 2014 14:43:11 +0000 (14:43 +0000)]
sort images by time, oldest first
Wolfram Schneider [Thu, 9 Oct 2014 14:41:19 +0000 (14:41 +0000)]
add /topic.html?q=sushi and /simple.html
Wolfram Schneider [Thu, 9 Oct 2014 14:37:13 +0000 (14:37 +0000)]
better images names
Mike Taylor [Thu, 9 Oct 2014 14:36:29 +0000 (15:36 +0100)]
Clarify non-requirement of Debian.
Wolfram Schneider [Thu, 9 Oct 2014 14:31:51 +0000 (14:31 +0000)]
tune screenshot size
Wolfram Schneider [Thu, 9 Oct 2014 14:28:13 +0000 (14:28 +0000)]
working screenshots, MKWS-276
Mike Taylor [Thu, 9 Oct 2014 14:27:00 +0000 (15:27 +0100)]
Clean up the top-level README
Mike Taylor [Thu, 9 Oct 2014 14:24:07 +0000 (15:24 +0100)]
Redundant
Mike Taylor [Thu, 9 Oct 2014 14:22:54 +0000 (15:22 +0100)]
Update list of what's provided.
Wolfram Schneider [Thu, 9 Oct 2014 14:12:32 +0000 (14:12 +0000)]
generate screenshots of Koha widget in production / marketing, MKWS-276
Wolfram Schneider [Thu, 9 Oct 2014 14:11:56 +0000 (14:11 +0000)]
add timeout argument, part of MKWS-276
Mike Taylor [Thu, 9 Oct 2014 12:39:35 +0000 (13:39 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Thu, 9 Oct 2014 12:39:20 +0000 (13:39 +0100)]
Fix MKWS-283 ("mkws-complete.js doesn't work (though its components do)")
And it's literally a one-character fix.
I added a semi-colon to the end of the
mkws.makeWidget = function() { ... }
assignment. Before commit
f9a645b74a9d07ca99973840ee0ceeb07b3c4a83
there was no need for a semi-colon because the widget constructor was
a global function defined using the
function makeWidget() { ... }
syntax. But now that it's an assignment statement rather than a
function definition, the semi-colon is needed to end the statement.
When mkws-widget.js was included on its own (as it is with all my
testing scripts), that's not a problem. The statement is terminated by
the end of the file (and JavaScript, trying to be "helpful", doesn't
complain about this, but just accepts it silently). But when something
else -- in this case mkws-widget-main.js -- is appended to it, the
interpretation changes, and the concatenations gets parsed as
heaven-knows-what bizarre construct.
Anyway, all is now well: mkws.js, mkws-complete.js and the individual
source files all work.
I guess all this means we ought to be using some kind of lint-like
program on the MKWS source (though IIRC Jason doesn't like JSLint
itself).
Wolfram Schneider [Thu, 9 Oct 2014 12:32:33 +0000 (12:32 +0000)]
indent
Wolfram Schneider [Thu, 9 Oct 2014 12:31:44 +0000 (12:31 +0000)]
indent
Wolfram Schneider [Thu, 9 Oct 2014 12:18:05 +0000 (12:18 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Thu, 9 Oct 2014 12:16:52 +0000 (12:16 +0000)]
disable "Check async widget discovery" test which breaks the jasmine test output
was introduced in
2dc4cb56
Mike Taylor [Thu, 9 Oct 2014 12:11:46 +0000 (13:11 +0100)]
Merge
Wolfram Schneider [Thu, 9 Oct 2014 12:08:45 +0000 (12:08 +0000)]
reorder tests in phantomjs-all
Run the local devel test first, and mkws-complete.js last
Wolfram Schneider [Thu, 9 Oct 2014 12:06:43 +0000 (12:06 +0000)]
Mike Taylor [Thu, 9 Oct 2014 11:51:51 +0000 (12:51 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Thu, 9 Oct 2014 11:50:29 +0000 (12:50 +0100)]
Ignore handlebars-v2.0.0.js rather than the old handlebars-v1.3.0.js
Mike Taylor [Thu, 9 Oct 2014 11:49:37 +0000 (12:49 +0100)]
Reorder the files that make up mkws.js
Wolfram Schneider [Thu, 9 Oct 2014 11:48:47 +0000 (13:48 +0200)]
simplify code, and test with tools/htdocs/mkws-complete.js, MKWS-282
Wolfram Schneider [Thu, 9 Oct 2014 11:39:50 +0000 (11:39 +0000)]
Improve detection of failures, part of MKWS-282
1. count number of failed tests
2. check if we run tests at all
Mike Taylor [Thu, 9 Oct 2014 10:15:59 +0000 (11:15 +0100)]
Wording tweak.
Mike Taylor [Wed, 8 Oct 2014 10:35:20 +0000 (11:35 +0100)]
Fix MKWS-280: We should not define globals named "widget" and "team".
Rename the widget function to mkws.makeWidget
Mike Taylor [Wed, 8 Oct 2014 10:25:40 +0000 (11:25 +0100)]
Rename the widget function to makeWidget
Jason Skomorowski [Tue, 7 Oct 2014 19:46:42 +0000 (15:46 -0400)]
A local-only path accidentally found its way into a demo.
Jason Skomorowski [Tue, 7 Oct 2014 19:14:21 +0000 (15:14 -0400)]
Move termlist hiding to CSS MKWS-258
Mike Taylor [Tue, 7 Oct 2014 16:57:35 +0000 (17:57 +0100)]
Set the "record" callback whenever "records" is subscribed, since the
former only gets subscribed from the latter's callback.
Mike Taylor [Tue, 7 Oct 2014 16:30:21 +0000 (17:30 +0100)]
Simplify logic for establishing onTerm callback.
Mike Taylor [Tue, 7 Oct 2014 16:28:14 +0000 (17:28 +0100)]
Fix MKWS-272 ("Do not make unnecessary SP/PP2 requests")
Only set PZ2 callback for operations that we actually use. We
determine this by checking whether relevant events have been
subscribed to. (Actually, due to the way event queueing is
implemented, we also get a positive for events that have been
published, even if not subscribed to. But (A) that's going to be very
rare, and (B) even if were to happen, it would fail safe by setting up
unneeded callbacks rather than failing to set up needed ones.)
Mike Taylor [Tue, 7 Oct 2014 16:21:33 +0000 (17:21 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Jason Skomorowski [Tue, 7 Oct 2014 16:17:15 +0000 (12:17 -0400)]
Update Handlebars to 2.0.0
Jason Skomorowski [Tue, 7 Oct 2014 14:43:34 +0000 (10:43 -0400)]
Deprecate very backwards compatibility.
Mike Taylor [Tue, 7 Oct 2014 13:21:39 +0000 (14:21 +0100)]
pz2 object is now created from contructed parameter array.
Mike Taylor [Tue, 7 Oct 2014 13:19:07 +0000 (14:19 +0100)]
Private member variable "queues" renamed "m_queues".
(It should always have been this.)
Mike Taylor [Tue, 7 Oct 2014 12:01:05 +0000 (13:01 +0100)]
expandValue demoted from a member function to a private function.
(It's never called outside of the widget object.)
Mike Taylor [Tue, 7 Oct 2014 11:23:41 +0000 (12:23 +0100)]
Move mkaePz2 function down the file.
Mike Taylor [Tue, 7 Oct 2014 11:22:58 +0000 (12:22 +0100)]
Indent
Mike Taylor [Tue, 7 Oct 2014 11:04:36 +0000 (12:04 +0100)]
Make PZ2 objects only after walking the whole node tree.
Mike Taylor [Tue, 7 Oct 2014 10:54:27 +0000 (11:54 +0100)]
Explicitly call makePz2() on freshly created teams.
Mike Taylor [Tue, 7 Oct 2014 10:54:06 +0000 (11:54 +0100)]
The team constructor no longer creates its own pz2 object.
New comment at the head of the file explains that makePz2() must be called.
Mike Taylor [Tue, 7 Oct 2014 10:49:33 +0000 (11:49 +0100)]
Creation of the pz2 object is now done in the makePz2 function, which
is now invoked only at the very end of the constructor.
Jason Skomorowski [Tue, 7 Oct 2014 01:49:29 +0000 (21:49 -0400)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Jason Skomorowski [Tue, 7 Oct 2014 01:48:37 +0000 (21:48 -0400)]
Refine facet behavior in the Topic demo MKWS-277
Mike Taylor [Mon, 6 Oct 2014 16:12:41 +0000 (17:12 +0100)]
team() function is now mkws.makeTeam().
We don't want to put anything but "mkws" in the top-level namespace.
Also the new name is more explicit about what's happening.
Mike Taylor [Mon, 6 Oct 2014 16:12:36 +0000 (17:12 +0100)]
team() function is now mkws.makeTeam().
We don't want to put anything but "mkws" in the top-level namespace.
Also the new name is more explicit about what's happening.
Mike Taylor [Mon, 6 Oct 2014 16:11:31 +0000 (17:11 +0100)]
Repurposed as a reference.html-alike.
Wolfram Schneider [Mon, 6 Oct 2014 11:30:03 +0000 (11:30 +0000)]
stick to cssstyle <= 0.2.14
0.2.15 fails for us
Wolfram Schneider [Mon, 6 Oct 2014 11:16:16 +0000 (11:16 +0000)]
The company name is: Index Data
Mike Taylor [Fri, 3 Oct 2014 19:57:25 +0000 (20:57 +0100)]
Use "Index Data", not "IndexData".
Mike Taylor [Fri, 3 Oct 2014 16:11:28 +0000 (17:11 +0100)]
Fix MKWS-230 "We're STILL re-using inappropriate SP sessions within the same tab"
Correct handling of session tokens (which are randomly generated in
each new tab/window, then re-used in that tab/window until it's
closed) combined with the hostname and path from the current URL.
Mike Taylor [Fri, 3 Oct 2014 16:03:59 +0000 (17:03 +0100)]
Move window.name assignment down after all the function definitions.
Mike Taylor [Fri, 3 Oct 2014 16:00:43 +0000 (17:00 +0100)]
Towards better cookie names.
Jason Skomorowski [Thu, 2 Oct 2014 20:01:07 +0000 (16:01 -0400)]
Remove spurious debug.
Mike Taylor [Thu, 2 Oct 2014 12:49:42 +0000 (13:49 +0100)]
Use mkws.$, not regular-ass $.
Mike Taylor [Thu, 2 Oct 2014 09:57:10 +0000 (10:57 +0100)]
Rename topic-bootstrap.html to topic.html
Mike Taylor [Thu, 2 Oct 2014 09:56:15 +0000 (10:56 +0100)]
Rename topic-bootstrap.css to topic.css
Mike Taylor [Thu, 2 Oct 2014 09:55:56 +0000 (10:55 +0100)]
Use topic.css instead of topic-bootstrap.css
Mike Taylor [Wed, 1 Oct 2014 13:01:44 +0000 (14:01 +0100)]
Looking at the git history, it seems that the reason ref-bootstrap.html went away is that we're supposed to use topic-bootstrap.html instead. That is rather less broken, so I will re-remove ref-bootstrap.html from the repo, and work on getting topic-bootstrap.html working properly.
Mike Taylor [Wed, 1 Oct 2014 12:41:56 +0000 (13:41 +0100)]
Empty mkws_config.
Mike Taylor [Wed, 1 Oct 2014 07:10:18 +0000 (07:10 +0000)]
Add comment to top-level Makefile on how to get npm into the PATH
Mike Taylor [Wed, 1 Oct 2014 06:57:02 +0000 (07:57 +0100)]
Replace outdated service_proxy_auth with sp_auth_credentials
Mike Taylor [Wed, 1 Oct 2014 06:56:15 +0000 (07:56 +0100)]
Not sure what happened to ref-bootstrap.html, but when I went to fix
its authentication, it was gone from the master branch. Perhaps it
somehow got annihilated in the merge from templateallthemarkup.
Anyway, I have restored it from the live version on caliban.
Mike Taylor [Tue, 30 Sep 2014 16:07:51 +0000 (17:07 +0100)]
Include empty SRU widget.
Mike Taylor [Tue, 30 Sep 2014 16:07:44 +0000 (17:07 +0100)]
New, empty SRU widget.
Mike Taylor [Tue, 30 Sep 2014 15:54:39 +0000 (16:54 +0100)]
Fix HTML comment.
Mike Taylor [Tue, 30 Sep 2014 15:54:11 +0000 (16:54 +0100)]
"all" target depends on "setup", not the other way around.