Mike Taylor [Mon, 20 Oct 2014 11:28:16 +0000 (12:28 +0100)]
Reinstate rules for parsing both old and new class-names.
I have *no idea* where these changes went before.
Mike Taylor [Mon, 20 Oct 2014 11:27:36 +0000 (12:27 +0100)]
Fix case and spelling of widget-type names
Mike Taylor [Mon, 20 Oct 2014 10:29:56 +0000 (11:29 +0100)]
Merge
Mike Taylor [Fri, 17 Oct 2014 16:49:50 +0000 (17:49 +0100)]
Search template emits both old-style and new-style classes (mkwsQuery
and mkws-query) so that existing CSS rules will continue to work.
Mike Taylor [Fri, 17 Oct 2014 16:46:33 +0000 (17:46 +0100)]
Progress template emits both old-style and new-style classes (mkwsDone
and mkws-done) so that existing CSS rules will continue to work.
Mike Taylor [Fri, 17 Oct 2014 16:44:15 +0000 (17:44 +0100)]
handleNodeWithTeam is meant to invoke its callback with the "type"
parameter set to the new-style widget type. It now does so for widgets
with no explicit _old2new mapping, by simple lowercasing.
Mike Taylor [Fri, 17 Oct 2014 16:35:41 +0000 (17:35 +0100)]
The selectorForAllWidgets function looks for elements whose classes
match either old- or new-style widget-type names.
Mike Taylor [Fri, 17 Oct 2014 16:15:47 +0000 (17:15 +0100)]
Towards MKWS-294.
All CSS styles are now targeted at the new-style class names (as well
as, for the time being, the old-style ones which we support for
backwards incompatibility).
Mike Taylor [Fri, 17 Oct 2014 16:14:57 +0000 (17:14 +0100)]
Fix widget class from mkws-authname to mkws-auth-name.
Mike Taylor [Fri, 17 Oct 2014 16:11:31 +0000 (17:11 +0100)]
switchView function uses new widget-type names.
Mike Taylor [Fri, 17 Oct 2014 15:33:24 +0000 (16:33 +0100)]
mike.html and mike2.html now both get mkws.css from local server
Wolfram Schneider [Fri, 17 Oct 2014 15:15:43 +0000 (17:15 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Fri, 17 Oct 2014 15:15:18 +0000 (17:15 +0200)]
popup.html needs a q= parameter to run, MKWS-297
Jason Skomorowski [Fri, 17 Oct 2014 14:46:43 +0000 (10:46 -0400)]
Remove responsive design helpers from doc MKWS-174
Jason Skomorowski [Fri, 17 Oct 2014 14:44:01 +0000 (10:44 -0400)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Jason Skomorowski [Fri, 17 Oct 2014 14:43:22 +0000 (10:43 -0400)]
Improve template comments MKWS-279
Mike Taylor [Fri, 17 Oct 2014 14:38:03 +0000 (15:38 +0100)]
Revert "Towards MKWS-294 (Change names of MKWS classes to be case-insensitive)"
I never intended to make these changes in master, but in new-class-names.
This reverts commit
f944d2112f977ffe31545ceaee8a1ebeb1e128d8.
Mike Taylor [Fri, 17 Oct 2014 14:25:58 +0000 (15:25 +0100)]
Towards MKWS-294 (Change names of MKWS classes to be case-insensitive)
The code now runs with the new-style classes. But there is lots more to do. Running applications are as ugly as sin because the CSS styles don't yet apply; use of teams has yet to be tested; backwards compatibility is only partly implemented; many examples need testing under the compatibility rules, then upgrading
Jason Skomorowski [Fri, 17 Oct 2014 14:00:14 +0000 (10:00 -0400)]
Record is not the only widget with metadata MKWS-279
Mike Taylor [Fri, 17 Oct 2014 11:13:17 +0000 (12:13 +0100)]
Remove bizarre comment
Mike Taylor [Fri, 17 Oct 2014 11:08:48 +0000 (12:08 +0100)]
mike2.html made a copy of mike.html but with new-style class names.
Mike Taylor [Fri, 17 Oct 2014 10:02:38 +0000 (11:02 +0100)]
Correctly render state rather than replicating hits.
Add brief documentation of state.
Mike Taylor [Fri, 17 Oct 2014 09:57:52 +0000 (10:57 +0100)]
MKWS-279. Add documentation for the template parameters Jason asked about
Wolfram Schneider [Fri, 17 Oct 2014 09:30:55 +0000 (11:30 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Fri, 17 Oct 2014 09:30:46 +0000 (11:30 +0200)]
depends on apache2 installation
Mike Taylor [Fri, 17 Oct 2014 09:26:38 +0000 (10:26 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Fri, 17 Oct 2014 09:26:25 +0000 (10:26 +0100)]
Remove redundant comment.
Wolfram Schneider [Fri, 17 Oct 2014 08:37:38 +0000 (10:37 +0200)]
always check JS before running phantomjs
Wolfram Schneider [Fri, 17 Oct 2014 08:33:04 +0000 (10:33 +0200)]
update documentation
Mike Taylor [Thu, 16 Oct 2014 16:02:06 +0000 (17:02 +0100)]
Link
Mike Taylor [Thu, 16 Oct 2014 15:59:12 +0000 (16:59 +0100)]
Change many instances of "component" and even "<div>" to "widget".
Mike Taylor [Thu, 16 Oct 2014 15:56:30 +0000 (16:56 +0100)]
Reorder partial widget list in more sensible order.
Mike Taylor [Thu, 16 Oct 2014 15:53:56 +0000 (16:53 +0100)]
Reorder <script> and <link> to better match example in documentation.
Mike Taylor [Thu, 16 Oct 2014 15:52:31 +0000 (16:52 +0100)]
Get rid of phrase drawing attention to MKWS not working from file:
URLs. Best to leave it unsaid.
Mike Taylor [Thu, 16 Oct 2014 15:08:48 +0000 (16:08 +0100)]
Consistent copyright statement across all three documents
Mike Taylor [Thu, 16 Oct 2014 15:04:54 +0000 (16:04 +0100)]
This time for sure on MKWS-296.
Do not include the --standalone option when invoking markdown2pdf
Mike Taylor [Thu, 16 Oct 2014 15:01:28 +0000 (16:01 +0100)]
Oops, we only want the FIRST of markdown2pdf and pandoc.
Mike Taylor [Thu, 16 Oct 2014 15:00:26 +0000 (16:00 +0100)]
Fix MKWS-296 ("PDF versions of documents do not build on Debian 6.0")
To generate PDFs, we now use markdown2pdf when that exists (as it does
alongside old versions of pandoc); otherwise we use pandoc itself
(which in more recent versions does PDF output on its own).
Mike Taylor [Thu, 16 Oct 2014 14:51:03 +0000 (15:51 +0100)]
Rework introduction.
Mike Taylor [Thu, 16 Oct 2014 14:42:23 +0000 (15:42 +0100)]
Omit gears at top right of first three panes.
Mike Taylor [Thu, 16 Oct 2014 14:04:22 +0000 (15:04 +0100)]
Extend tweak-html to put <div class="pane"> into pandoc 1.5.11 output.
This SHOULD fix MKWS-295, but I won't know for sure till I run on caliban.
Mike Taylor [Thu, 16 Oct 2014 13:47:54 +0000 (13:47 +0000)]
Do not use © in MarkDown. pandoc v1.5.1.1, which is what Debian 6.0 on caliban has, can't deal with it
Mike Taylor [Thu, 16 Oct 2014 13:44:08 +0000 (14:44 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Thu, 16 Oct 2014 13:28:32 +0000 (14:28 +0100)]
Complete rewrite of index.html, up to date with present code. Clean up into proper Markdown.
Wolfram Schneider [Thu, 16 Oct 2014 12:05:51 +0000 (14:05 +0200)]
fix title
indent, cleanup
Wolfram Schneider [Thu, 16 Oct 2014 12:02:51 +0000 (14:02 +0200)]
update mkws-*.js include list
Wolfram Schneider [Thu, 16 Oct 2014 12:00:18 +0000 (14:00 +0200)]
switch to sp_auth_credentials auth config
Wolfram Schneider [Thu, 16 Oct 2014 11:59:31 +0000 (13:59 +0200)]
switch to sp_auth_credentials auth config
Mike Taylor [Thu, 16 Oct 2014 10:51:40 +0000 (11:51 +0100)]
Better link to list of examples in documentation.
Wolfram Schneider [Thu, 16 Oct 2014 10:43:55 +0000 (12:43 +0200)]
update documentation
Mike Taylor [Thu, 16 Oct 2014 10:01:04 +0000 (11:01 +0100)]
Remove src/mkws-jquery.js, which has been superseded by mkws-popup.js
Mike Taylor [Thu, 16 Oct 2014 10:00:24 +0000 (11:00 +0100)]
No need to ignore mkws-jquery.js, which no longer gets installed.
Mike Taylor [Thu, 16 Oct 2014 10:00:08 +0000 (11:00 +0100)]
Remove reference to mkws-jquery.js, which (it turns out) was superseded by mkws-popup.js
Mike Taylor [Thu, 16 Oct 2014 09:59:42 +0000 (10:59 +0100)]
Remove reference to mkws-jquery.js, which (it turns out) was superseded by mkws-popup.js
Wolfram Schneider [Thu, 16 Oct 2014 09:42:31 +0000 (11:42 +0200)]
documentation
Wolfram Schneider [Thu, 16 Oct 2014 09:29:22 +0000 (11:29 +0200)]
test with "mkws-complete.min.js"
Wolfram Schneider [Thu, 16 Oct 2014 09:19:17 +0000 (09:19 +0000)]
the file mkws-complete.min.js will be generated from ../src, but lives in ../tools/htdocs, MKWS-293
to check if mkws-complete.min.js is up-to-date, we have to run now:
make -C./src ../tools/htdocs/mkws-complete.min.js
Wolfram Schneider [Thu, 16 Oct 2014 09:10:21 +0000 (09:10 +0000)]
fix path for yui-compressor, part of MKWS-286
Wolfram Schneider [Thu, 16 Oct 2014 09:03:17 +0000 (09:03 +0000)]
use $@ for check-js
Wolfram Schneider [Thu, 16 Oct 2014 08:55:03 +0000 (10:55 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Thu, 16 Oct 2014 08:54:36 +0000 (10:54 +0200)]
make -> ${MAKE}, part of MKWS-292
Mike Taylor [Thu, 16 Oct 2014 08:53:42 +0000 (09:53 +0100)]
Fix MKWS-292
Use ${MAKE} for all recursive invocations rather than raw make.
Wolfram Schneider [Wed, 15 Oct 2014 19:57:32 +0000 (19:57 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Wed, 15 Oct 2014 19:57:12 +0000 (19:57 +0000)]
add target alias "check-js"
Mike Taylor [Wed, 15 Oct 2014 16:31:13 +0000 (17:31 +0100)]
Fix last part of MKWS-286
src/Makefile now copies VERSION and NEWS into ../tools/htdocs.
Mike Taylor [Wed, 15 Oct 2014 16:11:45 +0000 (17:11 +0100)]
Generated mkws-complete.js points to LGPL, not GPL.
Mike Taylor [Wed, 15 Oct 2014 16:10:35 +0000 (17:10 +0100)]
Rename GENERATED macro to AVAILABLE.
Add rule for installing mkws-jquery.js
Mike Taylor [Wed, 15 Oct 2014 16:03:49 +0000 (17:03 +0100)]
Re-add mkws-jquery.js.
I'm not sure how this got lost. It was lying around in my tools/htdocs
directory and has some git history there, but was also listed in
.gitignore and does not exist in head (so is absent from a fresh
checkout). We need to maintain it in src (with the rest of the source)
and have the Makefile copy it into tools/htdocs.
Mike Taylor [Wed, 15 Oct 2014 15:22:20 +0000 (16:22 +0100)]
Remove tools/htdocs/Makefile, which should never have existed
Mike Taylor [Wed, 15 Oct 2014 15:21:55 +0000 (16:21 +0100)]
Total rewrite of src/Makefile, based on ../tools/htdocs/Makefile.
Mike Taylor [Wed, 15 Oct 2014 15:03:37 +0000 (16:03 +0100)]
Reorder
Mike Taylor [Wed, 15 Oct 2014 14:56:54 +0000 (15:56 +0100)]
Reorder rules
Mike Taylor [Wed, 15 Oct 2014 14:19:56 +0000 (15:19 +0100)]
"make all" uses dependency rather than explicit invocation.
Mike Taylor [Wed, 15 Oct 2014 14:19:38 +0000 (15:19 +0100)]
Remove vacuous comment.
Mike Taylor [Wed, 15 Oct 2014 14:08:10 +0000 (15:08 +0100)]
make runs in examples/htdocs
Mike Taylor [Wed, 15 Oct 2014 14:06:18 +0000 (15:06 +0100)]
make clean/distclean also use src rather the tools/htdocs
Mike Taylor [Wed, 15 Oct 2014 13:51:39 +0000 (14:51 +0100)]
Default make rule:
* No longer depends on setup, as it does its own npm install.
* Runs make in src, not in tools/htdocs.
* Runs regular make in doc, not make install.
Mike Taylor [Wed, 15 Oct 2014 13:50:03 +0000 (14:50 +0100)]
Add vacuous "make distclean" rule.
Wolfram Schneider [Wed, 15 Oct 2014 12:50:07 +0000 (14:50 +0200)]
sorting: display title number in debug log
Wolfram Schneider [Wed, 15 Oct 2014 12:47:15 +0000 (14:47 +0200)]
trim newlines from titles, MKWS-290
I guess the newlines comes from the new template framework, otherwise
we would see this noisy log output earlier.
Wolfram Schneider [Wed, 15 Oct 2014 12:31:20 +0000 (12:31 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Wed, 15 Oct 2014 12:30:16 +0000 (12:30 +0000)]
remove generated screenshots in `make clean'
Wolfram Schneider [Wed, 15 Oct 2014 12:29:59 +0000 (12:29 +0000)]
add images/screenshot.png
Wolfram Schneider [Wed, 15 Oct 2014 12:29:10 +0000 (12:29 +0000)]
handle files in widgets/images/
Mike Taylor [Wed, 15 Oct 2014 12:23:58 +0000 (13:23 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Wed, 15 Oct 2014 12:23:40 +0000 (13:23 +0100)]
Add rule to copy CSS into destination area.
Mike Taylor [Wed, 15 Oct 2014 12:22:39 +0000 (13:22 +0100)]
Remove unused style for .nologo class.
Mike Taylor [Wed, 15 Oct 2014 12:22:12 +0000 (13:22 +0100)]
Cleaner styles for heading.
Wolfram Schneider [Wed, 15 Oct 2014 11:41:01 +0000 (13:41 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Mike Taylor [Wed, 15 Oct 2014 11:31:13 +0000 (12:31 +0100)]
No need to ignore README.{html,pdf} any more.
Mike Taylor [Wed, 15 Oct 2014 11:30:49 +0000 (12:30 +0100)]
Remove link to README.html (and PDF)
Mike Taylor [Wed, 15 Oct 2014 11:29:35 +0000 (12:29 +0100)]
Do not build README.
Change "push" rule to use index.markdown as top-level file on web-site.
Mike Taylor [Wed, 15 Oct 2014 11:28:03 +0000 (12:28 +0100)]
Change pointer to obsolete README.markdown.
Mike Taylor [Wed, 15 Oct 2014 11:27:29 +0000 (12:27 +0100)]
README.markdown is gone at last!
Mike Taylor [Wed, 15 Oct 2014 11:27:12 +0000 (12:27 +0100)]
Move 'configuring a client (short version) README.markdown to index.markdown
Wolfram Schneider [Wed, 15 Oct 2014 11:20:53 +0000 (13:20 +0200)]
port number last in log filename
Wolfram Schneider [Wed, 15 Oct 2014 11:19:48 +0000 (13:19 +0200)]
update for new filenames
Wolfram Schneider [Wed, 15 Oct 2014 11:09:54 +0000 (13:09 +0200)]
configure global (non virtual host) error log file
Wolfram Schneider [Wed, 15 Oct 2014 11:00:50 +0000 (13:00 +0200)]
put port number in config/log filenames
This allow to us to run 2 apache servers at the same time, e.g.
one for local development and one for local tests.
Mike Taylor [Wed, 15 Oct 2014 10:51:35 +0000 (11:51 +0100)]
Tweak styles.