mkws-moved-to-github.git
10 years agoTweaks to Jason's fine templating documentation.
Mike Taylor [Wed, 15 Oct 2014 10:08:54 +0000 (11:08 +0100)]
Tweaks to Jason's fine templating documentation.

10 years agodocument test cases
Wolfram Schneider [Wed, 15 Oct 2014 09:27:32 +0000 (11:27 +0200)]
document test cases

10 years agoget the page running again
Wolfram Schneider [Wed, 15 Oct 2014 09:23:42 +0000 (11:23 +0200)]
get the page running again

10 years agoget the page running again
Wolfram Schneider [Wed, 15 Oct 2014 09:18:12 +0000 (11:18 +0200)]
get the page running again

- new template URLs
- SP auth changes

10 years agoDocument templating MKWS-279
Jason Skomorowski [Wed, 15 Oct 2014 01:21:03 +0000 (21:21 -0400)]
Document templating MKWS-279

10 years agoConsolidate core templates in mkws.templates directory. MKWS-279
Jason Skomorowski [Tue, 14 Oct 2014 18:55:06 +0000 (14:55 -0400)]
Consolidate core templates in mkws.templates directory. MKWS-279

10 years agoRemove obsolete line.
Mike Taylor [Tue, 14 Oct 2014 16:01:41 +0000 (17:01 +0100)]
Remove obsolete line.

10 years agoBring <script> of tiny sample application onto a single line.
Mike Taylor [Tue, 14 Oct 2014 16:00:57 +0000 (17:00 +0100)]
Bring <script> of tiny sample application onto a single line.

10 years agoAdd links to PDF versions of documentation.
Mike Taylor [Tue, 14 Oct 2014 15:59:55 +0000 (16:59 +0100)]
Add links to PDF versions of documentation.

10 years agoFix MKWS-286.
Mike Taylor [Tue, 14 Oct 2014 15:57:55 +0000 (16:57 +0100)]
Fix MKWS-286.

mkws/docs/Makefile now compiles HTML and PDF files directly into
../tools/htdocs instead of building local copies, and installing them
where they're needed using a separate "make install".

10 years agoIgnore generated PDFs.
Mike Taylor [Tue, 14 Oct 2014 15:56:57 +0000 (16:56 +0100)]
Ignore generated PDFs.

10 years agoReorder
Mike Taylor [Tue, 14 Oct 2014 15:56:40 +0000 (16:56 +0100)]
Reorder

10 years agoObsolete
Mike Taylor [Tue, 14 Oct 2014 15:55:28 +0000 (16:55 +0100)]
Obsolete

10 years agoRemove extraneous close-comment.
Mike Taylor [Tue, 14 Oct 2014 15:53:42 +0000 (16:53 +0100)]
Remove extraneous close-comment.

10 years agoComment on Debian packages required for PDFs.
Mike Taylor [Tue, 14 Oct 2014 15:53:18 +0000 (16:53 +0100)]
Comment on Debian packages required for PDFs.

10 years agoGet rid of rules to make a .odt -- who needs that?
Mike Taylor [Tue, 14 Oct 2014 15:51:23 +0000 (16:51 +0100)]
Get rid of rules to make a .odt -- who needs that?

10 years agoAdd "Options indexes" to /releases/ area.
Mike Taylor [Tue, 14 Oct 2014 12:57:37 +0000 (13:57 +0100)]
Add "Options indexes" to /releases/ area.

10 years agoAdd link to mkws-jquery.js
Mike Taylor [Tue, 14 Oct 2014 12:57:14 +0000 (13:57 +0100)]
Add link to mkws-jquery.js

10 years agoTrip tools/htdocs/README to the bone.
Mike Taylor [Tue, 14 Oct 2014 12:54:24 +0000 (13:54 +0100)]
Trip tools/htdocs/README to the bone.
It's only of interest to developers.

10 years agoAdd link to developer guide.
Mike Taylor [Tue, 14 Oct 2014 12:49:13 +0000 (13:49 +0100)]
Add link to developer guide.

10 years agoRemove obsolete section on SP service on mkws.indexdata.com
Mike Taylor [Tue, 14 Oct 2014 12:47:51 +0000 (13:47 +0100)]
Remove obsolete section on SP service on mkws.indexdata.com

10 years agoAdd links to mentions of local jQuery and jQuery-JSON.
Mike Taylor [Tue, 14 Oct 2014 12:46:14 +0000 (13:46 +0100)]
Add links to mentions of local jQuery and jQuery-JSON.

10 years agoUpdated version of Handlebars.
Mike Taylor [Tue, 14 Oct 2014 12:44:37 +0000 (13:44 +0100)]
Updated version of Handlebars.

10 years agoMention local jQuery and jQuery-JSON files.
Mike Taylor [Tue, 14 Oct 2014 12:43:39 +0000 (13:43 +0100)]
Mention local jQuery and jQuery-JSON files.

10 years agoRemove introduction (which duplicated material in index.markdown)
Mike Taylor [Tue, 14 Oct 2014 12:43:20 +0000 (13:43 +0100)]
Remove introduction (which duplicated material in index.markdown)
Remove list of available files, now merged into the index.markdown list.

10 years agoid -> class
Mike Taylor [Tue, 14 Oct 2014 12:40:38 +0000 (13:40 +0100)]
id -> class

10 years agoStyle copyright statement.
Mike Taylor [Tue, 14 Oct 2014 11:02:10 +0000 (12:02 +0100)]
Style copyright statement.

10 years agoRemove explicit styling from copyright statement.
Mike Taylor [Tue, 14 Oct 2014 11:02:00 +0000 (12:02 +0100)]
Remove explicit styling from copyright statement.

10 years agoSuperseded by ../../doc/index.markdown
Mike Taylor [Tue, 14 Oct 2014 10:56:51 +0000 (11:56 +0100)]
Superseded by ../../doc/index.markdown

10 years agoAdd horizontal rule before copyright statement.
Mike Taylor [Tue, 14 Oct 2014 10:56:11 +0000 (11:56 +0100)]
Add horizontal rule before copyright statement.

10 years agoAdd horizontal line before attribution/copyright.
Mike Taylor [Tue, 14 Oct 2014 10:51:42 +0000 (11:51 +0100)]
Add horizontal line before attribution/copyright.

10 years agoAdd CSS rule to remove logo from top right of first pane.
Mike Taylor [Tue, 14 Oct 2014 10:47:18 +0000 (11:47 +0100)]
Add CSS rule to remove logo from top right of first pane.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Mon, 13 Oct 2014 16:02:20 +0000 (17:02 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

10 years agoIgnore generated index.html
Mike Taylor [Mon, 13 Oct 2014 16:01:57 +0000 (17:01 +0100)]
Ignore generated index.html

10 years agoIgnore generated index.html, ODT and PDF.
Mike Taylor [Mon, 13 Oct 2014 16:01:36 +0000 (17:01 +0100)]
Ignore generated index.html, ODT and PDF.

10 years agoAdd index.markdown->HTML to the various macros.
Mike Taylor [Mon, 13 Oct 2014 16:01:03 +0000 (17:01 +0100)]
Add index.markdown->HTML to the various macros.

10 years agoNew file, index.markdown, compiles to an index.html very similar to
Mike Taylor [Mon, 13 Oct 2014 16:00:28 +0000 (17:00 +0100)]
New file, index.markdown, compiles to an index.html very similar to
the old hand-written one. (Last bits of style harmonisation not quite
complete, but the big stuff is done.)

10 years agoOnly H1 and H2 introduce a new pane.
Mike Taylor [Mon, 13 Oct 2014 15:35:04 +0000 (16:35 +0100)]
Only H1 and H2 introduce a new pane.
(So multiple H3 section can be contained in one.)

10 years agoDon't blockquote the code sample.
Mike Taylor [Mon, 13 Oct 2014 15:25:18 +0000 (16:25 +0100)]
Don't blockquote the code sample.
Makes HTML match what pandoc emits.

10 years agoMove index.html to old-index.html, as we will be generating index.html from MarkDown
Mike Taylor [Mon, 13 Oct 2014 14:40:34 +0000 (15:40 +0100)]
Move index.html to old-index.html, as we will be generating index.html from MarkDown

10 years agoFix some XML well-formedness errors.
Mike Taylor [Mon, 13 Oct 2014 13:55:09 +0000 (14:55 +0100)]
Fix some XML well-formedness errors.

10 years agoRemove extraneous "=" in HTML attributed.
Mike Taylor [Mon, 13 Oct 2014 13:53:39 +0000 (14:53 +0100)]
Remove extraneous "=" in HTML attributed.

10 years agoAdd DOCTYPE declaration.
Mike Taylor [Mon, 13 Oct 2014 13:53:06 +0000 (14:53 +0100)]
Add DOCTYPE declaration.

10 years agoCompletely rewrite mkws-doc.css to provide uniform style.
Mike Taylor [Mon, 13 Oct 2014 13:51:20 +0000 (14:51 +0100)]
Completely rewrite mkws-doc.css to provide uniform style.

10 years agoRegeneration of HTML from markdown depends on tweak-html script.
Mike Taylor [Mon, 13 Oct 2014 13:50:46 +0000 (14:50 +0100)]
Regeneration of HTML from markdown depends on tweak-html script.

10 years agotweak-html now generates HTML in according with the style of ../tools/htdocs/index...
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'>

10 years agoGenerate HTML using pandoc|tweak-html.
Mike Taylor [Mon, 13 Oct 2014 12:47:55 +0000 (13:47 +0100)]
Generate HTML using pandoc|tweak-html.

10 years agoNew file, tweak-html
Mike Taylor [Mon, 13 Oct 2014 12:47:41 +0000 (13:47 +0100)]
New file, tweak-html

10 years agoupdate usage message
Wolfram Schneider [Mon, 13 Oct 2014 12:02:44 +0000 (14:02 +0200)]
update usage message

10 years agocheck filename for .png extension
Wolfram Schneider [Mon, 13 Oct 2014 12:00:12 +0000 (14:00 +0200)]
check filename for .png extension

Without a correct file type extension, phantomjs will fail
silently

10 years agoFix no translation of 'per page' MKWS-287
Adam Dickmeiss [Mon, 13 Oct 2014 11:44:01 +0000 (13:44 +0200)]
Fix no translation of 'per page' MKWS-287

10 years agoRevert 49ce428f24e0718a0849d8f8676ca3a140438ab7
Mike Taylor [Mon, 13 Oct 2014 11:02:20 +0000 (12:02 +0100)]
Revert 49ce428f24e0718a0849d8f8676ca3a140438ab7

10 years agoMKWS can't run from local files MKWS-227
Jakub Skoczen [Mon, 13 Oct 2014 09:38:15 +0000 (11:38 +0200)]
MKWS can't run from local files MKWS-227

10 years agoUse class instead of id in doc intro example.
Jason Skomorowski [Fri, 10 Oct 2014 23:32:05 +0000 (19:32 -0400)]
Use class instead of id in doc intro example.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
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

10 years agoFix test for async widget discovery.
Jason Skomorowski [Fri, 10 Oct 2014 18:59:04 +0000 (14:59 -0400)]
Fix test for async widget discovery.

10 years agoFix cd doc; make clean + make (does not rebuild) MKWS-286
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.

10 years agoPass query and "field" to termlist widget MKWS-284
Jason Skomorowski [Thu, 9 Oct 2014 19:02:28 +0000 (15:02 -0400)]
Pass query and "field" to termlist widget MKWS-284

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
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

10 years agocleanup widgets
Wolfram Schneider [Thu, 9 Oct 2014 15:10:20 +0000 (15:10 +0000)]
cleanup widgets

10 years agoMerge branch 'screenshot'
Wolfram Schneider [Thu, 9 Oct 2014 15:04:58 +0000 (15:04 +0000)]
Merge branch 'screenshot'

10 years agoFix paths.
Mike Taylor [Thu, 9 Oct 2014 14:55:56 +0000 (15:55 +0100)]
Fix paths.

10 years agoList separate documentation files.
Mike Taylor [Thu, 9 Oct 2014 14:55:42 +0000 (15:55 +0100)]
List separate documentation files.

10 years agoadd screenshots target
Wolfram Schneider [Thu, 9 Oct 2014 14:55:18 +0000 (14:55 +0000)]
add screenshots target

10 years agoReinstate use of source files.
Mike Taylor [Thu, 9 Oct 2014 14:54:12 +0000 (15:54 +0100)]
Reinstate use of source files.

10 years agoMention classes, not identifiers.
Mike Taylor [Thu, 9 Oct 2014 14:53:28 +0000 (15:53 +0100)]
Mention classes, not identifiers.

10 years agocleanup before generating screenshots
Wolfram Schneider [Thu, 9 Oct 2014 14:53:17 +0000 (14:53 +0000)]
cleanup before generating screenshots

10 years agoreorder URLs
Wolfram Schneider [Thu, 9 Oct 2014 14:53:08 +0000 (14:53 +0000)]
reorder URLs

10 years agoRemove all headings from the README.
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.

10 years agoNo need for a separate NEWS section.
Mike Taylor [Thu, 9 Oct 2014 14:52:21 +0000 (15:52 +0100)]
No need for a separate NEWS section.

10 years agoMove "required development tools" section from top-level README into
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.

10 years agoMove "required development tools" section from top-level README into
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.

10 years agoatomar screenshot files
Wolfram Schneider [Thu, 9 Oct 2014 14:51:00 +0000 (14:51 +0000)]
atomar screenshot files

10 years agoRewrite for new Debian stable.
Mike Taylor [Thu, 9 Oct 2014 14:47:47 +0000 (15:47 +0100)]
Rewrite for new Debian stable.

10 years agosort images by time, oldest first
Wolfram Schneider [Thu, 9 Oct 2014 14:43:11 +0000 (14:43 +0000)]
sort images by time, oldest first

10 years agoadd /topic.html?q=sushi and /simple.html
Wolfram Schneider [Thu, 9 Oct 2014 14:41:19 +0000 (14:41 +0000)]
add /topic.html?q=sushi and /simple.html

10 years agobetter images names
Wolfram Schneider [Thu, 9 Oct 2014 14:37:13 +0000 (14:37 +0000)]
better images names

10 years agoClarify non-requirement of Debian.
Mike Taylor [Thu, 9 Oct 2014 14:36:29 +0000 (15:36 +0100)]
Clarify non-requirement of Debian.

10 years agotune screenshot size
Wolfram Schneider [Thu, 9 Oct 2014 14:31:51 +0000 (14:31 +0000)]
tune screenshot size

10 years agoworking screenshots, MKWS-276
Wolfram Schneider [Thu, 9 Oct 2014 14:28:13 +0000 (14:28 +0000)]
working screenshots, MKWS-276

10 years agoClean up the top-level README
Mike Taylor [Thu, 9 Oct 2014 14:27:00 +0000 (15:27 +0100)]
Clean up the top-level README

10 years agoRedundant
Mike Taylor [Thu, 9 Oct 2014 14:24:07 +0000 (15:24 +0100)]
Redundant

10 years agoUpdate list of what's provided.
Mike Taylor [Thu, 9 Oct 2014 14:22:54 +0000 (15:22 +0100)]
Update list of what's provided.

10 years agogenerate screenshots of Koha widget in production / marketing, MKWS-276
Wolfram Schneider [Thu, 9 Oct 2014 14:12:32 +0000 (14:12 +0000)]
generate screenshots of Koha widget in production / marketing, MKWS-276

10 years agoadd timeout argument, part of MKWS-276
Wolfram Schneider [Thu, 9 Oct 2014 14:11:56 +0000 (14:11 +0000)]
add timeout argument, part of MKWS-276

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
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

10 years agoFix MKWS-283 ("mkws-complete.js doesn't work (though its components do)")
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).

10 years agoindent
Wolfram Schneider [Thu, 9 Oct 2014 12:32:33 +0000 (12:32 +0000)]
indent

10 years agoindent
Wolfram Schneider [Thu, 9 Oct 2014 12:31:44 +0000 (12:31 +0000)]
indent

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
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

10 years agodisable "Check async widget discovery" test which breaks the jasmine test output
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

10 years agoMerge
Mike Taylor [Thu, 9 Oct 2014 12:11:46 +0000 (13:11 +0100)]
Merge

10 years agoreorder tests in phantomjs-all
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

10 years agoFinish Update Handlebars to 2.0.0
Wolfram Schneider [Thu, 9 Oct 2014 12:06:43 +0000 (12:06 +0000)]
Finish Update Handlebars to 2.0.0

see b803151dfab108bc7b0d52273a00b2efc4d56dca

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
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

10 years agoIgnore handlebars-v2.0.0.js rather than the old handlebars-v1.3.0.js
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

10 years agoReorder the files that make up mkws.js
Mike Taylor [Thu, 9 Oct 2014 11:49:37 +0000 (12:49 +0100)]
Reorder the files that make up mkws.js

10 years agosimplify code, and test with tools/htdocs/mkws-complete.js, MKWS-282
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

10 years agoImprove detection of failures, part of 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

10 years agoWording tweak.
Mike Taylor [Thu, 9 Oct 2014 10:15:59 +0000 (11:15 +0100)]
Wording tweak.