LAVA Server 2011.08

Milestone information

Project:
LAVA Server
Series:
linaro-11.11
Version:
2011.08
Released:
 
Registrant:
Paul Larson
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
1 Zygmunt Krynicki
Blueprints:
1 Implemented
Bugs:
No bugs are targeted to this milestone.

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon lava-server-0.4-2011.08.tar.gz (md5, sig) source release 1,479
last downloaded 37 weeks ago
Total downloads: 1,479

Release notes 

* New footer page for linking to important things like bug reporting (for lava), documentation, source code, licensing
* Add support for web extensions

Changelog 

View the full changelog

2011-08-19 Zygmunt Krynicki <email address hidden>

 Bump version to 0.4 final

2011-08-18 Zygmunt Krynicki <email address hidden>

 Rename "API Help" to "Available Methods"

2011-08-18 Zygmunt Krynicki <email address hidden>

 Slight changes to auth tokens template

2011-08-18 Zygmunt Krynicki <email address hidden>

 Add "the" to "or visit the admin panel"

2011-08-18 Zygmunt Krynicki <email address hidden>

 Add alt attribute to AJAX progress image

2011-08-18 Zygmunt Krynicki <email address hidden>

 Add LAVA highlights on the server index page

2011-08-18 Zygmunt Krynicki <email address hidden>

 Rename lava.extensions to lava.extension_list

2011-08-18 Zygmunt Krynicki <email address hidden>

 Add front_page_template to extension API

2011-08-13 Zygmunt Krynicki <email address hidden>

 Provide a more useful footer

 This new footer has five sections:
 * report a bug
 * documentation
 * source code
 * web standards
 * licensing and copyright.

 Each section acts like an accordion would but with a nicer UI.

2011-07-26 Zygmunt Krynicki <email address hidden>

 Bump version to 0.4a1

2011-07-26 Zygmunt Krynicki <email address hidden>

 Merge refinement of the "white" theme introduced last cycle

2011-07-26 Zygmunt Krynicki <email address hidden>

 Finish 2011-07 theme.

 This is the theme I intended to land last month but did not get a chance to finish everything.

2011-07-21 Paul Larson <email address hidden>

 Version 0.3.0

2011-07-22 Zygmunt Krynicki <email address hidden>

 Sign packages uploaded to pypi

2011-07-22 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c2

2011-07-22 Zygmunt Krynicki <email address hidden>

 Turn off caching.

 Thank you very much, we need to research the topic harder before using the
 caching framework for production.

2011-07-20 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c1

2011-07-20 Zygmunt Krynicki <email address hidden>

 Do not require django 1.3

2011-07-20 Zygmunt Krynicki <email address hidden>

 In development mode keep media files separate for each database

2011-07-20 Zygmunt Krynicki <email address hidden>

 Enable site-wide caching for anonymous users

2011-07-19 Zygmunt Krynicki <email address hidden>

 Allow django 1.3

2011-07-19 Zygmunt Krynicki <email address hidden>

 Improve extension list to support named mapping lookup

2011-07-19 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3b5

2011-07-19 Zygmunt Krynicki <email address hidden>

 Drop the requirements to use django < 1.3, we can work with 1.3 really

2011-07-13 Zygmunt Krynicki <email address hidden>

 Merge 0.3b4 changes (fixes to API pages)

2011-07-13 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3b4

2011-07-13 Zygmunt Krynicki <email address hidden>

 Fix API help page example python snippet

2011-07-13 Zygmunt Krynicki <email address hidden>

 Fix link to LAVA API help

2011-07-13 Zygmunt Krynicki <email address hidden>

 Merge 0.3b3 changes

2011-07-13 Zygmunt Krynicki <email address hidden>

 Mount api urls a little differently

2011-07-13 Zygmunt Krynicki <email address hidden>

 Fix LOGIN_URL in production mode

2011-07-13 Zygmunt Krynicki <email address hidden>

 Move static files of demo app back to root static/

2011-07-13 Zygmunt Krynicki <email address hidden>

 Use correct setting name for prefixing static file paths used by extensions.

 From now on all static files served by extensions _must_ be prefixed with the
 true application name. Like {{ STATIC_URL }}appname/some-file

2011-07-13 Zygmunt Krynicki <email address hidden>

 Rework development settings (somewhat work in progress).

 This change differentiates from lava-server source location and lava-server
 data (sqlite database, media and static file cache). To use this new system
 you MUST use virtualenv. In addtion you need to configure some additional paths
 (precious/ and precious/var/lib/lava-server/). This will be provided by
 appropriate patches to lava-dev-tool.

 This change is temporary, (but dependency on additional configuration is not)
 as we transition to unified production/development settings.

2011-07-13 Zygmunt Krynicki <email address hidden>

 Mount xml-rpc services as /api and the rpc endpoint as /RPC2

2011-07-13 Zygmunt Krynicki <email address hidden>

 Improve wording related to API services

2011-07-13 Zygmunt Krynicki <email address hidden>

 Use lava-server prefix in xml-rpc and registration apps

2011-07-13 Zygmunt Krynicki <email address hidden>

 Use proper STATICFILES_DIRS when in development mode.

2011-07-12 Zygmunt Krynicki <email address hidden>

 Bump version to beta 3

2011-07-12 Zygmunt Krynicki <email address hidden>

 Use STATICFILES_DIRS from new django-debian

2011-07-12 Zygmunt Krynicki <email address hidden>

 Fix production DATA_URL_PREFIX to be "lava-server"

2011-07-12 Zygmunt Krynicki <email address hidden>

 Use lava-server as prefix for static files

2011-07-12 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3b2

2011-07-12 Zygmunt Krynicki <email address hidden>

 Add .gif to MANIFEST.in

2011-07-12 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3b1

2011-07-12 Zygmunt Krynicki <email address hidden>

 Adapt demo app to changes in lava-server

2011-07-12 Zygmunt Krynicki <email address hidden>

 New server look and feel

2011-07-09 Zygmunt Krynicki <email address hidden>

 Make <code> use nice font

2011-07-09 Zygmunt Krynicki <email address hidden>

 Remove obsolete comments

2011-07-09 Zygmunt Krynicki <email address hidden>

 Tweak <title/> tag content

2011-07-08 Zygmunt Krynicki <email address hidden>

 Use correct base template

2011-07-08 Zygmunt Krynicki <email address hidden>

 Add datatables.net js+css+two images

2011-07-08 Zygmunt Krynicki <email address hidden>

 Add some new css classes for ajax progress and for sidebar-less content

2011-07-08 Zygmunt Krynicki <email address hidden>

 Add ajax progress indicator image

2011-07-08 Zygmunt Krynicki <email address hidden>

 Vast reorganization of server templates

2011-07-07 Zygmunt Krynicki <email address hidden>

 Add links to home and XML-RPC

2011-07-07 Zygmunt Krynicki <email address hidden>

 Move dataview database logic to lava-dashboard

2011-07-07 Zygmunt Krynicki <email address hidden>

 Do not color sidebar links

2011-07-05 Zygmunt Krynicki <email address hidden>

 Close <link /> tag properly

2011-07-05 Zygmunt Krynicki <email address hidden>

 Merge a bunch of late fixes for issues discovered when actually trying to deploy everything

2011-07-01 Zygmunt Krynicki <email address hidden>

 Bump version to 0.2.1

2011-07-01 Zygmunt Krynicki <email address hidden>

 Use proper prefix in production static content URLs

2011-07-01 Zygmunt Krynicki <email address hidden>

 Use a nicer patting on the #content div

2011-07-01 Zygmunt Krynicki <email address hidden>

 Use correct path for staticfiles dir

2011-07-01 Zygmunt Krynicki <email address hidden>

 Use lava-server as integration name for django-debian

2011-07-01 Zygmunt Krynicki <email address hidden>

 Depend on south

2011-07-01 Zygmunt Krynicki <email address hidden>

 Fix linaro-django-xmlrpc version

2011-07-01 Zygmunt Krynicki <email address hidden>

 Allow debian installations to use django-debian via contribute_to_settings_ex

2011-07-01 Zygmunt Krynicki <email address hidden>

 Create contribute_to_settings_ex so that extensions can tap into django-debian

2011-07-05 Zygmunt Krynicki <email address hidden>

 Fix required version of linaro-django-xmlrpc

2011-06-29 Zygmunt Krynicki <email address hidden>

 Add a joke to development settings

2011-07-01 Zygmunt Krynicki <email address hidden>

 Merge a fix from Marc Tardif to make demo app installable (thanks!)

2011-06-30 Marc Tardif <email address hidden>

 Added MANIFEST.in file and bzrignore lines for demo.

2011-07-01 Zygmunt Krynicki <email address hidden>

 Drop docutils dependency, spell out versions for xml-rpc

2011-07-01 Zygmunt Krynicki <email address hidden>

 Use versiontools 1.3.1

2011-06-29 Paul Larson <email address hidden>

 Add support for arbitrary navigation content in extensions

 Instead of overly-technical python-based published menu tree I just
 added a new block in the server base template that allows extensions to
 drop arbitrary section between the main navigation tabs and the
 breadcrumbs.

 I also used this in the demo app and updated some demo app setup.py
 stuff in one go

2011-06-29 Zygmunt Krynicki <email address hidden>

 Tweak style on the main content container and data tables

2011-06-29 Zygmunt Krynicki <email address hidden>

 Make extension navigation links pretty

2011-06-29 Zygmunt Krynicki <email address hidden>

 Update demo app meta-data

2011-06-29 Zygmunt Krynicki <email address hidden>

 Hide the "Home" link and clear out floating links from main navigation pane

2011-06-29 Zygmunt Krynicki <email address hidden>

 Use additional navigation in demo app

2011-06-29 Zygmunt Krynicki <email address hidden>

 Allow extensions to provide additional navigation links

2011-06-23 Paul Larson <email address hidden>

 Mark final for 0.2 release

2011-06-23 Zygmunt Krynicki <email address hidden>

 Be pip friendly

2011-06-13 Zygmunt Krynicki <email address hidden>

 Post-release version bump to 0.2 dev

2011-06-13 Zygmunt Krynicki <email address hidden>

 Bump version to 0.1 and release

2011-06-13 Zygmunt Krynicki <email address hidden>

 Indicate that we require a particular version of django-staticfiles

2011-06-09 Michael-Doyle Hudson <email address hidden>

 Add token viewing/generation pages.
 Add a system.whoami() call.

2011-06-09 Michael-Doyle Hudson <email address hidden>

 simplify as pointed out by zygmunt

2011-06-08 Michael-Doyle Hudson <email address hidden>

 oops

2011-06-08 Michael-Doyle Hudson <email address hidden>

 move custom xml-rpc stuff into own module

2011-06-08 Michael-Doyle Hudson <email address hidden>

 move whoami to system namespace

2011-06-07 Michael-Doyle Hudson <email address hidden>

 sundry template improvements

2011-06-07 Michael-Doyle Hudson <email address hidden>

 tidy up no-token and create token views

2011-06-07 Michael-Doyle Hudson <email address hidden>

 add {% csrf_token %} to delete confirmation

2011-06-07 Michael-Doyle Hudson <email address hidden>

 enable token views, copy in templates thereof and change them to inherit from lava-server base.html

2011-06-06 Zygmunt Krynicki <email address hidden>

 Merge lava-server console entry point

2011-06-03 Michael-Doyle Hudson <email address hidden>

 install lava_server/manage.py as lava-server (in effect)

2011-06-03 Michael-Doyle Hudson <email address hidden>

 Add the ability for a lava-server extension to provide a linaro-django-xmlrpc
 ExposedAPI class, and copy the nice api page from the dashboard.

 While there, this updates the version of jquery we bundle with the server to
 1.5.1 and bundles some jquery-ui libs and css.

2011-06-03 Michael-Doyle Hudson <email address hidden>

 argh, the linaro-django-xmlrpc view defines site_url

2011-06-03 Michael-Doyle Hudson <email address hidden>

 add Aristo css

2011-06-03 Michael-Doyle Hudson <email address hidden>

 restore loading of jquery that got deleted by mistake

2011-06-03 Michael-Doyle Hudson <email address hidden>

 upgrade to jquery 1.5.1, add jquery-ui-1.8.12

2011-06-03 Michael-Doyle Hudson <email address hidden>

 load js assets from lava static url space, which does not work yet

2011-06-03 Michael-Doyle Hudson <email address hidden>

 fixes from testing in a fresh virtualenv without lava-dispatcher installed

2011-06-02 Michael-Doyle Hudson <email address hidden>

 docstrings

2011-06-02 Michael-Doyle Hudson <email address hidden>

 undo overly keen fill-paragraph

2011-06-02 Michael-Doyle Hudson <email address hidden>

 allow extensions to provide an api object

2011-06-02 Michael-Doyle Hudson <email address hidden>

 steal api.html template from launch control

2011-06-02 Michael-Doyle Hudson <email address hidden>

 give ExtensionLoader an xmlrpc_mapper attribute

2011-05-30 Zygmunt Krynicki <email address hidden>

 Disable admin docs

 This is a workaround for django bug (https://code.djangoproject.com/ticket/6681)

2011-05-30 Zygmunt Krynicki <email address hidden>

 Better version_details.html template

 Running a server without any extensions is rare but now the version details
 page is prettier in that case.

2011-05-26 Michael-Doyle Hudson <email address hidden>

 Move to a model where lava-server loads 'extensions' such as the dashboard
 which can define their own settings, menus and pages.

2011-05-25 Zygmunt Krynicki <email address hidden>

 Load extensions lazily, contain import errors so that the server can always start up

2011-05-25 Zygmunt Krynicki <email address hidden>

 Use lists instead of tuples so that extensions can inject stuff easily

2011-05-25 Zygmunt Krynicki <email address hidden>

 Better exception logging when settings cannot be imported

2011-05-25 Zygmunt Krynicki <email address hidden>

 Remove some whitespace

2011-05-25 Zygmunt Krynicki <email address hidden>

 Import all magic components of django.conf.url.defaults explicitly

2011-05-25 Zygmunt Krynicki <email address hidden>

 Merge entry points support from Michael

2011-05-25 Michael-Doyle Hudson <email address hidden>

 sort extensions by name

2011-05-25 Michael-Doyle Hudson <email address hidden>

 use the name in the entry_point as the location in the url space to install the app -- this is probably a bit incompatible with the debian standards, but otoh "lava_dashboard_app" looks really daft in a URL -- we need some flexibility here

2011-05-25 Michael-Doyle Hudson <email address hidden>

 * move demo_app package into its own directory (so the find_packages in
 setup.py doesn't find it)
 * add a setup.py just for the demo app
 * switch to using entry_points to find and load lava-server extensions.

2011-05-25 Michael-Doyle Hudson <email address hidden>

 flakes

2011-05-25 Zygmunt Krynicki <email address hidden>

 Require versiontools

2011-05-24 Zygmunt Krynicki <email address hidden>

 Provide some initial text for lava server index page

2011-05-24 Zygmunt Krynicki <email address hidden>

 Add per-extension version information page

2011-05-24 Zygmunt Krynicki <email address hidden>

 Use lava context processor

2011-05-24 Zygmunt Krynicki <email address hidden>

 Require extensions to expose main view, version

2011-05-24 Zygmunt Krynicki <email address hidden>

 Expose lava server version in context processors

2011-05-24 Zygmunt Krynicki <email address hidden>

 Add copyright headers, expose main view and version

2011-05-24 Zygmunt Krynicki <email address hidden>

 Update UI a little

 Application tabs are now more prominent.

2011-05-24 Zygmunt Krynicki <email address hidden>

 Add lava context processor.

 This processor exposes lava object with extensions property

2011-05-24 Zygmunt Krynicki <email address hidden>

 Update demo application to use new interface

2011-05-24 Zygmunt Krynicki <email address hidden>

 Use updated extension loader interface

2011-05-24 Zygmunt Krynicki <email address hidden>

 Use extension loader to add urls from extensions

2011-05-24 Zygmunt Krynicki <email address hidden>

 Improve lava extension interface.

 Separate extension interface from simple default implementation. Make it
 possible to add new URLs to the server.

2011-05-24 Zygmunt Krynicki <email address hidden>

 Add demo lava extension

2011-05-24 Zygmunt Krynicki <email address hidden>

 Add lava server extension loader

2011-05-24 Zygmunt Krynicki <email address hidden>

 Remove hardcoded dashboard support, use extension loader

2011-05-24 Zygmunt Krynicki <email address hidden>

 Backport more django-debian support from launch-control, add dataview specific database

2011-05-24 Zygmunt Krynicki <email address hidden>

 Update copyright date

2011-05-24 Zygmunt Krynicki <email address hidden>

 Remove dashboard integration from urls

2011-05-24 Zygmunt Krynicki <email address hidden>

 Copy some changes to css from recent launch-control

2011-05-24 Michael-Doyle Hudson <email address hidden>

 get app name right!

2011-05-24 Michael-Doyle Hudson <email address hidden>

 more conditionalizing

2011-05-24 Michael-Doyle Hudson <email address hidden>

 depend on django < 1.3 for now; staticfiles seems a bit incompatible

2011-05-24 Michael-Doyle Hudson <email address hidden>

 doh

2011-05-24 Michael-Doyle Hudson <email address hidden>

 conditionally put back dashboard settings

2011-05-24 Michael-Doyle Hudson <email address hidden>

 last two references to dashboard_server

2011-05-24 Michael-Doyle Hudson <email address hidden>

 merge ~zkrynicki/lava-server/purge-from-launch-control-references

2011-05-23 Zygmunt Krynicki <email address hidden>

 Replace all occurences of 'Launch Control' with 'LAVA Server'

2011-05-23 Zygmunt Krynicki <email address hidden>

 Update comment to refer to LAVA

2011-05-23 Zygmunt Krynicki <email address hidden>

 Require updated django-testscenarios

2011-05-23 Zygmunt Krynicki <email address hidden>

 Update setup.py

 lava-server is now a standalone project, with separate version and tests.
 Tests can be invoked via ./setup.py test or lava-server/manage.py test

2011-05-23 Zygmunt Krynicki <email address hidden>

 Update .bzrignore

2011-05-23 Zygmunt Krynicki <email address hidden>

 Import lava-server settings in manage.py

2011-05-23 Zygmunt Krynicki <email address hidden>

 Update manifest

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove dashboard specific settings

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove all application-specific URLS from server.

 This part will need changing again after we implement application integration
 points. This way apps can inject urls into the system.

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove test.sh

 This script is tricky, perhaps we could improve our testing infrastructure somehow to test in both databases automatically

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove setup-dev-env.sh, it will end up in lava-dashboard

2011-05-23 Zygmunt Krynicki <email address hidden>

 Reboot documentation files

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove contrib scripts.

 They did not work for a while and we'll need something different to setup
 environment for the whole stack anyway.

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove source assets.

 They belonged to lava-dashboard

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove apache integratin files.

 They are obsolete since we're using django-debian to setup everything

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove LGPL-3 license.

 All remaining code is AGLP3

2011-05-23 Zygmunt Krynicki <email address hidden>

 Drop copy of jquery-ui and jquery.flot

 Application-specific resource should now be contained in each application.

2011-05-23 Zygmunt Krynicki <email address hidden>

 Replace references to Launch Control to LAVA

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove dashboard templates.

 Application specific templates will be moved to each respective application.

2011-05-23 Zygmunt Krynicki <email address hidden>

 Remove launch-control.

 We don't need this in lava-server. It currently has some generic testing helpers, we could probably move that to django-testscenarios or just to lava-dashboard directly

2011-05-23 Zygmunt Krynicki <email address hidden>

 Update setup.py meta-data

2011-05-23 Zygmunt Krynicki <email address hidden>

 More PEP8 fixes for setup.py

2011-05-23 Zygmunt Krynicki <email address hidden>

 PEP8 fixes for setup.py

2011-05-23 Michael-Doyle Hudson <email address hidden>

 some renaming

2011-05-23 Michael-Doyle Hudson <email address hidden>

 start removing stuff that belongs in lava-dashboard

2011-04-07 Zygmunt Krynicki <email address hidden>

 Merge 0.3c9 (ninth release candidate)

2011-04-06 Zygmunt Krynicki <email address hidden>

 Add ability to define bundle stream name in DashboardAPI.make_stream()

2011-04-06 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c9

2011-04-07 Zygmunt Krynicki <email address hidden>

 Merge 0.3c8 (eighth release candidate)

2011-04-06 Zygmunt Krynicki <email address hidden>

 Catch IntegrityError properly

2011-04-06 Zygmunt Krynicki <email address hidden>

 Fix typo

2011-04-06 Zygmunt Krynicki <email address hidden>

 Update changelog

2011-04-06 Zygmunt Krynicki <email address hidden>

 Add DashboardAPI.make_stream()

 This function can create anonymous bundle streams

2011-04-06 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c8

2011-04-06 Zygmunt Krynicki <email address hidden>

 Remove print statement

2011-04-07 Zygmunt Krynicki <email address hidden>

 Merge 0.3c7 (seventh release candidate)

2011-04-06 Zygmunt Krynicki <email address hidden>

 Link to bundle lists in a bundle stream view

2011-04-06 Zygmunt Krynicki <email address hidden>

 Add a view for showing bundles in a particular stream

2011-04-06 Zygmunt Krynicki <email address hidden>

 Display hardware devices in test run's hardware context view

2011-04-06 Zygmunt Krynicki <email address hidden>

 Display software package in test run's software context view

2011-04-06 Zygmunt Krynicki <email address hidden>

 Display software sources in test run's software context view

2011-04-05 Zygmunt Krynicki <email address hidden>

 Update NEWS

2011-04-05 Zygmunt Krynicki <email address hidden>

 Document TestRun.time_check_performed

2011-04-05 Zygmunt Krynicki <email address hidden>

 Use test_result.relative_index in test_run_detail template

2011-04-05 Zygmunt Krynicki <email address hidden>

 Fix TestRun.get_summary_results()

2011-04-05 Zygmunt Krynicki <email address hidden>

 Provide mini-list of test results from the same run in the sidebar.

2011-04-05 Zygmunt Krynicki <email address hidden>

 Better TestResult admin site and __unicode__ method

2011-04-05 Zygmunt Krynicki <email address hidden>

 Document TestResult.relative_index

2011-04-04 Zygmunt Krynicki <email address hidden>

 Better description for TestCase.units

2011-04-01 Zygmunt Krynicki <email address hidden>

 Change tabs to spaces and reindent.

2011-04-01 Zygmunt Krynicki <email address hidden>

 Change how DashboardAPI documentation is rendered, fixes LP:740595

2011-04-01 Zygmunt Krynicki <email address hidden>

 Change default initial header level for REsT rendering.

 The initial level was 1 which made DashboardAPI documentation look
 odd. I changed it to 4 to make it more pleasant to look at.

2011-04-01 Zygmunt Krynicki <email address hidden>

 Fix indent issue in REsT documentation for DashboardAPI.get()

2011-04-01 Zygmunt Krynicki <email address hidden>

 Add regression tests for LP:744922

2011-03-23 Zygmunt Krynicki <email address hidden>

 Fix description of various kinds of bundle streams in the bundle stream details page

2011-03-22 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c7

2011-03-22 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c6 (which was released as 0.5 sorry)

2011-04-07 Zygmunt Krynicki <email address hidden>

 Merge 0.3c6 (sixth release candidate)

2011-03-22 Zygmunt Krynicki <email address hidden>

 Bump the max_length of SoftwarePackage.version to 64 characters.

 Damn you pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14

2011-03-22 Zygmunt Krynicki <email address hidden>

 Fix older fixtures after changing models

2011-03-22 Zygmunt Krynicki <email address hidden>

 Add missing import

2011-03-22 Zygmunt Krynicki <email address hidden>

 Count test_result in a test run from 1, not from 0

2011-03-22 Zygmunt Krynicki <email address hidden>

 Fix test_result unicode unit tests

2011-03-22 Zygmunt Krynicki <email address hidden>

 Change sorting on test runs

2011-03-22 Zygmunt Krynicki <email address hidden>

 Store the order of test results when importing them from json

 This allows to have predictable ordering of results in cases when
 a test run has more than one result.

2011-03-21 Zygmunt Krynicki <email address hidden>

 Increase NamedAttribute.value.max_length to 512

2011-03-18 Zygmunt Krynicki <email address hidden>

 Fix typo (thanks plars!)

2011-04-07 Zygmunt Krynicki <email address hidden>

 Merge 0.3c5 (fifth release candidate)

2011-03-18 Zygmunt Krynicki <email address hidden>

 Add simple text attachment viewer

2011-03-18 Zygmunt Krynicki <email address hidden>

 When importing attachments in older formats set mime type to text/plain

2011-03-18 Zygmunt Krynicki <email address hidden>

 Add fixture with gcc bundle stream

2011-03-18 Zygmunt Krynicki <email address hidden>

 Add example_coremark bundle

2011-03-18 Zygmunt Krynicki <email address hidden>

 Add support for importing 1.2 format documents

2011-03-18 Zygmunt Krynicki <email address hidden>

 Minor improvements to admin site

2011-03-18 Zygmunt Krynicki <email address hidden>

 Add better support for postgresql

2011-03-18 Zygmunt Krynicki <email address hidden>

 Use fetchall() instead of a loop

2011-03-18 Zygmunt Krynicki <email address hidden>

 Cast javascript_commit_timestamp to integer after multiplication to get better resolution

2011-03-18 Zygmunt Krynicki <email address hidden>

 Check if TestCase exists before rendering a gcc report

2011-03-18 Zygmunt Krynicki <email address hidden>

 Remove useless imports from urls

2011-03-18 Zygmunt Krynicki <email address hidden>

 Use floatformat to display measurement fields

2011-03-18 Zygmunt Krynicki <email address hidden>

 Change project timezone to UTC

2011-03-17 Zygmunt Krynicki <email address hidden>

 Add custom SQL for PostgreSQL and Sqlite so that gcc charts can produce correct data.

2011-03-17 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c5

2011-04-07 Zygmunt Krynicki <email address hidden>

 Merge 0.3c4 (fourth release candidate)

2011-03-16 Zygmunt Krynicki <email address hidden>

 Add simple shell script that simplifies testing of sqlite and pgsql backends.

2011-03-16 Zygmunt Krynicki <email address hidden>

 Support more possible error messages in database-specific test case

2011-03-16 Zygmunt Krynicki <email address hidden>

 Make successful deserialization tests not use TransactionTestCase

 Those tests don't fail and transactions just prolong testing. If something goes
 wrong they will still fail, they may just affect subsequent tests with
 IntegrityError but we don't care about that (one test failure is just as bad as
 100 failures)

2011-03-16 Zygmunt Krynicki <email address hidden>

 Separate duplicate bundle upload test to use TransactionTestCase

 This test case may raise IntegrityError and therefore must use real
 transactions that are only provided by TransactionTestCase.

2011-03-16 Zygmunt Krynicki <email address hidden>

 Delete created attachments and bundles.

 This is required due to the way django 1.2.5 behaves.
 http://docs.djangoproject.com/en/1.2/releases/1.2.5/#filefield-no-longer-deletes-files

2011-03-16 Zygmunt Krynicki <email address hidden>

 Drop some dead code and add Bundle.delete_files to clean up in test code

2011-03-16 Zygmunt Krynicki <email address hidden>

 Rewrite fixture.create_bundle to use Bundle.objects.create_with_content

2011-03-16 Zygmunt Krynicki <email address hidden>

 Rewrite DashboardAPI.put() to use Bundle.objects.create_with_content()

2011-03-16 Zygmunt Krynicki <email address hidden>

 Add new manager to Bundles.

 This manager adds a method to conventiently and safely create a bundle with
 content without having to worry about transactions, uniqueness constraints,
 rollbacks and so on.

2011-03-16 Zygmunt Krynicki <email address hidden>

 Improve transaction handling in document import code.

 This code change was created after experiencing PostgreSQL behavior of handling
 IntegrityErrrors. The major change is to ensure the actual importer runs in
 transaction (commit_on_success) and can properly clean up anything it created
 (including attachments).

 Some minor changes are to the public API, it is no longer using transaction
 decorators. There is also some supplementary logging to help figure out where
 problems creep.

2011-03-16 Zygmunt Krynicki <email address hidden>

 Reorder middleware entries.

 Previously middleware was sorted by name. This is not a good idea. This order
 is based on what I found on djangoproject.com

2011-03-16 Zygmunt Krynicki <email address hidden>

 Add database type to MEDIA_ROOT in development mode.

 This allows one to keep separate state for both sqlite and pgsql

2011-03-15 Zygmunt Krynicki <email address hidden>

 Use BigIntegerField to store microseconds for test duration.

 Previously IntegerField failed on PostgreSQL

2011-03-15 Zygmunt Krynicki <email address hidden>

 Rollback failed transactions when deserialization goes bad.

 This prevents issues with transaction handling on postgresql.

2011-03-15 Zygmunt Krynicki <email address hidden>

 Add hacky support for postgresql as development database

2011-03-15 Zygmunt Krynicki <email address hidden>

 Enable DEBUG_PROPAGATE_EXCEPTIONS in development mode

 This allows to clearly see the actual exception that caues a view to fail

2011-03-15 Zygmunt Krynicki <email address hidden>

 Generate random strings that will fit in max_length constraint for the corresponding database fields

2011-03-15 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c4

2011-04-07 Zygmunt Krynicki <email address hidden>

 Merge 0.3c3 third release candidate

2011-03-14 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c3

2011-03-14 Zygmunt Krynicki <email address hidden>

 Remove unused apache.conf

2011-03-14 Zygmunt Krynicki <email address hidden>

 Fix LOGIN_REDIRECT_URL

2011-03-14 Zygmunt Krynicki <email address hidden>

 Increase max_length of few fields after preliminary testing on postgresql

2011-04-07 Zygmunt Krynicki <email address hidden>

 Merge 0.3c2 (second release candidate)

2011-03-14 Zygmunt Krynicki <email address hidden>

 Add TODO file

2011-03-14 Zygmunt Krynicki <email address hidden>

 Add apache integration files

2011-03-14 Zygmunt Krynicki <email address hidden>

 Remove messages application from installed applications.

 We were not using it, it was added by accident when converting settings

2011-03-14 Zygmunt Krynicki <email address hidden>

 Ship package data when installing, this is needed by debian package

2011-03-14 Zygmunt Krynicki <email address hidden>

 Depend on django-staticfiles in setup.py

2011-03-14 Zygmunt Krynicki <email address hidden>

 Update MANIFEST.in after media got renamed to htdocs

2011-03-14 Zygmunt Krynicki <email address hidden>

 Import * from django.conf.url.defaults

 This prevents tests from failing to work as a side effect of missing handler404
 and handler500

2011-03-14 Zygmunt Krynicki <email address hidden>

 Remove CSRFClient

 The functionality of this client is now available in the built in django test client.

2011-03-14 Zygmunt Krynicki <email address hidden>

 Fix csrf test to explicitly use RequestContext and csrf_token

 This is needed because previusly this test depended on middleware rewriting all
 responses to include the token. This is not recommended, slow and might break
 unrelated views. With django 1.2 as dependency we can now use proper, explicit,
 csrf tokens.

2011-03-14 Zygmunt Krynicki <email address hidden>

 Add csrf_token to all registration forms

2011-03-14 Zygmunt Krynicki <email address hidden>

 Reorganize settings and urls based on django-hello

 This reorganization has several important consequences:
 * URLs can now be installed relative to any desired prefix
 * Settings are now split into common, development, production and debian (each
 except for common is inheriting from exactly one parent).
 * Add dependency on django-staticfiles
 * Use django-staticfiles to serve static/media content in development mode
 * Build cache of static files in setup-dev-env.sh

2011-03-14 Zygmunt Krynicki <email address hidden>

 Load static files from STATIC_URL

2011-03-09 Zygmunt Krynicki <email address hidden>

 Remove databrowse remains from dashboard_server.urls

2011-03-03 Zygmunt Krynicki <email address hidden>

 Bug fixes found in 0.3c1

 * Bump version to 0.3c2
 * Add helper that aids in debugging deserialization errors.
 * Fix missing import and invalid attribute name.
 * Bump required version of linaro-dashboard-bundle to 1.4

2011-03-03 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c2

2011-03-03 Zygmunt Krynicki <email address hidden>

 Add helper that aids in debugging deserialization errors.

 This helper tests a precondition in deserialization tests. If the
 deserialization failed totally then a traceback will be included in the
 assertion error.

2011-03-03 Zygmunt Krynicki <email address hidden>

 Fix missing import and invalid attribute name.

 This was never caught because while I implemented linaro-dashboard-bundle 1.4 I
 was still using 1.2 from my system's deb package. The evolution code-path was
 (in that version) silently ignored and I never properly tested 1.1 attachment
 importer

2011-03-02 Zygmunt Krynicki <email address hidden>

 Bump required version of linaro-dashboard-bundle to 1.4

2011-03-02 Zygmunt Krynicki <email address hidden>

 Preparation for 0.3 release candidate 1

 * Bump version to 0.3c1
 * Refresh dependencies

2011-03-02 Zygmunt Krynicki <email address hidden>

 Bump version to 0.3c1

2011-03-02 Zygmunt Krynicki <email address hidden>

 Refresh dependencies

2011-03-02 Zygmunt Krynicki <email address hidden>

 Few tweaks for GCC benchmark reports

 * Generate "best data" series only if we have some data in the first place
 * Autopaginate test run detail view by 50 test results
 * Display test run UUID in test run detail context pane
 * Display test run attributes in test result details
 * Add a button that removes gcc report

2011-03-02 Zygmunt Krynicki <email address hidden>

 Generate "best data" series only if we have some data in the first place

2011-03-02 Zygmunt Krynicki <email address hidden>

 Autopaginate test run detail view by 50 test results

2011-03-02 Zygmunt Krynicki <email address hidden>

 Display test run UUID in test run detail context pane

2011-03-02 Zygmunt Krynicki <email address hidden>

 Display test run attributes in test result details

2011-03-02 Zygmunt Krynicki <email address hidden>

 Add a button that removes gcc report

2011-03-02 Zygmunt Krynicki <email address hidden>

 Improvements to import process

 * Fix a typo in example "source-refs" bundle
 * Add an ability to import all documents as latest format via evolution.
 * Add support for importing 1.1 format attachments.
 * Remove debian copyright file (moved to packaging branch)
 * Add mime_type to Attachment model.

2011-03-02 Zygmunt Krynicki <email address hidden>

 Fix a typo in example "source-refs" bundle

2011-03-02 Zygmunt Krynicki <email address hidden>

 Add an ability to import all documents as latest format via evolution.

 This option is disabled by default but can simplify the import process and
 currently passes all tests. In the future we can consider discarding all but
 the latest and greatest importer to simplify the codebase. Since all format
 upgrades retain all information this operation is safe.

 The only downside would be the lack of DocumentEvolution method that safely
 converts from a more recent format to an older format if the operation is safe
 and is not discarding anything. This would be needed if there are some legacy
 programs that are still processing 1.0 documents manually and were not adapted
 to use any abstraction libraries or more recent formats directly.

 Currently we store the actual test bundle / document that the user is uploading
 to the system but in the future we may choose to discard it and only re-crate
 it on demand.

2011-03-02 Zygmunt Krynicki <email address hidden>

 Add support for importing 1.1 format attachments.

 The actual method does three operations to achieve this:
 1) move importing of software context and hardware context to dedicated helper methods
 2) change the way software context import method works in 1.1 to import
 software sources and software image description from an alternate name
 3) change the way attachment importing works in 1.1 (new code)

2011-03-02 Zygmunt Krynicki <email address hidden>

 Remove debian copyright file (moved to packaging branch)

2011-03-02 Zygmunt Krynicki <email address hidden>

 Add mime_type to Attachment model.

2011-03-01 Zygmunt Krynicki <email address hidden>

 Update MANIFEST.in to ship all everything that should be shipped in the tarball

2011-03-01 Zygmunt Krynicki <email address hidden>

 Refresh dependencies

2011-02-23 Zygmunt Krynicki <email address hidden>

 Use UTC timestamps when adding new bundle

 Previously the Bundle.uploaded_on attribute used the auto_add_now = True django feature.
 This feature uses _local_ time, depending on timezone. This causes issues when working
 with datetimes as all other timestamps are in UTC.

2011-02-08 Zygmunt Krynicki <email address hidden>

 Display branch name in base.html template, is possible

2010-12-22 Zygmunt Krynicki <email address hidden>

 For development branches display branch nickname longside the branch version

2011-02-08 Zygmunt Krynicki <email address hidden>

 Merge sprint work (new reports UI) and 1.1 format work

2011-02-02 Zygmunt Krynicki <email address hidden>

 Merge with trunk to resolve merge conflicts.

2011-02-01 Zygmunt Krynicki <email address hidden>

 Do not display shadows in the plot, fixes 26

2011-02-01 Zygmunt Krynicki <email address hidden>

 Drop another debug line

2011-02-01 Zygmunt Krynicki <email address hidden>

 Remove logging statements

2011-02-01 Zygmunt Krynicki <email address hidden>

 Fix typo in css path

2011-02-01 Zygmunt Krynicki <email address hidden>

 Do not tread measurement of 0 as unassigned

2011-02-01 Zygmunt Krynicki <email address hidden>

 Add gcc benchmark report

2011-01-29 Zygmunt Krynicki <email address hidden>

 Add jquery.flot.axislabel plugin

 This plugin came directly from github https://github.com/xuanluo/flot-axislabels

2011-01-29 Zygmunt Krynicki <email address hidden>

 Add jquery.flot.navigate plugin

2011-01-29 Zygmunt Krynicki <email address hidden>

 Add jquery-ui-1.8.9

2011-01-26 Zygmunt Krynicki <email address hidden>

 Add sample bundle with source references

2011-01-26 Zygmunt Krynicki <email address hidden>

 Display test case and test name in test case admin

2011-01-26 Zygmunt Krynicki <email address hidden>

 Add gcc benchmark report and data source with required dependencies

2011-01-24 Zygmunt Krynicki <email address hidden>

 Adapt to new linaro-json 2.0

2011-01-13 Zygmunt Krynicki <email address hidden>

 Merge django-reports

2011-02-04 Zygmunt Krynicki <email address hidden>

 Fix wording error

2011-02-04 Zygmunt Krynicki <email address hidden>

 Clean up one test class

2011-02-04 Zygmunt Krynicki <email address hidden>

 Merge django-restricted-resource work with significant changes to tests, views and several other places

2011-01-13 Deepti B. Kalakeri<email address hidden>

 Fixing DashboardAPIBundlesTests test

2011-01-13 Deepti B. Kalakeri<email address hidden>

 Fixing TestRunTests, BundleDeserializerText2DatabaseFailureTestCase, BundleDeserializerText2DatabaseTestCase and DashboardAPIPutFailureTransactionTests tests

2011-01-13 Deepti B. Kalakeri<email address hidden>

 Fixing DashboardAPIPutTests and DashboardAPIStreamsTests tests

2011-01-13 Deepti B. Kalakeri<email address hidden>

 Fixing dashboard_app.DashboardAPIGetTests and DashboardAPIPutFailureTests tests

2011-01-13 Deepti B. Kalakeri<email address hidden>

 Fixing dashboard_app..BundleStreamManagerAllowedForAnyoneTestCase , dashboard_app.BundleTests, dashboard_app.DashboardAPIBundlesTests

2011-01-13 Deepti B. Kalakeri<email address hidden>

 Fixing dashboard_app.BundleStreamManagerAllowedForUserTestCase

2011-01-12 Deepti B. Kalakeri<email address hidden>

 Fixing dashboard_app.DashboardAPIBundlesFailureTests

2011-01-12 Deepti B. Kalakeri<email address hidden>

 Fixing dashboard_app.DashboardAPIPutFailureTests tests

2011-01-12 Deepti B. Kalakeri<email address hidden>

 Fixing dashboard_app.TestRunViewAuth and dashboard_app.TestRunDetailView tests

2011-01-12 Deepti B. Kalakeri<email address hidden>

 Fixing bundle_stream.BundleStreamTests tests

2011-01-11 Deepti B. Kalakeri<email address hidden>

 Fixing some of the test failures

2011-01-10 Zygmunt Krynicki <email address hidden>

 Change bundle stream ownership semantics.

 Add explicit anonymous streams (that are also public)
 Make all streams owned by someone (either group or user)
 Rework pathnames so that new ownership is expressed there

2011-01-10 Deepti B. Kalakeri<email address hidden>

 Fixing a small typo in the default_settings.py

2011-01-10 Deepti B. Kalakeri<email address hidden>

 Adding zygmunts changes to automate using django-restricted-resource

2011-01-07 Deepti B. Kalakeri<email address hidden>

 Removing/changing more things for bundlestream to make use of the django-restricted-resource code

2011-01-07 Deepti B. Kalakeri<email address hidden>

 Removing the dashboard_app/managers.py as we make use of the django-restricted-resource managers.py

2011-01-07 Deepti B. Kalakeri<email address hidden>

 Adding code to bundlestream to make use of the django-restricted-resource

2011-02-02 Zygmunt Krynicki <email address hidden>

 Adapte to new version of linaro-json

2011-02-02 Zygmunt Krynicki <email address hidden>

 Cherry pick revision 132 from development branch to work around merge conflicts, this brings in "Adapt to new linaro-json 2.0"

2011-02-02 Zygmunt Krynicki <email address hidden>

 Merge better templates for various views.

2011-01-13 Zygmunt Krynicki <email address hidden>

 Several things clumped together

 * Fix title on all pages to use the block.super to get consistent Launch Control prefix
 * Add simple software context / hardware context views/templates
 * Recreate dummy (empty) templates in the dashboard_app/templates tree for testing
 * Rework bundle_stream_detail to test_run_list. Showing list of bundles that
 each has a list of test runs was a bad idea that just complicated the code
 for no benefit. To work properly it also needed two-way pagination which we
 proabably cannot do with autopaginate. This is also the first step to get
 rid of odd terminology from the UI and make it more about testing and
 less about "bundles" and "stream"

2011-02-02 Zygmunt Krynicki <email address hidden>

 Merge initial dependency on django-reports

2010-12-20 Zygmunt Krynicki <email address hidden>

 Add support for django-reports

2011-02-02 Zygmunt Krynicki <email address hidden>

 Fix a bug in the way test cases are imported from the bundle

2011-01-11 Zygmunt Krynicki <email address hidden>

 Fix test case importing when test case is not present in the bundle

2011-02-02 Zygmunt Krynicki <email address hidden>

 Merge meta-data for django model of software source

2011-01-10 Zygmunt Krynicki <email address hidden>

 Add help/verbose_name to each field of SoftwareSource

2011-01-10 Zygmunt Krynicki <email address hidden>

 Add SoftwarePackage to admin interface

2011-02-02 Zygmunt Krynicki <email address hidden>

 Merge initial work on 1.1 bundle format with support for source references

2011-01-10 Zygmunt Krynicki <email address hidden>

 Add 1.1 format importer test suite

2011-01-10 Zygmunt Krynicki <email address hidden>

 Add 1.1 format deserializer (incomplete) that understands sources

2011-01-10 Zygmunt Krynicki <email address hidden>

 Make SoftwareSource.commit_timestamp nullable

2011-01-10 Zygmunt Krynicki <email address hidden>

 Add 'sources' many-to-many field to TestRun model

2011-01-10 Zygmunt Krynicki <email address hidden>

 Add SoftwareSource model

2011-02-02 Zygmunt Krynicki <email address hidden>

 Merege linaro-dashboard-bundle dependency

 This changes the way bundles are deserialized on import and introduces strict json validation

2011-01-10 Zygmunt Krynicki <email address hidden>

 Merge with trunk

2010-12-13 Zygmunt Krynicki <email address hidden>

 Added several tests for the 1.0 format importer

2010-12-13 Zygmunt Krynicki <email address hidden>

 Add simple test for IBundleImporter interface

2010-12-10 Zygmunt Krynicki <email address hidden>

 Remove parts of LP658917 regression tests.

 Those tests were meant to be moved to memory-to-database deserialization tests
 but that layer changed significantly and all of those tests were using
 internals that no longer exist.

 Three tests are removed:

 1) test_mem2db_TestCase__no_test_case

 This tests checked that a database TestCase when deserialized from a object
 with no test_case_id would end up with a None test_case reference. This test
 should be rewritten and become a part of BundleFormatImporter_1_0 test case.

 2) test_mem2db_TestCase_test_case_with_units

 This test is similar and checks the usage of units field

 3) test_mem2db_TestCase_test_case_without_units

 This test is also similar and checks what is the default value of the units field.

2010-12-10 Zygmunt Krynicki <email address hidden>

 Rework deserialization tests

 There are substantial changes to deserialization tests that warrant some
 description. First of all, in the old code there was a path that all data would
 have to traverse at it was "imported" from a bundle:
 1) Load JSON from text
 2) Load object model (based on launch_control.models.*) from JSON document
 3) Create or reference database-backed objects from object model

 At each step there was some validation and different things could go wrong.
 The whole point of step 2 was validation (performed as a side effect of
 instantiation all those objects since they had different checks hard-coded
 based on their understanding of the JSON schema.

 The new model is conceptually simpler:
 1) Load JSON from text
 2) Validate JSON document using appropriate schema (depending on format)
 3) Create or reference database-backed objects from JSON document

 Don't think that step 2 is the same. It's not, there is no "format" here.
 It's just the _exact_ _raw_ object (JSON document, a python dictionary really)
 that was returned by the JSON loader. There is no type mangling (converting
 certain strings to datetime.datetime objects for example) or translating all
 dictionaries into python classes. The validation works _only_ on the JSON
 document (again just a dict of bools, ints, Decimals, strings and lists and
 dicts of thereof). The validation looks _only_ at the JSON schema. There is a
 single definition of what is considered valid. This is a big improvement, both
 conceptually (the model is simple and defined in a single place) and for
 performance reasons (the old code spent lots of time instantiating new python
 object for each dictionary in the JSON document).

 Another improvement comes from usage of DocumentIO from
 linaro-python-dashboard-bundle. It allows us to easily evolve the format and
 load and check any supported formats using one API. There is also separate API,
 not yet used here, DocumentEvolution that allows for converting between older
 versions to newer versions without loosing any data. This will be used later
 to, for example, allowing users to export old data in most recent and
 feature-full format. It will also be a single well defined point for defining
 new versions and their schema.

 Lastly, all of those changes mean that some tests no longer make any sense.
 Previous code had tests that ensured we constructed the "object model" from raw
 JSON correctly. This step no longer exists as there is only JSON for storage
 and processing and django database model internal application needs.

2010-12-10 Zygmunt Krynicki <email address hidden>

 Remove comment referencing to now-inexisting launch_control.modles

2010-12-10 Zygmunt Krynicki <email address hidden>

 Replace old deserializer with new modular deserializer based on versioned JSON documents

2010-12-10 Zygmunt Krynicki <email address hidden>

 Add a dependency on linaro-python-dashboard-bundle

2010-12-10 Zygmunt Krynicki <email address hidden>

 Disable setup.py test support (until it's working)

2010-12-10 Zygmunt Krynicki <email address hidden>

 Add Attachment to admin view

2010-12-10 Zygmunt Krynicki <email address hidden>

 Remove leacy test script

 This script was used for testing the non-django parts of launch control and
 most of that got removed.

2010-12-10 Zygmunt Krynicki <email address hidden>

 Remove all legacy launch control models

2011-01-04 Zygmunt Krynicki <email address hidden>

 Rewrite virtualenv-install.sh not to install launch-control itself but install all the deps instead.

 This makes it useful for working with l-c code on fresh installs (so that
 python does not complain about duplicate imports). The script was never useful
 as a deployment tool so this makes it more useful for the indented purpose.

2011-01-04 Zygmunt Krynicki <email address hidden>

 Merge test result detail view from deepti.

 I rewrote the template and added two helper methods for the model to make it more friendly.
 I also added example bundle that has attachments to see how that works.

2010-12-24 Deepti B. Kalakeri<email address hidden>

 Improving the test run detail view

2010-12-23 Deepti B. Kalakeri<email address hidden>

 Adding a simple json development data set for test result detail view

2010-12-23 Deepti B. Kalakeri<email address hidden>

 Adding the missing template changes for test result display view

2010-12-23 Deepti B. Kalakeri<email address hidden>

 Adding the Test result details view and making associated view,model,template changes

2011-01-04 Zygmunt Krynicki <email address hidden>

 Add a note about sort order for bundles in the bundle stream view

2010-12-23 Zygmunt Krynicki <email address hidden>

 Remove bogus sort statement on the BundleStream queryset.

 This sort was intended for _bundles_ not _bundle streams_, my bad

2010-12-22 Zygmunt Krynicki <email address hidden>

 Sort bundle streams by upload date (most recent first)

2011-01-04 Zygmunt Krynicki <email address hidden>

 Add support for cloned bundles in setup-dev-env.sh

2010-12-22 Zygmunt Krynicki <email address hidden>

 Add "dummy" example bundle template and make setup-dev-env.sh import a derivative of that bundle twenty times.

2011-01-04 Zygmunt Krynicki <email address hidden>

 Improve HTML for IE6 and beyond, also fix some webkit issues

2010-12-22 Zygmunt Krynicki <email address hidden>

 Make primary layout table based.

 The previous layout based on relative positioned div's was very hard to
 understand or debug. It did not work correctly in simple browsers (among them
 IE6, PSP-buit in browser). It also broke in subtle ways on webkit-based
 browsers due to the well-known property of 1px gap between relative floating
 elements using percentage width.

 The new layout is using tables (boo) but works great on all platforms I tested
 this on (yay)

2011-01-04 Zygmunt Krynicki <email address hidden>

 Improve CSS for IE6 and beyond

2010-12-22 Zygmunt Krynicki <email address hidden>

 Add IE6 :focus support via jQuery

2010-12-22 Zygmunt Krynicki <email address hidden>

 Add fallback css for IE6 support.

 Some parts are still not working but they will require a general restructuring
 of page layout. With those changes the account management pages (login,
 password reset, password change) behave virtually the same as in other browsers.

 This patch also adds :focus css for IE6 although IE6 does not natively support
 that. A separate patch adds jQuery hack to get :focus working on IE6

2011-01-04 Zygmunt Krynicki <email address hidden>

 Use ubuntu font via google font directory

2010-12-22 Zygmunt Krynicki <email address hidden>

 Use google font directory to get the Ubuntu font on any platform

2011-01-04 Zygmunt Krynicki <email address hidden>

 Require linaro-json 1.2.3

2011-01-04 Zygmunt Krynicki <email address hidden>

 Install additional dependencies

2011-01-04 Zygmunt Krynicki <email address hidden>

 Add virtualenv install script

2011-01-04 Zygmunt Krynicki <email address hidden>

 Mark as not safe to zip

2011-01-04 Zygmunt Krynicki <email address hidden>

 Fix dashboard_api.version after versiontool

2011-01-04 Zygmunt Krynicki <email address hidden>

 Update manifest and declared packages in setup.py

2011-01-04 Zygmunt Krynicki <email address hidden>

 Refresh dependencies

2011-01-04 Zygmunt Krynicki <email address hidden>

 Change shebang on dashboar_server/manage.py to use the envrionment python

2011-01-04 Zygmunt Krynicki <email address hidden>

 Use versiontools, drop bundled copy

2010-12-22 Zygmunt Krynicki <email address hidden>

 Use pagination on bundle stream detail template

2010-12-22 Deepti B. Kalakeri<email address hidden>

 Adding pagination feature to bundle stream detail view and correcting some indentation

2010-12-22 Zygmunt Krynicki <email address hidden>

 Use django-pagination to paginate test results in the test run detail template

2010-12-21 Zygmunt Krynicki <email address hidden>

 Paginate test results in a test run by 10

2010-12-21 Zygmunt Krynicki <email address hidden>

 Add fallback content when the page number is invalid

2010-12-21 Zygmunt Krynicki <email address hidden>

 Center pagination controls

2010-12-21 Zygmunt Krynicki <email address hidden>

 Reindent longish lines

2010-12-21 Zygmunt Krynicki <email address hidden>

 Use object_detail generic view (since it's a detail of TestRun model)
 Change how autopagination is applied to test results.

2010-12-21 Zygmunt Krynicki <email address hidden>

 Add big bundle for testing pagination

2010-12-21 Zygmunt Krynicki <email address hidden>

 Add missing {% endfor %} tag in test_run_detail.html

2010-12-21 Zygmunt Krynicki <email address hidden>

 Add depdendency on django-pagination

2010-12-21 Deepti B. Kalakeri<email address hidden>

 Using the pagination module to give pagination feature to the test run view

2010-12-20 Deepti B. Kalakeri<email address hidden>

 Removing the extra debug statements

2010-12-20 Deepti B. Kalakeri<email address hidden>

 Adding Pagination to the Test Run view

2010-12-21 Zygmunt Krynicki <email address hidden>

 Fix broken parts of the bundle detail view template

2010-12-20 Zygmunt Krynicki <email address hidden>

 Fix missing and broken template parts for bundle detail view

 * Each breadcrumb part is now clickable
 * The test run list now properly handles bundles with multiple test runs.
 * The test run list now displays more columns (Import Status, Analyzed On)

2010-12-20 Zygmunt Krynicki <email address hidden>

 Improve test_run_detail view

2010-12-20 Zygmunt Krynicki <email address hidden>

 Make human-friendly version of TestResult.result more human friendly

2010-12-20 Zygmunt Krynicki <email address hidden>

 Change TestRun __unicode__ method to say "Test run {analyzer_assigned_uuid}"

2010-12-20 Zygmunt Krynicki <email address hidden>

 Remove needles whitespace in test run detail template

2010-12-20 Zygmunt Krynicki <email address hidden>

 Improve test run template breadcrumbs

2010-12-20 Zygmunt Krynicki <email address hidden>

 Use images to represent test result outcome

2010-12-20 Zygmunt Krynicki <email address hidden>

 Drop the databrowse application

2010-12-17 Zygmunt Krynicki <email address hidden>

 Drop databrowse application

2010-12-20 Zygmunt Krynicki <email address hidden>

 Add missing file

2010-12-20 Zygmunt Krynicki <email address hidden>

 Add missing file

2010-12-20 Zygmunt Krynicki <email address hidden>

 Use project version in base template

2010-12-20 Zygmunt Krynicki <email address hidden>

 Add context processor exposing {{project_version}} and use that on the base template

2010-12-20 Zygmunt Krynicki <email address hidden>

 Fix bundle stream list breadcrumbs

2010-12-20 Zygmunt Krynicki <email address hidden>

 Make breadcrumbs in bundle stream list template clickable

2010-12-20 Zygmunt Krynicki <email address hidden>

 Merge hacking helpers

2010-12-20 Zygmunt Krynicki <email address hidden>

 Add various helpers for hacking:
 * script to setup fresh checkout to fully-loaded database
 * intial bundles with various data
 * fixtures with various non-bundle data (uses, sites, streams)

2010-12-20 Zygmunt Krynicki <email address hidden>

 Merge test run view from deepti

2010-12-17 Deepti B. Kalakeri<email address hidden>

 Removing the extra end tag for element td

2010-12-16 Deepti B. Kalakeri<email address hidden>

 Addressing review comments on adding test scenario to verify unauthorised access to the test run and addressing the review comments to .css, .html and .json files

2010-12-16 Deepti B. Kalakeri<email address hidden>

 Adding test scenario to verify unauthorised access to the test run and addressing the review comments to .css, .html and .json files

2010-12-16 Deepti B. Kalakeri<email address hidden>

 Addressing the review comments to .css, .html and .json files

2010-12-16 Deepti B. Kalakeri<email address hidden>

 Modifying the test_run_detail to include scenarion to verify unauthorized test run access

2010-12-15 Deepti B. Kalakeri<email address hidden>

 Modifying the test_run_detail_view to include scenarion to verify test run access

2010-12-15 Deepti B. Kalakeri<email address hidden>

 Adding test to verify the test_run_detail view

2010-12-13 Deepti B. Kalakeri<email address hidden>

 Removed the duplicated line from urls.py that was added during rebase

2010-12-10 Deepti B. Kalakeri<email address hidden>

 Minor change to the side bar caption

2010-12-10 Deepti B. Kalakeri<email address hidden>

 Moving the Test name to the side bar and adding the bundle content_sha1

2010-12-10 Deepti B. Kalakeri<email address hidden>

 Using the results status code of css file for color coding

2010-12-10 Deepti B. Kalakeri<email address hidden>

 Adding the results status code to css file and using it in the html

2010-12-10 Deepti B. Kalakeri<email address hidden>

 Modified test_run_detail.html to improve the way the test results are displayed

2010-12-09 Deepti B. Kalakeri<email address hidden>

 Adding new template to display the test run information

2010-12-01 Zygmunt Krynicki <email address hidden>

 Initial test_run_detail view

2010-12-01 Deepti B. Kalakeri<email address hidden>

 To build a view that shows a list of test results given a test run ID

2010-12-13 Zygmunt Krynicki <email address hidden>

 Remove needless whitespace

2010-12-13 Zygmunt Krynicki <email address hidden>

 Fix unit tests to be compatible with simplejson < 2.1.x

 The fix is innoncent, instead of checking error type we just check for error
 subclass. Newer versions of simplejson have a dedicated class for decoding
 errors that is a subclass of ValueError. We can just check for ValueError since
 none of launch-control actually looks at any of the extended attributes.

2010-12-13 Zygmunt Krynicki <email address hidden>

 Fix install.sh function definition

2010-12-13 Zygmunt Krynicki <email address hidden>

 Fix versiontools.py to be compatible with bzr 2.1.x

2010-10-14 Zygmunt Krynicki <email address hidden>

 Add simple install script

2010-12-12 Zygmunt Krynicki <email address hidden>

 Merge branch dropping internal json utils in favour of linaro_json

2010-12-10 Zygmunt Krynicki <email address hidden>

 Remove test-json.sh as linaro_json does not use multiple backends anymore

2010-12-10 Zygmunt Krynicki <email address hidden>

 Fix a test regression that assumed __version__ is a tuple

2010-12-10 Zygmunt Krynicki <email address hidden>

 Add missing versiontools module

2010-12-10 Zygmunt Krynicki <email address hidden>

 Remove old copy of json tools

2010-12-10 Zygmunt Krynicki <email address hidden>

 Use linaro_json instead of local copy of the same.

 Due to backend change some error contidions in unit tests have been slightly
 changed. As a positive side effect I found a typo in one of the tests (in the
 JSON text used by the test) that caused the test to fail for a different
 reason. The new backend includes line and column information in all syntax
 errors.

2010-12-10 Zygmunt Krynicki <email address hidden>

 Move version handling to dedicated module.

 Add support for looking at bzr revision for development versions

2010-12-10 Zygmunt Krynicki <email address hidden>

 Update the set of required dependencies

2010-12-10 Zygmunt Krynicki <email address hidden>

 Remove lc-tool (it is provided by lp:launch-control-tool)

2010-12-09 Zygmunt Krynicki <email address hidden>

 Make the footer of auth pages more visible

2010-12-09 Zygmunt Krynicki <email address hidden>

 Merge openid unification branch.

 Both openid and user&pass authetnication options are now supported by default.
 The whole look and feel of registration was reworked to look better.

2010-12-09 Zygmunt Krynicki <email address hidden>

 Rework login form to use non-javascript, styled, link instead of a dummy button

2010-12-09 Zygmunt Krynicki <email address hidden>

 Restore sign-in link in bundle stream list view

2010-12-09 Zygmunt Krynicki <email address hidden>

 Rework auth pages to integrate better with the site theme and openid

2010-12-01 Zygmunt Krynicki <email address hidden>

 Merge improvements to OpenID auth support

2010-10-15 Zygmunt Krynicki <email address hidden>

 Simplify openid deployment and offer both options by default.

 I changed the base.html template to offer both authentication methods. After
 thinking about it for some time I think this way is better (existing users have
 accounts, admin has a model account). I also changed bundle_stream_list.html
 not to offer a sign-in link at all (the user probably would not have noticed it
 at all as the header is same on every page so it's easier to remember that
 users can sign in from there). I also removed the context processors with
 LOGIN_URL as it was no longer required.

 I also fixed LOGIN_REDIRECT_URL to point back to /dashboard (in default
 settings) as this corresponds with the default apache configuration file.

2010-12-09 Zygmunt Krynicki <email address hidden>

 Merge with django-testscenarios branch

 This branch cleans up many test cases, adds universal support to testtools and
 testscenarios in a django-compatible manner.

2010-12-09 Zygmunt Krynicki <email address hidden>

 Re-reaise ImportError when loading tests

2010-12-08 Zygmunt Krynicki <email address hidden>

 Rewrite test loader to work better with django internal test runner.

 It's now possible to run tests selectively by running manage.py test and providing a list of test identifiers.
 An identifier uses this format: ApplicationName <DOT> TestClass [ <DOT> TestFunction ]

 Note that module paths are not relevant, so it's not important if TestClass is
 inside some.other.submodule, that part is not taken into account.

2010-12-08 Zygmunt Krynicki <email address hidden>

 Remove misc.py as it's now part of django-testscenarios internal test suite

2010-12-08 Zygmunt Krynicki <email address hidden>

 Use django_testscenarios, add some extra cleanup code and upcalls to super

2010-12-08 Zygmunt Krynicki <email address hidden>

 Remove direct references to TestCaseWithScenarios (moved to base class) and add setUp/tearDown to one test case

2010-12-08 Zygmunt Krynicki <email address hidden>

 Add TestScenarios support to xml-rpc tests

2010-12-08 Zygmunt Krynicki <email address hidden>

 Remove reference to TestCaseWithScenarios since common base class now implements that internally

2010-12-08 Zygmunt Krynicki <email address hidden>

 Remove explicit reference to TestCaseWithScenarios since common base class now supports that internally

2010-12-08 Zygmunt Krynicki <email address hidden>

 Move tearDown() call to happen after local cleanup

2010-12-08 Zygmunt Krynicki <email address hidden>

 Make common helper test cases inherit from TransactionTestCase and make them remove all bundles in tearDown()

2010-12-08 Zygmunt Krynicki <email address hidden>

 Change how manage.py injects local directory into sys.path to ensure it overwrites other instalations

2010-11-22 Zygmunt Krynicki <email address hidden>

 Apply django_testscenarios to view tests

2010-11-22 Zygmunt Krynicki <email address hidden>

 Apply django_testscenarios to model tests

2010-11-22 Zygmunt Krynicki <email address hidden>

 Apply django_testscenarios to misc tests

2010-11-22 Zygmunt Krynicki <email address hidden>

 Apply django_testscenarios to dashboard_api tests

2010-11-22 Zygmunt Krynicki <email address hidden>

 Apply django_testscenarios to xml-rpc tests

2010-11-22 Zygmunt Krynicki <email address hidden>

 Apply django_testscenarios to deserialization tests

2010-11-22 Zygmunt Krynicki <email address hidden>

 Note that python-django-testscenarios are required for testing

2010-11-23 Zygmunt Krynicki <email address hidden>

 Added NEWS file

2010-11-12 Zygmunt Krynicki <email address hidden>

 Note that python-django-openid-auth is required

2010-11-12 Zygmunt Krynicki <email address hidden>

 Move openid logging silencer to default_settings.py

2010-10-19 Zygmunt Krynicki <email address hidden>

 Use RequestContext on XML-RPC API page.

 Without this none of the context variables (for example user) were visible and thus accessing api page would make the user believe that he was not signed in despite doing so earlier.

2010-10-15 Zygmunt Krynicki <email address hidden>

 Add test case for xml_rpc_handler

2010-10-15 Zygmunt Krynicki <email address hidden>

 Use RequestContext on XML-RPC API page.

 Without this none of the context variables (for example user) were visible and
 thus accessing api page would make the user believe that he was not signed in
 despite doing so earlier.

2010-10-18 Guilherme Salgado <email address hidden>

 Switch from password-based login to OpenID

2010-10-15 Guilherme Salgado <email address hidden>

 A bunch of tweaks suggested by James and Zygmunt

2010-10-14 Guilherme Salgado <email address hidden>

 Drop password login pages (accounts/) and change the CSRF tests to not use the login form.

2010-10-14 Guilherme Salgado <email address hidden>

 Do not hard-code the login URL/view in templates -- use a template context processor instead

2010-10-14 Guilherme Salgado <email address hidden>

 merge trunk

2010-10-14 Guilherme Salgado <email address hidden>

 Add a test for OpenID login

2010-10-13 Guilherme Salgado <email address hidden>

 merge trunk

2010-10-08 Guilherme Salgado <email address hidden>

 merge trunk

2010-10-06 James Westby <email address hidden>

 Add the configuration to use django_openid_auth.

 Unfortunately it doesn't override contrib.auth's login view, though
 we may be able to work around that.

2010-10-15 Zygmunt Krynicki <email address hidden>

 Fix typo in HardwareDevice.description field verbose_name

2010-10-14 Zygmunt Krynicki <email address hidden>

 Backport bugfix from 0.2 branch and bump version in trunk

 * Backport a bugfix from 0.2 branch
 * Bump internal version number to 0.3 dev
 * Change HTML template to display "trunk" whever version name used to be

2010-10-14 Zygmunt Krynicki <email address hidden>

 Fix fallout from OneToOne -> ForeignKey transition.

 Fix DashboardAPI().deserialize() to return error message correctly.
 Fix template to display deserialization errors correctly

2010-10-14 Zygmunt Krynicki <email address hidden>

 Change internal version to 0.3 dev and make web template show "trunk"

2010-10-14 Zygmunt Krynicki <email address hidden>

 Separate xml-rpc, views and miscellaneous tests from last remains of monolithic tests.

2010-10-14 Zygmunt Krynicki <email address hidden>

 Merge with trunk

2010-10-13 Zygmunt Krynicki <email address hidden>

 Merged move-tests-for-dashbard-api into move-final-tests-code.

2010-10-11 Zygmunt Krynicki <email address hidden>

 Separate xml-rpc, views and miscellaneous tests from last remains of monolithic tests.

2010-10-14 Zygmunt Krynicki <email address hidden>

 Move tests for DashboardAPI to dedicated module

2010-10-14 Zygmunt Krynicki <email address hidden>

 Merge with trunk

2010-10-13 Zygmunt Krynicki <email address hidden>

 Merged move-csrf-tests into move-tests-for-dashbard-api.

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move dashboard_api tests to separate module.

 In addition to API tests I moved some utility code into utils and extracted
 unit tests for that utility code into test_client module.

2010-10-14 Zygmunt Krynicki <email address hidden>

 Move cross site request forgery tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Merge with trunk

2010-10-12 Zygmunt Krynicki <email address hidden>

 Fix PEP8 whitespace

2010-10-11 Zygmunt Krynicki <email address hidden>

 Add reference to csrf tests in tests loader list

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move CSRF configuration tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Move tests for Attachment model to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Pump conflict resolved

2010-10-13 Zygmunt Krynicki <email address hidden>

 Pump conflict resolved

2010-10-13 Zygmunt Krynicki <email address hidden>

 Merged move-tests-for-named-attribute-model into move-deserialization-tests.

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move unit tests for Attachment model to dedicated module

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move tests for TestRun model into a dedicated module

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move deserialization unit tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Move tests for NamedAttribute model to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Pump conflict resolved

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move tests of NamedAttribute model to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Move tests for TestResult model into a dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Merged move-tests-for-test-model into move-tests-for-test-result-model.

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move TestResult tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Move tests for Test model into dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Merge with trunk

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move Test (model) tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Move tests for BundleStream model into a dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Merge with trunk

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move BundleStream unicode tests to the bundle stream module

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move BundleStream tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

 Merge fix and tests for LP658917.

 The issue was caused by bundle with TestResult that had a test_case_id field
 but did not have units. The code failed on IntegrityError as TestCase.units
 cannot be NULL per schema definition. The solution is to use an empty string
 instead.

2010-10-12 Zygmunt Krynicki <email address hidden>

 Merge with trunk

2010-10-12 Zygmunt Krynicki <email address hidden>

 Write unit tests root cause of LP658917

2010-10-12 Zygmunt Krynicki <email address hidden>

 Shorten test data for LP658917 regression tests

2010-10-12 Zygmunt Krynicki <email address hidden>

 Fix LP658917 and add regression test.

 The issue was caused by bundle with TestResult that had a test_case_id field
 but did not have units. The code failed on IntegrityError as TestCase.units
 cannot be NULL per schema definition. The solution is to use an empty string
 instead.

2010-10-13 Zygmunt Krynicki <email address hidden>

 Move tests for Bundle model into dedicated module

2010-10-12 Zygmunt Krynicki <email address hidden>

 Add test that got killed by accident. Thanks Deepti!

2010-10-12 Zygmunt Krynicki <email address hidden>

 Remove unused import

2010-10-11 Zygmunt Krynicki <email address hidden>

 Resolve pump conflict

2010-10-08 Zygmunt Krynicki <email address hidden>

 Move bundle deserialization tests to tests.bundle module.

 Unlike the rest of deserialization tests those tests are only checking the
 surface layer and mock the BundleDeserializer that would normally run so they
 belong together with other model tests.

2010-10-08 Zygmunt Krynicki <email address hidden>

 Move some bundle tests to dedicated module

2010-10-12 Zygmunt Krynicki <email address hidden>

 Move tests for TestCase model to dedicated module

2010-10-11 Zygmunt Krynicki <email address hidden>

 Resolve pump conflict

2010-10-08 Zygmunt Krynicki <email address hidden>

 Move TestCase model tests to dedicated module

2010-10-12 Zygmunt Krynicki <email address hidden>

 Move tests for HardwareDevice model into a dedicated module.

2010-10-11 Zygmunt Krynicki <email address hidden>

 Resolve pump conflict

2010-10-08 Zygmunt Krynicki <email address hidden>

 Move tests for HardwareDevice model into a dedicated module.

 Oh and fix the class name, it used to be called HardwarePackageTestCase

2010-10-12 Zygmunt Krynicki <email address hidden>

 Move tests for SoftwarePackage model into a dedicated module.

2010-10-11 Zygmunt Krynicki <email address hidden>

 Resolve pump conflict

2010-10-08 Zygmunt Krynicki <email address hidden>

 Move tests for SoftwarePackage model into a dedicated module.

 In addition to trivial move I also integrated test for unicode method from
 another class as it was meant to be.

2010-10-12 Zygmunt Krynicki <email address hidden>

 Change dashboard_app.tests test loader code

 Remove the old code that imported everything from the test module. Add test
 loader that imports each test module explicitly and constructs a test case out
 of the contents.

2010-10-11 Zygmunt Krynicki <email address hidden>

 Don't call old tests legacy, don't use needless underscores

2010-10-08 Zygmunt Krynicki <email address hidden>

 Change dashboard_app.tests test loader code

 Remove the old code that imported everything from the test module. Add test
 loader that imports each test module explicitly and constructs a test case out
 of the contents.

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move fixtures to tests package

2010-10-08 Zygmunt Krynicki <email address hidden>

 Move fixtures to tests package

2010-10-11 Zygmunt Krynicki <email address hidden>

 Move TestClient to tests.utils

2010-10-08 Zygmunt Krynicki <email address hidden>

 Move TestClient to tests.utils

2010-10-11 Zygmunt Krynicki <email address hidden>

 Prepare for test splitup into separate modules.

 This step is fairly simple, all tests are moved to a tests package and __init__
 ensures that all old behaviour is kept as is. Test urls are renamed to
 'tests.urls' test utils were likewise moved to tests.utils.

 There was one required change, tests.tests has one model that is needed for
 testing and this model previously belonged to the 'dashboard_app' application.
 After moving tests to a dedicated python package I had to update 'app_label' to
 make django test runner instantiate appropriate database tables.

2010-10-07 Zygmunt Krynicki <email address hidden>

 Prepare for test splitup into separate modules.

 This step is fairly simple, all tests are moved to a tests package and __init__
 ensures that all old behaviour is kept as is. Test urls are renamed to
 'tests.urls' test utils were likewise moved to tests.utils.

 There was one required change, tests.tests has one model that is needed for
 testing and this model previously belonged to the 'dashboard_app' application.
 After moving tests to a dedicated python package I had to update 'app_label' to
 make django test runner instantiate appropriate database tables.

2010-10-07 Zygmunt Krynicki <email address hidden>

 Bump version to 0.2 final for release

2010-10-07 Zygmunt Krynicki <email address hidden>

 Bump the version to 0.2 final

2010-10-07 Zygmunt Krynicki <email address hidden>

 Inside DashboardAPI.put() commit current transaction before calling deserialize()

 This fixes an error where the bundle instance we just created would be wiped
 out by transaction rollback in deserialize failure path

2010-10-07 Zygmunt Krynicki <email address hidden>

 Move first call to save() away from try/catch block.

 This call should never raise IntegrityError exceptions as it is used to get the
 primary key for the bundle and content_sha is not calculated here.

2010-10-07 Zygmunt Krynicki <email address hidden>

 Move the call to deserialize away from the try/catch block.

 The rationale is that deserialize already handles all exceptions and we don't
 want to remove the bundle if the process fails for any reason as we store the
 error message _and_ the bundle for inspection.

2010-10-07 Zygmunt Krynicki <email address hidden>

 Inside DashboardAPI.put() commit current transaction before calling deserialize()

 This fixes an error where the bundle instance we just created would be wiped
 out by transaction rollback in deserialize failure path

2010-10-07 Zygmunt Krynicki <email address hidden>

 Merge with 0.1 branch after 0.1.1 release

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merge with private development branch

2010-09-28 Zygmunt Krynicki <email address hidden>

 Improve local_settings.py.example (better documentation, explicit email settings section)

2010-09-28 Zygmunt Krynicki <email address hidden>

 Fix settings.py to allow local_settings.py to define CONFIGURED=True

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merge with 0.1 branch

2010-09-30 Zygmunt Krynicki <email address hidden>

 Use dashboard_app for version information for setup.py

2010-09-30 Zygmunt Krynicki <email address hidden>

 Bump server version to 0.1.1

2010-09-30 Zygmunt Krynicki <email address hidden>

 Fix configuration issue that would prevent local_settings from working properly

2010-10-07 Zygmunt Krynicki <email address hidden>

 Fix compatibility issues with django 1.1 and document known remaining issues

2010-10-06 Zygmunt Krynicki <email address hidden>

 Add reference to issues on django 1.1

2010-10-06 Zygmunt Krynicki <email address hidden>

 Skip unit tests that depend on 1.2 CSRF features

2010-10-06 Zygmunt Krynicki <email address hidden>

 Fix django 1.1 compatibility issue.

 It seems that related object reference (the other end of ForeignKey) in django
 1.1 lacks the 'exists()' method so fall back to using count instead.

2010-10-07 Zygmunt Krynicki <email address hidden>

 Make lc-tool.py use DASHBOARD_URL environment variable as a default argument to --dashboard-url

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Add support for passing --dashboard-url via environment variable DASHBOARD_URL

2010-10-07 Zygmunt Krynicki <email address hidden>

 Make some improvements to the index and about pages

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged admin-link-in-menu into better-generic-templates.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Slight modifications to about.html and base.html (translations and xhtml notice)

2010-10-07 Zygmunt Krynicki <email address hidden>

 Add link to the administrator panel for signed in users with super-user flag

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-details into admin-link-in-menu.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-details into admin-link-in-menu.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-details into admin-link-in-menu.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-details into admin-link-in-menu.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-details into admin-link-in-menu.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-details into admin-link-in-menu.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-details into admin-link-in-menu.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Change wording from "admin site" to "admin interface"

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-details into admin-link-in-menu.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-details into admin-link-in-menu.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Add link to the administration panel for signed in users with super-user flag

2010-10-07 Zygmunt Krynicki <email address hidden>

 Improve bundle stream detail view

 * list all bundles uploaded to the stream
 * display basic information about each bundle
 * conform to current layout

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-list into bundle-stream-details.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged fix-test-templates into bundle-stream-list.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged change-unicode-methods into fix-test-templates.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged better-databrowser-pages into change-unicode-methods.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged better-api-page into workaround-django-ticket-10227.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged csrf-fixes into better-api-page.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-list into bundle-stream-details.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-list into bundle-stream-details.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-list into bundle-stream-details.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-list into bundle-stream-details.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Move custom styles to default.css and fix some template details

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-list into bundle-stream-details.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-list into bundle-stream-details.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Make sure bundles() xml-rpc API returns bundles in the same order as before.

 This patch balances the Meta: ordering change.
 Some unit tests depend on the order of the returned bundles.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged bundle-stream-list into bundle-stream-details.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Add view for showing bundle stream details

2010-10-07 Zygmunt Krynicki <email address hidden>

 Improve and enable bundle stream list view:

 * list all streams we can access
 * conform to current layout

2010-10-06 Zygmunt Krynicki <email address hidden>

 Merged fix-test-templates into bundle-stream-list.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged fix-test-templates into bundle-stream-list.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged fix-test-templates into bundle-stream-list.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged fix-test-templates into bundle-stream-list.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Show special link to the admin panel only to staff users.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged fix-test-templates into bundle-stream-list.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged fix-test-templates into bundle-stream-list.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Fix breadcrumbs in bundle_stream_list.html

2010-10-02 Zygmunt Krynicki <email address hidden>

 Add link to bundle streams to the navigation menu

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged fix-test-templates into bundle-stream-list.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Add pretty template for bundle stream list view

2010-10-02 Zygmunt Krynicki <email address hidden>

 Improve dashboard_bundle_list view

 The view will now report if the user (when signed in) has any personal and team
 bundle streams. This can be used to construct better templates.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Include all dashboard_app URLs from dashboard_server URLs under /dashboard

2010-10-07 Zygmunt Krynicki <email address hidden>

 Make dashboard_app tests independent from the project they are in.

 Isolate all test cases that depend on template rendering to use only templates
 from the application directory (which are empty and will not depend on project
 elements). The idea for implementation is taken from
 django.contrib.auth.tests.views

 I added two new classes:
 * DashboardViewsTestCase - for testing regular views
 * DashboardXMLRPCViewsTestCase - for testing XML-RPC views

 They are loosely based on older DashboardViewTestCase and DashboardAPITestCase
 respectively.

 As a positive side effect we can purge the mess from dashboard_app.test_urls
 where we used to mimic dashboard_server.urls.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Fix csrf tests not to isolate from the project environment.

 Tests were failing because of missing reverse URL loopkups

2010-10-05 Zygmunt Krynicki <email address hidden>

 pump conflict resolved

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged better-databrowser-pages into change-unicode-methods.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged better-api-page into workaround-django-ticket-10227.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged csrf-fixes into better-api-page.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Commit after pump

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merge pump

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged better-api-page into workaround-django-ticket-10227.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged csrf-fixes into better-api-page.

2010-10-05 Zygmunt Krynicki <email address hidden>

 Merged change-unicode-methods into fix-test-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged change-unicode-methods into fix-test-templates.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged change-unicode-methods into fix-test-templates.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Make dashboard_app tests independent from the project they are in.

 Isolate all test cases that depend on template rendering to use only templates
 from the application directory (which are empty and will not depend on project
 elements). The idea for implementation is taken from
 django.contrib.auth.tests.views

 I added two new classes:
 * DashboardViewsTestCase - for testing regular views
 * DashboardXMLRPCViewsTestCase - for testing XML-RPC views

 They are loosely based on older DashboardViewTestCase and DashboardAPITestCase
 respectively.

 As a positive side effect we can purge the mess from dashboard_app.test_urls
 where we used to mimic dashboard_server.urls.

2010-10-07 Zygmunt Krynicki <email address hidden>

 Change __unicode__() methods on all dashboard_app models to look better in data browser

2010-10-05 Zygmunt Krynicki <email address hidden>

 Add tests for all unicode methods

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged better-databrowser-pages into change-unicode-methods.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged better-api-page into workaround-django-ticket-10227.

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged csrf-fixes into better-api-page.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged better-databrowser-pages into change-unicode-methods.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged better-api-page into workaround-django-ticket-10227.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged csrf-fixes into better-api-page.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Change __unicode__() methods on all models not to include model name.

 This makes the data browser much more user friendly as previously each page had
 ugly-looking double names like "bundle stream bundle stream foo"

2010-10-07 Zygmunt Krynicki <email address hidden>

 Add custom templates for the data browser to match current layout

2010-10-02 Zygmunt Krynicki <email address hidden>

 Add custom databrowse templates.

 With those templates all views are integrated and work well with the rest of
 the site. In addition the breadcrumbs are now working properly and are
 integrated between the two applications.

2010-10-07 Zygmunt Krynicki <email address hidden>

 Add a work around for django ticket 10227

 This makes the data browser not crash on the Bundle model when there are no BundleDeserializationError instances. It does so by dropping OneToOne field and using unique ForeignKey field.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Update BundleDeserializationError unit tests after previous change

2010-10-02 Zygmunt Krynicki <email address hidden>

 Change BundleDeserializationError.bundle to be a ForeignKey relation.

 This works around django issue where OneToOneField behaves asymmetrically
 (raising DoesNotExist from one side and returning None from another).

 Unfortunately this behaviour caused databrowse application to crash when
 accessing most important model we have, the bundle. As a workaround we use an
 unique ForeignKey and change the API a little bit to account for the extra
 get() all required.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged csrf-fixes into better-api-page.

2010-10-07 Zygmunt Krynicki <email address hidden>

 Improve the API page by adding example python code and links in the sidebar

2010-10-02 Zygmunt Krynicki <email address hidden>

 Improve XML-RPC API help page.

 The sidebar contains a list of functions that link to anchors in the page. The
 page has an example python code that can interact with the server. The view
 exposes dashboard URL (the full URL of the website) using 'sites' application.
 Administrators need to configure correct site for the values to make sense.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Fix CSRF middleware configuration for 1.2

2010-10-05 Zygmunt Krynicki <email address hidden>

 Fix CSRF test by calling super.setUp() Thanks James!

2010-10-05 Zygmunt Krynicki <email address hidden>

 Add tests for CSRF middleware configuration

2010-10-04 Zygmunt Krynicki <email address hidden>

 Add test for cross site request forgery token on login page

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged configuration-fixes into csrf-fixes.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged configuration-fixes into csrf-fixes.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Add cross-site request forgery excempt for xml-rpc handler

2010-10-02 Zygmunt Krynicki <email address hidden>

 Use full CsrfMiddleware instead of Csrf{View,Response}Middleware.

 Without this change 1.2.x login support is broken. I must have tested a wrong
 combination previously as the values used could not have worked on 1.2.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Fix development environment configuration to redirect back to /

2010-10-04 Zygmunt Krynicki <email address hidden>

 Merged layout-changes into configuration-fixes.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Merged layout-changes into configuration-fixes.

2010-10-02 Zygmunt Krynicki <email address hidden>

 Set LOGIN_REDIRECT_URL to / for development environment.

 Without this change the default value (from default_settings.py) is /dashboard/
 which causes a redirect to inexisting page.

2010-10-06 Zygmunt Krynicki <email address hidden>

 Make some HTML layout changes:

 * The navigation bar is redesigned
 * Beneath it there is a new breadcrumbs bar
 * There is a new sidebar for putting context information.

 In addition there are multiple CSS fixes for cross-browser support (firefox 3/4, chrome, opera) and graceful fallback (IE)

2010-10-04 Zygmunt Krynicki <email address hidden>

 Prefer Ubuntu to UbuntuBeta font

2010-10-04 Zygmunt Krynicki <email address hidden>

 Remove duplicate font-weight: bold;

2010-10-02 Zygmunt Krynicki <email address hidden>

 Add <meta> tag specifying the encoding

2010-10-02 Zygmunt Krynicki <email address hidden>

 Remove uneeded <div>

2010-10-02 Zygmunt Krynicki <email address hidden>

 Add sidebar and breadcrumbs to layout.

 Breadcrumbs facilitate site navigation and easily convey current location as
 well as the path taken to reach it. Sidebar offers context information that
 enhances them main content.

2010-09-30 Zygmunt Krynicki <email address hidden>

 Improve local_settings.py.example (more documentation)

2010-09-28 Zygmunt Krynicki <email address hidden>

 Improve local_settings.py.example (better documentation, explicit email settings section)

2010-09-30 Zygmunt Krynicki <email address hidden>

 Add cross-site request forgery protections

2010-09-28 Zygmunt Krynicki <email address hidden>

 Make cross-site request forgery protection work for both django 1.1 and 1.2

2010-09-28 Zygmunt Krynicki <email address hidden>

 Enable CSRF middleware and use it in all password forms

2010-09-30 Zygmunt Krynicki <email address hidden>

 Add user authentication support for web UI:

 Implements 5 (Add support for user sign-in)
 Implements 19 (Add /login view that allows the users to log in)
 Implements 20 (Add /logout view)
 Implements 18 (Display currently signed user in the page header)

2010-09-28 Zygmunt Krynicki <email address hidden>

 Change default LOGIN_REDIRECT_URL to /dashboard/ to match default apache.conf, keep old default for unconfigured deployments.

2010-09-28 Zygmunt Krynicki <email address hidden>

 Update dashbaord_app/test_urls.py so that authentication references in our templates don't blow up during testing. Thanks James!

2010-09-28 Zygmunt Krynicki <email address hidden>

 Add support for user sign-in, password reset by email and password change

2010-09-28 Zygmunt Krynicki <email address hidden>

 Fix typo in docstring

2010-09-28 Zygmunt Krynicki <email address hidden>

 Bump dashboard app version to 0.2 dev

2010-09-30 Zygmunt Krynicki <email address hidden>

 Merge configuration fixes from 0.1 branch

2010-09-30 Zygmunt Krynicki <email address hidden>

 Improved installation instructions

2010-09-29 Zygmunt Krynicki <email address hidden>

 Fix typo

2010-09-29 Zygmunt Krynicki <email address hidden>

 Rework configuration so that it's easier to get started

2010-09-28 Zygmunt Krynicki <email address hidden>

 Fix settings.py to allow local_settings.py to define CONFIGURED=True

 Cherry-picked from trunk

2010-09-23 Zygmunt Krynicki <email address hidden>

 Fix default apache deployment so that static assets work

2010-09-23 Zygmunt Krynicki <email address hidden>

 Move static content to assets directory and add relevant apache rules to make it work

2010-09-23 Zygmunt Krynicki <email address hidden>

 Add note to INSTALL about necessity of creating the fist bundle stream manually

2010-09-23 Zygmunt Krynicki <email address hidden>

 Add note about need to create bundle stream to use the dashboard from XML-RPC interface

2010-09-23 Zygmunt Krynicki <email address hidden>

 Fix bug in lc-tool.py that would strip the path of the provided dashboard URL

2010-09-23 Zygmunt Krynicki <email address hidden>

 Fix path handling in XMLRPCCommand and add unit tests

2010-09-22 Zygmunt Krynicki <email address hidden>

 Preserve path of the dashboard URL in all lc-tool commands.

 This allows to install the dashboard on a sub-location such as:
 http://suxx.pl/dashboard/ and still make use of the XML-RPC interface
 which is located at http://suxx.pl/dashboard/xml-rpc/

2010-09-23 Zygmunt Krynicki <email address hidden>

 Add transaction management around bundle deserialization

2010-09-23 Zygmunt Krynicki <email address hidden>

 Fix test suite failure on lucid where sqlite does not have a native uuid type

2010-09-23 Zygmunt Krynicki <email address hidden>

 Recover lost TestConstructionTestCase

2010-09-23 Zygmunt Krynicki <email address hidden>

 Simplify transaction handling and add unit tests for DeserializationHelper

2010-09-22 Zygmunt Krynicki <email address hidden>

 Use a transaction inside deserialization helper call

 This prevents leftovers from littering the database when the deserialization fails somewhere in the middle.

2010-09-23 Zygmunt Krynicki <email address hidden>

 Add deployment instructions

 Implements 9 (Deployment instructions needed)

2010-09-23 Zygmunt Krynicki <email address hidden>

 Fix typo and inconsistent sudo usage in INSTALL

2010-09-23 Zygmunt Krynicki <email address hidden>

 Fix broken indentation in apache.conf

2010-09-23 Zygmunt Krynicki <email address hidden>

 Updated source URL in installation instructions

2010-09-23 Zygmunt Krynicki <email address hidden>

 Updated installation instructions with additional notes about manual configuration steps

2010-09-22 Zygmunt Krynicki <email address hidden>

 Add information on how to report bugs

2010-09-22 Zygmunt Krynicki <email address hidden>

 Add deployment instructions

2010-09-23 Zygmunt Krynicki <email address hidden>

 Set server and client version to 0.1

2010-09-23 Zygmunt Krynicki <email address hidden>

 Change version to 0.1 final

2010-09-23 Zygmunt Krynicki <email address hidden>

 Merge new frontend

2010-09-23 Zygmunt Krynicki <email address hidden>

 List all possible test results in about.html

2010-09-23 Zygmunt Krynicki <email address hidden>

 Fix typo

2010-09-23 Zygmunt Krynicki <email address hidden>

 Minor whiespace change

2010-09-23 Zygmunt Krynicki <email address hidden>

 Add get_media_url tag to get around databrowse's inability to use RequestContext which holds MEDIA_URL

2010-09-23 Zygmunt Krynicki <email address hidden>

 Fix tests after URL changes

2010-09-23 Zygmunt Krynicki <email address hidden>

 Update ignore file

2010-09-23 Zygmunt Krynicki <email address hidden>

 Add a copy of the JSON schema

2010-09-23 Zygmunt Krynicki <email address hidden>

 Update frontend for 0.1 release

2010-09-22 Zygmunt Krynicki <email address hidden>

 Cosmetic improvements:

 * bundle deserialization failure stores a traceback
 * deseralization errors are browsable via /databrowse/
 * TestResult have __unicode__() method

2010-09-22 Zygmunt Krynicki <email address hidden>

 Apply some cosmetic changes prior to 0.1 release

2010-09-22 Zygmunt Krynicki <email address hidden>

 Better NamedAttribute.__unicode__() method

2010-09-22 Zygmunt Krynicki <email address hidden>

 Add __unicode__ to TestResult model

2010-09-22 Zygmunt Krynicki <email address hidden>

 PEP-8 Whitespace

2010-09-22 Zygmunt Krynicki <email address hidden>

 Add BundleDeserializationError to databrowser

2010-09-22 Zygmunt Krynicki <email address hidden>

 Store python traceback on import error

2010-09-22 Zygmunt Krynicki <email address hidden>

 Add licenses to all source files and DEP-5 COPYING file

 Closes 28 (Licensing not specified)

2010-09-22 Zygmunt Krynicki <email address hidden>

 Change file headers to refer to version 3 of the license, not 3 or any later version

2010-09-22 Zygmunt Krynicki <email address hidden>

 Use uppercase 'C' in Copyright (C)

2010-09-22 Zygmunt Krynicki <email address hidden>

 Change "Linaro" to "Linaro Limited" per lool's advice

2010-09-22 Zygmunt Krynicki <email address hidden>

 Move AGPL and LGPL to separate files
 Change from "Linaro Organization" to "Linaro Limited" per lool's advice

2010-09-22 Zygmunt Krynicki <email address hidden>

 Add license header to each file

2010-09-22 Zygmunt Krynicki <email address hidden>

 Add COPYING file

2010-09-22 Zygmunt Krynicki <email address hidden>

 Add support for storing deserialized bundle in the database

 Implements 30 (API for storing in-memory model to the database)

2010-09-22 Zygmunt Krynicki <email address hidden>

 Whitespace changes

2010-09-22 Zygmunt Krynicki <email address hidden>

 Rework deserializer tests

2010-09-21 Zygmunt Krynicki <email address hidden>

 Do away with crazy lisp-like test code and convert Test and TestCase deserialization tests into regular methods

2010-09-21 Zygmunt Krynicki <email address hidden>

 Make deserialization from memory to db work correctly

2010-09-21 Zygmunt Krynicki <email address hidden>

 Add units property to TestCase

2010-09-19 Zygmunt Krynicki <email address hidden>

 Add initial code for converting memory model to db model

2010-09-21 Zygmunt Krynicki <email address hidden>

 Add tests for json-to-memory deserialization failures

2010-09-19 Zygmunt Krynicki <email address hidden>

 Add test for invalid timedelta values

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add some test for decoder failure

2010-09-17 Zygmunt Krynicki <email address hidden>

 Guard uuid.UUID constructor against invalid argument type and raise TypeError

 It seems that UUID.uuid() blindly assumes it's going to get a string.
 Since we're not sure how broken it can get let's check argument type
 before calling.

2010-09-17 Zygmunt Krynicki <email address hidden>

 Raise TypeError inside ValueError if decoded object is not of expected type

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add ability to chain exceptions to DocumentError

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add test case for TestRun attributes

2010-09-17 Zygmunt Krynicki <email address hidden>

 Added test case for test run attachments

2010-09-17 Zygmunt Krynicki <email address hidden>

 Update unit tests to match fixes in TestRun and DashboardBundle

2010-09-17 Zygmunt Krynicki <email address hidden>

 Change TestRun to require test_id, test_results, analyzer_assigned_uuid and analyzer_assigned_date

 Creating values without those fields is pointless and should be disallowed

2010-09-17 Zygmunt Krynicki <email address hidden>

 Change (clientside) DashboardBundle to require current value of format

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add tests for parsing TestResult

2010-09-17 Zygmunt Krynicki <email address hidden>

 Parse all numbers as decimals

2010-09-17 Zygmunt Krynicki <email address hidden>

 Allow undefined test_case_id when deserializing TestResult

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add test for HardwareDevice.attributes parsin

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add test for parsing HardwareDevice

2010-09-17 Zygmunt Krynicki <email address hidden>

 Update test suite to reflect recent fix to SoftwareImage attribute being called 'desc' vs 'name'

 According to the spec (1.0) it should be desc

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add test for software package parsing and for hardware context defaults

2010-09-17 Zygmunt Krynicki <email address hidden>

 SoftwareImage should fail to construct without 'desc' argument

2010-09-17 Zygmunt Krynicki <email address hidden>

 Do not tests for defaults, this should fail

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add more deserialization tests and fix SoftwareImage class to conform to 1.0 spec

2010-09-17 Zygmunt Krynicki <email address hidden>

 Change launch_control.models.TestRun so that analyzer_assigned_uuid and _date default to None

2010-09-17 Zygmunt Krynicki <email address hidden>

 Much better tests for BundleDeserializer

 Tests are based around test scenarios and just one test method.
 Each scenario has three variables: json_text, selectors and validators.
 json_text contains the whole text of the bundle to deserialize.
 selectors is a dictionary of variable name to lambda mapping. Each lambda is
 called with the deserialized object and the result of the computation is stored
 as attribute. Finally validators is an array of lambdas, each lambda is called
 with self (the test object) and object created by running all selectors.

 The design allows for tight coupling of json_text and tests (using
 self.assertXXX). Selectors allow to shorten attribute traversal as something
 deeply nested can be 'selected' just once.

2010-09-17 Zygmunt Krynicki <email address hidden>

 open and close FileField objects to avoid situations where we assume it was opened before

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add new deserialize() method for testing period during which deserializer is not really working very well

2010-09-17 Zygmunt Krynicki <email address hidden>

 Deserialize bundles on upload

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add deserialization helper

 refs 26 (Make it possible to import bundles into the database)

2010-09-21 Zygmunt Krynicki <email address hidden>

 Add one-half of the deserialization logic (from JSON to memory).

 Some changes spill to related components (clientside models) as a side effect of additional review and extra checks

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add test case for TestRun attributes

2010-09-17 Zygmunt Krynicki <email address hidden>

 Added test case for test run attachments

2010-09-17 Zygmunt Krynicki <email address hidden>

 Update unit tests to match fixes in TestRun and DashboardBundle

2010-09-17 Zygmunt Krynicki <email address hidden>

 Change TestRun to require test_id, test_results, analyzer_assigned_uuid and analyzer_assigned_date

 Creating values without those fields is pointless and should be disallowed

2010-09-17 Zygmunt Krynicki <email address hidden>

 Change (clientside) DashboardBundle to require current value of format

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add tests for parsing TestResult

2010-09-17 Zygmunt Krynicki <email address hidden>

 Parse all numbers as decimals

2010-09-17 Zygmunt Krynicki <email address hidden>

 Allow undefined test_case_id when deserializing TestResult

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add test for HardwareDevice.attributes parsin

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add test for parsing HardwareDevice

2010-09-17 Zygmunt Krynicki <email address hidden>

 Update test suite to reflect recent fix to SoftwareImage attribute being called 'desc' vs 'name'

 According to the spec (1.0) it should be desc

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add test for software package parsing and for hardware context defaults

2010-09-17 Zygmunt Krynicki <email address hidden>

 SoftwareImage should fail to construct without 'desc' argument

2010-09-17 Zygmunt Krynicki <email address hidden>

 Do not tests for defaults, this should fail

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add more deserialization tests and fix SoftwareImage class to conform to 1.0 spec

2010-09-17 Zygmunt Krynicki <email address hidden>

 Change launch_control.models.TestRun so that analyzer_assigned_uuid and _date default to None

2010-09-17 Zygmunt Krynicki <email address hidden>

 Much better tests for BundleDeserializer

 Tests are based around test scenarios and just one test method.
 Each scenario has three variables: json_text, selectors and validators.
 json_text contains the whole text of the bundle to deserialize.
 selectors is a dictionary of variable name to lambda mapping. Each lambda is
 called with the deserialized object and the result of the computation is stored
 as attribute. Finally validators is an array of lambdas, each lambda is called
 with self (the test object) and object created by running all selectors.

 The design allows for tight coupling of json_text and tests (using
 self.assertXXX). Selectors allow to shorten attribute traversal as something
 deeply nested can be 'selected' just once.

2010-09-17 Zygmunt Krynicki <email address hidden>

 open and close FileField objects to avoid situations where we assume it was opened before

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add new deserialize() method for testing period during which deserializer is not really working very well

2010-09-17 Zygmunt Krynicki <email address hidden>

 Deserialize bundles on upload

2010-09-17 Zygmunt Krynicki <email address hidden>

 Add deserialization helper

 refs 26 (Make it possible to import bundles into the database)

2010-09-16 Zygmunt Krynicki <email address hidden>

 Merge BundleDeserializationError model and improved fixtures

 Implements 23 (Add BundleDeserializationError model)

2010-09-16 Zygmunt Krynicki <email address hidden>

 Use constants instead of magic strings for anonymous/team/private BundleStreams

2010-09-16 Zygmunt Krynicki <email address hidden>

 Fix mocker comment

2010-09-15 Zygmunt Krynicki <email address hidden>

 Add comment to mysterious mocker usage

2010-09-15 Zygmunt Krynicki <email address hidden>

 Fix Bundle.deserialize() to remove old errors on success, add unit tests to check this

2010-09-15 Zygmunt Krynicki <email address hidden>

 Add BundleDeserializationError class with unit tests and admin panel components.

 This class is used by Bundle.deserialize() to store any deserialization issues

2010-09-15 Zygmunt Krynicki <email address hidden>

 Add fixtures.create_bundle(), refactor remaining fixtures

2010-09-16 Zygmunt Krynicki <email address hidden>

 Merge TestResult model

 Implements 7 (TestResult model needed)

2010-09-16 Zygmunt Krynicki <email address hidden>

 Fix microseconds-to-duration translation in TestResult and add unit tests to check that

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add test result model

2010-09-15 Zygmunt Krynicki <email address hidden>

 Merge databrowse support

 References 24 (Add basic views for looking at data)

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add django.contrib.databrowse support

2010-09-14 Zygmunt Krynicki <email address hidden>

 Fix typo in error message

2010-09-14 Zygmunt Krynicki <email address hidden>

 Fix docstring for fixtures.created_bundles()

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add TestRun model with unit tests and admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

 Improved TestCase.__unicode__ method

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add TestCase to admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

 Addd TestCase model, manager and unit tests

2010-09-15 Zygmunt Krynicki <email address hidden>

 Merge TestRun model

 Implements 13 (TestRun model needed)

2010-09-15 Zygmunt Krynicki <email address hidden>

 Remove tests of TestCaseManager, they got in by rebase going wrong

2010-09-15 Zygmunt Krynicki <email address hidden>

 Refer to forward model by string

2010-09-15 Zygmunt Krynicki <email address hidden>

 Add generic relation TestRun.attachments to Attachment

2010-09-15 Zygmunt Krynicki <email address hidden>

 Split AttachmentTestCase into more specific tests

2010-09-15 Zygmunt Krynicki <email address hidden>

 Remove copy-paste issue in certain docstring

2010-09-15 Zygmunt Krynicki <email address hidden>

 Rework TestRunAttachment into generic Attachment model, add unit tests

2010-09-14 Zygmunt Krynicki <email address hidden>

 Fix typo in error message

2010-09-14 Zygmunt Krynicki <email address hidden>

 Fix docstring for fixtures.created_bundles()

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add TestRun model with unit tests and admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

 Improved TestCase.__unicode__ method

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add TestCase to admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

 Addd TestCase model, manager and unit tests

2010-09-15 Zygmunt Krynicki <email address hidden>

 Merge TestCase model

 Implements 6 (TestCase model needed)

2010-09-15 Zygmunt Krynicki <email address hidden>

 Drop TestCaseManager with custom get_or_create()

2010-09-14 Zygmunt Krynicki <email address hidden>

 Improved TestCase.__unicode__ method

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add TestCase to admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

 Addd TestCase model, manager and unit tests

2010-09-15 Zygmunt Krynicki <email address hidden>

 Merge Test model

 Implements 14 (Test model needed)

2010-09-15 Zygmunt Krynicki <email address hidden>

 Remove model manager feature that generates Test.name when creating instances via get_or_create()

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add Test.__unicode__ method

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add Test to admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add some more tests in Test construction tests

2010-09-14 Zygmunt Krynicki <email address hidden>

 Fix Test.name.verbose_name (copy paste issue)

2010-09-14 Zygmunt Krynicki <email address hidden>

 Add Test model.

 This model represents collections of test cases.

2010-09-14 Zygmunt Krynicki <email address hidden>

 Merge bundle stream views

 Implements 1 (List view for BundleStream)
 Implements 2 (Detail view for BundleStream)

2010-09-14 Zygmunt Krynicki <email address hidden>

 Use get_or_create to not cause duplicate errors in test class setup function

2010-09-14 Zygmunt Krynicki <email address hidden>

 Fix test class inheritance, thanks Paul!

2010-09-13 Zygmunt Krynicki <email address hidden>

 Make auth_test view only visible while testing, improve TestClient misconfiguration

2010-09-13 Zygmunt Krynicki <email address hidden>

 Add tests for views.bundle_stream_detail() with one bug fix they helped to find

2010-09-13 Zygmunt Krynicki <email address hidden>

 Add fixtures.make_bundle_stream and adapt fixtures.created_bundle_streams

2010-09-13 Zygmunt Krynicki <email address hidden>

 Redo test authentication not to use explicit credentials any longer

 Courtesy of James Westby.

2010-09-13 Zygmunt Krynicki <email address hidden>

 Add test cases for views.bundle_stream_list and fix bug in the original code

2010-09-09 Zygmunt Krynicki <email address hidden>

 Fix BundleStream.can_upload() (missing argument)

2010-09-09 Zygmunt Krynicki <email address hidden>

 Add templates for bundle stream list and bundle stream details

2010-09-09 Zygmunt Krynicki <email address hidden>

 Extend the list.html template to include a dedicated block when there is nothing to show

2010-09-09 Zygmunt Krynicki <email address hidden>

 Update dashboard_app.urls and lc-server.urls, hook new views

2010-09-09 Zygmunt Krynicki <email address hidden>

 Add views bundle_stream_list() and bundle_stream_detail()

2010-09-10 Zygmunt Krynicki <email address hidden>

 Improve DashboardStream authorization API and unit tests

2010-09-10 Zygmunt Krynicki <email address hidden>

 Fix copy-paste erorr

2010-09-10 Zygmunt Krynicki <email address hidden>

 Drop unnecessary parentheses

2010-09-10 Zygmunt Krynicki <email address hidden>

 Better test names for can_access() which used to be can_upload()

2010-09-10 Zygmunt Krynicki <email address hidden>

 Add tests for BundleStreamManager.allowed_for_user()

2010-09-10 Zygmunt Krynicki <email address hidden>

 Add tests for BundleStreamManager.allowed_for_anyone()

2010-09-10 Zygmunt Krynicki <email address hidden>

 Make DashboardAPI().streams() use new model manager methods

2010-09-10 Zygmunt Krynicki <email address hidden>

 Move BundleStream.get_allowed_for_user() to BundleStreamManager.allowed_for_user()

2010-09-10 Zygmunt Krynicki <email address hidden>

 Cherry-pick bundle stream access changes from stable.bundle-views

2010-09-09 Zygmunt Krynicki <email address hidden>

 Add BundleStream().can_access(user) and BundleStream.get_allowed_for_user(user)

 Those methods capture all the access control logic hence will be easier to test and reuse.

2010-09-10 Zygmunt Krynicki <email address hidden>

 Merge packaging changes. Drop native debian package. provide working setup.py

2010-09-09 Zygmunt Krynicki <email address hidden>

 Rework packaging to actually work this time

2010-09-09 Zygmunt Krynicki <email address hidden>

 Separate dashboard_app from launch_control and rename lc-server to dashboard_server

2010-09-09 Zygmunt Krynicki <email address hidden>

 Remove .bzr-builddeb (again, not a native package)

2010-09-09 Zygmunt Krynicki <email address hidden>

 Remove debian directory (this will not be a native debian package)

2010-09-10 Zygmunt Krynicki <email address hidden>

 Remove some old code and bits that moved to abrek

2010-09-09 Zygmunt Krynicki <email address hidden>

 Remove old code (samples, sw_profile, old json stack, test cases for that)

2010-09-10 Zygmunt Krynicki <email address hidden>

 Merge DashboardAPI().bundles() fixes

2010-09-09 Zygmunt Krynicki <email address hidden>

 Fix implementation of DashboardAPI().bundles()

 The previous implementation did not raise NOT_FOUND or FORBIDDEN as documented.
 One test case that previously worked was removed (listing bundles in inexistent
 stream silently returned empty list). New test case for all failure conditions
 was also added.

2010-09-10 Zygmunt Krynicki <email address hidden>

 Merge DashboardAPI().{get,put,bundles,streams}() and corresponding client-side commands

2010-09-09 Zygmunt Krynicki <email address hidden>

 Allow DashboardAPI().streams() to see private streams of the owner and public streams

2010-09-09 Zygmunt Krynicki <email address hidden>

 Redirect lc-tool.py get errors to stderr

2010-09-09 Zygmunt Krynicki <email address hidden>

 Merged test scenario improvements from James

 I added a test case that scenarios indeed work as we expect (that the database is empty).
 I also removed the now-unnecessary code from fixtures.create_xxx

2010-09-09 Zygmunt Krynicki <email address hidden>

 Simplify fixtures not to remove most of the resources it has created.

 This is no longer necessary because scenarios no longer interfere with django
 database magic. The only resources that are still managed are model instances
 with FileField fields.

2010-09-09 Zygmunt Krynicki <email address hidden>

 Add test case that makes sure the database is empty even when using scenarios

2010-09-08 James Westby <email address hidden>

 Use testscenarios rather than a custom scenarios decorator.

2010-09-08 Zygmunt Krynicki <email address hidden>

 Update tests to reflect the fact that dispatcher now exits the python interpreter after running a command

2010-09-08 Zygmunt Krynicki <email address hidden>

 Use abs() instead of if statement

2010-09-08 Zygmunt Krynicki <email address hidden>

 Fix typo in comment

2010-09-08 Zygmunt Krynicki <email address hidden>

 Use "number of bundles" instead of "bundles #"

2010-09-08 Zygmunt Krynicki <email address hidden>

 Whitespace fix

2010-09-08 Zygmunt Krynicki <email address hidden>

 Remove debugging print statement from admin panel

2010-09-08 Zygmunt Krynicki <email address hidden>

 Change output of lc-tool.py put

2010-09-08 Zygmunt Krynicki <email address hidden>

 Allow commands to return error codes on error

2010-09-08 Zygmunt Krynicki <email address hidden>

 Print error messages to stderr

2010-09-08 Zygmunt Krynicki <email address hidden>

 Remove support for --user and --password from XMLRPC commands, drop default location

2010-09-08 Zygmunt Krynicki <email address hidden>

 Make default row_formatter None

2010-09-08 Zygmunt Krynicki <email address hidden>

 Fix inaccurate comment from the dev branch

2010-09-07 Zygmunt Krynicki <email address hidden>

 Fix lc-tool.py get command to print the SHA1 and not the (now gone) BUNDLE_ID

2010-09-07 Zygmunt Krynicki <email address hidden>

 Documentation for DashboardAPI().bundles()

2010-09-07 Zygmunt Krynicki <email address hidden>

 Documentation for DashboardAPI().streams()

2010-09-07 Zygmunt Krynicki <email address hidden>

 Improve documentation for DashboardAPI.get()

2010-09-07 Zygmunt Krynicki <email address hidden>

 Add missing django application for markup support

2010-09-07 Zygmunt Krynicki <email address hidden>

 Improve HTML template that displays XML-RPC API help page

2010-09-07 Zygmunt Krynicki <email address hidden>

 Improve documentation of DashboardAPI().version() and DashboardAPI().put()

2010-09-07 Zygmunt Krynicki <email address hidden>

 Improve DjangoXMLRPCDispatcher

 Use standard fault codes for the following error conditions:
 - calling unknown function
 - internal server error

2010-09-07 Zygmunt Krynicki <email address hidden>

 Add test for DashboardAPI.put() and duplicate bundles

2010-09-07 Zygmunt Krynicki <email address hidden>

 PEP8 whitespace

2010-09-07 Zygmunt Krynicki <email address hidden>

 Improve DashboardAPI.put()

 There is a comprehensive docstring that explains all the error conditions of the
 function and its precise behaviour. A small API change has been made to make
 put() return the SHA1 of the content instead of the database-dependent primary
 key. In addition the actual bundle content is stored with a filename that is
 derived from the primary key instead of the provided content_filename. This
 change will simplify storage management and gets rid of the requirement to
 validate the user-provided data that might have been used to derive a file name
 on the file system (thus improves security)

 All of the above is thoroughly tested with unit tests.

2010-09-07 Zygmunt Krynicki <email address hidden>

 Shorten one test by using default test argument

2010-09-07 Zygmunt Krynicki <email address hidden>

 Add more test scenarios for DashboardAPI.get() that show when the function fails

2010-09-07 Zygmunt Krynicki <email address hidden>

 Enhance fixtures.created_bundles to be able to create personal and team bundle streams

2010-09-07 Zygmunt Krynicki <email address hidden>

 Fix DashboardAPI.get() when there is no matching bundle.

2010-09-07 Zygmunt Krynicki <email address hidden>

 Make fixtures.use_test_scenarios call the test function with keyword arguments

 Instead of:
 def foo(self, values):
 values['something]
 ...

 We get:
 def foo(self, something):
 ...

 This dramatically simplifies test code and allows to use defaults to shorten test scenario definitions

2010-09-07 Zygmunt Krynicki <email address hidden>

 Move uses_scenarios and test_loop to fixtures module

2010-09-07 Zygmunt Krynicki <email address hidden>

 Add fixture for creating bundle streams, simplify tests

2010-09-07 Zygmunt Krynicki <email address hidden>

 Rename fixture methods not to clash with common variables

2010-09-07 Zygmunt Krynicki <email address hidden>

 Add test for DashboardAPI.get()

2010-09-07 Zygmunt Krynicki <email address hidden>

 Create fixtures module with helper context managers, adapt existing tests

2010-09-07 Zygmunt Krynicki <email address hidden>

 Add some more scenarios for DashboardAPI.bundles()

2010-09-07 Zygmunt Krynicki <email address hidden>

 Change lc-tool subcommand 'streams' not to print user and group name.

 This information was pointless as it is also encoded in the pathname

2010-09-07 Zygmunt Krynicki <email address hidden>

 Add missing whitespace

2010-09-07 Zygmunt Krynicki <email address hidden>

 Reorder Bundle fields in the administration panel

2010-09-07 Zygmunt Krynicki <email address hidden>

 Improve test helpers uses_results and test_loop()

 The uses_results() function no longer passes scenario_name to test functions
 (nobody used it anyway). It also depends on test_loop() to report scenario
 details during unexpected exception caused by test failure.

 The test_loop() class now uses logging.exception() to print exception
 information, including backtrace. The output is shorter and pinpoints the error
 location. Loop arguments are also displayed clearly so it's easy to figure out
 why something has gone wrong.

2010-09-07 Zygmunt Krynicki <email address hidden>

 Add test case for DashboardAPI.bundles() and a small support class for loop testing

2010-09-07 Zygmunt Krynicki <email address hidden>

 Change Bundle addressing to use SHA1 of the content instead of the primary key.

 Change DjangoAPI.get() and DjangoAPI.bundles() not to depend the primary key of
 Bundle table. Instead the means of addressing bundles is by using SHA1 of the
 content. This makes test results stable and generally feels better. You can
 share bundle SHA1 and it will work on any database that has this document.

2010-09-06 Zygmunt Krynicki <email address hidden>

 Add some test cases for DashboardAPI.streams()

2010-09-06 Zygmunt Krynicki <email address hidden>

 Add subcommands for lc-tool to list bundles and bundle streams as well as upload and download data

2010-09-06 Zygmunt Krynicki <email address hidden>

 Add DataSetRenderer support class to dashboard command line interface module

 The new class can pretty-print table-like data such as list of bundles or bundle streams

2010-09-06 Zygmunt Krynicki <email address hidden>

 Improved error handling in XML-RPC backed commands for lc-tool

2010-09-06 Zygmunt Krynicki <email address hidden>

 Add XML-RPC API for listing bundles and bundle streams and uploading and downloading bundles

2010-09-06 Zygmunt Krynicki <email address hidden>

 Add a BundleStream.can_download() method

 The access rights required to download a bundle are the same as for uploading

2010-09-06 Zygmunt Krynicki <email address hidden>

 Add content_sha1 field to Bundle model

 This allows to spot duplicates easily. It is not required but useful as it
 enables workflows where a fresh dashboard is fed with lots of pre-existing data
 without the fear of duplicate bundles being uploaded.

2010-09-06 Zygmunt Krynicki <email address hidden>

 Add ability to define scenarios per test case

2010-09-04 Zygmunt Krynicki <email address hidden>

 Fix a bug in urlparse usage

2010-09-02 Zygmunt Krynicki <email address hidden>

 Add client version command to lc-tool

2010-09-02 Zygmunt Krynicki <email address hidden>

 Change launch_control.__version__ to be like python version tuple

2010-09-02 Zygmunt Krynicki <email address hidden>

 Update unit tests for command dispatcher to take account for __abstract__

2010-09-02 Zygmunt Krynicki <email address hidden>

 Make XMLRPCCommand (base class) not show up in lc-tool

2010-09-02 Zygmunt Krynicki <email address hidden>

 Wrap long line in commands.dispatcher

2010-09-02 Zygmunt Krynicki <email address hidden>

 Add lc-tool command module for dashboard

2010-09-02 Zygmunt Krynicki <email address hidden>

 Use absolute import in commands.dispatcher

2010-09-02 Zygmunt Krynicki <email address hidden>

 PEP8 whitespace fixes

2010-09-01 Zygmunt Krynicki <email address hidden>

 Merge with stable.xml-rpc branch

 This brings in XML-RPC support and paves the way for new features

2010-09-01 Zygmunt Krynicki <email address hidden>

 Move XML-RPC API to separate module

2010-09-01 Zygmunt Krynicki <email address hidden>

 Improved xml-rpc interface test code

2010-09-01 Zygmunt Krynicki <email address hidden>

 Improve docstring on xml_rpc_handler()

2010-09-01 Zygmunt Krynicki <email address hidden>

 Missing PEP8 blanks

2010-09-01 Zygmunt Krynicki <email address hidden>

 Move import_settings import before the conditional branch

2010-09-01 Zygmunt Krynicki <email address hidden>

 Improve some comments

2010-09-01 Zygmunt Krynicki <email address hidden>

 Fix copy-paste issue with double call to pong()

2010-09-01 Zygmunt Krynicki <email address hidden>

 Update .bzringore (database and local_settings.py)

2010-09-01 Zygmunt Krynicki <email address hidden>

 Add XML-RPC interface with initial API and associated unit tests

2010-09-01 Zygmunt Krynicki <email address hidden>

 Add __version__ to launch_control.dashboard_app

2010-09-01 Zygmunt Krynicki <email address hidden>

 Rework settings to make initial configuration easier

2010-09-01 Zygmunt Krynicki <email address hidden>

 Merge with stable.pure-server-side-models branch.

 This brings in:
 - preliminary django models
 - dashboard bundles
 - streams
 - software packages
 - hardware devices
 - unit tests for server side code
 - improved object factory class

2010-08-31 Zygmunt Krynicki <email address hidden>

 Use strict naming in uses_scenario() docstring

2010-08-30 Zygmunt Krynicki <email address hidden>

 Add simple scenario decorator that rolls common code into one place and adapt test cases to use it.

2010-08-30 Zygmunt Krynicki <email address hidden>

 Minor whitespace and naming changes (s/_1//)

2010-08-30 Zygmunt Krynicki <email address hidden>

 Rework pathname tests to use scenarios

2010-08-30 Zygmunt Krynicki <email address hidden>

 Add unit tests for BundleStream._calc_pathname()

2010-08-30 Zygmunt Krynicki <email address hidden>

 Update upload rights test case class name

2010-08-30 Zygmunt Krynicki <email address hidden>

 Add more anonymous users upload rights unit tests

2010-08-30 Zygmunt Krynicki <email address hidden>

 Fix BundleStream.can_upload() when authorized users could not upload to public streams, add unit tests to check that

2010-08-30 Zygmunt Krynicki <email address hidden>

 Add more tests for BundleStream.can_upload()

2010-08-30 Zygmunt Krynicki <email address hidden>

 Fix DashboardBundle.can_upload() for group permissions and add unit tests to validate that

2010-08-30 Zygmunt Krynicki <email address hidden>

 Add test for BundleStream pathname being regenerated on save()

2010-08-30 Zygmunt Krynicki <email address hidden>

 Add initial Bundle unit tests

2010-08-30 Zygmunt Krynicki <email address hidden>

 Make pathname a regular field of BundleStream.

 This prevents the issue that a unique field may have
 any number of NULL values and thus resolves issues found
 in recently added unit tests.

 The API is not changed in any way.

2010-08-27 Zygmunt Krynicki <email address hidden>

 Add BundleStream test cases (failing on sqlite)

2010-08-27 Zygmunt Krynicki <email address hidden>

 Add support for using properties in Dummy classes

2010-08-27 Zygmunt Krynicki <email address hidden>

 Add docstrings to urls and views

2010-08-27 Zygmunt Krynicki <email address hidden>

 Add BundleStream and Bundle admin

2010-08-27 Zygmunt Krynicki <email address hidden>

 Add BundleStream and Bundle models

2010-08-27 Zygmunt Krynicki <email address hidden>

 Merge with .pure-server-side-models branch.

 This brings in initial dashboard_app models for SoftwarePackage and
 HardwareDevice. It also establishes code quality level for server-side
 code merges.

2010-08-27 Zygmunt Krynicki <email address hidden>

 Add test checking that NamedAttribute uniqueness constraints are enforced

2010-08-27 Zygmunt Krynicki <email address hidden>

 Call .save() on database model tests to trigger any DB-level constraints

2010-08-26 Zygmunt Krynicki <email address hidden>

 Add NamedAttribute and HardwareDevice models, unit tests and admin interface

2010-08-26 Zygmunt Krynicki <email address hidden>

 Update SoftwarePackageTestCase to use ObjectFactoryMixIn

2010-08-26 Zygmunt Krynicki <email address hidden>

 Add ObjectFactoryMixIn class to utils.call_helper

2010-08-26 Zygmunt Krynicki <email address hidden>

 Add SoftwarePackage model and unit tests

2010-08-26 Zygmunt Krynicki <email address hidden>

 Add empty dashboard_app application

2010-08-26 Zygmunt Krynicki <email address hidden>

 Merge with new-models branch.

 This brings in new common models package and associated unit tests.
 The previous implementation in sample.py and sw_context.py is deprecated
 and will be removed as soon as remaining models/factories changes land.

2010-08-26 Zygmunt Krynicki <email address hidden>

 Better error message in TestResult looping construction test

2010-08-26 Zygmunt Krynicki <email address hidden>

 Fix typo in unit tests code

2010-08-26 Zygmunt Krynicki <email address hidden>

 Fix copy-pase omission

2010-08-26 Zygmunt Krynicki <email address hidden>

 Remove unnecessary whitespace

2010-08-25 Zygmunt Krynicki <email address hidden>

 Add TestRun unit tests

2010-08-25 Zygmunt Krynicki <email address hidden>

 Add TestResult() test case for handling of default arguments

2010-08-25 Zygmunt Krynicki <email address hidden>

 Add more TestResult unit tests

2010-08-25 Zygmunt Krynicki <email address hidden>

 Make test_case_id and result mandatory arguments of TestResult

2010-08-25 Zygmunt Krynicki <email address hidden>

 Tighten valid pattern of test_case_id, add unit tests to check this

2010-08-25 Zygmunt Krynicki <email address hidden>

 Add test case for Command.register_argments()

2010-08-25 Zygmunt Krynicki <email address hidden>

 Fix additional unit tests inheriting from our own TestCase class instead of unittest.TestCase

2010-08-25 Zygmunt Krynicki <email address hidden>

 Remove empty implementation of PlainOldData.get_json_attr_types()

 This is expected as this method is really not implemented in this class

2010-08-25 Zygmunt Krynicki <email address hidden>

 Fix argument name in TestCase constructor

2010-08-25 Zygmunt Krynicki <email address hidden>

 Fix DashboardBundle constructor default argument handling

2010-08-25 Zygmunt Krynicki <email address hidden>

 Fix HardwareDevice constructor default argument handling

2010-08-25 Zygmunt Krynicki <email address hidden>

 Add unit tests for TestCase model

2010-08-25 Zygmunt Krynicki <email address hidden>

 Fix DashboardBundle test case

2010-08-25 Zygmunt Krynicki <email address hidden>

 Fix test_dashboard_bundle_format_1_0 module to use TestCase from unittest not from own models

 This makes all the unit tests in the module start to be picked up by TestLoader

2010-08-24 Zygmunt Krynicki <email address hidden>

 Improve SoftwareImage unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

 Improve HardwareDevice unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

 Improve HardwareContext unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

 Improve DashboardBundle unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

 Add SoftwarePackage unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

 Add unit tests for SoftwareImage

2010-08-24 Zygmunt Krynicki <email address hidden>

 Fix slot name in SoftwareImage

2010-08-24 Zygmunt Krynicki <email address hidden>

 Add unit tests for SoftwareContext

2010-08-24 Zygmunt Krynicki <email address hidden>

 Add unit tests for HardwareDevice

2010-08-24 Zygmunt Krynicki <email address hidden>

 Fix slot name in HardwareDevice

2010-08-24 Zygmunt Krynicki <email address hidden>

 Add initial unit tests for launch_control.models

2010-08-24 Zygmunt Krynicki <email address hidden>

 PEP8 whitespace in sw_image.py

2010-08-24 Zygmunt Krynicki <email address hidden>

 Consistently use plain strings in get_json_attr_types()

2010-08-24 Zygmunt Krynicki <email address hidden>

 Fix TestCase definition to have a slot 'name' instead of 'desc'

2010-08-24 Zygmunt Krynicki <email address hidden>

 Fix TestResult docstrings for some fields copied over from older code

2010-08-24 Zygmunt Krynicki <email address hidden>

 Fix HardwareDevice docstring to match implementation

2010-08-24 Zygmunt Krynicki <email address hidden>

 Fix HardwareDevice constructor to provide 'description' argument

2010-08-24 Zygmunt Krynicki <email address hidden>

 Use absolute imports in launch_control.models

2010-08-24 Zygmunt Krynicki <email address hidden>

 Add new client side models that conform to the agreed "Dashboard Bundle format 1.0"

2010-08-26 Zygmunt Krynicki <email address hidden>

 Merge with json-simplejson-compat branch.

 This brings in bug fixes, unit tests and consistent support for
 two json implementations: python2.6 own json and python-simplejson package

2010-08-25 Zygmunt Krynicki <email address hidden>

 Add test script for checking JSON implementation support

2010-08-25 Zygmunt Krynicki <email address hidden>

 Fix typo in comment

2010-08-25 Zygmunt Krynicki <email address hidden>

 Add __inhibit_protect__ to utils.json.impl as a temporary workaround

2010-08-25 Zygmunt Krynicki <email address hidden>

 Add a note that utils.json supports two json backed implementations

2010-08-25 Zygmunt Krynicki <email address hidden>

 Remove json vs simplejson importing unit test.

 This test does not make sense after adding the selection machinery

2010-08-25 Zygmunt Krynicki <email address hidden>

 Add mechanism for selecting JSON implementation to work with.

 This is a little hacky and might be removed in the future.
 By setting JSON_IMPL to one of 'json', 'simplejson' or 'auto' you
 can change the implementation on which utils.json will be based on.

 This needs much more testing on python2.5 and python2.7, I suspect
 some bugs are still there to find with this new switch.

2010-08-25 Zygmunt Krynicki <email address hidden>

 Improve class hint existance test to be slightly more strict

2010-08-25 Zygmunt Krynicki <email address hidden>

 Improve json and simplejson compatibility, always decode strings to unicode before processing

2010-08-25 Zygmunt Krynicki <email address hidden>

 Improve json and simplejson compatibility, use iterencode instead of _iterencode

2010-08-25 Zygmunt Krynicki <email address hidden>

 Remove unneeded imports from the json tutorial

2010-08-25 Zygmunt Krynicki <email address hidden>

 Simplify imports sample.py

2010-08-24 Zygmunt Krynicki <email address hidden>

 Merge with stable.cli branch.

 This brings in preliminary support for command-line tool that assists launch-control web application

2010-08-24 Zygmunt Krynicki <email address hidden>

 Do not pass command arguments twice, remove argument from Command.invoke()

2010-08-20 Zygmunt Krynicki <email address hidden>

 Add unit tests for launch_control.commands package

2010-08-20 Zygmunt Krynicki <email address hidden>

 Raise NotImplementedError instead of NotImplemented

2010-08-20 Zygmunt Krynicki <email address hidden>

 Use inspect.getdoc() instead of plain __doc__

2010-08-20 Zygmunt Krynicki <email address hidden>

 Add ability to pass explicit arguments to LaunchControlDispatcher

2010-08-16 Zygmunt Krynicki <email address hidden>

 Add command line tool and associated infrastructure.

2010-08-24 Zygmunt Krynicki <email address hidden>

 Merge with stable.software_package_comparison branch.

 This brings in a minor change to the way SoftwarePackage instances are compared

2010-08-13 Zygmunt Krynicki <email address hidden>

 Fix SoftwarePackage comparison by implementing __cmp__ instead of __eq__ and __lt__
 ------------- This line and the following will be ignored --------------

 modified:
 launch_control/sw_profile.py

2010-08-24 Zygmunt Krynicki <email address hidden>

 Merge with .deprecate_old_json branch.

 This moves sample.py to use the new json stack

2010-08-20 Zygmunt Krynicki <email address hidden>

 Make sample use PlainOldData and new JSON stack, update unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

 Merge .json_fixes branch

 This brings in small improvements and bug fixes to the utils.json package

2010-08-24 Zygmunt Krynicki <email address hidden>

 Add missing call to super(xxx, self).setUp()

2010-08-22 Zygmunt Krynicki <email address hidden>

 Use mix-in classes to define common test cases for Simple/Complex JSON types

2010-08-20 Zygmunt Krynicki <email address hidden>

 Fix a typo in comment

2010-08-20 Zygmunt Krynicki <email address hidden>

 Improve efficiency of JSON deserialization for IComplexJSONType without customized attributes

2010-08-20 Zygmunt Krynicki <email address hidden>

 When Proxy types don't map correctly raise a more descrptive exception

2010-08-20 Zygmunt Krynicki <email address hidden>

 Rewrite PlainOldData.pod_attrs to be easier to read

2010-08-20 Zygmunt Krynicki <email address hidden>

 Allow to disable test coverage with environment variable

2010-08-20 Zygmunt Krynicki <email address hidden>

 Improve utils.json unit tests

2010-08-17 Zygmunt Krynicki <email address hidden>

 Explain the purpose of the simple JSON type decoding test

2010-08-17 Zygmunt Krynicki <email address hidden>

 Don't use backslashes in to create long docstrings

2010-08-17 Zygmunt Krynicki <email address hidden>

 Better type checking when registering json proxy types

2010-08-17 Zygmunt Krynicki <email address hidden>

 Separate import mocking into additional module to simplify other tests

2010-08-17 Zygmunt Krynicki <email address hidden>

 Additional tests for JSON encoding/decoding

2010-08-17 Zygmunt Krynicki <email address hidden>

 Import PlainOldData in json package

2010-08-16 Zygmunt Krynicki <email address hidden>

 Treat unimplemented get_json_attr_types() as empty type mapping

2010-08-16 Zygmunt Krynicki <email address hidden>

 Lookup proxy and reverse-proxy (proxied) classes to make type checking work

2010-08-16 Zygmunt Krynicki <email address hidden>

 Use _unmarshall_object when using class_hints (as it uses get_json_attr_types())

2010-08-16 Zygmunt Krynicki <email address hidden>

 Make test output deterministic by using sorted_keys=True

2010-08-17 Zygmunt Krynicki <email address hidden>

 Merge with stable.registration branch.
 This adds easier subclass registration and enumeration APIs that will improve future code

2010-08-16 Zygmunt Krynicki <email address hidden>

 Add simple module for detecting all known sub-classes of a particular class.

2010-08-13 Zygmunt Krynicki <email address hidden>

 Reorganize JSON package imports:
 - __init__.py is empty and just imports everything from various places for simplicity.
 - each major class gets a separate module
 - common interfaces are moved to interface module
 - class registry moved to registry module
 - "find a json implementation" moved to module for future-compatibility
 - all imports are sorted/layed out correctly
 - all imports still use PEP8 discouraged package-reltaive imports
 - all modules are added to test coverage reporting

2010-08-13 Zygmunt Krynicki <email address hidden>

 Change logging configuration for PluggableJSONDecoder

2010-08-12 Zygmunt Krynicki <email address hidden>

 Minor cleanup in PluggableJSONDecoder:
 - replace all commented-out print statements with debug logging messages
 - use "unmarshall" instead of "awake"

2010-08-12 Zygmunt Krynicki <email address hidden>

 Improve utils.filesystem module (docstrings and unit tests)

2010-08-12 Zygmunt Krynicki <email address hidden>

 Some code review fixes
 - all modules containing unit tests are named test_FOO
 - import lists and other modul lists are sorted

2010-08-11 Zygmunt Krynicki <email address hidden>

 Add new utils package.

 This package contains the brand-new utils.json package with comprehensive json
 support. Miscellaneous testing support modules (import_prohibitor and
 call_helper) are also relocated to the utils package.

 The utils_json module is _not_ removed yet. For review simplicity changes that
 remove this module and adapt everything that depended on it are applied in
 separate patches.

2010-08-13 Zygmunt Krynicki <email address hidden>

 Merge initial bits of the server side application

2010-08-13 Zygmunt Krynicki <email address hidden>

 Add initial server code.

 Note that this only includes the "lc-server" django project without any django
 apps that actually matter. Subsequent patches will bring each app, one at a
 time.

2010-08-11 Zygmunt Krynicki <email address hidden>

 Better support displaying test coverage

2010-07-01 Zygmunt Krynicki <email address hidden>

 Merge with .python2.5 branch

 This brings in:
 - python2.5 support
 - tested on Ubuntu 8.04/Hardy
 - removal of any usage of class decorators using @ syntax
 - __future__ imports where appropriate
 - json / simplejson / utils_json compatibility fixes
 - one generic bugfix for prohibited_modules.py

2010-06-29 Zygmunt Krynicki <email address hidden>

 Add python-simplejson to dependencies

2010-06-29 Zygmunt Krynicki <email address hidden>

 Do not automatically attempt to hide all prohibited modules.
 Fixes an issue where prohibited module was not loaded yet
 (and is in fact not available at all) and would fail to unload.

2010-06-29 Zygmunt Krynicki <email address hidden>

 Import json from utils_json (python2.5 compatibility)

2010-06-29 Zygmunt Krynicki <email address hidden>

 Use from __future__ import with_statement (python2.5 compatibility)

2010-06-29 Zygmunt Krynicki <email address hidden>

 Do not use class decorators (python2.5 compatibility)

2010-06-29 Zygmunt Krynicki <email address hidden>

 Fix test suite to work on lucid

2010-06-29 Zygmunt Krynicki <email address hidden>

 Whitespace fix

2010-06-29 Zygmunt Krynicki <email address hidden>

 Add test case for importing debian_version_compare from debian_bundle if debian is not available

2010-06-29 Zygmunt Krynicki <email address hidden>

 Add support to import_prohibitor.py for reloading explicitly listed modules

2010-06-28 Zygmunt Krynicki <email address hidden>

 Fix issue in PluggableJSONDecoder._object_hook() that would prevent it from working on python 2.6.4

2010-06-28 Zygmunt Krynicki <email address hidden>

 Merge with .unittest branch

 This brings in:
 - import_prohibitor module for mocking ImportError failures
 - support for python-coverage for test coverage tracking
 - simplified unit test launcher
 - 100% coverage for current application code

2010-06-28 Zygmunt Krynicki <email address hidden>

 Add another test case for SoftwarePackage ordering when package names are different

2010-06-28 Zygmunt Krynicki <email address hidden>

 Add test case contributed by James Westby

2010-06-28 Zygmunt Krynicki <email address hidden>

 Rework the comment next to code testing debian version comparator

2010-06-28 Zygmunt Krynicki <email address hidden>

 Wrap long lines

2010-06-28 Zygmunt Krynicki <email address hidden>

 Add more newlines where appropriate

2010-06-28 Zygmunt Krynicki <email address hidden>

 Add unit tests for launch_control.utils_json module

2010-06-28 Zygmunt Krynicki <email address hidden>

 Add helper module for mocking ImportError

2010-06-28 Zygmunt Krynicki <email address hidden>

 Separate ClassRegistry from IJSONSerializable for better ensapsulation

2010-06-28 Zygmunt Krynicki <email address hidden>

 Add .coverage to ignored files

2010-06-28 Zygmunt Krynicki <email address hidden>

 Add unit tests for _Sample.to_json()

2010-06-28 Zygmunt Krynicki <email address hidden>

 Add unit tests for SoftwareProfile.inspect_system()

2010-06-28 Zygmunt Krynicki <email address hidden>

 Simplify SoftwareProfile.find_installed_packages and associated unit tests

2010-06-28 Zygmunt Krynicki <email address hidden>

 Remove support for running doctests directly to get better test coverage reporting

2010-06-28 Zygmunt Krynicki <email address hidden>

 Add support for checking code coverage

2010-06-24 Zygmunt Krynicki <email address hidden>

 Add unit tests for SoftwareProfile

2010-06-24 Zygmunt Krynicki <email address hidden>

 Add unit tests for SoftwarePackage

2010-06-24 Zygmunt Krynicki <email address hidden>

 Remove obsolete shebang from sample.py

2010-06-24 Zygmunt Krynicki <email address hidden>

 Merge with .sw_profile branch

 This brings in:
 - sw_profile module with SoftwarePackage and SoftwareProfile classes
 for inspecting runtime software environment
 - third party mocker module (in launch_control.thirdparty.mocker)
 from Gustavo Niemeyer

2010-06-24 Zygmunt Krynicki <email address hidden>

 Don't catch import error on 'import apt'. Adjust documentation.

2010-06-24 Zygmunt Krynicki <email address hidden>

 Use python-debian to compare package version

2010-06-24 Zygmunt Krynicki <email address hidden>

 Replace testing.mocker to thirdparty.mocker to reflect actual module location

2010-06-24 Zygmunt Krynicki <email address hidden>

 Added doctests for sw_profile module
 Most of them will be converted to unit tests as soon as the testing branch is merged into trunk

2010-06-24 Zygmunt Krynicki <email address hidden>

 Add third party mocker module

2010-06-22 Zygmunt Krynicki <email address hidden>

 Add sw_profile module with SoftwarePackage and SoftwareProfile classes

2010-06-24 Zygmunt Krynicki <email address hidden>

 Merge with .testing branch

 This brings in:
 - easier way to run unit tests from multiple modules
 - clear upgrade path from doctests

2010-06-23 Zygmunt Krynicki <email address hidden>

 Rename test_all() to test_suite()

2010-06-22 Zygmunt Krynicki <email address hidden>

 Simplify unittest setup code

2010-06-22 Zygmunt Krynicki <email address hidden>

 Whitespace fix in call_helper.py

2010-06-22 Zygmunt Krynicki <email address hidden>

 Improved testing framework/loader for launch_control. It is sufficient to list
 modules to test in launch_control.tests.__init__.py's _modules variable. The
 __doctests_module__ hack can now go away as doctests are extracted from all
 modules.

2010-06-24 Zygmunt Krynicki <email address hidden>

 Merge with .json branch.

 This brings in:
 - support for universal json serialization/deserialization with type registration
 - support for serializing QualitativeSample and QuantitativeSample
 - unit tests and documentation

2010-06-24 Zygmunt Krynicki <email address hidden>

 Move some QualitativeSampleJOSNSupport fields into setUp() method and add PEP8 whitespace

2010-06-24 Zygmunt Krynicki <email address hidden>

 Remove __lt__() method from _Sample

2010-06-24 Zygmunt Krynicki <email address hidden>

 Add support to serialize datetime.datetime() and datetime.timedelta() fields

2010-06-24 Zygmunt Krynicki <email address hidden>

 Fix issues unovered during code review
 1) Rename _serialize/_deserialize -> to_json/from_json
 2) Dont use abc as it is python2.6 only
 3) Fall back to simplejson if full-blown json is not available
 4) Remove save/load functions as they don't have any advantage over json.dump/json.load

2010-06-22 Zygmunt Krynicki <email address hidden>

 Minor whitespace fixes in utils_json.py

2010-06-22 Zygmunt Krynicki <email address hidden>

 Fix inaccurate docstring for utils_json.py

2010-06-21 Zygmunt Krynicki <email address hidden>

 Make QualitativeSample and QuantitativeSample serializable to JSON documents

2010-06-21 Zygmunt Krynicki <email address hidden>

 Add load() function to utils_json module

2010-06-21 Zygmunt Krynicki <email address hidden>

 Simplify type registration and move the type registry to IJSONSerializable class

2010-06-21 Zygmunt Krynicki <email address hidden>

 Add extensible objects-to-JSON serialization support module

2010-06-21 Zygmunt Krynicki <email address hidden>

 Merge with .quantitative-sample branch

2010-06-21 Zygmunt Krynicki <email address hidden>

 Additional tests for QuantitativeSample, move Dummy classes closer to usage

2010-06-21 Zygmunt Krynicki <email address hidden>

 Improve comments in QuantitativeSample.__init__()

2010-06-21 Zygmunt Krynicki <email address hidden>

 Do not use 'pass' constant directly

2010-06-21 Zygmunt Krynicki <email address hidden>

 Fix incorrect docstring for QuantitativeSample

2010-06-19 Zygmunt Krynicki <email address hidden>

 Improve docstring for QuantitativeSample._set_test_id

2010-06-19 Zygmunt Krynicki <email address hidden>

 Drop dependency on types module

2010-06-19 Zygmunt Krynicki <email address hidden>

 Add QuantitativeSample class

2010-06-21 Zygmunt Krynicki <email address hidden>

 Merge with .code-and-docs-clenaup branch

2010-06-21 Zygmunt Krynicki <email address hidden>

 Explain how constructor testing works together with ObjectFactory.
 Rename some methods that test for default argument not to include the value in
 the method name should the argument value change in sub-classes.

2010-06-21 Zygmunt Krynicki <email address hidden>

 Improve comments around __init__ and explain the purpose od double-assignment

2010-06-21 Zygmunt Krynicki <email address hidden>

 Do not force the value of QualitativeSample.test_result into str()

2010-06-18 Zygmunt Krynicki <email address hidden>

 Remove old diagnostic commands from call_helper.py

2010-06-18 Zygmunt Krynicki <email address hidden>

 Add docstring to launch_control package

2010-06-18 Zygmunt Krynicki <email address hidden>

 Decouple _Sample and QualitativeSample tests

2010-06-18 Zygmunt Krynicki <email address hidden>

 Make the mininum timestamp test more obvious

2010-06-18 Zygmunt Krynicki <email address hidden>

 Use 'value' instead of 'timestamp' in one of the tests

2010-06-18 Zygmunt Krynicki <email address hidden>

 Change _Sample and QualitativeSample constructors to set attributes directly
 rather than by using setattr.

2010-06-18 Zygmunt Krynicki <email address hidden>

 Fix _Sample constructor to validate test_id

2010-06-18 Zygmunt Krynicki <email address hidden>

 Check that timestamp value is not too old

2010-06-18 Zygmunt Krynicki <email address hidden>

 Improve documentation for QualitativeSample.{message,duration,timestamp}

2010-06-18 Zygmunt Krynicki <email address hidden>

 Store test_result as string even if argument is unicode

2010-06-18 Zygmunt Krynicki <email address hidden>

 Merge with .zyga branch

2010-06-18 Zygmunt Krynicki <email address hidden>

 Rename TEST_RESULT_CRASH to TEST_RESULT_UNKNOWN

2010-06-18 Zygmunt Krynicki <email address hidden>

 Refactor CallHelper and ObjectFactory to remove necessity of CallHelper.__init__()'s ignore_self argument

2010-06-18 Zygmunt Krynicki <email address hidden>

 Improve ObjectFactory documentation

2010-06-18 Zygmunt Krynicki <email address hidden>

 Break one long line

2010-06-18 Zygmunt Krynicki <email address hidden>

 Move _Dummy classes from _Sample and QualitativeSample into unit testing module

2010-06-18 Zygmunt Krynicki <email address hidden>

 Add support for using external _Dummy classes in ObjectFactory

2010-06-18 Zygmunt Krynicki <email address hidden>

 Use constant names in test_result assignment tests

2010-06-18 Zygmunt Krynicki <email address hidden>

 Remove needless whitespace

2010-06-18 Zygmunt Krynicki <email address hidden>

 Use arbitrary dummy values instead of concrete values where possible

2010-06-18 Zygmunt Krynicki <email address hidden>

 Use constant names when passing test_result values

2010-06-18 Zygmunt Krynicki <email address hidden>

 Rename DUMMY and DEFAULT to DUMMY_VALUE and DEFAULT_VALUE

2010-06-18 Zygmunt Krynicki <email address hidden>

 Make it explicit in the CallHelper documentation that default values are not overriden by dummy values

2010-06-18 Zygmunt Krynicki <email address hidden>

 Reformat call_helper.py's docstrings, comments and code not to exceed 79 columns

2010-06-18 Zygmunt Krynicki <email address hidden>

 Fix typo error in CallHelper._fill_agrs()

2010-06-18 Zygmunt Krynicki <email address hidden>

 Fix overly long lines

2010-06-17 Zygmunt Krynicki <email address hidden>

 Remove inaccurate parts of a comment in CallHelper._fill_args

2010-06-17 Zygmunt Krynicki <email address hidden>

 Add generic call helper and generic object factory
 Improve unit tests with new factory objects and dummy values
 Make testing for default constructor attributes work across inheritance (finally!)

2010-06-17 Zygmunt Krynicki <email address hidden>

 Merge with .zyga branch

2010-06-17 Zygmunt Krynicki <email address hidden>

 Fix invalid assumptions on timestmap and duration storage

 Use datetime.datetime and datetime.timedelta instead of plain numbers

2010-06-16 Zygmunt Krynicki <email address hidden>

 Add make_qualitative_sample helper to make unit tests more explicit

2010-06-16 Zygmunt Krynicki <email address hidden>

 Move factory.py to testing package

2010-06-16 Zygmunt Krynicki <email address hidden>

 Remove unused import 'random'

2010-06-16 Zygmunt Krynicki <email address hidden>

 Add more newlines where appropriate

2010-06-16 Zygmunt Krynicki <email address hidden>

 Add tests for skip/crash test_result

2010-06-16 Zygmunt Krynicki <email address hidden>

 Rework tests to drop randomness, use factory methods

2010-06-16 Zygmunt Krynicki <email address hidden>

 Add newlines between methods (PEP8 compliance)

2010-06-16 Zygmunt Krynicki <email address hidden>

 Add QualitativeSample.duration field

2010-06-15 Zygmunt Krynicki <email address hidden>

 Add QualitativeSample.message and QualitativeSample.timestamp fields

2010-06-15 Zygmunt Krynicki <email address hidden>

 Check that QualitativeSample.test_result is a string type

2010-06-15 Zygmunt Krynicki <email address hidden>

 Simplify access to QualitativeSample.test_id

2010-06-15 Zygmunt Krynicki <email address hidden>

 Add 'message' and 'timestamp' fields to QualitativeSample

2010-06-14 Zygmunt Krynicki <email address hidden>

 Merged with .zyga branch

2010-06-14 Zygmunt Krynicki <email address hidden>

 Remove duplicates from Depends field

2010-06-14 Zygmunt Krynicki <email address hidden>

 Add bzr builddeb support

2010-06-14 Zygmunt Krynicki <email address hidden>

 Add debian directory

2010-06-14 Zygmunt Krynicki <email address hidden>

 Add setup.py for building and packaging

2010-06-14 Zygmunt Krynicki <email address hidden>

 Add doctest + unittest testing solution and some additional tests for sample module

2010-06-14 Zygmunt Krynicki <email address hidden>

 Removed the license until Linaro TSC makes a decision

2010-06-14 Zygmunt Krynicki <email address hidden>

 Rework doctests so that they make sense as a documentation

2010-06-14 Zygmunt Krynicki <email address hidden>

 Create launch_control package with __version__ field and apply PEP8 whitespace rules

2010-06-14 Zygmunt Krynicki <email address hidden>

 Add 'api.py' with some basic Sample API

2010-06-14 Zygmunt Krynicki <email address hidden>

 Initial import with license file

1 blueprint and 0 bugs targeted

Blueprint Priority Assignee Delivery
Add support for website extensions to lava-server Add support for website extensions to lava-server 5 Essential Zygmunt Krynicki  11 Implemented
This milestone contains Public information
Everyone can see this information.