Reinier Balt
cb46a8461e
fix show_from not being clear when a todo comes from tickler
2013-09-05 12:21:43 +02:00
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
8512e8db3b
rename DateUtils to UserTime
2013-07-29 21:51:15 -05:00
Matt Rogers
a1aaa283f1
Remove User#at_midnight
...
Replace it with a class called DateUtils with a method called
`#midnight_for` that takes a preference instance and date to convert to
midnight.
2013-07-29 16:34:23 -05:00
Reinier Balt
4c4ce911fc
Merge pull request #199 from shaded2/csv_import
...
Csv import
2013-07-26 03:04:07 -07:00
Darren Cato
2feb907204
made changes to MAX_DESCRIPTION_LENGTH everywhere
2013-07-23 01:52:47 -04:00
Darren Cato
2e13affdce
typos and style tweaks
2013-07-23 01:28:43 -04:00
Matt Rogers
bcbfe42899
Merge pull request #195 from doncruse/master
...
Removing some intermediate values and shifting HTML formatting to a helper
2013-07-22 19:44:18 -07:00
Darren Cato
3450c22e97
first pass at csv import functionality for tracks
2013-07-21 13:37:35 -04:00
Don Cruse
9073fa1237
Removing some intermediate values
...
This removes some intermediate steps that were ultimately not necessary
to the math. It also consolidates some of the methods for counting events
so that fewer intermediate values are necessary.
To that end, a new scope is added to the ToDo model for events that are
*either* created_at or completed_at after a certain date. This scope
allows the StatsController to pull out the largest possible responsive
set of values, and then filter just the particular slices that it needs
for various steps in the calculation.
2013-07-18 22:32:44 -05:00
Matt Bridges
c2111b2f8e
Extract behavior from Todo.from_rich_message
...
`Todo.from_rich_message` was partially tested from the MessageGateway,
but it is mostly untested and does not belong in Todo due to it's unique
nature. Extract it entirely from `Todo` into it's own dedicated object
for unit testing.
2013-07-18 16:35:51 -05:00
Reinier Balt
4a485558e2
Merge branch 'master' into rails4
...
Conflicts:
Gemfile.lock
config/routes.rb
2013-06-17 09:25:02 +02:00
Reinier Balt
a8af880647
fix #1417 . We now handle unblocking a todo that is part of a hidden project or context
2013-06-04 10:07:02 +02: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
Reinier Balt
89cdfbc606
fix failing tests on ruby 1.9.3
...
funny, this is the first one not failing on 2.0.0 but failing on 1.9.3. Thanks for Travis!
2013-05-04 13:44:45 +02:00
Reinier Balt
5cfa115cdc
small refactorings
...
fix passing params in use of _collection
2013-05-03 21:54:03 +02:00
Reinier Balt
f891ee86fe
fix clearing show_from fails
...
caused by slightly different (better) workings of aasm
2013-05-03 19:28:26 +02:00
Matt Rogers
b1fb1dd326
Remove more duplication from Todos::Calendar.
2013-04-29 16:35:50 -05:00
Matt Rogers
fedfb55ff8
Remove extra whitespace
2013-04-29 15:24:32 -05:00
Reinier Balt
010d0e9ba0
refactor creating todos in todos_controller
2013-04-29 15:15:48 +02: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
1e84adc91b
get tests running and fix editing context state
2013-03-01 16:22:29 +01:00
Reinier Balt
ef91dd0c64
another set of dynamic finder migrations. All non-cucumber tests pass
2013-02-27 11:50:49 +01:00
Reinier Balt
6fa70db39e
fix updating dependency trees when changin a name. Including invalidating cache when
...
necessary
2013-02-17 17:37:44 +01:00
Reinier Balt
5454ba385f
fix styling of error messages
2012-12-16 15:20:43 +01:00
Reinier Balt
8a8dc47ab8
Try the cache_digests gem for Tracks
...
cache_digests will be part of Rails 4
2012-09-02 15:13:28 +02:00
Reinier Balt
dd83040ea0
fix #1305 and #1309 . Only check on show_from in the past when you change the show_from. This will not prevent a save of the todo when another change is made and show_from has some old date
2012-08-26 17:33:51 +02:00
Reinier Balt
4e29bf69f7
fix failing tests and small refactorings
2012-07-18 11:42:26 +02:00
Reinier Balt
7c1cd2a144
fix #1310 . Add test for this
...
Found that I had a lot of tests commented out. They have some regressions I will fix later
2012-07-15 21:28:42 +02:00
Reinier Balt
885ee7d1d1
refactorings for recurring todo model
2012-07-13 00:31:11 +02:00
Reinier Balt
bd8498f39c
fix #1287 . Fix various small bugs and some small improvements
2012-06-29 16:48:30 +02:00
Reinier Balt
7c935652fb
make search and feedlist pass
2012-05-03 23:23:31 +02:00
Reinier Balt
d7aebf03a0
get context, dependencies and admin scenarios running
2012-05-01 15:45:58 +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
fd4fb6df9e
get all unit tests running again. Seems we have some pretty old code in there :-)
2012-04-30 13:56:37 +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
Reinier Balt
3ba7daf1d0
fix migration. Thanks Christian for fixing this
2012-04-12 20:09:10 +02:00
Reinier Balt
12d8915eda
Get all non-cucumber tests passing
2012-04-12 12:47:25 +02:00
Reinier Balt
bb8b5a4c72
store rendered notes of todos in database to avoid costly rendering when you load a page
2012-04-12 11:34:08 +02:00
Reinier Balt
b2e6253b4c
restore all associations for tags. All tests are passing
2012-04-11 11:37:22 +02:00
Reinier Balt
d2d229c23a
cleanup and hopefully fix #1222
2012-04-08 16:01:29 +02:00
Reinier Balt
dcb155d90d
fix #1271 . Don't block an already blocked todo. Create tests for this case
2012-04-08 15:19:42 +02:00
Reinier Balt
c7e68aa8b6
fix #1229 . Thanks popsch for the testscript and the initial pull request
2012-03-19 20:04:56 +01:00
Matt Rogers
e7268fbaa2
Remove the double-quote custom validation
...
Rails has had SQL injection prevention since at least 2009 so we don't
need our version of it anymore.
Fixes ticket #1237
2012-02-02 22:28:26 -06:00
Reinier Balt
78a2bd7f49
further refactoring of stats controller and views
2012-01-20 23:35:00 +01:00
Reinier Balt
f74370aab5
first refactoring of stats controller
2012-01-20 23:34:58 +01:00
Reinier Balt
50bc2623d9
fix #1224 . Allow existing and non-existing project/context names in REST API
2011-11-21 15:24:29 +01:00