Commit Graph

3155 Commits

Author SHA1 Message Date
Tim Felgentreff cea1a987ab fix display of attachments with acts_as_journalized 2010-08-04 18:56:33 +02:00
Tim Felgentreff f45bb1e85e use the render_journal API to pass Issue note editing permissions 2010-07-29 14:48:47 +02:00
Tim Felgentreff 5de0d0997f remove the reply action from IssueController, and use the JournalHelper API for that 2010-07-29 14:48:24 +02:00
Tim Felgentreff 75024acf5a possibly use the activity permissions in the fetcher to find visible event types 2010-07-29 11:31:06 +02:00
Tim Felgentreff d34abea14e use the journal formatters API to register the issue journal formats 2010-07-29 11:30:24 +02:00
Tim Felgentreff 4851451017 remove changes from version model 2010-07-23 17:17:00 +02:00
Tim Felgentreff 8a3cb1895b use the provided helper in issue history 2010-07-23 14:26:08 +02:00
Tim Felgentreff ff6372ad43 move wiki edits to use journalized plugin. will break if any actual edits are done 2010-07-21 18:25:01 +02:00
Tim Felgentreff ff31875149 move to STI for journals so the journals themselves can be events 2010-07-21 17:57:45 +02:00
Tim Felgentreff 2287d7ce8c with acts_as_journalized activities only have to search the journal table 2010-07-21 12:27:48 +02:00
Tim Felgentreff 2ec2405b32 convert more to acts_as_journalized 2010-07-15 21:10:05 +02:00
Tim Felgentreff 2d282f8deb move (almost) everything over to acts_as_journalized 2010-07-15 18:24:12 +02:00
Tim Felgentreff 4b0bd11f6d move more journal classes 2010-07-15 18:23:19 +02:00
Tim Felgentreff 96bbd94251 adjust for acts_as_journalized 2010-07-15 15:23:43 +02:00
Tim Felgentreff 7d4d87a9a9 journal numbers are now called versions 2010-07-15 14:43:22 +02:00
Tim Felgentreff 867266e934 init_journal has now the old signature 2010-07-15 14:43:09 +02:00
Tim Felgentreff aecb868b85 remove more journal specific functionality 2010-07-14 19:00:03 +02:00
Tim Felgentreff d7768ce600 remove journals to start moving it all out to vestal_versions based plugin 2010-07-14 14:13:55 +02:00
Holger Just f2957176bf Added helper functions to base journal class 2010-06-29 19:39:28 +02:00
Holger Just bcbb328cd2 Merge branch 'master' of git://github.com/edavis10/redmine into journals 2010-06-29 19:27:14 +02:00
Eric Davis bc3ad9af38 Bump release to 0.9.5
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-28 02:46:25 +00:00
Eric Davis c7d075fb68 Updating documentation for the 0.9.5 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-28 02:46:20 +00:00
Eric Davis 672852baaf Force string comparison for login search to be case sensitive on MySQL. #2473
Contributed by Holger Just.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-24 03:08:20 +00:00
Eric Davis 6eea3300f8 Sanitize image links and handle nils in the toc formatter. #5445
Based on contribution by Yuki Kita.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-24 02:35:24 +00:00
Azamat Hackimov 68bdbbac7d Refresh locales
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-21 19:58:17 +00:00
Azamat Hackimov e21b91485e New language en-GB (#5648 thank to Tom Knight for work)
Updates:
* ja (#5715)
* sv (#5671)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-21 19:54:55 +00:00
Eric Davis 6cb4ff7d89 Refactor and documentation for User#find_by_login.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 21:40:55 +00:00
Eric Davis de17640489 Change User#login to be case-insensitive. #2473
This change also overrides User#find_by_login to give priority to exact
matches in the login.

Contributed by Greg Mefford

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 21:40:50 +00:00
Eric Davis 7376ef2ad7 Typecast issue ids when searched for.
Older Postgres versions don't allow searching over the id field's max size.

Contributed by Holger Just

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 20:01:32 +00:00
Eric Davis c98f46d691 Handle unsuccessful destroys in TimelogController. #5700
Contributed by Jan

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 19:30:51 +00:00
Eric Davis acef1d5352 Exclude fields_for in the TabularFormBuilder, it has a different method
signature. #5416

Contributed by Jean-Baptiste Barth

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 19:03:09 +00:00
Eric Davis d2f8feb7c5 Optimize the N+1 query in watcher_recipients. #5415
Contributed by Holger Just

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 18:41:30 +00:00
Eric Davis 116c7a7964 Add a link to the cross project time entries page to /projects. #4935
Contributed by Jan.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 16:29:12 +00:00
Eric Davis 4083e7e622 Truncate incoming email subject lines to 255 characters. #5698
Contributed by Jan

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 16:22:36 +00:00
Eric Davis c5863c0ad0 Support listing directories in svn which include square brackets. #5548
Contributed by Gregor Schmidt

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 16:08:26 +00:00
Eric Davis 70da33fc29 Add some assertions on the default data loading test to debug a Ruby 1.9 failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 16:08:20 +00:00
Eric Davis 95c3c63cfe Fix for Ruby 1.9 strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 16:08:15 +00:00
Eric Davis 5db9a982cc Added two hooks to the issues report. #5233
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-20 03:37:42 +00:00
Eric Davis 41ff1b9cb2 Display the correct ISO week number on the project calendar.
http://en.wikipedia.org/wiki/ISO_week

Contributed by Holger Just

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 22:52:15 +00:00
Eric Davis b2e903ff7c Calculate the correct week number for weeks starting at any date. #4857
http://en.wikipedia.org/wiki/ISO_week

Contributed by Holger Just

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 22:52:09 +00:00
Eric Davis 093853b56a Added tests for #5533's behavior.
Contributed by Gregor Schmidt.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 22:17:34 +00:00
Eric Davis b10818f4a1 Add a css class to hide content when printing. #5508
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 21:53:58 +00:00
Eric Davis b53de502ab Display the link name when external links are used in the toc macro. #5445
Contributed by Yuki Kita and Jean-Baptiste Barth

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 21:39:21 +00:00
Eric Davis 69d9600f48 Added documentation about the session_path. #3968
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 20:04:47 +00:00
Eric Davis 2562bc5bcd Hide the role forms when editing or adding Project members. #5452
Contributed by Yuki Kita

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 19:51:43 +00:00
Eric Davis d48eb2de47 Accept email from anonymous users with an empty from address. #5604
Contributed by Andrew Fenn

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 19:24:17 +00:00
Eric Davis 5f93750c80 Pin shoulda, 2.11.x changes it's API and deprecates a lot of macros.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 19:01:53 +00:00
Eric Davis 921b425b8e Accept key authentication to ProjectsController#index (for feeds). #5317
Contributed by Greg Mefford

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 17:45:04 +00:00
Eric Davis d635fff3f5 Add ATOM auto discovery link to the Projects list. #5317
Contributed by Greg Mefford

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 17:44:59 +00:00
Eric Davis 43fabab950 Fixed HTML validation errors
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-19 16:50:13 +00:00