gitlab-org--gitlab-foss/spec/models/concerns
Luke Duncalfe 37b17fa61a Add service classes for mutating AwardEmoji
Adding, destroying and toggling emoji previously lacked services and
instead were performed through methods called on Awardable models.

This led to inconsistencies where relevant todos would be marked as done
only when emoji were awarded through our controllers, but not through
the API. Todos could also be marked as done when an emoji was being
removed.

Behaviour changes

- Awarding emoji through the API will now mark a relevant Todo as done
- Toggling an emoji off (destroying it) through our controllers will no
  longer mark a relevant Todo as done

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63372
2019-08-21 11:39:41 +12:00
..
token_authenticatable_strategies
access_requestable_spec.rb
avatarable_spec.rb
awardable_spec.rb Add service classes for mutating AwardEmoji 2019-08-21 11:39:41 +12:00
batch_destroy_dependent_associations_spec.rb
blob_language_from_git_attributes_spec.rb
blocks_json_serialization_spec.rb
cache_markdown_field_spec.rb Banzai - avoid redis if attr is in DB cache 2019-07-10 21:35:43 -06:00
cacheable_attributes_spec.rb Save instance administration project id in DB 2019-08-07 18:40:36 +00:00
case_sensitivity_spec.rb Remove dead MySQL code 2019-07-23 16:53:03 +01:00
chronic_duration_attribute_spec.rb
deployable_spec.rb
deployment_platform_spec.rb Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
deprecated_assignee_spec.rb
discussion_on_diff_spec.rb
each_batch_spec.rb
editable_spec.rb
expirable_spec.rb
faster_cache_keys_spec.rb
feature_gate_spec.rb
from_union_spec.rb
group_descendant_spec.rb Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
has_environment_scope_spec.rb Bring scoped environment variables to core 2019-08-08 18:51:52 +00:00
has_ref_spec.rb
has_status_spec.rb
has_variable_spec.rb
ignorable_column_spec.rb
issuable_spec.rb Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
issuable_states_spec.rb
loaded_in_group_list_spec.rb
manual_inverse_association_spec.rb
maskable_spec.rb
mentionable_spec.rb
milestoneish_spec.rb
noteable_spec.rb
optionally_search_spec.rb
participable_spec.rb
presentable_spec.rb
project_api_compatibility_spec.rb Fix the project auto devops API 2019-07-19 21:39:26 +00:00
project_features_compatibility_spec.rb
prometheus_adapter_spec.rb Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
protected_ref_access_spec.rb
reactive_caching_spec.rb Allow ReactiveCaching to support nil value 2019-07-08 14:50:58 +01:00
redactable_spec.rb
redis_cacheable_spec.rb
resolvable_discussion_spec.rb
resolvable_note_spec.rb
routable_spec.rb Set the name of a user-namespace to the user name 2019-07-09 18:09:45 +02:00
sha_attribute_spec.rb
sortable_spec.rb
spammable_spec.rb
stepable_spec.rb Don't use transactions and exceptions 2019-07-16 19:20:43 +00:00
strip_attribute_spec.rb
subscribable_spec.rb
token_authenticatable_spec.rb
triggerable_hooks_spec.rb
uniquify_spec.rb