[ckan-changes] [okfn/ckanjs] 87c2c2: [bugfix][s]: found bug whereby ckan_url for datase...

noreply at github.com noreply at github.com
Sat Aug 13 20:54:34 UTC 2011


  Branch: refs/heads/gh-pages
  Home:   https://github.com/okfn/ckanjs

  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: 7a8f899adf8a1771066f8f334e603cffd1d7c814
      https://github.com/okfn/ckanjs/commit/7a8f899adf8a1771066f8f334e603cffd1d7c814
  Author: rgrp <http://rufuspollock.org>
  Date:   2011-08-13 (Sat, 13 Aug 2011)

  Changed paths:
    M README.rst
  M app/css/ckanjs.css
  M app/index.html
  M lib/client.js
  M lib/model.js
  M lib/template/dataset-view.js
  M lib/template/resource-form.js
  A lib/template/resource-upload.js
  M lib/templates.js
  M lib/ui.js
  M lib/view.js
  A lib/view/resource-create.js
  A lib/view/resource-upload.js
  M test/fixtures.js
  M test/index.html
  M test/view-test.js
  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:
  -----------
  Merge branch 'master' into gh-pages


Compare: https://github.com/okfn/ckanjs/compare/f847417...7a8f899




More information about the ckan-changes mailing list