Commit graph

87 commits

Author SHA1 Message Date
Katrina Owen
ce9db80743 Correct typo in variable name 2013-02-28 20:34:46 -05:00
Reinier Balt
7eccf79ab6 fix regressions and use timecop to fix time in tests. Thanks Dan and Hans! 2013-01-06 16:04:07 +01:00
Matt Rogers
b89062913f remove code duplication 2012-09-08 13:31:22 -05:00
Matt Rogers
f9bd923205 Use a local variable instead of an instance variable
@all_actions_per_context is not used anywhere except for in the
StatsController. It's only used in two functions and it's not used by
anything in the view.

Make it a local variable instead.
2012-09-08 13:12:35 -05:00
Matt Rogers
d9f4226fbe Use a constant for seconds per day
Using an instance variable for this just seems wrong.
2012-09-08 12:55:06 -05:00
Stefan Hacker
e6afd0ac0a Fix max_actions being nil when actions_open_per_week list is empty 2012-09-03 20:43:25 +02:00
Stefan Hacker
7f4065b16b Remove explicit mentioning of application layout where not needed 2012-09-03 20:24:20 +02:00
Stefan Hacker
27adccb6e9 Remove unused layout and clear up naming
* scaffold.css is only used by login -> rename to login.css
* standard.html.erb is the default application layout -> rename to application.html.erb
* scaffold.html.erb is unused -> deleted
2012-09-02 14:20:17 +02:00
Reinier Balt
5e477a4d25 first pass of all tests done 2012-05-18 15:33:47 +02:00
Reinier Balt
63175c115b all non-cucumber tests are passing 2012-04-30 13:56:41 +02:00
Reinier Balt
13b58f3a10 all unit and functional tests are passing 2012-04-30 13:56:40 +02:00
Reinier Balt
fd433d76d8 fix all upgrade warnings from the rails_upgrade plugin 2012-04-30 13:56:38 +02:00
Reinier Balt
5c3293745d merge latest changes for the he locale. Thanks Darian. 2012-04-17 15:33:40 +02:00
Reinier Balt
e935066c18 fix #1181. The project listing now had the small drag handle and all the controls to the left. 2012-01-27 10:55:39 +01:00
Reinier Balt
1bce9a670d implement #1030. 2012-01-21 20:20:24 +01:00
Reinier Balt
bc7bf459db fix small regressions 2012-01-20 23:50:27 +01:00
Reinier Balt
7af2211479 finalize refactoring
finally done, now for ticket 1030 :-)
2012-01-20 23:35:01 +01:00
Reinier Balt
78a2bd7f49 further refactoring of stats controller and views 2012-01-20 23:35:00 +01:00
Reinier Balt
b948cc48b2 further refactoring and more tests 2012-01-20 23:35:00 +01:00
Reinier Balt
2349bee535 further refactorings and tests
one test is failing, will fix that next time
2012-01-20 23:34:59 +01:00
Reinier Balt
80d8d2b67a add tests 2012-01-20 23:34:59 +01:00
Reinier Balt
61624ed455 completed first pass of refactoring 2012-01-20 23:34:58 +01:00
Reinier Balt
f74370aab5 first refactoring of stats controller 2012-01-20 23:34:58 +01:00
Reinier Balt
5496b84642 add cucumber scenarios for the new done pages 2011-07-09 17:21:35 +02:00
Reinier Balt
c61238933c add recurring_todos to done_overview and fix routes 2011-07-09 17:19:13 +02:00
Reinier Balt
559a02d6f1 start on done overview page 2011-07-09 17:19:12 +02:00
Marcus Ilgner
fd3f69d927 Changed code to support basic i18n.
Added RubyMine configuration and rvm setup to .gitignore.
2010-11-09 16:31:26 +08:00
Reinier Balt
9d5503a91e fix #997. The chart with the visible actions now excludes pending actions. Also some cleanupt to use named_scope 2010-05-01 17:19:28 +02:00
Reinier Balt
01a011ee06 improve last path. Thanks Vitaliel! 2009-01-17 14:43:06 +01:00
Reinier Balt
8cdae83014 fix case when there are no tags places on todos, the stats page would fail. Fixes #822.
Thanks Walter for finding this one
2009-01-15 22:13:22 +01:00
Reinier Balt
cebaf05a7f fix small error in last commit 2009-01-08 10:39:14 +01:00
Reinier Balt
f79c28231b remove unused and unneccesary user_id from taggings table.
this way we can stay closer to the defaults of has_many_polymorphs thus making upgrading easier
2009-01-08 10:18:03 +01:00
Reinier Balt
9147fb887c refactor conditional finds to use named_scopes
also use updated_at in calendar feed
2008-11-29 15:35:17 +01:00
Reinier Balt
44f8646881 adds chart to see all actions in all past months
This one is a bit hidden. You need to click on a bar in the chart
with the actions from the last 12 months. Need to change this so
people can find it easier
2008-07-04 17:56:59 +02:00
Luke Melia
901a58f8a3 Upgraded to Rails 2.1. This can have wide ranging consequences, so please help track down any issues introduced by the upgrade. Requires environment.rb modifications.
Changes you will need to make:

 * In your environment.rb, you will need to update references to a few files per environment.rb.tmpl
 * In your environment.rb, you will need to specify the local time zone of the computer that is running your Tracks install.

Other notes on my changes:

 * Modified our code to take advantage of Rails 2.1's slick time zone support.
 * Upgraded will_paginate for compatibility
 * Hacked the Selenium on Rails plugin, which has not been updated in some time and does not support Rails 2.1
 * Verified that all tests pass on my machine, including Selenium tests -- I'd like confirmation from others, too.
2008-06-17 01:13:25 -04:00
bsag
0380d1b15a Merge branch 'master' of /Users/jackie/Sites/tracks_svn into svn-tracking
Up to r881

* 'master' of /Users/jackie/Sites/tracks_svn: (22 commits)
  Added .gitconfig
  Added yaml_db plugin: http://opensource.heroku.com/
  applied patch from Eric from #732
  fixes #730 restores ability to delete user from user management page
  fixes #724 where editing todos truncates the project name of the todo when the project name contains quotes (")
  Applied patch from Eric Pallen whcih automatically converts url's to links. Thanks Eric!
  explain that yaml cannot yet be used for backup as importing is not implemented yet. from mailinglist.
  hopefully fixes #727.Changes the check on running animation to finished animation
  regenerate compressed js and cleanup whitespace
  turns out that getElementsByClassName is removed from prototype and it therfore falls back to the function of the browser which has different semantics. Found here http://www.prototypejs.org/api/utility/getElementsByClassName
  forgot to create a new compressed js from the previous js changes
  in the stats page you can downdrill to see the active todos in a certain week from the running time charts. This patch adds the option to see all active todos from the selected week and older.
  fix #727. Adds a check to prevent expand/collapse while a previous expand/collaps is still animating
  fixed small problem where updating a todo from mobile resulted in an error becase source_view was nil
  fixes #726. Thanks Eric Pallen for the fix. The mobile view showed active todos from completed projects while the home page does not.
  merges changes from tracks1.6 to trunk
  prepares trunk for 1.6 release
  fixes #713. Adds behavior for edit/star/delete/check buttons of todo even if there is no todo to show. This makes sure that the behaviors are present when you add a new todo through AJAX.
  fixes #718. The link included the number of actions which resulted from last commit
  removed some more whitespace to reduce the download of the mobile view.
  ...
2008-06-15 09:50:05 +01:00
bsag
20940ff348 Removed outer tracks directory. 2008-05-24 15:57:18 +01:00
Renamed from tracks/app/controllers/stats_controller.rb (Browse further)