From svn at thoughtandmemory.org Thu Dec 4 21:04:44 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Thu, 4 Dec 2008 21:04:44 -0500 (EST) Subject: [Dev-flock] r1030 - huginmunin/trunk/web/data_display/greasemonkey_scripts Message-ID: <20081205020444.4587575AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-04 21:04:43 -0500 (Thu, 04 Dec 2008) New Revision: 1030 Commit message: termites for amazon Added: huginmunin/trunk/web/data_display/greasemonkey_scripts/amazon.user.js From svn at thoughtandmemory.org Sat Dec 13 18:43:15 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sat, 13 Dec 2008 18:43:15 -0500 (EST) Subject: [Dev-flock] r1031 - in huginmunin/trunk/web/hm: app/templates/browse app/templates/graph app/views db Message-ID: <20081213234315.DDBF575AF8@thoughtandmemory.org> Author: lucy Date: 2008-12-13 18:43:15 -0500 (Sat, 13 Dec 2008) New Revision: 1031 Commit message: added sort by rating to browse page Modified: huginmunin/trunk/web/hm/app/templates/browse/node_item.html huginmunin/trunk/web/hm/app/templates/graph/list.html huginmunin/trunk/web/hm/app/templates/graph/node_brief.html huginmunin/trunk/web/hm/app/views/main.py huginmunin/trunk/web/hm/db/rating.py From svn at thoughtandmemory.org Sat Dec 13 18:58:42 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sat, 13 Dec 2008 18:58:42 -0500 (EST) Subject: [Dev-flock] r1032 - in huginmunin/trunk/web/hm: app/templates/graph db Message-ID: <20081213235842.B258875AF8@thoughtandmemory.org> Author: lucy Date: 2008-12-13 18:58:42 -0500 (Sat, 13 Dec 2008) New Revision: 1032 Commit message: hmmm. browse bug Modified: huginmunin/trunk/web/hm/app/templates/graph/node_brief.html huginmunin/trunk/web/hm/db/rating.py From lucy at bilumi.org Wed Dec 17 17:58:29 2008 From: lucy at bilumi.org (Lucy Mendel) Date: Wed, 17 Dec 2008 17:58:29 -0500 Subject: [Dev-flock] upvote bilumi on feed-a-need Message-ID: yo, I hope everyone is having a good winter holiday. I added Bilumi to reddit's feed-a-need volunteer drive. Please upvote us so we get more volunteers. http://feedaneed.org/ What's happening with Bilumi dev? I've added things to xplanner but the simple answer is: core engine work on sources, status, website, admin, etc. Lots of excitement over ui design process and the building of apps on top of API. I'd love to talk more about specific modules over phone, email, gmail chat or skype, so hit me back if you're interested. I'll send out another ping in early January. Have a great holiday break! Lucy. From svn at thoughtandmemory.org Thu Dec 18 13:05:05 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Thu, 18 Dec 2008 13:05:05 -0500 (EST) Subject: [Dev-flock] r1033 - huginmunin/trunk/web/hm/app/views Message-ID: <20081218180505.C964175AF8@thoughtandmemory.org> Author: lucy Date: 2008-12-18 13:05:05 -0500 (Thu, 18 Dec 2008) New Revision: 1033 Commit message: exec'dified forms Modified: huginmunin/trunk/web/hm/app/views/forms.py From svn at thoughtandmemory.org Fri Dec 19 18:21:26 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Fri, 19 Dec 2008 18:21:26 -0500 (EST) Subject: [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 Message-ID: <20081219232126.F336775AF8@thoughtandmemory.org> 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 From svn at thoughtandmemory.org Fri Dec 19 20:02:39 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Fri, 19 Dec 2008 20:02:39 -0500 (EST) Subject: [Dev-flock] r1035 - in huginmunin/trunk/web/hm: app/templates/node app/views db Message-ID: <20081220010239.D70E475AF8@thoughtandmemory.org> Author: lucy Date: 2008-12-19 20:02:39 -0500 (Fri, 19 Dec 2008) New Revision: 1035 Commit message: added Citation model instead of adding ManyToMany field to Behaviors. eit. Modified: huginmunin/trunk/web/hm/app/templates/node/behavior_info.html huginmunin/trunk/web/hm/app/views/main.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/state.py From svn at thoughtandmemory.org Sat Dec 20 10:39:49 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sat, 20 Dec 2008 10:39:49 -0500 (EST) Subject: [Dev-flock] r1036 - in huginmunin/trunk/web/hm: app/media/css app/media/js app/templates/admin app/templates/browse app/templates/forms app/templates/graph app/templates/node app/views db Message-ID: <20081220153949.593F675AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-20 10:39:49 -0500 (Sat, 20 Dec 2008) New Revision: 1036 Commit message: * refactored source/article html so used in three places: * manual import, add citation to existing review, new revew * python needs to be refactored. right now, three python handlers. handlers just need to return locals() and add that to locals * if node is source, display articles after reviews * "Write first review" only if no reviews have been written yet * added extra to replace_form js * prettified node scores Added: huginmunin/trunk/web/hm/app/templates/forms/add_article_and_source.html huginmunin/trunk/web/hm/app/templates/forms/add_article_and_source_wrapper.html huginmunin/trunk/web/hm/app/templates/node/article.html huginmunin/trunk/web/hm/app/templates/node/article_add.html huginmunin/trunk/web/hm/app/templates/node/articles.html huginmunin/trunk/web/hm/app/templates/node/citation_add.html Removed: huginmunin/trunk/web/hm/app/templates/browse/wooo.html huginmunin/trunk/web/hm/app/templates/forms/node_extra.html huginmunin/trunk/web/hm/app/templates/node/page.html 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/manual_import.html huginmunin/trunk/web/hm/app/templates/browse/node_listing_expanded.html huginmunin/trunk/web/hm/app/templates/graph/list.html huginmunin/trunk/web/hm/app/templates/node/behavior_add.html huginmunin/trunk/web/hm/app/templates/node/behavior_info.html huginmunin/trunk/web/hm/app/templates/node/node_info.html huginmunin/trunk/web/hm/app/views/main.py huginmunin/trunk/web/hm/app/views/main_urls.py huginmunin/trunk/web/hm/db/graph.py From svn at thoughtandmemory.org Sat Dec 20 10:49:46 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sat, 20 Dec 2008 10:49:46 -0500 (EST) Subject: [Dev-flock] r1037 - in huginmunin/trunk/web/hm: app/media/js app/views db Message-ID: <20081220154946.61D8A75AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-20 10:49:46 -0500 (Sat, 20 Dec 2008) New Revision: 1037 Commit message: removed airline bug. still having rte issues, so trying to fail gracefully by checking for function presence Modified: huginmunin/trunk/web/hm/app/media/js/main.js huginmunin/trunk/web/hm/app/views/main.py huginmunin/trunk/web/hm/db/graph.py From lucy at bilumi.org Sat Dec 20 11:20:10 2008 From: lucy at bilumi.org (Lucy Mendel) Date: Sat, 20 Dec 2008 11:20:10 -0500 Subject: [Dev-flock] sources and citations added to staging Message-ID: yo, Just a heads up: I added sources, citations and articles to staging (http://staging.thoughtandmemory.org/Main) Source = A Node with NodeType "Source". Any organization or person that "publishes" "articles" (terms used loosely :-) Article = new model. These reference articles and media published by the source Citation = many-to-many link between Behaviors (aka reviews) and Articles. For an example check out http://staging.thoughtandmemory.org/Main/node/390/ See how there is a citation on the first review? Try adding citations for the other reviews-- you can select the Ethiscore source since it already exists. you can also select the Mars report article published in Ethiscore, if that applies to multiple reviews. Try creating a review--now you can give the citation then and there. Right now it is not optional. Should be? Try clicking on the Ethiscore source. See how it is just a node like any other? Except the template checks for if the node has the "Source" NodeType, and if so, it shows the Articles associated with that node. Whoa, the UI needs help. Anyone interested in doing some html/css/js? For instance, clicking on an existing source should use ajax to populate the existing articles for that source. Let me know if you have an problems or feedback. I'm going to add this to the API. Pepe-- this should help you. I also added login and registration internal APIs, but I think now that we have sources we don't need users-as-sources so I'm not going to externalize that. Yeah? cheers, Lucy. From svn at thoughtandmemory.org Sat Dec 20 15:31:32 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sat, 20 Dec 2008 15:31:32 -0500 (EST) Subject: [Dev-flock] r1038 - in huginmunin/trunk/web/hm/app: media/js templates/user views Message-ID: <20081220203132.8AD7675AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-20 15:31:32 -0500 (Sat, 20 Dec 2008) New Revision: 1038 Commit message: add change password to site. already existed just wasn't linked in anywhere Modified: huginmunin/trunk/web/hm/app/media/js/main.js huginmunin/trunk/web/hm/app/templates/user/change_password.html huginmunin/trunk/web/hm/app/templates/user/change_password_done.html huginmunin/trunk/web/hm/app/templates/user/profile_display.html huginmunin/trunk/web/hm/app/templates/user/user_homepage.html huginmunin/trunk/web/hm/app/views/main.py From svn at thoughtandmemory.org Sat Dec 20 15:43:13 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sat, 20 Dec 2008 15:43:13 -0500 (EST) Subject: [Dev-flock] r1039 - huginmunin/trunk/web/hm/app/views Message-ID: <20081220204313.7133775AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-20 15:43:13 -0500 (Sat, 20 Dec 2008) New Revision: 1039 Commit message: changepassowrd view bug fixed. template needed mirror variable Modified: huginmunin/trunk/web/hm/app/views/account.py From svn at thoughtandmemory.org Sat Dec 20 15:45:44 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sat, 20 Dec 2008 15:45:44 -0500 (EST) Subject: [Dev-flock] r1040 - huginmunin/trunk/web/hm/app/views Message-ID: <20081220204544.6D7DC75AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-20 15:45:44 -0500 (Sat, 20 Dec 2008) New Revision: 1040 Commit message: changepassowrd view bug fixed. template needed mirror variable Modified: huginmunin/trunk/web/hm/app/views/account.py From svn at thoughtandmemory.org Sat Dec 20 15:56:28 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sat, 20 Dec 2008 15:56:28 -0500 (EST) Subject: [Dev-flock] r1041 - huginmunin/trunk/web/hm/app/views Message-ID: <20081220205628.73CBA75AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-20 15:56:28 -0500 (Sat, 20 Dec 2008) New Revision: 1041 Commit message: changepassowrd view bug fixed. template needed mirror variable. and locals. eit. Modified: huginmunin/trunk/web/hm/app/views/account.py From svn at thoughtandmemory.org Sun Dec 21 00:40:01 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sun, 21 Dec 2008 00:40:01 -0500 (EST) Subject: [Dev-flock] r1042 - in huginmunin/trunk/web/hm/app: media/css templates templates/admin templates/user views Message-ID: <20081221054001.75B0975AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-21 00:40:00 -0500 (Sun, 21 Dec 2008) New Revision: 1042 Commit message: change password moved to right menu on user site. interest selection added to manual import Modified: huginmunin/trunk/web/hm/app/media/css/general.css huginmunin/trunk/web/hm/app/templates/admin/manual_import.html huginmunin/trunk/web/hm/app/templates/user/profile_display.html huginmunin/trunk/web/hm/app/templates/user/user_homepage.html huginmunin/trunk/web/hm/app/templates/user_extension.html huginmunin/trunk/web/hm/app/views/main.py From svn at thoughtandmemory.org Sun Dec 21 21:11:18 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sun, 21 Dec 2008 21:11:18 -0500 (EST) Subject: [Dev-flock] r1043 - in huginmunin/trunk/web/hm: app/lib/tags app/media/js app/templates app/templates/admin app/templates/forms app/templates/graph app/templates/models app/templates/node app/templates/user app/views db Message-ID: <20081222021118.EB24075AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-21 21:11:18 -0500 (Sun, 21 Dec 2008) New Revision: 1043 Commit message: * new/edit bug fixed in admin vs. user impact pages. simply made two highlevel item_add.html files, one for admin, one for normal. admin flag is carried through 'extra' GET data to tell python which form to use. * fixed dangling item delete bug. eg, a behavior is deleted for real (eg, before we got state, since now we don't expose an interface to delete items for real). its ratings stick around. a new behavior is created--whoa, it's already rated?! * data integrity shows dangles and other stuff, including recent activity. * ajax_cancel_edit takes model id or 'new' so can render right form. * admin recent activity renamed impact just like user impact. top yellow recent activity on every page is The recent activity. * added 'flag' and 'unpublish' buttons to admin pages, including state pages. * contact/group email stuff added but not tested or ui'd. need to add import. TODO * cleanup (remove) old code * do Contacts for real. give them 'add' methods, add to ACTIONABLES and STATEFULS? * no more "please login to blah". just have link and then have login redirect to right page afterwards. will have to hack url code...better if can overwrite that method in our own lib (eg, as our own macro) rather than change django code. need to add redirect to register track. hmmm, maybe that will help people complete registration. Added: huginmunin/trunk/web/hm/app/templates/admin/admin_impact.html huginmunin/trunk/web/hm/app/templates/admin/dangerous.html huginmunin/trunk/web/hm/app/templates/admin/import_contacts.html huginmunin/trunk/web/hm/app/templates/models/state.html huginmunin/trunk/web/hm/db/contact.py Removed: huginmunin/trunk/web/hm/app/templates/admin/recent_activity.html Modified: huginmunin/trunk/web/hm/app/lib/tags/macros.py huginmunin/trunk/web/hm/app/media/js/main.js huginmunin/trunk/web/hm/app/templates/admin/admin.html huginmunin/trunk/web/hm/app/templates/admin/data_integrity.html huginmunin/trunk/web/hm/app/templates/forms/object_form.html huginmunin/trunk/web/hm/app/templates/graph/node_brief.html huginmunin/trunk/web/hm/app/templates/login_menu.html huginmunin/trunk/web/hm/app/templates/models/action.html huginmunin/trunk/web/hm/app/templates/models/action_item.html huginmunin/trunk/web/hm/app/templates/models/item_add.html huginmunin/trunk/web/hm/app/templates/node/argument_add.html huginmunin/trunk/web/hm/app/templates/node/behavior_info.html huginmunin/trunk/web/hm/app/templates/node/node_info.html huginmunin/trunk/web/hm/app/templates/user/impact.html huginmunin/trunk/web/hm/app/views/account.py huginmunin/trunk/web/hm/app/views/account_urls.py huginmunin/trunk/web/hm/app/views/main.py huginmunin/trunk/web/hm/app/views/main_urls.py huginmunin/trunk/web/hm/db/models.py huginmunin/trunk/web/hm/db/state.py From svn at thoughtandmemory.org Sun Dec 21 21:36:18 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sun, 21 Dec 2008 21:36:18 -0500 (EST) Subject: [Dev-flock] r1044 - in huginmunin/trunk/web/hm/app: templates/admin templates/models views Message-ID: <20081222023618.A812375AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-21 21:36:18 -0500 (Sun, 21 Dec 2008) New Revision: 1044 Commit message: state view edit bug fixed (no more mname). admin impact now looks cool like user impact Modified: huginmunin/trunk/web/hm/app/templates/admin/admin_impact.html huginmunin/trunk/web/hm/app/templates/models/state.html huginmunin/trunk/web/hm/app/views/main.py From svn at thoughtandmemory.org Sun Dec 21 21:39:58 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sun, 21 Dec 2008 21:39:58 -0500 (EST) Subject: [Dev-flock] r1045 - huginmunin/trunk/web/hm/app/views Message-ID: <20081222023958.6F58475AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-21 21:39:58 -0500 (Sun, 21 Dec 2008) New Revision: 1045 Commit message: more bugs with variable names. template/py/js framework just isn't quite good enough. Modified: huginmunin/trunk/web/hm/app/views/main.py From svn at thoughtandmemory.org Sun Dec 21 21:41:05 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sun, 21 Dec 2008 21:41:05 -0500 (EST) Subject: [Dev-flock] r1046 - huginmunin/trunk/web/hm/app/views Message-ID: <20081222024105.5F40975AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-21 21:41:05 -0500 (Sun, 21 Dec 2008) New Revision: 1046 Commit message: more bugs with variable names. template/py/js framework just isn't quite good enough. Modified: huginmunin/trunk/web/hm/app/views/main.py From svn at thoughtandmemory.org Sun Dec 21 21:56:21 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sun, 21 Dec 2008 21:56:21 -0500 (EST) Subject: [Dev-flock] r1047 - in huginmunin/trunk/web/hm/app: media/css templates/admin Message-ID: <20081222025621.3B2CA75AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-21 21:56:20 -0500 (Sun, 21 Dec 2008) New Revision: 1047 Commit message: fix list appearance on admin impact Modified: huginmunin/trunk/web/hm/app/media/css/general.css huginmunin/trunk/web/hm/app/templates/admin/data_integrity.html From svn at thoughtandmemory.org Sun Dec 21 23:03:32 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Sun, 21 Dec 2008 23:03:32 -0500 (EST) Subject: [Dev-flock] r1048 - in huginmunin/trunk/web/hm/app: templates/forms views Message-ID: <20081222040332.D262975AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-21 23:03:32 -0500 (Sun, 21 Dec 2008) New Revision: 1048 Commit message: cleaned up add review extra form. now different from manual import form Added: huginmunin/trunk/web/hm/app/templates/forms/add_citation_to_review.html Modified: huginmunin/trunk/web/hm/app/views/main.py From svn at thoughtandmemory.org Mon Dec 22 11:00:09 2008 From: svn at thoughtandmemory.org (svn@thoughtandmemory.org) Date: Mon, 22 Dec 2008 11:00:09 -0500 (EST) Subject: [Dev-flock] r1049 - huginmunin/trunk/web/hm/app/views Message-ID: <20081222160009.CB0C475AEF@thoughtandmemory.org> Author: lucy Date: 2008-12-22 11:00:09 -0500 (Mon, 22 Dec 2008) New Revision: 1049 Commit message: slug bug fixed in external api json structures Modified: huginmunin/trunk/web/hm/app/views/ext_api.py