[Dev-flock] r1034 - in huginmunin/trunk/web/hm: app/media/css app/media/js app/templates/admin app/templates/forms app/templates/graph app/templates/models app/templates/node app/views db

svn@thoughtandmemory.org svn at thoughtandmemory.org
Fri Dec 19 18:21:26 EST 2008


Author: lucy
Date: 2008-12-19 18:21:26 -0500 (Fri, 19 Dec 2008)
New Revision: 1034
Commit message:
* ADDED MANYTOMANY FIELD TO BEHAVIORS
   citations link from behaviors to articles
  * cleaned up citation, author, source, article stuff a bunch.
  citations show up on node view in each behavior

* Added Article model, which are entries in sources (which are just Nodes, so need to make a NodeType for them)

* fixed UserInterestPercent delete bug, but don't think that was responsible for server portfolio problems.

* publish() now returns self so can chain it with add(). add should probably default to publishing... didn't want to make all those changes everywhere now.

* added API for registering and logging in a user. logging in requires a request object, so external scrips still have to use REST api for logging in. did not add REST api for registration. refactored registration and login code for code re-use.

* refactored forms to make use of exec. now we have NewXForm, EditXForm and AdminXForm, where X is any model in ALL_MODELS.

* added nodetype and tag additions to node creation on browse page. woot. fit into edit/js/py framework seamlessly. did try to create new form that simply subclassed all the other relevant forms, but the tag addition is pretty specific (and also reusable elsewhere), and the nodetype wil likely be formset or ajaxy eventually.
  overwrote forms/node_type.html as part of this. yeah...we still have files hanging around we don't use anymore...

* disabled sorting from last commit because hangs on large datasets (duh - need to compute and store calculations separately)

* we don't need hidden node.id on node_info.html anymore, right? it's not hidden anymore, either.



Added:
   huginmunin/trunk/web/hm/app/templates/admin/manual_import.html
   huginmunin/trunk/web/hm/app/templates/forms/add_tag.html
   huginmunin/trunk/web/hm/app/templates/forms/node_extra.html
   huginmunin/trunk/web/hm/app/templates/models/article.html
Removed:
   huginmunin/trunk/web/hm/db/citation.py
Modified:
   huginmunin/trunk/web/hm/app/media/css/general.css
   huginmunin/trunk/web/hm/app/media/js/main.js
   huginmunin/trunk/web/hm/app/templates/admin/admin.html
   huginmunin/trunk/web/hm/app/templates/forms/node_type.html
   huginmunin/trunk/web/hm/app/templates/forms/object_form.html
   huginmunin/trunk/web/hm/app/templates/graph/list.html
   huginmunin/trunk/web/hm/app/templates/node/behavior_info.html
   huginmunin/trunk/web/hm/app/templates/node/citation.html
   huginmunin/trunk/web/hm/app/templates/node/node_info.html
   huginmunin/trunk/web/hm/app/views/account.py
   huginmunin/trunk/web/hm/app/views/forms.py
   huginmunin/trunk/web/hm/app/views/main.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/db/models.py
   huginmunin/trunk/web/hm/db/rating.py
   huginmunin/trunk/web/hm/db/search.py
   huginmunin/trunk/web/hm/db/state.py
   huginmunin/trunk/web/hm/db/tag.py
   huginmunin/trunk/web/hm/db/user.py
   huginmunin/trunk/web/hm/db/utils.py



More information about the Dev-flock mailing list