Commit Graph

6613 Commits

Author SHA1 Message Date
Toshi MARUYAMA 1de0714fda Restrict anonymous read access with Redmine.pm
Redmine.pm now also checks for public projects whether the anonymous
user has the browse_repository right for a read operation.

Contributed by Holger Just.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 21:47:55 +00:00
Toshi MARUYAMA 1a23663176 Rails3: rename app/views/journals/index.rxml to app/views/journals/index.builder (#6317)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 13:41:05 +00:00
Toshi MARUYAMA 177906a75f remove hard-coded '.rxml' from 'test_show_atom' at functional issues controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 13:40:30 +00:00
Toshi MARUYAMA 85699042a6 Rails3: rename app/views/common/feed.atom.rxml to app/views/common/feed.atom.builder (#6317)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 11:09:06 +00:00
Toshi MARUYAMA 43a31e2ca7 remove hard-coded '.rxml' from 'test_index_atom' at functional projects controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 11:08:24 +00:00
Toshi MARUYAMA 2a27cc41f0 remove hard-coded '.rxml' from ApplicationController 'render_feed' (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 11:07:47 +00:00
Toshi MARUYAMA 986f0acb00 fix typo of fix_issue() at Changeset model
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 09:05:54 +00:00
Etienne Massip f1b4a561ba Escape image urls in wiki formatted HTML text (#9245).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 21:45:17 +00:00
Etienne Massip 0aa63a13bc Qualify searchable @text@ column to prevent exception thrown when :content association is not eargerly fetched by AR (#9308).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 20:17:01 +00:00
Toshi MARUYAMA ac6aaf3f67 Rails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer/_issue.html.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 15:17:58 +00:00
Toshi MARUYAMA ee5f712e89 Rails3: mail: rename app/views/mailer/_issue_text_plain.rhtml to app/views/mailer/_issue.text.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 15:17:07 +00:00
Etienne Massip 4ecd65c465 Remove unecessary page title HTML escaping from views (#9252).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 18:45:17 +00:00
Etienne Massip 65b533a8ec Make sure that anchor names generated for headings fully match wiki links (#7215).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 17:25:29 +00:00
Etienne Massip 8bb90f87fb Prepend page title to anchor in single page wiki HTML export to make links more unique.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:57:17 +00:00
Etienne Massip ac2dbde135 Fix generation of blank local link when no title is specified in wiki link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:32:34 +00:00
Etienne Massip 1ee65e0469 Use local links in wiki pages when possible (#3276).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 14:44:07 +00:00
Toshi MARUYAMA e2f57b5874 Rails3: lib: helper: use html_safe for Gantt
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:13:03 +00:00
Toshi MARUYAMA 4d787ce228 Rails3: view: use html_safe for Gantt
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:12:21 +00:00
Toshi MARUYAMA 049b35edb0 Rails3: model: replace deprecated 'validate_on_create' method at Message model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:11:39 +00:00
Toshi MARUYAMA 8f362558b6 add unit message test of cannot reply to a locked topic
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:11:02 +00:00
Toshi MARUYAMA d817b063ec code layout clean up of test/unit/message_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:10:18 +00:00
Toshi MARUYAMA 70a83bd47c Rails3: helper: use html_safe for Subversion setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:17:30 +00:00
Toshi MARUYAMA 19ac57e71a Rails3: helper: use html_safe for filesysytem scm setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:16:46 +00:00
Toshi MARUYAMA 9afd7b7df6 Rails3: helper: use html_safe for cvs setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:16:05 +00:00
Toshi MARUYAMA 2681578d53 Rails3: helper: use html_safe for git setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:15:09 +00:00
Toshi MARUYAMA 163588887f Rails3: helper: use html_safe for Mercurial setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 08:14:30 +00:00
Toshi MARUYAMA bafa472d7e Rails3: helper: use html_safe at render_properties(properties) of RepositoriesHelper
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 02:19:38 +00:00
Toshi MARUYAMA 4167a5cb0d Rails3: view: use html_safe for :text_project_identifier_info at projects/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 00:57:18 +00:00
Toshi MARUYAMA f9626e4066 Rails3: helper: use html_safe at render_changes_tree(tree) of RepositoriesHelper
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 00:56:17 +00:00
Toshi MARUYAMA 5d297091fe Rails3: helper: use html_safe in SettingsHelper
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-29 22:55:18 +00:00
Toshi MARUYAMA 33d41583bb Rails3: test: template must be specified as controller/action not with their extension any more
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-28 10:11:42 +00:00
Etienne Massip dab836a385 Backed out r7541 which broke the build.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-27 21:53:28 +00:00
Etienne Massip f4db02af1e Fix deprecated inclusion of RDoc rake tasks (#8611).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-27 17:24:12 +00:00
Etienne Massip da60f58abe Use prefered syntax for redmine📧test definition (#8611).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 18:14:19 +00:00
Etienne Massip 98e18b2141 Allow project column to be removed from the global issue list columns (#8411).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 17:44:20 +00:00
Toshi MARUYAMA ef962b84d7 Rails3: mail: rename app/views/mailer/*.text.html.rhtml to app/views/mailer/*.html.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:23:26 +00:00
Toshi MARUYAMA a4c4edacfd Rails3: mail: rename app/views/mailer/*.text.plain.rhtml to app/views/mailer/*.text.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:22:38 +00:00
Toshi MARUYAMA 4e488434f7 Rails3: mail: rename app/views/layouts/mailer.text.html.erb to app/views/layouts/mailer.html.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:21:56 +00:00
Toshi MARUYAMA c534c9e984 Rails3: mail: rename app/views/layouts/mailer.text.plain.erb to app/views/layouts/mailer.text.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:20:57 +00:00
Toshi MARUYAMA 9c650540ba code layout clean up of test_preview_issue_notes at test/functional/previews_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:46:44 +00:00
Toshi MARUYAMA f21fd28917 code layout clean up of 'should "allow adding a note when copying"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:46:20 +00:00
Toshi MARUYAMA c01d94203b code layout clean up of 'should "allow changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:56 +00:00
Toshi MARUYAMA 7e182848e5 code layout clean up of 'should "allow not changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:30 +00:00
Toshi MARUYAMA f2fd28a76c remove duplicate fixtures from test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:01 +00:00
Toshi MARUYAMA 440c2d0d2f remove duplicate fixtures from test/functional/files_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:44:35 +00:00
Toshi MARUYAMA ca7051aea9 remove duplicate fixtures from test/unit/member_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:44:08 +00:00
Toshi MARUYAMA bdccb5d3d5 remove duplicate fixtures from test/functional/previews_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:43:40 +00:00
Toshi MARUYAMA 22f5219575 Rails3: replace "all" fixtures at test/functional/project_enumerations_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:15:32 +00:00
Toshi MARUYAMA 40992d71d1 Rails3: replace "all" fixtures at test/functional/gantts_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:14:51 +00:00
Toshi MARUYAMA 1d9de08cdc Rails3: replace "all" fixtures at test/functional/reports_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:14:07 +00:00