Benjamin Neff
df8275f000
Fix participations for likes on comments in the backend
...
When liking a comment, the post also gets a participation, and if all
likes/comments get removed again, the participation also gets removed
again.
The only thing still not working properly is the frontend, but that is
already broken when unliking a post. So it shows an invalids state in
the frontend when unliking the post/comment.
2023-11-13 02:27:55 +01:00
Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files
2017-09-17 19:29:15 +02:00
Steffen van Bergerem
9d2763089d
Replace where...first with find_by
...
Fixes #7539
closes #7593
2017-08-29 02:11:17 +02:00
Benjamin Neff
eb19c327e2
Add ApplicationRecord
2017-08-12 15:39:20 +02:00
Benjamin Neff
081d0167b7
add models for signature data
2016-08-08 18:56:37 +02:00
Benjamin Neff
2367be3f66
move Federated::Generator to Diaspora::Federated::Generator
2016-06-26 06:21:02 +02:00
Benjamin Neff
709ad6e909
Participation is not relayable anymore
...
only deliver to parent author
2016-06-26 06:21:02 +02:00
Benjamin Neff
21fd9f23da
remove roxml
2016-06-26 06:21:01 +02:00
Benjamin Neff
4fb34139b0
cleanup notifications and fix tests
2016-06-26 06:20:59 +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
Ivan Zotov
a4ce6e267a
Fix after_create to after_commit
2014-01-14 22:35:29 +04:00
Dennis Collinson
f3c1eff3e9
Refactor Relayable Creation
2012-02-09 19:01:00 -08:00
Dennis Collinson
9e1816dc12
Participations are a federated, relayable model :)
2012-02-09 19:01:00 -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
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
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
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
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
4f056dca8e
Ajax in likes in stream
2011-07-04 22:10:30 -07:00
Raphael Sofaer
283e376712
Move initialize_signatures method out of user and into relayable
2011-06-01 16:45:30 -07:00
Maxwell Salzberg
d4d3b1e44c
MSSM like notification are concatinated, and backfilled some like tests
2011-05-22 13:59:33 -07:00
Raphael Sofaer
970190fb7a
OMG SO MANY EMAILS, fixed
2011-05-11 16:07:24 -07:00
danielgrippi
ebb17ff70c
few cucumber steps failing. wip.
2011-05-11 11:08:30 -07:00
MrZYX
1b1a23aa8f
likes/dislikes WIP TODO: better icons, better styling, integration on photo show page
2011-03-20 18:10:58 +01:00