diaspora/spec/presenters
Jonne Haß 8280556a47 Introduce message renderer
This new class replaces all existing server side message
rendering helpers and is the new global entry point for such
needs. All models with relevant fields now expose an instance
of MessageRenderer for those. MessageRenderer acts as
gateway between the existing processing solutions for markdown,
mentions and tags and provides a very flexible interface for
all output needs. This makes the API to obtain a message
in a certain format clear. As a result of centralizing the
processing a lot of duplication is eliminated. Centralizing
the message processing also makes it clear where to change
its behaviour, add new representations and what options
are already available.
2014-03-15 17:16:17 +01:00
..
aspect_presenter_spec.rb MS DC added aspect presenter, and include the data on the user 2012-03-27 14:51:40 -07:00
o_embed_presenter_spec.rb update factory girl 2012-09-12 13:24:23 +02:00
person_presenter_spec.rb update factory girl 2012-09-12 13:24:23 +02:00
post_presenter_spec.rb Introduce message renderer 2014-03-15 17:16:17 +01:00
service_presenter_spec.rb replace stub and mock deprecations with doubles 2014-01-13 12:25:38 +01:00
statistics_presenter_spec.rb added comment count to statistic to calculate posts/comments ratios 2014-02-21 12:25:23 +01:00
user_presenter_spec.rb replace stub and mock deprecations with doubles 2014-01-13 12:25:38 +01:00