setup: include new web ui in the release tarballs

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
buildbot updatejs: script that creates the static directory in public_html

- js dependancies are automatically downloaded
- buildbot js is installed in it
- custom js is also copied or linked into it

optional developer option that symlinks instead of copying on linux
master

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
www:js: updates for dojo 1.8

- observable sideeffects has changed slightly
- remove haml.js, has there are strong issues with buildability,
  and IE compatibility
The haml is now pre-processed with node.js and hamlcc

- adding hamlint hints
fixes for IE7

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
web/ui: adding buildmasters support

This is the pretext to work on dgrid extension that we need

- AutoHeight is an extension to dgrid that prevents scrollbar for small grids
- StyledColumns avoid to pass column style in a additionnal css
- TypedColumns is an attempt to factorized common columns, for use in various grids.
data/connector: fix default endpoint for api

previous version needed to use

localhost:8010/api//
instead of
localhost:8010/api/

to get list of available apis.

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
ui: small fixes, and addressing dustin comments

fix reconfig for extra_js
fix api URL building
check for java and node before minifying
improve update_js doc and code comments.
data/change: only convert timestamp to epoch if needed

master.addChange already does the conversion

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
ui:Changes: basic support for non fake change list

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
ui:factorize api/v1 based UI for dgrid creation

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
ui:Use moment library to display dates

This lib has the ability to display timestamps like in github:
"just now", "one minute ago", etc
You got the actual date with mouse over.

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
improve ui reactivity

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
www: improve ghost test framework to use dojo's doh

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
ui:builder: display start and end dates

fix the 43 year ago bug..

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
updatejs: make master.cfg optional

we can now use it to setup public_html for automated tests

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
ui:tests: make doh runner work inside ghost

It looks a few lines of code, but it is a bit tricky.

1/ original runner.html runs in synchronous mode.
The implementation of xhr sync mode in webkit make processEvents block,
which prevent twisted to actually serve the xhr :-(
2/ firebug.js does not know about webkit, and thus will override console.log (hence the useCustomLogger:true)
This is the reason why we have to copy the whole runner.htm inside our code.
test:www: add more debug message for publich_html configuration

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
fix root links for classes with pathPatterns rather than pathPattern
Merge commit '00a192c' into pull568
better error handling for update-js failure in create-master