Commit graph

960 commits

Author SHA1 Message Date
Matt Rogers
1aa1908a98 Merge pull request #112 from zoombody/postgres
Don't sort todos when counting them
2012-10-07 21:02:06 -07:00
Stefan Hacker
a7014e9716 Mobile task creation redirected to non-mobile results page. 2012-10-05 17:55:13 +02: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
Matt Rogers
33c3c578f6 Fix up the links in the footer.
The link to the forum is gone. The email link points to the new google
groups mailing list. The contribute link points to
http://getontracks.org/development

Fixes #1340
2012-10-03 23:12:40 -05:00
Dan Rice
7ce214720d improve text alignment in todo actions menu 2012-10-01 21:56:08 -04:00
Reinier Balt
e846de6a32 Merge pull request #110 from zoombody/favicon
make favicon background transparent
2012-09-29 23:53:13 -07:00
Matt Rogers
a8fa2962c9 Merge pull request #109 from zoombody/css-fix
fix #1334 wrong navbar link colors
2012-09-29 20:21:02 -07:00
Dan Rice
1650f52b99 make favicon background transparent 2012-09-29 22:12:33 -04:00
Dan Rice
8441cccb2e fix #1334 wrong navbar link colors 2012-09-29 10:37:07 -04:00
Dan Rice
9a1faa9701 convert rollovers to pure CSS with sprites 2012-09-29 09:56:51 -04:00
Dan Rice
a24b18b724 refactor CSS to take some advantage of Sass nesting 2012-09-27 13:31:47 -04:00
Dan Rice
735ee8fe34 improve CSS whitespace consistency 2012-09-27 13:09:30 -04:00
Dan Rice
6bf21caf22 wrap the todo dropdown arrow in an "a" tag to make it tab-accessible 2012-09-26 16:17:07 -04:00
Dan Rice
2bdf0dba77 load Tracks' own CSS after vendor CSS to permit overrides 2012-09-26 16:14:54 -04:00
Dan Rice
0de6a3177d convert CSS to Sass for better asset references 2012-09-26 14:16:53 -04:00
Reinier Balt
b3059cf53a fix caching for #1328 and #1329 2012-09-19 17:13:29 +02: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
9f9f4ede0f Remove duplicate code from recurring_todos_helper.rb 2012-09-04 12:42:42 +02: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
35cc0fceaa Replace stray error_messages_for uses with working get_list_of_error_messages_for calls 2012-09-03 20:00:13 +02:00
Stefan Hacker
f07a028843 Fix invalid jquery selectors in tracks.js 2012-09-03 18:23:08 +02:00
Reinier Balt
ea0d4eb0c7 invalidate cache of todo every day so stalenes and due date can be regenerated 2012-09-02 15: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
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
Stefan Hacker
2fc441589f Add favicon/apple-touch-icon to all layouts 2012-09-01 18:56:51 +02:00
Reinier Balt
827c825884 update to jquery-ui-1.8.23 2012-08-31 15:15:11 +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
be26cfdd66 applied patch of Dan Rice to fix #1326. Thanks Dan! 2012-08-25 17:27:38 +02:00
Reinier Balt
29c5103a98 handle multipart emails better in message_gateway 2012-08-24 23:47:27 +02:00
Hans de Graaff
3e2a4e4846 Fix html escaping. 2012-08-19 08:53:19 +02:00
Reinier Balt
10b6a9ea69 fix ordering of completed todos in context view 2012-08-12 11:27:37 +02:00
Matt Rogers
306d501e20 remove duplication in mobile cookie handling 2012-08-15 22:14:00 -05: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
69ead6d254 fix #1323 so Tracks works with rails 3.2.8. Update all dependencies 2012-08-11 23:54:05 +02:00
Reinier Balt
3ad632ff86 Merge pull request #95 from piglop/recurring_todo_tag_autocomplete
Recurring todo tag autocomplete
2012-07-22 05:57:34 -07:00
Michael Witrant
50bc80d49a fixed broken tag autocomplete on recurring todo edition 2012-07-22 11:09:54 +02:00
Michael Witrant
424028f09e fixed indentation when todo sub menu text is too long 2012-07-22 10:43:13 +02:00
Reinier Balt
a37d10f57a fix #1314. Fixed security issue too 2012-07-18 12:26:46 +02:00
Reinier Balt
4e29bf69f7 fix failing tests and small refactorings 2012-07-18 11:42:26 +02:00
Reinier Balt
e8c3ba2e28 fix #1313 by checking on NullProject too 2012-07-18 10:39:15 +02:00
Reinier Balt
3a3a1ac22e production needs extension of swf 2012-07-16 17:47:30 +02:00
Reinier Balt
22e166c370 add swf to asset pipeline. Fixes #1311 2012-07-16 17:38:44 +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
5a24644aad fix #1307 and add basic test 2012-07-15 20:45:37 +02:00
Reinier Balt
0d854efbbb fix #1288. Drag and drop should work on touch screens. Also upgrade jquery-ui 2012-07-13 01:53:30 +02:00
Reinier Balt
885ee7d1d1 refactorings for recurring todo model 2012-07-13 00:31:11 +02:00