Commit graph

77 commits

Author SHA1 Message Date
Reinier Balt
747c84ba7c Merge branch '1.7_branch' 2008-12-22 23:32:06 +01:00
Reinier Balt
c618d35d3a first pass at restoring tag functionality 2008-12-22 20:55:32 +01:00
Piotr Adamski
0c5737e986 Missing change in ContextController, that should be supplied with fix for Ticket #630 http://dev.rousette.org.uk/ticket/630 2008-12-17 17:15:04 +01:00
Reinier Balt
c1d0e8d7cc Merge git://github.com/graaff/tracks into opensearch 2008-12-11 08:30:18 +01:00
Hans de Graaff
307e85287c OpenSearch support.
This implements #804.
2008-12-10 21:34:36 +01:00
Eric Allen
611a53e668 No point in changing the name of the OpenID identity column in users table. Use the existing one. 2008-12-08 18:51:33 -05:00
Eric Allen
930999829b Re-write OpenID code to use new authentication plugin. Tested to work! 2008-12-08 00:52:57 -05:00
Reinier Balt
3ddabd20d1 implement suggestions for search in #787
* the search form gets focus when loaded
* searching on contexts and tags added
2008-12-03 20:25:05 +01:00
Reinier Balt
2101ed6cf8 fix failing tests
selenium, unit and functional all pass
2008-12-03 14:03:59 +01:00
Reinier Balt
1432471fd5 refactor sidebar and fix error on editing projects 2008-12-03 12:59:34 +01:00
Reinier Balt
e143a03f73 restores sidebar and refactor sidebar
sidebar was not shown after rails upgrade
2008-12-03 12:31:24 +01:00
Luke Melia
35ae5fc431 Next step in upgrading Tracks to Rails 2.2. Some highlights:
* Ran rake rails:update
* Added old actionwebservice framework
* Updated RSpec and RSpec-Rails
* Removed asset_packager plugin (not compatible, Scott no longer maintaining), and replaced with bundle_fu. See the bundle_fu README for more info.
* Hacks to UJS and ARTS plugins, which are no longer supported. Probably should move off both UJS and RJS.
* Hack to flashobject_helper plugin (upgrade to Rails 2.2-compatible version if/when it comes out.)
* Hack to skinny-spec plugin, for Rails 2.2 compatibility. Should check for official release.
* Hacks to resource_feeder plugin, for Rails 2.2 compatibility. Should check for official release (not likely) or move off it.
* Addressed some deprecation warnings. More to come.
* My mobile mime type hackery is no longer necessary with new Rails features. Yay!
* Updated environment.rb.tmpl with changes

TODO:
* Restore view specs marked pending
* Fix failing integration tests.
* Try selenium tests.
* Investigate OpenID support.
* Address deprecation warnings.
* Consider moving parts of environment.rb to initializers
* Address annoying config.gem warning about highline gem
2008-11-30 00:34:15 -05:00
Reinier Balt
ee30571855 fix #793 where the feed title is given more information about the content
also fixes project feed where the link in the feed points to the context of the todo instead of the project
2008-11-29 20:32:39 +01:00
Reinier Balt
9d246f70cd Fix #795.
Similar hack as f43447e33f
2008-11-29 15:55:16 +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
4a78b9f97a fix case where deleting a completed todo which belongs to a recurring todo resulted in multiple todos belonging to the recurring pattern or no todo at all 2008-11-28 16:52:54 +01:00
Reinier Balt
4a98ee5669 several fixes to recurring todos and adds some named_scopes
fixes case where unmarking a complete todo which belongs to a recurring pattern results in two todos that both keep on recurring. With this fix a new todo will only be created when there are no active todos left belonging to that recurring pattern

fixes tests that failed because of previous commits

adds some named_scopes, inspired by http://railscasts.com/episodes/108
2008-11-28 16:39:50 +01:00
Reinier Balt
f40c35276f fix the sort order for tag view. It is now the same as on the home page 2008-11-14 11:40:10 +01:00
Reinier Balt
33eba10e88 fix small timezone issue (#786) with the date that is shown for a todo 2008-11-11 15:24:16 +01:00
Reinier Balt
f21908a2a0 Fixes corner case where checking a monthly recurring todo complete on
the same day the todo comes from tickler, a new todo is created and not
put in the tickler for next month, but for today
2008-10-29 16:40:45 +01:00
Reinier Balt
76d72b54bf Merge branch 'sort_projects_by_todos' of git://github.com/waltercruz/tracks 2008-10-28 20:59:07 +01:00
waltercruz
6d212cc21a Applying patch suggested by Reinier Balt and fixing the test 2008-10-28 17:44:49 -02:00
waltercruz
0b57b23b2d html fixes and sort by number of todos logic 2008-10-28 16:40:28 -02:00
Reinier Balt
a3f23c60e4 fixes #786 where timezone handling of RoR screwed the algorithm to find the last sunday of march in 2009
Fix is a bit of a hack, see #786 for futher explanation.
2008-10-22 10:16:31 +02:00
Reinier Balt
ce671f23f4 fix bug introduced by last commit and add test for it
also refactor check_for_next_todo a bit to depend less on globals
2008-10-14 22:49:17 +02:00
Reinier Balt
1118a582d7 add check for actions that should move from tickler to home page to the index page for todos 2008-10-07 20:20:47 +02:00
Reinier Balt
7b90c00d84 fix corner case where checking repeating todos complete that are due todo today will create a new todo that is also due today
with the intriduction of datetime for due and show_from, the time part needed to be discarded in a compare
also adding some comments to be able to understand the code better
2008-10-06 11:11:56 +02:00
Reinier Balt
89043af7ff fix editing of todos (also delete and check complete)
bug was introduced in calendar code
2008-10-04 20:41:12 +02:00
Reinier Balt
5d30512e97 add message when there are no actions in a container and handle state changes 2008-10-04 15:56:22 +02:00
Reinier Balt
541d6f5b69 add calendar to menu and implement ical
tested ical with outlook 2007
2008-10-03 22:44:58 +02:00
Reinier Balt
fcaea3ce20 first pass at adding calendar view 2008-10-03 14:16:43 +02:00
Eric Allen
397029dfc1 Add Selenium test for bug #776 and bug #775 and resolve both. Also fixed an unreported issue where deferring a todo by editing its show_from wouldn't hide an empty context. 2008-10-02 21:15:05 -04:00
Reinier Balt
0f4a80d839 fix recurring todos where new todos were not placed in tickler
there was a Date.now in the code that was not migrated to the new timezone handling
2008-10-02 09:49:51 +02:00
Walter Cruz
ee5c730f44 Ading a sort by number of tasks option 2008-09-23 17:06:14 -03:00
Eric Allen
ba9a9370cc Merge branch 'timezones' of git://github.com/epall/tracks into master.
Re-wrote all Date-related code to use Datetimes, created a migration to get rid of all date columns in the database, and got rid of Time.now calls that were not time zone-aware. Lots of time zone goodness!
2008-09-21 18:24:12 -07: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
Eric Allen
f52a2eafa8 A few fixes after more thorough review. 2008-09-21 18:13:21 -07:00
Eric Allen
383328fab6 Merge branch 'defer_buttons' of git://github.com/epall/tracks into master 2008-09-21 11:59:35 -07:00
Eric Allen
3353626016 Move Rich Todo API into Todo class and clean it up a bit 2008-09-21 09:35:34 -07:00
Eric Allen
1324652726 Handle timezones properly in defer buttons 2008-09-07 06:38:00 -07:00
epall
539fda21dc Preliminary defer buttons 2008-09-06 18:25:24 -07:00
Reinier Balt
3a56d2bdd2 clean up export controller a bit. also some cleanups in the view 2008-09-05 17:53:18 +02:00
Reinier Balt
88159d3f6a add recurring todos to export to yml and xml 2008-09-05 17:41:30 +02:00
Reinier Balt
1239a2cd61 Merge branch 'master' of git://github.com/gorn/tracks 2008-09-05 17:07:53 +02:00
Jakub A.Tesinsky
229a114441 mport feature added. Everything gets imported except updated_at fields.
IDs of objects are not copied, but created as new so there could be no conflict with existing objects.
2008-09-05 03:25:56 +02:00
Reinier Balt
18815769bb fix corner case for repeating todos without due date 2008-08-29 10:05:14 +02:00
Reinier Balt
abdac8855d restore page title in tag view 2008-08-28 10:25:58 +02:00
Reinier Balt
9d09a4d47a fix #763 where all tags were shown twice
thanks Marcin for the report
2008-08-27 20:54:56 +02:00
Reinier Balt
4d11e156f4 fix moving todos from one context to another on tag view
also fix ordening on the collections on the tag view page
2008-08-26 16:07:35 +02:00
Reinier Balt
874576f315 fix small error where Time was compared to Date 2008-08-25 10:20:05 +02:00