Jean-Philippe Lang
74e85953f0
Move SQL LIKE tokens to acts_as_searchable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-17 20:20:51 +00:00
Jean-Philippe Lang
c11d30ebc9
Makes search providers extensible ( #3936 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-17 20:05:51 +00:00
Eric Davis
4f268c5606
Refactor: extract an #authenticate_dn method in AuthSourceLdap
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-17 16:35:35 +00:00
Eric Davis
9e22faa640
Converted the REDMINE_SUPPORTED_SCM constant to a class
...
Now SCMs can be added or removed using a simple API, instead of being
hardcoded:
Redmine::Scm::Base.add('ScmName')
Redmine::Scm::Base.delete('ScmName')
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-16 22:41:59 +00:00
Eric Davis
b3330d3995
Refactor: Extract method from AuthSourceLdap#authenticate
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-16 17:03:54 +00:00
Eric Davis
49bfee0535
Refactor: Merged TrackersController#list and #index
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-15 16:41:27 +00:00
Eric Davis
c5f30fde28
Refactor: Merged AuthSourcesController#list and #index
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-15 16:41:21 +00:00
Eric Davis
038a88e970
Refactor: Merged RolesController#list and #index
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-15 16:41:16 +00:00
Jean-Philippe Lang
d16c2d4cd3
Adds a few divs to the base layout ( #871 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-14 13:07:51 +00:00
Jean-Philippe Lang
2f8cf7f762
Removes duplicated LOC.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-14 12:45:48 +00:00
Jean-Philippe Lang
a811f67748
Fixed: SystemStackError (stack level too deep) on Issue#attributes= after model reload ( #4838 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-14 12:43:48 +00:00
Jean-Philippe Lang
0ee17b132c
Slight forum styles changes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-14 11:52:12 +00:00
Jean-Philippe Lang
00cec500c6
Do not include news author in emphasis tag.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-14 11:49:29 +00:00
Jean-Philippe Lang
3168ee3d47
Adds projects links ( #4812 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-13 10:32:06 +00:00
Eric Davis
4a67c211ca
Fixed a nil method error in Setting#value=
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-12 22:08:02 +00:00
Eric Davis
8d086cb7d4
Removed hard coded English string.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-12 19:15:39 +00:00
Eric Davis
c18f8d34fb
Refactor: Merged IssueStatusesController#list and #index.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-12 19:15:33 +00:00
Jean-Philippe Lang
55a3ac764f
Issue relation: fixes error with postgres when entering a non-numeric id ( #4820 ) + accept hash (#) before id.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-12 18:35:31 +00:00
Jean-Philippe Lang
541d830d2a
Fixed: Project copy loses wiki pages hierarchy ( #4797 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-11 19:30:53 +00:00
Eric Davis
d2baf5f2a7
Log failed user logins to the Rails logger
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-11 18:25:38 +00:00
Eric Davis
937d0c70f7
Refactored IssueStatus finder to a before_filter
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-11 16:42:52 +00:00
Jean-Philippe Lang
2c8a24092b
Adds filter for system shared versions on the cross project issue list ( #4792 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-10 21:42:32 +00:00
Jean-Philippe Lang
1fec53cc25
Fixed: roadmap show subprojects issues even if subprojects is unchecked ( #4761 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-10 21:29:31 +00:00
Jean-Philippe Lang
00d7bc3766
Makes use of format_version_name.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-10 21:21:53 +00:00
Jean-Philippe Lang
0b17e735ea
Fixed: Duplicated project name for subproject version on gantt chart ( #4775 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-10 21:13:34 +00:00
Jean-Philippe Lang
d02ddefff4
Fixed: parent project field doesn't include blank value when a member with 'add subproject' permission edits a child project ( #4790 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-10 20:38:23 +00:00
Eric Davis
a8a49a26a1
Refactor: inline the utility methods in ReportsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-10 16:59:58 +00:00
Jean-Philippe Lang
d04d3f181a
Fixed: Repository.fetch_changesets tries to fetch changesets for archived projects ( #4782 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-09 18:42:42 +00:00
Eric Davis
f50feca730
Extracted the rendering from each case statement in issue_reports_details
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-09 16:47:27 +00:00
Eric Davis
57a4cefd97
Fixed the link to the Issue Details report, broken in r3396
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-09 16:47:22 +00:00
Eric Davis
597725d77c
Separated ReportsController#issue_report into two separate actions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3396 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-08 17:53:58 +00:00
Jean-Philippe Lang
3c20a9b0ac
Do not parse the entire git log to fetch new commits (takes several minutes for a few thousands commits), but only 1 week before the last known commit ( #4547 , #4716 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-07 15:17:21 +00:00
Jean-Philippe Lang
eac7fcff6e
Fixed: error raised when trying to view the gantt or calendar with a grouped query ( #4751 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 18:07:25 +00:00
Jean-Philippe Lang
88339fd98b
Do not show 'Quote' links on locked topics ( #4749 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 14:15:52 +00:00
Jean-Philippe Lang
5a5d02dfb5
Removes overflow:auto on #content which broke the fix in r2118 ( #4724 ).
...
Autoscroll divs are added around large tables.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 14:05:13 +00:00
Jean-Philippe Lang
695bffe684
Fixed: error messages displayed twice when creating a group ( #4715 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 13:26:29 +00:00
Jean-Philippe Lang
8fb29d4d21
Adds pagination to forum messages ( #4664 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 12:54:13 +00:00
Jean-Philippe Lang
2ad8242ae7
Adds a setting to cache textile rendering (off by default).
...
* it uses ActionController cache store which is MemoryStore by default and can be configured with config.action_controller.cache_store
* macro processing was moved out of textile rendering so that it doesn't get cached
* no noticeable improvement is expected for small portions of text, so only texts larger than 2KB are cached
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 10:40:21 +00:00
Jean-Philippe Lang
6c8b87fbc8
Adds a permission for exporting wiki pages.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 09:30:53 +00:00
Eric Davis
e5d300af0a
Refactor: Pull up several #find_project methods to ApplicationController
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-05 16:57:02 +00:00
Jean-Philippe Lang
626b71622d
Fixed: invalid format parameter returns a DoubleRenderError on issues index ( #4737 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-04 19:58:42 +00:00
Jean-Philippe Lang
ea51dcf911
Reverts r3366.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-04 19:57:45 +00:00
Jean-Philippe Lang
cfe4d0e7db
Fixed: invalid format parameter returns a DoubleRenderError on issues index ( #4737 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-04 19:52:51 +00:00
Eric Davis
5bd912e9a2
Refactor: Extracted the select_all calls to a new private method.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-04 17:24:33 +00:00
Eric Davis
155083ec97
Change Role#anonymous and #non_member so they generate the record as needed.
...
While creating tests, it was a common occurrence to lost the builtin roles
because they are only created in the migrations. This makes them behave like
User#anonymous.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-03 17:47:47 +00:00
Eric Davis
b86b9b898e
Refactor: Moved the raw SQL finders from ReportsController to Issue.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-03 16:49:21 +00:00
Eric Davis
39c585740d
Refactor: Extract method to create a Change from a Changeset.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-02 17:02:32 +00:00
Eric Davis
358e3194d7
Refactor: Move recipients method into acts_as_event
...
acts_as_event should be the standard interface to Redmine events, like mail
notifications, so having a standard recipients implementation there makes sense.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-01 18:57:12 +00:00
Jean-Philippe Lang
d43c860448
Allow commits to reference issues of parent projects and subprojects ( #4674 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-31 16:25:06 +00:00
Jean-Philippe Lang
df46d704e8
Log email delivery errors.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-31 11:41:58 +00:00