Commit graph

54 commits

Author SHA1 Message Date
Dan Rice
969d225892 Reload columns before rendering notes during migration
Fixes #1351
2012-12-04 18:47:53 -05:00
Reinier Balt
9b0555f78c update version for 2.1 release 2012-04-19 00:27:50 +02:00
Reinier Balt
1eea06052e store rendered notes of todos in database to avoid costly rendering when you load a page 2012-04-12 13:38:17 +02:00
Reinier Balt
62cd82d348 fix #1274 by adding indeces for dependency and project tables 2012-04-09 13:07:14 +02:00
Reinier Balt
0479c7b81c Updating for RC1 release 2012-04-03 14:41:57 +02:00
Reinier Balt
3a07010338 first cleanups of review feature 2011-09-28 13:58:46 +02:00
sfischme
33befa88b3 added preference settings 2011-09-15 21:06:50 -04:00
sfischme
77b6c931ca added separate database field for reviews 2011-09-15 20:52:24 -04:00
Jan Stępień
97431324db Password-rehashing "down" for migration 20110727073510
Reinier Balt wrote:
> One problem I see is when people want to downgrade. You chop the
> password field back to 40 chars, but it will cause all users incapable
> of logging in. Perhaps we can put a default password in the password on
> migration.down? like sha1('secret123') so we leave Tracks operable on
> downgrade?

https://github.com/bsag/tracks-old/pull/26#issuecomment-2001500
2011-09-07 16:06:03 +02:00
Jan Stępień
42437eadfa Changed the length of users.crypted_password to 60 2011-09-07 16:06:01 +02:00
Reinier Balt
6e97541ab3 make sure toggle_check and deleting of todos, recurring_todos and projects work in the new done views 2011-07-09 17:21:36 +02:00
Reinier Balt
c2be07c6c3 update migration to make the default nil instead of empty string to maintain backward compatibility
running 2.0 (old aasm) tests on migrated db gives a lot of errors because of the empty string
2011-06-10 23:17:23 +02:00
Stefan Richter
1cf5967eb5 adding missing table 2011-06-10 23:17:21 +02:00
Stefan Richter
fdbd2a6391 fixing issue with wrong initial value of state column 2011-06-10 23:17:20 +02:00
Reinier Balt
79673bc1ab upgrade example databases 2011-02-26 21:15:21 +01:00
Marcus Ilgner
338d4bb5a6 Added locale selection to preferences
Mostly completed transition to full i18n
Incorporated german translations by Ulf Klose <ulf.klose@gmail.com>
2011-01-16 18:14:07 +01:00
Reinier Balt
0198a2fa13 fix #936 by adding index on state for todos. Needs migration of database. 2010-05-02 18:25:25 +02:00
Eric Allen
e4394761c5 Blank DB with pre-defined contexts for easier start
Fixes #968
2010-04-02 09:46:20 -04:00
Eric Allen
31624d5f9c Blanking out the "blank" DB 2009-12-02 22:22:31 -05:00
Eric Allen
101df3fb6b Simple dependency handling working on project page.
The database contains actions with dependencies.
Please rename to tracks-17-blank.db or update database path accordingly.

Conflicts:

	app/views/todos/toggle_check.js.rjs
2009-11-04 22:32:44 -05:00
Eric Allen
cc033e2165 Conflicts:
db/tracks-17-blank.db
2009-11-04 22:31:17 -05:00
Henrik Bohre
9871755140 #300: Added migration for dependencies support 2009-11-04 22:30:20 -05:00
Reinier Balt
e87bd5b19a update sample databases to latest migration and vacuum them 2009-08-05 21:03:10 +02: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
Eric Allen
42bea2490b Fix #592 be able to set default tags for a project. Default tags can now be specified when creating or editing a project, and they will be applied to any new todos created in that project. 2009-04-15 21:54:31 -04:00
Reinier Balt
fc84a5979a update sqlite sample database to latest migrations 2009-02-09 11:13:56 +01:00
Reinier Balt
af711c2568 also update sql in migration for mysql4 users 2009-02-08 22:08:49 +01:00
mike
6bc68bcf6c Added migration to fix incorrectly hidden todos
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-01-20 04:20:08 +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
bsag
498be90be6 Minor updates to the example db. 2008-12-14 11:43:34 +00:00
Reinier Balt
2aa949f22a update the sample sqlite databases and update sample content sql. Solves #802 2008-12-10 09:42:35 +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
764e41685b fix migration to fill the updated_at column. The rss feeds need a filled column. Fixes #794 2008-11-26 10:53:00 +01:00
Reinier Balt
49f9f33ac0 add updated_at column to todos table
This timestamp was missing. All other tables with timestamps have update_at. Could use this in statistics
2008-11-21 13:36:10 +01:00
Eric Allen
a9a02896a0 Another shot at fixing migration 42. Actually tested to work. 2008-10-09 10:14:26 -04:00
Eric Allen
b36ed96813 Wow I broke the migration. Oops. 2008-10-08 23:47:59 -04:00
Eric Allen
24c2b57b4a Make migration 42 more resilient: don't freak out when user has no prefs object 2008-10-08 11:26:06 -04: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
a5f77976ad Bump migration to avoid conflict when merging to trunk 2008-09-21 18:21:35 -07:00
Eric Allen
f52a2eafa8 A few fixes after more thorough review. 2008-09-21 18:13:21 -07:00
Eric Allen
778427405a Changed all Date objects to Datetimes and migrated everything appropriately. Tests & specs pass, but this still needs a thorough review. 2008-09-13 13:33:48 -07:00
Eric Allen
8238e488a2 Bump migration to avoid conflict 2008-09-06 18:33:14 -07:00
epall
8783beb280 Added SMS and MMS gateway that can handle a variety of messages formats along with a set of testes for it.
NOTE: this is the first patch submitted on ticket
2008-09-06 18:08:34 -07:00
Reinier Balt
c113a0f800 update sqlite sample databases to latest migration
also clean the sessions and vacuum the databases
2008-08-25 10:01:15 +02:00
Reinier Balt
c6dc3fcd5b forgot to add new migration in last commit 2008-08-04 09:16:01 +02:00
Reinier Balt
edb6afd115 add some indexes that speed up some queries
found with the help of query_reviewer at http://code.google.com/p/query-reviewer/
also fixed a removal of an index when you migrate back
you need to rake db:migrate to create the indexes
2008-08-03 22:05:31 +02:00
Reinier Balt
8bc41e2cb0 add recurring todos to tracks 2008-07-19 20:27:45 +02:00
Simon Rozet
87444e7109 stop versionning schema.rb 2008-06-23 21:39:16 +02:00
bsag
7b432a74ed Schema update after Rails 2.1 update 2008-06-18 13:31:16 +01:00