@@ -1,231 +1,309 | |||
|
1 |
== |
|
|
1 | == Redmine changelog | |
|
2 | 2 | |
|
3 |
|
|
|
3 | Redmine - project management software | |
|
4 | 4 |
Copyright (C) 2006-2007 Jean-Philippe Lang |
|
5 |
http://redmine. |
|
|
5 | http://www.redmine.org/ | |
|
6 | ||
|
7 | ||
|
8 | == 2007-11-04 v0.6.0 | |
|
9 | ||
|
10 | * Permission model refactoring. | |
|
11 | * Permissions: there are now 2 builtin roles that can be used to specify permissions given to other users than members of projects | |
|
12 | * Permissions: some permissions (eg. browse the repository) can be removed for certain roles | |
|
13 | * Permissions: modules (eg. issue tracking, news, documents...) can be enabled/disabled at project level | |
|
14 | * Added Mantis and Trac importers | |
|
15 | * New application layout | |
|
16 | * Added "Bulk edit" functionality on the issue list | |
|
17 | * More flexible mail notifications settings at user level | |
|
18 | * Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue | |
|
19 | * Added the hability to copy an issue. It can be done from the "issue/show" view or from the context menu on the issue list | |
|
20 | * Added the ability to customize issue list columns (at application level or for each saved query) | |
|
21 | * Overdue versions (date reached and open issues > 0) are now always displayed on the roadmap | |
|
22 | * Added the ability to rename wiki pages (specific permission required) | |
|
23 | * Search engines now supports pagination. Results are sorted in reverse chronological order | |
|
24 | * Added "Estimated hours" attribute on issues | |
|
25 | * A category with assigned issue can now be deleted. 2 options are proposed: remove assignments or reassign issues to another category | |
|
26 | * Forum notifications are now also sent to the authors of the thread, even if they don�t watch the board | |
|
27 | * Added an application setting to specify the application protocol (http or https) used to generate urls in emails | |
|
28 | * Gantt chart: now starts at the current month by default | |
|
29 | * Gantt chart: month count and zoom factor are automatically saved as user preferences | |
|
30 | * Wiki links can now refer to other project wikis | |
|
31 | * Added wiki index by date | |
|
32 | * Added preview on add/edit issue form | |
|
33 | * Emails footer can now be customized from the admin interface (Admin -> Email notifications) | |
|
34 | * Default encodings for repository files can now be set in application settings (used to convert files content and diff to UTF-8 so that they�re properly displayed) | |
|
35 | * Calendar: first day of week can now be set in lang files | |
|
36 | * Automatic closing of duplicate issues | |
|
37 | * Added a cross-project issue list | |
|
38 | * AJAXified the SCM browser (tree view) | |
|
39 | * Pretty URL for the repository browser (Cyril Mougel) | |
|
40 | * Search engine: added a checkbox to search titles only | |
|
41 | * Added "% done" in the filter list | |
|
42 | * Enumerations: values can now be reordered and a default value can be specified (eg. default issue priority) | |
|
43 | * Added some accesskeys | |
|
44 | * Added "Float" as a custom field format | |
|
45 | * Added basic Theme support | |
|
46 | * Added the ability to set the �done ratio� of issues fixed by commit (Nikolay Solakov) | |
|
47 | * Added custom fields in issue related mail notifications | |
|
48 | * Email notifications are now sent in plain text and html | |
|
49 | * Gantt chart can now be exported to a graphic file (png). This functionality is only available if RMagick is installed. | |
|
50 | * Added syntax highlightment for repository files and wiki | |
|
51 | * Improved automatic Redmine links | |
|
52 | * Added automatic table of content support on wiki pages | |
|
53 | * Added radio buttons on the documents list to sort documents by category, date, title or author | |
|
54 | * Added basic plugin support, with a sample plugin | |
|
55 | * Added a link to add a new category when creating or editing an issue | |
|
56 | * Added a "Assignable" boolean on the Role model. If unchecked, issues can not be assigned to users having this role. | |
|
57 | * Added an option to be able to relate issues in different projects | |
|
58 | * Added the ability to move issues (to another project) without changing their trackers. | |
|
59 | * Atom feeds added on project activity, news and changesets | |
|
60 | * Added the ability to reset its own RSS access key | |
|
61 | * Main project list now displays root projects with their subprojects | |
|
62 | * Added anchor links to issue notes | |
|
63 | * Added reposman Ruby version. This script can now register created repositories in Redmine (Nicolas Chuche) | |
|
64 | * Issue notes are now included in search | |
|
65 | * Added email sending test functionality | |
|
66 | * Added LDAPS support for LDAP authentication | |
|
67 | * Removed hard-coded URLs in mail templates | |
|
68 | * Subprojects are now grouped by projects in the navigation drop-down menu | |
|
69 | * Added a new value for date filters: this week | |
|
70 | * Added cache for application settings | |
|
71 | * Added Polish translation (Tomasz Gawryl) | |
|
72 | * Added Czech translation (Jan Kadlecek) | |
|
73 | * Added Romanian translation (Csongor Bartus) | |
|
74 | * Added Hebrew translation (Bob Builder) | |
|
75 | * Added Serbian translation (Dragan Matic) | |
|
76 | * Added Korean translation (Choi Jong Yoon) | |
|
77 | * Fixed: the link to delete issue relations is displayed even if the user is not authorized to delete relations | |
|
78 | * Performance improvement on calendar and gantt | |
|
79 | * Fixed: wiki preview doesn�t work on long entries | |
|
80 | * Fixed: queries with multiple custom fields return no result | |
|
81 | * Fixed: Can not authenticate user against LDAP if its DN contains non-ascii characters | |
|
82 | * Fixed: URL with ~ broken in wiki formatting | |
|
83 | * Fixed: some quotation marks are rendered as strange characters in pdf | |
|
6 | 84 | |
|
7 | 85 | |
|
8 | 86 |
== 2007-07-15 v0.5.1 |
|
9 | 87 | |
|
10 | 88 |
* per project forums added |
|
11 | 89 |
* added the ability to archive projects |
|
12 | 90 |
* added �Watch� functionality on issues. It allows users to receive notifications about issue changes |
|
13 | 91 |
* custom fields for issues can now be used as filters on issue list |
|
14 | 92 |
* added per user custom queries |
|
15 | 93 |
* commit messages are now scanned for referenced or fixed issue IDs (keywords defined in Admin -> Settings) |
|
16 | 94 |
* projects list now shows the list of public projects and private projects for which the user is a member |
|
17 | 95 |
* versions can now be created with no date |
|
18 | 96 |
* added issue count details for versions on Reports view |
|
19 | 97 |
* added time report, by member/activity/tracker/version and year/month/week for the selected period |
|
20 | 98 |
* each category can now be associated to a user, so that new issues in that category are automatically assigned to that user |
|
21 | 99 |
* added autologin feature (disabled by default) |
|
22 | 100 |
* optimistic locking added for wiki edits |
|
23 | 101 |
* added wiki diff |
|
24 | 102 |
* added the ability to destroy wiki pages (requires permission) |
|
25 | 103 |
* a wiki page can now be attached to each version, and displayed on the roadmap |
|
26 | 104 |
* attachments can now be added to wiki pages (original patch by Pavol Murin) and displayed online |
|
27 | 105 |
* added an option to see all versions in the roadmap view (including completed ones) |
|
28 | 106 |
* added basic issue relations |
|
29 | 107 |
* added the ability to log time when changing an issue status |
|
30 | 108 |
* account information can now be sent to the user when creating an account |
|
31 | 109 |
* author and assignee of an issue always receive notifications (even if they turned of mail notifications) |
|
32 | 110 |
* added a quick search form in page header |
|
33 | 111 |
* added 'me' value for 'assigned to' and 'author' query filters |
|
34 | 112 |
* added a link on revision screen to see the entire diff for the revision |
|
35 | 113 |
* added last commit message for each entry in repository browser |
|
36 | 114 |
* added the ability to view a file diff with free to/from revision selection. |
|
37 | 115 |
* text files can now be viewed online when browsing the repository |
|
38 | 116 |
* added basic support for other SCM: CVS (Ralph Vater), Mercurial and Darcs |
|
39 | 117 |
* added fragment caching for svn diffs |
|
40 | 118 |
* added fragment caching for calendar and gantt views |
|
41 | 119 |
* login field automatically focused on login form |
|
42 | 120 |
* subproject name displayed on issue list, calendar and gantt |
|
43 | 121 |
* added an option to choose the date format: language based or ISO 8601 |
|
44 | 122 |
* added a simple mail handler. It lets users add notes to an existing issue by replying to the initial notification email. |
|
45 | 123 |
* a 403 error page is now displayed (instead of a blank page) when trying to access a protected page |
|
46 | 124 |
* added portuguese translation (Joao Carlos Clementoni) |
|
47 | 125 |
* added partial online help japanese translation (Ken Date) |
|
48 | 126 |
* added bulgarian translation (Nikolay Solakov) |
|
49 | 127 |
* added dutch translation (Linda van den Brink) |
|
50 | 128 |
* added swedish translation (Thomas Habets) |
|
51 | 129 |
* italian translation update (Alessio Spadaro) |
|
52 | 130 |
* japanese translation update (Satoru Kurashiki) |
|
53 | 131 |
* fixed: error on history atom feed when there�s no notes on an issue change |
|
54 | 132 |
* fixed: error in journalizing an issue with longtext custom fields (Postgresql) |
|
55 | 133 |
* fixed: creation of Oracle schema |
|
56 | 134 |
* fixed: last day of the month not included in project activity |
|
57 | 135 |
* fixed: files with an apostrophe in their names can't be accessed in SVN repository |
|
58 | 136 |
* fixed: performance issue on RepositoriesController#revisions when a changeset has a great number of changes (eg. 100,000) |
|
59 | 137 |
* fixed: open/closed issue counts are always 0 on reports view (postgresql) |
|
60 | 138 |
* fixed: date query filters (wrong results and sql error with postgresql) |
|
61 | 139 |
* fixed: confidentiality issue on account/show (private project names displayed to anyone) |
|
62 | 140 |
* fixed: Long text custom fields displayed without line breaks |
|
63 | 141 |
* fixed: Error when editing the wokflow after deleting a status |
|
64 | 142 |
* fixed: SVN commit dates are now stored as local time |
|
65 | 143 | |
|
66 | 144 | |
|
67 | 145 |
== 2007-04-11 v0.5.0 |
|
68 | 146 | |
|
69 | 147 |
* added per project Wiki |
|
70 | 148 |
* added rss/atom feeds at project level (custom queries can be used as feeds) |
|
71 | 149 |
* added search engine (search in issues, news, commits, wiki pages, documents) |
|
72 | 150 |
* simple time tracking functionality added |
|
73 | 151 |
* added version due dates on calendar and gantt |
|
74 | 152 |
* added subprojects issue count on project Reports page |
|
75 | 153 |
* added the ability to copy an existing workflow when creating a new tracker |
|
76 | 154 |
* added the ability to include subprojects on calendar and gantt |
|
77 | 155 |
* added the ability to select trackers to display on calendar and gantt (Jeffrey Jones) |
|
78 | 156 |
* added side by side svn diff view (Cyril Mougel) |
|
79 | 157 |
* added back subproject filter on issue list |
|
80 | 158 |
* added permissions report in admin area |
|
81 | 159 |
* added a status filter on users list |
|
82 | 160 |
* support for password-protected SVN repositories |
|
83 | 161 |
* SVN commits are now stored in the database |
|
84 | 162 |
* added simple svn statistics SVG graphs |
|
85 | 163 |
* progress bars for roadmap versions (Nick Read) |
|
86 | 164 |
* issue history now shows file uploads and deletions |
|
87 | 165 |
* #id patterns are turned into links to issues in descriptions and commit messages |
|
88 | 166 |
* japanese translation added (Satoru Kurashiki) |
|
89 | 167 |
* chinese simplified translation added (Andy Wu) |
|
90 | 168 |
* italian translation added (Alessio Spadaro) |
|
91 | 169 |
* added scripts to manage SVN repositories creation and user access control using ssh+svn (Nicolas Chuche) |
|
92 | 170 |
* better calendar rendering time |
|
93 | 171 |
* fixed migration scripts to work with mysql 5 running in strict mode |
|
94 | 172 |
* fixed: error when clicking "add" with no block selected on my/page_layout |
|
95 | 173 |
* fixed: hard coded links in navigation bar |
|
96 | 174 |
* fixed: table_name pre/suffix support |
|
97 | 175 | |
|
98 | 176 | |
|
99 | 177 |
== 2007-02-18 v0.4.2 |
|
100 | 178 | |
|
101 | 179 |
* Rails 1.2 is now required |
|
102 | 180 |
* settings are now stored in the database and editable through the application in: Admin -> Settings (config_custom.rb is no longer used) |
|
103 | 181 |
* added project roadmap view |
|
104 | 182 |
* mail notifications added when a document, a file or an attachment is added |
|
105 | 183 |
* tooltips added on Gantt chart and calender to view the details of the issues |
|
106 | 184 |
* ability to set the sort order for roles, trackers, issue statuses |
|
107 | 185 |
* added missing fields to csv export: priority, start date, due date, done ratio |
|
108 | 186 |
* added total number of issues per tracker on project overview |
|
109 | 187 |
* all icons replaced (new icons are based on GPL icon set: "KDE Crystal Diamond 2.5" -by paolino- and "kNeu! Alpha v0.1" -by Pablo Fabregat-) |
|
110 | 188 |
* added back "fixed version" field on issue screen and in filters |
|
111 | 189 |
* project settings screen split in 4 tabs |
|
112 | 190 |
* custom fields screen split in 3 tabs (one for each kind of custom field) |
|
113 | 191 |
* multiple issues pdf export now rendered as a table |
|
114 | 192 |
* added a button on users/list to manually activate an account |
|
115 | 193 |
* added a setting option to disable "password lost" functionality |
|
116 | 194 |
* added a setting option to set max number of issues in csv/pdf exports |
|
117 | 195 |
* fixed: subprojects count is always 0 on projects list |
|
118 | 196 |
* fixed: locked users are proposed when adding a member to a project |
|
119 | 197 |
* fixed: setting an issue status as default status leads to an sql error with SQLite |
|
120 | 198 |
* fixed: unable to delete an issue status even if it's not used yet |
|
121 | 199 |
* fixed: filters ignored when exporting a predefined query to csv/pdf |
|
122 | 200 |
* fixed: crash when french "issue_edit" email notification is sent |
|
123 | 201 |
* fixed: hide mail preference not saved (my/account) |
|
124 | 202 |
* fixed: crash when a new user try to edit its "my page" layout |
|
125 | 203 | |
|
126 | 204 | |
|
127 | 205 |
== 2007-01-03 v0.4.1 |
|
128 | 206 | |
|
129 | 207 |
* fixed: emails have no recipient when one of the project members has notifications disabled |
|
130 | 208 | |
|
131 | 209 | |
|
132 | 210 |
== 2007-01-02 v0.4.0 |
|
133 | 211 | |
|
134 | 212 |
* simple SVN browser added (just needs svn binaries in PATH) |
|
135 | 213 |
* comments can now be added on news |
|
136 | 214 |
* "my page" is now customizable |
|
137 | 215 |
* more powerfull and savable filters for issues lists |
|
138 | 216 |
* improved issues change history |
|
139 | 217 |
* new functionality: move an issue to another project or tracker |
|
140 | 218 |
* new functionality: add a note to an issue |
|
141 | 219 |
* new report: project activity |
|
142 | 220 |
* "start date" and "% done" fields added on issues |
|
143 | 221 |
* project calendar added |
|
144 | 222 |
* gantt chart added (exportable to pdf) |
|
145 | 223 |
* single/multiple issues pdf export added |
|
146 | 224 |
* issues reports improvements |
|
147 | 225 |
* multiple file upload for issues, documents and files |
|
148 | 226 |
* option to set maximum size of uploaded files |
|
149 | 227 |
* textile formating of issue and news descritions (RedCloth required) |
|
150 | 228 |
* integration of DotClear jstoolbar for textile formatting |
|
151 | 229 |
* calendar date picker for date fields (LGPL DHTML Calendar http://sourceforge.net/projects/jscalendar) |
|
152 | 230 |
* new filter in issues list: Author |
|
153 | 231 |
* ajaxified paginators |
|
154 | 232 |
* news rss feed added |
|
155 | 233 |
* option to set number of results per page on issues list |
|
156 | 234 |
* localized csv separator (comma/semicolon) |
|
157 | 235 |
* csv output encoded to ISO-8859-1 |
|
158 | 236 |
* user custom field displayed on account/show |
|
159 | 237 |
* default configuration improved (default roles, trackers, status, permissions and workflows) |
|
160 | 238 |
* language for default configuration data can now be chosen when running 'load_default_data' task |
|
161 | 239 |
* javascript added on custom field form to show/hide fields according to the format of custom field |
|
162 | 240 |
* fixed: custom fields not in csv exports |
|
163 | 241 |
* fixed: project settings now displayed according to user's permissions |
|
164 | 242 |
* fixed: application error when no version is selected on projects/add_file |
|
165 | 243 |
* fixed: public actions not authorized for members of non public projects |
|
166 | 244 |
* fixed: non public projects were shown on welcome screen even if current user is not a member |
|
167 | 245 | |
|
168 | 246 | |
|
169 | 247 |
== 2006-10-08 v0.3.0 |
|
170 | 248 | |
|
171 | 249 |
* user authentication against multiple LDAP (optional) |
|
172 | 250 |
* token based "lost password" functionality |
|
173 | 251 |
* user self-registration functionality (optional) |
|
174 | 252 |
* custom fields now available for issues, users and projects |
|
175 | 253 |
* new custom field format "text" (displayed as a textarea field) |
|
176 | 254 |
* project & administration drop down menus in navigation bar for quicker access |
|
177 | 255 |
* text formatting is preserved for long text fields (issues, projects and news descriptions) |
|
178 | 256 |
* urls and emails are turned into clickable links in long text fields |
|
179 | 257 |
* "due date" field added on issues |
|
180 | 258 |
* tracker selection filter added on change log |
|
181 | 259 |
* Localization plugin replaced with GLoc 1.1.0 (iconv required) |
|
182 | 260 |
* error messages internationalization |
|
183 | 261 |
* german translation added (thanks to Karim Trott) |
|
184 | 262 |
* data locking for issues to prevent update conflicts (using ActiveRecord builtin optimistic locking) |
|
185 | 263 |
* new filter in issues list: "Fixed version" |
|
186 | 264 |
* active filters are displayed with colored background on issues list |
|
187 | 265 |
* custom configuration is now defined in config/config_custom.rb |
|
188 | 266 |
* user object no more stored in session (only user_id) |
|
189 | 267 |
* news summary field is no longer required |
|
190 | 268 |
* tables and forms redesign |
|
191 | 269 |
* Fixed: boolean custom field not working |
|
192 | 270 |
* Fixed: error messages for custom fields are not displayed |
|
193 | 271 |
* Fixed: invalid custom fields should have a red border |
|
194 | 272 |
* Fixed: custom fields values are not validated on issue update |
|
195 | 273 |
* Fixed: unable to choose an empty value for 'List' custom fields |
|
196 | 274 |
* Fixed: no issue categories sorting |
|
197 | 275 |
* Fixed: incorrect versions sorting |
|
198 | 276 | |
|
199 | 277 | |
|
200 | 278 |
== 2006-07-12 - v0.2.2 |
|
201 | 279 | |
|
202 | 280 |
* Fixed: bug in "issues list" |
|
203 | 281 | |
|
204 | 282 | |
|
205 | 283 |
== 2006-07-09 - v0.2.1 |
|
206 | 284 | |
|
207 | 285 |
* new databases supported: Oracle, PostgreSQL, SQL Server |
|
208 | 286 |
* projects/subprojects hierarchy (1 level of subprojects only) |
|
209 | 287 |
* environment information display in admin/info |
|
210 | 288 |
* more filter options in issues list (rev6) |
|
211 | 289 |
* default language based on browser settings (Accept-Language HTTP header) |
|
212 | 290 |
* issues list exportable to CSV (rev6) |
|
213 | 291 |
* simple_format and auto_link on long text fields |
|
214 | 292 |
* more data validations |
|
215 | 293 |
* Fixed: error when all mail notifications are unchecked in admin/mail_options |
|
216 | 294 |
* Fixed: all project news are displayed on project summary |
|
217 | 295 |
* Fixed: Can't change user password in users/edit |
|
218 | 296 |
* Fixed: Error on tables creation with PostgreSQL (rev5) |
|
219 | 297 |
* Fixed: SQL error in "issue reports" view with PostgreSQL (rev5) |
|
220 | 298 | |
|
221 | 299 | |
|
222 | 300 |
== 2006-06-25 - v0.1.0 |
|
223 | 301 | |
|
224 | 302 |
* multiple users/multiple projects |
|
225 | 303 |
* role based access control |
|
226 | 304 |
* issue tracking system |
|
227 | 305 |
* fully customizable workflow |
|
228 | 306 |
* documents/files repository |
|
229 | 307 |
* email notifications on issue creation and update |
|
230 | 308 |
* multilanguage support (except for error messages):english, french, spanish |
|
231 | 309 |
* online manual in french (unfinished) |
|
1 | NO CONTENT: modified file |
@@ -1,69 +1,62 | |||
|
1 |
== |
|
|
1 | == Redmine installation | |
|
2 | 2 | |
|
3 |
|
|
|
3 | Redmine - project management software | |
|
4 | 4 |
Copyright (C) 2006-2007 Jean-Philippe Lang |
|
5 |
http://redmine. |
|
|
5 | http://www.redmine.org/ | |
|
6 | 6 | |
|
7 | 7 | |
|
8 | 8 |
== Requirements |
|
9 | 9 | |
|
10 | * Ruby on Rails 1.2.2 | |
|
10 | * Ruby on Rails 1.2.2 or higher (this release won't work with Rails 2.0) | |
|
11 | 11 |
* A database (see compatibility below) |
|
12 | 12 | |
|
13 | 13 |
Optional: |
|
14 | 14 |
* SVN binaries >= 1.3 (needed for repository browsing, must be available in PATH) |
|
15 | 15 |
* RMagick (gantt export to png) |
|
16 | 16 | |
|
17 | 17 |
Supported databases: |
|
18 | 18 |
* MySQL (tested with MySQL 5) |
|
19 | 19 |
* PostgreSQL (tested with PostgreSQL 8.1) |
|
20 | 20 |
* SQLite (tested with SQLite 3) |
|
21 | 21 | |
|
22 | 22 | |
|
23 | 23 |
== Installation |
|
24 | 24 | |
|
25 |
1. Uncompress program archive |
|
|
26 | tar zxvf <filename> | |
|
25 | 1. Uncompress the program archive | |
|
27 | 26 |
|
|
28 | 27 |
2. Create an empty database: "redmine" for example |
|
29 | 28 | |
|
30 | 29 |
3. Configure database parameters in config/database.yml |
|
31 | 30 |
for "production" environment (default database is MySQL) |
|
32 | 31 | |
|
33 | 32 |
4. Create the database structure. Under the application main directory: |
|
34 | 33 |
rake db:migrate RAILS_ENV="production" |
|
35 | 34 |
It will create tables and an administrator account. |
|
36 | 35 | |
|
37 |
5. Insert default configuration data in database: |
|
|
36 | 5. Insert default configuration data in the database: | |
|
38 | 37 |
rake redmine:load_default_data RAILS_ENV="production" |
|
39 | 38 |
It will load default roles, trackers, statuses, workflows and enumerations. |
|
40 |
This step is optional |
|
|
41 | own configuration from sratch. | |
|
39 | This step is optional but *highly recommended* | |
|
42 | 40 | |
|
43 | 41 |
6. Test the installation by running WEBrick web server: |
|
44 | 42 |
ruby script/server -e production |
|
45 | 43 |
|
|
46 | 44 |
Once WEBrick has started, point your browser to http://localhost:3000/ |
|
47 | 45 |
You should now see the application welcome page |
|
48 | 46 | |
|
49 | 47 |
7. Use default administrator account to log in: |
|
50 | 48 |
login: admin |
|
51 | 49 |
password: admin |
|
52 | 50 |
|
|
53 | 51 |
8. You can go to "Admin -> Settings" to modify application settings. |
|
54 | 52 | |
|
55 | 53 |
9. Setup Apache or Lighttpd with fastcgi for best performance. |
|
56 | 54 | |
|
57 | 55 | |
|
58 | 56 |
== SMTP server Configuration |
|
59 | 57 | |
|
60 | 58 |
In config/environment.rb, you can set parameters for your SMTP server: |
|
61 | 59 |
config.action_mailer.smtp_settings: SMTP server configuration |
|
62 | 60 |
config.action_mailer.perform_deliveries: set to false to disable mail delivering |
|
63 | 61 | |
|
64 |
Don't forget to restart the application after any change. |
|
|
65 | ||
|
66 | ||
|
67 | == Upgrading | |
|
68 | ||
|
69 | See UPGRADING | |
|
62 | Don't forget to restart the application after any change to this file. |
@@ -1,33 +1,36 | |||
|
1 |
== |
|
|
1 | == Redmine upgrade procedure | |
|
2 | 2 | |
|
3 |
|
|
|
3 | Redmine - project management software | |
|
4 | 4 |
Copyright (C) 2006-2007 Jean-Philippe Lang |
|
5 |
http://redmine. |
|
|
5 | http://www.redmine.org/ | |
|
6 | 6 | |
|
7 | 7 | |
|
8 | 8 |
== Upgrading from 0.3.0 and above |
|
9 | 9 | |
|
10 |
1. Uncompress program archive in a new directory |
|
|
11 | tar zxvf <filename> | |
|
10 | 1. Uncompress the program archive in a new directory | |
|
12 | 11 |
|
|
13 | 12 |
3. Copy your database settings (RAILS_ROOT/config/database.yml) |
|
14 | 13 |
into the new config directory |
|
15 | 14 |
|
|
16 | 4. Migrate your database: | |
|
15 | 4. Enter your SMTP settings in config/environment.rb | |
|
16 | Do not replace this file with the old one | |
|
17 | ||
|
18 | 5. Migrate your database (please make a backup before doing this): | |
|
17 | 19 |
rake db:migrate RAILS_ENV="production" |
|
18 | 20 | |
|
19 |
|
|
|
21 | 6. Copy the RAILS_ROOT/files directory content into your new installation | |
|
20 | 22 | |
|
21 |
Note 1: Rails 1.2.2 is required for version 0.4.2 and later. |
|
|
23 | Note 1: Rails 1.2.2 or higher is required for version 0.4.2 and later. | |
|
24 | This release won't work with Rails 2.0 | |
|
22 | 25 | |
|
23 | 26 |
Note 2: when upgrading your code with svn update, don't forget to clear |
|
24 | 27 |
the application cache (RAILS_ROOT/tmp/cache) before restarting. |
|
25 | 28 | |
|
26 | 29 |
Note 3: settings previously defined in custom_config.rb are now stored |
|
27 | 30 |
in database, as of version 0.4.2. Go to "Admin -> Settings" to edit them. |
|
28 | 31 | |
|
29 | 32 |
|
|
30 | 33 |
== From 0.2.x and below |
|
31 | 34 | |
|
32 | 35 |
Due to major database changes since 0.2.x, there is no migration support |
|
33 | 36 |
from 0.2.x and previous versions. |
@@ -1,35 +1,35 | |||
|
1 | 1 | require 'rexml/document' |
|
2 | 2 | |
|
3 | 3 | module Redmine |
|
4 | 4 | module VERSION #:nodoc: |
|
5 | 5 | MAJOR = 0 |
|
6 |
MINOR = |
|
|
7 |
TINY = |
|
|
6 | MINOR = 6 | |
|
7 | TINY = 0 | |
|
8 | 8 | |
|
9 | 9 | def self.revision |
|
10 | 10 | revision = nil |
|
11 | 11 | entries_path = "#{RAILS_ROOT}/.svn/entries" |
|
12 | 12 | if File.readable?(entries_path) |
|
13 | 13 | begin |
|
14 | 14 | f = File.open(entries_path, 'r') |
|
15 | 15 | entries = f.read |
|
16 | 16 | f.close |
|
17 | 17 | if entries.match(%r{^\d+}) |
|
18 | 18 | revision = $1.to_i if entries.match(%r{^\d+\s+dir\s+(\d+)\s}) |
|
19 | 19 | else |
|
20 | 20 | xml = REXML::Document.new(entries) |
|
21 | 21 | revision = xml.elements['wc-entries'].elements[1].attributes['revision'].to_i |
|
22 | 22 | end |
|
23 | 23 | rescue |
|
24 | 24 | # Could not find the current revision |
|
25 | 25 | end |
|
26 | 26 | end |
|
27 | 27 | revision |
|
28 | 28 | end |
|
29 | 29 | |
|
30 | 30 | REVISION = self.revision |
|
31 | 31 | STRING = [MAJOR, MINOR, TINY, REVISION].compact.join('.') |
|
32 | 32 | |
|
33 | 33 | def self.to_s; STRING end |
|
34 | 34 | end |
|
35 | 35 | end |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now