[ckan-changes] [okfn/ckanjs] 901042: [lib/ui][s]: use config pass to UI.initialize (if ...

noreply at github.com noreply at github.com
Mon Aug 22 17:26:34 UTC 2011


  Branch: refs/heads/datadeck
  Home:   https://github.com/okfn/ckanjs

  Commit: 901042033e66c52e437c3df24498e35fa7c00fc7
      https://github.com/okfn/ckanjs/commit/901042033e66c52e437c3df24498e35fa7c00fc7
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-25 (Mon, 25 Jul 2011)

  Changed paths:
    M lib/ui.js

  Log Message:
  -----------
  [lib/ui][s]: use config pass to UI.initialize (if provided).


  Commit: 5ce5414747d604efe5dc086e1f4ccdad221d1591
      https://github.com/okfn/ckanjs/commit/5ce5414747d604efe5dc086e1f4ccdad221d1591
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2011-07-25 (Mon, 25 Jul 2011)

  Changed paths:
    M lib/model.js
  M test/model-test.js

  Log Message:
  -----------
  Fixed issue with infinite recursion when loading packages with relationships. Fixes #22

Turned out to be a simple typo, added unit tests to prevent regressions.


  Commit: 131f281ab38437c20d8eeb29848888036f8ef257
      https://github.com/okfn/ckanjs/commit/131f281ab38437c20d8eeb29848888036f8ef257
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2011-07-25 (Mon, 25 Jul 2011)

  Changed paths:
    M test/view-test.js

  Log Message:
  -----------
  Removing redundant test for title in dataset view as of 7ca7298


  Commit: e8cb7055e8330a9063e88045890dc0e6b75bc74d
      https://github.com/okfn/ckanjs/commit/e8cb7055e8330a9063e88045890dc0e6b75bc74d
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-27 (Wed, 27 Jul 2011)

  Changed paths:
    M test/view-test.js

  Log Message:
  -----------
  [test/view][xs]: minor fix to test broken by change to view template in cset:7ca7298997cd91d81205a922980c504aab838858.


  Commit: 4d70997eeb8df1064704e6ee49f1d61e67e67b97
      https://github.com/okfn/ckanjs/commit/4d70997eeb8df1064704e6ee49f1d61e67e67b97
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-27 (Wed, 27 Jul 2011)

  Changed paths:
    M lib/client.js
  M test/client-test.js

  Log Message:
  -----------
  [lib/client][s]: minor fix to getDatasetById to improve handling of options and setting of error function.

* WARNING: had to remove some failing tests to get this to work. Think the tests were using a spy on an 'odd' error function on dataset.fetch method (which I removed because it was breaking usage of getDatasetById). Should talk with aron about this.


  Commit: c5a2d673371490b92cc3ef5002a41dd7f5b78223
      https://github.com/okfn/ckanjs/commit/c5a2d673371490b92cc3ef5002a41dd7f5b78223
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-27 (Wed, 27 Jul 2011)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  [ignore][xs]: .


  Commit: 65d7912f2e667168924a71655d18732926e68571
      https://github.com/okfn/ckanjs/commit/65d7912f2e667168924a71655d18732926e68571
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-27 (Wed, 27 Jul 2011)

  Changed paths:
    M lib/model.js

  Log Message:
  -----------
  [lib/model][xs]: add defaults for Dataset object.


  Commit: 23ebb073775f8e34654d4d321ec880e28f6b7ad2
      https://github.com/okfn/ckanjs/commit/23ebb073775f8e34654d4d321ec880e28f6b7ad2
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-27 (Wed, 27 Jul 2011)

  Changed paths:
    M lib/view.js

  Log Message:
  -----------
  [lib/view][xs]: re-render DatasetFullView on change of model.


  Commit: d92ad1db604132a0ebe315d5f75c05fd7acfe686
      https://github.com/okfn/ckanjs/commit/d92ad1db604132a0ebe315d5f75c05fd7acfe686
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M lib/ui.js

  Log Message:
  -----------
  [lib/ui][xs]: _findDataset uses getDatasetById rather than looking in searchResults (needed for fixture support).


  Commit: ab5c706d8039694c66a6b4c88b6bb86218830b1f
      https://github.com/okfn/ckanjs/commit/ab5c706d8039694c66a6b4c88b6bb86218830b1f
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M app/index.html

  Log Message:
  -----------
  [app][s]: load test/fixtures in dataset cache so we can work offline.


  Commit: 82ee4d2d63674106fe8bd808f91785c2d8fc1fdf
      https://github.com/okfn/ckanjs/commit/82ee4d2d63674106fe8bd808f91785c2d8fc1fdf
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M lib/model.js
  M test/model-test.js

  Log Message:
  -----------
  Merge branch 'master' of github.com:okfn/ckanjs

Conflicts:
	test/view-test.js
Merge branch 'master' of github.com:okfn/ckanjs to my master resolving trivial conflict on test/view-test.js due to me and aron fixing same bug in tests (caused by me!).


  Commit: 2f65ab6abe045fa8d17da5013fe519c8973e2303
      https://github.com/okfn/ckanjs/commit/2f65ab6abe045fa8d17da5013fe519c8973e2303
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M app/index.html
  A lib/template/dataset-form.js
  A lib/template/dataset-view.js
  M lib/templates.js
  M test/index.html

  Log Message:
  -----------
  [refactor,templates][xs]: split some of dataset related templates into their own template files.


  Commit: dea0e08bfec9d4a7c091bf8e8959b3042a76d404
      https://github.com/okfn/ckanjs/commit/dea0e08bfec9d4a7c091bf8e8959b3042a76d404
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M lib/template/dataset-view.js
  M lib/view.js

  Log Message:
  -----------
  [refactor,template][xs]: rename datasetFull template to datasetView.


  Commit: 777a280dde30d79f46acce4bc8da3ec4fc940e07
      https://github.com/okfn/ckanjs/commit/777a280dde30d79f46acce4bc8da3ec4fc940e07
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M app/css/ckanjs.css
  M lib/template/dataset-view.js
  M test/fixtures.js

  Log Message:
  -----------
  [dataset/view,template][s]: several minor improvements to dataset view (e.g. say if no resources, and display resource heading etc).

* correct annakarenina notes json to have line endings.


  Commit: 149465fd08675233ce6b0704db6e1f7983cd144d
      https://github.com/okfn/ckanjs/commit/149465fd08675233ce6b0704db6e1f7983cd144d
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M lib/model.js

  Log Message:
  -----------
  [model,bugfix][s]: fix nasty subtle bug (1h+ to track down) whereby dataset change event not being triggered on resource update.

* Details: discovered this because using fixtures dataset view was not showing resources. Tracked this to fact that on dataset.set with fixture data (of existing dataset -- one autocreated for view) change event was getting fired *before* _updateChildren called (or completed) and hence resources not being shown (as render happened before resources on object).


  Commit: 52fd58bddba1e5bd1ffe91f0eafbaa1cf8591787
      https://github.com/okfn/ckanjs/commit/52fd58bddba1e5bd1ffe91f0eafbaa1cf8591787
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M app/index.html
  A lib/template/resource-form.js
  M lib/templates.js
  M test/index.html

  Log Message:
  -----------
  [template,refactor][xs]: split out resourceForm into separate file.


  Commit: 6098af729824c1494426fa5c416194cbe462cdbe
      https://github.com/okfn/ckanjs/commit/6098af729824c1494426fa5c416194cbe462cdbe
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M lib/model.js
  M test/model-test.js

  Log Message:
  -----------
  [model/resource][xs]: allow resource not to have dataset set (was being required in toJSON).


  Commit: 09634289839d9be4db14f03868efc8db1e901d6b
      https://github.com/okfn/ckanjs/commit/09634289839d9be4db14f03868efc8db1e901d6b
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-28 (Thu, 28 Jul 2011)

  Changed paths:
    M app/index.html
  A lib/template/resource-view.js
  M lib/view.js
  M test/index.html
  M test/view-test.js

  Log Message:
  -----------
  [view/resource][s]: first pass at resource view with simple template (very incomplete but working).


  Commit: 65190cbfb1ae25a7217d267205d2ce10e00f7a01
      https://github.com/okfn/ckanjs/commit/65190cbfb1ae25a7217d267205d2ce10e00f7a01
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-30 (Sat, 30 Jul 2011)

  Changed paths:
    M lib/ui.js

  Log Message:
  -----------
  [ui][xs]: fix up switch view so we correctly hide and show minornavigation and sidebar across views.


  Commit: 55e348cf7e39bf35881d5dca3a675df3259ed92a
      https://github.com/okfn/ckanjs/commit/55e348cf7e39bf35881d5dca3a675df3259ed92a
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-30 (Sat, 30 Jul 2011)

  Changed paths:
    M lib/ui.js

  Log Message:
  -----------
  [ui,routing][xs]: minor refactor of routing to have id then action.


  Commit: 586b124cf297a8560208b6d932f47c24d7397438
      https://github.com/okfn/ckanjs/commit/586b124cf297a8560208b6d932f47c24d7397438
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-07-30 (Sat, 30 Jul 2011)

  Changed paths:
    M app/index.html
  M lib/ui.js

  Log Message:
  -----------
  [fixtures][xs]: make fixtures into argument to options for UI.Workspace and set up fixtures in CKAN.UI.Workspace.initialize as this is more reliable way to ensure fixtures are inserted before anything else.


  Commit: 6a58c3b2e9d6ec72485c03083226729040aba4f2
      https://github.com/okfn/ckanjs/commit/6a58c3b2e9d6ec72485c03083226729040aba4f2
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    M app/index.html
  M lib/model.js
  M lib/ui.js
  M lib/view.js

  Log Message:
  -----------
  [ui/resource/view][s]: implement route for resource view and show resource using resourceView template.


  Commit: 94cf726f51a8e5746b44b0679af3ab49c9cb17d3
      https://github.com/okfn/ckanjs/commit/94cf726f51a8e5746b44b0679af3ab49c9cb17d3
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    M lib/template/dataset-view.js
  M test/view-test.js

  Log Message:
  -----------
  [dataset/view][xs]: resources table description links now go to resource page rather than download (and have separate download link).


  Commit: 8ab571e6c3a1e14043d6256b88ab8aafd94e9807
      https://github.com/okfn/ckanjs/commit/8ab571e6c3a1e14043d6256b88ab8aafd94e9807
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    M lib/template/resource-view.js
  M lib/view.js
  M test/fixtures.js

  Log Message:
  -----------
  [resource/view][s]: create a table for 'additional information' on the resource and populate it (e.g. size, format, hash).


  Commit: 0fe97465f8c2273812ec52544e75130e70181646
      https://github.com/okfn/ckanjs/commit/0fe97465f8c2273812ec52544e75130e70181646
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    M lib/view.js

  Log Message:
  -----------
  [lint][xs]: remove console.log left in in last commit.


  Commit: d4fcbefca6c7c79e6ded9d8e356cc304fe5b5433
      https://github.com/okfn/ckanjs/commit/d4fcbefca6c7c79e6ded9d8e356cc304fe5b5433
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_222222_256x240.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_228ef1_256x240.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_ffffff_256x240.png
  A vendor/jqueryui/1.8.4/css/ui-lightness/jqueryui-lightness.css
  A vendor/jqueryui/1.8.4/jquery-ui.min.js

  Log Message:
  -----------
  [vendor/jqueryuid][s]: add jquery ui (v1.8.4) to vendor as will need for modal dialogs.


  Commit: d15af8661c69b498123b8386bd3396510e68cbd1
      https://github.com/okfn/ckanjs/commit/d15af8661c69b498123b8386bd3396510e68cbd1
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    M app/index.html
  M lib/template/resource-form.js
  M lib/view.js
  M test/index.html
  M test/view-test.js

  Log Message:
  -----------
  [dataset/view,resource][s]: add resource now creates form in a dialog rather than creating inline in page.


  Commit: c6d5b04931a943c7a9d6ea3bfdd2a0ba0747a066
      https://github.com/okfn/ckanjs/commit/c6d5b04931a943c7a9d6ea3bfdd2a0ba0747a066
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    M app/index.html
  M lib/ui.js

  Log Message:
  -----------
  [refactor,ui][s]: standardize on method and route naming (and element naming in index page).


  Commit: 95e1dde19356c7bbfc048cd41f7dd556a85e283e
      https://github.com/okfn/ckanjs/commit/95e1dde19356c7bbfc048cd41f7dd556a85e283e
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    M lib/template/dataset-form.js
  M lib/templates.js
  M lib/ui.js
  M lib/view.js
  M test/view-test.js

  Log Message:
  -----------
  [dataset/edit,refactor][s]: minor refactoring to improve edit view.

* Rename from DatasetCreateView to DatasetEditView.
* Show minornavigation, set page heading, standardize on usual template setup
* Add a test for this view


  Commit: 03cfa70c7e2ff99d44b8db0c0cf396f6a295ab76
      https://github.com/okfn/ckanjs/commit/03cfa70c7e2ff99d44b8db0c0cf396f6a295ab76
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-01 (Mon, 01 Aug 2011)

  Changed paths:
    M app/css/pdeu.css

  Log Message:
  -----------
  [css][xs]: tweak page heading margin.


  Commit: 84645637acaa83f23cb97479fd906323735d9fe4
      https://github.com/okfn/ckanjs/commit/84645637acaa83f23cb97479fd906323735d9fe4
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-02 (Tue, 02 Aug 2011)

  Changed paths:
    M app/css/ckanjs.css
  M lib/template/dataset-form.js
  M lib/view.js
  M test/view-test.js

  Log Message:
  -----------
  [dataset/edit][s]: rework form somewhat and create set of tabs for switching between different parts of form (though not yet necessary).


  Commit: 1954595892f8da6e9bb38db6a8ae571a56fb1365
      https://github.com/okfn/ckanjs/commit/1954595892f8da6e9bb38db6a8ae571a56fb1365
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-03 (Wed, 03 Aug 2011)

  Changed paths:
    M app/css/ckanjs.css
  M lib/template/dataset-form.js
  M test/view-test.js

  Log Message:
  -----------
  [dataset/edit][xs]: even more simplification of dataset edit/add (and remove fancy menu as only have basics for the time being).


  Commit: e214bfba89500851a0395e174d01765ba1173c05
      https://github.com/okfn/ckanjs/commit/e214bfba89500851a0395e174d01765ba1173c05
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-03 (Wed, 03 Aug 2011)

  Changed paths:
    M lib/view.js

  Log Message:
  -----------
  [bugfix][xs]: config view was using old var name of api_key rather than apiKey.


  Commit: ec99a1496f5550bd4c99df1eabedf993230ca0f4
      https://github.com/okfn/ckanjs/commit/ec99a1496f5550bd4c99df1eabedf993230ca0f4
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-04 (Thu, 04 Aug 2011)

  Changed paths:
    M lib/view.js

  Log Message:
  -----------
  [dataset/edit,bugfix][xs]: bind render to model change so that edit view updates when model loads from server.

* direct access of edit view was not working since switch to getDatasetById as that always returns immediately and only updates later with data from server.


  Commit: caa94921f179dae2d91cc48dd72f37d8d1aec5a8
      https://github.com/okfn/ckanjs/commit/caa94921f179dae2d91cc48dd72f37d8d1aec5a8
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-04 (Thu, 04 Aug 2011)

  Changed paths:
    M lib/view.js

  Log Message:
  -----------
  [dataset/edit][xs]: on succesful save put up notification and redirect to view page.


  Commit: 87c2c2bd47bccbf4bebd026bdbf3da9c839282a0
      https://github.com/okfn/ckanjs/commit/87c2c2bd47bccbf4bebd026bdbf3da9c839282a0
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-05 (Fri, 05 Aug 2011)

  Changed paths:
    M lib/model.js
  M lib/templates.js
  M lib/ui.js
  M lib/view.js

  Log Message:
  -----------
  [bugfix][s]: found bug whereby ckan_url for datasets was always using test.ckan.net rather than url set in config.

* Tracked this to fact we were using ${domain} attribute in template which in turn was set search view on UI initialization (and not updated by config update). This could be solved several ways but simplest was just to used the ckan_url from the original data (it was being overridden at the moment to toTemplateJSON).


  Commit: 0c24684e0593fd5ad7c0d6fcca29c300997f627b
      https://github.com/okfn/ckanjs/commit/0c24684e0593fd5ad7c0d6fcca29c300997f627b
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-05 (Fri, 05 Aug 2011)

  Changed paths:
    M lib/template/dataset-view.js

  Log Message:
  -----------
  [dataset/view,relationships][xs]: fix up dataset sidebar template to display relationships correctly (fixes #2).

* NB: UX is pretty horrible as we are only getting dataset uuids for subject/object attributes on relationships. So quite a bit of improvement to be done here.


  Commit: 7f3ae90bdd8710a54ebd39845ea93e28f41a9458
      https://github.com/okfn/ckanjs/commit/7f3ae90bdd8710a54ebd39845ea93e28f41a9458
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-05 (Fri, 05 Aug 2011)

  Changed paths:
    M lib/template/dataset-view.js

  Log Message:
  -----------
  [dataset/view,template][xs]: minor ux so that we don't display read more when no notes and in notes field we say 'no notes yet, add some'.


  Commit: 0e69710cc377bd24f64607493e14e2e41a260e15
      https://github.com/okfn/ckanjs/commit/0e69710cc377bd24f64607493e14e2e41a260e15
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-05 (Fri, 05 Aug 2011)

  Changed paths:
    M test/fixtures.js
  M test/index.html
  M test/view-test.js

  Log Message:
  -----------
  [dataset/view,test][s]: addendum to cset:0c24684e0593fd5ad7c0d6fcca29c300997f627b to add test for relationship stuff (refs #2).


  Commit: bf2e92eea3d1b864bf816293cf69f31ee1de1335
      https://github.com/okfn/ckanjs/commit/bf2e92eea3d1b864bf816293cf69f31ee1de1335
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-06 (Sat, 06 Aug 2011)

  Changed paths:
    M test/view-test.js

  Log Message:
  -----------
  [test][s]: add basic test for ResourceEditView.


  Commit: 0791071ecf0e4c48164f3582a7ab7391e78001d7
      https://github.com/okfn/ckanjs/commit/0791071ecf0e4c48164f3582a7ab7391e78001d7
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-06 (Sat, 06 Aug 2011)

  Changed paths:
    M lib/view.js
  M test/view-test.js

  Log Message:
  -----------
  [test,dataset/view/resource][s]: ensure that add a resource on dataset view gets saved (and add test for this).


  Commit: 0c1ebfc271042963b39e67db8a31757ee23afc72
      https://github.com/okfn/ckanjs/commit/0c1ebfc271042963b39e67db8a31757ee23afc72
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-08 (Mon, 08 Aug 2011)

  Changed paths:
    M lib/client.js
  A lib/template/resource-upload.js
  A lib/view/resource-upload.js
  M test/fixtures.js
  M test/index.html
  M test/view-test.js

  Log Message:
  -----------
  [view/resource-upload][m]: very basic (but working and tested) upload form (refs #29).


  Commit: 2131a53a67b1fda0635bd26fbfbe4772ca3637e3
      https://github.com/okfn/ckanjs/commit/2131a53a67b1fda0635bd26fbfbe4772ca3637e3
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-09 (Tue, 09 Aug 2011)

  Changed paths:
    M app/css/ckanjs.css
  M lib/template/resource-form.js
  M lib/template/resource-upload.js
  A lib/view/resource-create.js
  M test/index.html
  M test/view-test.js

  Log Message:
  -----------
  [resource/view/create][m]: resource create form incorporating edit form (link to) and upload form (refs #29).

* Only tested template
* Not yet wired into the datadeck.


  Commit: 4ea8c7711ba8e3807ad81cf5624e393eacd6c034
      https://github.com/okfn/ckanjs/commit/4ea8c7711ba8e3807ad81cf5624e393eacd6c034
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-09 (Tue, 09 Aug 2011)

  Changed paths:
    M app/css/ckanjs.css
  M app/index.html
  M lib/template/resource-form.js
  M lib/view.js

  Log Message:
  -----------
  [dataset/view,resource/create][s]: wire resource create form into datadeck dataset view (refs #29).

* Still not working as not yet connected properly to auth/form api in CKAN.


  Commit: e3b9fb4cae522a658f9456ea27519a78b78fda7b
      https://github.com/okfn/ckanjs/commit/e3b9fb4cae522a658f9456ea27519a78b78fda7b
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-11 (Thu, 11 Aug 2011)

  Changed paths:
    A vendor/jquery.fileupload/20110801/jquery.fileupload-ui.css
  A vendor/jquery.fileupload/20110801/jquery.fileupload-ui.js
  A vendor/jquery.fileupload/20110801/jquery.fileupload.js
  A vendor/jquery.fileupload/20110801/jquery.iframe-transport.js

  Log Message:
  -----------
  [resource/upload][l]: first effort to ajax-ify the file upload (using jquery.fileupload plugin) so far without complete success (refs #29).

* At the moment upload does not quite seem to work (and error reporting on failure isn't great)
* Have to use iframe transport which greatly reduces benefits of the plugin (though still some benefits - e.g. access to file add events and to completion events).


  Commit: 3579c27513a98061e01afa5b3c0b2675bcdb4270
      https://github.com/okfn/ckanjs/commit/3579c27513a98061e01afa5b3c0b2675bcdb4270
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-12 (Fri, 12 Aug 2011)

  Changed paths:
    M app/index.html
  M lib/client.js
  M lib/template/resource-upload.js
  M lib/view/resource-create.js
  M lib/view/resource-upload.js
  M test/index.html
  M test/view-test.js

  Log Message:
  -----------
  [resource/upload,addendum][l]: first effort to ajax-ify the file upload (using jquery.fileupload plugin) so far without complete success (refs #29) (should have been part of prev commit).


  Commit: 68ac79d6730543f37c2710bcd65d6c10de063af1
      https://github.com/okfn/ckanjs/commit/68ac79d6730543f37c2710bcd65d6c10de063af1
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-13 (Sat, 13 Aug 2011)

  Changed paths:
    M lib/template/resource-upload.js
  M lib/view/resource-upload.js

  Log Message:
  -----------
  [resource/upload][s]: ([l] in time!) finanlly have upload working (and convinced it is working) (refs #29).

* Not a lot of code but lots of time to check this really works.


  Commit: f341c5df6292043dee24b1f4819dd142a0466833
      https://github.com/okfn/ckanjs/commit/f341c5df6292043dee24b1f4819dd142a0466833
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-13 (Sat, 13 Aug 2011)

  Changed paths:
    M lib/model.js

  Log Message:
  -----------
  [model/resource][xs]: do not require dataset attribute to validate a resource.

* Was preventing saving a resource prior to save and since we cannot save resource atm except via the Dataset (Package) this isn't needed (if, one day, we don't go through Dataset this may no longer be required anyway).


  Commit: be5beeab2bb048af7f4d0666084105567224f6a3
      https://github.com/okfn/ckanjs/commit/be5beeab2bb048af7f4d0666084105567224f6a3
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-13 (Sat, 13 Aug 2011)

  Changed paths:
    M lib/view.js

  Log Message:
  -----------
  [view][s]: create a CKAN.View.flash method for doing message flashing and convert from existing trigger method to this.


  Commit: 7a98e920721f9047c6b826a4a21f073b99f6af82
      https://github.com/okfn/ckanjs/commit/7a98e920721f9047c6b826a4a21f073b99f6af82
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-13 (Sat, 13 Aug 2011)

  Changed paths:
    M lib/view.js
  M lib/view/resource-create.js
  M lib/view/resource-upload.js
  M test/view-test.js

  Log Message:
  -----------
  [resource/upload,dataset/view][m]: auto-create resource after upload and then save resource / dataset (finally closes #29).


  Commit: 9c7bc4572647a4682b56b3894a5aef9bf2cabe1c
      https://github.com/okfn/ckanjs/commit/9c7bc4572647a4682b56b3894a5aef9bf2cabe1c
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-13 (Sat, 13 Aug 2011)

  Changed paths:
    M README.rst

  Log Message:
  -----------
  [README][xs]: correct instructions for setting up CORS on server to add Content-Type header.


  Commit: 3761b8c5e69412db98c0872030e7c817efab6f04
      https://github.com/okfn/ckanjs/commit/3761b8c5e69412db98c0872030e7c817efab6f04
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-16 (Tue, 16 Aug 2011)

  Changed paths:
    M lib/model.js

  Log Message:
  -----------
  [bugfix,lib/model][xs]: fix micro bug whereby result count for searches not set if 0 results (due to incorrect if statement).


  Commit: 671341fc387eabb855bc43457d3b943ecc293120
      https://github.com/okfn/ckanjs/commit/671341fc387eabb855bc43457d3b943ecc293120
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-16 (Tue, 16 Aug 2011)

  Changed paths:
    M app/css/ckanjs.css
  M app/index.html
  M lib/templates.js
  M lib/view.js
  M lib/view/dataset-listing.js
  M test/index.html
  M test/view-test.js

  Log Message:
  -----------
  [refactor,search][m]: refactor DatasetSearchView to use dataset-listing views developed by aron for search widget rather than DatasetSummaryView.

* Overhaul and improve search view test
* Fix up layout of html in test/index.html (xs)
* Minor tweaks to DatasetListingItem to include some template from DatasetSummaryView not in there yet (e.g. actions)


  Commit: 4768797364bc829d23546d8f485f1054f73d50eb
      https://github.com/okfn/ckanjs/commit/4768797364bc829d23546d8f485f1054f73d50eb
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-16 (Tue, 16 Aug 2011)

  Changed paths:
    M lib/view/dataset-listing.js
  M test/view-test.js

  Log Message:
  -----------
  [view/dataset/list,refactor][s]: minor refactor to get rid of 'actions' and just have dataset title link to dataset view (if in 'UI' mode).


  Commit: ab9a965221f4a1b6746a5901daa0abfc9c0f8944
      https://github.com/okfn/ckanjs/commit/ab9a965221f4a1b6746a5901daa0abfc9c0f8944
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-17 (Wed, 17 Aug 2011)

  Changed paths:
    M lib/ui.js
  M lib/view.js
  M test/view-test.js

  Log Message:
  -----------
  [ui,dataset/search][s]: get top bar search working (fixes #28).

* involved minor refactor of DatasetSearchView to make it easy to plug in to that.


  Commit: c59178b2e6f9586e7605d9fc2fa65dff1310fc17
      https://github.com/okfn/ckanjs/commit/c59178b2e6f9586e7605d9fc2fa65dff1310fc17
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-17 (Wed, 17 Aug 2011)

  Changed paths:
    M lib/template/dataset-view.js
  M lib/view.js

  Log Message:
  -----------
  [dataset/view][s]: some minor refactoring deriving from unsuccessful attempt to fix bug with creation of multiple add resource dialogs.

* Bug description: if you search and click through to dataset N times you get N copies of add resource dialog when you click on add resource.


  Commit: 7ef8616e1f27cd9f89523f787d4f19f36dcc535a
      https://github.com/okfn/ckanjs/commit/7ef8616e1f27cd9f89523f787d4f19f36dcc535a
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-19 (Fri, 19 Aug 2011)

  Changed paths:
    M app/css/ckanjs.css
  M lib/template/dataset-view.js
  M lib/view.js

  Log Message:
  -----------
  [dataset/view,editable][m]: reintegrate jeditable plugin to provide for inline editing of notes field (fixes #25).

* NB: do not have the nice preview widgety stuff we have in edit view for the present -- just the basics.


  Commit: 3d927332d9bc840af1bb139b2f1daeb4076f8b08
      https://github.com/okfn/ckanjs/commit/3d927332d9bc840af1bb139b2f1daeb4076f8b08
  Author: J. Félix Ontañón <fontanon at emergya.es>
  Date:   2011-08-22 (Mon, 22 Aug 2011)

  Changed paths:
    M ckanjs/app/css/ckanjs.css
  M ckanjs/app/css/pdeu.css
  M ckanjs/app/index.html
  M ckanjs/lib/client.js
  M ckanjs/lib/model.js
  A ckanjs/lib/template/dataset-form.js
  A ckanjs/lib/template/dataset-view.js
  A ckanjs/lib/template/resource-form.js
  A ckanjs/lib/template/resource-upload.js
  A ckanjs/lib/template/resource-view.js
  M ckanjs/lib/templates.js
  M ckanjs/lib/ui.js
  M ckanjs/lib/view.js
  M ckanjs/lib/view/dataset-listing.js
  A ckanjs/lib/view/resource-create.js
  A ckanjs/lib/view/resource-upload.js
  M ckanjs/test/client-test.js
  M ckanjs/test/fixtures.js
  M ckanjs/test/index.html
  M ckanjs/test/model-test.js
  M ckanjs/test/view-test.js
  A ckanjs/vendor/jquery.fileupload/20110801/jquery.fileupload-ui.css
  A ckanjs/vendor/jquery.fileupload/20110801/jquery.fileupload-ui.js
  A ckanjs/vendor/jquery.fileupload/20110801/jquery.fileupload.js
  A ckanjs/vendor/jquery.fileupload/20110801/jquery.iframe-transport.js
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_222222_256x240.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_228ef1_256x240.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/images/ui-icons_ffffff_256x240.png
  A ckanjs/vendor/jqueryui/1.8.4/css/ui-lightness/jqueryui-lightness.css
  A ckanjs/vendor/jqueryui/1.8.4/jquery-ui.min.js

  Log Message:
  -----------
  Merge branch 'master' into datadeck

Conflicts:
	.gitignore
	README.rst
	ckanjs/app/index.html


Compare: https://github.com/okfn/ckanjs/compare/decf90d...3d92733




More information about the ckan-changes mailing list