openproject-meeting 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +9 -9
  2. data/CHANGELOG.md +28 -0
  3. data/README.md +3 -3
  4. data/app/assets/stylesheets/meeting/meeting.css.erb +19 -10
  5. data/app/controllers/meeting_agendas_controller.rb +11 -3
  6. data/app/controllers/meeting_contents_controller.rb +21 -7
  7. data/app/controllers/meeting_minutes_controller.rb +11 -3
  8. data/app/controllers/meetings_controller.rb +11 -3
  9. data/app/helpers/meeting_contents_helper.rb +11 -3
  10. data/app/helpers/meetings_helper.rb +17 -3
  11. data/app/mailers/meeting_mailer.rb +11 -3
  12. data/app/models/journal/meeting_content_journal.rb +40 -0
  13. data/app/models/journal/meeting_journal.rb +38 -0
  14. data/app/models/meeting.rb +17 -6
  15. data/app/models/meeting_agenda.rb +11 -66
  16. data/app/models/meeting_content.rb +30 -4
  17. data/app/models/meeting_minutes.rb +11 -67
  18. data/app/models/meeting_participant.rb +11 -3
  19. data/app/views/hooks/meetings/_activity_index_head.html.erb +21 -0
  20. data/app/views/meeting_contents/_form.html.erb +11 -3
  21. data/app/views/meeting_contents/_show.html.erb +11 -3
  22. data/app/views/meeting_contents/diff.html.erb +13 -6
  23. data/app/views/meeting_contents/history.html.erb +11 -3
  24. data/app/views/meeting_contents/show.html.erb +11 -3
  25. data/app/views/meeting_mailer/content_for_review.html.erb +11 -3
  26. data/app/views/meeting_mailer/content_for_review.text.erb +20 -0
  27. data/app/views/meetings/_form.html.erb +11 -3
  28. data/app/views/meetings/edit.html.erb +11 -3
  29. data/app/views/meetings/index.html.erb +11 -3
  30. data/app/views/meetings/new.html.erb +11 -3
  31. data/app/views/meetings/show.html.erb +12 -4
  32. data/app/views/shared/_meeting_header.html.erb +11 -3
  33. data/config/locales/de.yml +22 -0
  34. data/config/locales/en.yml +22 -0
  35. data/config/routes.rb +11 -3
  36. data/db/migrate/20110106210555_create_meetings.rb +11 -3
  37. data/db/migrate/20110106221214_create_meeting_contents.rb +11 -3
  38. data/db/migrate/20110106221946_create_meeting_content_versions.rb +11 -3
  39. data/db/migrate/20110108230721_create_meeting_participants.rb +11 -3
  40. data/db/migrate/20110224180804_add_lock_to_meeting_content.rb +11 -3
  41. data/db/migrate/20110819162852_create_initial_meeting_journals.rb +11 -3
  42. data/db/migrate/20111605171815_merge_meeting_content_versions_with_journals.rb +11 -3
  43. data/db/migrate/20130731151542_remove_meeting_role_id_from_meeting_participants.rb +11 -3
  44. data/db/migrate/20130822113942_create_meeting_journals.rb +39 -0
  45. data/db/migrate/20130924091342_legacy_meeting_journal_data.rb +36 -0
  46. data/db/migrate/20130924093842_legacy_meeting_agenda_journal_data.rb +62 -0
  47. data/db/migrate/20130924114042_legacy_meeting_minutes_journal_data.rb +62 -0
  48. data/doc/{COPYRIGHT.rdoc → COPYRIGHT.md} +1 -1
  49. data/doc/COPYRIGHT_short.md +16 -0
  50. data/lib/open_project/meeting.rb +11 -3
  51. data/lib/open_project/meeting/engine.rb +12 -4
  52. data/lib/open_project/meeting/hooks.rb +12 -4
  53. data/lib/open_project/meeting/patches/project_patch.rb +11 -3
  54. data/lib/open_project/meeting/version.rb +12 -4
  55. data/lib/openproject-meeting.rb +11 -3
  56. data/spec/controllers/meetings_controller_spec.rb +11 -3
  57. data/spec/factories/meeting_agenda_factory.rb +11 -3
  58. data/spec/factories/meeting_content_journal_factory.rb +23 -0
  59. data/spec/factories/meeting_factory.rb +11 -3
  60. data/spec/factories/meeting_journal_factory.rb +31 -0
  61. data/spec/factories/meeting_minutes_factory.rb +11 -3
  62. data/spec/factories/meeting_participant_factory.rb +11 -3
  63. data/spec/mailers/meeting_mailer_spec.rb +11 -3
  64. data/spec/models/meeting_agenda_spec.rb +14 -6
  65. data/spec/models/meeting_content_journal_spec.rb +30 -0
  66. data/spec/models/meeting_minutes_spec.rb +11 -3
  67. data/spec/models/meeting_spec.rb +11 -3
  68. data/spec/models/user_deletion_spec.rb +16 -14
  69. data/spec/spec_helper.rb +11 -3
  70. data/spec/support/plugin_spec_helper.rb +14 -22
  71. metadata +18 -13
  72. data/app/views/hooks/_activity_index_head.html.erb +0 -13
  73. data/spec/factories/meeting_agenda_journal_factory.rb +0 -18
  74. data/spec/factories/meeting_minutes_journal_factory.rb +0 -18
  75. data/spec/models/meeting_agenda_journal_spec.rb +0 -21
  76. data/spec/models/meeting_minutes_journal_spec.rb +0 -21
@@ -1,12 +1,20 @@
1
1
  #-- copyright
2
2
  # OpenProject is a project management system.
3
- #
4
- # Copyright (C) 2011-2013 the OpenProject Team
3
+ # Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
  #
6
5
  # This program is free software; you can redistribute it and/or
7
6
  # modify it under the terms of the GNU General Public License version 3.
8
7
  #
9
- # See doc/COPYRIGHT.rdoc for more details.
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+ #
17
+ # See doc/COPYRIGHT.md for more details.
10
18
  #++
11
19
 
12
20
  class MeetingContent < ActiveRecord::Base
@@ -22,10 +30,21 @@ class MeetingContent < ActiveRecord::Base
22
30
 
23
31
  before_save :comment_to_journal_notes
24
32
 
33
+ acts_as_journalized :activity_type => 'meetings',
34
+ :activity_permission => :view_meetings,
35
+ :activity_find_options => {:include => {:meeting => :project}},
36
+ :event_type => Proc.new {|o| "#{o.journal.journable.class.to_s.underscore.dasherize}"},
37
+ :event_title => Proc.new {|o| "#{o.journal.journable.class.model_name.human}: #{o.journal.journable.meeting.title}"},
38
+ :event_url => Proc.new {|o| {:controller => '/meetings', :action => 'show', :id => o.journal.journable.meeting}}
39
+
25
40
  User.before_destroy do |user|
26
41
  MeetingContent.update_all ['author_id = ?', DeletedUser.first], ['author_id = ?', user.id]
27
42
  end
28
43
 
44
+ def activity_type
45
+ 'meetings'
46
+ end
47
+
29
48
  def editable?
30
49
  true
31
50
  end
@@ -41,6 +60,13 @@ class MeetingContent < ActiveRecord::Base
41
60
  (content_to && content_from) ? WikiPage::WikiDiff.new(content_to, content_from) : nil
42
61
  end
43
62
 
63
+ def at_version(version)
64
+ journals
65
+ .joins("JOIN meeting_contents ON meeting_contents.id = journals.journable_id AND meeting_contents.type='#{self.class.to_s}'")
66
+ .where(:version => version)
67
+ .first.data
68
+ end
69
+
44
70
  # Compatibility for mailer.rb
45
71
  def updated_on
46
72
  updated_at
@@ -62,6 +88,6 @@ class MeetingContent < ActiveRecord::Base
62
88
  private
63
89
 
64
90
  def comment_to_journal_notes
65
- init_journal(author, comment) unless changes.empty?
91
+ add_journal(author, comment) unless changes.empty?
66
92
  end
67
93
  end
@@ -1,81 +1,25 @@
1
1
  #-- copyright
2
2
  # OpenProject is a project management system.
3
- #
4
- # Copyright (C) 2011-2013 the OpenProject Team
3
+ # Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
  #
6
5
  # This program is free software; you can redistribute it and/or
7
6
  # modify it under the terms of the GNU General Public License version 3.
8
7
  #
9
- # See doc/COPYRIGHT.rdoc for more details.
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+ #
17
+ # See doc/COPYRIGHT.md for more details.
10
18
  #++
11
19
 
12
20
  class MeetingMinutes < MeetingContent
13
21
 
14
- acts_as_journalized :activity_type => 'meetings',
15
- :activity_permission => :view_meetings,
16
- :activity_find_options => {:include => {:meeting => :project}},
17
- :event_title => Proc.new {|o| "#{l :label_meeting_minutes}: #{o.meeting.title}"},
18
- :event_url => Proc.new {|o| {:controller => '/meetings', :action => 'show', :id => o.meeting}}
19
-
20
- def activity_type
21
- 'meetings'
22
- end
23
-
24
22
  def editable?
25
23
  meeting.agenda.present? && meeting.agenda.locked?
26
24
  end
27
-
28
- protected
29
-
30
- MeetingMinutesJournal.class_eval do
31
- unloadable
32
-
33
- attr_protected :data
34
- after_save :compress_version_text
35
-
36
- # Wiki Content might be large and the data should possibly be compressed
37
- def compress_version_text
38
- self.text = changed_data["text"].last if changed_data["text"]
39
- self.text ||= self.journaled.text if self.journaled.text
40
- end
41
-
42
- def text=(plain)
43
- case Setting.wiki_compression
44
- when "gzip"
45
- begin
46
- text_hash :text => Zlib::Deflate.deflate(plain, Zlib::BEST_COMPRESSION), :compression => Setting.wiki_compression
47
- rescue
48
- text_hash :text => plain, :compression => ''
49
- end
50
- else
51
- text_hash :text => plain, :compression => ''
52
- end
53
- plain
54
- end
55
-
56
- def text_hash(hash)
57
- changed_data.delete("text")
58
- changed_data["data"] = hash[:text]
59
- changed_data["compression"] = hash[:compression]
60
- update_attribute(:changed_data, changed_data)
61
- end
62
-
63
- def text
64
- @text ||= case changed_data[:compression]
65
- when 'gzip'
66
- Zlib::Inflate.inflate(data)
67
- else
68
- # uncompressed data
69
- changed_data["data"]
70
- end
71
- end
72
-
73
- def meeting
74
- journaled.meeting
75
- end
76
-
77
- def editable?
78
- false
79
- end
80
- end
81
25
  end
@@ -1,12 +1,20 @@
1
1
  #-- copyright
2
2
  # OpenProject is a project management system.
3
- #
4
- # Copyright (C) 2011-2013 the OpenProject Team
3
+ # Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
  #
6
5
  # This program is free software; you can redistribute it and/or
7
6
  # modify it under the terms of the GNU General Public License version 3.
8
7
  #
9
- # See doc/COPYRIGHT.rdoc for more details.
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+ #
17
+ # See doc/COPYRIGHT.md for more details.
10
18
  #++
11
19
 
12
20
  class MeetingParticipant < ActiveRecord::Base
@@ -0,0 +1,21 @@
1
+ <%#-- copyright
2
+ OpenProject is a project management system.
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
4
+
5
+ This program is free software; you can redistribute it and/or
6
+ modify it under the terms of the GNU General Public License version 3.
7
+
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
18
+
19
+ ++#%>
20
+
21
+ <%= stylesheet_link_tag 'meeting/meeting.css' %>
@@ -1,12 +1,20 @@
1
1
  <%#-- copyright
2
2
  OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
 
6
5
  This program is free software; you can redistribute it and/or
7
6
  modify it under the terms of the GNU General Public License version 3.
8
7
 
9
- See doc/COPYRIGHT.rdoc for more details.
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
10
18
 
11
19
  ++#%>
12
20
 
@@ -1,12 +1,20 @@
1
1
  <%#-- copyright
2
2
  OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
 
6
5
  This program is free software; you can redistribute it and/or
7
6
  modify it under the terms of the GNU General Public License version 3.
8
7
 
9
- See doc/COPYRIGHT.rdoc for more details.
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
10
18
 
11
19
  ++#%>
12
20
 
@@ -1,12 +1,20 @@
1
1
  <%#-- copyright
2
2
  OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
 
6
5
  This program is free software; you can redistribute it and/or
7
6
  modify it under the terms of the GNU General Public License version 3.
8
7
 
9
- See doc/COPYRIGHT.rdoc for more details.
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
10
18
 
11
19
  ++#%>
12
20
 
@@ -15,13 +23,12 @@ See doc/COPYRIGHT.rdoc for more details.
15
23
  </div>
16
24
 
17
25
  <h2><%= l(:"label_#{@content_type}") %>: <%= link_to @meeting, @meeting %></h2>
18
-
19
26
  <p>
20
27
  <%= l(:label_version) %> <%= link_to @diff.content_from.version, send(:"#{@content_type}_version_path", @meeting, @diff.content_from.version) %>
21
- <em>(<%= link_to_user(@diff.content_from.author) %>, <%= format_time(@diff.content_from.updated_at) %>)</em>
28
+ <em>(<%= link_to_user(@diff.content_from.user) %>, <%= format_time(@diff.content_from.created_at) %>)</em>
22
29
  &#8594;
23
30
  <%= l(:label_version) %> <%= link_to @diff.content_to.version, send(:"#{@content_type}_version_path", @meeting, @diff.content_to.version) %>/<%= @content.version %>
24
- <em>(<%= link_to_user(@diff.content_to.author) %>, <%= format_time(@diff.content_to.updated_at) %>)</em>
31
+ <em>(<%= link_to_user(@diff.content_to.user) %>, <%= format_time(@diff.content_to.created_at) %>)</em>
25
32
  </p>
26
33
 
27
34
  <hr />
@@ -1,12 +1,20 @@
1
1
  <%#-- copyright
2
2
  OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
 
6
5
  This program is free software; you can redistribute it and/or
7
6
  modify it under the terms of the GNU General Public License version 3.
8
7
 
9
- See doc/COPYRIGHT.rdoc for more details.
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
10
18
 
11
19
  ++#%>
12
20
 
@@ -1,12 +1,20 @@
1
1
  <%#-- copyright
2
2
  OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
 
6
5
  This program is free software; you can redistribute it and/or
7
6
  modify it under the terms of the GNU General Public License version 3.
8
7
 
9
- See doc/COPYRIGHT.rdoc for more details.
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
10
18
 
11
19
  ++#%>
12
20
 
@@ -1,12 +1,20 @@
1
1
  <%#-- copyright
2
2
  OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
 
6
5
  This program is free software; you can redistribute it and/or
7
6
  modify it under the terms of the GNU General Public License version 3.
8
7
 
9
- See doc/COPYRIGHT.rdoc for more details.
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
10
18
 
11
19
  ++#%>
12
20
 
@@ -1,3 +1,23 @@
1
+ <%#-- copyright
2
+ OpenProject is a project management system.
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
4
+
5
+ This program is free software; you can redistribute it and/or
6
+ modify it under the terms of the GNU General Public License version 3.
7
+
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
18
+
19
+ ++#%>
20
+
1
21
  <%= @meeting.project.name %>: <%= @meeting.title %> (<%= @meeting_url %>)
2
22
  <%= @meeting.author %>
3
23
 
@@ -1,12 +1,20 @@
1
1
  <%#-- copyright
2
2
  OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
 
6
5
  This program is free software; you can redistribute it and/or
7
6
  modify it under the terms of the GNU General Public License version 3.
8
7
 
9
- See doc/COPYRIGHT.rdoc for more details.
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
10
18
 
11
19
  ++#%>
12
20
 
@@ -1,12 +1,20 @@
1
1
  <%#-- copyright
2
2
  OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
 
6
5
  This program is free software; you can redistribute it and/or
7
6
  modify it under the terms of the GNU General Public License version 3.
8
7
 
9
- See doc/COPYRIGHT.rdoc for more details.
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
10
18
 
11
19
  ++#%>
12
20
 
@@ -1,12 +1,20 @@
1
1
  <%#-- copyright
2
2
  OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
3
+ Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
5
4
 
6
5
  This program is free software; you can redistribute it and/or
7
6
  modify it under the terms of the GNU General Public License version 3.
8
7
 
9
- See doc/COPYRIGHT.rdoc for more details.
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ See doc/COPYRIGHT.md for more details.
10
18
 
11
19
  ++#%>
12
20