##// END OF EJS Templates
Docs updated for 0.6.4 release....
Jean-Philippe Lang -
r1219:13ec81598b0f 0.6-stable
parent child
Show More
@@ -1,391 +1,404
1 1 == Redmine changelog
2 2
3 3 Redmine - project management software
4 Copyright (C) 2006-2007 Jean-Philippe Lang
4 Copyright (C) 2006-2008 Jean-Philippe Lang
5 5 http://www.redmine.org/
6 6
7 7
8 == 2007-03-12 v0.6.4
9
10 * Fixed: private projects name are displayed on account/show even if the current user doesn't have access to these private projects
11 * Fixed: potential LDAP authentication security flaw
12 * Fixed: context submenus on the issue list don't show up with IE6.
13 * Fixed: Themes are not applied with Rails 2.0
14 * Fixed: crash when fetching Mercurial changesets if changeset[:files] is nil
15 * Fixed: Mercurial repository browsing
16 * Fixed: undefined local variable or method 'log' in CvsAdapter when a cvs command fails
17 * Fixed: not null constraints not removed with Postgresql
18 * Doctype set to transitional
19
20
8 21 == 2007-12-18 v0.6.3
9 22
10 23 * Fixed: upload doesn't work in 'Files' section
11 24
12 25
13 26 == 2007-12-16 v0.6.2
14 27
15 28 * Search engine: issue custom fields can now be searched
16 29 * News comments are now textilized
17 30 * Updated Japanese translation (Satoru Kurashiki)
18 31 * Updated Chinese translation (Shortie Lo)
19 32 * Fixed Rails 2.0 compatibility bugs:
20 33 * Unable to create a wiki
21 34 * Gantt and calendar error
22 35 * Trac importer error (readonly? is defined by ActiveRecord)
23 36 * Fixed: 'assigned to me' filter broken
24 37 * Fixed: crash when validation fails on issue edition with no custom fields
25 38 * Fixed: reposman "can't find group" error
26 39 * Fixed: 'LDAP account password is too long' error when leaving the field empty on creation
27 40 * Fixed: empty lines when displaying repository files with Windows style eol
28 41 * Fixed: missing body closing tag in repository annotate and entry views
29 42
30 43
31 44 == 2007-12-10 v0.6.1
32 45
33 46 * Rails 2.0 compatibility
34 47 * Custom fields can now be displayed as columns on the issue list
35 48 * Added version details view (accessible from the roadmap)
36 49 * Roadmap: more accurate completion percentage calculation (done ratio of open issues is now taken into account)
37 50 * Added per-project tracker selection. Trackers can be selected on project settings
38 51 * Anonymous users can now be allowed to create, edit, comment issues, comment news and post messages in the forums
39 52 * Forums: messages can now be edited/deleted (explicit permissions need to be given)
40 53 * Forums: topics can be locked so that no reply can be added
41 54 * Forums: topics can be marked as sticky so that they always appear at the top of the list
42 55 * Forums: attachments can now be added to replies
43 56 * Added time zone support
44 57 * Added a setting to choose the account activation strategy (available in application settings)
45 58 * Added 'Classic' theme (inspired from the v0.51 design)
46 59 * Added an alternate theme which provides issue list colorization based on issues priority
47 60 * Added Bazaar SCM adapter
48 61 * Added Annotate/Blame view in the repository browser (except for Darcs SCM)
49 62 * Diff style (inline or side by side) automatically saved as a user preference
50 63 * Added issues status changes on the activity view (by Cyril Mougel)
51 64 * Added forums topics on the activity view (disabled by default)
52 65 * Added an option on 'My account' for users who don't want to be notified of changes that they make
53 66 * Trac importer now supports mysql and postgresql databases
54 67 * Trac importer improvements (by Mat Trudel)
55 68 * 'fixed version' field can now be displayed on the issue list
56 69 * Added a couple of new formats for the 'date format' setting
57 70 * Added Traditional Chinese translation (by Shortie Lo)
58 71 * Added Russian translation (iGor kMeta)
59 72 * Project name format limitation removed (name can now contain any character)
60 73 * Project identifier maximum length changed from 12 to 20
61 74 * Changed the maximum length of LDAP account to 255 characters
62 75 * Removed the 12 characters limit on passwords
63 76 * Added wiki macros support
64 77 * Performance improvement on workflow setup screen
65 78 * More detailed html title on several views
66 79 * Custom fields can now be reordered
67 80 * Search engine: search can be restricted to an exact phrase by using quotation marks
68 81 * Added custom fields marked as 'For all projects' to the csv export of the cross project issue list
69 82 * Email notifications are now sent as Blind carbon copy by default
70 83 * Fixed: all members (including non active) should be deleted when deleting a project
71 84 * Fixed: Error on wiki syntax link (accessible from wiki/edit)
72 85 * Fixed: 'quick jump to a revision' form on the revisions list
73 86 * Fixed: error on admin/info if there's more than 1 plugin installed
74 87 * Fixed: svn or ldap password can be found in clear text in the html source in editing mode
75 88 * Fixed: 'Assigned to' drop down list is not sorted
76 89 * Fixed: 'View all issues' link doesn't work on issues/show
77 90 * Fixed: error on account/register when validation fails
78 91 * Fixed: Error when displaying the issue list if a float custom field is marked as 'used as filter'
79 92 * Fixed: Mercurial adapter breaks on missing :files entry in changeset hash (James Britt)
80 93 * Fixed: Wrong feed URLs on the home page
81 94 * Fixed: Update of time entry fails when the issue has been moved to an other project
82 95 * Fixed: Error when moving an issue without changing its tracker (Postgresql)
83 96 * Fixed: Changes not recorded when using :pserver string (CVS adapter)
84 97 * Fixed: admin should be able to move issues to any project
85 98 * Fixed: adding an attachment is not possible when changing the status of an issue
86 99 * Fixed: No mime-types in documents/files downloading
87 100 * Fixed: error when sorting the messages if there's only one board for the project
88 101 * Fixed: 'me' doesn't appear in the drop down filters on a project issue list.
89 102
90 103 == 2007-11-04 v0.6.0
91 104
92 105 * Permission model refactoring.
93 106 * Permissions: there are now 2 builtin roles that can be used to specify permissions given to other users than members of projects
94 107 * Permissions: some permissions (eg. browse the repository) can be removed for certain roles
95 108 * Permissions: modules (eg. issue tracking, news, documents...) can be enabled/disabled at project level
96 109 * Added Mantis and Trac importers
97 110 * New application layout
98 111 * Added "Bulk edit" functionality on the issue list
99 112 * More flexible mail notifications settings at user level
100 113 * 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
101 114 * 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
102 115 * Added the ability to customize issue list columns (at application level or for each saved query)
103 116 * Overdue versions (date reached and open issues > 0) are now always displayed on the roadmap
104 117 * Added the ability to rename wiki pages (specific permission required)
105 118 * Search engines now supports pagination. Results are sorted in reverse chronological order
106 119 * Added "Estimated hours" attribute on issues
107 120 * A category with assigned issue can now be deleted. 2 options are proposed: remove assignments or reassign issues to another category
108 121 * Forum notifications are now also sent to the authors of the thread, even if they don�t watch the board
109 122 * Added an application setting to specify the application protocol (http or https) used to generate urls in emails
110 123 * Gantt chart: now starts at the current month by default
111 124 * Gantt chart: month count and zoom factor are automatically saved as user preferences
112 125 * Wiki links can now refer to other project wikis
113 126 * Added wiki index by date
114 127 * Added preview on add/edit issue form
115 128 * Emails footer can now be customized from the admin interface (Admin -> Email notifications)
116 129 * 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)
117 130 * Calendar: first day of week can now be set in lang files
118 131 * Automatic closing of duplicate issues
119 132 * Added a cross-project issue list
120 133 * AJAXified the SCM browser (tree view)
121 134 * Pretty URL for the repository browser (Cyril Mougel)
122 135 * Search engine: added a checkbox to search titles only
123 136 * Added "% done" in the filter list
124 137 * Enumerations: values can now be reordered and a default value can be specified (eg. default issue priority)
125 138 * Added some accesskeys
126 139 * Added "Float" as a custom field format
127 140 * Added basic Theme support
128 141 * Added the ability to set the �done ratio� of issues fixed by commit (Nikolay Solakov)
129 142 * Added custom fields in issue related mail notifications
130 143 * Email notifications are now sent in plain text and html
131 144 * Gantt chart can now be exported to a graphic file (png). This functionality is only available if RMagick is installed.
132 145 * Added syntax highlightment for repository files and wiki
133 146 * Improved automatic Redmine links
134 147 * Added automatic table of content support on wiki pages
135 148 * Added radio buttons on the documents list to sort documents by category, date, title or author
136 149 * Added basic plugin support, with a sample plugin
137 150 * Added a link to add a new category when creating or editing an issue
138 151 * Added a "Assignable" boolean on the Role model. If unchecked, issues can not be assigned to users having this role.
139 152 * Added an option to be able to relate issues in different projects
140 153 * Added the ability to move issues (to another project) without changing their trackers.
141 154 * Atom feeds added on project activity, news and changesets
142 155 * Added the ability to reset its own RSS access key
143 156 * Main project list now displays root projects with their subprojects
144 157 * Added anchor links to issue notes
145 158 * Added reposman Ruby version. This script can now register created repositories in Redmine (Nicolas Chuche)
146 159 * Issue notes are now included in search
147 160 * Added email sending test functionality
148 161 * Added LDAPS support for LDAP authentication
149 162 * Removed hard-coded URLs in mail templates
150 163 * Subprojects are now grouped by projects in the navigation drop-down menu
151 164 * Added a new value for date filters: this week
152 165 * Added cache for application settings
153 166 * Added Polish translation (Tomasz Gawryl)
154 167 * Added Czech translation (Jan Kadlecek)
155 168 * Added Romanian translation (Csongor Bartus)
156 169 * Added Hebrew translation (Bob Builder)
157 170 * Added Serbian translation (Dragan Matic)
158 171 * Added Korean translation (Choi Jong Yoon)
159 172 * Fixed: the link to delete issue relations is displayed even if the user is not authorized to delete relations
160 173 * Performance improvement on calendar and gantt
161 174 * Fixed: wiki preview doesn�t work on long entries
162 175 * Fixed: queries with multiple custom fields return no result
163 176 * Fixed: Can not authenticate user against LDAP if its DN contains non-ascii characters
164 177 * Fixed: URL with ~ broken in wiki formatting
165 178 * Fixed: some quotation marks are rendered as strange characters in pdf
166 179
167 180
168 181 == 2007-07-15 v0.5.1
169 182
170 183 * per project forums added
171 184 * added the ability to archive projects
172 185 * added �Watch� functionality on issues. It allows users to receive notifications about issue changes
173 186 * custom fields for issues can now be used as filters on issue list
174 187 * added per user custom queries
175 188 * commit messages are now scanned for referenced or fixed issue IDs (keywords defined in Admin -> Settings)
176 189 * projects list now shows the list of public projects and private projects for which the user is a member
177 190 * versions can now be created with no date
178 191 * added issue count details for versions on Reports view
179 192 * added time report, by member/activity/tracker/version and year/month/week for the selected period
180 193 * each category can now be associated to a user, so that new issues in that category are automatically assigned to that user
181 194 * added autologin feature (disabled by default)
182 195 * optimistic locking added for wiki edits
183 196 * added wiki diff
184 197 * added the ability to destroy wiki pages (requires permission)
185 198 * a wiki page can now be attached to each version, and displayed on the roadmap
186 199 * attachments can now be added to wiki pages (original patch by Pavol Murin) and displayed online
187 200 * added an option to see all versions in the roadmap view (including completed ones)
188 201 * added basic issue relations
189 202 * added the ability to log time when changing an issue status
190 203 * account information can now be sent to the user when creating an account
191 204 * author and assignee of an issue always receive notifications (even if they turned of mail notifications)
192 205 * added a quick search form in page header
193 206 * added 'me' value for 'assigned to' and 'author' query filters
194 207 * added a link on revision screen to see the entire diff for the revision
195 208 * added last commit message for each entry in repository browser
196 209 * added the ability to view a file diff with free to/from revision selection.
197 210 * text files can now be viewed online when browsing the repository
198 211 * added basic support for other SCM: CVS (Ralph Vater), Mercurial and Darcs
199 212 * added fragment caching for svn diffs
200 213 * added fragment caching for calendar and gantt views
201 214 * login field automatically focused on login form
202 215 * subproject name displayed on issue list, calendar and gantt
203 216 * added an option to choose the date format: language based or ISO 8601
204 217 * added a simple mail handler. It lets users add notes to an existing issue by replying to the initial notification email.
205 218 * a 403 error page is now displayed (instead of a blank page) when trying to access a protected page
206 219 * added portuguese translation (Joao Carlos Clementoni)
207 220 * added partial online help japanese translation (Ken Date)
208 221 * added bulgarian translation (Nikolay Solakov)
209 222 * added dutch translation (Linda van den Brink)
210 223 * added swedish translation (Thomas Habets)
211 224 * italian translation update (Alessio Spadaro)
212 225 * japanese translation update (Satoru Kurashiki)
213 226 * fixed: error on history atom feed when there�s no notes on an issue change
214 227 * fixed: error in journalizing an issue with longtext custom fields (Postgresql)
215 228 * fixed: creation of Oracle schema
216 229 * fixed: last day of the month not included in project activity
217 230 * fixed: files with an apostrophe in their names can't be accessed in SVN repository
218 231 * fixed: performance issue on RepositoriesController#revisions when a changeset has a great number of changes (eg. 100,000)
219 232 * fixed: open/closed issue counts are always 0 on reports view (postgresql)
220 233 * fixed: date query filters (wrong results and sql error with postgresql)
221 234 * fixed: confidentiality issue on account/show (private project names displayed to anyone)
222 235 * fixed: Long text custom fields displayed without line breaks
223 236 * fixed: Error when editing the wokflow after deleting a status
224 237 * fixed: SVN commit dates are now stored as local time
225 238
226 239
227 240 == 2007-04-11 v0.5.0
228 241
229 242 * added per project Wiki
230 243 * added rss/atom feeds at project level (custom queries can be used as feeds)
231 244 * added search engine (search in issues, news, commits, wiki pages, documents)
232 245 * simple time tracking functionality added
233 246 * added version due dates on calendar and gantt
234 247 * added subprojects issue count on project Reports page
235 248 * added the ability to copy an existing workflow when creating a new tracker
236 249 * added the ability to include subprojects on calendar and gantt
237 250 * added the ability to select trackers to display on calendar and gantt (Jeffrey Jones)
238 251 * added side by side svn diff view (Cyril Mougel)
239 252 * added back subproject filter on issue list
240 253 * added permissions report in admin area
241 254 * added a status filter on users list
242 255 * support for password-protected SVN repositories
243 256 * SVN commits are now stored in the database
244 257 * added simple svn statistics SVG graphs
245 258 * progress bars for roadmap versions (Nick Read)
246 259 * issue history now shows file uploads and deletions
247 260 * #id patterns are turned into links to issues in descriptions and commit messages
248 261 * japanese translation added (Satoru Kurashiki)
249 262 * chinese simplified translation added (Andy Wu)
250 263 * italian translation added (Alessio Spadaro)
251 264 * added scripts to manage SVN repositories creation and user access control using ssh+svn (Nicolas Chuche)
252 265 * better calendar rendering time
253 266 * fixed migration scripts to work with mysql 5 running in strict mode
254 267 * fixed: error when clicking "add" with no block selected on my/page_layout
255 268 * fixed: hard coded links in navigation bar
256 269 * fixed: table_name pre/suffix support
257 270
258 271
259 272 == 2007-02-18 v0.4.2
260 273
261 274 * Rails 1.2 is now required
262 275 * settings are now stored in the database and editable through the application in: Admin -> Settings (config_custom.rb is no longer used)
263 276 * added project roadmap view
264 277 * mail notifications added when a document, a file or an attachment is added
265 278 * tooltips added on Gantt chart and calender to view the details of the issues
266 279 * ability to set the sort order for roles, trackers, issue statuses
267 280 * added missing fields to csv export: priority, start date, due date, done ratio
268 281 * added total number of issues per tracker on project overview
269 282 * 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-)
270 283 * added back "fixed version" field on issue screen and in filters
271 284 * project settings screen split in 4 tabs
272 285 * custom fields screen split in 3 tabs (one for each kind of custom field)
273 286 * multiple issues pdf export now rendered as a table
274 287 * added a button on users/list to manually activate an account
275 288 * added a setting option to disable "password lost" functionality
276 289 * added a setting option to set max number of issues in csv/pdf exports
277 290 * fixed: subprojects count is always 0 on projects list
278 291 * fixed: locked users are proposed when adding a member to a project
279 292 * fixed: setting an issue status as default status leads to an sql error with SQLite
280 293 * fixed: unable to delete an issue status even if it's not used yet
281 294 * fixed: filters ignored when exporting a predefined query to csv/pdf
282 295 * fixed: crash when french "issue_edit" email notification is sent
283 296 * fixed: hide mail preference not saved (my/account)
284 297 * fixed: crash when a new user try to edit its "my page" layout
285 298
286 299
287 300 == 2007-01-03 v0.4.1
288 301
289 302 * fixed: emails have no recipient when one of the project members has notifications disabled
290 303
291 304
292 305 == 2007-01-02 v0.4.0
293 306
294 307 * simple SVN browser added (just needs svn binaries in PATH)
295 308 * comments can now be added on news
296 309 * "my page" is now customizable
297 310 * more powerfull and savable filters for issues lists
298 311 * improved issues change history
299 312 * new functionality: move an issue to another project or tracker
300 313 * new functionality: add a note to an issue
301 314 * new report: project activity
302 315 * "start date" and "% done" fields added on issues
303 316 * project calendar added
304 317 * gantt chart added (exportable to pdf)
305 318 * single/multiple issues pdf export added
306 319 * issues reports improvements
307 320 * multiple file upload for issues, documents and files
308 321 * option to set maximum size of uploaded files
309 322 * textile formating of issue and news descritions (RedCloth required)
310 323 * integration of DotClear jstoolbar for textile formatting
311 324 * calendar date picker for date fields (LGPL DHTML Calendar http://sourceforge.net/projects/jscalendar)
312 325 * new filter in issues list: Author
313 326 * ajaxified paginators
314 327 * news rss feed added
315 328 * option to set number of results per page on issues list
316 329 * localized csv separator (comma/semicolon)
317 330 * csv output encoded to ISO-8859-1
318 331 * user custom field displayed on account/show
319 332 * default configuration improved (default roles, trackers, status, permissions and workflows)
320 333 * language for default configuration data can now be chosen when running 'load_default_data' task
321 334 * javascript added on custom field form to show/hide fields according to the format of custom field
322 335 * fixed: custom fields not in csv exports
323 336 * fixed: project settings now displayed according to user's permissions
324 337 * fixed: application error when no version is selected on projects/add_file
325 338 * fixed: public actions not authorized for members of non public projects
326 339 * fixed: non public projects were shown on welcome screen even if current user is not a member
327 340
328 341
329 342 == 2006-10-08 v0.3.0
330 343
331 344 * user authentication against multiple LDAP (optional)
332 345 * token based "lost password" functionality
333 346 * user self-registration functionality (optional)
334 347 * custom fields now available for issues, users and projects
335 348 * new custom field format "text" (displayed as a textarea field)
336 349 * project & administration drop down menus in navigation bar for quicker access
337 350 * text formatting is preserved for long text fields (issues, projects and news descriptions)
338 351 * urls and emails are turned into clickable links in long text fields
339 352 * "due date" field added on issues
340 353 * tracker selection filter added on change log
341 354 * Localization plugin replaced with GLoc 1.1.0 (iconv required)
342 355 * error messages internationalization
343 356 * german translation added (thanks to Karim Trott)
344 357 * data locking for issues to prevent update conflicts (using ActiveRecord builtin optimistic locking)
345 358 * new filter in issues list: "Fixed version"
346 359 * active filters are displayed with colored background on issues list
347 360 * custom configuration is now defined in config/config_custom.rb
348 361 * user object no more stored in session (only user_id)
349 362 * news summary field is no longer required
350 363 * tables and forms redesign
351 364 * Fixed: boolean custom field not working
352 365 * Fixed: error messages for custom fields are not displayed
353 366 * Fixed: invalid custom fields should have a red border
354 367 * Fixed: custom fields values are not validated on issue update
355 368 * Fixed: unable to choose an empty value for 'List' custom fields
356 369 * Fixed: no issue categories sorting
357 370 * Fixed: incorrect versions sorting
358 371
359 372
360 373 == 2006-07-12 - v0.2.2
361 374
362 375 * Fixed: bug in "issues list"
363 376
364 377
365 378 == 2006-07-09 - v0.2.1
366 379
367 380 * new databases supported: Oracle, PostgreSQL, SQL Server
368 381 * projects/subprojects hierarchy (1 level of subprojects only)
369 382 * environment information display in admin/info
370 383 * more filter options in issues list (rev6)
371 384 * default language based on browser settings (Accept-Language HTTP header)
372 385 * issues list exportable to CSV (rev6)
373 386 * simple_format and auto_link on long text fields
374 387 * more data validations
375 388 * Fixed: error when all mail notifications are unchecked in admin/mail_options
376 389 * Fixed: all project news are displayed on project summary
377 390 * Fixed: Can't change user password in users/edit
378 391 * Fixed: Error on tables creation with PostgreSQL (rev5)
379 392 * Fixed: SQL error in "issue reports" view with PostgreSQL (rev5)
380 393
381 394
382 395 == 2006-06-25 - v0.1.0
383 396
384 397 * multiple users/multiple projects
385 398 * role based access control
386 399 * issue tracking system
387 400 * fully customizable workflow
388 401 * documents/files repository
389 402 * email notifications on issue creation and update
390 403 * multilanguage support (except for error messages):english, french, spanish
391 404 * online manual in french (unfinished)
@@ -1,62 +1,62
1 1 == Redmine installation
2 2
3 3 Redmine - project management software
4 Copyright (C) 2006-2007 Jean-Philippe Lang
4 Copyright (C) 2006-2008 Jean-Philippe Lang
5 5 http://www.redmine.org/
6 6
7 7
8 8 == Requirements
9 9
10 * Ruby on Rails 1.2.5 or 2.0.1
10 * Ruby on Rails 1.2.6 or 2.0.2
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 25 1. Uncompress the program archive
26 26
27 27 2. Create an empty database: "redmine" for example
28 28
29 29 3. Configure database parameters in config/database.yml
30 30 for "production" environment (default database is MySQL)
31 31
32 32 4. Create the database structure. Under the application main directory:
33 33 rake db:migrate RAILS_ENV="production"
34 34 It will create tables and an administrator account.
35 35
36 36 5. Insert default configuration data in the database:
37 37 rake redmine:load_default_data RAILS_ENV="production"
38 38 It will load default roles, trackers, statuses, workflows and enumerations.
39 39 This step is optional but *highly recommended*
40 40
41 41 6. Test the installation by running WEBrick web server:
42 42 ruby script/server -e production
43 43
44 44 Once WEBrick has started, point your browser to http://localhost:3000/
45 45 You should now see the application welcome page
46 46
47 47 7. Use default administrator account to log in:
48 48 login: admin
49 49 password: admin
50 50
51 51 8. You can go to "Admin -> Settings" to modify application settings.
52 52
53 53 9. Setup Apache or Lighttpd with fastcgi for best performance.
54 54
55 55
56 56 == SMTP server Configuration
57 57
58 58 In config/environment.rb, you can set parameters for your SMTP server:
59 59 config.action_mailer.smtp_settings: SMTP server configuration
60 60 config.action_mailer.perform_deliveries: set to false to disable mail delivering
61 61
62 62 Don't forget to restart the application after any change to this file.
@@ -1,35 +1,29
1 1 == Redmine upgrade procedure
2 2
3 3 Redmine - project management software
4 Copyright (C) 2006-2007 Jean-Philippe Lang
4 Copyright (C) 2006-2008 Jean-Philippe Lang
5 5 http://www.redmine.org/
6 6
7 7
8 8 == Upgrading from 0.3.0 and above
9 9
10 10 1. Uncompress the program archive in a new directory
11 11
12 12 3. Copy your database settings (RAILS_ROOT/config/database.yml)
13 13 into the new config directory
14 14
15 15 4. Enter your SMTP settings in config/environment.rb
16 16 Do not replace this file with the old one
17 17
18 18 5. Migrate your database (please make a backup before doing this):
19 19 rake db:migrate RAILS_ENV="production"
20 20
21 21 6. Copy the RAILS_ROOT/files directory content into your new installation
22 22
23 Note 1: Rails 1.2.2 or higher is required for version 0.4.2 and later.
23 Note 1: Rails 1.2.6 or higher is required
24 24
25 25 Note 2: when upgrading your code with svn update, don't forget to clear
26 26 the application cache (RAILS_ROOT/tmp/cache) before restarting.
27 27
28 28 Note 3: settings previously defined in custom_config.rb are now stored
29 29 in database, as of version 0.4.2. Go to "Admin -> Settings" to edit them.
30
31
32 == From 0.2.x and below
33
34 Due to major database changes since 0.2.x, there is no migration support
35 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 6 MINOR = 6
7 TINY = 3
7 TINY = 4
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
General Comments 0
You need to be logged in to leave comments. Login now