mkws-moved-to-github.git
9 years agoSimplify _log(), since log_level no longer means what it expects.
Mike Taylor [Thu, 20 Nov 2014 16:45:02 +0000 (16:45 +0000)]
Simplify _log(), since log_level no longer means what it expects.

9 years agoSet the logging level _after_ the application has had a chance to set mkws_config.
Mike Taylor [Thu, 20 Nov 2014 16:09:01 +0000 (16:09 +0000)]
Set the logging level _after_ the application has had a chance to set mkws_config.

9 years agoRemove always-redundant and now-incorrect log_level setting.
Mike Taylor [Thu, 20 Nov 2014 14:40:26 +0000 (14:40 +0000)]
Remove always-redundant and now-incorrect log_level setting.

9 years agoRemove always-redundant and now-incorrect log_level setting.
Mike Taylor [Thu, 20 Nov 2014 14:40:19 +0000 (14:40 +0000)]
Remove always-redundant and now-incorrect log_level setting.

9 years agoUpdate manual with revised meaning of log_level.
Mike Taylor [Thu, 20 Nov 2014 14:39:43 +0000 (14:39 +0000)]
Update manual with revised meaning of log_level.

9 years agoRepurpose the log_level setting to be the lowest level to emit.
Mike Taylor [Thu, 20 Nov 2014 14:37:33 +0000 (14:37 +0000)]
Repurpose the log_level setting to be the lowest level to emit.
Can be any of 'trace', 'debug', 'info', 'warn', 'error' or 'fatal'.

9 years agoUse team.info() in place of removed team.log()
Mike Taylor [Thu, 20 Nov 2014 11:20:23 +0000 (11:20 +0000)]
Use team.info() in place of removed team.log()

9 years agoRemove legacy mkws.log() function: nothing should be using it any more.
Mike Taylor [Thu, 20 Nov 2014 11:17:33 +0000 (11:17 +0000)]
Remove legacy mkws.log() function: nothing should be using it any more.

9 years agoRemove team.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:16:42 +0000 (11:16 +0000)]
Remove team.log -- all invocation have now been specialised.

9 years agoUse this.info() instead of now-removed this.log()
Mike Taylor [Thu, 20 Nov 2014 11:16:05 +0000 (11:16 +0000)]
Use this.info() instead of now-removed this.log()

9 years agoRemove widget.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:13:42 +0000 (11:13 +0000)]
Remove widget.log -- all invocation have now been specialised.

9 years agoUse specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:12:33 +0000 (11:12 +0000)]
Use specific logging.

9 years agoUse specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:10:01 +0000 (11:10 +0000)]
Use specific logging.

9 years agoUse specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:01:25 +0000 (11:01 +0000)]
Use specific logging.

9 years agoUse that.info() rather then console.log() directly.
Mike Taylor [Thu, 20 Nov 2014 10:59:29 +0000 (10:59 +0000)]
Use that.info() rather then console.log() directly.

9 years agoUse info() instead of log()
Mike Taylor [Thu, 20 Nov 2014 10:59:03 +0000 (10:59 +0000)]
Use info() instead of log()

9 years agoRemove redundant "warning" captions.
Mike Taylor [Thu, 20 Nov 2014 10:57:14 +0000 (10:57 +0000)]
Remove redundant "warning" captions.

9 years agoRemove redundant "warning" caption.
Mike Taylor [Thu, 20 Nov 2014 10:56:50 +0000 (10:56 +0000)]
Remove redundant "warning" caption.

9 years agoUse specific logging functions throughout mkws-widget.js
Mike Taylor [Thu, 20 Nov 2014 10:56:01 +0000 (10:56 +0000)]
Use specific logging functions throughout mkws-widget.js

9 years agoAdd straight-through aliases for trace(), debug() etc.
Mike Taylor [Thu, 20 Nov 2014 10:53:45 +0000 (10:53 +0000)]
Add straight-through aliases for trace(), debug() etc.

9 years agoGet rid of local variable log; all invocation are explicitly on this or that.
Mike Taylor [Thu, 20 Nov 2014 10:18:18 +0000 (10:18 +0000)]
Get rid of local variable log; all invocation are explicitly on this or that.

9 years agoLocal function log() is now a simple alias to team.log(), rather than invoking it.
Mike Taylor [Thu, 20 Nov 2014 10:13:08 +0000 (10:13 +0000)]
Local function log() is now a simple alias to team.log(), rather than invoking it.

9 years agoPromote logging invocations on team objects.
Mike Taylor [Wed, 19 Nov 2014 17:35:41 +0000 (17:35 +0000)]
Promote logging invocations on team objects.

9 years agoFix currying definitions.
Mike Taylor [Wed, 19 Nov 2014 17:34:13 +0000 (17:34 +0000)]
Fix currying definitions.
Change all team-level logging in mkws-team to use non-legacy functions.

9 years agoGreeting message demoted from warning to info.
Mike Taylor [Wed, 19 Nov 2014 17:31:49 +0000 (17:31 +0000)]
Greeting message demoted from warning to info.

9 years agoAdd curried trace(), debug() etc. methods to the team object.
Mike Taylor [Wed, 19 Nov 2014 17:10:35 +0000 (17:10 +0000)]
Add curried trace(), debug() etc. methods to the team object.

9 years agoPart of MKWS-239.
Mike Taylor [Wed, 19 Nov 2014 17:07:58 +0000 (17:07 +0000)]
Part of MKWS-239.

Within mkws-team.js _log() is now a private function that calls
through to one of the MKWS core's logging functions. team.log() is now
a simple currying of that function to use mkws.log().

9 years agoPart of MKWS-239.
Mike Taylor [Wed, 19 Nov 2014 16:31:30 +0000 (16:31 +0000)]
Part of MKWS-239.

Add trace()/debug()/etc. functions to mkws object.
Use these directly for all logging within the mkws-core.js.
(It remains to update the team code and individual widgets accordingly.)

9 years agoFix comment.
Mike Taylor [Wed, 19 Nov 2014 15:52:55 +0000 (15:52 +0000)]
Fix comment.

9 years agoLogging using mkws.log notes that it is legacy output.
Mike Taylor [Wed, 19 Nov 2014 15:49:49 +0000 (15:49 +0000)]
Logging using mkws.log notes that it is legacy output.
Code should be switched to using warn(), info(), etc.

9 years agoPart of MKWS-239.
Mike Taylor [Wed, 19 Nov 2014 15:39:16 +0000 (15:39 +0000)]
Part of MKWS-239.

mkws.log() is now a trivial invocation of new underlying private function _log().
Allows us to similarly curry _log() for warn, error, info, etc.

9 years agoIgnore downloaded file jsnlog.min.js
Mike Taylor [Wed, 19 Nov 2014 12:31:05 +0000 (12:31 +0000)]
Ignore downloaded file jsnlog.min.js

9 years agoAll example pages now include jsnlog.min.js from the appropriate source
Mike Taylor [Wed, 19 Nov 2014 12:30:30 +0000 (12:30 +0000)]
All example pages now include jsnlog.min.js from the appropriate source

9 years agoUse JSNlog (at level INFO) for all logging.
Mike Taylor [Wed, 19 Nov 2014 12:22:23 +0000 (12:22 +0000)]
Use JSNlog (at level INFO) for all logging.

9 years agoAdd rules to fetch and install JSNlog.
Mike Taylor [Wed, 19 Nov 2014 12:22:01 +0000 (12:22 +0000)]
Add rules to fetch and install JSNlog.

10 years agoadd wimp demo, part of MKWS-266
Wolfram Schneider [Mon, 17 Nov 2014 16:11:58 +0000 (16:11 +0000)]
add wimp demo, part of MKWS-266

10 years agolowercase widget name: Wimp -> wimp, MKWS-266
Wolfram Schneider [Mon, 17 Nov 2014 16:05:56 +0000 (16:05 +0000)]
lowercase widget name: Wimp -> wimp, MKWS-266

forgotten in: 22a5c1a36b18bfdee55bad0d991fc5c3ed57e195

10 years agoGIT repo: private -> pub
Wolfram Schneider [Thu, 13 Nov 2014 16:56:41 +0000 (16:56 +0000)]
GIT repo: private -> pub

10 years agoreplace yui-compressor with a JS based solution, MKWS-337
Wolfram Schneider [Thu, 13 Nov 2014 16:47:41 +0000 (16:47 +0000)]
replace yui-compressor with a JS based solution, MKWS-337

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Thu, 13 Nov 2014 08:56:25 +0000 (09:56 +0100)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws

10 years agofor a release, we depend on the real yui-compressor tool, MKWS-336
Wolfram Schneider [Thu, 13 Nov 2014 08:53:54 +0000 (09:53 +0100)]
for a release, we depend on the real yui-compressor tool, MKWS-336

10 years agoPart of MKWS-336.
Mike Taylor [Wed, 12 Nov 2014 14:37:05 +0000 (14:37 +0000)]
Part of MKWS-336.

Do not use dummy do-nothing version of yui-compressor if the real one
is missing. If it's not there, we want to know that.

10 years agoAdd files from release 1.0.0 1.0.0
Mike Taylor [Tue, 11 Nov 2014 13:39:13 +0000 (13:39 +0000)]
Add files from release 1.0.0

10 years agoVersion 1.0.0.
Mike Taylor [Tue, 11 Nov 2014 13:38:25 +0000 (13:38 +0000)]
Version 1.0.0.

10 years agoChangelog for v1.0
Mike Taylor [Tue, 11 Nov 2014 13:38:14 +0000 (13:38 +0000)]
Changelog for v1.0

10 years agoThe "release" rule depends on INSTALLED_RELEASABLE, not RELEASABLE.
Mike Taylor [Tue, 11 Nov 2014 12:47:02 +0000 (12:47 +0000)]
The "release" rule depends on INSTALLED_RELEASABLE, not RELEASABLE.
Reinstate lost trailing backslash.

10 years agoPart of MKWS-329.
Mike Taylor [Tue, 11 Nov 2014 12:45:08 +0000 (12:45 +0000)]
Part of MKWS-329.
Add CSS to "make release" rule.

10 years agoPart of MKWS-329.
Mike Taylor [Tue, 11 Nov 2014 12:42:54 +0000 (12:42 +0000)]
Part of MKWS-329.
Note that the CSS is also part of the release.

10 years agoReinstate specific rules to copy VERSION and NEWS into $(DEST).
Mike Taylor [Tue, 11 Nov 2014 12:42:08 +0000 (12:42 +0000)]
Reinstate specific rules to copy VERSION and NEWS into $(DEST).

This was no longer being done as Jason found the generic rule was
causing problems with GNU Make 4.0, and removed it. (I wonder how he
was getting the build to succeed, then?)

10 years agoWe don't need the empty src/releases area; we keep old releases in tools/htdocs/relea...
Mike Taylor [Tue, 11 Nov 2014 12:38:27 +0000 (12:38 +0000)]
We don't need the empty src/releases area; we keep old releases in tools/htdocs/releases, where they're needed

10 years agoNew file, tools/htdocs/releases/mkws-0.9.1.css.
Mike Taylor [Tue, 11 Nov 2014 12:33:55 +0000 (12:33 +0000)]
New file, tools/htdocs/releases/mkws-0.9.1.css.
Rescued from tools/htdocs/mkws.css as at tag v0.9.1.
This is part of the old v0.9.1 release, retro-fitted.

10 years agoFix MKWS-227.
Mike Taylor [Tue, 11 Nov 2014 12:30:30 +0000 (12:30 +0000)]
Fix MKWS-227.

Finish the events section.
And therefore finish the developer documentation.
And therefore finish ALL the documentation.

10 years agoRemove entries for resize-wide and resize-narrow events.
Mike Taylor [Tue, 11 Nov 2014 12:16:00 +0000 (12:16 +0000)]
Remove entries for resize-wide and resize-narrow events.

10 years agoFormat list of events. No description yet.
Mike Taylor [Tue, 11 Nov 2014 12:15:06 +0000 (12:15 +0000)]
Format list of events. No description yet.

10 years agoAdd list of events (not yet formatted).
Mike Taylor [Tue, 11 Nov 2014 12:13:59 +0000 (12:13 +0000)]
Add list of events (not yet formatted).

10 years agoRemove redundant statement.
Mike Taylor [Tue, 11 Nov 2014 12:09:52 +0000 (12:09 +0000)]
Remove redundant statement.

10 years agoNew section on event passing.
Mike Taylor [Tue, 11 Nov 2014 12:09:36 +0000 (12:09 +0000)]
New section on event passing.

10 years agoReword on future API changes.
Mike Taylor [Tue, 11 Nov 2014 11:35:25 +0000 (11:35 +0000)]
Reword on future API changes.

10 years agoRework discussion.
Mike Taylor [Tue, 11 Nov 2014 11:17:10 +0000 (11:17 +0000)]
Rework discussion.

10 years agoRework the subwidget() description, remove Credo example.
Mike Taylor [Tue, 11 Nov 2014 11:16:32 +0000 (11:16 +0000)]
Rework the subwidget() description, remove Credo example.

10 years agoRemove expandValue from the documentation: it's not actually exposed
Mike Taylor [Tue, 11 Nov 2014 11:08:59 +0000 (11:08 +0000)]
Remove expandValue from the documentation: it's not actually exposed
in the API and doesn't need to be.

10 years agoRemove hideWhenNarrow from the developer documentation.
Mike Taylor [Tue, 11 Nov 2014 10:40:17 +0000 (10:40 +0000)]
Remove hideWhenNarrow from the developer documentation.
We don't want to encourage people to use this, as Jason insists there
are better ways to do it using CSS.

10 years agoClarify parts of the widget API.
Mike Taylor [Tue, 11 Nov 2014 10:39:37 +0000 (10:39 +0000)]
Clarify parts of the widget API.

10 years agos/TODO/FIXME/
Mike Taylor [Tue, 11 Nov 2014 09:49:42 +0000 (09:49 +0000)]
s/TODO/FIXME/

10 years agoUpdate the section on inheritance.
Mike Taylor [Tue, 11 Nov 2014 09:49:01 +0000 (09:49 +0000)]
Update the section on inheritance.

10 years agoThe "records" widget supports the new optional "summary-template"
Mike Taylor [Tue, 11 Nov 2014 09:41:38 +0000 (09:41 +0000)]
The "records" widget supports the new optional "summary-template"
setting, which tells it to use a template other than the default
"template" when rendering summary records. For example,
<div class="mkws-records" summary-template='details'></div>
will render all records in detailed view.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Mon, 10 Nov 2014 17:05:39 +0000 (17:05 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

10 years agoRewrite "defining new kinds of widget" section.
Mike Taylor [Mon, 10 Nov 2014 16:59:55 +0000 (16:59 +0000)]
Rewrite "defining new kinds of widget" section.

10 years agoNew section on four-layer structure of the code.
Mike Taylor [Mon, 10 Nov 2014 16:55:59 +0000 (16:55 +0000)]
New section on four-layer structure of the code.

10 years agoAdd new introduction.
Mike Taylor [Mon, 10 Nov 2014 16:08:52 +0000 (16:08 +0000)]
Add new introduction.
Remove obsolete section on downloading Handlebars

10 years agoMake Makefile compatible with Make 4.x MKWS-331
Jason Skomorowski [Mon, 10 Nov 2014 15:05:17 +0000 (10:05 -0500)]
Make Makefile compatible with Make 4.x MKWS-331

Removes catch-all rule to remove $DEST and copy things over it.

10 years agoNewer date :-(
Mike Taylor [Mon, 10 Nov 2014 13:21:26 +0000 (13:21 +0000)]
Newer date :-(

10 years agoNewer date :-(
Mike Taylor [Mon, 10 Nov 2014 13:21:15 +0000 (13:21 +0000)]
Newer date :-(

10 years agoNewer date :-(
Mike Taylor [Mon, 10 Nov 2014 13:21:08 +0000 (13:21 +0000)]
Newer date :-(

10 years agoRewrite compatibility roadmap section.
Mike Taylor [Mon, 10 Nov 2014 12:37:52 +0000 (12:37 +0000)]
Rewrite compatibility roadmap section.
The MKWS Manual is now finished for v1.0

10 years agoCompletely redo "Structure of HTML generated by widgets" section.
Mike Taylor [Mon, 10 Nov 2014 11:51:05 +0000 (11:51 +0000)]
Completely redo "Structure of HTML generated by widgets" section.

10 years agoRemove data-mkws-config.
Mike Taylor [Mon, 10 Nov 2014 11:11:40 +0000 (11:11 +0000)]
Remove data-mkws-config.

10 years agoMake <input> tags self-closing.
Mike Taylor [Mon, 10 Nov 2014 10:40:01 +0000 (10:40 +0000)]
Make <input> tags self-closing.

10 years agoRework the table about the popup widget.
Mike Taylor [Mon, 10 Nov 2014 10:10:52 +0000 (10:10 +0000)]
Rework the table about the popup widget.

10 years agoClarification on popups.
Mike Taylor [Sat, 8 Nov 2014 00:36:39 +0000 (00:36 +0000)]
Clarification on popups.

10 years agoRemove trailing whitespace.
Mike Taylor [Fri, 7 Nov 2014 23:11:25 +0000 (23:11 +0000)]
Remove trailing whitespace.

10 years agoRework the section of providing new translations.
Mike Taylor [Fri, 7 Nov 2014 23:11:06 +0000 (23:11 +0000)]
Rework the section of providing new translations.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Fri, 7 Nov 2014 22:20:45 +0000 (22:20 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

10 years agoMerge remote branch 'origin/master' into wosch
Wolfram Schneider [Fri, 7 Nov 2014 22:15:35 +0000 (22:15 +0000)]
Merge remote branch 'origin/master' into wosch

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Fri, 7 Nov 2014 22:15:21 +0000 (22:15 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws

10 years agoadd apache2 package
Wolfram Schneider [Fri, 7 Nov 2014 22:12:57 +0000 (22:12 +0000)]
add apache2 package

10 years agoUpdate list of translatable fieldnames.
Mike Taylor [Fri, 7 Nov 2014 22:02:45 +0000 (22:02 +0000)]
Update list of translatable fieldnames.

10 years agomkws testing on MacOS 10.10, MKWS-332
Wolfram Schneider [Fri, 7 Nov 2014 22:01:45 +0000 (23:01 +0100)]
mkws testing on MacOS 10.10, MKWS-332

10 years agogeneral support for apache 2.4, MKWS-332
Wolfram Schneider [Fri, 7 Nov 2014 22:00:49 +0000 (23:00 +0100)]
general support for apache 2.4, MKWS-332

10 years agoLanguage names needn't be ISO codes.
Mike Taylor [Fri, 7 Nov 2014 21:53:55 +0000 (21:53 +0000)]
Language names needn't be ISO codes.

10 years agoMerge remote-tracking branch 'origin/master' into wosch
Wolfram Schneider [Fri, 7 Nov 2014 17:34:59 +0000 (18:34 +0100)]
Merge remote-tracking branch 'origin/master' into wosch

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Fri, 7 Nov 2014 17:31:19 +0000 (17:31 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

10 years agoComplete the section on Assembling Pazpar2 URLs!
Mike Taylor [Fri, 7 Nov 2014 17:28:24 +0000 (17:28 +0000)]
Complete the section on Assembling Pazpar2 URLs!

10 years agoMove the renamed "sp_auth_hostname" configuration setting to its
Mike Taylor [Fri, 7 Nov 2014 17:23:32 +0000 (17:23 +0000)]
Move the renamed "sp_auth_hostname" configuration setting to its
correct place in alphabetical order.

10 years agoauth_hostname configuration setting renamed sp_auth_hostname
Mike Taylor [Fri, 7 Nov 2014 17:22:49 +0000 (17:22 +0000)]
auth_hostname configuration setting renamed sp_auth_hostname

10 years agoNo default value documented for sp_auth_path.
Mike Taylor [Fri, 7 Nov 2014 17:20:06 +0000 (17:20 +0000)]
No default value documented for sp_auth_path.

10 years agosp_auth_path is used if defined, but falling back to pp2_path otherwise.
Mike Taylor [Fri, 7 Nov 2014 17:18:59 +0000 (17:18 +0000)]
sp_auth_path is used if defined, but falling back to pp2_path otherwise.
There is now no default value for sp_auth_path.

10 years agoPartial description of URL assembly.
Mike Taylor [Fri, 7 Nov 2014 17:15:37 +0000 (17:15 +0000)]
Partial description of URL assembly.
Add trailing slash to documented default value of pp2_path.
More uniform list punctuation.

10 years agoThe pp2_path configuration setting now has its own trailing slash,
Mike Taylor [Fri, 7 Nov 2014 17:14:23 +0000 (17:14 +0000)]
The pp2_path configuration setting now has its own trailing slash,
like sp_auth_path, instead of having the code append it.

10 years agoSet width of search box in CSS MKWS-330
Jason Skomorowski [Fri, 7 Nov 2014 16:59:29 +0000 (11:59 -0500)]
Set width of search box in CSS MKWS-330