mumuki-domain 7.11.1 → 8.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0741bd4448950db1d082d665156e2c44f6dffbdf5446b2bcdb292645b541e7f
4
- data.tar.gz: b1fc47e3b26d394b05a74b3e79956c2f76374604f4cdce281c72590f3d11190c
3
+ metadata.gz: 9075756cb0cd46b955959afe62c837fb11a293cf520f7e7a3e0666c88e9bc014
4
+ data.tar.gz: a775162a5319a08a2a2953586bd59efd3cca7ebffddb9c72b236175c5dcbb1a8
5
5
  SHA512:
6
- metadata.gz: 4d3162dfff77952888d226889a51a88a12058634253dfd2a64154701c3be0322a0d374e050a94ccfca6ef614062c8f9ebc97817e75b5e19eeea14ef6d8aa5f82
7
- data.tar.gz: 7361c7ed82288dcc41ec41294811130cfc4f9cd8ba38761087589001ed2d3ea13b0b64d4e1906918442b7f63aad2c13dada768a2a59fba5121285c9d6f10090d
6
+ metadata.gz: '08190f559ca10836c7d2cfd9c98a864ea18d31fb1f13115727ffc9738a7913fe4af136571b0036c1701b166162e61d2d726653a0cb8f3f1711f9677bde815e03'
7
+ data.tar.gz: ed6f365ac0c552ccd2f5136fd825052b51da29846a6ea042d27a57e991008d5cfe02265a5450eb2a9b62756ddfb96300c5be1f47dd699b26a8d47b57883c3758
@@ -70,9 +70,8 @@ class ApplicationRecord < ActiveRecord::Base
70
70
  end
71
71
 
72
72
  def update_and_notify!(data)
73
- update! data
74
- notify!
75
- self
73
+ assign_attributes data
74
+ save_and_notify!
76
75
  end
77
76
 
78
77
  def self.aggregate_of(association)
@@ -105,7 +104,7 @@ class ApplicationRecord < ActiveRecord::Base
105
104
  obj
106
105
  end
107
106
 
108
- def self.whitelist_attributes(a_hash, options={})
107
+ def self.whitelist_attributes(a_hash, options = {})
109
108
  attributes = attribute_names
110
109
  attributes += reflections.keys if options[:relations]
111
110
  a_hash.with_indifferent_access.slice(*attributes).except(*options[:except])
@@ -52,6 +52,14 @@ class Assignment < Progress
52
52
  self.organization = Organization.current
53
53
  end
54
54
 
55
+ def recontextualize!(new_organization = Organization.current)
56
+ if organization != new_organization
57
+ dirty_parent_by_submission! if organization.present? && exercise.used_in?(organization)
58
+ self.organization = new_organization
59
+ self.parent_id = nil
60
+ end
61
+ end
62
+
55
63
  def set_default_top_submission_status
56
64
  self.top_submission_status ||= 0
57
65
  end
@@ -118,7 +126,7 @@ class Assignment < Progress
118
126
  end
119
127
 
120
128
  def content=(content)
121
- if content.present?
129
+ unless exercise.reading?
122
130
  self.solution = exercise.single_choice? ? exercise.choice_index_for(content) : content
123
131
  end
124
132
  end
@@ -145,6 +153,10 @@ class Assignment < Progress
145
153
  end
146
154
  end
147
155
 
156
+ def manual_evaluation_pending!
157
+ update! submission_status: :manual_evaluation_pending
158
+ end
159
+
148
160
  def passed!
149
161
  update! submission_status: :passed
150
162
  end
@@ -20,6 +20,14 @@ module Container
20
20
  content.progress_for(user, organization)
21
21
  end
22
22
 
23
+ def navigable_content_in(organization = Organization.current)
24
+ content.usage_in_organization(organization)
25
+ end
26
+
27
+ def content_used_in?(organization)
28
+ navigable_content_in(organization).present?
29
+ end
30
+
23
31
  private
24
32
 
25
33
  # Generally we are calling progress_for for each sibling. That method needs the
@@ -0,0 +1,65 @@
1
+ module WithTermsAcceptance
2
+ def has_forum_terms_to_accept?
3
+ !has_accepted_all?(forum_terms)
4
+ end
5
+
6
+ def has_profile_terms_to_accept?
7
+ !has_accepted_all?(profile_terms)
8
+ end
9
+
10
+ def has_role_terms_to_accept?
11
+ !has_accepted_all?(role_specific_terms)
12
+ end
13
+
14
+ def role_specific_terms
15
+ @role_specific_terms ||= Term.role_specific_terms_for(self)
16
+ end
17
+
18
+ def forum_terms
19
+ @forum_terms ||= Term.forum_related_terms
20
+ end
21
+
22
+ def profile_terms
23
+ @profile_terms ||= Term.profile_terms_for(self)
24
+ end
25
+
26
+ def accept_profile_terms!
27
+ accept_terms! profile_terms
28
+ end
29
+
30
+ def accept_forum_terms!
31
+ accept_terms! forum_terms
32
+ end
33
+
34
+ def has_accepted?(term)
35
+ term_accepted_at_for(term.scope).try { |it| it > term.updated_at }.present?
36
+ end
37
+
38
+ private
39
+
40
+ def unaccepted_terms_in(terms)
41
+ terms.reject { |term| has_accepted? term}
42
+ end
43
+
44
+ def unaccepted_terms_scopes_in(terms)
45
+ unaccepted_terms_in(terms).map(&:scope)
46
+ end
47
+
48
+ def has_accepted_all?(terms)
49
+ unaccepted_terms_in(terms).blank?
50
+ end
51
+
52
+ def term_accepted_at_for(role)
53
+ send term_acceptance_field_for(role)
54
+ end
55
+
56
+ def term_acceptance_field_for(role)
57
+ "#{role}_terms_accepted_at"
58
+ end
59
+
60
+ def accept_terms!(terms)
61
+ update! unaccepted_terms_scopes_in(terms).to_h { |scope| [term_acceptance_field_for(scope), Time.now] }
62
+ end
63
+
64
+ end
65
+
@@ -16,6 +16,18 @@ module WithUsages
16
16
  item.is_a?(type) ? item : nil
17
17
  end
18
18
 
19
+ def navigable_content_in(organization = Organization.current)
20
+ self if used_in?(organization)
21
+ end
22
+
23
+ def content_used_in?(organization)
24
+ navigable_content_in(organization).present?
25
+ end
26
+
27
+ def used_in?(organization)
28
+ usage_in_organization(organization).present?
29
+ end
30
+
19
31
  class_methods do
20
32
  def aggregate_of(association)
21
33
  super
@@ -44,6 +44,10 @@ class Discussion < ApplicationRecord
44
44
  end
45
45
  end
46
46
 
47
+ def navigable_content_in(_)
48
+ nil
49
+ end
50
+
47
51
  def used_in?(organization)
48
52
  organization == self.organization
49
53
  end
@@ -5,7 +5,7 @@ class Exam < ApplicationRecord
5
5
  include TerminalNavigation
6
6
 
7
7
  belongs_to :organization
8
- belongs_to :course, optional: true
8
+ belongs_to :course
9
9
 
10
10
  has_many :authorizations, class_name: 'ExamAuthorization', dependent: :destroy
11
11
  has_many :users, through: :authorizations
@@ -186,8 +186,6 @@ class Exam < ApplicationRecord
186
186
  exam[:start_time] = exam[:start_time].to_time
187
187
  exam[:end_time] = exam[:end_time].to_time
188
188
  exam[:classroom_id] = exam[:eid] if exam[:eid].present?
189
- exam[:passing_criterion_type] = exam.dig(:passing_criterion, :type)
190
- exam[:passing_criterion_value] = exam.dig(:passing_criterion, :value)
191
189
  end
192
190
 
193
191
  def self.remove_previous_version(eid, guide_id)
@@ -47,6 +47,14 @@ class Exercise < ApplicationRecord
47
47
  guide.usage_in_organization(organization).present?
48
48
  end
49
49
 
50
+ def navigable_content_in(organization = Organization.current)
51
+ self if used_in?(organization)
52
+ end
53
+
54
+ def content_used_in?(organization)
55
+ navigable_content_in(organization).present?
56
+ end
57
+
50
58
  def structural_parent
51
59
  guide
52
60
  end
@@ -231,6 +239,10 @@ class Exercise < ApplicationRecord
231
239
  guide.pending_exercises(user)
232
240
  end
233
241
 
242
+ def reading?
243
+ is_a? Reading
244
+ end
245
+
234
246
  private
235
247
 
236
248
  def evaluation_class
@@ -51,7 +51,10 @@ class Guide < Content
51
51
  joins("left join public.assignments assignments
52
52
  on assignments.exercise_id = exercises.id
53
53
  and assignments.submitter_id = #{user.id}
54
- and assignments.submission_status = #{Mumuki::Domain::Status::Submission::Passed.to_i}").
54
+ and assignments.submission_status in (
55
+ #{Mumuki::Domain::Status::Submission::Passed.to_i},
56
+ #{Mumuki::Domain::Status::Submission::ManualEvaluationPending.to_i}
57
+ )").
55
58
  where('assignments.id is null')
56
59
  end
57
60
 
@@ -0,0 +1,40 @@
1
+ class Term < ApplicationRecord
2
+ attribute :locale, :string, default: 'es'
3
+ markdown_on :content
4
+
5
+ GENERAL = %w(legal privacy student)
6
+ ROLE_SPECIFIC = %w(headmaster janitor teacher moderator)
7
+ FORUM_RELATED = %w(forum)
8
+
9
+ validates :locale, uniqueness: { scope: :scope }
10
+ validates :content, :scope, :header, presence: true
11
+
12
+ def self.terms_for(scope, locale)
13
+ where(scope: scope, locale: locale)
14
+ end
15
+
16
+ def self.profile_terms_for(user, locale = I18n.locale)
17
+ general_terms(locale) + role_specific_terms_for(user, locale)
18
+ end
19
+
20
+ def self.role_specific_terms_for(user, locale = I18n.locale)
21
+ terms_for(current_role_terms_for(user), locale)
22
+ end
23
+
24
+ def self.general_terms(locale = I18n.locale)
25
+ terms_for(GENERAL, locale)
26
+ end
27
+
28
+ def self.forum_related_terms(locale = I18n.locale)
29
+ terms_for(FORUM_RELATED, locale)
30
+ end
31
+
32
+ def self.current_role_terms_for(user)
33
+ return [] unless user.present?
34
+ (user.any_granted_roles & ROLE_SPECIFIC).to_a
35
+ end
36
+
37
+ def accepted_by?(user)
38
+ user.term_accepted_at_for(scope).try { |it| it > updated_at }.present?
39
+ end
40
+ end
@@ -48,7 +48,10 @@ class Topic < Content
48
48
  joins("left join public.assignments assignments
49
49
  on assignments.exercise_id = exercises.id
50
50
  and assignments.submitter_id = #{user.id}
51
- and assignments.submission_status = #{Mumuki::Domain::Status::Submission::Passed.to_i}").
51
+ and assignments.submission_status in (
52
+ #{Mumuki::Domain::Status::Submission::Passed.to_i},
53
+ #{Mumuki::Domain::Status::Submission::ManualEvaluationPending.to_i}
54
+ )").
52
55
  where('assignments.id is null').
53
56
  group('public.guides.id', 'lessons.number').map(&:lesson)
54
57
  end
@@ -6,12 +6,13 @@ class User < ApplicationRecord
6
6
  WithDiscussionCreation,
7
7
  Awardee,
8
8
  Disabling,
9
+ WithTermsAcceptance,
9
10
  Mumuki::Domain::Helpers::User
10
11
 
11
12
  serialize :permissions, Mumukit::Auth::Permissions
12
13
 
13
- has_many :assignments, foreign_key: :submitter_id
14
14
 
15
+ has_many :assignments, foreign_key: :submitter_id
15
16
  has_many :messages, -> { order(created_at: :desc) }, through: :assignments
16
17
 
17
18
  has_many :submitted_exercises, through: :assignments, class_name: 'Exercise', source: :exercise
@@ -37,6 +38,7 @@ class User < ApplicationRecord
37
38
  before_validation :set_uid!
38
39
  validates :uid, presence: true
39
40
 
41
+ validates :terms_of_service, acceptance: true
40
42
  after_save :welcome_to_new_organizations!, if: :gained_access_to_new_orga?
41
43
  after_initialize :init
42
44
  PLACEHOLDER_IMAGE_URL = 'user_shape.png'.freeze
@@ -137,9 +139,9 @@ class User < ApplicationRecord
137
139
 
138
140
  def interpolations
139
141
  {
140
- 'user_email' => email,
141
- 'user_first_name' => first_name,
142
- 'user_last_name' => last_name
142
+ 'user_email' => email,
143
+ 'user_first_name' => first_name,
144
+ 'user_last_name' => last_name
143
145
  }
144
146
  end
145
147
 
@@ -241,14 +243,35 @@ class User < ApplicationRecord
241
243
  Organization.current? ? Organization.current : main_organization
242
244
  end
243
245
 
244
- def current_immersive_context_at(exercise)
246
+ def current_immersive_context_at(path_item)
245
247
  if Organization.current?
246
- immersive_organization_at(exercise) || Organization.current
248
+ immersive_organization_at(path_item) || Organization.current
247
249
  else
248
250
  main_organization
249
251
  end
250
252
  end
251
253
 
254
+ def notify_permissions_changed!
255
+ return if permissions_before_last_save == permissions
256
+ Mumukit::Nuntius.notify! 'user-permissions-changed', user: {
257
+ uid: uid,
258
+ old_permissions: permissions_before_last_save.as_json,
259
+ new_permissions: permissions.as_json
260
+ }
261
+ end
262
+
263
+ def save_and_notify!
264
+ save!
265
+ notify_permissions_changed!
266
+ self
267
+ end
268
+
269
+ def current_immersive_context_and_content_at(path_item)
270
+ immersive_organization_with_content_at(path_item).tap do |orga, _|
271
+ return [Organization.current, path_item] unless orga.present?
272
+ end
273
+ end
274
+
252
275
  private
253
276
 
254
277
  def welcome_to_new_organizations!
@@ -0,0 +1,14 @@
1
+ class AddTermsForUser < ActiveRecord::Migration[5.1]
2
+ def change
3
+ add_column :users, :headmaster_terms_accepted_at, :datetime
4
+ add_column :users, :janitor_terms_accepted_at, :datetime
5
+ add_column :users, :moderator_terms_accepted_at, :datetime
6
+ add_column :users, :student_terms_accepted_at, :datetime
7
+ add_column :users, :teacher_terms_accepted_at, :datetime
8
+
9
+ add_column :users, :privacy_terms_accepted_at, :datetime
10
+ add_column :users, :legal_terms_accepted_at, :datetime
11
+
12
+ add_column :users, :forum_terms_accepted_at, :datetime
13
+ end
14
+ end
@@ -0,0 +1,12 @@
1
+ class CreateTerms < ActiveRecord::Migration[5.1]
2
+ def change
3
+ create_table :terms do |t|
4
+ t.string :locale
5
+ t.string :scope
6
+ t.text :content
7
+ t.text :header
8
+
9
+ t.timestamps
10
+ end
11
+ end
12
+ end
@@ -15,6 +15,10 @@ class Array
15
15
  def single?
16
16
  size == 1
17
17
  end
18
+
19
+ def multiple?
20
+ size > 1
21
+ end
18
22
  end
19
23
 
20
24
  class NilClass
@@ -15,6 +15,7 @@ require_relative './factories/login_settings_factory'
15
15
  require_relative './factories/medal_factory'
16
16
  require_relative './factories/message_factory'
17
17
  require_relative './factories/organization_factory'
18
+ require_relative './factories/term_factory'
18
19
  require_relative './factories/topic_factory'
19
20
  require_relative './factories/usage_factory'
20
21
  require_relative './factories/user_factory'
@@ -0,0 +1,7 @@
1
+ FactoryBot.define do
2
+ factory :term do
3
+ content { Faker::Lorem.sentence(word_count: 100) }
4
+ header { Faker::Lorem.sentence(word_count: 5) }
5
+ end
6
+ end
7
+
@@ -29,7 +29,7 @@ module Mumuki::Domain::Helpers::Organization
29
29
  end
30
30
 
31
31
  def immersed_in?(other)
32
- immersible? && other.immersive? && target_audience == other.target_audience
32
+ immersible? && other.immersive? && !other.disabled? && target_audience == other.target_audience
33
33
  end
34
34
 
35
35
  def switch!
@@ -41,7 +41,7 @@ module Mumuki::Domain::Helpers::Organization
41
41
  end
42
42
 
43
43
  def url_for(path)
44
- Mumukit::Platform.application.organic_url_for(name, path)
44
+ Mumukit::Platform.laboratory.organic_url_for(name, path)
45
45
  end
46
46
 
47
47
  def url
@@ -8,6 +8,7 @@ module Mumuki::Domain::Helpers::User
8
8
  delegate :has_role?,
9
9
  :add_permission!,
10
10
  :remove_permission!,
11
+ :update_permission!,
11
12
  :has_permission?,
12
13
  :has_permission_delegation?,
13
14
  :protect!,
@@ -15,6 +16,7 @@ module Mumuki::Domain::Helpers::User
15
16
  :protect_permissions_assignment!,
16
17
  :student_granted_organizations,
17
18
  :any_granted_organizations,
19
+ :any_granted_roles,
18
20
  to: :permissions
19
21
 
20
22
  def platform_class_name
@@ -99,12 +101,21 @@ module Mumuki::Domain::Helpers::User
99
101
  end
100
102
 
101
103
  def immersive_organizations_at(path_item, current = Organization.current)
102
- return [] unless current.immersible?
103
-
104
104
  usage_filter = path_item ? lambda { |it| path_item.used_in?(it) } : lambda { |_| true }
105
- student_granted_organizations
106
- .select { |it| current.immersed_in?(it) }
107
- .select(&usage_filter)
105
+ immersive_organizations_for(current).select(&usage_filter)
106
+ end
107
+
108
+ def immersive_organization_with_content_at(path_item, current = Organization.current)
109
+ orga = immersive_organizations_with_content_at(path_item, current).single
110
+ [orga, path_item&.navigable_content_in(orga)]
111
+ end
112
+
113
+ def immersive_organizations_with_content_at(path_item, current = Organization.current)
114
+ immersive_without_usage = immersive_organizations_for(current)
115
+ return immersive_without_usage unless path_item.present?
116
+
117
+ immersive_with_usage = immersive_without_usage.select { |it| path_item.content_used_in? it }
118
+ immersive_with_usage.empty? ? immersive_without_usage : immersive_with_usage
108
119
  end
109
120
 
110
121
  ## API Exposure
@@ -118,4 +129,12 @@ module Mumuki::Domain::Helpers::User
118
129
  [:first_name, :last_name, :gender, :birthdate]
119
130
  end
120
131
  end
132
+
133
+ private
134
+
135
+ def immersive_organizations_for(organization)
136
+ return [] unless organization.immersible?
137
+
138
+ student_granted_organizations.select { |it| organization.immersed_in?(it) }
139
+ end
121
140
  end
@@ -52,10 +52,37 @@ module Mumuki::Domain
52
52
  nil
53
53
  end
54
54
 
55
- def immersive_organizations_at(_)
55
+ def current_immersive_context_and_content_at(_)
56
+ [nil, nil]
57
+ end
58
+
59
+ def immersive_organizations_with_content_at(_, _ = nil)
60
+ []
61
+ end
62
+
63
+ def immersive_organizations_at(_, _ = nil)
56
64
  []
57
65
  end
58
66
 
67
+ def any_granted_roles
68
+ []
69
+ end
70
+
71
+ # ========
72
+ # Terms
73
+ # ========
74
+
75
+ # It avoids role terms acceptance redirections
76
+ def has_role_terms_to_accept?
77
+ false
78
+ end
79
+
80
+ # It makes terms UI to be shown as if no terms were accepted
81
+ # It does not force any term to be accepted though
82
+ def has_accepted?(term)
83
+ false
84
+ end
85
+
59
86
  # ========
60
87
  # Visiting
61
88
  # ========
@@ -36,6 +36,6 @@ class Mumuki::Domain::Organization::Profile < Mumukit::Platform::Model
36
36
  end
37
37
 
38
38
  def open_graph_image_url
39
- @open_graph_image_url ||= Mumukit::Platform.application.url_for("logo-alt.png") # Best image size: 256x256
39
+ @open_graph_image_url ||= Mumukit::Platform.laboratory.url_for("logo-alt.png") # Best image size: 256x256
40
40
  end
41
41
  end
@@ -53,7 +53,7 @@ class Mumuki::Domain::Submission::Base
53
53
 
54
54
  def save_submission!(assignment)
55
55
  assignment.content = content
56
- assignment.organization = Organization.current
56
+ assignment.recontextualize!
57
57
  assignment.save!
58
58
  end
59
59
 
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Domain
3
- VERSION = '7.11.1'
3
+ VERSION = '8.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-domain
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.11.1
4
+ version: 8.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-03 00:00:00.000000000 Z
11
+ date: 2020-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '7.8'
33
+ version: '7.9'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '7.8'
40
+ version: '7.9'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mumukit-assistant
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.13'
89
+ version: '1.18'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.13'
96
+ version: '1.18'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mumukit-directives
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '5.2'
131
+ version: '6.1'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '5.2'
138
+ version: '6.1'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: mumukit-sync
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -296,6 +296,7 @@ files:
296
296
  - app/models/concerns/with_scoped_queries/sort.rb
297
297
  - app/models/concerns/with_slug.rb
298
298
  - app/models/concerns/with_target_audience.rb
299
+ - app/models/concerns/with_terms_acceptance.rb
299
300
  - app/models/concerns/with_usages.rb
300
301
  - app/models/concerns/with_user_navigation.rb
301
302
  - app/models/content.rb
@@ -323,6 +324,7 @@ files:
323
324
  - app/models/progress.rb
324
325
  - app/models/stats.rb
325
326
  - app/models/subscription.rb
327
+ - app/models/term.rb
326
328
  - app/models/topic.rb
327
329
  - app/models/upvote.rb
328
330
  - app/models/usage.rb
@@ -627,11 +629,13 @@ files:
627
629
  - db/migrate/20200828162829_add_medal_to_content.rb
628
630
  - db/migrate/20200915123020_add_polymorphic_avatars_to_users.rb
629
631
  - db/migrate/20200915131621_add_once_completed_to_indicators.rb
632
+ - db/migrate/20201007143455_add_terms_for_user.rb
630
633
  - db/migrate/20201009193949_add_status_updated_fields_to_discussion.rb
631
634
  - db/migrate/20201019191036_add_misplaced_flag_to_submission.rb
632
635
  - db/migrate/20201026222942_add_display_name_and_description_to_organizations.rb
633
636
  - db/migrate/20201026225312_add_organization_wins_page_flag.rb
634
637
  - db/migrate/20201027134205_add_immersible_to_organization.rb
638
+ - db/migrate/20201027152806_create_terms.rb
635
639
  - lib/mumuki/domain.rb
636
640
  - lib/mumuki/domain/area.rb
637
641
  - lib/mumuki/domain/engine.rb
@@ -671,6 +675,7 @@ files:
671
675
  - lib/mumuki/domain/factories/medal_factory.rb
672
676
  - lib/mumuki/domain/factories/message_factory.rb
673
677
  - lib/mumuki/domain/factories/organization_factory.rb
678
+ - lib/mumuki/domain/factories/term_factory.rb
674
679
  - lib/mumuki/domain/factories/topic_factory.rb
675
680
  - lib/mumuki/domain/factories/usage_factory.rb
676
681
  - lib/mumuki/domain/factories/user_factory.rb