Commit Graph

226 Commits

Author SHA1 Message Date
Eric Davis c28b044d68 Added branch and tag support to the git repository viewer. (#1406)
Many thanks to Adam Soltys and everyone else who tested this patch.

* Updated git test repository so it has a branch with some differences from the master branch
* Moved redmine diff class into a module so as not to clash with diff-lcs gem which is required by grit
* Find changesets from all branches, not just master
* Got revision browsing working
* Got file actions working properly
* Allow browsing by short form of commit identifier
* Added a method to retrieve repository branches
* Allow browsing by branch names as well as commit numbers
* Handle the case where a git repository has no master branch
* Expand revision box and handle finding revisions by first 8 characters
* Added branches dropdown to repository show page
* Combined repository browse and show into a single action.  Moved branch/revision navigation into a partial.
* Renamed partial navigation -> breadcrumbs
* Made it so latest revisions list uses branch and path context
* Preserve current path when changing branch or revision
* Perform slightly more graceful error handling in the case of invalid repository URLs
* Allow branch names to contain periods
* Allow dashes in branch names
* Sort branches by name
* Adding tags dropdown
* Need to disable both branches and tags dropdowns before submitting revision form
* Support underscores in revision (branch/tag) names
* Making file history sensitive to current branch/tag/revision, adding common navigation to changes page
* Updated translation files to include labels for 'branch', 'tag', and 'view all revisions'
* Reenable fields after submit so they don't look disabled and don't stay disabled on browser back button
* Instead of dashes just use empty string for default dropdown value
* Individual entry views now sport the upgraded revision navigation
* Don't display dropdowns with no entries
* Consider all revisions when doing initial load
* Fixed bug grabbing changesets.  Thanks to Bernhard Furtmueller for catching.
* Always check the entire log to find new revisions, rather than trying to go forward from the latest known one
* Added some cleverness to avoid selecting the whole changesets table any time someone views the repository root
* File copies and renames being detected properly
* Return gracefully if no revisions are found in the git log
* Applied patch from Babar Le Lapin to improve Windows compatibility

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-08-15 22:41:40 +00:00
Eric Davis ff0e5b019c Fixed missing translation for 'field_issue_to', the translation files ended in _id.
#3678

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-08-02 04:55:16 +00:00
Azamat Hackimov d1ee28758f Translation updates (#3374, #3375, # 3378, #3380, #3381)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-18 14:11:02 +00:00
Jean-Philippe Lang 1d5479c1af Translations updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 14:37:26 +00:00
Jean-Philippe Lang 52b5b29203 Adds a setting to choose which role is given to a non-admin user who creates a project (#1007).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 14:35:00 +00:00
Jean-Philippe Lang ce8bd16020 Translations updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 14:04:08 +00:00
Jean-Philippe Lang 8141110eb2 Ability to allow non-admin users to create projects (#1007).
This can be enabled in permissions settings. A non-admin user who creates a project is automatically added as a project member (the first role is given, TODO: make this given role configurable).
Projects can be added from the public projects list.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 12:59:14 +00:00
Jean-Philippe Lang 9c9dc6e814 Adds email notification on wiki changes (#413). It's disabled by default and can be enabled in application settings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 09:55:13 +00:00
Jean-Philippe Lang b557393252 Ticket grouping (#2679).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-26 13:09:14 +00:00
Jean-Philippe Lang 070c18746e Fixed: %0.2f is rendered as plain text in issues/destroy view (#3167).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-24 17:18:36 +00:00
Jean-Philippe Lang 31cf9be7ab Makes minimum password length configurable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-21 13:43:57 +00:00
Jean-Philippe Lang bb44430b63 Ask user what to do with child pages when deleting a parent wiki page (#3202).
3 options are available:
* move child pages as root pages
* move child pages to another parent page
* delete all descendants

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-21 12:19:56 +00:00
Azamat Hackimov 80acb00454 Fixing bug #3009, trivial updates of locales
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-22 20:33:21 +00:00
Azamat Hackimov ad34778cb1 fast translation update (#2969, #2978, #2989, #2994, #2999, #3006)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-22 20:15:10 +00:00
Jean-Philippe Lang 6a9fcb23d0 Adds a lang string with arguments for date ranges (#2305).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-13 19:03:34 +00:00
Jean-Philippe Lang 48e7b11065 pt-BR update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-13 18:27:51 +00:00
Jean-Philippe Lang c7c8dc71f2 Ability to save "sort order" in custom queries (#2899).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-12 18:06:54 +00:00
Jean-Philippe Lang 02ecc8aa15 Fixes typo in locales (#2805).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-04 18:09:15 +00:00
Jean-Philippe Lang 0d86bbf3ad Added missing field_content translation (#2896).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-04 17:29:02 +00:00
Jean-Philippe Lang bd8ae3547e Removes double % in locales (#2891).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-04 17:13:05 +00:00
Azamat Hackimov 71b55e54bf localization updates
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-01 07:03:07 +00:00
Azamat Hackimov 0123f7cde0 New shiny locale config update - pt-BR (thank to Alexandre da Silva, #2802)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 19:20:49 +00:00
Jean-Philippe Lang 8cc8f5164d Adding more missing strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 16:25:38 +00:00
Jean-Philippe Lang 0624bdb6c9 Adds missing strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 16:10:51 +00:00
Jean-Philippe Lang 66afc8c054 Adds a setting to limit the size of text attachments that can be displayed by the file viewer (default set to 512KB). Larger files are sent for download.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 15:34:11 +00:00
Jean-Philippe Lang fe28193e4e Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 11:04:50 +00:00