Every repository with this icon (
Every repository with this icon (
| Description: | The source code for the Carbon Diet website edit |
-
Comments
-
0 comments Created 7 months ago by FloppyNil object on electricity account assignmentDefectx -
We should let people calculate an estimated footprint straight away.
Comments
-
0 comments Created 7 months ago by FloppyAdd AJAX functionality to existing viewsEnhancementxAll CRUD stuff should work via AJAX to reduce the vast number of page loads we currently have
Comments
-
0 comments Created 7 months ago by FloppyArgumentError: comparison of Float with nil failedDefectx -
Tanked gas, oil, perhaps even wood?
Comments
-
Add graph displays for energy usage generally, not tied to CO2 emissions, to allow comparison of emissions between different providers and to allow analysis of general energy usage reduction.
Comments
-
Get proper backups going
Comments
-
Come up with a way of representing dual-fuel vehicles, for instance LPG.
Comments
-
In response to:
* http://forum.carbondiet.org/forums/2/topics/7 * http://forum.carbondiet.org/forums/5/topics/23Comments
-
On accounts, "current" is a bit of a weird concept that isn’t explained very well. "Active" might be better, but it needs explaining.
Comments
-
Make sure Carbon, CO2 and CO2-e are all used correctly, in the right places, and that the numbers used are in the correct units.
Comments
-
"amanda smith" should search for amandas and smiths. Perhaps a search engine plugin would be a better solution.
Comments
-
All models should be properly tested at the very least.
Comments
-
0 comments Created 7 months ago by FloppyColour notes the same as chart linesEnhancementxAlso perhaps put them on the lines themselves
Comments
-
0 comments Created 7 months ago by FloppyEnhancementxCreate better mobile web interfaceMobilexPossibly followed by native iPhone app.
Comments
-
Comments
-
0 comments Created 7 months ago by FloppyLong account names make graphs crowdedDefectxComments
-
If there is less than a year of data, calculations of yearly carbon footprint should use seasonal weightings to scale up the available data to a full year.
Comments
-
0 comments Created 7 months ago by FloppyPrevent autocomplete on data entry formsDefectx -
Comments
-
0 comments Created 7 months ago by FloppySimplify profile page with thermometer metaphorEnhancementxComments
-
Comments
-
0 comments Created 7 months ago by FloppyDefectxMobile "remember me" doesn't workMobilexComments
-
Comments
-
FBML for creating carbondiet line view:
<fb:swf swfsrc="http://www.carbondiet.org/flash/charts.swf?license=J1XQZ7CKXE7L6-O5T4Q79KLYCK07EK&library_path=http://www.carbondiet.org/flash/charts_library&xml_source=http://www.carbondiet.org/xml_chart/line_all/90/1" width="100%" height="200" waitforclick="false" swfbgcolor="FFF" />
Comments
-
Clare reports: I have IE 6 and the tick box to remember my log in apparently doesn’t work. It does work on IE7 for Rob and on my Firefox. On my IE 6 my privacy is set at medium, which seems to work for other sites that need to remember my log-in.
Comments
-
Comments
-
pages 2 and 5
Comments
-
Should include ability to change gtime period of graphing, as well as changing averaging period
Comments
-
When Clare was accepting the be-a-friend? request from Irene, she thought it had not worked, and repeated it. Now Irene has ClareP listed twice as a friend. I guess Irene can delete one of the instances, but could you think of a fix to prevent it happening again in future?
Comments
-
0 comments Created 7 months ago by FloppyAdd standard electricity comparison for renewable energy providersEnhancementxWould be nice to see what your carbon impact would have been, if you have renewable energy.
Comments
-
30th October, 3 times:
A NoMethodError? occurred in actions#complete:
undefined method-’ for nil:NilClass [RAILS_ROOT]/app/controllers/actions_controller.rb:26:incomplete’Request:
* URL: http://www.carbondiet.org/actions/complete/5?done=true * Parameters: {"commit"=>"I have done / will do this!", "done"=>"true", "action"=>"complete", "id"=>"5", "controller"=>"actions"} * Rails root: ..Session:
* session id: "d32632d3d77db4b9fa9f3b536fd8361f" * data: {:user_id=>272, "flash"=>{}}Environment:
* CARBONDIET_BASE_DIR : /home/sites/carbondiet.org/carbondiet/ * CONTENT_LENGTH : 48 * CONTENT_TYPE : application/x-www-form-urlencoded; charset=UTF-8 * DOCUMENT_ROOT : /home/sites/carbondiet.org/public_html/ * GATEWAY_INTERFACE : CGI/1.1 * HTTP_ACCEPT : text/javascript, text/html, application/xml, text/xml, / * HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7 * HTTP_ACCEPT_ENCODING : gzip,deflate * HTTP_ACCEPT_LANGUAGE : en-gb,en;q=0.5 * HTTP_CACHE_CONTROL : no-cache * HTTP_CONNECTION : keep-alive * HTTP_COOKIE : utma=81705605.531508945.1193120908.1193683970.1193729212.7; utmz=81705605.1193162952.2.2.utmccn=(organic)|utmcsr=google|utmctr=carbon+diet|utmcmd=organic; _carbondiet_session_id=d32632d3d77db4b9fa9f3b536fd8361f; utmb=81705605; utmc=81705605 * HTTP_HOST : www.carbondiet.org * HTTP_KEEP_ALIVE : 300 * HTTP_PRAGMA : no-cache * HTTP_REFERER : http://www.carbondiet.org/actions * HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8 * HTTP_X_PROTOTYPE_VERSION: 1.5.0 * HTTP_X_REQUESTED_WITH : XMLHttpRequest * MvCONFIG_DIR_BUILTIN : /usr/local/miva/lib/builtins * MvCONFIG_DIR_CA : /usr/local/miva/certs * MvCONFIG_DIR_DATA : /home/sites/carbondiet.org/mivadata * MvCONFIG_DIR_MIVA : /home/sites/carbondiet.org/public_html * MvCONFIG_LIBRARY : /usr/local/miva/lib/config/env.so * MvCONFIG_SSL_CRYPTO : /usr/lib/libcrypto.so * MvCONFIG_SSL_OPENSSL : /usr/lib/libssl.so * PATH : /usr/local/bin:/usr/bin:/bin * QUERY_STRING : done=true * RAILS_ENV : production * RAW_POST_DATA : commit=I%20have%20done%20%2F%20will%20do%20this! * RECAPTCHA_PRIVATE_KEY : 6LduNgAAAAAAAA7hx3zsYKcynv7WjyEItvrPD2Ie * RECAPTCHA_PUBLIC_KEY : 6LduNgAAAAAAACVF4O4KRiyVnD0BjuUj3R2waHir * REDIRECT_QUERY_STRING : done=true * REDIRECT_STATUS : 200 * REDIRECT_URL : /actions/complete/5 * REMOTE_ADDR : 90.199.82.209 * REMOTE_PORT : 1135 * REQUEST_METHOD : POST * REQUEST_URI : /actions/complete/5?done=true * SCRIPT_FILENAME : /home/sites/carbondiet.org/public_html/dispatch.cgi * SCRIPT_NAME : /dispatch.cgi * SERVER_ADDR : 82.110.105.81 * SERVER_ADMIN : webmaster@Comments
-
Or perhaps an opensocial gadget would be better.
Comments
-
If a subdomain (like wwww.carbondiet.org) is accessed, the site throws up an error. Instead, it should redirect to a correct subdomain (like www).
Comments
-
Comments
-
On peoples profile pages, it’s not showing the keys for all accounts anymore. But it does seem to work on the bigger graphs under analysis."
This is because the legend runs out of room for all the keys.
Comments
-
Should be able to read data as an Atom feed, and also publish data to the site using APP. This would be a nice way to integrate with other systems like AMEE, or smart meters, etc.
Comments
-
His graph goes back to June for some reason, even though there is no line data there. This is distorting the projected yearly consumption figures.
Comments
-
0 comments Created 7 months ago by FloppyAdd messaging to friend requests to find out who is asking to be your friend.EnhancementxFrom Rob Palgrave:
If you are contacted by someone asking to be your friend, there is currently no way to find out any more about them. Clare was asked by Irene Ridgeon to be a friend, someone she doesn’t know. Perhaps to solve this, the site could allow you to send a message to the requestor’s e-mail address instead of only allowing the request to be accepted or denied? For example, I could send the requestor a text asking them for more details, their response would then be sent to my e-mail address. The requestor doesn’t get given my e-mail address, and I don’t get his/hers.
But having said this, if the other party has not ticked that they will allow the site to email them, there is no way of establishing contact! Would you consider changing that aspect of registration so that the default is to allow the site to e-mail, and the user has to positively de-select that attribute? Alternatively, if someone who has said the site can’t use their e-mail address issues a request to be a friend with another user, the site could require them to give that permission? Or tell them that they might receive an e-mail from the site on behalf of the person they’re trying to contact as a once off?
Facebook allows you to view profiles of people who are asking to befriend you, and add a message with the request.
Comments
-
0 comments Created 7 months ago by FloppyFuture flights aren't taken into account correctlyDefectx -
http://rubyforge.org/projects/gmailutils
Should do Yahoo as well, and maybe others. Are there any more generic address-lookup gems?
Comments
-
desktop widget
Comments
-
Calculation page doesn’t work if there is an electricity account, but no readings in it. See error log for details:
A ActionView::TemplateError? occurred in help#calculation:
undefined method[]’ for nil:NilClass On line <a href="/Floppy/carbon-diet/issues/#issue/39" class="internal">#39</a> of app/views/help/calculation.rhtml 39: This is a total of <%= electricity_acct.electricity_readings[1].kWh_day - @electricity_acct.electricity_readings[0].kWh_day %> kWh, which at <%= kg(electricity_acct.electricity_supplier.kg_per_kWh,2) > / kWh, gives us a total CO<span class="sub">2</span> emission over this period of <= kg(@emissions.first[:co2],2) %>. #{RAILS_ROOT}/app/views/help/calculation.rhtml:39:in_run_rhtml_47app47views47help47calculation46rhtml’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:326:insend’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:326:incompile_and_render_template’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:301:inrender_template’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:260:inrender_file’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:806:inrender_file’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:711:inrender_with_no_layout’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/layout.rb:247:inrender_without_benchmark’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:50:inrender’ /usr/lib/ruby/1.8/benchmark.rb:293:inmeasure’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:50:inrender’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1096:inperform_action_without_filters’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:632:incall_filter’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:incall_filter’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:incall’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:incall_filter’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:incall_filter’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:incall’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:incall_filter’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:619:inperform_action_without_benchmark’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:inperform_action_without_rescue’ /usr/lib/ruby/1.8/benchmark.rb:293:inmeasure’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:inperform_action_without_rescue’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/rescue.rb:83:inperform_action’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:insend’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:inprocess_without_filters’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:624:inprocess_without_session_management_support’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:114:inprocess’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:inprocess’ /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:41:in `dispatch’ dispatch.cgi:10Request:
* URL: http://www.carbondiet.org/help/calculation * Parameters: {"action"=>"calculation", "controller"=>"help"} * Rails root: ..Session:
* session id: "e4f9a7203e45d849a6ddf07f5225bcd4" * data: {:password=>nil, :user_id=>449, :login=>nil, "flash"=>{}}Environment:
* CARBONDIET_BASE_DIR : /home/sites/carbondiet.org/carbondiet/ * DOCUMENT_ROOT : /home/sites/carbondiet.org/public_html/ * GATEWAY_INTERFACE : CGI/1.1 * HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, / * HTTP_ACCEPT_LANGUAGE : sv * HTTP_CACHE_CONTROL : max-stale=0 * HTTP_CONNECTION : close * HTTP_COOKIE : _carbondiet_session_id=e4f9a7203e45d849a6ddf07f5225bcd4; utmc=81705605; utma=81705605.572181872.1193771525.1193771944.1193773597.3; utmb=81705605; utmz=81705605.1193771944.2.2.utmccn=(referral)|utmcsr=bl112w.blu112.mail.live.com|utmcct=/mail/ApplicationMain_12.0.1190.0927.aspx|utmcmd=referral * HTTP_HOST : www.carbondiet.org * HTTP_REFERER : http://www.carbondiet.org/help * HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath?.1) * HTTP_X_BLUECOAT_VIA : 067BA35D2F25A045 * MvCONFIG_DIR_BUILTIN : /usr/local/miva/lib/builtins * MvCONFIG_DIR_CA : /usr/local/miva/certs * MvCONFIG_DIR_DATA : /home/sites/carbondiet.org/mivadata * MvCONFIG_DIR_MIVA : /home/sites/carbondiet.org/public_html * MvCONFIG_LIBRARY : /usr/local/miva/lib/config/env.so * MvCONFIG_SSL_CRYPTO : /usr/lib/libcrypto.so * MvCONFIG_SSL_OPENSSL : /usr/lib/libssl.so * PATH : /usr/local/bin:/usr/bin:/bin * QUERY_STRING : * RAILS_ENV : production * RECAPTCHA_PRIVATE_KEY: 6LduNgAAAAAAAA7hx3zsYKcynv7WjyEItvrPD2Ie * RECAPTCHA_PUBLIC_KEY : 6LduNgAAAAAAACVF4O4KRiyVnD0BjuUj3R2waHir * REDIRECT_STATUS : 200 * REDIRECT_URL : /help/calculation * REMOTE_ADDR : 194.68.53.245 * REMOTE_PORT : 31000 * REQUEST_METHOD : GET * REQUEST_URI : /help/calculation * SCRIPT_FILENAME : /home/sites/carbondiet.org/public_html/dispatch.cgi * SCRIPT_NAME : /dispatch.cgi * SERVER_ADDR : 82.110.105.81 * SERVER_ADMIN : webmaster@Comments
-
0 comments Created 7 months ago by FloppyAdd social bookmarking with addthis.comEnhancementxComments
-
Allow people to recover their username given their email address
Comments
-
Comments
-
We can use memcached to store calculation results, so we don’t have to recalculate everything every time – should make everything faster.
We can also use action caching for graphs and so on.
Comments
-
We should allow oAuth and HTTP basic auth across the site for API access.
Comments
-
0 comments Created 7 months ago by FloppyRequire SSL for all unencrypted authenticationEnhancementxNormal login and also HTTP basic access.
Comments
-
Comments
-
Comments
-
Comments
-
0 comments Created 7 months ago by FloppyDon't scale up flights to yearly figureDefectxCan give quite a misleading figure if you fly at irregular intervals.
Comments
-
Comments
-
Could be data entry error, could be something else.
Comments
-
"I was adding petrol purchases to my vehicles (because I wanted to see the calculation), so I added a second fuel purchase and then thats what topped it."
"I tried to change my password but got another error, also i receive an error on my main profile page."
There were a whole bunch of data validation errors related to this – somehow the db has got in a dodgy state for Red’s account.
Comments
A ArgumentError occurred in vehicle_fuel#destroy:
comparison of Hash with Hash failed [RAILS_ROOT]/app/models/user.rb:285:in `sort’Request:
-——————————————* URL : http://www.carbondiet.org/data_entry/vehicle_fuel/385/destroy/1074 * IP address: 86.143.30.95 * Parameters: {"vehicle"=>"385", "action"=>"destroy", "id"=>"1074", "controller"=>"data_entry/vehicle_fuel"} * Rails root: /home/carbondiet/currentSession:
-——————————————* session id: "c8f00e59601ffade4b5b7d38855972d3" * data: {:user_id=>821, :password=>nil, :login=>nil, "flash"=>{}} -
A ArgumentError occurred in electricity#edit:
comparison of Float with nil failed [RAILS_ROOT]/app/models/electricity_reading.rb:27:in `<=’Request:
-——————————————* URL : http://www.carbondiet.org/data_entry/electricity/412/edit * IP address: 77.97.173.73 * Parameters: {"electricity_reading"=>{"taken_on(1i)"=>"2008", "taken_on(2i)"=>"4", "taken_on(3i)"=>"29", "reading_day"=>"5409", "reading_night"=>""}, "commit"=>"Save", "account"=>"412", "action"=>"edit", "controller"=>"data_entry/electricity"} * Rails root: /home/carbondiet/currentSession:
-——————————————* session id: "04e9f2e8d98abbdad04140daccc84b58" * data: {:user_id=>829, "flash"=>{}}Comments
-
Dave says: "Something isn’t being calculated correctly. The total KG for the two cars is probably correct, but the Daily average and Yearly equivalent for the Astra is definitely wrong. Should be similar to the ZS."
Comments
-
Comments
-
passengers was null in model, but is set NOT NULL in db. Must be missing a validation.
Comments
-
ActionView::TemplateError: can't convert Float into String
0 comments Created 4 months ago by Floppy -
ArgumentError: comparison of Hash with Hash failed
0 comments Created 4 months ago by Floppy -
ActionView::TemplateError: String can't be coerced into Float
0 comments Created 4 months ago by Floppy -
Check that two users with same name can't be created
0 comments Created 4 months ago by FloppyI got two signup notifications for "tast"
Comments
-
Comments
-
To allow people to track exported energy from PV arrays, for example.
Comments
-
See http://carbondiet.hoptoadapp.com/errors/799380 - caused by entering gas usage for 31/11, which doesn't exist. This should give a sensible error message, rather than a server error.
Comments











