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,13 +0,0 @@
1
- <%#-- copyright
2
- OpenProject is a project management system.
3
-
4
- Copyright (C) 2011-2013 the OpenProject Team
5
-
6
- This program is free software; you can redistribute it and/or
7
- modify it under the terms of the GNU General Public License version 3.
8
-
9
- See doc/COPYRIGHT.rdoc for more details.
10
-
11
- ++#%>
12
-
13
- <%= stylesheet_link_tag 'meeting/meeting.css' %>
@@ -1,18 +0,0 @@
1
- #-- copyright
2
- # OpenProject is a project management system.
3
- #
4
- # Copyright (C) 2011-2013 the OpenProject Team
5
- #
6
- # This program is free software; you can redistribute it and/or
7
- # modify it under the terms of the GNU General Public License version 3.
8
- #
9
- # See doc/COPYRIGHT.rdoc for more details.
10
- #++
11
-
12
- require 'meeting_agenda'
13
-
14
- FactoryGirl.define do
15
- factory :meeting_agenda_journal do |m|
16
- m.association :journaled, :factory => :meeting_agenda
17
- end
18
- end
@@ -1,18 +0,0 @@
1
- #-- copyright
2
- # OpenProject is a project management system.
3
- #
4
- # Copyright (C) 2011-2013 the OpenProject Team
5
- #
6
- # This program is free software; you can redistribute it and/or
7
- # modify it under the terms of the GNU General Public License version 3.
8
- #
9
- # See doc/COPYRIGHT.rdoc for more details.
10
- #++
11
-
12
- require 'meeting_minutes'
13
-
14
- FactoryGirl.define do
15
- factory :meeting_minutes_journal do |m|
16
- m.association :journaled, :factory => :meeting_minutes
17
- end
18
- end
@@ -1,21 +0,0 @@
1
- #-- copyright
2
- # OpenProject is a project management system.
3
- #
4
- # Copyright (C) 2011-2013 the OpenProject Team
5
- #
6
- # This program is free software; you can redistribute it and/or
7
- # modify it under the terms of the GNU General Public License version 3.
8
- #
9
- # See doc/COPYRIGHT.rdoc for more details.
10
- #++
11
-
12
- require File.dirname(__FILE__) + '/../spec_helper'
13
- require 'meeting_minutes'
14
-
15
- describe MeetingAgendaJournal do
16
- include PluginSpecHelper
17
-
18
- let(:journal) { FactoryGirl.build(:meeting_agenda_journal) }
19
-
20
- it_should_behave_like "customized journal class"
21
- end
@@ -1,21 +0,0 @@
1
- #-- copyright
2
- # OpenProject is a project management system.
3
- #
4
- # Copyright (C) 2011-2013 the OpenProject Team
5
- #
6
- # This program is free software; you can redistribute it and/or
7
- # modify it under the terms of the GNU General Public License version 3.
8
- #
9
- # See doc/COPYRIGHT.rdoc for more details.
10
- #++
11
-
12
- require File.dirname(__FILE__) + '/../spec_helper'
13
- require 'meeting_minutes'
14
-
15
- describe MeetingMinutesJournal do
16
- include PluginSpecHelper
17
-
18
- let(:journal) { FactoryGirl.build(:meeting_minutes_journal) }
19
-
20
- it_should_behave_like "customized journal class"
21
- end