RedmineRake » History » Version 7

Etienne Massip, 2013-04-24 09:47
Cleanup

1 3 Etienne Massip
h1. Rake tasks
2 1 Etienne Massip
3 1 Etienne Massip
p{color:red}. WIP
4 1 Etienne Massip
5 1 Etienne Massip
{{>toc}}
6 1 Etienne Massip
7 1 Etienne Massip
Redmine defines a set of "Rake":http://rake.rubyforge.org tasks for use in maintenance operations.
8 1 Etienne Massip
9 7 Etienne Massip
Information about tasks defined by the Ruby on Rails framework are accessible on "the dedicated page":http://guides.rubyonrails.org/command_line.html#rake.
10 1 Etienne Massip
11 7 Etienne Massip
h2. Batch job tasks
12 7 Etienne Massip
13 7 Etienne Massip
h3. @rake redmine:attachments:prune@
14 7 Etienne Massip
15 2 Etienne Massip
Available in version version:2.3.0.
16 1 Etienne Massip
17 5 Trevor Jones
When a user attaches a file to an issue, a wiki page, etc., the file is immediately uploaded and is attached later on after the form has been submitted.
18 5 Trevor Jones
19 1 Etienne Massip
This task removes uploaded files left unattached (meaning the form has never been submitted) after one day.
20 5 Trevor Jones
21 7 Etienne Massip
h3. @rake redmine:email:read@
22 5 Trevor Jones
23 5 Trevor Jones
Read an email from standard input.
24 5 Trevor Jones
25 7 Etienne Massip
h3. @rake redmine:email:receive_imap@
26 5 Trevor Jones
27 5 Trevor Jones
Read emails from an IMAP server.
28 5 Trevor Jones
29 7 Etienne Massip
h3. @rake redmine:email:receive_pop3@
30 5 Trevor Jones
31 5 Trevor Jones
Read emails from an POP3 server.
32 5 Trevor Jones
33 7 Etienne Massip
h3. @rake redmine:fetch_changesets@
34 5 Trevor Jones
35 5 Trevor Jones
Fetch changesets from the repositories
36 5 Trevor Jones
37 7 Etienne Massip
h3. @rake redmine:send_reminders@
38 5 Trevor Jones
39 5 Trevor Jones
Send reminders about issues due in the next days.
40 5 Trevor Jones
See: [[RedmineReminderEmails]]
41 5 Trevor Jones
42 7 Etienne Massip
h3. @rake redmine:tokens:prune@
43 5 Trevor Jones
44 5 Trevor Jones
Removes expired tokens.
45 5 Trevor Jones
46 7 Etienne Massip
h3. @rake redmine:watchers:prune@
47 5 Trevor Jones
48 1 Etienne Massip
Removes watchers from what they can no longer view.
49 5 Trevor Jones
Available in versions version:2.3.0
50 5 Trevor Jones
51 7 Etienne Massip
h2. Other maintenance tasks
52 5 Trevor Jones
53 7 Etienne Massip
h3. @rake generate_secret_tokenb@
54 5 Trevor Jones
55 7 Etienne Massip
Generates a secret token for the application.
56 5 Trevor Jones
57 7 Etienne Massip
h3. @rake db:encrypt@ and @rake db:decrypt@
58 5 Trevor Jones
59 7 Etienne Massip
Encrypts or decrypts SCM and LDAP passwords stored in the database.
60 5 Trevor Jones
61 7 Etienne Massip
h3. @rake redmine:attachments:move_to_subdirectories@
62 5 Trevor Jones
63 7 Etienne Massip
Moves attachments stored at the root of the file directory (ie.
64 5 Trevor Jones
Available in versions version:2.3.0
65 5 Trevor Jones
66 7 Etienne Massip
h3. @rake redmine:email:test[login]@
67 5 Trevor Jones
68 7 Etienne Massip
Send a test email to the user with the provided login name
69 5 Trevor Jones
70 7 Etienne Massip
h3. @rake redmine:permissions@
71 5 Trevor Jones
72 7 Etienne Massip
List all permissions and the actions registered with them
73 5 Trevor Jones
74 7 Etienne Massip
h3. @rake redmine:plugins@
75 5 Trevor Jones
76 7 Etienne Massip
Migrates and copies plugins assets.
77 5 Trevor Jones
78 7 Etienne Massip
h3. @rake redmine:plugins:assets@
79 5 Trevor Jones
80 7 Etienne Massip
Copies plugins assets into the public directory.
81 5 Trevor Jones
82 7 Etienne Massip
h3. @rake redmine:plugins:migrate@
83 5 Trevor Jones
84 7 Etienne Massip
Migrates installed plugins.
85 5 Trevor Jones
86 7 Etienne Massip
h2. Migrating from another BTS
87 5 Trevor Jones
88 7 Etienne Massip
h3. @rake redmine:migrate_from_mantis@
89 5 Trevor Jones
90 7 Etienne Massip
Mantis migration script
91 5 Trevor Jones
92 7 Etienne Massip
h3. @rake redmine:migrate_from_trac@
93 5 Trevor Jones
94 7 Etienne Massip
Trac migration script