[ckan-changes] [okfn/ckanjs] 901042: [lib/ui][s]: use config pass to UI.initialize (if ...
noreply at github.com
noreply at github.com
Tue Aug 2 10:32:01 UTC 2011
Branch: refs/heads/gh-pages
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: 6c952f740a90750e0bcf529260aedaa0aed81182
https://github.com/okfn/ckanjs/commit/6c952f740a90750e0bcf529260aedaa0aed81182
Author: rgrp <http://rufuspollock.org>
Date: 2011-08-02 (Tue, 02 Aug 2011)
Changed paths:
M .gitignore
M app/css/ckanjs.css
M app/css/pdeu.css
M app/index.html
M lib/client.js
M lib/model.js
A lib/template/dataset-form.js
A lib/template/dataset-view.js
A lib/template/resource-form.js
A lib/template/resource-view.js
M lib/templates.js
M lib/ui.js
M lib/view.js
M test/client-test.js
M test/fixtures.js
M test/index.html
M test/model-test.js
M test/view-test.js
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:
-----------
Merge branch 'master' into gh-pages
Compare: https://github.com/okfn/ckanjs/compare/579ed4d...6c952f7
More information about the ckan-changes
mailing list