summaryrefslogtreecommitdiffstats
path: root/app/models/changeset.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r3928 from trunk.Eric Davis2010-08-191-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Update of Subversion changesets broken by r3466 under Solaris (#5255).Jean-Philippe Lang2010-04-111-1/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3635 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid unnecessary SQL queries when loading changesets.Jean-Philippe Lang2010-02-211-6/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove invalid utf8 sequences from commit comments and author name (#4773).Jean-Philippe Lang2010-02-201-3/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Extract method to create a Change from a Changeset.Eric Davis2010-02-021-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3360 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow commits to reference issues of parent projects and subprojects (#4674).Jean-Philippe Lang2010-01-311-2/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3357 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow referencing issue numbers in brackets. This style is used by otherEric Davis2009-09-031-1/+1
| | | | | | | | | | | | bug trackers. Examples: * "[#nnn] Worked on this issue" * "[#nnn, #mmm] Worked on these" * "[#nnn #mmm] Working some more" git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added hook, :model_changeset_scan_commit_for_issue_ids_pre_issue_update. #3279Eric Davis2009-05-301-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: links to changesets in activity and atom feeds uses project id ↵Jean-Philippe Lang2009-04-071-2/+2
| | | | | | instead project identifier (#3137). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added observers to watch model objects for mail delivery instead of calling ↵Eric Davis2009-03-281-1/+0
| | | | | | | | | | | | | | | | | | | Mailer. * Added an IssueObserver to watch when Issues are created * Added a JournalObserver to watch when Journals are created (Issue updates) * Added a NewsObserver for News items. * Added a DocumentObserver for Document notifications. * Setup IssuesController#new to use the IssueObserver. * Setup IssuesController#edit to use the IssueObserver. * Setup IssuesController#bulk_edit to use the JournalObserver. * Removed the Mailer call in Changeset#scan_commit_for_issue_ids, the JournalObserver will handle it. * Removed Mailer calls in MailHandler in favor of the Observers. #2659 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not repeat one-line commit logs on the activity view.Jean-Philippe Lang2009-02-011-2/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2346 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display latest user's activity on account/show view.Jean-Philippe Lang2008-11-301-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2066 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Maps repository users to Redmine users (#1383).Jean-Philippe Lang2008-11-101-16/+14
| | | | | | Users with same username or email are automatically mapped. Mapping can be manually adjusted in repository settings. Multiple usernames can be mapped to the same Redmine user. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2006 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes error with CVS+Postgresql and non-UTF8 commit logs (#917, #1659).Jean-Philippe Lang2008-08-261-2/+7
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for commit logs reencoding to UTF-8 before insertion in the ↵Jean-Philippe Lang2008-08-261-1/+18
| | | | | | | | database (#834, #917, #1663). Source encoding of commit logs can be selected in Application settings -> Repositories. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1767 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Activity refactoring.Jean-Philippe Lang2008-07-271-0/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1701 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: using '*' as keyword for repository referencing keywords doesn't work ↵Jean-Philippe Lang2008-05-251-1/+1
| | | | | | when issue id is at the beginning of a line (#1253). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1451 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to search all projects or the projects the user belongs to (#791).Jean-Philippe Lang2008-05-181-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Postgresql 8.3 compatibility fix (#834).Jean-Philippe Lang2008-04-261-0/+4
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Git support branch (r1200 to r1226).Jean-Philippe Lang2008-03-121-4/+7
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1236 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Activity enhancements:Jean-Philippe Lang2008-03-111-0/+4
| | | | | | | * overall activity view and feed added, link is available on the project list (#423, #494) * switch added on the project activity view to include subprojects (closes #530) git-svn-id: http://redmine.rubyforge.org/svn/trunk@1227 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: fetch_changesets fails on commit comments that close 2 duplicates issues.Jean-Philippe Lang2008-03-011-0/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Create a journal and send an email when an issue is closed by commit (#609).Jean-Philippe Lang2008-02-061-1/+15
| | | | | | The redmine user is found using the committer username or email. Otherwise, the journal is created with anonymous user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1126 e93f8b46-1217-0410-a6f0-8f06a7374b81
* * Added links to previous and next revisions on revision view (patch by ↵Jean-Philippe Lang2007-12-011-0/+10
| | | | | | | | | Cyril Mougel slightly edited) * Fixed TimelogController#report december error * Fixed ProjectsControllerTest#test_activity 1st and 2nd day of the month failure git-svn-id: http://redmine.rubyforge.org/svn/trunk@938 e93f8b46-1217-0410-a6f0-8f06a7374b81
* * Referencing issues in commit messages: enter * in 'Referencing keywords' ↵Jean-Philippe Lang2007-11-201-0/+9
| | | | | | | | to link any issue id without using keywords. * Updated Polish translation (Mariusz Olejnik). git-svn-id: http://redmine.rubyforge.org/svn/trunk@918 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Commit message parser:Jean-Philippe Lang2007-10-221-7/+6
| | | | | | | * Fixed: Error when parsing a commit message with duplicate issue identifiers * Strip referencing and fixing keywords git-svn-id: http://redmine.rubyforge.org/svn/trunk@861 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to set the "done ratio" of issues fixed by commit ↵Jean-Philippe Lang2007-10-101-1/+3
| | | | | | (original path by Nikolay Solakov, slightly edited). git-svn-id: http://redmine.rubyforge.org/svn/trunk@821 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Search engines now supports pagination.Jean-Philippe Lang2007-09-271-0/+5
| | | | | | Results are sorted in reverse chronological order. git-svn-id: http://redmine.rubyforge.org/svn/trunk@766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-291-0/+6
| | | | | | | | | Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changeset comments are now stripped before being stored in the database ↵Jean-Philippe Lang2007-08-251-0/+4
| | | | | | (patch by Nicholas Wieland). git-svn-id: http://redmine.rubyforge.org/svn/trunk@657 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added Darcs basic support.Jean-Philippe Lang2007-06-241-0/+1
| | | | | | Files in the repository can not be viewed or downloaded since Darcs doesn't support cat-like command. git-svn-id: http://redmine.rubyforge.org/svn/trunk@573 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: 10342 Creation of Schema in OracleJean-Philippe Lang2007-04-251-2/+2
| | | | | | | | | | | | Comment is a reserved keyword for Oracle. The five 'Comment' columns are renamed to 'Commments'. Migration scripts were modified to let oracle users create the database. For the others, migration 41 will rename the columns (only if columns have the 'old' name). Fixed also a few oracle specific issues. Note: currently (in Rails 1.2.3), there's bug in Rails oracle adapter. See: http://dev.rubyonrails.org/ticket/7344 Attached patch is required for redMine to work properly. git-svn-id: http://redmine.rubyforge.org/svn/trunk@479 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Commit messages are now scanned for referenced or fixed issue IDs.Jean-Philippe Lang2007-04-241-0/+38
| | | | | | | | | | | | | Keywords and the status to apply to fixed issues can be defined in Admin -> Settings. Default keywords: - for referencing issues: refs, references, IssueID - for fixing issues: fixes,closes There's no default status defined for fixed issue. You'll have to specify it if you want to enable auto closure of issues. Example of a working commit message: "This commit references #1, #2 and fixes #3" git-svn-id: http://redmine.rubyforge.org/svn/trunk@473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added simple svn statistics graphs, rendered using SVG::GraphJean-Philippe Lang2007-03-251-1/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* SVN commits are now stored in the database, and added to the activity view ↵Jean-Philippe Lang2007-03-251-0/+25
and the search engine. New commits are automatically retrieved and stored when consulting the repository in the app. This behaviour can be disabled by unchecking 'Autofecth commits' in configuration settings. Commits can be fetched offline by running (recommanded at least for the initial import of past commits): ruby script/runner "Repository.fetch_changesets" It will load commits for all of the repositories. git-svn-id: http://redmine.rubyforge.org/svn/trunk@377 e93f8b46-1217-0410-a6f0-8f06a7374b81