Commit graph

223 commits

Author SHA1 Message Date
Reinier Balt
bd656ee1c7 fix #1350 by removing admin_email from preferences model and add it as a site option in
site.yml.tmpl. This one needs running migrations
2012-12-23 21:03:37 +01:00
Reinier Balt
5454ba385f fix styling of error messages 2012-12-16 15:20:43 +01:00
Dan Rice
5b6cbf566a Don't sort todos when counting them
Grouping isn't as lax in PostgreSQL as it is in MySQL or SQLite. All
sort fields also need to be in the GROUP BY, or be aggregated. The order
isn't relevant when counting, so simply don't order in that case.

Fix #1336
2012-10-04 10:43:22 -04:00
Reinier Balt
b3059cf53a fix caching for #1328 and #1329 2012-09-19 17:13:29 +02:00
Reinier Balt
ff06f418e8 Make sure that changing tags (i.e. toggle star) touches the taggable (todo) to invalidate cache. Make sure _context is cached different for _context of active todos and _context of tagged todos and _context in tickler 2012-09-02 15:13:29 +02: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
29c5103a98 handle multipart emails better in message_gateway 2012-08-24 23:47:27 +02: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
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
82bb67f518 small refactorings 2012-07-12 13:14:21 +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
9421ae76bb Merge branch 'master' of github.com:TracksApp/tracks 2012-06-28 16:52:36 +02:00
Reinier Balt
05695c12ea Enable the message_gateway to handle sending all email to a specific user. The current
scanning on to: and from: fields does not work if you bcc Tracks in email. 

site.yml.tmpl is updated to reflect this and removes cas, ldap and openid configs

Also the integrations page is updated to reflect the above
2012-06-28 16:51:46 +02:00
Tim Madden
a98f8be279 fixing a broken i18n reference 2012-06-27 13:58:24 -05: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
d432d91cc8 get preferences scenario to pass 2012-05-12 14:01:56 +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
c9d64e6f4b get the first cucumber feature running: calendar 2012-04-30 13:56:42 +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
96db48dd86 get project integrations and login controller tests running 2012-04-30 13:56:40 +02:00
Reinier Balt
59a4d5ede0 make functional tests for context controller run 2012-04-30 13:56:39 +02:00
Reinier Balt
76340b780c Getting functional tests running. 2012-04-30 13:56:38 +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
a83c8b3f92 initial upgrade to rails 3.2.3 2012-04-30 13:56:33 +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
1a6edbe7c2 add some basic tests for tags noew we cannot rely on a tested gem 2012-04-11 13:39:12 +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
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
Reinier Balt
50bc2623d9 fix #1224. Allow existing and non-existing project/context names in REST API 2011-11-21 15:24:29 +01:00
Reinier Balt
960326efb4 Fix #1223 for the single tag and single dependency case in the REST API 2011-11-20 14:48:49 +01:00
Reinier Balt
6aa8b8d2f9 replace new repeating todo form with jquery dialog. And some refactoring 2011-11-17 17:07:55 +01:00
Reinier Balt
4b6aff5502 hopefully fix failing recurring todos test. Timezones are a pain to get right 2011-11-16 22:05:06 +01:00
Reinier Balt
833297b355 fix regression and further cleanups of todo model 2011-11-16 19:36:09 +01:00
Reinier Balt
906ff11633 fix failing test and make sure that you can supply 'starred' tag. Refactor todo model 2011-11-16 16:37:04 +01:00