Commit graph

68 commits

Author SHA1 Message Date
Eric Allen
1f556a4f0a Bug #300: Actions can be created with dependencies through the add_new_item_form
Still lacks error checking for circular dependencies and other validation.
Also, javascript for displaying the new item is broken.

Conflicts:

	app/views/layouts/standard.html.erb
2009-11-04 22:45:38 -05:00
Eric Allen
42cbe52224 Bug #300: First shot at dependency entry in edit form
Limitations:
* No javascript update of dependency changes.
* No resolution for duplicate descriptions.

Conflicts:

	app/views/todos/_edit_form.rhtml
2009-11-04 22:40:03 -05:00
Henrik Bohre
ced0e8f531 #300: Added uncompleted_predecessors to Todo model. 2009-11-04 22:31:59 -05:00
Henrik Bohre
b136816ff1 #300: Updated Project and User models to use the new Todo model 2009-11-04 22:31:54 -05:00
Henrik Bohre
e9de70ed95 #300: Added pending state and predecessor/successor relations to Todo model 2009-11-04 22:31:50 -05:00
Eric Allen
cc033e2165 Conflicts:
db/tracks-17-blank.db
2009-11-04 22:31:17 -05:00
Henrik Bohre
947172f435 #300: Added model for dependency relation 2009-11-04 22:30:49 -05:00
Eric Allen
acad0596be WIP: contexts page mostly working 2009-10-02 19:45:49 -04:00
piglop
4e1e18da0f fixed #781:
* added a "show always" radio to the recurring todo forms
* added a show_always flag to recurring todos
* created a migration to convert existing recurring todos where show_from_delta==0
* recurring todos where show_from_delta is 0 are now shown the same day they're due

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-06-03 01:36:20 +08: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
239b38cb15 fix for the two issues in #852
* the end date is prefilled with an incorrect formatted date
* if the radio for ends_on is not selected, but a date is entered, tracks incorrectly behaves as if ends_on was checked
2009-04-01 13:51:36 +02:00
Eric Allen
dbeb793214 Support dispatching emailed-in todos based on To: field as well as From: field. Setting configured in site.yml. 2009-03-29 19:44:43 -04:00
Reinier Balt
27715aa453 fix #856 where DateTimes supplied through the rest api was not converted to the users timezone 2009-03-24 23:05:23 +01:00
Reinier Balt
324838c1c4 fix some queries for mysql4 where NOT is interpreted more strict than in mysql5. Thanks Steven for finding this one out! 2009-02-08 20:38:27 +01:00
Reinier Balt
07426ebe54 a previous commit introduced a bug where hiding a project did not hide the todos in it. Fixes #832 2009-01-24 22:13:19 +01:00
Reinier Balt
8ff7afb88c manual add fix of piglop to prevent todos from staying hidden forever 2009-01-21 13:36:26 +01:00
bsag
3554dd8dd0 Tidied formatting in app/model/preference.rb 2009-01-11 15:48:57 +00:00
Vitalie Lazu
5ee939ac47 Fixed exception in preference model when todo xml api is used with show_from attribute
Signed-off-by: bsag <butshesagirl@rousette.org.uk>
2009-01-11 23:37:14 +08:00
Reinier Balt
f79c28231b remove unused and unneccesary user_id from taggings table.
this way we can stay closer to the defaults of has_many_polymorphs thus making upgrading easier
2009-01-08 10:18:03 +01:00
Eric Allen
594ed4ca63 Don't re-generate remember token if we already have one. This should allow you to stay logged in on two devices at the same time. Closes #812. 2009-01-01 17:13:00 -05:00
Reinier Balt
0e68ded56a fix tags and fix tests 2008-12-22 23:26:38 +01:00
Reinier Balt
c618d35d3a first pass at restoring tag functionality 2008-12-22 20:55:32 +01:00
Reinier Balt
7399edc2d6 fix two ruby warnings 2008-12-22 17:02:23 +01:00
Reinier Balt
65d3536599 update tagging model 2008-12-22 16:53:26 +01:00
Reinier Balt
c5598a94ee fix small bug where a check was done on a wrong value 2008-12-18 10:17:16 +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
Reinier Balt
c46e5a9e1d show recurrence pattern in :title of a recurring todo. Needed slight refactoring to make it happen 2008-12-08 16:59:10 +01: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
539b4f96a1 add testcase for deleting a user. Resolves #734 2008-12-03 20:53:50 +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
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
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
f43447e33f added workaround for strange timezone behaviour 2008-11-27 15:48:20 +01:00
Reinier Balt
e31b05a697 update query for Postgresql
exchanging double quote with single quote in sql. Thanks Walter
2008-10-28 22:39:50 +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
c64bbb9e60 fix corner case for yearly repeating todos
also adds test for this case
2008-10-14 10:57:12 +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
3a21739be9 Merge branch 'mailer' of git://github.com/epall/tracks into master 2008-09-21 09:46:31 -07:00
Eric Allen
6e4258cfbc Use Rich Todo API for Message Gateway 2008-09-21 09:40:01 -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
3006f73cb7 Bugfix: active_contexts wasn't actually working. 2008-09-21 09:32:11 -07:00