Lukas Matt
78f9b39e55
Use polymorphic association for the report item
...
* Adopt pronto suggestions
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-10-03 17:18:03 +02:00
Jonne Haß
d396d5555f
Merge branch 'stable' into develop
2015-08-21 14:23:46 +02:00
Benjamin Neff
d28e03f053
use discovery from diaspora_federation gem
2015-08-21 14:21:43 +02:00
Jonne Haß
f257658e46
Revert "Revert "Merge pull request #5852 from margori/3393-activity-stream-keeping-retracted-participations""
...
This reverts commit 2c7848e3cb .
2015-05-04 00:43:41 +02:00
Jonne Haß
2c7848e3cb
Revert "Merge pull request #5852 from margori/3393-activity-stream-keeping-retracted-participations"
...
This reverts commit 096fa2ddbb , reversing
changes made to f7d1105148 .
2015-05-04 00:36:27 +02:00
Marcelo Briones
6636a89118
Add participation counter
2015-04-11 14:41:17 -03:00
Asphyxia
5fb328864e
Activity stream keeping retracted participations
2015-04-10 21:46:42 -03:00
Marco Colli
eccab62e32
Allow user to enable / disable notifications for a post from stream #5350
2015-01-25 18:40:47 +01:00
Jonne Haß
89afb616cf
replace deprecated scope syntax and unify it
2014-08-23 16:34:00 +02:00
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
Ivan Zotov
a4ce6e267a
Fix after_create to after_commit
2014-01-14 22:35:29 +04:00
Jonne Haß
e70e48d6ca
some refactoring regarding the law of demeter
2012-09-23 19:33:19 +02:00
Zach Prezkuta
44e43158cc
add rspec test and make fix more rails-y
2012-06-08 22:51:16 -06:00
Zach Prezkuta
ed51f34ebb
strip comment text upon comment creation
2012-06-08 22:51:16 -06:00
Dennis Collinson
efa79a4ad7
Refactor Post Presenter
...
and comment presenter
2012-05-10 12:24:21 -07:00
Maxwell Salzberg
27a4c1bf2d
introduce the idea of Federated::Base. this is mostly just renaming and collasping of different federation modules, but also starting a direct hiearchy of these federation classes to make everything easier to refactor
2012-02-25 16:57:14 -08:00
Dennis Collinson
f3c1eff3e9
Refactor Relayable Creation
2012-02-09 19:01:00 -08:00
danielgrippi
2b15bc7938
fix syntax in comment.rb
2012-02-09 18:29:52 -08:00
danielgrippi
7a5838a363
allow comments to be 65535 chars long (as opposed to 2500)
2012-02-09 18:26:20 -08:00
Sarah Mei
085d6552b3
Drop comments, likes, and PMs from people who the (post/conversation) owner is ignoring.
2012-02-01 17:52:11 -08:00
Maxwell Salzberg
46da8310f5
small styling changes
2012-01-27 02:23:37 -08:00
danielgrippi
240d595714
removing photos_count method from StatusMessage in hopes of fixing the counter (still a bit confused, though...)
2012-01-13 23:33:59 -08:00
danielgrippi
71bae10317
fixed notification specs; removed a cuke around reshares already tested in jasmine
2012-01-07 14:23:27 -08:00
danielgrippi
d9d878f11f
added api response for likes; cleaned up view logic; specify like collection url from parent model (Post)
2012-01-07 14:23:23 -08:00
Daniel Grippi
d504bf4591
add current user to body tag data field (hackity hack). add comment links to posts
2012-01-07 14:23:20 -08:00
Daniel Grippi
176963fdad
serialize current user json into body tag for now
2012-01-07 14:23:20 -08:00
Daniel Grippi
19db5519c0
DG DH; made acts_as_api play nice with backbonejs. comments are semi-functional; stream elements use the StreamElement js widget (for now).
2012-01-07 14:23:20 -08:00
Maxwell Salzberg
63cdd93afc
the websocket has been completely removed, and replaced for a stub until
...
we find a better way to reimpliment it in a more sane way
2012-01-03 18:39:54 -08:00
Maxwell Salzberg
2282fd35d1
kill no longer used youtube titles code with fire
2011-12-08 16:16:57 -08:00
danielgrippi
c9f069d000
Revert "add participant_users to conversations"
...
This reverts commit 655558cb95 .
Revert "MS DG; for real this time?"
This reverts commit f85a047f6f .
Revert "MS DG; actually fix the bug"
This reverts commit cde12ec232 .
Revert "fix small commenting email bug #oops"
This reverts commit a552fc80c0 .
Revert "dont ban diasporahq stuff"
This reverts commit 2c12b94e67 .
Revert "Merge branch 'participants'"
This reverts commit 7417801886 , reversing
changes made to abd211ba72 .
2011-11-05 18:08:32 -07:00
Maxwell Salzberg
a552fc80c0
fix small commenting email bug #oops
2011-11-04 19:24:48 -07:00
danielgrippi
3296477531
eager load author and profile for comments
2011-11-04 16:40:14 -07:00
Manuel Schölling
6e325f8fd5
Introduced Commentable
2011-10-16 13:58:35 +02:00
Maxwell Salzberg
6c414d8562
add tests for object_should_be_processed_as_public? and delegegated public to the parent of relayable objects
2011-09-16 11:24:13 -07:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
Maxwell Salzberg
0ab0526cd6
DG MS; put validates_associated in relayable, removed from receiver logic
2011-09-12 15:06:17 -07:00
Maxwell Salzberg
5177e5b218
DG MS test receive_relayable
2011-09-12 14:05:32 -07:00
danielgrippi
1d0bec11f7
Add counter cache for comments on posts
2011-09-11 15:02:24 -07:00
buddhamagnet
cfa659c47e
refactored model validations to use newer rails 3 syntax
2011-09-11 21:31:39 +01:00
Jonne Hass
c0780f3af2
only touch post on comment creation, fix #1911
2011-09-07 15:55:48 +02:00
danielgrippi
67882c775e
Addded Diaspora::Likeable module. Corrected the unique index for likes to include author_id; extracted before_save callback needed for tags into Diaspora::Taggable.
2011-07-11 15:06:35 -07:00
danielgrippi
d364f158b8
cache counters in for likes. pending Diaspora::Likeable module...
2011-07-11 15:05:55 -07:00
danielgrippi
797a6f5ca9
like comments js response wip
2011-07-11 15:02:46 -07:00
danielgrippi
2e15b6a61e
Likes in comments, cache counter disabled for now.
2011-07-11 15:00:48 -07:00
Raphael Sofaer
d0ce257107
Revert "Revert "Merge branch 'hashtags-in-comments'""
...
This reverts commit d2e26f6937 .
2011-07-07 15:10:04 -07:00
danielgrippi
d2e26f6937
Revert "Merge branch 'hashtags-in-comments'"
...
This reverts commit f85d5ad6d4 , reversing
changes made to b8d70393f4 .
2011-07-07 13:39:15 -07:00
danielgrippi
310b9969f3
hashtags module now in comments. not sure how to pull back relevant posts on tags/show from here...
2011-07-07 12:21:57 -07:00
Raphael Sofaer
283e376712
Move initialize_signatures method out of user and into relayable
2011-06-01 16:45:30 -07:00
Raphael Sofaer
71c3a29aa6
Move YoutubeTitles callback into module
2011-05-31 12:27:57 -07:00
danielvincent
11309574cf
messages are now relayable, a comment has an author as opposed to a person.
2011-03-01 12:39:42 -08:00