summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* SCM:Jean-Philippe Lang2009-08-172-0/+31
| | | | | | | * Fixes file log for non-Git repositories (Repository#latest_changesets ignores path argument) * No longer used Repository#changesets_for_path method removed git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use selected columns in the issues PDF export (#1190).Jean-Philippe Lang2009-08-171-30/+41
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added branch and tag support to the git repository viewer. (#1406)Eric Davis2009-08-153-282/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Display all custom fields on issue PDF.Jean-Philippe Lang2009-07-291-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2828 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Switch from a custom rcov task to the metric_fu gem.Eric Davis2009-07-272-45/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2825 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow line breaks in wiki table cells (#2346).Jean-Philippe Lang2009-07-192-3/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2824 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change subversion adapter to not cache authentication and run non interactivelyEric Davis2009-07-101-0/+1
| | | | | | #3424 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2819 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set trunk version to latest stable release (#3233).Jean-Philippe Lang2009-07-041-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2802 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes default data loader broken by r2777 (#3507).Jean-Philippe Lang2009-06-231-9/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2792 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to accept incoming emails from unknown users (#2230, #3003).Jean-Philippe Lang2009-06-141-1/+17
| | | | | | | | | | | An option lets you specify how to handle emails from unknown users: * ignore: the email is ignored (previous and default behaviour) * accept: the sender is considered as an anonymous user * create: a user account is created (username/password are sent back to the user) Permissions have to be consistent with the chosen option. Eg. if you choose 'create', the 'Non member' role must have the 'Add issues' permission so that an issue can be created by an unknown user via email. If you choose 'accept', the 'Anonymous' role must have this permission. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the Rails i18n language file to the plugin generator.Eric Davis2009-06-103-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2785 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Bazaar "[merge]" tags parsing fails (#3445).Jean-Philippe Lang2009-06-061-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added Redmine::Info.issue to get links to specific issue numbers.Eric Davis2009-05-301-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2776 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add plugins information to script/about (#3387).Jean-Philippe Lang2009-05-251-0/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to allow non-admin users to create projects (#1007).Jean-Philippe Lang2009-05-171-0/+1
| | | | | | | 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
* Prevent nil error when retrieving svn version (#3268).Jean-Philippe Lang2009-05-101-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2722 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Same as fix as r2705 from Trac wiki pages attachments (#3291).Jean-Philippe Lang2009-05-101-6/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable email notifications before importing data.Jean-Philippe Lang2009-05-042-1/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes r2707.Jean-Philippe Lang2009-05-041-1/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2708 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes Mantis importer broken by 2670.Jean-Philippe Lang2009-05-041-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2707 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed Trac importer broken by r2670 (#3254).Jean-Philippe Lang2009-05-041-8/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ticket grouping (#2679).Jean-Philippe Lang2009-04-261-2/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2696 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds .erb mime type.Jean-Philippe Lang2009-04-251-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2695 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Mercurial integration doesn't work if redmine is installed in folder ↵Jean-Philippe Lang2009-04-211-1/+1
| | | | | | path containing space (#3159). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2679 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Less aggressive textile image tag parsing (#3209).Jean-Philippe Lang2009-04-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2677 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds mime type specific css classes to the SCM browser.Jean-Philippe Lang2009-04-191-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2672 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow textile mailto links (#3127).Jean-Philippe Lang2009-04-071-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set a default scope for 'My page' block names translations (#3057).Jean-Philippe Lang2009-04-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2659 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update SVG library to latest stable (0.6.1) (#3056).Jean-Philippe Lang2009-03-307-2519/+2550
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2642 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a user search field with autocompleter on project members screen.Jean-Philippe Lang2009-03-281-1/+1
| | | | | | 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
* Rescue Redmine::DefaultData::DataAlreadyLoaded in redmine:load_default_data ↵Jean-Philippe Lang2009-03-151-0/+2
| | | | | | task. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to set language for redmine:load_default_data task using ↵Jean-Philippe Lang2009-03-151-12/+15
| | | | | | REDMINE_LANG environment variable (#2847). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2591 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: zh-TW PDF export broken by new locales (#2940).Jean-Philippe Lang2009-03-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2575 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Flush buffer when asking for language (#2948).Jean-Philippe Lang2009-03-121-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2573 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes that Redmine::WikiFormatting.register did not raise ArgumentError when ↵Jean-Philippe Lang2009-03-071-1/+1
| | | | | | giving name as a string (#2856). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2562 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes #2851.Jean-Philippe Lang2009-02-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow My Page blocks to be added to from a plugin (#2840).Jean-Philippe Lang2009-02-261-0/+32
| | | | | | | Partials must be placed under the app/views/my/blocks directory of the plugin. An example can be found in the sample plugin. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2529 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixing Plugin and Mailer default_url_options.Eric Davis2009-02-251-2/+8
| | | | | | | | | | | | | | | Both the plugin hooks and Mailer were setting default_url_options incorrectly and causing ActionContoller::UrlWritter to cache the settings on the module (mattr_accessor) causing several url generators to fail in either the plugin hooks or the Mailer. * Replaced Mailer's use of the default_url_options accessor with the proper class method * Replaced Hook's use of the default_url_options accessor with the proper class method on the ViewListener class * Added a test to reproduce the bugs in the Mailer when a hook is registered (thanks Chaoqun Zou) #2542 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2522 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Process all translations files.Jean-Philippe Lang2009-02-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2502 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds locales:update task as a replacement for gloc:update.Jean-Philippe Lang2009-02-211-0/+31
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2501 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes menu translation.Jean-Philippe Lang2009-02-211-3/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2497 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-2110-16/+120
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactored the mess known as Hook default_url_options in favor of the simplerEric Davis2009-02-211-10/+1
| | | | | | | | :only_path as suggested by splatteal on GitHub. #2542 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2491 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces Enumeration.get_values and Enumeration.default with named scopes.Jean-Philippe Lang2009-02-152-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renamed variables to be more descriptive. #2542Eric Davis2009-02-101-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2430 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added request and controller objects to the hooks by default.Eric Davis2009-02-101-8/+52
| | | | | | | | | | | | | The request and controller objects are now added to all hook contexts by default. This will also make url_for work better in hooks by setting up the default_url_options :host, :port, and :protocol. Finally a new helper method @render_or@ has been added to ViewListener. This will let a hook easily render a partial without a full method definition. Thanks to Thomas Löber for the original patch. #2542 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2429 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to limit the number of revisions displayed on a repository ↵Jean-Philippe Lang2009-02-011-0/+1
| | | | | | file log (default=100). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2350 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Less strict textile links parsing (#2582).Jean-Philippe Lang2009-01-311-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2344 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: TOC does not parse wiki page reference links with description (#2601).Jean-Philippe Lang2009-01-291-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2336 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds rel='nofollow' attribute to other formats download links (#2491).Jean-Philippe Lang2009-01-291-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2334 e93f8b46-1217-0410-a6f0-8f06a7374b81