Jyri-Petteri Paloposki
86e36b07a6
Fix syntax errors for upgrade of Rails version
2024-06-06 01:43:48 +03:00
Jyri-Petteri Paloposki
83dd49a52f
Small fix to fi locale and whitespace changes to migrate script
2021-01-06 15:33:13 +02:00
Jyri-Petteri Paloposki
9982217ee9
Add theme selector to preferences and return the previous black theme as an alternative
2020-08-20 02:46:45 +03:00
Jyri-Petteri Paloposki
1936c90c95
Record and show the last time users have logged in
2020-08-10 16:54:48 +03:00
Jyri-Petteri Paloposki
8369bf9e96
#2448 : Add created_at and updated_at fields to the user model and display the creation date in user list
2020-08-07 21:16:32 +03:00
Jyri-Petteri Paloposki
dbaa9a85cb
Add a field for user email address
2020-07-20 18:41:10 +03:00
Utsav Sethi
970146f710
Change "todos.description" from "string" to "text"
...
DB field "todos.description" was type string, which
defaults to length 255 in MySQL. Model allows field
to be up to 300 characters, which could cause a DB
error, if user saved a description of between 255
and 300 characters.
2020-01-13 15:19:23 -06:00
Jyri-Petteri Paloposki
b94f2cdcfd
#2295 : Fix for the migration bug in MySQL
2019-11-06 01:32:46 +02:00
Carsten Otto
be68737572
fix for Postgres: replace " by ', use row['colname'] instead of row[n]
...
fixes #2277
2019-09-07 11:40:18 +02:00
Jyri-Petteri Paloposki
ad0f617d7c
#1955 : Change the logic concerning unused tags and add CHANGELOG entries
2019-07-19 03:26:26 +03:00
Jyri-Petteri Paloposki
1c61f9cffb
#1955 : Fix the migration queries
2019-06-27 16:48:26 +03:00
Jyri-Petteri Paloposki
5394973346
#1955 : Migrate tags to belong to named users for enhanced privacy.
2019-06-25 11:37:34 +03:00
Steven R. Baker
6fb6cac89c
Add Rails version to the migrations.
2019-05-13 18:42:57 +02:00
Carsten Otto
6805cb801b
Add migration script to remove 'project_hidden'
2016-04-16 09:28:11 +02:00
Jan-Yves Ruzicka
ccf13418f4
Extract rendering to helper method. Shift filename sanitization to controller.
2016-02-02 11:08:12 +00:00
Reinier Balt
2bd68fecb7
Create attachment model and hook it up to todo
...
An attachment has write permissions on group so that managing
attachments work from different users in same group, i.e. user apache
and user mail.
2015-08-05 16:05:19 +02:00
Carsten Otto
d480569629
occurence -> occurrence
2015-02-10 15:49:13 +01:00
Reinier Balt
008d3d4c3d
fix mysql error on old migration. prevented ci from running
2014-01-02 19:41:02 +01:00
Reinier Balt
eaa66be698
fix deprecation warnings
2013-09-13 16:44:59 +02:00
Dan Rice
257b969aff
Fix code formatting in AddStateToContext migration
2013-03-02 03:19:40 -05:00
Dan Rice
560f2ff538
Give the Context.state column a default value of 'active'
...
SQLite does not permit a NOT NULL column to have default value NULL.
2013-03-02 03:02:05 -05:00
Reinier Balt
29f28db810
fix migration for rollback
2013-03-01 16:48:52 +01:00
Reinier Balt
99eed9f638
add state machine to context including a closed state
2013-03-01 16:22:29 +01:00
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
Dan Rice
c1f1fcb35b
Use say() instead of puts() in migrations
2012-12-04 19:04:21 -05:00
Dan Rice
1de6a0c9dc
Reload columns before rendering notes during migration
...
Fixes #1351
2012-12-04 18:44:58 -05:00
Reinier Balt
702c89e754
add tolk to Tracks for easy management of translations. Limited to development
...
environment only. Need migration.
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2012-07-18 14:58:24 +02:00
Michael Witrant
0572a89a4d
removed support for Rails < 3.0
2012-07-08 21:10:54 +02:00
Michael Witrant
6fd369b91e
fixed AddRenderedNotes migration on Rails > 3.1
2012-07-07 10:27:59 +02:00
Matt Rogers
598891c1d3
Don't use dynamic finders in this migration.
...
For whatever reason, the dynamic finders aren't available in this
migration and so the migration fails. Converting to find(:all,
:conditions => {...}) prevents this from not failing.
2012-05-13 21:03:38 -05:00
Matt Rogers
a97384f318
Workaround a problem with SQLite 3 and long index names
...
Index names can only be a certain length. The remove_user_from_taggings
migration, when run on sqlite3, creates an index name that violates the
maximum length check. Fix it by removing and then recreating the indexes
as part of the migration.
2012-05-12 22:01:31 -05:00
Matt Rogers
8979d2cf9f
remove the double .rb extension
...
one .rb is quite enough. ;)
2012-05-04 22:21:15 -05: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
98bb405f69
fix #1274 by adding indeces for dependency and project tables
2012-04-09 12:58:29 +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
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
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
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
af711c2568
also update sql in migration for mysql4 users
2009-02-08 22:08:49 +01:00