Commit Graph

356 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
Jean-Philippe Lang 9e07fb5e04 Remove hard-coded styles from ticket attributes table.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-29 18:35:29 +00:00
Eric Davis a9ee946053 Change links to closed issues to be a grey color. (#3495)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-10 03:03:13 +00:00
Jean-Philippe Lang 85f634481e Fixed: login form fields have different width with IE (#3582).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-04 07:57:04 +00:00
Jean-Philippe Lang 7dccf9fda6 Allows multiple roles on the same project (#706). Prerequisite for user groups feature.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-10 10:54:31 +00:00
Jean-Philippe Lang 1930cf3d46 Adds group folding on issue list (#2679).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-04 18:04:09 +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 73ca9d9161 Fixes a javascript comment (#3238).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-25 08:53:14 +00:00
Jean-Philippe Lang 43200e2122 Adds mime type specific css classes to the SCM browser.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-19 08:25:25 +00:00
Jean-Philippe Lang 04e181b8b0 Adds a user search field with autocompleter on project members screen.
User selection with checkboxes is disabled if there are more than 300 users available (#2993).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-28 12:07:05 +00:00
Jean-Philippe Lang 90810c0741 Ability to add multiple project members in a single action (#1556).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-27 18:10:36 +00:00
Azamat Hackimov 064ba5d8cd Romanian update (#2900)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-24 19:20:53 +00:00
Azamat Hackimov 17cc0ba44a Bosnian (Bosanski), initial commit from Ernad Husremovic (#2976)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-24 19:16:02 +00:00
Jean-Philippe Lang a42e56f65d Fixes commit logs alignment in the repo browser (#2961).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-12 18:50:52 +00:00
Jean-Philippe Lang eb224378db Hide 'New file' link and form for printing (#2949).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-12 18:17:35 +00:00
Jean-Philippe Lang 2b585407cb SortHelper refactoring:
* multiple columns sort feature (#2871)
* CSS classes instead of an image tag to reflect the state of the column
* examples fixed (#2945)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-10 21:11:36 +00:00
Jean-Philippe Lang 36a55a0925 Change to line #'s links in file/repo viewer (#2835).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-07 11:02:40 +00:00
Jean-Philippe Lang 67fd5f3dc9 Fixed: visited links to closed tickets are not striked through with IE6 (#2615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-22 11:22:23 +00:00
Jean-Philippe Lang 7342a00e0a Slight changes to the files list (#2658, #2806).
* Adds a link to the version
* Moves styles to the stylesheet
* Indent the files

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-22 11:04:17 +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
Jean-Philippe Lang 33e7ae96ad Adds (a maximum of 3) links to project ancestors in the page title (#2788).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-20 18:34:57 +00:00
Eric Davis 896e64b759 Added the ability to login via OpenID.
* Refactored AccountController#login to use either
  password or openid based authentication
* Extracted AccountController#successful_authentication
  to setup a user's session cookies and redirect
* Implemented the start of AccountController#open_id_authentication
  which will check with the OpenID server and perform authentication.
* Added text field for the OpenID url to /login
* Added identity_url for OpenID to the user forms.
* Added option to login with OpenID to the register form.
* Added a root url route, which is used by the OpenID plugin

  #699

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-11 19:07:07 +00:00
Azamat Hackimov 99fefbef52 New language - Macedonian (mk). Thank to Ilin Tatabitovski for work.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-10 16:05:31 +00:00
Jean-Philippe Lang 4aa90cc072 Typo in wiki link example (#2673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-05 17:43:49 +00:00
Jean-Philippe Lang d08ac5628a Changes color of activity events/search results summary.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2348 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-01 16:00:20 +00:00
Jean-Philippe Lang c83b41611a Fixed: Contextual divs after attachments are placed incorrectly in FireFox (#2633).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-01 14:36:38 +00:00
winterheart f794ae582c New translation - Slovenian, thank to Nejc Vidmar for work (#2577), translation updates (#2129, #2586)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2340 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-31 12:02:37 +00:00
Jean-Philippe Lang da941734d7 Changes time related icons.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-30 17:50:28 +00:00
Jean-Philippe Lang 945ec8942a Adds projects association on tracker form (#2578).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-29 14:22:56 +00:00
Jean-Philippe Lang f1aa0df326 Adds an helper to render other formats download links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-29 13:53:17 +00:00
Jean-Philippe Lang e1f96ca4db Replaces the obsolete robots.txt with a cached action (#2491).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-27 17:27:50 +00:00
Jean-Philippe Lang c9906480d3 Merged nested projects branch. Removes limit on subproject nesting (#594).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-24 11:31:15 +00:00
winterheart a2cca9ee87 Translation updates (#2453, #2463, #2551)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-23 15:46:22 +00:00
winterheart 805b0c2a4e New Galician Translation (#2547), thanks to Martín Vázquez for intial translation
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-23 15:37:59 +00:00
winterheart 8594206538 #2463, partially solved
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-20 16:09:07 +00:00
winterheart c155b07ecb #2445, nl.yml update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2291 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-20 15:53:09 +00:00
winterheart 1d70916064 #2453, sv.yml patch, some errors still exist (see ticket)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-20 15:45:34 +00:00
Jean-Philippe Lang 00ce28f8d7 Slight visual changes on the issue form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-17 07:53:32 +00:00
Jean-Philippe Lang 38b2c5a317 Use margin-right instead of padding-right on top menu links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-11 19:48:16 +00:00
Jean-Philippe Lang 1ca69f2af1 Different icon for closed issues in search result (#992).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-11 11:01:35 +00:00
Jean-Philippe Lang e0bda97b6f Display a warning if some attachments were not saved (#2008).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-03 14:44:12 +00:00
winterheart 7bb9dd75db #2373, fixing encoding
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-29 18:27:27 +00:00
Jean-Philippe Lang 102c551b5a Translations updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-29 15:43:42 +00:00
winterheart 03fd86034d #2386, korean translation update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-24 15:48:59 +00:00
Jean-Philippe Lang d775aee26d Fixes a JS error on context_menu with IE (#2390).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-24 13:29:43 +00:00
Jean-Philippe Lang 2aceccf285 Fixed: Firefox cuts off large diffs (#2234).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-09 18:30:22 +00:00
Jean-Philippe Lang 1dfe63093b Slight change to css so that gravatar is vertically centered on user's page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-06 18:01:20 +00:00
winterheart b5fcea9e74 Italian update (#2239)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-28 15:44:59 +00:00
Jean-Philippe Lang 546b98a118 Adds a css class on menu items in order to apply item specific styles (eg. icons).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-27 18:04:48 +00:00
Jean-Philippe Lang a303b5e2d5 Fixed: Printing long roadmap doesn't split across pages (#2203).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-18 21:11:25 +00:00