Commit Graph

2375 Commits

Author SHA1 Message Date
Jean-Philippe Lang a7bb63a182 Fixed: case sensitivity in issue subject filtering (#3536).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-28 12:12:27 +00:00
Jean-Philippe Lang aa07e8505e Fixes wiki diff escaping.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-28 11:55:49 +00:00
Jean-Philippe Lang 14c7a887ee Fixes broken --unknown-user option in mailhandler script (#3514).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-25 16:16:59 +00:00
Jean-Philippe Lang 72a396227a Fixes default data loader broken by r2777 (#3507).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-23 20:17:47 +00:00
Eric Davis 2221d68c4d Added workaround for a Ruby BigDecimal bug, CVE-2009-1904. (#3475)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-14 16:22:23 +00:00
Jean-Philippe Lang b3afde14fa Ability to accept incoming emails from unknown users (#2230, #3003).
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
2009-06-14 14:48:34 +00:00
Jean-Philippe Lang c48193f8c1 Ignores test repositories.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-14 10:07:38 +00:00
Jean-Philippe Lang 7642b5a9ab Fixed: editing a message may cause sticky attribute to be NULL (#3356).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-14 09:19:20 +00:00
Jean-Philippe Lang 5e76040256 Fixes drop-down list selected value (#3472).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-13 09:32:23 +00:00
Eric Davis 724cf47605 Added the Rails i18n language file to the plugin generator.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-10 03:39:02 +00:00
Eric Davis 97383f78d0 Added an empty tmp/test directory so rake test will run out of the box.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-08 02:07:30 +00:00
Eric Davis 199b213bbb Converted script/about to use Unix line ending. It has DOS line endings and would fail.
(#3387)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-07 18:22:27 +00:00
Jean-Philippe Lang ddd14fe86b Fixes locales broken by r2781 (#3456).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-07 12:36:46 +00:00
Azamat Hackimov 43995a43a5 Translation updates (#3401, #3409, #3434, #3446)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-06 17:20:01 +00:00
Jean-Philippe Lang 6a54a0c94c Fixed: Bazaar "[merge]" tags parsing fails (#3445).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-06 10:49:36 +00:00
Jean-Philippe Lang 9c282842a9 Do not start user session when accessing atom feed with token-based authentication.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-06 10:20:27 +00:00
Jean-Philippe Lang 6da0542af4 Delete previous tokens when creating a new one.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-02 17:24:50 +00:00
Eric Davis 62e58f26b0 Changed Enumerations to use a Single Table Inheritance
* Added migrations to change Enumerations to an STI relationship
* Added TimeEntryActivity model (STI)
* Added DocumentCategory model (STI)
* Added IssuePriority model (STI)
* Added Enumeration#get_subclasses to get a list of the subclasses of Enumeration
* Changed Enumeration to use the STI type field instead of the opt field
* Changed Enumeration#opt to return the old opt values but with a deprecation warning.
* Removed Enumeration::OPTIONS
* Removed the dynamic named_scopes in favor of specific named_scopes.  Kept for
  compatibility reasons.
* Added Enumeration#default so each subclass can easily find it's default record.
* Fixed Enumeration#default to use the STI scoping with a fake default scope for finding Enumeration's default.
* Added a 'all' named scope for getting all records in order by position.
* Added Deprecation warnings to the old named_scopes in Enumerations.
* Moved various methods off of Enumeration and onto the concrete classes
* Changed the EnumerationsController to use types
* Updated the Enumeration list template
* Added has_many relationships to the Enumeration STI classes.
* Fixes for tests.

  #3007

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-30 23:30:36 +00:00
Eric Davis fbfb349496 Added Redmine::Info.issue to get links to specific issue numbers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-30 23:00:22 +00:00
Eric Davis 211b13c9ec Added plugin hook, :controller_timelog_edit_before_save. (#3341)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-30 22:49:39 +00:00
Eric Davis 4ba8308507 Added more plugin hooks:
* :controller_messages_new_after_save
* :controller_messages_reply_after_save
* :controller_wiki_edit_after_save

  #3306

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-30 22:43:01 +00:00
Eric Davis ea7ff8dd76 Added hook, :model_changeset_scan_commit_for_issue_ids_pre_issue_update. #3279
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-30 22:34:27 +00:00
Eric Davis 3224773ada Added two plugin hooks to the account page:
* :view_account_left_bottom
* :view_account_right_bottom

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-30 22:09:49 +00:00
Eric Davis 964245e30a Added :view_versions_show_contextual hook. (#3036)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-30 21:57:47 +00:00
Eric Davis 68c7af6c91 Fixed failing test in #3391. Quotes (") are html escaped.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-30 21:47:10 +00:00
Jean-Philippe Lang c082cfc90e FIxed: inline images not displayed in atom feeds (#3391).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-26 08:28:36 +00:00
Jean-Philippe Lang 5db407ca59 Render new message form if needed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-25 20:38:59 +00:00
Jean-Philippe Lang 53b002b497 Add plugins information to script/about (#3387).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-25 19:10:26 +00:00
Jean-Philippe Lang 85ce903cfa Ability to watch a wiki or a single wiki page (#413).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-25 19:02:28 +00:00
Jean-Philippe Lang 9c630cc2b7 Fixed: Atom feeds leak email address (#3408).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-25 18:11:32 +00:00
Jean-Philippe Lang bd42b7cd9e Validate project identifier only when changed (#3352).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-25 18:01:27 +00:00
Jean-Philippe Lang 70340910de Link to the appropriate repository (#3376).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-18 17:45:45 +00:00
Azamat Hackimov 2a5369e37d ru.yml translation, adding to zh.yml missed string
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-18 14:34:47 +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
Eric Davis 6bdd07275b Fixed an interpolation argument error in nl.yml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 18:10:28 +00:00
Jean-Philippe Lang fe8f4e5b87 Fixes code comments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 15:32:48 +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 7f94e3446f Translations updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 13:56:53 +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 6e0a818caf Makes issues/show accept rss key (#3362).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 08:35:57 +00:00
Jean-Philippe Lang f7d7186c13 Fixed: issue status bulk edit broken by r2726 (#3347).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-14 18:18:29 +00:00
Jean-Philippe Lang e9a6730f4a Ability to use any custom field as a cross-project custom query column (#3321).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-13 17:32:15 +00:00
Jean-Philippe Lang b87753c90d Do not autologin if more that one token is found (#3351).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-13 16:56:31 +00:00
Jean-Philippe Lang f5eb1be268 Add token value uniqueness validation (#3351).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-13 16:55:15 +00:00
Jean-Philippe Lang 3e52383988 Use ActiveSupport::SecureRandom to generate tokens (#3351).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-13 16:54:32 +00:00
Jean-Philippe Lang e5ed2b0f73 Fixed: issue bulk edit view broken by r2726 (#3347).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-13 16:06:14 +00:00
Jean-Philippe Lang 566d0a6ceb Fixed: issue move by non-admin broken by r2726 (#3354).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-13 15:58:54 +00:00