Matt Rogers
6681df9530
Merge pull request #202 from TracksApp/extract-extras-from-user
...
Extract time and date concerns from User
2013-08-01 14:59:17 -07:00
Matt Rogers
96777c2e3a
Replace User#time with UserTime#time
2013-07-30 16:21:04 -05:00
Matt Rogers
6c695aa61a
Fix a date-based issue in the project tests
...
Due to time zone issues, this test was failing for me because it was
attempting to compare a date in my local time zone with a UTC date.
2013-07-29 21:43:05 -05:00
Darren Cato
2e13affdce
typos and style tweaks
2013-07-23 01:28:43 -04:00
Darren Cato
3450c22e97
first pass at csv import functionality for tracks
2013-07-21 13:37:35 -04:00
Reinier Balt
671f64b419
move to strong_parameters of rails4.
2013-05-27 12:44:31 +02:00
Reinier Balt
ebff4cfc0c
start fixing deprecation warnings
2013-05-11 23:13:32 +02:00
Matt Rogers
883ea2b968
Move Project#create_from_todo to its own class
...
The point of this is to keep as many things out of the ActiveRecord
objects as possible and use them as just a thin database abstraction
layer.
2013-05-02 22:30:24 -05:00
Reinier Balt
5ed69fc1a2
update gems and fix failures from new aasm
...
I'm not sure the test failures caused by reload not working are caused by the new aasm,
perhaps the thread isolation is causing that...
2013-04-29 11:53:32 +02:00
Reinier Balt
22b371ef8c
do a big refactor of rendering collections of todos for home page, tag page, project page, context page
2013-03-18 12:36:40 +01:00
Matt Rogers
f541a4c9d6
Simplify SearchController#results
...
Give names to the various things being searched for and move them out
into their own methods. Also add scopes to give names to things being
queried out of the models.
2013-03-12 19:49:19 -05:00
Katrina Owen
2686a0d3b5
Don't link to null projects
...
If you have fewer than 10 projects, then empty running projects were
linked to with the path `/projects/-1`.
Copy/pasted the list strategy from the other project sections in the
same partial so the duplication becomes explicit.
2013-03-02 00:19:47 -05:00
Reinier Balt
acab98d4c7
fix failing tests
2013-03-01 16:22:29 +01:00
Matt Rogers
b01c7878d1
Push conversion of a todo to a project down.
...
Refactor the conversion of a todo to a project and move it from the
TodosController to the Project model.
2012-08-14 19:33:54 -05:00
Reinier Balt
4e29bf69f7
fix failing tests and small refactorings
2012-07-18 11:42:26 +02:00
Reinier Balt
5d703975a3
fix #1292 . Make the sort order in project view the same as context view
2012-06-27 14:10:14 +02:00
Reinier Balt
96db48dd86
get project integrations and login controller tests running
2012-04-30 13:56:40 +02:00
Reinier Balt
86afd42148
Work in progress: has_many_polymorphs does not work with rails 3.2 because of intrusive changes in rails internals. I think we need to rip out this dependency...
2012-04-30 13:56:34 +02:00
Matt Rogers
beb18ac1f4
Hidden projects are not stalled. Update the comment.
2011-12-19 12:30:51 -06:00
Craig Maloney
48de4b1b00
Keep hidden projects from showing up as stalled, since they're likely hidden for a reason.
2011-12-19 12:28:57 -06:00
sf
90f9e41671
changed the condition to increase readability
2011-10-10 05:36:56 -04:00
sf
3d3646a137
completed reviews no longer show up that they need a review
2011-10-08 00:23:31 -04:00
Reinier Balt
2f0bfbbf47
some smallfurther adjustments
2011-09-28 15:34:15 +02:00
Reinier Balt
3a07010338
first cleanups of review feature
2011-09-28 13:58:46 +02:00
sf
227e0052b3
fixed always true line
2011-09-27 09:42:30 -04:00
sfischme
6f8d9ec2ae
exclude completed projects from blocked list
2011-09-17 13:15:30 -04:00
sfischme
7873d2cff8
explude completed projects from review
2011-09-17 13:13:45 -04:00
sfischme
ac98737176
first version of review view
2011-09-16 23:34:09 -04:00
sfischme
5f0bcebca9
first steps towards review view
2011-09-16 15:07:58 -04:00
Reinier Balt
4927f39594
fix some regressions caused by the newer acts_as_list gem
...
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-13 11:15:14 +02:00
Matt Rogers
55bf457740
Allow projects to have commas in their name.
...
This removes the validation that checks to make sure there is no comma
in the name, and updates the tests to match.
2011-09-01 23:12:26 -05:00
Reinier Balt
c61238933c
add recurring_todos to done_overview and fix routes
2011-07-09 17:19:13 +02:00
Reinier Balt
01057af684
start modifying done view and do some refactoring
2011-07-09 17:19:11 +02:00
Reinier Balt
056dbf08a7
remove vendored gem and fix state model. Some old hacks did not work anymore on the newer aasm. reverted the hacks and fixed some tests
2011-06-10 23:17:22 +02:00
Stefan Richter
00819ce27b
migrating to aasm - code part
2011-06-10 23:17:19 +02:00
Reinier Balt
7d5ca16044
fix #1164 and fix #1159 whre a localization was wrong and adding brackets at NOT sql statements for older MySQL versions
2011-05-03 11:43:02 +02:00
Reinier Balt
a832417c59
migrate toggle_check and destroy and defer and get the functional tests running again
2011-02-03 18:19:17 +01:00
Reinier Balt
f923a40a40
get tag view working for updating todos. Refactored update a lot
2011-02-03 18:18:41 +01:00
Reinier Balt
d57bd479f9
fix failing test for some error messages
2010-11-09 15:51:21 +01:00
Reinier Balt
6b36d6eb8f
fix failing tests
2010-11-09 10:47:09 +01: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
c3b3e3ea04
Manual apply fix from 1.7_branch. Preserve database integrity for recurring todos when deleting project or context. Fixes #880 . Fixes #895
2010-04-04 18:20:07 +02:00
Henrik Bohre
b136816ff1
#300 : Updated Project and User models to use the new Todo model
2009-11-04 22:31:54 -05:00
Reinier Balt
2f8b454ac0
fix some failing tests
2009-04-19 00:18:12 +02:00
Reinier Balt
b990f8a015
make project settings editable from the project page
...
We're using the edit form instead of several separate fields to edit settings
2009-04-18 23:50:12 +02: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
Eric Allen
3647d79587
Overhaul of Time.now stuff because Time.now is unaware of time zones. Need to use Time.zone.now (Time.now.utc works fine when dealing with the database, since it is *always* in UTC)
2008-09-21 18:13:21 -07: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
4cbf5a34d3
Removed superfluous 'tracks' directory at the root of the repository.
...
Testing commits to github.
2008-05-20 21:28:26 +01:00