All Contributions
Date Type From Project Resource Type Qty URL Description Process Deliverables
May 14, 2018 Time Contribution davidh Verdun Work - Documenting 2.55 HR Filling in the NRP-CAS dictionary file with some skeleton explanation and a table of terms as they are now. Create new classical NRP for the Vedun project
May 12, 2018 Time Contribution Tibi Soccer amateur Work - Give presentation conference 2.00 HR Went to City Hall and presented this https://docs.google.com/presentation/d/12NPBdZVE7t38NXTx7rhUiUOKNNN60DNQgND1q2fhMNc/edit#slide=id.g3924b0d292_0_154 Public consultation presentation Ville de Montreal Publication - Brochure: Memo to Ville de Montreal for sports
Publication - Brochure: smart city sports presentation
May 11, 2018 Time Contribution davidh Verdun Work - Programming for product 2.32 HR Trying Bob's solution for issue: AttributeError at /accounting/exchanges/ #20 Also making sure there isn't a type issue at the root of the problem, since the lack of union() method on a QuerySet doesn't really make sense. Set objects don't have a distinct() method, so if I do that, I will have to get rid of those calls. Did that, also had to convert a related object manager to a QuerySet with all() Investigating issue: accounting/resource/ can't display units of quantity or use #19 view function in views.py sets the context's resource variable to an EconomicResource instance EconomicResource class has resource_type as an instance of EconomicResourceType, meaning it probably gets string'd somewhere in the template? Oops. The unit_of_quantity is a getter in EconomicResource, not the resource type Still not showing up. Made the field obligatory and used formatted_quantity to let python figure out what unit to use. The unit_of_use not appearing may be due to a lack of value_per_unit_of_use, rather than unit_of_use. Yeah, that should work once those are assigned. Now it works. The unit's symbol property needed to be erased to get the unit positioned right. Inventory page has same aesthetic issues as resource types did. Fixing that. Works and looks good. Create new classical NRP for the Vedun project
May 11, 2018 Time Contribution Tibi Soccer amateur Work - Writing 2.00 HR Finished the presentation https://docs.google.com/presentation/d/12NPBdZVE7t38NXTx7rhUiUOKNNN60DNQgND1q2fhMNc/edit#slide=id.g3924b0d292_0_154 Public consultation presentation Ville de Montreal Publication - Brochure: Memo to Ville de Montreal for sports
Publication - Brochure: smart city sports presentation
May 8, 2018 Time Contribution davidh Infrastructure-virtual Work - Meeting 1.40 HR Attended workparty, fixed a couple of bugs. Budget for next p2p generation IT infrastructure
May 6, 2018 Time Contribution Tibi Building SENSORICA Work - Business building 1.00 HR Meeting with Soumaya, prof at Ecole de Gestion OQAM, specialist in ecosystems, discussed consultancy services, our model. Soumaya knows Sensorica for some time now.
May 6, 2018 Time Contribution Tibi Verdun Work - Meeting 0.50 HR Meeting with David Lametti at his office in Verdnu, to discuss physical space for Verdun project.
May 6, 2018 Time Contribution Tibi Building SENSORICA Work - Facilitation and coordination 1.00 HR Open Created coordination doc, communicated and event and coordinated with the other organizers. Event is Meeting with innovation directors
May 4, 2018 Time Contribution Tibi Verdun Work - Office 0.50 HR Sent info to Cecille, Ville de Montreal / Development Economique, after our meeting she wanted some info. Updated the Updates doc for the Verdun project.
May 4, 2018 Time Contribution davidh Verdun Work - Programming for product 5.62 HR Starting work on issue: Inventory/Resource Types page is ugly. #16 Added some mostly logical divs, floated and hanged image, set "view recipe" on its own line right of the image. Oops, left a div unclosed. Explicitly set the div containing the image to block vertically and fit its content height (the CSS for this property may not be supported everywhere, should look into it) A similar effect can be achieved by setting height: 100%, maybe try that first since it's universally available. None of that worked. Using clearfix. Worked. Attempting to support the test project and test exchange functionality by adding exchanges of the new exchange types. Noted additional problem for issue: Forms using chair_tag.py are ugly #12 Couldn't use the purchase exchange type to add a juicer, so I went to add it via Inventory > Resource Types > Juicer > Create Resource Found issue: Formsets rendered as .as_ul without labels are ugly #17 Put labels on ul and li elements to prevent the ugliness. Might want to grep something here, perhaps .as_ul, since the pattern was used for that initially. Grep output on templates/valueaccounting: _form_dialog.html (fixed already) log_past_work.html log_simple.html process_oriented_logging.html resource.html resource_type.html (fixed already) workbook.html Fixed all of those by adding <b>Plural description</b> to main ul and description #{{forloop.counter}} to inner li Also prepared the chair_tag.py |s filter to handle strings marked for translation. While checking out resource.html, found issue: TemplateSyntaxError at /accounting/resource/ #18 Obviously another nested variable syntax problem Oops! that should have a field argument too. Somehow the resource.resource_type is getting cast to string, preventing the template from getting to its unit_of_use, unit_of_quantity, etc. Will address separately since the syntax error itself is fixed.. Created issue: accounting/resource/ can't display units of quantity or use #19 Checking out process oriented logging, started a new process to access. Found that it was impossible to access the #createResourceForm I modified because its only a[data-toggle] is commented out. It's embedded in another modal, so that wasn't going to work anyway. Another modal is conditionally rendered to the modal, but the button (add output) is rendered regardless. Fixed that by making the button have the same condition as the form. Log unplanned output (the other modal that was modified) didn't appear to use the new list styles I added to site_base; turns out it overloads the extra_head block, so I added block.super. Didn't take, so I commented out the li CSS in the document. That works. Typo on log_past_work, fixed. log_simple seems to be inaccessible from any view, skipping. Facets are resisting outputting all of their fields using .as_ul, will fix tomorrow. Create new classical NRP for the Vedun project
May 3, 2018 Time Contribution davidh Verdun Work - Programming for product 4.65 HR Attempting to add exchange types myself, marking everything I create with TEST so that it's visible from the admin interface. Copying the exchanges, process patterns, transfer types from the existing Sensorica NRP. Exchange Type: Donation TEST Process Pattern: Donation process pattern TEST Transfer Type: Donation No clear answer for which Use Cases the patterns should have, leaving that blank for now; unfortunately I think this is sort of vital to some algorithms, so at some point this is still going to be a show stopper for tests. Transfer types on the other hand seem to be complete. Exchange Type: Expense TEST Transfer Types: Expense, Pay Expense Process Patterns: Expense TEST, Pay Expense TEST Exchange Type: Material Contribution TEST Transfer Type: Resource Contribution Exchange Type: Purchase TEST Transfer Type: Receipt, Additional Expenses, Pay Purchase Process Patterns: Purchase Receipt TEST, Purchase Addl Expense TEST, Purchase Pay Purchase TEST Exchange Type: 3D Printer Use TEST Transfer Types: Paid Service Package, Maintenance Fee Process Patterns: 3D Printer Maint Fee TEST, 3D Printer Svc Pkg TEST Exchange Type: Maintenance Fee TEST (does not appear to be used in the Sensorica NRP) Transfer Types: Use of Sensorica Resources, Pay Maintenance Process Patterns: Maint Fee Resource Use TEST, Maint Fee Pay TEST Exchange Type: FabLab Membership TEST (also appears unused) Transfer Types: Monthly FabLab Membership, Membership Fee Process Patterns: FabLab Membership TEST, FabLab Membership Fee TEST Exchange Type: Fiscal Sponsorship TEST Transfer Types: Deliverable, Sponsorship Process Patterns: Fiscal Sponsorship (not created, but modified to include For Sale: For Sale facet value) Exchange Type: Loan Repayment TEST (appears unused) Transfer Type: Pay Back Loan Process Pattern: Loan Repayment TEST Exchange Type: Rent TEST (appears unused) Transfer Types: Rent, Rent Payment Process Pattern: Rent TEST Exchange Type: Sale TEST Transfer Types: Shipment, Cash Receipt Exchange Type: Tech Shop Access TEST (appears unused) Transfer Types: Use of Lab, Tech Shop Payment, No Cleanup Fee Agent Association Type: TechShop User TEST Process Pattern: Tech Shop Access TEST Returning to UI & HTML tests. Found Issue: AttributeError at /accounting/exchanges/ #14 That's really silly behavior; empty query sets can't union. Luckily, they do bool as False. so I can fix with conditional expressions. Made a dry throw-proof union(). Now I get 'Exchange' object has no attribute 'own_events_list' at views.py line 10279:x.event_list = union(x.transfer_event_list, x.own_events_list).distinct() should be x.own_event_list (no s) Found issue: Various cosmetic issues with accounting/change-exchange-type/ #15 The lack of spaces at those points is clearly due to using |add instead of |sp or manual spaces. Easy fix. The Proxy issue requires that the translation string is unicode()ed. The purely cosmetic issues are fixed, but the DB still doesn't connect the pattern to the exchange type. Will try adding it manually in the app, observe the effect through the admin interface, and learn something. Alternatively, the patterns in the DB will not change at all, but changes will be shown in the UI, and I will learn nothing. Aha. There is a class TransferTypeFacetValue in the models.... but it's totally inaccessible from the admin interface. Well, at least I can get rid of the Process patterns I made. aaaand add the "patterns" (transfer type facet values) back through the app. Created issue: Inventory/Resource Types page is ugly. #16 Will fix tomorrow. Create new classical NRP for the Vedun project
May 3, 2018 Time Contribution davidh Verdun Work - Programming for product 0.00 HR Create new classical NRP for the Vedun project
May 2, 2018 Time Contribution Tibi Soccer amateur Work - Writing 8.00 HR Produced the Memo https://docs.google.com/document/d/1sJ1X87BILheZtgilh-zqpeS8XWCOs9xEQhgol1xhde4/edit# worked alone and at some point with Oscar. Public consultation presentation Ville de Montreal Publication - Brochure: Memo to Ville de Montreal for sports
Publication - Brochure: smart city sports presentation
May 1, 2018 Time Contribution davidh Verdun Work - Programming for product 1.98 HR Start fixing issue: Graph on home page broken #13 Most likely due to the Home Page Layout in the DB (the canvas element in here is not even in the template) The layout doesn't have the canvas either. It's generated by the library static/jquery.maphilight.min.js Since it's minified, it will be difficult to figure out what's going on. Looking for the source version. Interesting. The image itself is 691x457, but the canvas in the Verdun homepage sizes the canvas as 830x447. Something to ctrl-F in the source code maybe? Nope, the dimensions were set manually in the HomePageLayout object. Punched in the correct dimensions, should work immediately. Resuming work on issue: Forms using chair_tag.py are ugly #12 At least one case is screwed up by an oversized description, trimming that as a kluge. Increased line height for containing elements, protected li elements inside forms from styles that disable their bullets. Create new classical NRP for the Vedun project
May 1, 2018 Time Contribution Tibi Infrastructure-virtual Work - Infrastructure - OVNi module development 3.00 HR Open Updates on the Sensorica website. communicated with Sensorica. Improved the Projects page. Created a new page for creating a lab like Sensorica. Rearranged the Home page.
May 1, 2018 Time Contribution Tibi Infrastructure-virtual Work - Meeting 1.50 HR weekly meeting with Tim, Peter and Charles on infrastructure development.
May 1, 2018 Time Contribution Tibi Building SENSORICA Work - Office 2.00 HR General communication and answering to Sensorica Contact Us, spoke to Mike on the phone about how everything is going, Facebook communication, etc. I should log a lot more of this type of work...
April 30, 2018 Time Contribution davidh Verdun Work - Programming for product 0.00 HR Create new classical NRP for the Vedun project
April 30, 2018 Time Contribution davidh Verdun Work - Programming for product 4.85 HR Found issue: TemplateDoesNotExist at Create Exchange #9 Examining exchange_logging.html Looks like the {% include %} tags need the full path. Fixed that. Now encountering: TemplateSyntaxError at /accounting/exchange/1/0/ Could not parse the remainder: ',' from 'xfer.change_commitments_form,' On the same page. Found some syntax errors on the included form, _commit_form.html, not sure if that could interfere. Also found a comma in the arguments to {% include %}, which is likely the source of the problem. Also improved some other spots in _add_xfer_form.html Now I get: TemplateSyntaxError at /accounting/exchange/1/0/ Could not parse the remainder: ',' from 'slot.add_commit_form,' Obviously this is another syntax error of the same nature Works now, but I may want to revisit to check out all the case-specific renderings Found issue: Create Order dies #10 Clear solution here. I can fix this particular problem easily and quickly, bur we need to decide whether we are implementing customer orders or not. According to previous communications with Bob, the tests never passed and the functionality was never used, which is why there is an import there. If we want to have customer orders, I need to fix this AND the issues revealed by the tests. If not, I need to disable the button and not worry about it. Will defer here. Found issue: Production Planning looks like something is missing #11 The view function, process_selections(), has a variable slots, which should give the context a list of resource types. The function is fairly complicated. Could be related to lack of EventTypes? Probably not, unless the project is supposed to be associated somehow with the event types and it isn't. on lines 9535 to 9538: slots = selected_pattern.event_types() slot.resource_types = selected_pattern.get_resource_types(slot) Since the slots appear to be present but unfilled, it's most likely an issue of process_pattern.get_resource_types(event_type) not finding any resource types. Checking out models.py This is the function that is filtering resource types based on the resource type facet values, which it gets from self.facets_for_event_type(event_type) Looks like the resource types associated with the dummy project need more facet values, as they don't match these filters. Tried that, still coming up empty. Could be due to incomplete list of facet values or poorly assigned facet values to patterns or resource types; will ask Tiberius to review them. Found another instance of issue: UnboundLocalError when creating exchange without exchange type #3 Will give this similar treatment (alert at template level) and fix at the forms.py level as well. Went ahead and added required=True to all of the WhateverNavForm classes. Moved the preventDefault() definition used by all of my events that need to do so to its own template, _prevent_default.html (event.preventDefault() is deprecated, event.defaultPrevented is not universally supported) Added click events at all 3 locations. Verified that all 3 cases work as expected for the case of no selection. However, in the case of exactly one exchange type present, the :selected selector doesn't pick up the very much selected option. Will have to add a line to select the first option by default. Fixed. Fixed up create_exchange.html with type aliases. Found a really ugly form via create_exchange > Save Changes > Log a new Transfer Event. Could be due to the {% field_as_div %} tag from chair_tag.py; trying that out, since it would be more convenient to edit in one place. Turns out it's due to the label element; replacing that. Still doesn't look right; starting issue: Forms using chair_tag.py are ugly #12 and picking it up tomorrow. Create new classical NRP for the Vedun project
April 30, 2018 Time Contribution Tibi Soccer amateur Work - Writing 4.00 HR Created presentation, communicated to Sensorica. https://docs.google.com/presentation/d/12NPBdZVE7t38NXTx7rhUiUOKNNN60DNQgND1q2fhMNc/edit#slide=id.p Got feedback from Bev, who works for City of Levis in the department of sports and outdoor activities. . Public consultation presentation Ville de Montreal Publication - Brochure: Memo to Ville de Montreal for sports
Publication - Brochure: smart city sports presentation
April 26, 2018 Time Contribution davidh Verdun Work - Programming for product 4.77 HR Found bug: UnboundLocalError when creating exchange without exchange type #3 Fixing. Added an alert and preventDefault() when the exchange type is not selected. Still needs to be tested to make sure that it works when an exchange type IS selected, but we currently have no defined exchange types for this agent. Found bug: Layout of agent page has "add to map" on same line as "Photo" #4 Fixing that too. Added div elements as chair_tag would have if the a elements could have been put in by that tag. For testing, created an order for lemonade, "I am thirsty" Found bug: TemplateSyntaxError at /accounting/process #5 Looks like there's a few missing symbols there. Added a }, fixed. Edi-table on accounting/contributionhistory/ is off. The Edit button is missing. The Deliverables column is empty. The unit "Hours" has no space in front of it. Created issue: The edi-table on contribution history is a mess #6 Shouldn't have replaced the textual Edit button with an <i>. Made it an a.btn.btn-large with "Edit". Added a leading space to the data-suffix in the quantity column. Removed the data- properties from the Deliverables column; this column was never editable, so the json override was abandoned. If the column is still empty, it's probably due to the DB having an empty field due to my naive data entry rather than an actual bug. Since the quantity column doesn't start out managed by the edi-table JS, had to add a space in the initial output too. Seems that the datepickers aren't working; probably because I commented out the datepicker() calls. Adding them back. Now it appears that the Save button is, once again, trying to submit the form and navigate away. How is this still happening? Looks like the form still has its enctype attribute, which should have been stripped. Used the wrong span class to install the editor in the first place, so who knows what will happen now. Checking out process_oriented_logging, it looks like an image is missing. Evidently our static files have not made it into the static app on the server. Looking into that. Messed with settings, that was necessary but didn't fix it. Fixed by uploading proper files to the repository (there was a directory mixup the first time, my bad) and collecting statics on the server. Found issue: TemplateSyntaxError at /accounting/create-resource-type-list/ #7 Fixing by removing nested comment. Trying to replace the inner comments with {# #} syntax so that the inner comment can be preserved, otherwise if the block is ever un-commented, the inner comment block will return to haunt us. Worked, but now the form.as_ul looks ugly. Let's see if it's better with |as_bootstrap. Unfortunately I may need to sweep this across all the templates, but it was somewhat uncommon. Looks nicer if the checkbox is simply labeled by the resource type name, rather than a read-only textbox. Trying it out. Hmm the label showed "None" below the checkbox itself. Will need to use .value() instead of .data and either move the input into the label or move the label text into the input widget (probably easier to do with JS than the django template). Checked out incoming exchanges page; for some reason the exchange type variable is not being replaced. Created issue: Typename variable not replaced in incoming exchanges #8 Found that the template still features the variable nested in a {% trans %}. Changed to use |tr. Create new classical NRP for the Vedun project
April 25, 2018 Time Contribution davidh Verdun Work - Programming for product 2.12 HR Continuing fix of #1: Non Production Logging form Fixed several issues: Forgot to add the edit column. Added. Moved the time total right by one cell to put it under the hours total. Used parseFloat instead of idiomatic casts for durations expressed as hours/minutes widget. Coerce the values() iterator to an array before getting the first element in EdiTable.table(). Remove enctype from all modal edi-table forms, as the async saves don't need to navigate either. Problem: the durations are apparently still not calculating properly. Also, it's still wanting to submit the form and navigate. Added a save() call on the table after loading to calculate the total; at load, it calculates correctly. After the pull that fixed that, the navigation problem appears solved, too. Create new classical NRP for the Vedun project
April 24, 2018 Time Contribution France Verdun Work - Writing 2.00 HR French translation and proof reading Writing the MESI memo Document - Documentation: Memo pour l'economie collaborative
April 24, 2018 Time Contribution Tibi Verdun Work - Writing 8.00 HR Wrote and coordinated the memo. Writing the MESI memo Document - Documentation: Memo pour l'economie collaborative
April 20, 2018 Time Contribution Winluck Verdun Work - Writing 4.00 HR Proofread and edited MESI memo. Wrote additional linking text to blend paragraphs together for better content flow. Writing the MESI memo Document - Documentation: Memo pour l'economie collaborative