[Dev-flock] r924 - in huginmunin/trunk/web/hm: . app/media/css app/media/js app/templates app/templates/browse app/templates/forms app/templates/graph app/templates/helpers app/templates/node app/views db db/fixtures db/fixtures/medium_dev lib lib/oembed lib/oembed/templatetags lib/pagination lib/pagination/locale lib/pagination/locale/de lib/pagination/locale/de/LC_MESSAGES lib/pagination/templates lib/pagination/templates/pagination lib/pagination/templatetags
svn@thoughtandmemory.org
svn at thoughtandmemory.org
Sat Sep 27 17:46:47 EDT 2008
Author: lucy
Date: 2008-09-27 17:46:46 -0400 (Sat, 27 Sep 2008)
New Revision: 924
Commit message:
* added pagination library that lets templates create paginators for iterable data. used on browse page. no more js table means internet explorer is now a supported platform. plus load time is much decreased.
* commented out oembed use from settings since we don't use it. updated oembed library from external svn repo...might come in handy later.
=====
* action issues: actions seem not to be created when data is loaded into sqlite3. what should we do if an item has no action? used to raise runtimeexception. now simply pass...and template will display nothing. the right thing requires more thought. action data is pretty important since users would be surprised and hurt to lose attribution. would love to gain more confidence in the creation of actions when loading data and otherwise. will this area require more work if switch to different database, eg postgresql?
* added 'medium_dev' data set, which is really just a json dump of the server from last week. it's more realistic in basic names and properties than what i was making up, but still needs barcodes and tags to be added to flesh things out. more reviews and ratings would be create.
=====
* node page now reloads when behavior or rating is added. why? the load doesn't seem to take long at all, so why not? if we start having tons of data on the page we'll use pagination. for ratings we need to update three numbers (user rating, review rating, node rating).
* barcodes (identifiers) added with nodes are now actually saved.
* users are redirected to login or told to login if send POST to create nodes, reviews (behaviors) or ratings. templates don't show these forms unless user is logged in. show login link that redirects back to page. would be nice if could show forms and then, when user submits data, redirect to login/registration and then submit entered data. right now we lose that data.
* commented out onload ajax calls to get nodelist for browse page and arguments for node page.
* show server errors from ajax calls to add behavior or node (previously showed only client side form errors)
* nodeblock.css: commented out css line offending firebug
* general.css: fixed bug that was preventing latter part of file to be ignored. added css for browse page and 'add review' portion of node page.
* would love to see more page specific css and js includes. maybe we have a script that generates this, or maybe this is done by hand. we only have 4 main parts to the site: main, browse, user, node. seems like not a big deal to keep track of different css and js.
=====
* brevified model admin. check /Main/model/admin for the downlow. must have staff privileges.
* problem with Dimension slug in main_api.py commented out. not sure that we make use of slugs--do we?
* added absolute_url properties to node and user models.
* continuing to make use of reverse and url template tag.
====
* commented out key, value javascript assignment from data in base.html. what's is for? what if someone puts a data variable into the context? nothing seems broken....but it's not like we have tests so....see what happens.
on that note...
(Dan says he has the repo up in git. Yeah Dawg! These commits will finally be able to get put together into some sense.)
Added:
huginmunin/trunk/web/hm/app/templates/browse/pagination.html
huginmunin/trunk/web/hm/app/templates/forms/model_admin.html
huginmunin/trunk/web/hm/app/templates/forms/model_admin_add.html
huginmunin/trunk/web/hm/app/templates/forms/model_admin_list.html
huginmunin/trunk/web/hm/db/fixtures/medium_dev/
huginmunin/trunk/web/hm/db/fixtures/medium_dev/README
huginmunin/trunk/web/hm/db/fixtures/medium_dev/REAL_sept2008.json
huginmunin/trunk/web/hm/lib/pagination/
huginmunin/trunk/web/hm/lib/pagination/__init__.py
huginmunin/trunk/web/hm/lib/pagination/locale/
huginmunin/trunk/web/hm/lib/pagination/locale/de/
huginmunin/trunk/web/hm/lib/pagination/locale/de/LC_MESSAGES/
huginmunin/trunk/web/hm/lib/pagination/locale/de/LC_MESSAGES/django.po
huginmunin/trunk/web/hm/lib/pagination/middleware.py
huginmunin/trunk/web/hm/lib/pagination/models.py
huginmunin/trunk/web/hm/lib/pagination/templates/
huginmunin/trunk/web/hm/lib/pagination/templates/pagination/
huginmunin/trunk/web/hm/lib/pagination/templates/pagination/pagination.html
huginmunin/trunk/web/hm/lib/pagination/templatetags/
huginmunin/trunk/web/hm/lib/pagination/templatetags/__init__.py
huginmunin/trunk/web/hm/lib/pagination/templatetags/pagination_tags.py
huginmunin/trunk/web/hm/lib/pagination/tests.py
Modified:
huginmunin/trunk/web/hm/app/media/css/general.css
huginmunin/trunk/web/hm/app/media/css/nodeblock.css
huginmunin/trunk/web/hm/app/media/js/arguments.js
huginmunin/trunk/web/hm/app/media/js/filter_nodes.js
huginmunin/trunk/web/hm/app/media/js/jquery.rater.js
huginmunin/trunk/web/hm/app/media/js/main.js
huginmunin/trunk/web/hm/app/templates/base.html
huginmunin/trunk/web/hm/app/templates/forms/login_form.html
huginmunin/trunk/web/hm/app/templates/graph/create_node.html
huginmunin/trunk/web/hm/app/templates/graph/list.html
huginmunin/trunk/web/hm/app/templates/helpers/table_form.html
huginmunin/trunk/web/hm/app/templates/node/behavior_info.html
huginmunin/trunk/web/hm/app/templates/node/behaviors.html
huginmunin/trunk/web/hm/app/templates/node/page.html
huginmunin/trunk/web/hm/app/views/account.py
huginmunin/trunk/web/hm/app/views/account_forms.py
huginmunin/trunk/web/hm/app/views/main.py
huginmunin/trunk/web/hm/app/views/main_api.py
huginmunin/trunk/web/hm/app/views/main_urls.py
huginmunin/trunk/web/hm/db/graph.py
huginmunin/trunk/web/hm/db/log.py
huginmunin/trunk/web/hm/lib/oembed/models.py
huginmunin/trunk/web/hm/lib/oembed/templatetags/oembed_tags.py
huginmunin/trunk/web/hm/settings.py
More information about the Dev-flock
mailing list