Mike Taylor [Tue, 4 Feb 2014 16:25:50 +0000 (16:25 +0000)]
Use child-counting to find Targets and Records links.
We no longer need the special IDs mkwsSwitch_targets and mkwsSwitch_records.
Mike Taylor [Tue, 4 Feb 2014 16:18:03 +0000 (16:18 +0000)]
Tweaks to test-suite expectation as we move towards classes.
Mike Taylor [Tue, 4 Feb 2014 16:17:18 +0000 (16:17 +0000)]
Record/target display switching now handled using teams.
By-target display now handled using teams.
Mike Taylor [Tue, 4 Feb 2014 15:50:36 +0000 (15:50 +0000)]
mkwsTargets styling targeted at class as well as ID
mkwsBytarget styling targeted at class INSTEAD OF ID
Mike Taylor [Tue, 4 Feb 2014 15:38:32 +0000 (15:38 +0000)]
#mkwsSwitch styles also apply to .mkwsSwitch
Mike Taylor [Tue, 4 Feb 2014 15:01:53 +0000 (15:01 +0000)]
switchView() now works entirely using jQuery
Wolfram Schneider [Mon, 3 Feb 2014 18:18:41 +0000 (19:18 +0100)]
correct file type
Wolfram Schneider [Mon, 3 Feb 2014 18:02:56 +0000 (19:02 +0100)]
make screenshots of mkws.indexdata.com and indexdata.com
Wolfram Schneider [Mon, 3 Feb 2014 17:54:24 +0000 (18:54 +0100)]
set page.clipRect values
contents which is outside of this area will be cutted (scrolling effect)
Wolfram Schneider [Mon, 3 Feb 2014 17:53:35 +0000 (18:53 +0100)]
tune screenshot size
Wolfram Schneider [Mon, 3 Feb 2014 17:52:24 +0000 (18:52 +0100)]
new target screenshots
Wolfram Schneider [Mon, 3 Feb 2014 17:50:40 +0000 (18:50 +0100)]
keep ./images directory
Wolfram Schneider [Mon, 3 Feb 2014 15:43:32 +0000 (15:43 +0000)]
wait longer for "source in navi bar"
Wolfram Schneider [Mon, 3 Feb 2014 15:42:19 +0000 (15:42 +0000)]
phantomjs: set defaul timeout to 12 seconds
Wolfram Schneider [Mon, 3 Feb 2014 15:28:09 +0000 (15:28 +0000)]
cleanup mkws-error.html
Wolfram Schneider [Mon, 3 Feb 2014 14:26:34 +0000 (14:26 +0000)]
wait longer for "source in navi bar"
Wolfram Schneider [Mon, 3 Feb 2014 12:58:56 +0000 (12:58 +0000)]
new server alias a.mkws.indexdata.com for regression tests
Wolfram Schneider [Mon, 3 Feb 2014 12:55:54 +0000 (13:55 +0100)]
the undefined object in JS is evil, use the typeof operator instead
Wolfram Schneider [Mon, 3 Feb 2014 12:42:52 +0000 (12:42 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Mon, 3 Feb 2014 12:38:03 +0000 (12:38 +0000)]
Fix race condtion in my_onshow(), MKWS-105
call renderDetails(m_curDetRecData) only if the global variable
m_curDetRecData is set.
m_curDetRecData will be set in my_onrecord(), and apparently there
is a race condtion that m_curDetRecData is not set yet, or will
be reset in showDetails() later. This should fix MKWS-105
Wolfram Schneider [Mon, 3 Feb 2014 12:17:16 +0000 (13:17 +0100)]
configurable debug level by env variable DEBUG, e.g.
$ DEBUG=2 make phantomjs
Wolfram Schneider [Mon, 3 Feb 2014 12:04:47 +0000 (13:04 +0100)]
display webkit console.log() output
make the test output configurable with debug=0..2
Wolfram Schneider [Mon, 3 Feb 2014 11:49:44 +0000 (12:49 +0100)]
indent phandom files
Wolfram Schneider [Mon, 3 Feb 2014 11:48:38 +0000 (12:48 +0100)]
enable to set screenshot width as third parameter
Wolfram Schneider [Mon, 3 Feb 2014 10:06:26 +0000 (10:06 +0000)]
upgrade from jquery-1.4.4.min.js to jquery-1.6.4.min.js, see MKWS-110
Wolfram Schneider [Mon, 3 Feb 2014 10:03:45 +0000 (10:03 +0000)]
upgrade from jquery-1.4.4.min.js to jquery-1.6.4.min.js, see MKWS-110
Wolfram Schneider [Mon, 3 Feb 2014 09:56:52 +0000 (09:56 +0000)]
upgrade from jquery-1.4.4.min.js to jquery-1.6.4.min.js, see MKWS-110
The commit which run in an endless loop with jquery-1.4.4.min.js is:
commit
e1910c1453642bea8ffad32e3e1a4e52f1ecf8eb
Wolfram Schneider [Fri, 31 Jan 2014 14:00:34 +0000 (14:00 +0000)]
configurable test URL
Wolfram Schneider [Fri, 31 Jan 2014 11:56:35 +0000 (11:56 +0000)]
cleanup debugging
Wolfram Schneider [Fri, 31 Jan 2014 11:52:34 +0000 (11:52 +0000)]
dump "mkws" object on error, and append it to the mkws-error.html page
Wolfram Schneider [Fri, 31 Jan 2014 11:34:05 +0000 (11:34 +0000)]
in case of an test error dump the HTML DOM to a local file.
make poll time configurable
Wolfram Schneider [Fri, 31 Jan 2014 10:50:32 +0000 (10:50 +0000)]
poll up to 8 seconds
Wolfram Schneider [Fri, 31 Jan 2014 10:46:45 +0000 (10:46 +0000)]
improve error handling for failed URLs
Wolfram Schneider [Fri, 31 Jan 2014 10:29:52 +0000 (10:29 +0000)]
improve polling
supports now fraction of seconds, default every 500ms
Wolfram Schneider [Fri, 31 Jan 2014 09:34:34 +0000 (09:34 +0000)]
check for node modules, and warn before failing
Wolfram Schneider [Fri, 31 Jan 2014 09:34:17 +0000 (09:34 +0000)]
extract and display number of tests, and duration
Wolfram Schneider [Thu, 30 Jan 2014 22:46:30 +0000 (22:46 +0000)]
cleanup screenshot file
Wolfram Schneider [Thu, 30 Jan 2014 22:44:54 +0000 (22:44 +0000)]
file cleanup
Wolfram Schneider [Thu, 30 Jan 2014 22:44:19 +0000 (22:44 +0000)]
cleanup
Wolfram Schneider [Thu, 30 Jan 2014 22:36:10 +0000 (22:36 +0000)]
new target phantomjs
Wolfram Schneider [Thu, 30 Jan 2014 22:28:56 +0000 (22:28 +0000)]
install phantomjs modules
Wolfram Schneider [Thu, 30 Jan 2014 22:23:29 +0000 (22:23 +0000)]
make a screenshot if the test failed
Wolfram Schneider [Thu, 30 Jan 2014 22:15:22 +0000 (22:15 +0000)]
documentation
Wolfram Schneider [Thu, 30 Jan 2014 22:08:38 +0000 (22:08 +0000)]
Fetch a mkws/jasmine based page into node.js, evaluate the page and check if test status
This should make it possible to run the test on the command line in jenkins.
e.g.:
$ phantomjs evaluate.js https://mkws-dev.indexdata.com/jasmine-popup.html
fetch https://mkws-dev.indexdata.com/jasmine-popup.html with status: success
.
.
.
.
.
successfully done
Wolfram Schneider [Thu, 30 Jan 2014 18:40:41 +0000 (18:40 +0000)]
support command line args, e.g.:
phantomjs screenshot.js http://www.indexdata.com indexdata.png
Wolfram Schneider [Thu, 30 Jan 2014 18:31:59 +0000 (18:31 +0000)]
render indexdata homepage in more realistic 960x800 pixels
Wolfram Schneider [Thu, 30 Jan 2014 17:39:13 +0000 (17:39 +0000)]
indent
Wolfram Schneider [Thu, 30 Jan 2014 17:38:49 +0000 (17:38 +0000)]
indent
Wolfram Schneider [Thu, 30 Jan 2014 17:37:24 +0000 (17:37 +0000)]
phantomjs example how to create a screenshot of indexdata.com
Wolfram Schneider [Thu, 30 Jan 2014 17:22:52 +0000 (17:22 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Mike Taylor [Thu, 30 Jan 2014 16:24:41 +0000 (16:24 +0000)]
domReady() only makes each search-form once :-)
Mike Taylor [Thu, 30 Jan 2014 15:49:57 +0000 (15:49 +0000)]
Remove extraneous logging.
Mike Taylor [Thu, 30 Jan 2014 15:42:25 +0000 (15:42 +0000)]
onFormSubmitEventHandler() is now team-aware.
Wolfram Schneider [Thu, 30 Jan 2014 14:04:12 +0000 (14:04 +0000)]
run mkws jasmine tests until the first click event
Wolfram Schneider [Thu, 30 Jan 2014 13:59:55 +0000 (13:59 +0000)]
indent
Wolfram Schneider [Thu, 30 Jan 2014 13:59:38 +0000 (13:59 +0000)]
indent all test files
Wolfram Schneider [Thu, 30 Jan 2014 13:58:41 +0000 (13:58 +0000)]
XML parser test with jasmine
Wolfram Schneider [Thu, 30 Jan 2014 13:52:44 +0000 (13:52 +0000)]
documentation
Wolfram Schneider [Thu, 30 Jan 2014 13:48:04 +0000 (13:48 +0000)]
Workaround for broken XML parser in node.js/jquery/jsdom
Wolfram Schneider [Thu, 30 Jan 2014 13:42:50 +0000 (13:42 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Mike Taylor [Thu, 30 Jan 2014 12:25:48 +0000 (12:25 +0000)]
Comment.
Mike Taylor [Thu, 30 Jan 2014 12:05:59 +0000 (12:05 +0000)]
Clumsy function name _make_mkws_team() reduced to just team().
Less explict, but prettier and follows JS tradition.
Mike Taylor [Thu, 30 Jan 2014 12:04:56 +0000 (12:04 +0000)]
Add `args' argument to "onrecord" callback, so that it correctly
receives the teamName parameter (not that it uses it yet, or anything)
Mike Taylor [Thu, 30 Jan 2014 11:35:23 +0000 (11:35 +0000)]
Much better encapsulation for mkws.showDetails().
This is now a single-line function that invokes the same-named
member function on the appropriate team object. That member
function now does all the actual work, and can access member
variables without explicit leading "team.". We no longer need
the encapsulation-violation team.m_paz reference.
Wolfram Schneider [Wed, 29 Jan 2014 18:20:34 +0000 (18:20 +0000)]
keep status of jasmine test in mkws.jasmine_done
that should make it possible to poll for successfull test run
Mike Taylor [Wed, 29 Jan 2014 13:57:41 +0000 (13:57 +0000)]
Popup records now work for all result-lists, as the request is now
sent to the correct m_paz. Fixes bug MKWS-106.
Mike Taylor [Wed, 29 Jan 2014 13:56:58 +0000 (13:56 +0000)]
Remove gratuitous third search-box.
Mike Taylor [Wed, 29 Jan 2014 13:56:39 +0000 (13:56 +0000)]
Well, mike2.html is back, as a simple by-hand regression-test.
Mike Taylor [Wed, 29 Jan 2014 12:24:17 +0000 (12:24 +0000)]
Copy of auto3.html that runs on the local development copy of MKWS.
Mike Taylor [Tue, 28 Jan 2014 17:25:19 +0000 (17:25 +0000)]
Towards multiple search forms.
Jeez, this is painful. Browser JavaScript must be the world
development environment since the batch-processing systems of the
early 1970s. Every error is diagnosed by silent no-opping.
Mike Taylor [Tue, 28 Jan 2014 15:33:30 +0000 (15:33 +0000)]
.mkwsSearch also included in team-instantiation loop
Mike Taylor [Tue, 28 Jan 2014 11:21:11 +0000 (11:21 +0000)]
Styling for search-box is now keyed on class as well as id.
Mike Taylor [Mon, 27 Jan 2014 17:26:44 +0000 (17:26 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Mon, 27 Jan 2014 17:26:04 +0000 (17:26 +0000)]
Multiple search forms.
Mike Taylor [Mon, 27 Jan 2014 17:24:58 +0000 (17:24 +0000)]
*Finally* land on correct code for setting HTML for all mkwsSearch objects.
Mike Taylor [Mon, 27 Jan 2014 16:14:52 +0000 (16:14 +0000)]
Factor team-name extraction out into new utility function
mkws.handle_node_with_team()
Mike Taylor [Mon, 27 Jan 2014 15:06:46 +0000 (15:06 +0000)]
Remove two special-case clauses that cancelled out.
It's nice to take out eight lines of code with no effect :-)
Mike Taylor [Mon, 27 Jan 2014 14:56:12 +0000 (14:56 +0000)]
Team-name defaults to AUTO.
Wolfram Schneider [Mon, 27 Jan 2014 14:44:08 +0000 (14:44 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Mon, 27 Jan 2014 14:43:05 +0000 (14:43 +0000)]
wait up to 4 seconds for facet sources
Mike Taylor [Mon, 27 Jan 2014 14:32:25 +0000 (14:32 +0000)]
Obsolete
Mike Taylor [Mon, 27 Jan 2014 14:16:16 +0000 (14:16 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Mon, 27 Jan 2014 14:16:11 +0000 (14:16 +0000)]
Fix /service-proxy-auth/ rewrite rule to use new user/pw
Wolfram Schneider [Mon, 27 Jan 2014 13:57:23 +0000 (13:57 +0000)]
Use protocol-relative URLs for default mkws.indexdata.com server, MKWS-98
Mike Taylor [Mon, 27 Jan 2014 12:22:56 +0000 (12:22 +0000)]
Copy of mike2 except for non-functional SP-auth line.
Mike Taylor [Mon, 27 Jan 2014 12:20:35 +0000 (12:20 +0000)]
Remove unnecessary copyright tag.
(Trying to bring mike.html and mike2.html into convergence)
Mike Taylor [Sat, 25 Jan 2014 16:14:55 +0000 (16:14 +0000)]
Do not say "topic page"
Mike Taylor [Sat, 25 Jan 2014 15:26:12 +0000 (15:26 +0000)]
Add CSS styles.
Mike Taylor [Fri, 24 Jan 2014 17:09:40 +0000 (17:09 +0000)]
Better fixed-width table.
Add link to MKWS.
Mike Taylor [Fri, 24 Jan 2014 17:06:23 +0000 (17:06 +0000)]
Better fixed-width table.
More informative title.
Add link to MKWS.
Mike Taylor [Fri, 24 Jan 2014 16:58:33 +0000 (16:58 +0000)]
Better fixed-width table columns.
Mike Taylor [Fri, 24 Jan 2014 16:28:16 +0000 (16:28 +0000)]
Add link to MKWS
Mike Taylor [Fri, 24 Jan 2014 16:24:20 +0000 (16:24 +0000)]
Fix LoC ID.
Mike Taylor [Fri, 24 Jan 2014 16:23:19 +0000 (16:23 +0000)]
Title
Mike Taylor [Fri, 24 Jan 2014 16:21:17 +0000 (16:21 +0000)]
New file auto3.html
Mike Taylor [Fri, 24 Jan 2014 15:56:18 +0000 (15:56 +0000)]
New file, demos multiple auto-widgets
Mike Taylor [Fri, 24 Jan 2014 15:48:20 +0000 (15:48 +0000)]
Remove termlists from auto.html
Mike Taylor [Fri, 24 Jan 2014 15:45:44 +0000 (15:45 +0000)]
Remove debugging output from Handlebars "translate" helper.
(It was too noisy AND had a scoping problem.)
Address results are using classed instead of id.
(Allows multiple instances of each widget to co-exist.)
Auto-generated HTML for #mkwsSearch, #mkwsResults and #mkwsTargets
include the necessary classes as well as IDs. (There may be a
better way to insert these automatically, but that can wait.)
All this means that in a primitive way, we have a version of MKWS-71
("Enable multiple simultaneous MKWS searches using multiple SP
sessions") working!
Mike Taylor [Fri, 24 Jan 2014 15:39:12 +0000 (15:39 +0000)]
Simplify down to a single standard set.
Mike Taylor [Fri, 24 Jan 2014 15:13:36 +0000 (15:13 +0000)]
Fix spelling of m_teamName